Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = cli.Command{ Name: "share", Usage: "GCloud file share API", Subcommands: []*cli.Command{ &fileShareListCommand, &fileShareGetCommand, &fileShareDeleteCommand, &fileShareCreateCommand, &fileShareUpdateCommand, &fileShareResizeCommand, { Name: "metadata", Usage: "File share metadata", Category: "file share metadata", Subcommands: []*cli.Command{ cmeta.NewMetadataListCommand( client.NewFileShareClientV1, "Get file share metadata", "<share_id>", "share_id is mandatory argument", ), cmeta.NewMetadataGetCommand( client.NewFileShareClientV1, "Show file share metadata by key", "<share_id>", "share_id is mandatory argument", ), cmeta.NewMetadataDeleteCommand( client.NewFileShareClientV1, "Delete file share metadata by key", "<share_id>", "share_id is mandatory argument", ), cmeta.NewMetadataCreateCommand( client.NewFileShareClientV1, "Create file share metadata. It would update existing keys", "<share_id>", "share_id is mandatory argument", ), cmeta.NewMetadataUpdateCommand( client.NewFileShareClientV1, "Update file share metadata. It overriding existing records", "<share_id>", "share_id is mandatory argument", ), cmeta.NewMetadataReplaceCommand( client.NewFileShareClientV1, "Replace share metadata. It replace existing records", "<share_id>", "share_id is mandatory argument", ), }, }, { Name: "rule", Usage: "File share access rule", Category: "file share access rule", Subcommands: []*cli.Command{ &fileShareAccessRuleListCommand, &fileShareAccessRuleCreateCommand, &fileShareAccessRuleDeleteCommand, }, }, }, }
Functions ¶
func GetSecondStringArg ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.