Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataService ¶
type MetadataService interface {
GetZone() string
GetProject() string
GetName() string
GetNodeID() int
}
func NewMetadataService ¶
func NewMetadataService(linodeClient linodeclient.LinodeClient, nodeName string) (metadata MetadataService, err error)
NewMetadataService retrieves information about the linode where the application is currently running on.
Click to show internal directories.
Click to hide internal directories.