machinemetadata

package
v0.0.0-...-d1703da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2015 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	RandomSeed       string            `json:"random_seed"`
	UUID             string            `json:"uuid"`
	AvailabilityZone string            `json:"availability_zone"`
	HostName         string            `json:"hostname"`
	LaunchIndex      int               `json:"launch_index"`
	PublicKeys       map[string]string `json:"public_keys"`
	Name             string            `json:"name"`
}

Response has properties of the machines metadata

func CurrentMachineMetadata

func CurrentMachineMetadata() (Response, error)

CurrentMachineMetadata returns the machines openstack metadata.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL