Documentation ¶
Overview ¶
Package compute contains wrappers around the GCE compute API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildInstanceMetadataItem ¶
func BuildInstanceMetadataItem(key, value string) *api.MetadataItems
BuildInstanceMetadataItem create an metadata item
Types ¶
type Instance ¶
type Instance struct { *api.Instance Client daisyCompute.Client Project, Zone string }
Instance is a compute instance.
func CreateInstance ¶
func CreateInstance(client daisyCompute.Client, project, zone string, i *api.Instance) (*Instance, error)
CreateInstance creates a compute instance.
Click to show internal directories.
Click to hide internal directories.