Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = cli.Command{ Name: "image", Usage: "GCloud images API", Subcommands: []*cli.Command{ &imageListCommand, &imageShowCommand, &imageDeleteCommand, &imageCreateCommand, &imageUpdateCommand, &imageUploadCommand, { Name: "project", Usage: "GCloud project images API", Subcommands: []*cli.Command{ &imageProjectListCommand, }, }, { Name: "metadata", Usage: "Image metadata", Subcommands: []*cli.Command{ cmeta.NewMetadataListCommand( client.NewImageClientV1, "Get image metadata", "<image_id>", "image_id is mandatory argument", ), cmeta.NewMetadataGetCommand( client.NewImageClientV1, "Show image metadata by key", "<image_id>", "image_id is mandatory argument", ), cmeta.NewMetadataDeleteCommand( client.NewImageClientV1, "Delete image_id metadata by key", "<image_id>", "image_id is mandatory argument", ), cmeta.NewMetadataCreateCommand( client.NewImageClientV1, "Create instance metadata. It would update existing keys", "<image_id>", "image_id is mandatory argument", ), cmeta.NewMetadataUpdateCommand( client.NewImageClientV1, "Update image_id metadata. It overriding existing records", "<image_id>", "volume_id is mandatory argument", ), cmeta.NewMetadataReplaceCommand( client.NewImageClientV1, "Replace image_id metadata. It replace existing records", "<image_id>", "image_id is mandatory argument", ), }, }, }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.