instances

package
v0.4.32 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: MPL-2.0 Imports: 16 Imported by: 0

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 StringSliceToAppConfigSetOpts(slice []string) (map[string]interface{}, error)

func StringSliceToMetadataSetOpts

func StringSliceToMetadataSetOpts(slice []string) (*instances.MetadataSetOpts, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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