volumes

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands = cli.Command{
	Name:  "volume",
	Usage: "EdgeCloud volumes API",
	Subcommands: []*cli.Command{
		&volumeListCommand,
		&volumeGetCommand,
		&volumeDeleteCommand,
		&volumeCreateCommand,
		&volumeAttachCommand,
		&volumeDetachCommand,
		&volumeRetypeCommand,
		&volumeExtendCommand,
		&volumeRevertCommand,
		{
			Name:  "metadata",
			Usage: "Volume metadata",
			Subcommands: []*cli.Command{
				cmeta.NewMetadataListCommand(
					client.NewVolumeClientV1,
					"Get volume metadata",
					"<volume_id>",
					"volume_id is mandatory argument",
				),
				cmeta.NewMetadataGetCommand(
					client.NewVolumeClientV1,
					"Show volume metadata by key",
					"<volume_id>",
					"volume_id is mandatory argument",
				),
				cmeta.NewMetadataDeleteCommand(
					client.NewVolumeClientV1,
					"Delete volume metadata by key",
					"<volume_id>",
					"volume_id is mandatory argument",
				),
				cmeta.NewMetadataCreateCommand(
					client.NewVolumeClientV1,
					"Create instance metadata. It would update existing keys",
					"<volume_id>",
					"volume_id is mandatory argument",
				),
				cmeta.NewMetadataUpdateCommand(
					client.NewVolumeClientV1,
					"Update volume metadata. It overriding existing records",
					"<volume_id>",
					"volume_id is mandatory argument",
				),
				cmeta.NewMetadataReplaceCommand(
					client.NewVolumeClientV1,
					"Replace volume metadata. It replace existing records",
					"<volume_id>",
					"volume_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