Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = cli.Command{ Name: "ai", Usage: "GCloud AI API", Subcommands: []*cli.Command{ &aiClusterGetCommand, &aiClustersListCommand, &aiClusterCreateCommand, &aiClusterDeleteCommand, &aiClusterPowerCycleCommand, &aiClusterRebootCommand, &aiClusterSuspendCommand, &aiClusterResumeCommand, &aiClusterResizeCommand, { Name: "interface", Usage: "AI cluster interface action", Category: "cluster", Subcommands: []*cli.Command{ &aiClusterListInterfacesCommand, &aiClusterAttachInterfacesCommand, &aiClusterDetachInterfacesCommand, }, }, { Name: "port", Usage: "AI cluster port action", Category: "cluster", Subcommands: []*cli.Command{ &aiClusterListPortsCommand, }, }, { Name: "instance", Usage: "AI instances action", Category: "cluster", Subcommands: []*cli.Command{ &aiInstancePowerCycleCommand, &aiInstanceRebootCommand, &aiInstanceGetConsoleCommand, }, }, { Name: "securitygroup", Usage: "AI cluster security groups", Category: "cluster", Subcommands: []*cli.Command{ &aiClusterAssignSecurityGroupsCommand, &aiClusterUnAssignSecurityGroupsCommand, }, }, { Name: "image", Usage: "AI cluster available images", Category: "cluster", Subcommands: []*cli.Command{ &aiClusterAvailableImagesCommand, }, }, { Name: "flavor", Usage: "AI cluster available flavors", Category: "cluster", Subcommands: []*cli.Command{ &aiClusterAvailableFlavorsCommand, }, }, { Name: "metadata", Usage: "AI cluster metadata", Category: "AI cluster metadata", Subcommands: []*cli.Command{ cmeta.NewMetadataListCommand( client.NewAIClusterClientV1, "Get AI cluster metadata", "<cluster_id>", "cluster_id is mandatory argument", ), cmeta.NewMetadataGetCommand( client2.NewAIClusterClientV2, "Show AI cluster metadata by key", "<cluster_id>", "cluster_id is mandatory argument", ), cmeta.NewMetadataDeleteCommand( client2.NewAIClusterClientV2, "Delete AI cluster metadata by key", "<cluster_id>", "cluster_id is mandatory argument", ), cmeta.NewMetadataCreateCommand( client2.NewAIClusterClientV2, "Create AI cluster metadata. It would update existing keys", "<cluster_id>", "cluster_id is mandatory argument", ), cmeta.NewMetadataUpdateCommand( client2.NewAIClusterClientV2, "Update AI cluster metadata. It overriding existing records", "<cluster_id>", "cluster_id is mandatory argument", ), cmeta.NewMetadataReplaceCommand( client2.NewAIClusterClientV2, "Replace AI cluster metadata. It replace existing records", "<cluster_id>", "cluster_id is mandatory argument", ), }, }, }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.