networks

package
v0.6.28 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands = cli.Command{
	Name:  "network",
	Usage: "GCloud networks API",
	Subcommands: []*cli.Command{
		&networkListCommand,
		&availableNetworkListCommand,
		&networkGetCommand,
		&networkDeleteCommand,
		&networkCreateCommand,
		&networkUpdateCommand,
		&extensionCommands,
		&networkInstancePortCommand,
		{
			Name:  "metadata",
			Usage: "Network metadata",
			Subcommands: []*cli.Command{
				cmeta.NewMetadataListCommand(
					client.NewNetworkClientV1,
					"Get networks metadata",
					"<network_id>",
					"network_id is mandatory argument",
				),
				cmeta.NewMetadataGetCommand(
					client.NewNetworkClientV1,
					"Show network metadata by key",
					"<network_id>",
					"network_id is mandatory argument",
				),
				cmeta.NewMetadataDeleteCommand(
					client.NewNetworkClientV1,
					"Delete network metadata by key",
					"<network_id>",
					"network_id is mandatory argument",
				),
				cmeta.NewMetadataCreateCommand(
					client.NewNetworkClientV1,
					"Create network metadata. It would update existing keys",
					"<network_id>",
					"network_id is mandatory argument",
				),
				cmeta.NewMetadataUpdateCommand(
					client.NewNetworkClientV1,
					"Update network metadata. It overriding existing records",
					"<network_id>",
					"network_id is mandatory argument",
				),
				cmeta.NewMetadataReplaceCommand(
					client.NewNetworkClientV1,
					"Replace network metadata. It replace existing records",
					"<network_id>",
					"network_id is mandatory argument",
				),
			},
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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