Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = cli.Command{
Name: "instance",
Usage: "GCloud instances API",
Subcommands: []*cli.Command{
&instanceGetCommand,
&instanceListCommand,
&instanceCreateCommandV2,
&instanceDeleteCommand,
&instanceStartCommand,
&instanceStopCommand,
&instancePowerCycleCommand,
&instanceRebootCommand,
&instanceSuspendCommand,
&instanceResumeCommand,
&instanceResizeCommand,
&instanceCreateBaremetalCommand,
{
Name: "interface",
Usage: "Instance interfaces",
Subcommands: []*cli.Command{
&instanceListInterfacesCommand,
},
},
{
Name: "securitygroup",
Usage: "Instance security groups",
Subcommands: []*cli.Command{
&instanceListSecurityGroupsCommand,
&instanceAssignSecurityGroupsCommand,
&instanceUnAssignSecurityGroupsCommand,
},
},
{
Name: "metadata",
Usage: "Instance metadata",
Subcommands: []*cli.Command{
&metadataListCommand,
&metadataGetCommand,
&metadataCreateCommand,
&metadataUpdateCommand,
&metadataDeleteCommand,
},
},
},
}
Functions ¶
func StringSliceToAppConfigSetOpts ¶ added in v0.4.1
func StringSliceToMetadataSetOpts ¶
func StringSliceToMetadataSetOpts(slice []string) (*instances.MetadataSetOpts, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.