Documentation ¶
Index ¶
- func AddMetadata(key, val string) bool
- func Campus() string
- func InitInstanceInfo()
- func Metadata() map[string]string
- func Name() string
- func Namespace() string
- func Region() string
- func Version() string
- func Zone() string
- type InstanceInfo
- func (i *InstanceInfo) AddMetadata(key, val string) bool
- func (i *InstanceInfo) Campus() string
- func (i *InstanceInfo) Metadata() map[string]string
- func (i *InstanceInfo) Name() string
- func (i *InstanceInfo) Namespace() string
- func (i *InstanceInfo) Region() string
- func (i *InstanceInfo) Version() string
- func (i *InstanceInfo) Zone() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitInstanceInfo ¶
func InitInstanceInfo()
Types ¶
type InstanceInfo ¶
type InstanceInfo struct {
// contains filtered or unexported fields
}
func (*InstanceInfo) AddMetadata ¶
func (i *InstanceInfo) AddMetadata(key, val string) bool
func (*InstanceInfo) Campus ¶
func (i *InstanceInfo) Campus() string
func (*InstanceInfo) Metadata ¶
func (i *InstanceInfo) Metadata() map[string]string
func (*InstanceInfo) Name ¶
func (i *InstanceInfo) Name() string
func (*InstanceInfo) Namespace ¶
func (i *InstanceInfo) Namespace() string
func (*InstanceInfo) Region ¶
func (i *InstanceInfo) Region() string
func (*InstanceInfo) Version ¶
func (i *InstanceInfo) Version() string
func (*InstanceInfo) Zone ¶
func (i *InstanceInfo) Zone() string
Directories ¶
Path | Synopsis |
---|---|
client
|
|
Package conf is an interface for dynamic configuration.
|
Package conf is an interface for dynamic configuration. |
source/file
Package file is a file source.
|
Package file is a file source. |
utils
|
|
Click to show internal directories.
Click to hide internal directories.