Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = cli.Command{ Name: "subnet", Usage: "GCloud subnets API", Subcommands: []*cli.Command{ &subnetListCommand, &subnetGetCommand, &subnetDeleteCommand, &subnetCreateCommand, &subnetUpdateCommand, { Name: "metadata", Usage: "Network metadata", Subcommands: []*cli.Command{ cmeta.NewMetadataListCommand( client.NewSubnetClientV1, "Get subnet metadata", "<subnet_id>", "subnet_id is mandatory argument", ), cmeta.NewMetadataGetCommand( client.NewSubnetClientV1, "Show subnet metadata by key", "<subnet_id>", "subnet_id is mandatory argument", ), cmeta.NewMetadataDeleteCommand( client.NewSubnetClientV1, "Delete subnet metadata by key", "<subnet_id>", "subnet_id is mandatory argument", ), cmeta.NewMetadataCreateCommand( client.NewSubnetClientV1, "Create subnet metadata. It would update existing keys", "<subnet_id>", "subnet_id is mandatory argument", ), cmeta.NewMetadataUpdateCommand( client.NewSubnetClientV1, "Update subnet metadata. It overriding existing records", "<subnet_id>", "subnet_id is mandatory argument", ), cmeta.NewMetadataReplaceCommand( client.NewSubnetClientV1, "Replace subnet metadata. It replace existing records", "<subnet_id>", "subnet_id is mandatory argument", ), }, }, }, }
Functions ¶
func GetHostRoutes ¶ added in v0.4.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.