blob: 63db7e3962a033dd8cf01d182a2cabb68ce72025 [file] [log] [blame]
Jiri Simsad7616c92015-03-24 23:44:30 -07001// Copyright 2015 The Vanadium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
Cosmos Nicolaou43b95352014-10-14 11:09:52 -07005// +build !linux
6
7package internal
8
9import (
10 "net"
11
Jiri Simsa337af232015-02-27 14:36:46 -080012 "v.io/x/lib/vlog"
Cosmos Nicolaou43b95352014-10-14 11:09:52 -070013)
14
15// GCEPublicAddress returns the public IP address of the GCE instance
16// it is run from, or nil if run from anywhere else. The returned address
17// is the public address of a 1:1 NAT tunnel to this host.
18func GCEPublicAddress(vlog.Logger) *net.IPAddr {
19 return nil
20}