Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCPMetadata ¶
type GCPMetadata struct {
// contains filtered or unexported fields
}
GCPMetadata contains metadata about a GCP VM.
func NewGCPMetadata ¶
func NewGCPMetadata(c Client, hostname string) (*GCPMetadata, error)
NewGCPMetadata returns a new instance of GCPMetadata.
func (*GCPMetadata) Group ¶
func (m *GCPMetadata) Group() string
Group is the the URI referencing the instance group.
func (*GCPMetadata) Project ¶
func (m *GCPMetadata) Project() string
Project ID (e.g., mlab-sandbox).
func (*GCPMetadata) Region ¶
func (m *GCPMetadata) Region() string
Region derived from zone (e.g., us-west1).
Click to show internal directories.
Click to hide internal directories.