Documentation
¶
Index ¶
- Variables
- func ClearDeprecatedFieldsInterceptor(ctx context.Context, method string, req, reply any, cc *grpc.ClientConn, ...) error
- func CreateAuditLogSinkKinesis(ctx context.Context, params CreateAuditLogSinkKinesisParams) error
- func CreateAuditLogSinkPubSub(ctx context.Context, params CreateAuditLogSinkPubSubParams) error
- func CreateAzureBlobExportSink(ctx context.Context, params CreateAzureBlobExportSinkParams) error
- func CreateGCSExportSink(ctx context.Context, params CreateGCSExportSinkParams) error
- func CreateNamespace(ctx context.Context, params CreateNamespaceParams) error
- func CreatePrivateConnectivityRule(ctx context.Context, params CreatePrivateConnectivityRuleParams) error
- func CreatePublicConnectivityRule(ctx context.Context, params CreatePublicConnectivityRuleParams) error
- func CreateS3ExportSink(ctx context.Context, params CreateS3ExportSinkParams) error
- func DeleteAuditLogSink(ctx context.Context, params DeleteAuditLogSinkParams) error
- func DeleteConnectivityRule(ctx context.Context, params DeleteConnectivityRuleParams) error
- func DeleteExportSink(ctx context.Context, params DeleteExportSinkParams) error
- func DisableAuditLogSink(ctx context.Context, params DisableAuditLogSinkParams) error
- func DisableExportSink(ctx context.Context, params DisableExportSinkParams) error
- func EnableAuditLogSink(ctx context.Context, params EnableAuditLogSinkParams) error
- func EnableExportSink(ctx context.Context, params EnableExportSinkParams) error
- func Execute(ctx context.Context, options CommandOptions)
- func GetAuditLogSink(ctx context.Context, params GetAuditLogSinkParams) error
- func GetAuditLogs(ctx context.Context, params GetAuditLogsParams) error
- func GetConnectivityRule(ctx context.Context, params GetConnectivityRuleParams) error
- func GetExportSink(ctx context.Context, params GetExportSinkParams) error
- func GetRetention(ctx context.Context, params GetRetentionParams) error
- func GetToken(ctx context.Context, config *oauth2.Config, token *oauth2.Token) (*oauth2.Token, bool, error)
- func GraftErrors(err error, toWrap error) error
- func ListAuditLogSinks(ctx context.Context, params ListAuditLogSinksParams) error
- func ListConnectivityRules(ctx context.Context, params ListConnectivityRulesParams) error
- func ListExportSinks(ctx context.Context, params ListExportSinksParams) error
- func Login(ctx context.Context, config *oauth2.Config, options ...oauth2.AuthCodeOption) (*oauth2.Token, error)
- func ParseRoleARN(roleARN string) (roleName, accountID string, err error)
- func ParseServiceAccountEmail(email string) (saID, projectID string, err error)
- func SetRetention(ctx context.Context, params SetRetentionParams) error
- func TestCommand(t *testing.T, command CommandIfc, opts TestCommandOptions)
- func UnmarshalProtoJSONWithOptions(b []byte, m proto.Message, jsonShorthandPayloads bool) error
- func UpdateAuditLogSinkKinesis(ctx context.Context, params UpdateAuditLogSinkKinesisParams) error
- func UpdateAuditLogSinkPubSub(ctx context.Context, params UpdateAuditLogSinkPubSubParams) error
- func UpdateAzureBlobExportSink(ctx context.Context, params UpdateAzureBlobExportSinkParams) error
- func UpdateGCSExportSink(ctx context.Context, params UpdateGCSExportSinkParams) error
- func UpdateS3ExportSink(ctx context.Context, params UpdateS3ExportSinkParams) error
- func ValidateAuditLogSinkKinesis(ctx context.Context, params ValidateAuditLogSinkKinesisParams) error
- func ValidateAuditLogSinkPubSub(ctx context.Context, params ValidateAuditLogSinkPubSubParams) error
- func ValidateAzureBlobExportSink(ctx context.Context, params ValidateAzureBlobExportSinkParams) error
- func ValidateGCSExportSink(ctx context.Context, params ValidateGCSExportSinkParams) error
- func ValidateS3ExportSink(ctx context.Context, params ValidateS3ExportSinkParams) error
- func VersionString() string
- type AsyncOperationHandler
- type AsyncOperationOptions
- type AsyncOperationPoller
- type AsyncOperationResponse
- type CaCertificateOptions
- type CertificateFilterOptions
- type ClientOptions
- type CloudAccountAuditLogCommand
- type CloudAccountAuditLogListCommand
- type CloudAccountAuditLogSinkCommand
- type CloudAccountAuditLogSinkDeleteCommand
- type CloudAccountAuditLogSinkDisableCommand
- type CloudAccountAuditLogSinkEnableCommand
- type CloudAccountAuditLogSinkGetCommand
- type CloudAccountAuditLogSinkKinesisCommand
- type CloudAccountAuditLogSinkKinesisCreateCommand
- type CloudAccountAuditLogSinkKinesisUpdateCommand
- type CloudAccountAuditLogSinkKinesisValidateCommand
- type CloudAccountAuditLogSinkListCommand
- type CloudAccountAuditLogSinkPubsubCommand
- type CloudAccountAuditLogSinkPubsubCreateCommand
- type CloudAccountAuditLogSinkPubsubUpdateCommand
- type CloudAccountAuditLogSinkPubsubValidateCommand
- type CloudAccountCommand
- type CloudAccountMetricsCertCaCommand
- type CloudAccountMetricsCertCaCreateCommand
- type CloudAccountMetricsCertCaDeleteCommand
- type CloudAccountMetricsCertCaListCommand
- type CloudAccountMetricsCommand
- type CloudApikeyCommand
- type CloudApikeyCreateForMeCommand
- type CloudApikeyCreateForServiceAccountCommand
- type CloudApikeyDeleteCommand
- type CloudApikeyDisableCommand
- type CloudApikeyEditCommand
- type CloudApikeyEnableCommand
- type CloudApikeyGetCommand
- type CloudApikeyListCommand
- type CloudApikeyUpdateCommand
- type CloudAsyncOperationAwaitCommand
- type CloudAsyncOperationCommand
- type CloudAsyncOperationGetCommand
- type CloudCommand
- type CloudConnectivityCommand
- type CloudConnectivityDeleteCommand
- type CloudConnectivityGetCommand
- type CloudConnectivityListCommand
- type CloudConnectivityPrivateCommand
- type CloudConnectivityPrivateCreateCommand
- type CloudConnectivityPublicCommand
- type CloudConnectivityPublicCreateCommand
- type CloudCustomRoleApplyCommand
- type CloudCustomRoleCommand
- type CloudCustomRoleCreateCommand
- type CloudCustomRoleDeleteCommand
- type CloudCustomRoleEditCommand
- type CloudCustomRoleGetCommand
- type CloudCustomRoleListCommand
- type CloudCustomRoleUpdateCommand
- type CloudLoginCommand
- type CloudLogoutCommand
- type CloudNamespaceApiKeyCommand
- type CloudNamespaceApiKeyDisableCommand
- type CloudNamespaceApiKeyEnableCommand
- type CloudNamespaceApiKeyGetCommand
- type CloudNamespaceApplyCommand
- type CloudNamespaceCapacityCommand
- type CloudNamespaceCapacityGetCommand
- type CloudNamespaceCapacityUpdateCommand
- type CloudNamespaceCodecCommand
- type CloudNamespaceCodecDeleteCommand
- type CloudNamespaceCodecGetCommand
- type CloudNamespaceCodecSetCommand
- type CloudNamespaceCommand
- type CloudNamespaceConnectivityAttachCommand
- type CloudNamespaceConnectivityCommand
- type CloudNamespaceConnectivityDetachCommand
- type CloudNamespaceConnectivityListCommand
- type CloudNamespaceCreateCommand
- type CloudNamespaceDeleteCommand
- type CloudNamespaceDescriptionCommand
- type CloudNamespaceDescriptionGetCommand
- type CloudNamespaceDescriptionSetCommand
- type CloudNamespaceEditCommand
- type CloudNamespaceExportAzureBlobCommand
- type CloudNamespaceExportAzureBlobCreateCommand
- type CloudNamespaceExportAzureBlobUpdateCommand
- type CloudNamespaceExportAzureBlobValidateCommand
- type CloudNamespaceExportCommand
- type CloudNamespaceExportDeleteCommand
- type CloudNamespaceExportDisableCommand
- type CloudNamespaceExportEnableCommand
- type CloudNamespaceExportGcsCommand
- type CloudNamespaceExportGcsCreateCommand
- type CloudNamespaceExportGcsUpdateCommand
- type CloudNamespaceExportGcsValidateCommand
- type CloudNamespaceExportGetCommand
- type CloudNamespaceExportListCommand
- type CloudNamespaceExportS3Command
- type CloudNamespaceExportS3CreateCommand
- type CloudNamespaceExportS3UpdateCommand
- type CloudNamespaceExportS3ValidateCommand
- type CloudNamespaceFairnessCommand
- type CloudNamespaceFairnessGetCommand
- type CloudNamespaceFairnessSetCommand
- type CloudNamespaceGetCommand
- type CloudNamespaceHaCommand
- type CloudNamespaceHaFailoverCommand
- type CloudNamespaceHaGetCommand
- type CloudNamespaceHaRegionAddCommand
- type CloudNamespaceHaRegionCommand
- type CloudNamespaceHaRegionDeleteCommand
- type CloudNamespaceHaRegionListCommand
- type CloudNamespaceHaUpdateCommand
- type CloudNamespaceLifecycleCommand
- type CloudNamespaceLifecycleGetCommand
- type CloudNamespaceLifecycleSetCommand
- type CloudNamespaceListCommand
- type CloudNamespaceMoveToProjectCommand
- type CloudNamespaceMtlsCertCaCommand
- type CloudNamespaceMtlsCertCaCreateCommand
- type CloudNamespaceMtlsCertCaDeleteCommand
- type CloudNamespaceMtlsCertCaListCommand
- type CloudNamespaceMtlsCertFilterCommand
- type CloudNamespaceMtlsCertFilterCreateCommand
- type CloudNamespaceMtlsCertFilterDeleteCommand
- type CloudNamespaceMtlsCertFilterListCommand
- type CloudNamespaceMtlsCommand
- type CloudNamespaceMtlsDisableCommand
- type CloudNamespaceMtlsEnableCommand
- type CloudNamespaceMtlsGetCommand
- type CloudNamespaceRetentionCommand
- type CloudNamespaceRetentionGetCommand
- type CloudNamespaceRetentionSetCommand
- type CloudNamespaceSearchAttributeCommand
- type CloudNamespaceSearchAttributeCreateCommand
- type CloudNamespaceSearchAttributeListCommand
- type CloudNamespaceSearchAttributeRenameCommand
- type CloudNamespaceServiceAccountCommand
- type CloudNamespaceServiceAccountListCommand
- type CloudNamespaceTagCommand
- type CloudNamespaceTagCreateCommand
- type CloudNamespaceTagDeleteCommand
- type CloudNamespaceTagListCommand
- type CloudNamespaceTagUpdateCommand
- type CloudNamespaceUserCommand
- type CloudNamespaceUserGroupCommand
- type CloudNamespaceUserGroupListCommand
- type CloudNamespaceUserListCommand
- type CloudNexusCommand
- type CloudNexusEndpointAllowedNamespaceAddCommand
- type CloudNexusEndpointAllowedNamespaceCommand
- type CloudNexusEndpointAllowedNamespaceListCommand
- type CloudNexusEndpointAllowedNamespaceRemoveCommand
- type CloudNexusEndpointAllowedNamespaceSetCommand
- type CloudNexusEndpointCommand
- type CloudNexusEndpointCreateCommand
- type CloudNexusEndpointDeleteCommand
- type CloudNexusEndpointGetCommand
- type CloudNexusEndpointListCommand
- type CloudNexusEndpointUpdateCommand
- type CloudOptions
- type CloudOptionsBuilder
- type CloudProjectApplyCommand
- type CloudProjectCommand
- type CloudProjectCreateCommand
- type CloudProjectDeleteCommand
- type CloudProjectEditCommand
- type CloudProjectGetCommand
- type CloudProjectListCommand
- type CloudProjectServiceAccountCommand
- type CloudProjectServiceAccountListCommand
- type CloudProjectUpdateCommand
- type CloudProjectUserCommand
- type CloudProjectUserGroupCommand
- type CloudProjectUserGroupListCommand
- type CloudProjectUserListCommand
- type CloudRegionCommand
- type CloudRegionGetCommand
- type CloudRegionListCommand
- type CloudServiceAccountCommand
- type CloudServiceAccountCreateCommand
- type CloudServiceAccountCreateNamespaceScopedCommand
- type CloudServiceAccountCreateProjectScopedCommand
- type CloudServiceAccountDeleteCommand
- type CloudServiceAccountEditCommand
- type CloudServiceAccountGetCommand
- type CloudServiceAccountListCommand
- type CloudServiceAccountRemoveProjectAccessCommand
- type CloudServiceAccountSetCustomRolesCommand
- type CloudServiceAccountSetProjectAccessCommand
- type CloudServiceAccountUpdateCommand
- type CloudUserApplyCommand
- type CloudUserCommand
- type CloudUserDeleteCommand
- type CloudUserEditCommand
- type CloudUserGetCommand
- type CloudUserGroupApplyCommand
- type CloudUserGroupCommand
- type CloudUserGroupCreateCloudGroupCommand
- type CloudUserGroupCreateGoogleGroupCommand
- type CloudUserGroupCreateScimGroupCommand
- type CloudUserGroupDeleteCommand
- type CloudUserGroupEditCommand
- type CloudUserGroupGetCommand
- type CloudUserGroupListCommand
- type CloudUserGroupMembersAddCommand
- type CloudUserGroupMembersCommand
- type CloudUserGroupMembersListCommand
- type CloudUserGroupMembersRemoveCommand
- type CloudUserGroupRemoveProjectAccessCommand
- type CloudUserGroupSetAccountRoleCommand
- type CloudUserGroupSetCustomRolesCommand
- type CloudUserGroupSetNamespacePermissionsCommand
- type CloudUserGroupSetProjectAccessCommand
- type CloudUserGroupUpdateCommand
- type CloudUserInviteCommand
- type CloudUserListCommand
- type CloudUserRemoveProjectAccessCommand
- type CloudUserSetAccountRoleCommand
- type CloudUserSetCustomRolesCommand
- type CloudUserSetNamespacePermissionsCommand
- type CloudUserSetProjectAccessCommand
- type CloudWhoamiCommand
- type CodecServerOptions
- type CommandContext
- func (c *CommandContext) BindFlagEnvVar(flag *pflag.Flag, envVar string)
- func (cctx *CommandContext) BuildCloudClient(clientOpts ClientOptions) (*cloudclient.Client, error)
- func (cctx *CommandContext) BuildCloudOptions(clientOpts ClientOptions) (*CloudOptions, error)
- func (cctx *CommandContext) GetCloudClient(cloudOpts ClientOptions) (cloudservice.CloudServiceClient, error)
- func (cctx *CommandContext) GetEditor() editor.Editor
- func (cctx *CommandContext) GetPoller(client cloudservice.CloudServiceClient, asyncOptions AsyncOperationOptions) async.Poller
- func (cctx *CommandContext) GetPrompter() cliprompter.Prompter
- func (c *CommandContext) MarshalFriendlyFailureBodyText(f *failure.Failure, indent string) (s string)
- func (c *CommandContext) MarshalFriendlyJSONPayloads(m *common.Payloads) (json.RawMessage, error)
- func (c *CommandContext) MarshalProtoJSON(m proto.Message) ([]byte, error)
- func (c *CommandContext) MarshalProtoJSONWithOptions(m proto.Message, jsonShorthandPayloads bool) ([]byte, error)
- func (c *CommandContext) UnmarshalProtoJSON(b []byte, m proto.Message) error
- type CommandIfc
- type CommandOptions
- type CreateAuditLogSinkKinesisParams
- type CreateAuditLogSinkPubSubParams
- type CreateAzureBlobExportSinkParams
- type CreateGCSExportSinkParams
- type CreateNamespaceParams
- type CreatePrivateConnectivityRuleParams
- type CreatePublicConnectivityRuleParams
- type CreateS3ExportSinkParams
- type CustomRoleOptions
- type DeleteAuditLogSinkParams
- type DeleteConnectivityRuleParams
- type DeleteExportSinkParams
- type DiffOptions
- type DisableAuditLogSinkParams
- type DisableExportSinkParams
- type EnableAuditLogSinkParams
- type EnableExportSinkParams
- type ExportAzureBlobOptions
- type ExportAzureBlobRegionOptions
- type ExportGcsOptions
- type ExportGcsRegionOptions
- type ExportS3Options
- type ExportS3RegionOptions
- type ExportSinkOptions
- type FriendlyError
- type GetAuditLogSinkParams
- type GetAuditLogsParams
- type GetConnectivityRuleParams
- type GetExportSinkParams
- type GetRetentionParams
- type GraftedError
- type GroupIdOptions
- type ListAuditLogSinksParams
- type ListConnectivityRulesParams
- type ListExportSinksParams
- type MutationResult
- type NamespaceClient
- type NamespaceOptions
- type Poller
- type Prompter
- type ResourceVersionOptions
- type Result
- type RoleIdOptions
- type SearchAttributeOutput
- type SetRetentionParams
- type Tag
- type TestAsyncPollerOptions
- type TestCommandOptions
- type TestEditorOptions
- type TestPromptOptions
- type UpdateAuditLogSinkKinesisParams
- type UpdateAuditLogSinkPubSubParams
- type UpdateAzureBlobExportSinkParams
- type UpdateGCSExportSinkParams
- type UpdateS3ExportSinkParams
- type UserIdentificationOptions
- type ValidateAuditLogSinkKinesisParams
- type ValidateAuditLogSinkPubSubParams
- type ValidateAzureBlobExportSinkParams
- type ValidateGCSExportSinkParams
- type ValidateS3ExportSinkParams
Constants ¶
This section is empty.
Variables ¶
var ErrLoginRequired = errors.New("login required")
var Version = "0.0.0-DEV"
Version is the value put as the default command version. This is often replaced at build time via ldflags.
Functions ¶
func ClearDeprecatedFieldsInterceptor ¶
func ClearDeprecatedFieldsInterceptor( ctx context.Context, method string, req, reply any, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption, ) error
clearDeprecatedFieldsInterceptor is a gRPC unary client interceptor that strips deprecated fields from every response. Any proto field whose name ends with "_deprecated" or that is marked with [deprecated = true] is cleared; nested messages, repeated message fields, and map fields with message values are visited recursively.
func CreateAuditLogSinkKinesis ¶
func CreateAuditLogSinkKinesis(ctx context.Context, params CreateAuditLogSinkKinesisParams) error
func CreateAuditLogSinkPubSub ¶
func CreateAuditLogSinkPubSub(ctx context.Context, params CreateAuditLogSinkPubSubParams) error
func CreateAzureBlobExportSink ¶ added in v0.0.4
func CreateAzureBlobExportSink(ctx context.Context, params CreateAzureBlobExportSinkParams) error
func CreateGCSExportSink ¶
func CreateGCSExportSink(ctx context.Context, params CreateGCSExportSinkParams) error
func CreateNamespace ¶
func CreateNamespace(ctx context.Context, params CreateNamespaceParams) error
CreateNamespace builds the NamespaceSpec from the given params, prompts for confirmation, calls the API, and dispatches the result via HandleResult.
func CreatePrivateConnectivityRule ¶
func CreatePrivateConnectivityRule(ctx context.Context, params CreatePrivateConnectivityRuleParams) error
CreatePrivateConnectivityRule creates a new private VPC connectivity rule.
func CreatePublicConnectivityRule ¶
func CreatePublicConnectivityRule(ctx context.Context, params CreatePublicConnectivityRuleParams) error
CreatePublicConnectivityRule creates a new public internet connectivity rule.
func CreateS3ExportSink ¶
func CreateS3ExportSink(ctx context.Context, params CreateS3ExportSinkParams) error
func DeleteAuditLogSink ¶
func DeleteAuditLogSink(ctx context.Context, params DeleteAuditLogSinkParams) error
func DeleteConnectivityRule ¶
func DeleteConnectivityRule(ctx context.Context, params DeleteConnectivityRuleParams) error
DeleteConnectivityRule deletes a connectivity rule by ID. Always fetches the rule first to show a diff before deletion.
func DeleteExportSink ¶
func DeleteExportSink(ctx context.Context, params DeleteExportSinkParams) error
func DisableAuditLogSink ¶
func DisableAuditLogSink(ctx context.Context, params DisableAuditLogSinkParams) error
func DisableExportSink ¶
func DisableExportSink(ctx context.Context, params DisableExportSinkParams) error
func EnableAuditLogSink ¶
func EnableAuditLogSink(ctx context.Context, params EnableAuditLogSinkParams) error
func EnableExportSink ¶
func EnableExportSink(ctx context.Context, params EnableExportSinkParams) error
func Execute ¶
func Execute(ctx context.Context, options CommandOptions)
Execute runs the Temporal CLI with the given context and options. This intentionally does not return an error but rather invokes Fail on the options.
func GetAuditLogSink ¶
func GetAuditLogSink(ctx context.Context, params GetAuditLogSinkParams) error
func GetAuditLogs ¶
func GetAuditLogs(ctx context.Context, params GetAuditLogsParams) error
func GetConnectivityRule ¶
func GetConnectivityRule(ctx context.Context, params GetConnectivityRuleParams) error
GetConnectivityRule retrieves details of a specific connectivity rule by ID.
func GetExportSink ¶
func GetExportSink(ctx context.Context, params GetExportSinkParams) error
func GetRetention ¶
func GetRetention(ctx context.Context, params GetRetentionParams) error
func GraftErrors ¶ added in v0.0.3
GraftErrors encapsulates err and wraps toWrap, as if err had wrapped toWrap originally. This is primarily useful when an external library does not wrap errors itself, but the original error is available via other means
func ListAuditLogSinks ¶
func ListAuditLogSinks(ctx context.Context, params ListAuditLogSinksParams) error
func ListConnectivityRules ¶
func ListConnectivityRules(ctx context.Context, params ListConnectivityRulesParams) error
ListConnectivityRules retrieves connectivity rules, optionally filtered by namespace.
func ListExportSinks ¶
func ListExportSinks(ctx context.Context, params ListExportSinksParams) error
func ParseRoleARN ¶
ParseRoleARN extracts the IAM role name and AWS account ID from an IAM role ARN of the form "arn:aws:iam::<account>:role/<name>".
func ParseServiceAccountEmail ¶
ParseServiceAccountEmail extracts the service account ID (local part) and GCP project ID from an email of the form "<sa-id>@<project-id>.iam.gserviceaccount.com".
func SetRetention ¶
func SetRetention(ctx context.Context, params SetRetentionParams) error
func TestCommand ¶
func TestCommand(t *testing.T, command CommandIfc, opts TestCommandOptions)
func UpdateAuditLogSinkKinesis ¶
func UpdateAuditLogSinkKinesis(ctx context.Context, params UpdateAuditLogSinkKinesisParams) error
func UpdateAuditLogSinkPubSub ¶
func UpdateAuditLogSinkPubSub(ctx context.Context, params UpdateAuditLogSinkPubSubParams) error
func UpdateAzureBlobExportSink ¶ added in v0.0.4
func UpdateAzureBlobExportSink(ctx context.Context, params UpdateAzureBlobExportSinkParams) error
func UpdateGCSExportSink ¶
func UpdateGCSExportSink(ctx context.Context, params UpdateGCSExportSinkParams) error
func UpdateS3ExportSink ¶
func UpdateS3ExportSink(ctx context.Context, params UpdateS3ExportSinkParams) error
func ValidateAuditLogSinkKinesis ¶
func ValidateAuditLogSinkKinesis(ctx context.Context, params ValidateAuditLogSinkKinesisParams) error
func ValidateAuditLogSinkPubSub ¶
func ValidateAuditLogSinkPubSub(ctx context.Context, params ValidateAuditLogSinkPubSubParams) error
func ValidateAzureBlobExportSink ¶ added in v0.0.4
func ValidateAzureBlobExportSink(ctx context.Context, params ValidateAzureBlobExportSinkParams) error
func ValidateGCSExportSink ¶
func ValidateGCSExportSink(ctx context.Context, params ValidateGCSExportSinkParams) error
func ValidateS3ExportSink ¶
func ValidateS3ExportSink(ctx context.Context, params ValidateS3ExportSinkParams) error
func VersionString ¶
func VersionString() string
Types ¶
type AsyncOperationHandler ¶
type AsyncOperationHandler interface {
// HandleOperation dispatches a successfully started operation: prints immediately (async)
// or polls until completion (sync).
HandleOperation(op *operation.AsyncOperation, id string) error
// HandleCreateErr handles an error from a create call: swallows AlreadyExists
// errors when idempotent, propagates all others.
HandleCreateErr(err error) error
HandleUpdateErr(err error) error
HandleDeleteErr(err error) error
}
AsyncOperationHandler handles the async operation lifecycle.
func NewOperationHandler ¶
func NewOperationHandler(cctx *CommandContext, asyncOpts AsyncOperationOptions, clientOpts ClientOptions) AsyncOperationHandler
type AsyncOperationOptions ¶
type AsyncOperationOptions struct {
Idempotent bool
AsyncOperationId string
Async bool
PollInterval cliext.FlagDuration
FlagSet *pflag.FlagSet
}
func (*AsyncOperationOptions) BuildFlags ¶
func (v *AsyncOperationOptions) BuildFlags(f *pflag.FlagSet)
type AsyncOperationPoller ¶
type AsyncOperationPoller struct {
CloudClient cloudservice.CloudServiceClient
}
func (*AsyncOperationPoller) PollAsyncOperation ¶
func (p *AsyncOperationPoller) PollAsyncOperation( cctx *CommandContext, operationID string, id string, ) error
pollAsyncOperation polls an async operation until it reaches a terminal state. It prints status updates every second and returns the final AsyncOperation.
The cloudClient should be pre-built using cctx.BuildCloudClient().
AIDEV-NOTE: This function takes a pre-built cloudClient. Commands should build the client using cctx.BuildCloudClient() and pass it directly.
type AsyncOperationResponse ¶
type AsyncOperationResponse interface {
GetAsyncOperation() *operation.AsyncOperation
}
AsyncOperationResponse is implemented by gRPC responses that carry an async operation.
type CaCertificateOptions ¶
type CaCertificateOptions struct {
CaCertificate string
CaCertificateFile string
FlagSet *pflag.FlagSet
}
func (*CaCertificateOptions) BuildFlags ¶
func (v *CaCertificateOptions) BuildFlags(f *pflag.FlagSet)
type CertificateFilterOptions ¶
type CertificateFilterOptions struct {
CertificateFilter []string
CertificateFilterFile string
FlagSet *pflag.FlagSet
}
func (*CertificateFilterOptions) BuildFlags ¶
func (v *CertificateFilterOptions) BuildFlags(f *pflag.FlagSet)
type ClientOptions ¶
func (*ClientOptions) BuildFlags ¶
func (v *ClientOptions) BuildFlags(f *pflag.FlagSet)
type CloudAccountAuditLogCommand ¶
type CloudAccountAuditLogCommand struct {
Parent *CloudAccountCommand
Command cobra.Command
}
func NewCloudAccountAuditLogCommand ¶
func NewCloudAccountAuditLogCommand(cctx *CommandContext, parent *CloudAccountCommand) *CloudAccountAuditLogCommand
type CloudAccountAuditLogListCommand ¶
type CloudAccountAuditLogListCommand struct {
Parent *CloudAccountAuditLogCommand
Command cobra.Command
ClientOptions
PageSize int
PageToken string
StartTime cliext.FlagTimestamp
EndTime cliext.FlagTimestamp
}
func NewCloudAccountAuditLogListCommand ¶
func NewCloudAccountAuditLogListCommand(cctx *CommandContext, parent *CloudAccountAuditLogCommand) *CloudAccountAuditLogListCommand
type CloudAccountAuditLogSinkCommand ¶
type CloudAccountAuditLogSinkCommand struct {
Parent *CloudAccountAuditLogCommand
Command cobra.Command
}
func NewCloudAccountAuditLogSinkCommand ¶
func NewCloudAccountAuditLogSinkCommand(cctx *CommandContext, parent *CloudAccountAuditLogCommand) *CloudAccountAuditLogSinkCommand
type CloudAccountAuditLogSinkDeleteCommand ¶
type CloudAccountAuditLogSinkDeleteCommand struct {
Parent *CloudAccountAuditLogSinkCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
Name string
}
func NewCloudAccountAuditLogSinkDeleteCommand ¶
func NewCloudAccountAuditLogSinkDeleteCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkCommand) *CloudAccountAuditLogSinkDeleteCommand
type CloudAccountAuditLogSinkDisableCommand ¶
type CloudAccountAuditLogSinkDisableCommand struct {
Parent *CloudAccountAuditLogSinkCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
Name string
}
func NewCloudAccountAuditLogSinkDisableCommand ¶
func NewCloudAccountAuditLogSinkDisableCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkCommand) *CloudAccountAuditLogSinkDisableCommand
type CloudAccountAuditLogSinkEnableCommand ¶
type CloudAccountAuditLogSinkEnableCommand struct {
Parent *CloudAccountAuditLogSinkCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
Name string
}
func NewCloudAccountAuditLogSinkEnableCommand ¶
func NewCloudAccountAuditLogSinkEnableCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkCommand) *CloudAccountAuditLogSinkEnableCommand
type CloudAccountAuditLogSinkGetCommand ¶
type CloudAccountAuditLogSinkGetCommand struct {
Parent *CloudAccountAuditLogSinkCommand
Command cobra.Command
ClientOptions
Name string
}
func NewCloudAccountAuditLogSinkGetCommand ¶
func NewCloudAccountAuditLogSinkGetCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkCommand) *CloudAccountAuditLogSinkGetCommand
type CloudAccountAuditLogSinkKinesisCommand ¶
type CloudAccountAuditLogSinkKinesisCommand struct {
Parent *CloudAccountAuditLogSinkCommand
Command cobra.Command
}
func NewCloudAccountAuditLogSinkKinesisCommand ¶
func NewCloudAccountAuditLogSinkKinesisCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkCommand) *CloudAccountAuditLogSinkKinesisCommand
type CloudAccountAuditLogSinkKinesisCreateCommand ¶
type CloudAccountAuditLogSinkKinesisCreateCommand struct {
Parent *CloudAccountAuditLogSinkKinesisCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
Name string
RoleName string
DestinationUri string
Region string
}
func NewCloudAccountAuditLogSinkKinesisCreateCommand ¶
func NewCloudAccountAuditLogSinkKinesisCreateCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkKinesisCommand) *CloudAccountAuditLogSinkKinesisCreateCommand
type CloudAccountAuditLogSinkKinesisUpdateCommand ¶
type CloudAccountAuditLogSinkKinesisUpdateCommand struct {
Parent *CloudAccountAuditLogSinkKinesisCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
Name string
RoleName string
DestinationUri string
Region string
}
func NewCloudAccountAuditLogSinkKinesisUpdateCommand ¶
func NewCloudAccountAuditLogSinkKinesisUpdateCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkKinesisCommand) *CloudAccountAuditLogSinkKinesisUpdateCommand
type CloudAccountAuditLogSinkKinesisValidateCommand ¶
type CloudAccountAuditLogSinkKinesisValidateCommand struct {
Parent *CloudAccountAuditLogSinkKinesisCommand
Command cobra.Command
ClientOptions
RoleName string
DestinationUri string
Region string
}
func NewCloudAccountAuditLogSinkKinesisValidateCommand ¶
func NewCloudAccountAuditLogSinkKinesisValidateCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkKinesisCommand) *CloudAccountAuditLogSinkKinesisValidateCommand
type CloudAccountAuditLogSinkListCommand ¶
type CloudAccountAuditLogSinkListCommand struct {
Parent *CloudAccountAuditLogSinkCommand
Command cobra.Command
ClientOptions
PageSize int
PageToken string
}
func NewCloudAccountAuditLogSinkListCommand ¶
func NewCloudAccountAuditLogSinkListCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkCommand) *CloudAccountAuditLogSinkListCommand
type CloudAccountAuditLogSinkPubsubCommand ¶
type CloudAccountAuditLogSinkPubsubCommand struct {
Parent *CloudAccountAuditLogSinkCommand
Command cobra.Command
}
func NewCloudAccountAuditLogSinkPubsubCommand ¶
func NewCloudAccountAuditLogSinkPubsubCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkCommand) *CloudAccountAuditLogSinkPubsubCommand
type CloudAccountAuditLogSinkPubsubCreateCommand ¶
type CloudAccountAuditLogSinkPubsubCreateCommand struct {
Parent *CloudAccountAuditLogSinkPubsubCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
Name string
ServiceAccountEmail string
TopicName string
}
func NewCloudAccountAuditLogSinkPubsubCreateCommand ¶
func NewCloudAccountAuditLogSinkPubsubCreateCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkPubsubCommand) *CloudAccountAuditLogSinkPubsubCreateCommand
type CloudAccountAuditLogSinkPubsubUpdateCommand ¶
type CloudAccountAuditLogSinkPubsubUpdateCommand struct {
Parent *CloudAccountAuditLogSinkPubsubCommand
Command cobra.Command
ClientOptions
ResourceVersionOptions
AsyncOperationOptions
Name string
ServiceAccountEmail string
TopicName string
}
func NewCloudAccountAuditLogSinkPubsubUpdateCommand ¶
func NewCloudAccountAuditLogSinkPubsubUpdateCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkPubsubCommand) *CloudAccountAuditLogSinkPubsubUpdateCommand
type CloudAccountAuditLogSinkPubsubValidateCommand ¶
type CloudAccountAuditLogSinkPubsubValidateCommand struct {
Parent *CloudAccountAuditLogSinkPubsubCommand
Command cobra.Command
ClientOptions
ServiceAccountEmail string
TopicName string
}
func NewCloudAccountAuditLogSinkPubsubValidateCommand ¶
func NewCloudAccountAuditLogSinkPubsubValidateCommand(cctx *CommandContext, parent *CloudAccountAuditLogSinkPubsubCommand) *CloudAccountAuditLogSinkPubsubValidateCommand
type CloudAccountCommand ¶
type CloudAccountCommand struct {
Parent *CloudCommand
Command cobra.Command
}
func NewCloudAccountCommand ¶
func NewCloudAccountCommand(cctx *CommandContext, parent *CloudCommand) *CloudAccountCommand
type CloudAccountMetricsCertCaCommand ¶
type CloudAccountMetricsCertCaCommand struct {
Parent *CloudAccountMetricsCommand
Command cobra.Command
}
func NewCloudAccountMetricsCertCaCommand ¶
func NewCloudAccountMetricsCertCaCommand(cctx *CommandContext, parent *CloudAccountMetricsCommand) *CloudAccountMetricsCertCaCommand
type CloudAccountMetricsCertCaCreateCommand ¶
type CloudAccountMetricsCertCaCreateCommand struct {
Parent *CloudAccountMetricsCertCaCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
CaCertificateOptions
}
func NewCloudAccountMetricsCertCaCreateCommand ¶
func NewCloudAccountMetricsCertCaCreateCommand(cctx *CommandContext, parent *CloudAccountMetricsCertCaCommand) *CloudAccountMetricsCertCaCreateCommand
type CloudAccountMetricsCertCaDeleteCommand ¶
type CloudAccountMetricsCertCaDeleteCommand struct {
Parent *CloudAccountMetricsCertCaCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
CaCertificateOptions
}
func NewCloudAccountMetricsCertCaDeleteCommand ¶
func NewCloudAccountMetricsCertCaDeleteCommand(cctx *CommandContext, parent *CloudAccountMetricsCertCaCommand) *CloudAccountMetricsCertCaDeleteCommand
type CloudAccountMetricsCertCaListCommand ¶
type CloudAccountMetricsCertCaListCommand struct {
Parent *CloudAccountMetricsCertCaCommand
Command cobra.Command
ClientOptions
}
func NewCloudAccountMetricsCertCaListCommand ¶
func NewCloudAccountMetricsCertCaListCommand(cctx *CommandContext, parent *CloudAccountMetricsCertCaCommand) *CloudAccountMetricsCertCaListCommand
type CloudAccountMetricsCommand ¶
type CloudAccountMetricsCommand struct {
Parent *CloudAccountCommand
Command cobra.Command
}
func NewCloudAccountMetricsCommand ¶
func NewCloudAccountMetricsCommand(cctx *CommandContext, parent *CloudAccountCommand) *CloudAccountMetricsCommand
type CloudApikeyCommand ¶
type CloudApikeyCommand struct {
Parent *CloudCommand
Command cobra.Command
}
func NewCloudApikeyCommand ¶
func NewCloudApikeyCommand(cctx *CommandContext, parent *CloudCommand) *CloudApikeyCommand
type CloudApikeyCreateForMeCommand ¶
type CloudApikeyCreateForMeCommand struct {
Parent *CloudApikeyCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
DisplayName string
Description string
ExpiryTime cliext.FlagTimestamp
ExpiryDuration cliext.FlagDuration
}
func NewCloudApikeyCreateForMeCommand ¶
func NewCloudApikeyCreateForMeCommand(cctx *CommandContext, parent *CloudApikeyCommand) *CloudApikeyCreateForMeCommand
type CloudApikeyCreateForServiceAccountCommand ¶
type CloudApikeyCreateForServiceAccountCommand struct {
Parent *CloudApikeyCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ServiceAccountId string
DisplayName string
Description string
ExpiryTime cliext.FlagTimestamp
ExpiryDuration cliext.FlagDuration
}
func NewCloudApikeyCreateForServiceAccountCommand ¶
func NewCloudApikeyCreateForServiceAccountCommand(cctx *CommandContext, parent *CloudApikeyCommand) *CloudApikeyCreateForServiceAccountCommand
type CloudApikeyDeleteCommand ¶
type CloudApikeyDeleteCommand struct {
Parent *CloudApikeyCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
KeyId string
}
func NewCloudApikeyDeleteCommand ¶
func NewCloudApikeyDeleteCommand(cctx *CommandContext, parent *CloudApikeyCommand) *CloudApikeyDeleteCommand
type CloudApikeyDisableCommand ¶
type CloudApikeyDisableCommand struct {
Parent *CloudApikeyCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
KeyId string
}
func NewCloudApikeyDisableCommand ¶
func NewCloudApikeyDisableCommand(cctx *CommandContext, parent *CloudApikeyCommand) *CloudApikeyDisableCommand
type CloudApikeyEditCommand ¶
type CloudApikeyEditCommand struct {
Parent *CloudApikeyCommand
Command cobra.Command
ClientOptions
DiffOptions
AsyncOperationOptions
ResourceVersionOptions
KeyId string
}
func NewCloudApikeyEditCommand ¶
func NewCloudApikeyEditCommand(cctx *CommandContext, parent *CloudApikeyCommand) *CloudApikeyEditCommand
type CloudApikeyEnableCommand ¶
type CloudApikeyEnableCommand struct {
Parent *CloudApikeyCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
KeyId string
}
func NewCloudApikeyEnableCommand ¶
func NewCloudApikeyEnableCommand(cctx *CommandContext, parent *CloudApikeyCommand) *CloudApikeyEnableCommand
type CloudApikeyGetCommand ¶
type CloudApikeyGetCommand struct {
Parent *CloudApikeyCommand
Command cobra.Command
ClientOptions
KeyId string
}
func NewCloudApikeyGetCommand ¶
func NewCloudApikeyGetCommand(cctx *CommandContext, parent *CloudApikeyCommand) *CloudApikeyGetCommand
type CloudApikeyListCommand ¶
type CloudApikeyListCommand struct {
Parent *CloudApikeyCommand
Command cobra.Command
ClientOptions
UserId string
UserEmail string
ServiceAccountId string
PageSize int
PageToken string
}
func NewCloudApikeyListCommand ¶
func NewCloudApikeyListCommand(cctx *CommandContext, parent *CloudApikeyCommand) *CloudApikeyListCommand
type CloudApikeyUpdateCommand ¶
type CloudApikeyUpdateCommand struct {
Parent *CloudApikeyCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
KeyId string
DisplayName string
Description string
Disabled bool
}
func NewCloudApikeyUpdateCommand ¶
func NewCloudApikeyUpdateCommand(cctx *CommandContext, parent *CloudApikeyCommand) *CloudApikeyUpdateCommand
type CloudAsyncOperationAwaitCommand ¶
type CloudAsyncOperationAwaitCommand struct {
Parent *CloudAsyncOperationCommand
Command cobra.Command
ClientOptions
AsyncOperationId string
PollInterval cliext.FlagDuration
}
func NewCloudAsyncOperationAwaitCommand ¶
func NewCloudAsyncOperationAwaitCommand(cctx *CommandContext, parent *CloudAsyncOperationCommand) *CloudAsyncOperationAwaitCommand
type CloudAsyncOperationCommand ¶
type CloudAsyncOperationCommand struct {
Parent *CloudCommand
Command cobra.Command
}
func NewCloudAsyncOperationCommand ¶
func NewCloudAsyncOperationCommand(cctx *CommandContext, parent *CloudCommand) *CloudAsyncOperationCommand
type CloudAsyncOperationGetCommand ¶
type CloudAsyncOperationGetCommand struct {
Parent *CloudAsyncOperationCommand
Command cobra.Command
ClientOptions
AsyncOperationId string
}
func NewCloudAsyncOperationGetCommand ¶
func NewCloudAsyncOperationGetCommand(cctx *CommandContext, parent *CloudAsyncOperationCommand) *CloudAsyncOperationGetCommand
type CloudCommand ¶
type CloudCommand struct {
Command cobra.Command
ClientOptions
cliext.CommonOptions
ConfigDir string
DisablePopUp bool
AutoConfirm bool
}
func NewCloudCommand ¶
func NewCloudCommand(cctx *CommandContext) *CloudCommand
type CloudConnectivityCommand ¶
type CloudConnectivityCommand struct {
Parent *CloudCommand
Command cobra.Command
}
func NewCloudConnectivityCommand ¶
func NewCloudConnectivityCommand(cctx *CommandContext, parent *CloudCommand) *CloudConnectivityCommand
type CloudConnectivityDeleteCommand ¶
type CloudConnectivityDeleteCommand struct {
Parent *CloudConnectivityCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
Id string
}
func NewCloudConnectivityDeleteCommand ¶
func NewCloudConnectivityDeleteCommand(cctx *CommandContext, parent *CloudConnectivityCommand) *CloudConnectivityDeleteCommand
type CloudConnectivityGetCommand ¶
type CloudConnectivityGetCommand struct {
Parent *CloudConnectivityCommand
Command cobra.Command
ClientOptions
Id string
}
func NewCloudConnectivityGetCommand ¶
func NewCloudConnectivityGetCommand(cctx *CommandContext, parent *CloudConnectivityCommand) *CloudConnectivityGetCommand
type CloudConnectivityListCommand ¶
type CloudConnectivityListCommand struct {
Parent *CloudConnectivityCommand
Command cobra.Command
ClientOptions
ProjectId string
Namespace string
PageSize int
PageToken string
}
func NewCloudConnectivityListCommand ¶
func NewCloudConnectivityListCommand(cctx *CommandContext, parent *CloudConnectivityCommand) *CloudConnectivityListCommand
type CloudConnectivityPrivateCommand ¶
type CloudConnectivityPrivateCommand struct {
Parent *CloudConnectivityCommand
Command cobra.Command
}
func NewCloudConnectivityPrivateCommand ¶
func NewCloudConnectivityPrivateCommand(cctx *CommandContext, parent *CloudConnectivityCommand) *CloudConnectivityPrivateCommand
type CloudConnectivityPrivateCreateCommand ¶
type CloudConnectivityPrivateCreateCommand struct {
Parent *CloudConnectivityPrivateCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ProjectId string
ConnectionId string
Region string
GcpProjectId string
AzurePeResourceId string
}
func NewCloudConnectivityPrivateCreateCommand ¶
func NewCloudConnectivityPrivateCreateCommand(cctx *CommandContext, parent *CloudConnectivityPrivateCommand) *CloudConnectivityPrivateCreateCommand
type CloudConnectivityPublicCommand ¶
type CloudConnectivityPublicCommand struct {
Parent *CloudConnectivityCommand
Command cobra.Command
}
func NewCloudConnectivityPublicCommand ¶
func NewCloudConnectivityPublicCommand(cctx *CommandContext, parent *CloudConnectivityCommand) *CloudConnectivityPublicCommand
type CloudConnectivityPublicCreateCommand ¶
type CloudConnectivityPublicCreateCommand struct {
Parent *CloudConnectivityPublicCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ProjectId string
EnableStableIps bool
}
func NewCloudConnectivityPublicCreateCommand ¶
func NewCloudConnectivityPublicCreateCommand(cctx *CommandContext, parent *CloudConnectivityPublicCommand) *CloudConnectivityPublicCreateCommand
type CloudCustomRoleApplyCommand ¶
type CloudCustomRoleApplyCommand struct {
Parent *CloudCustomRoleCommand
Command cobra.Command
ClientOptions
DiffOptions
AsyncOperationOptions
ResourceVersionOptions
Spec string
}
func NewCloudCustomRoleApplyCommand ¶
func NewCloudCustomRoleApplyCommand(cctx *CommandContext, parent *CloudCustomRoleCommand) *CloudCustomRoleApplyCommand
type CloudCustomRoleCommand ¶
type CloudCustomRoleCommand struct {
Parent *CloudCommand
Command cobra.Command
}
func NewCloudCustomRoleCommand ¶
func NewCloudCustomRoleCommand(cctx *CommandContext, parent *CloudCommand) *CloudCustomRoleCommand
type CloudCustomRoleCreateCommand ¶
type CloudCustomRoleCreateCommand struct {
Parent *CloudCustomRoleCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
Spec string
}
func NewCloudCustomRoleCreateCommand ¶
func NewCloudCustomRoleCreateCommand(cctx *CommandContext, parent *CloudCustomRoleCommand) *CloudCustomRoleCreateCommand
type CloudCustomRoleDeleteCommand ¶
type CloudCustomRoleDeleteCommand struct {
Parent *CloudCustomRoleCommand
Command cobra.Command
ClientOptions
RoleIdOptions
AsyncOperationOptions
ResourceVersionOptions
}
func NewCloudCustomRoleDeleteCommand ¶
func NewCloudCustomRoleDeleteCommand(cctx *CommandContext, parent *CloudCustomRoleCommand) *CloudCustomRoleDeleteCommand
type CloudCustomRoleEditCommand ¶
type CloudCustomRoleEditCommand struct {
Parent *CloudCustomRoleCommand
Command cobra.Command
ClientOptions
DiffOptions
RoleIdOptions
AsyncOperationOptions
ResourceVersionOptions
}
func NewCloudCustomRoleEditCommand ¶
func NewCloudCustomRoleEditCommand(cctx *CommandContext, parent *CloudCustomRoleCommand) *CloudCustomRoleEditCommand
type CloudCustomRoleGetCommand ¶
type CloudCustomRoleGetCommand struct {
Parent *CloudCustomRoleCommand
Command cobra.Command
ClientOptions
RoleIdOptions
}
func NewCloudCustomRoleGetCommand ¶
func NewCloudCustomRoleGetCommand(cctx *CommandContext, parent *CloudCustomRoleCommand) *CloudCustomRoleGetCommand
type CloudCustomRoleListCommand ¶
type CloudCustomRoleListCommand struct {
Parent *CloudCustomRoleCommand
Command cobra.Command
ClientOptions
PageSize int
PageToken string
}
func NewCloudCustomRoleListCommand ¶
func NewCloudCustomRoleListCommand(cctx *CommandContext, parent *CloudCustomRoleCommand) *CloudCustomRoleListCommand
type CloudCustomRoleUpdateCommand ¶
type CloudCustomRoleUpdateCommand struct {
Parent *CloudCustomRoleCommand
Command cobra.Command
ClientOptions
RoleIdOptions
AsyncOperationOptions
ResourceVersionOptions
Spec string
}
func NewCloudCustomRoleUpdateCommand ¶
func NewCloudCustomRoleUpdateCommand(cctx *CommandContext, parent *CloudCustomRoleCommand) *CloudCustomRoleUpdateCommand
type CloudLoginCommand ¶
type CloudLoginCommand struct {
Parent *CloudCommand
Command cobra.Command
Domain string
Audience string
ClientId string
RedirectUrl string
Reset bool
}
func NewCloudLoginCommand ¶
func NewCloudLoginCommand(cctx *CommandContext, parent *CloudCommand) *CloudLoginCommand
type CloudLogoutCommand ¶
type CloudLogoutCommand struct {
Parent *CloudCommand
Command cobra.Command
Domain string
}
func NewCloudLogoutCommand ¶
func NewCloudLogoutCommand(cctx *CommandContext, parent *CloudCommand) *CloudLogoutCommand
type CloudNamespaceApiKeyCommand ¶ added in v0.0.2
type CloudNamespaceApiKeyCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceApiKeyCommand ¶ added in v0.0.2
func NewCloudNamespaceApiKeyCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceApiKeyCommand
type CloudNamespaceApiKeyDisableCommand ¶ added in v0.0.2
type CloudNamespaceApiKeyDisableCommand struct {
Parent *CloudNamespaceApiKeyCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
}
func NewCloudNamespaceApiKeyDisableCommand ¶ added in v0.0.2
func NewCloudNamespaceApiKeyDisableCommand(cctx *CommandContext, parent *CloudNamespaceApiKeyCommand) *CloudNamespaceApiKeyDisableCommand
type CloudNamespaceApiKeyEnableCommand ¶ added in v0.0.2
type CloudNamespaceApiKeyEnableCommand struct {
Parent *CloudNamespaceApiKeyCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
}
func NewCloudNamespaceApiKeyEnableCommand ¶ added in v0.0.2
func NewCloudNamespaceApiKeyEnableCommand(cctx *CommandContext, parent *CloudNamespaceApiKeyCommand) *CloudNamespaceApiKeyEnableCommand
type CloudNamespaceApiKeyGetCommand ¶ added in v0.0.2
type CloudNamespaceApiKeyGetCommand struct {
Parent *CloudNamespaceApiKeyCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceApiKeyGetCommand ¶ added in v0.0.2
func NewCloudNamespaceApiKeyGetCommand(cctx *CommandContext, parent *CloudNamespaceApiKeyCommand) *CloudNamespaceApiKeyGetCommand
type CloudNamespaceApplyCommand ¶
type CloudNamespaceApplyCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
ClientOptions
DiffOptions
Spec string
ProjectId string
AsyncOperationId string
Idempotent bool
Async bool
ResourceVersion string
}
func NewCloudNamespaceApplyCommand ¶
func NewCloudNamespaceApplyCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceApplyCommand
type CloudNamespaceCapacityCommand ¶
type CloudNamespaceCapacityCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceCapacityCommand ¶
func NewCloudNamespaceCapacityCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceCapacityCommand
type CloudNamespaceCapacityGetCommand ¶
type CloudNamespaceCapacityGetCommand struct {
Parent *CloudNamespaceCapacityCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceCapacityGetCommand ¶
func NewCloudNamespaceCapacityGetCommand(cctx *CommandContext, parent *CloudNamespaceCapacityCommand) *CloudNamespaceCapacityGetCommand
type CloudNamespaceCapacityUpdateCommand ¶
type CloudNamespaceCapacityUpdateCommand struct {
Parent *CloudNamespaceCapacityCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
CapacityMode cliext.FlagStringEnum
CapacityValue float32
}
func NewCloudNamespaceCapacityUpdateCommand ¶
func NewCloudNamespaceCapacityUpdateCommand(cctx *CommandContext, parent *CloudNamespaceCapacityCommand) *CloudNamespaceCapacityUpdateCommand
type CloudNamespaceCodecCommand ¶
type CloudNamespaceCodecCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceCodecCommand ¶
func NewCloudNamespaceCodecCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceCodecCommand
type CloudNamespaceCodecDeleteCommand ¶
type CloudNamespaceCodecDeleteCommand struct {
Parent *CloudNamespaceCodecCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
}
func NewCloudNamespaceCodecDeleteCommand ¶
func NewCloudNamespaceCodecDeleteCommand(cctx *CommandContext, parent *CloudNamespaceCodecCommand) *CloudNamespaceCodecDeleteCommand
type CloudNamespaceCodecGetCommand ¶
type CloudNamespaceCodecGetCommand struct {
Parent *CloudNamespaceCodecCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceCodecGetCommand ¶
func NewCloudNamespaceCodecGetCommand(cctx *CommandContext, parent *CloudNamespaceCodecCommand) *CloudNamespaceCodecGetCommand
type CloudNamespaceCodecSetCommand ¶
type CloudNamespaceCodecSetCommand struct {
Parent *CloudNamespaceCodecCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
Endpoint string
PassAccessToken bool
IncludeCrossOriginCredentials bool
CustomErrorMessageDefaultMessage string
CustomErrorMessageDefaultLink string
}
func NewCloudNamespaceCodecSetCommand ¶
func NewCloudNamespaceCodecSetCommand(cctx *CommandContext, parent *CloudNamespaceCodecCommand) *CloudNamespaceCodecSetCommand
type CloudNamespaceCommand ¶
type CloudNamespaceCommand struct {
Parent *CloudCommand
Command cobra.Command
}
func NewCloudNamespaceCommand ¶
func NewCloudNamespaceCommand(cctx *CommandContext, parent *CloudCommand) *CloudNamespaceCommand
type CloudNamespaceConnectivityAttachCommand ¶
type CloudNamespaceConnectivityAttachCommand struct {
Parent *CloudNamespaceConnectivityCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
ConnectivityRuleId []string
}
func NewCloudNamespaceConnectivityAttachCommand ¶
func NewCloudNamespaceConnectivityAttachCommand(cctx *CommandContext, parent *CloudNamespaceConnectivityCommand) *CloudNamespaceConnectivityAttachCommand
type CloudNamespaceConnectivityCommand ¶
type CloudNamespaceConnectivityCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceConnectivityCommand ¶
func NewCloudNamespaceConnectivityCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceConnectivityCommand
type CloudNamespaceConnectivityDetachCommand ¶
type CloudNamespaceConnectivityDetachCommand struct {
Parent *CloudNamespaceConnectivityCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
ConnectivityRuleId []string
}
func NewCloudNamespaceConnectivityDetachCommand ¶
func NewCloudNamespaceConnectivityDetachCommand(cctx *CommandContext, parent *CloudNamespaceConnectivityCommand) *CloudNamespaceConnectivityDetachCommand
type CloudNamespaceConnectivityListCommand ¶
type CloudNamespaceConnectivityListCommand struct {
Parent *CloudNamespaceConnectivityCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceConnectivityListCommand ¶
func NewCloudNamespaceConnectivityListCommand(cctx *CommandContext, parent *CloudNamespaceConnectivityCommand) *CloudNamespaceConnectivityListCommand
type CloudNamespaceCreateCommand ¶
type CloudNamespaceCreateCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
CodecServerOptions
CaCertificateOptions
CertificateFilterOptions
Name string
Region []string
RetentionDays int
ApiKeyAuthEnabled bool
MtlsAuthEnabled bool
EnableDeleteProtection bool
EnableTaskQueueFairness bool
SearchAttribute []string
ConnectionRuleId []string
ProjectId string
Description string
}
func NewCloudNamespaceCreateCommand ¶
func NewCloudNamespaceCreateCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceCreateCommand
type CloudNamespaceDeleteCommand ¶
type CloudNamespaceDeleteCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
ClientOptions
Namespace string
AsyncOperationId string
Async bool
Idempotent bool
ResourceVersion string
}
func NewCloudNamespaceDeleteCommand ¶
func NewCloudNamespaceDeleteCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceDeleteCommand
type CloudNamespaceDescriptionCommand ¶ added in v0.1.0
type CloudNamespaceDescriptionCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceDescriptionCommand ¶ added in v0.1.0
func NewCloudNamespaceDescriptionCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceDescriptionCommand
type CloudNamespaceDescriptionGetCommand ¶ added in v0.1.0
type CloudNamespaceDescriptionGetCommand struct {
Parent *CloudNamespaceDescriptionCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceDescriptionGetCommand ¶ added in v0.1.0
func NewCloudNamespaceDescriptionGetCommand(cctx *CommandContext, parent *CloudNamespaceDescriptionCommand) *CloudNamespaceDescriptionGetCommand
type CloudNamespaceDescriptionSetCommand ¶ added in v0.1.0
type CloudNamespaceDescriptionSetCommand struct {
Parent *CloudNamespaceDescriptionCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
Value string
}
func NewCloudNamespaceDescriptionSetCommand ¶ added in v0.1.0
func NewCloudNamespaceDescriptionSetCommand(cctx *CommandContext, parent *CloudNamespaceDescriptionCommand) *CloudNamespaceDescriptionSetCommand
type CloudNamespaceEditCommand ¶
type CloudNamespaceEditCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
ClientOptions
DiffOptions
Namespace string
AsyncOperationId string
Idempotent bool
Async bool
ResourceVersion string
}
func NewCloudNamespaceEditCommand ¶
func NewCloudNamespaceEditCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceEditCommand
type CloudNamespaceExportAzureBlobCommand ¶ added in v0.0.4
type CloudNamespaceExportAzureBlobCommand struct {
Parent *CloudNamespaceExportCommand
Command cobra.Command
}
func NewCloudNamespaceExportAzureBlobCommand ¶ added in v0.0.4
func NewCloudNamespaceExportAzureBlobCommand(cctx *CommandContext, parent *CloudNamespaceExportCommand) *CloudNamespaceExportAzureBlobCommand
type CloudNamespaceExportAzureBlobCreateCommand ¶ added in v0.0.4
type CloudNamespaceExportAzureBlobCreateCommand struct {
Parent *CloudNamespaceExportAzureBlobCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ExportSinkOptions
ExportAzureBlobOptions
ExportAzureBlobRegionOptions
}
func NewCloudNamespaceExportAzureBlobCreateCommand ¶ added in v0.0.4
func NewCloudNamespaceExportAzureBlobCreateCommand(cctx *CommandContext, parent *CloudNamespaceExportAzureBlobCommand) *CloudNamespaceExportAzureBlobCreateCommand
type CloudNamespaceExportAzureBlobUpdateCommand ¶ added in v0.0.4
type CloudNamespaceExportAzureBlobUpdateCommand struct {
Parent *CloudNamespaceExportAzureBlobCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
ExportSinkOptions
TenantId string
SubscriptionId string
ResourceGroup string
StorageAccount string
ContainerName string
}
func NewCloudNamespaceExportAzureBlobUpdateCommand ¶ added in v0.0.4
func NewCloudNamespaceExportAzureBlobUpdateCommand(cctx *CommandContext, parent *CloudNamespaceExportAzureBlobCommand) *CloudNamespaceExportAzureBlobUpdateCommand
type CloudNamespaceExportAzureBlobValidateCommand ¶ added in v0.0.4
type CloudNamespaceExportAzureBlobValidateCommand struct {
Parent *CloudNamespaceExportAzureBlobCommand
Command cobra.Command
ClientOptions
NamespaceOptions
ExportSinkOptions
ExportAzureBlobOptions
ExportAzureBlobRegionOptions
}
func NewCloudNamespaceExportAzureBlobValidateCommand ¶ added in v0.0.4
func NewCloudNamespaceExportAzureBlobValidateCommand(cctx *CommandContext, parent *CloudNamespaceExportAzureBlobCommand) *CloudNamespaceExportAzureBlobValidateCommand
type CloudNamespaceExportCommand ¶
type CloudNamespaceExportCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceExportCommand ¶
func NewCloudNamespaceExportCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceExportCommand
type CloudNamespaceExportDeleteCommand ¶
type CloudNamespaceExportDeleteCommand struct {
Parent *CloudNamespaceExportCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
ExportSinkOptions
}
func NewCloudNamespaceExportDeleteCommand ¶
func NewCloudNamespaceExportDeleteCommand(cctx *CommandContext, parent *CloudNamespaceExportCommand) *CloudNamespaceExportDeleteCommand
type CloudNamespaceExportDisableCommand ¶
type CloudNamespaceExportDisableCommand struct {
Parent *CloudNamespaceExportCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
ExportSinkOptions
}
func NewCloudNamespaceExportDisableCommand ¶
func NewCloudNamespaceExportDisableCommand(cctx *CommandContext, parent *CloudNamespaceExportCommand) *CloudNamespaceExportDisableCommand
type CloudNamespaceExportEnableCommand ¶
type CloudNamespaceExportEnableCommand struct {
Parent *CloudNamespaceExportCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
ExportSinkOptions
}
func NewCloudNamespaceExportEnableCommand ¶
func NewCloudNamespaceExportEnableCommand(cctx *CommandContext, parent *CloudNamespaceExportCommand) *CloudNamespaceExportEnableCommand
type CloudNamespaceExportGcsCommand ¶
type CloudNamespaceExportGcsCommand struct {
Parent *CloudNamespaceExportCommand
Command cobra.Command
}
func NewCloudNamespaceExportGcsCommand ¶
func NewCloudNamespaceExportGcsCommand(cctx *CommandContext, parent *CloudNamespaceExportCommand) *CloudNamespaceExportGcsCommand
type CloudNamespaceExportGcsCreateCommand ¶
type CloudNamespaceExportGcsCreateCommand struct {
Parent *CloudNamespaceExportGcsCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ExportSinkOptions
ExportGcsOptions
ExportGcsRegionOptions
}
func NewCloudNamespaceExportGcsCreateCommand ¶
func NewCloudNamespaceExportGcsCreateCommand(cctx *CommandContext, parent *CloudNamespaceExportGcsCommand) *CloudNamespaceExportGcsCreateCommand
type CloudNamespaceExportGcsUpdateCommand ¶
type CloudNamespaceExportGcsUpdateCommand struct {
Parent *CloudNamespaceExportGcsCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
ExportSinkOptions
ServiceAccountEmail string
BucketName string
}
func NewCloudNamespaceExportGcsUpdateCommand ¶
func NewCloudNamespaceExportGcsUpdateCommand(cctx *CommandContext, parent *CloudNamespaceExportGcsCommand) *CloudNamespaceExportGcsUpdateCommand
type CloudNamespaceExportGcsValidateCommand ¶
type CloudNamespaceExportGcsValidateCommand struct {
Parent *CloudNamespaceExportGcsCommand
Command cobra.Command
ClientOptions
NamespaceOptions
ExportSinkOptions
ExportGcsOptions
ExportGcsRegionOptions
}
func NewCloudNamespaceExportGcsValidateCommand ¶
func NewCloudNamespaceExportGcsValidateCommand(cctx *CommandContext, parent *CloudNamespaceExportGcsCommand) *CloudNamespaceExportGcsValidateCommand
type CloudNamespaceExportGetCommand ¶
type CloudNamespaceExportGetCommand struct {
Parent *CloudNamespaceExportCommand
Command cobra.Command
ClientOptions
NamespaceOptions
ExportSinkOptions
}
func NewCloudNamespaceExportGetCommand ¶
func NewCloudNamespaceExportGetCommand(cctx *CommandContext, parent *CloudNamespaceExportCommand) *CloudNamespaceExportGetCommand
type CloudNamespaceExportListCommand ¶
type CloudNamespaceExportListCommand struct {
Parent *CloudNamespaceExportCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceExportListCommand ¶
func NewCloudNamespaceExportListCommand(cctx *CommandContext, parent *CloudNamespaceExportCommand) *CloudNamespaceExportListCommand
type CloudNamespaceExportS3Command ¶
type CloudNamespaceExportS3Command struct {
Parent *CloudNamespaceExportCommand
Command cobra.Command
}
func NewCloudNamespaceExportS3Command ¶
func NewCloudNamespaceExportS3Command(cctx *CommandContext, parent *CloudNamespaceExportCommand) *CloudNamespaceExportS3Command
type CloudNamespaceExportS3CreateCommand ¶
type CloudNamespaceExportS3CreateCommand struct {
Parent *CloudNamespaceExportS3Command
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ExportSinkOptions
ExportS3Options
ExportS3RegionOptions
}
func NewCloudNamespaceExportS3CreateCommand ¶
func NewCloudNamespaceExportS3CreateCommand(cctx *CommandContext, parent *CloudNamespaceExportS3Command) *CloudNamespaceExportS3CreateCommand
type CloudNamespaceExportS3UpdateCommand ¶
type CloudNamespaceExportS3UpdateCommand struct {
Parent *CloudNamespaceExportS3Command
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
ExportSinkOptions
RoleArn string
BucketName string
KmsArn string
}
func NewCloudNamespaceExportS3UpdateCommand ¶
func NewCloudNamespaceExportS3UpdateCommand(cctx *CommandContext, parent *CloudNamespaceExportS3Command) *CloudNamespaceExportS3UpdateCommand
type CloudNamespaceExportS3ValidateCommand ¶
type CloudNamespaceExportS3ValidateCommand struct {
Parent *CloudNamespaceExportS3Command
Command cobra.Command
ClientOptions
NamespaceOptions
ExportSinkOptions
ExportS3Options
ExportS3RegionOptions
}
func NewCloudNamespaceExportS3ValidateCommand ¶
func NewCloudNamespaceExportS3ValidateCommand(cctx *CommandContext, parent *CloudNamespaceExportS3Command) *CloudNamespaceExportS3ValidateCommand
type CloudNamespaceFairnessCommand ¶
type CloudNamespaceFairnessCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceFairnessCommand ¶
func NewCloudNamespaceFairnessCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceFairnessCommand
type CloudNamespaceFairnessGetCommand ¶
type CloudNamespaceFairnessGetCommand struct {
Parent *CloudNamespaceFairnessCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceFairnessGetCommand ¶
func NewCloudNamespaceFairnessGetCommand(cctx *CommandContext, parent *CloudNamespaceFairnessCommand) *CloudNamespaceFairnessGetCommand
type CloudNamespaceFairnessSetCommand ¶
type CloudNamespaceFairnessSetCommand struct {
Parent *CloudNamespaceFairnessCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
EnableTaskQueueFairness bool
}
func NewCloudNamespaceFairnessSetCommand ¶
func NewCloudNamespaceFairnessSetCommand(cctx *CommandContext, parent *CloudNamespaceFairnessCommand) *CloudNamespaceFairnessSetCommand
type CloudNamespaceGetCommand ¶
type CloudNamespaceGetCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
ClientOptions
Namespace string
Spec bool
}
func NewCloudNamespaceGetCommand ¶
func NewCloudNamespaceGetCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceGetCommand
type CloudNamespaceHaCommand ¶
type CloudNamespaceHaCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceHaCommand ¶
func NewCloudNamespaceHaCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceHaCommand
type CloudNamespaceHaFailoverCommand ¶
type CloudNamespaceHaFailoverCommand struct {
Parent *CloudNamespaceHaCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
Region string
}
func NewCloudNamespaceHaFailoverCommand ¶
func NewCloudNamespaceHaFailoverCommand(cctx *CommandContext, parent *CloudNamespaceHaCommand) *CloudNamespaceHaFailoverCommand
type CloudNamespaceHaGetCommand ¶
type CloudNamespaceHaGetCommand struct {
Parent *CloudNamespaceHaCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceHaGetCommand ¶
func NewCloudNamespaceHaGetCommand(cctx *CommandContext, parent *CloudNamespaceHaCommand) *CloudNamespaceHaGetCommand
type CloudNamespaceHaRegionAddCommand ¶
type CloudNamespaceHaRegionAddCommand struct {
Parent *CloudNamespaceHaRegionCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
Region string
}
func NewCloudNamespaceHaRegionAddCommand ¶
func NewCloudNamespaceHaRegionAddCommand(cctx *CommandContext, parent *CloudNamespaceHaRegionCommand) *CloudNamespaceHaRegionAddCommand
type CloudNamespaceHaRegionCommand ¶
type CloudNamespaceHaRegionCommand struct {
Parent *CloudNamespaceHaCommand
Command cobra.Command
}
func NewCloudNamespaceHaRegionCommand ¶
func NewCloudNamespaceHaRegionCommand(cctx *CommandContext, parent *CloudNamespaceHaCommand) *CloudNamespaceHaRegionCommand
type CloudNamespaceHaRegionDeleteCommand ¶
type CloudNamespaceHaRegionDeleteCommand struct {
Parent *CloudNamespaceHaRegionCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
Region string
}
func NewCloudNamespaceHaRegionDeleteCommand ¶
func NewCloudNamespaceHaRegionDeleteCommand(cctx *CommandContext, parent *CloudNamespaceHaRegionCommand) *CloudNamespaceHaRegionDeleteCommand
type CloudNamespaceHaRegionListCommand ¶
type CloudNamespaceHaRegionListCommand struct {
Parent *CloudNamespaceHaRegionCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceHaRegionListCommand ¶
func NewCloudNamespaceHaRegionListCommand(cctx *CommandContext, parent *CloudNamespaceHaRegionCommand) *CloudNamespaceHaRegionListCommand
type CloudNamespaceHaUpdateCommand ¶
type CloudNamespaceHaUpdateCommand struct {
Parent *CloudNamespaceHaCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
AutoFailover cliext.FlagStringEnum
PassivePollerForwarding cliext.FlagStringEnum
}
func NewCloudNamespaceHaUpdateCommand ¶
func NewCloudNamespaceHaUpdateCommand(cctx *CommandContext, parent *CloudNamespaceHaCommand) *CloudNamespaceHaUpdateCommand
type CloudNamespaceLifecycleCommand ¶
type CloudNamespaceLifecycleCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceLifecycleCommand ¶
func NewCloudNamespaceLifecycleCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceLifecycleCommand
type CloudNamespaceLifecycleGetCommand ¶
type CloudNamespaceLifecycleGetCommand struct {
Parent *CloudNamespaceLifecycleCommand
Command cobra.Command
ClientOptions
Namespace string
}
func NewCloudNamespaceLifecycleGetCommand ¶
func NewCloudNamespaceLifecycleGetCommand(cctx *CommandContext, parent *CloudNamespaceLifecycleCommand) *CloudNamespaceLifecycleGetCommand
type CloudNamespaceLifecycleSetCommand ¶
type CloudNamespaceLifecycleSetCommand struct {
Parent *CloudNamespaceLifecycleCommand
Command cobra.Command
ClientOptions
DiffOptions
Namespace string
EnableDeleteProtection bool
AsyncOperationId string
Async bool
Idempotent bool
ResourceVersion string
}
func NewCloudNamespaceLifecycleSetCommand ¶
func NewCloudNamespaceLifecycleSetCommand(cctx *CommandContext, parent *CloudNamespaceLifecycleCommand) *CloudNamespaceLifecycleSetCommand
type CloudNamespaceListCommand ¶
type CloudNamespaceListCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
ClientOptions
PageSize int
PageToken string
Name string
ProjectId string
}
func NewCloudNamespaceListCommand ¶
func NewCloudNamespaceListCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceListCommand
type CloudNamespaceMoveToProjectCommand ¶ added in v0.1.1
type CloudNamespaceMoveToProjectCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
ClientOptions
NamespaceOptions
ResourceVersionOptions
DestinationProjectId string
SourceProjectId string
ConnectivityRuleId []string
NoConnectivityRules bool
AsyncOperationId string
Async bool
PollInterval cliext.FlagDuration
}
func NewCloudNamespaceMoveToProjectCommand ¶ added in v0.1.1
func NewCloudNamespaceMoveToProjectCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceMoveToProjectCommand
type CloudNamespaceMtlsCertCaCommand ¶ added in v0.0.2
type CloudNamespaceMtlsCertCaCommand struct {
Parent *CloudNamespaceMtlsCommand
Command cobra.Command
}
func NewCloudNamespaceMtlsCertCaCommand ¶ added in v0.0.2
func NewCloudNamespaceMtlsCertCaCommand(cctx *CommandContext, parent *CloudNamespaceMtlsCommand) *CloudNamespaceMtlsCertCaCommand
type CloudNamespaceMtlsCertCaCreateCommand ¶ added in v0.0.2
type CloudNamespaceMtlsCertCaCreateCommand struct {
Parent *CloudNamespaceMtlsCertCaCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
CaCertificateOptions
}
func NewCloudNamespaceMtlsCertCaCreateCommand ¶ added in v0.0.2
func NewCloudNamespaceMtlsCertCaCreateCommand(cctx *CommandContext, parent *CloudNamespaceMtlsCertCaCommand) *CloudNamespaceMtlsCertCaCreateCommand
type CloudNamespaceMtlsCertCaDeleteCommand ¶ added in v0.0.2
type CloudNamespaceMtlsCertCaDeleteCommand struct {
Parent *CloudNamespaceMtlsCertCaCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
CaCertificateOptions
}
func NewCloudNamespaceMtlsCertCaDeleteCommand ¶ added in v0.0.2
func NewCloudNamespaceMtlsCertCaDeleteCommand(cctx *CommandContext, parent *CloudNamespaceMtlsCertCaCommand) *CloudNamespaceMtlsCertCaDeleteCommand
type CloudNamespaceMtlsCertCaListCommand ¶ added in v0.0.2
type CloudNamespaceMtlsCertCaListCommand struct {
Parent *CloudNamespaceMtlsCertCaCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceMtlsCertCaListCommand ¶ added in v0.0.2
func NewCloudNamespaceMtlsCertCaListCommand(cctx *CommandContext, parent *CloudNamespaceMtlsCertCaCommand) *CloudNamespaceMtlsCertCaListCommand
type CloudNamespaceMtlsCertFilterCommand ¶ added in v0.0.2
type CloudNamespaceMtlsCertFilterCommand struct {
Parent *CloudNamespaceMtlsCommand
Command cobra.Command
}
func NewCloudNamespaceMtlsCertFilterCommand ¶ added in v0.0.2
func NewCloudNamespaceMtlsCertFilterCommand(cctx *CommandContext, parent *CloudNamespaceMtlsCommand) *CloudNamespaceMtlsCertFilterCommand
type CloudNamespaceMtlsCertFilterCreateCommand ¶ added in v0.0.2
type CloudNamespaceMtlsCertFilterCreateCommand struct {
Parent *CloudNamespaceMtlsCertFilterCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
CommonName string
Organization string
OrganizationalUnit string
SubjectAlternativeName string
}
func NewCloudNamespaceMtlsCertFilterCreateCommand ¶ added in v0.0.2
func NewCloudNamespaceMtlsCertFilterCreateCommand(cctx *CommandContext, parent *CloudNamespaceMtlsCertFilterCommand) *CloudNamespaceMtlsCertFilterCreateCommand
type CloudNamespaceMtlsCertFilterDeleteCommand ¶ added in v0.0.2
type CloudNamespaceMtlsCertFilterDeleteCommand struct {
Parent *CloudNamespaceMtlsCertFilterCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
CommonName string
Organization string
OrganizationalUnit string
SubjectAlternativeName string
}
func NewCloudNamespaceMtlsCertFilterDeleteCommand ¶ added in v0.0.2
func NewCloudNamespaceMtlsCertFilterDeleteCommand(cctx *CommandContext, parent *CloudNamespaceMtlsCertFilterCommand) *CloudNamespaceMtlsCertFilterDeleteCommand
type CloudNamespaceMtlsCertFilterListCommand ¶ added in v0.0.2
type CloudNamespaceMtlsCertFilterListCommand struct {
Parent *CloudNamespaceMtlsCertFilterCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceMtlsCertFilterListCommand ¶ added in v0.0.2
func NewCloudNamespaceMtlsCertFilterListCommand(cctx *CommandContext, parent *CloudNamespaceMtlsCertFilterCommand) *CloudNamespaceMtlsCertFilterListCommand
type CloudNamespaceMtlsCommand ¶ added in v0.0.2
type CloudNamespaceMtlsCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceMtlsCommand ¶ added in v0.0.2
func NewCloudNamespaceMtlsCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceMtlsCommand
type CloudNamespaceMtlsDisableCommand ¶ added in v0.0.2
type CloudNamespaceMtlsDisableCommand struct {
Parent *CloudNamespaceMtlsCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
}
func NewCloudNamespaceMtlsDisableCommand ¶ added in v0.0.2
func NewCloudNamespaceMtlsDisableCommand(cctx *CommandContext, parent *CloudNamespaceMtlsCommand) *CloudNamespaceMtlsDisableCommand
type CloudNamespaceMtlsEnableCommand ¶ added in v0.0.2
type CloudNamespaceMtlsEnableCommand struct {
Parent *CloudNamespaceMtlsCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
}
func NewCloudNamespaceMtlsEnableCommand ¶ added in v0.0.2
func NewCloudNamespaceMtlsEnableCommand(cctx *CommandContext, parent *CloudNamespaceMtlsCommand) *CloudNamespaceMtlsEnableCommand
type CloudNamespaceMtlsGetCommand ¶ added in v0.0.2
type CloudNamespaceMtlsGetCommand struct {
Parent *CloudNamespaceMtlsCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceMtlsGetCommand ¶ added in v0.0.2
func NewCloudNamespaceMtlsGetCommand(cctx *CommandContext, parent *CloudNamespaceMtlsCommand) *CloudNamespaceMtlsGetCommand
type CloudNamespaceRetentionCommand ¶
type CloudNamespaceRetentionCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceRetentionCommand ¶
func NewCloudNamespaceRetentionCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceRetentionCommand
type CloudNamespaceRetentionGetCommand ¶
type CloudNamespaceRetentionGetCommand struct {
Parent *CloudNamespaceRetentionCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceRetentionGetCommand ¶
func NewCloudNamespaceRetentionGetCommand(cctx *CommandContext, parent *CloudNamespaceRetentionCommand) *CloudNamespaceRetentionGetCommand
type CloudNamespaceRetentionSetCommand ¶
type CloudNamespaceRetentionSetCommand struct {
Parent *CloudNamespaceRetentionCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
RetentionDays int
}
func NewCloudNamespaceRetentionSetCommand ¶
func NewCloudNamespaceRetentionSetCommand(cctx *CommandContext, parent *CloudNamespaceRetentionCommand) *CloudNamespaceRetentionSetCommand
type CloudNamespaceSearchAttributeCommand ¶
type CloudNamespaceSearchAttributeCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceSearchAttributeCommand ¶
func NewCloudNamespaceSearchAttributeCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceSearchAttributeCommand
type CloudNamespaceSearchAttributeCreateCommand ¶
type CloudNamespaceSearchAttributeCreateCommand struct {
Parent *CloudNamespaceSearchAttributeCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
Name string
Type string
}
func NewCloudNamespaceSearchAttributeCreateCommand ¶
func NewCloudNamespaceSearchAttributeCreateCommand(cctx *CommandContext, parent *CloudNamespaceSearchAttributeCommand) *CloudNamespaceSearchAttributeCreateCommand
type CloudNamespaceSearchAttributeListCommand ¶
type CloudNamespaceSearchAttributeListCommand struct {
Parent *CloudNamespaceSearchAttributeCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceSearchAttributeListCommand ¶
func NewCloudNamespaceSearchAttributeListCommand(cctx *CommandContext, parent *CloudNamespaceSearchAttributeCommand) *CloudNamespaceSearchAttributeListCommand
type CloudNamespaceSearchAttributeRenameCommand ¶
type CloudNamespaceSearchAttributeRenameCommand struct {
Parent *CloudNamespaceSearchAttributeCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
ResourceVersionOptions
ExistingName string
NewName string
}
func NewCloudNamespaceSearchAttributeRenameCommand ¶
func NewCloudNamespaceSearchAttributeRenameCommand(cctx *CommandContext, parent *CloudNamespaceSearchAttributeCommand) *CloudNamespaceSearchAttributeRenameCommand
type CloudNamespaceServiceAccountCommand ¶ added in v0.0.3
type CloudNamespaceServiceAccountCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceServiceAccountCommand ¶ added in v0.0.3
func NewCloudNamespaceServiceAccountCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceServiceAccountCommand
type CloudNamespaceServiceAccountListCommand ¶ added in v0.0.3
type CloudNamespaceServiceAccountListCommand struct {
Parent *CloudNamespaceServiceAccountCommand
Command cobra.Command
ClientOptions
NamespaceOptions
PageSize int
PageToken string
}
func NewCloudNamespaceServiceAccountListCommand ¶ added in v0.0.3
func NewCloudNamespaceServiceAccountListCommand(cctx *CommandContext, parent *CloudNamespaceServiceAccountCommand) *CloudNamespaceServiceAccountListCommand
type CloudNamespaceTagCommand ¶
type CloudNamespaceTagCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceTagCommand ¶
func NewCloudNamespaceTagCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceTagCommand
type CloudNamespaceTagCreateCommand ¶
type CloudNamespaceTagCreateCommand struct {
Parent *CloudNamespaceTagCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
Key string
Value string
}
func NewCloudNamespaceTagCreateCommand ¶
func NewCloudNamespaceTagCreateCommand(cctx *CommandContext, parent *CloudNamespaceTagCommand) *CloudNamespaceTagCreateCommand
type CloudNamespaceTagDeleteCommand ¶
type CloudNamespaceTagDeleteCommand struct {
Parent *CloudNamespaceTagCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
Key string
}
func NewCloudNamespaceTagDeleteCommand ¶
func NewCloudNamespaceTagDeleteCommand(cctx *CommandContext, parent *CloudNamespaceTagCommand) *CloudNamespaceTagDeleteCommand
type CloudNamespaceTagListCommand ¶
type CloudNamespaceTagListCommand struct {
Parent *CloudNamespaceTagCommand
Command cobra.Command
ClientOptions
NamespaceOptions
}
func NewCloudNamespaceTagListCommand ¶
func NewCloudNamespaceTagListCommand(cctx *CommandContext, parent *CloudNamespaceTagCommand) *CloudNamespaceTagListCommand
type CloudNamespaceTagUpdateCommand ¶
type CloudNamespaceTagUpdateCommand struct {
Parent *CloudNamespaceTagCommand
Command cobra.Command
ClientOptions
NamespaceOptions
AsyncOperationOptions
Key string
Value string
}
func NewCloudNamespaceTagUpdateCommand ¶
func NewCloudNamespaceTagUpdateCommand(cctx *CommandContext, parent *CloudNamespaceTagCommand) *CloudNamespaceTagUpdateCommand
type CloudNamespaceUserCommand ¶ added in v0.0.3
type CloudNamespaceUserCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceUserCommand ¶ added in v0.0.3
func NewCloudNamespaceUserCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceUserCommand
type CloudNamespaceUserGroupCommand ¶ added in v0.0.3
type CloudNamespaceUserGroupCommand struct {
Parent *CloudNamespaceCommand
Command cobra.Command
}
func NewCloudNamespaceUserGroupCommand ¶ added in v0.0.3
func NewCloudNamespaceUserGroupCommand(cctx *CommandContext, parent *CloudNamespaceCommand) *CloudNamespaceUserGroupCommand
type CloudNamespaceUserGroupListCommand ¶ added in v0.0.3
type CloudNamespaceUserGroupListCommand struct {
Parent *CloudNamespaceUserGroupCommand
Command cobra.Command
ClientOptions
NamespaceOptions
PageSize int
PageToken string
}
func NewCloudNamespaceUserGroupListCommand ¶ added in v0.0.3
func NewCloudNamespaceUserGroupListCommand(cctx *CommandContext, parent *CloudNamespaceUserGroupCommand) *CloudNamespaceUserGroupListCommand
type CloudNamespaceUserListCommand ¶ added in v0.0.3
type CloudNamespaceUserListCommand struct {
Parent *CloudNamespaceUserCommand
Command cobra.Command
ClientOptions
NamespaceOptions
PageSize int
PageToken string
}
func NewCloudNamespaceUserListCommand ¶ added in v0.0.3
func NewCloudNamespaceUserListCommand(cctx *CommandContext, parent *CloudNamespaceUserCommand) *CloudNamespaceUserListCommand
type CloudNexusCommand ¶
type CloudNexusCommand struct {
Parent *CloudCommand
Command cobra.Command
}
func NewCloudNexusCommand ¶
func NewCloudNexusCommand(cctx *CommandContext, parent *CloudCommand) *CloudNexusCommand
type CloudNexusEndpointAllowedNamespaceAddCommand ¶
type CloudNexusEndpointAllowedNamespaceAddCommand struct {
Parent *CloudNexusEndpointAllowedNamespaceCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
Name string
Namespace []string
}
func NewCloudNexusEndpointAllowedNamespaceAddCommand ¶
func NewCloudNexusEndpointAllowedNamespaceAddCommand(cctx *CommandContext, parent *CloudNexusEndpointAllowedNamespaceCommand) *CloudNexusEndpointAllowedNamespaceAddCommand
type CloudNexusEndpointAllowedNamespaceCommand ¶
type CloudNexusEndpointAllowedNamespaceCommand struct {
Parent *CloudNexusEndpointCommand
Command cobra.Command
}
func NewCloudNexusEndpointAllowedNamespaceCommand ¶
func NewCloudNexusEndpointAllowedNamespaceCommand(cctx *CommandContext, parent *CloudNexusEndpointCommand) *CloudNexusEndpointAllowedNamespaceCommand
type CloudNexusEndpointAllowedNamespaceListCommand ¶
type CloudNexusEndpointAllowedNamespaceListCommand struct {
Parent *CloudNexusEndpointAllowedNamespaceCommand
Command cobra.Command
ClientOptions
Name string
}
func NewCloudNexusEndpointAllowedNamespaceListCommand ¶
func NewCloudNexusEndpointAllowedNamespaceListCommand(cctx *CommandContext, parent *CloudNexusEndpointAllowedNamespaceCommand) *CloudNexusEndpointAllowedNamespaceListCommand
type CloudNexusEndpointAllowedNamespaceRemoveCommand ¶
type CloudNexusEndpointAllowedNamespaceRemoveCommand struct {
Parent *CloudNexusEndpointAllowedNamespaceCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
Name string
Namespace []string
}
func NewCloudNexusEndpointAllowedNamespaceRemoveCommand ¶
func NewCloudNexusEndpointAllowedNamespaceRemoveCommand(cctx *CommandContext, parent *CloudNexusEndpointAllowedNamespaceCommand) *CloudNexusEndpointAllowedNamespaceRemoveCommand
type CloudNexusEndpointAllowedNamespaceSetCommand ¶
type CloudNexusEndpointAllowedNamespaceSetCommand struct {
Parent *CloudNexusEndpointAllowedNamespaceCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
Name string
Namespace []string
}
func NewCloudNexusEndpointAllowedNamespaceSetCommand ¶
func NewCloudNexusEndpointAllowedNamespaceSetCommand(cctx *CommandContext, parent *CloudNexusEndpointAllowedNamespaceCommand) *CloudNexusEndpointAllowedNamespaceSetCommand
type CloudNexusEndpointCommand ¶
type CloudNexusEndpointCommand struct {
Parent *CloudNexusCommand
Command cobra.Command
}
func NewCloudNexusEndpointCommand ¶
func NewCloudNexusEndpointCommand(cctx *CommandContext, parent *CloudNexusCommand) *CloudNexusEndpointCommand
type CloudNexusEndpointCreateCommand ¶
type CloudNexusEndpointCreateCommand struct {
Parent *CloudNexusEndpointCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
Name string
ProjectId string
TargetNamespace string
TargetTaskQueue string
AllowNamespace []string
Description string
DescriptionFile string
}
func NewCloudNexusEndpointCreateCommand ¶
func NewCloudNexusEndpointCreateCommand(cctx *CommandContext, parent *CloudNexusEndpointCommand) *CloudNexusEndpointCreateCommand
type CloudNexusEndpointDeleteCommand ¶
type CloudNexusEndpointDeleteCommand struct {
Parent *CloudNexusEndpointCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
Name string
Id string
}
func NewCloudNexusEndpointDeleteCommand ¶
func NewCloudNexusEndpointDeleteCommand(cctx *CommandContext, parent *CloudNexusEndpointCommand) *CloudNexusEndpointDeleteCommand
type CloudNexusEndpointGetCommand ¶
type CloudNexusEndpointGetCommand struct {
Parent *CloudNexusEndpointCommand
Command cobra.Command
ClientOptions
Name string
Id string
}
func NewCloudNexusEndpointGetCommand ¶
func NewCloudNexusEndpointGetCommand(cctx *CommandContext, parent *CloudNexusEndpointCommand) *CloudNexusEndpointGetCommand
type CloudNexusEndpointListCommand ¶
type CloudNexusEndpointListCommand struct {
Parent *CloudNexusEndpointCommand
Command cobra.Command
ClientOptions
ProjectId string
PageSize int
PageToken string
}
func NewCloudNexusEndpointListCommand ¶
func NewCloudNexusEndpointListCommand(cctx *CommandContext, parent *CloudNexusEndpointCommand) *CloudNexusEndpointListCommand
type CloudNexusEndpointUpdateCommand ¶
type CloudNexusEndpointUpdateCommand struct {
Parent *CloudNexusEndpointCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
Name string
Id string
TargetNamespace string
TargetTaskQueue string
Description string
DescriptionFile string
UnsetDescription bool
}
func NewCloudNexusEndpointUpdateCommand ¶
func NewCloudNexusEndpointUpdateCommand(cctx *CommandContext, parent *CloudNexusEndpointCommand) *CloudNexusEndpointUpdateCommand
type CloudOptions ¶
type CloudOptionsBuilder ¶
type CloudOptionsBuilder struct {
// CommonOptions contains common CLI options including profile config.
CommonOptions cliext.CommonOptions
// ClientOptions contains the client configuration from flags.
ClientOptions ClientOptions
// EnvLookup is the environment variable lookup function.
// If nil, environment variables are not used for profile loading.
EnvLookup envconfig.EnvLookup
// Logger is the slog logger to use for the client. If set, it will be
// wrapped with the SDK's structured logger adapter.
Logger *slog.Logger
}
func (*CloudOptionsBuilder) Build ¶
func (b *CloudOptionsBuilder) Build(ctx context.Context) (*CloudOptions, error)
type CloudProjectApplyCommand ¶ added in v0.0.4
type CloudProjectApplyCommand struct {
Parent *CloudProjectCommand
Command cobra.Command
ClientOptions
DiffOptions
AsyncOperationOptions
ResourceVersionOptions
Spec string
}
func NewCloudProjectApplyCommand ¶ added in v0.0.4
func NewCloudProjectApplyCommand(cctx *CommandContext, parent *CloudProjectCommand) *CloudProjectApplyCommand
type CloudProjectCommand ¶ added in v0.0.4
type CloudProjectCommand struct {
Parent *CloudCommand
Command cobra.Command
}
func NewCloudProjectCommand ¶ added in v0.0.4
func NewCloudProjectCommand(cctx *CommandContext, parent *CloudCommand) *CloudProjectCommand
type CloudProjectCreateCommand ¶ added in v0.0.4
type CloudProjectCreateCommand struct {
Parent *CloudProjectCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
DisplayName string
Description string
EnableDeleteProtection bool
}
func NewCloudProjectCreateCommand ¶ added in v0.0.4
func NewCloudProjectCreateCommand(cctx *CommandContext, parent *CloudProjectCommand) *CloudProjectCreateCommand
type CloudProjectDeleteCommand ¶ added in v0.0.4
type CloudProjectDeleteCommand struct {
Parent *CloudProjectCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
ProjectId string
}
func NewCloudProjectDeleteCommand ¶ added in v0.0.4
func NewCloudProjectDeleteCommand(cctx *CommandContext, parent *CloudProjectCommand) *CloudProjectDeleteCommand
type CloudProjectEditCommand ¶ added in v0.0.4
type CloudProjectEditCommand struct {
Parent *CloudProjectCommand
Command cobra.Command
ClientOptions
DiffOptions
AsyncOperationOptions
ResourceVersionOptions
ProjectId string
}
func NewCloudProjectEditCommand ¶ added in v0.0.4
func NewCloudProjectEditCommand(cctx *CommandContext, parent *CloudProjectCommand) *CloudProjectEditCommand
type CloudProjectGetCommand ¶ added in v0.0.4
type CloudProjectGetCommand struct {
Parent *CloudProjectCommand
Command cobra.Command
ClientOptions
ProjectId string
}
func NewCloudProjectGetCommand ¶ added in v0.0.4
func NewCloudProjectGetCommand(cctx *CommandContext, parent *CloudProjectCommand) *CloudProjectGetCommand
type CloudProjectListCommand ¶ added in v0.0.4
type CloudProjectListCommand struct {
Parent *CloudProjectCommand
Command cobra.Command
ClientOptions
ProjectId []string
PageSize int
PageToken string
}
func NewCloudProjectListCommand ¶ added in v0.0.4
func NewCloudProjectListCommand(cctx *CommandContext, parent *CloudProjectCommand) *CloudProjectListCommand
type CloudProjectServiceAccountCommand ¶ added in v0.0.4
type CloudProjectServiceAccountCommand struct {
Parent *CloudProjectCommand
Command cobra.Command
}
func NewCloudProjectServiceAccountCommand ¶ added in v0.0.4
func NewCloudProjectServiceAccountCommand(cctx *CommandContext, parent *CloudProjectCommand) *CloudProjectServiceAccountCommand
type CloudProjectServiceAccountListCommand ¶ added in v0.0.4
type CloudProjectServiceAccountListCommand struct {
Parent *CloudProjectServiceAccountCommand
Command cobra.Command
ClientOptions
ProjectId string
PageSize int
PageToken string
}
func NewCloudProjectServiceAccountListCommand ¶ added in v0.0.4
func NewCloudProjectServiceAccountListCommand(cctx *CommandContext, parent *CloudProjectServiceAccountCommand) *CloudProjectServiceAccountListCommand
type CloudProjectUpdateCommand ¶ added in v0.0.4
type CloudProjectUpdateCommand struct {
Parent *CloudProjectCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
ProjectId string
DisplayName string
Description string
EnableDeleteProtection bool
}
func NewCloudProjectUpdateCommand ¶ added in v0.0.4
func NewCloudProjectUpdateCommand(cctx *CommandContext, parent *CloudProjectCommand) *CloudProjectUpdateCommand
type CloudProjectUserCommand ¶ added in v0.0.4
type CloudProjectUserCommand struct {
Parent *CloudProjectCommand
Command cobra.Command
}
func NewCloudProjectUserCommand ¶ added in v0.0.4
func NewCloudProjectUserCommand(cctx *CommandContext, parent *CloudProjectCommand) *CloudProjectUserCommand
type CloudProjectUserGroupCommand ¶ added in v0.0.4
type CloudProjectUserGroupCommand struct {
Parent *CloudProjectCommand
Command cobra.Command
}
func NewCloudProjectUserGroupCommand ¶ added in v0.0.4
func NewCloudProjectUserGroupCommand(cctx *CommandContext, parent *CloudProjectCommand) *CloudProjectUserGroupCommand
type CloudProjectUserGroupListCommand ¶ added in v0.0.4
type CloudProjectUserGroupListCommand struct {
Parent *CloudProjectUserGroupCommand
Command cobra.Command
ClientOptions
ProjectId string
PageSize int
PageToken string
}
func NewCloudProjectUserGroupListCommand ¶ added in v0.0.4
func NewCloudProjectUserGroupListCommand(cctx *CommandContext, parent *CloudProjectUserGroupCommand) *CloudProjectUserGroupListCommand
type CloudProjectUserListCommand ¶ added in v0.0.4
type CloudProjectUserListCommand struct {
Parent *CloudProjectUserCommand
Command cobra.Command
ClientOptions
ProjectId string
PageSize int
PageToken string
}
func NewCloudProjectUserListCommand ¶ added in v0.0.4
func NewCloudProjectUserListCommand(cctx *CommandContext, parent *CloudProjectUserCommand) *CloudProjectUserListCommand
type CloudRegionCommand ¶
type CloudRegionCommand struct {
Parent *CloudCommand
Command cobra.Command
}
func NewCloudRegionCommand ¶
func NewCloudRegionCommand(cctx *CommandContext, parent *CloudCommand) *CloudRegionCommand
type CloudRegionGetCommand ¶
type CloudRegionGetCommand struct {
Parent *CloudRegionCommand
Command cobra.Command
ClientOptions
Region string
}
func NewCloudRegionGetCommand ¶
func NewCloudRegionGetCommand(cctx *CommandContext, parent *CloudRegionCommand) *CloudRegionGetCommand
type CloudRegionListCommand ¶
type CloudRegionListCommand struct {
Parent *CloudRegionCommand
Command cobra.Command
ClientOptions
}
func NewCloudRegionListCommand ¶
func NewCloudRegionListCommand(cctx *CommandContext, parent *CloudRegionCommand) *CloudRegionListCommand
type CloudServiceAccountCommand ¶
type CloudServiceAccountCommand struct {
Parent *CloudCommand
Command cobra.Command
}
func NewCloudServiceAccountCommand ¶
func NewCloudServiceAccountCommand(cctx *CommandContext, parent *CloudCommand) *CloudServiceAccountCommand
type CloudServiceAccountCreateCommand ¶
type CloudServiceAccountCreateCommand struct {
Parent *CloudServiceAccountCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
Name string
Description string
AccountRole string
NamespaceAccess []string
ProjectAccess []string
CustomRole []string
}
func NewCloudServiceAccountCreateCommand ¶
func NewCloudServiceAccountCreateCommand(cctx *CommandContext, parent *CloudServiceAccountCommand) *CloudServiceAccountCreateCommand
type CloudServiceAccountCreateNamespaceScopedCommand ¶
type CloudServiceAccountCreateNamespaceScopedCommand struct {
Parent *CloudServiceAccountCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
Name string
Description string
Namespace string
NamespacePermission string
}
func NewCloudServiceAccountCreateNamespaceScopedCommand ¶
func NewCloudServiceAccountCreateNamespaceScopedCommand(cctx *CommandContext, parent *CloudServiceAccountCommand) *CloudServiceAccountCreateNamespaceScopedCommand
type CloudServiceAccountCreateProjectScopedCommand ¶ added in v0.0.4
type CloudServiceAccountCreateProjectScopedCommand struct {
Parent *CloudServiceAccountCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
Name string
Description string
ProjectId string
ProjectRole string
NamespaceAccess []string
}
func NewCloudServiceAccountCreateProjectScopedCommand ¶ added in v0.0.4
func NewCloudServiceAccountCreateProjectScopedCommand(cctx *CommandContext, parent *CloudServiceAccountCommand) *CloudServiceAccountCreateProjectScopedCommand
type CloudServiceAccountDeleteCommand ¶
type CloudServiceAccountDeleteCommand struct {
Parent *CloudServiceAccountCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
ServiceAccountId string
}
func NewCloudServiceAccountDeleteCommand ¶
func NewCloudServiceAccountDeleteCommand(cctx *CommandContext, parent *CloudServiceAccountCommand) *CloudServiceAccountDeleteCommand
type CloudServiceAccountEditCommand ¶
type CloudServiceAccountEditCommand struct {
Parent *CloudServiceAccountCommand
Command cobra.Command
ClientOptions
DiffOptions
AsyncOperationOptions
ResourceVersionOptions
ServiceAccountId string
}
func NewCloudServiceAccountEditCommand ¶
func NewCloudServiceAccountEditCommand(cctx *CommandContext, parent *CloudServiceAccountCommand) *CloudServiceAccountEditCommand
type CloudServiceAccountGetCommand ¶
type CloudServiceAccountGetCommand struct {
Parent *CloudServiceAccountCommand
Command cobra.Command
ClientOptions
ServiceAccountId string
}
func NewCloudServiceAccountGetCommand ¶
func NewCloudServiceAccountGetCommand(cctx *CommandContext, parent *CloudServiceAccountCommand) *CloudServiceAccountGetCommand
type CloudServiceAccountListCommand ¶
type CloudServiceAccountListCommand struct {
Parent *CloudServiceAccountCommand
Command cobra.Command
ClientOptions
ProjectId string
PageSize int
PageToken string
}
func NewCloudServiceAccountListCommand ¶
func NewCloudServiceAccountListCommand(cctx *CommandContext, parent *CloudServiceAccountCommand) *CloudServiceAccountListCommand
type CloudServiceAccountRemoveProjectAccessCommand ¶ added in v0.0.4
type CloudServiceAccountRemoveProjectAccessCommand struct {
Parent *CloudServiceAccountCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
ServiceAccountId string
ProjectId string
}
func NewCloudServiceAccountRemoveProjectAccessCommand ¶ added in v0.0.4
func NewCloudServiceAccountRemoveProjectAccessCommand(cctx *CommandContext, parent *CloudServiceAccountCommand) *CloudServiceAccountRemoveProjectAccessCommand
type CloudServiceAccountSetCustomRolesCommand ¶
type CloudServiceAccountSetCustomRolesCommand struct {
Parent *CloudServiceAccountCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
CustomRoleOptions
ServiceAccountId string
}
func NewCloudServiceAccountSetCustomRolesCommand ¶
func NewCloudServiceAccountSetCustomRolesCommand(cctx *CommandContext, parent *CloudServiceAccountCommand) *CloudServiceAccountSetCustomRolesCommand
type CloudServiceAccountSetProjectAccessCommand ¶ added in v0.0.4
type CloudServiceAccountSetProjectAccessCommand struct {
Parent *CloudServiceAccountCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
ServiceAccountId string
ProjectId string
ProjectRole string
}
func NewCloudServiceAccountSetProjectAccessCommand ¶ added in v0.0.4
func NewCloudServiceAccountSetProjectAccessCommand(cctx *CommandContext, parent *CloudServiceAccountCommand) *CloudServiceAccountSetProjectAccessCommand
type CloudServiceAccountUpdateCommand ¶
type CloudServiceAccountUpdateCommand struct {
Parent *CloudServiceAccountCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
CustomRoleOptions
ServiceAccountId string
Name string
Description string
AccountRole string
NamespaceAccess []string
ProjectAccess []string
ProjectRole string
NamespacePermission string
}
func NewCloudServiceAccountUpdateCommand ¶
func NewCloudServiceAccountUpdateCommand(cctx *CommandContext, parent *CloudServiceAccountCommand) *CloudServiceAccountUpdateCommand
type CloudUserApplyCommand ¶
type CloudUserApplyCommand struct {
Parent *CloudUserCommand
Command cobra.Command
ClientOptions
DiffOptions
AsyncOperationOptions
ResourceVersionOptions
Spec string
}
func NewCloudUserApplyCommand ¶
func NewCloudUserApplyCommand(cctx *CommandContext, parent *CloudUserCommand) *CloudUserApplyCommand
type CloudUserCommand ¶
type CloudUserCommand struct {
Parent *CloudCommand
Command cobra.Command
}
func NewCloudUserCommand ¶
func NewCloudUserCommand(cctx *CommandContext, parent *CloudCommand) *CloudUserCommand
type CloudUserDeleteCommand ¶
type CloudUserDeleteCommand struct {
Parent *CloudUserCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
UserIdentificationOptions
}
func NewCloudUserDeleteCommand ¶
func NewCloudUserDeleteCommand(cctx *CommandContext, parent *CloudUserCommand) *CloudUserDeleteCommand
type CloudUserEditCommand ¶
type CloudUserEditCommand struct {
Parent *CloudUserCommand
Command cobra.Command
ClientOptions
DiffOptions
AsyncOperationOptions
ResourceVersionOptions
UserIdentificationOptions
}
func NewCloudUserEditCommand ¶
func NewCloudUserEditCommand(cctx *CommandContext, parent *CloudUserCommand) *CloudUserEditCommand
type CloudUserGetCommand ¶
type CloudUserGetCommand struct {
Parent *CloudUserCommand
Command cobra.Command
ClientOptions
UserIdentificationOptions
}
func NewCloudUserGetCommand ¶
func NewCloudUserGetCommand(cctx *CommandContext, parent *CloudUserCommand) *CloudUserGetCommand
type CloudUserGroupApplyCommand ¶
type CloudUserGroupApplyCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
DiffOptions
AsyncOperationOptions
ResourceVersionOptions
Spec string
}
func NewCloudUserGroupApplyCommand ¶
func NewCloudUserGroupApplyCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupApplyCommand
type CloudUserGroupCommand ¶
type CloudUserGroupCommand struct {
Parent *CloudCommand
Command cobra.Command
}
func NewCloudUserGroupCommand ¶
func NewCloudUserGroupCommand(cctx *CommandContext, parent *CloudCommand) *CloudUserGroupCommand
type CloudUserGroupCreateCloudGroupCommand ¶
type CloudUserGroupCreateCloudGroupCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
DisplayName string
AccountRole string
NamespaceAccess []string
ProjectAccess []string
CustomRole []string
}
func NewCloudUserGroupCreateCloudGroupCommand ¶
func NewCloudUserGroupCreateCloudGroupCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupCreateCloudGroupCommand
type CloudUserGroupCreateGoogleGroupCommand ¶
type CloudUserGroupCreateGoogleGroupCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
DisplayName string
GoogleGroupEmail string
AccountRole string
NamespaceAccess []string
ProjectAccess []string
CustomRole []string
}
func NewCloudUserGroupCreateGoogleGroupCommand ¶
func NewCloudUserGroupCreateGoogleGroupCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupCreateGoogleGroupCommand
type CloudUserGroupCreateScimGroupCommand ¶
type CloudUserGroupCreateScimGroupCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
DisplayName string
ScimIdpId string
AccountRole string
NamespaceAccess []string
ProjectAccess []string
CustomRole []string
}
func NewCloudUserGroupCreateScimGroupCommand ¶
func NewCloudUserGroupCreateScimGroupCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupCreateScimGroupCommand
type CloudUserGroupDeleteCommand ¶
type CloudUserGroupDeleteCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
GroupIdOptions
AsyncOperationOptions
ResourceVersionOptions
}
func NewCloudUserGroupDeleteCommand ¶
func NewCloudUserGroupDeleteCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupDeleteCommand
type CloudUserGroupEditCommand ¶
type CloudUserGroupEditCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
DiffOptions
GroupIdOptions
AsyncOperationOptions
ResourceVersionOptions
}
func NewCloudUserGroupEditCommand ¶
func NewCloudUserGroupEditCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupEditCommand
type CloudUserGroupGetCommand ¶
type CloudUserGroupGetCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
GroupIdOptions
}
func NewCloudUserGroupGetCommand ¶
func NewCloudUserGroupGetCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupGetCommand
type CloudUserGroupListCommand ¶
type CloudUserGroupListCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
PageSize int
PageToken string
Namespace string
ProjectId string
DisplayName string
GoogleGroupEmailAddress string
ScimGroupIdpId string
}
func NewCloudUserGroupListCommand ¶
func NewCloudUserGroupListCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupListCommand
type CloudUserGroupMembersAddCommand ¶
type CloudUserGroupMembersAddCommand struct {
Parent *CloudUserGroupMembersCommand
Command cobra.Command
ClientOptions
GroupIdOptions
AsyncOperationOptions
UserIdentificationOptions
}
func NewCloudUserGroupMembersAddCommand ¶
func NewCloudUserGroupMembersAddCommand(cctx *CommandContext, parent *CloudUserGroupMembersCommand) *CloudUserGroupMembersAddCommand
type CloudUserGroupMembersCommand ¶
type CloudUserGroupMembersCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
}
func NewCloudUserGroupMembersCommand ¶
func NewCloudUserGroupMembersCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupMembersCommand
type CloudUserGroupMembersListCommand ¶
type CloudUserGroupMembersListCommand struct {
Parent *CloudUserGroupMembersCommand
Command cobra.Command
ClientOptions
GroupIdOptions
PageSize int
PageToken string
}
func NewCloudUserGroupMembersListCommand ¶
func NewCloudUserGroupMembersListCommand(cctx *CommandContext, parent *CloudUserGroupMembersCommand) *CloudUserGroupMembersListCommand
type CloudUserGroupMembersRemoveCommand ¶
type CloudUserGroupMembersRemoveCommand struct {
Parent *CloudUserGroupMembersCommand
Command cobra.Command
ClientOptions
GroupIdOptions
AsyncOperationOptions
UserIdentificationOptions
}
func NewCloudUserGroupMembersRemoveCommand ¶
func NewCloudUserGroupMembersRemoveCommand(cctx *CommandContext, parent *CloudUserGroupMembersCommand) *CloudUserGroupMembersRemoveCommand
type CloudUserGroupRemoveProjectAccessCommand ¶ added in v0.0.4
type CloudUserGroupRemoveProjectAccessCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
GroupIdOptions
AsyncOperationOptions
ResourceVersionOptions
ProjectId string
}
func NewCloudUserGroupRemoveProjectAccessCommand ¶ added in v0.0.4
func NewCloudUserGroupRemoveProjectAccessCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupRemoveProjectAccessCommand
type CloudUserGroupSetAccountRoleCommand ¶
type CloudUserGroupSetAccountRoleCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
GroupIdOptions
AsyncOperationOptions
ResourceVersionOptions
AccountRole string
}
func NewCloudUserGroupSetAccountRoleCommand ¶
func NewCloudUserGroupSetAccountRoleCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupSetAccountRoleCommand
type CloudUserGroupSetCustomRolesCommand ¶
type CloudUserGroupSetCustomRolesCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
GroupIdOptions
AsyncOperationOptions
ResourceVersionOptions
CustomRoleOptions
}
func NewCloudUserGroupSetCustomRolesCommand ¶
func NewCloudUserGroupSetCustomRolesCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupSetCustomRolesCommand
type CloudUserGroupSetNamespacePermissionsCommand ¶
type CloudUserGroupSetNamespacePermissionsCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
GroupIdOptions
AsyncOperationOptions
ResourceVersionOptions
NamespaceAccess []string
}
func NewCloudUserGroupSetNamespacePermissionsCommand ¶
func NewCloudUserGroupSetNamespacePermissionsCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupSetNamespacePermissionsCommand
type CloudUserGroupSetProjectAccessCommand ¶ added in v0.0.4
type CloudUserGroupSetProjectAccessCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
GroupIdOptions
AsyncOperationOptions
ResourceVersionOptions
ProjectId string
ProjectRole string
}
func NewCloudUserGroupSetProjectAccessCommand ¶ added in v0.0.4
func NewCloudUserGroupSetProjectAccessCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupSetProjectAccessCommand
type CloudUserGroupUpdateCommand ¶
type CloudUserGroupUpdateCommand struct {
Parent *CloudUserGroupCommand
Command cobra.Command
ClientOptions
GroupIdOptions
AsyncOperationOptions
ResourceVersionOptions
CustomRoleOptions
AccountRole string
NamespaceAccess []string
ProjectAccess []string
}
func NewCloudUserGroupUpdateCommand ¶
func NewCloudUserGroupUpdateCommand(cctx *CommandContext, parent *CloudUserGroupCommand) *CloudUserGroupUpdateCommand
type CloudUserInviteCommand ¶
type CloudUserInviteCommand struct {
Parent *CloudUserCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
Email string
AccountRole string
NamespaceAccess []string
ProjectAccess []string
CustomRole []string
}
func NewCloudUserInviteCommand ¶
func NewCloudUserInviteCommand(cctx *CommandContext, parent *CloudUserCommand) *CloudUserInviteCommand
type CloudUserListCommand ¶
type CloudUserListCommand struct {
Parent *CloudUserCommand
Command cobra.Command
ClientOptions
PageSize int
PageToken string
Email string
Namespace string
ProjectId string
}
func NewCloudUserListCommand ¶
func NewCloudUserListCommand(cctx *CommandContext, parent *CloudUserCommand) *CloudUserListCommand
type CloudUserRemoveProjectAccessCommand ¶ added in v0.0.4
type CloudUserRemoveProjectAccessCommand struct {
Parent *CloudUserCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
UserIdentificationOptions
ProjectId string
}
func NewCloudUserRemoveProjectAccessCommand ¶ added in v0.0.4
func NewCloudUserRemoveProjectAccessCommand(cctx *CommandContext, parent *CloudUserCommand) *CloudUserRemoveProjectAccessCommand
type CloudUserSetAccountRoleCommand ¶
type CloudUserSetAccountRoleCommand struct {
Parent *CloudUserCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
UserIdentificationOptions
AccountRole string
}
func NewCloudUserSetAccountRoleCommand ¶
func NewCloudUserSetAccountRoleCommand(cctx *CommandContext, parent *CloudUserCommand) *CloudUserSetAccountRoleCommand
type CloudUserSetCustomRolesCommand ¶
type CloudUserSetCustomRolesCommand struct {
Parent *CloudUserCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
UserIdentificationOptions
CustomRoleOptions
}
func NewCloudUserSetCustomRolesCommand ¶
func NewCloudUserSetCustomRolesCommand(cctx *CommandContext, parent *CloudUserCommand) *CloudUserSetCustomRolesCommand
type CloudUserSetNamespacePermissionsCommand ¶
type CloudUserSetNamespacePermissionsCommand struct {
Parent *CloudUserCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
UserIdentificationOptions
NamespaceAccess []string
}
func NewCloudUserSetNamespacePermissionsCommand ¶
func NewCloudUserSetNamespacePermissionsCommand(cctx *CommandContext, parent *CloudUserCommand) *CloudUserSetNamespacePermissionsCommand
type CloudUserSetProjectAccessCommand ¶ added in v0.0.4
type CloudUserSetProjectAccessCommand struct {
Parent *CloudUserCommand
Command cobra.Command
ClientOptions
AsyncOperationOptions
ResourceVersionOptions
UserIdentificationOptions
ProjectId string
ProjectRole string
}
func NewCloudUserSetProjectAccessCommand ¶ added in v0.0.4
func NewCloudUserSetProjectAccessCommand(cctx *CommandContext, parent *CloudUserCommand) *CloudUserSetProjectAccessCommand
type CloudWhoamiCommand ¶
type CloudWhoamiCommand struct {
Parent *CloudCommand
Command cobra.Command
ClientOptions
}
func NewCloudWhoamiCommand ¶
func NewCloudWhoamiCommand(cctx *CommandContext, parent *CloudCommand) *CloudWhoamiCommand
type CodecServerOptions ¶
type CodecServerOptions struct {
CodecEndpoint string
CodecPassAccessToken bool
CodecIncludeCrossOriginCredentials bool
FlagSet *pflag.FlagSet
}
func (*CodecServerOptions) BuildFlags ¶
func (v *CodecServerOptions) BuildFlags(f *pflag.FlagSet)
type CommandContext ¶
type CommandContext struct {
// This context is closed on interrupt
context.Context
Options CommandOptions
DeprecatedEnvConfigValues map[string]map[string]string
FlagsWithEnvVars []*pflag.Flag
// These values may not be available until after pre-run of main command
Printer *printer.Printer
Logger *slog.Logger
JSONOutput bool
JSONShorthandPayloads bool
// Is set to true if any command actually started running. This is a hack to workaround the fact
// that cobra does not properly exit nonzero if an unknown command/subcommand is given.
ActuallyRanCommand bool
// Root/current command only set inside of pre-run
RootCommand *CloudCommand
CurrentCommand *cobra.Command
NamespaceClient NamespaceClient
Poller Poller
// contains filtered or unexported fields
}
func NewCommandContext ¶
func NewCommandContext(ctx context.Context, options CommandOptions) (*CommandContext, context.CancelFunc, error)
NewCommandContext creates a CommandContext for use by the rest of the CLI. Among other things, this parses the env config file and modifies options/flags according to the parameters set there.
A CommandContext and CancelFunc are always returned, even in the event of an error; this is so the CommandContext can be used to print an appropriate error message.
func (*CommandContext) BindFlagEnvVar ¶
func (c *CommandContext) BindFlagEnvVar(flag *pflag.Flag, envVar string)
func (*CommandContext) BuildCloudClient ¶
func (cctx *CommandContext) BuildCloudClient(clientOpts ClientOptions) (*cloudclient.Client, error)
BuildCloudClient creates a CloudClient from the command's ClientOptions. It builds CloudOptions internally and then creates the client.
This is a convenience method for commands that need the CloudClient directly without needing to keep a reference to CloudOptions.
AIDEV-NOTE: Use this method in command run functions instead of manually creating CloudOptions and CloudClient separately.
func (*CommandContext) BuildCloudOptions ¶
func (cctx *CommandContext) BuildCloudOptions(clientOpts ClientOptions) (*CloudOptions, error)
BuildCloudOptions creates CloudOptions from the command's ClientOptions. It uses the RootCommand's CommonOptions and the CommandContext's logger.
This method encapsulates the CloudOptionsBuilder pattern and should be used by all commands that need CloudOptions.
AIDEV-NOTE: This is the standard way for commands to create CloudOptions. It automatically uses cctx.RootCommand.CommonOptions regardless of command depth.
func (*CommandContext) GetCloudClient ¶
func (cctx *CommandContext) GetCloudClient( cloudOpts ClientOptions, ) (cloudservice.CloudServiceClient, error)
func (*CommandContext) GetEditor ¶
func (cctx *CommandContext) GetEditor() editor.Editor
func (*CommandContext) GetPoller ¶
func (cctx *CommandContext) GetPoller( client cloudservice.CloudServiceClient, asyncOptions AsyncOperationOptions, ) async.Poller
func (*CommandContext) GetPrompter ¶
func (cctx *CommandContext) GetPrompter() cliprompter.Prompter
func (*CommandContext) MarshalFriendlyFailureBodyText ¶
func (c *CommandContext) MarshalFriendlyFailureBodyText(f *failure.Failure, indent string) (s string)
Starts with newline
func (*CommandContext) MarshalFriendlyJSONPayloads ¶
func (c *CommandContext) MarshalFriendlyJSONPayloads(m *common.Payloads) (json.RawMessage, error)
func (*CommandContext) MarshalProtoJSON ¶
func (c *CommandContext) MarshalProtoJSON(m proto.Message) ([]byte, error)
Takes payload shorthand into account, can use MarshalProtoJSONNoPayloadShorthand if needed
func (*CommandContext) MarshalProtoJSONWithOptions ¶
func (*CommandContext) UnmarshalProtoJSON ¶
func (c *CommandContext) UnmarshalProtoJSON(b []byte, m proto.Message) error
type CommandIfc ¶
type CommandIfc interface {
// contains filtered or unexported methods
}
type CommandOptions ¶
type CommandOptions struct {
// If empty, assumed to be os.Args[1:]
Args []string
// If nil, [envconfig.EnvLookupOS] is used.
EnvLookup envconfig.EnvLookup
// These three fields below default to OS values
Stdin io.Reader
Stdout io.Writer
Stderr io.Writer
// Defaults to logging error then os.Exit(1)
Fail func(error)
AdditionalClientGRPCDialOptions []grpc.DialOption
ClientConnectTimeout time.Duration
}
type CreateAuditLogSinkKinesisParams ¶
type CreateAuditLogSinkKinesisParams struct {
Name string
RoleName string
DestinationURI string
Region string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type CreateAuditLogSinkPubSubParams ¶
type CreateAuditLogSinkPubSubParams struct {
Name string
ServiceAccountID string
TopicName string
GCPProjectID string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type CreateAzureBlobExportSinkParams ¶ added in v0.0.4
type CreateAzureBlobExportSinkParams struct {
Namespace string
SinkName string
TenantID string
SubscriptionID string
ResourceGroup string
StorageAccount string
ContainerName string
Region string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type CreateGCSExportSinkParams ¶
type CreateGCSExportSinkParams struct {
Namespace string
SinkName string
SaID string
BucketName string
GcpProjectID string
Region string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type CreateNamespaceParams ¶
type CreateNamespaceParams struct {
Name string
Regions []string
RetentionDays int32
ApiKeyAuthEnabled bool
MtlsAuthEnabled bool
EnableDeleteProtection bool
EnableTaskQueueFairness *bool
AsyncOperationID string
CACertificateOptions CaCertificateOptions
CertificateFilterOptions CertificateFilterOptions
SearchAttribute []string
CodecEndpoint string
CodecPassAccessToken bool
CodecIncludeCrossOriginCredentials bool
ConnectionRuleIDs []string
ProjectID string
Description string
Cloud cloudservice.CloudServiceClient
Printer *printer.Printer
Prompter Prompter
OperationHandler AsyncOperationHandler
UnmarshalProtoJSON func([]byte, proto.Message) error
}
type CreatePrivateConnectivityRuleParams ¶
type CreatePrivateConnectivityRuleParams struct {
ConnectionID string
Region string
GCPProjectID string
AzurePeResourceID string
ProjectID string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type CreatePublicConnectivityRuleParams ¶
type CreatePublicConnectivityRuleParams struct {
EnableStableIPs bool
ProjectID string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type CreateS3ExportSinkParams ¶
type CreateS3ExportSinkParams struct {
Namespace string
SinkName string
RoleName string
BucketName string
Region string
AwsAccountID string
KmsArn string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type CustomRoleOptions ¶
func (*CustomRoleOptions) BuildFlags ¶
func (v *CustomRoleOptions) BuildFlags(f *pflag.FlagSet)
type DeleteAuditLogSinkParams ¶
type DeleteAuditLogSinkParams struct {
Name string
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type DeleteConnectivityRuleParams ¶
type DeleteConnectivityRuleParams struct {
ID string
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type DeleteExportSinkParams ¶
type DeleteExportSinkParams struct {
Namespace string
SinkName string
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type DiffOptions ¶
func (*DiffOptions) BuildFlags ¶
func (v *DiffOptions) BuildFlags(f *pflag.FlagSet)
type DisableAuditLogSinkParams ¶
type DisableAuditLogSinkParams struct {
Name string
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type DisableExportSinkParams ¶
type DisableExportSinkParams struct {
Namespace string
SinkName string
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type EnableAuditLogSinkParams ¶
type EnableAuditLogSinkParams struct {
Name string
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type EnableExportSinkParams ¶
type EnableExportSinkParams struct {
Namespace string
SinkName string
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type ExportAzureBlobOptions ¶ added in v0.0.4
type ExportAzureBlobOptions struct {
TenantId string
SubscriptionId string
ResourceGroup string
StorageAccount string
ContainerName string
FlagSet *pflag.FlagSet
}
func (*ExportAzureBlobOptions) BuildFlags ¶ added in v0.0.4
func (v *ExportAzureBlobOptions) BuildFlags(f *pflag.FlagSet)
type ExportAzureBlobRegionOptions ¶ added in v0.0.4
func (*ExportAzureBlobRegionOptions) BuildFlags ¶ added in v0.0.4
func (v *ExportAzureBlobRegionOptions) BuildFlags(f *pflag.FlagSet)
type ExportGcsOptions ¶
type ExportGcsOptions struct {
ServiceAccountEmail string
BucketName string
FlagSet *pflag.FlagSet
}
func (*ExportGcsOptions) BuildFlags ¶
func (v *ExportGcsOptions) BuildFlags(f *pflag.FlagSet)
type ExportGcsRegionOptions ¶
func (*ExportGcsRegionOptions) BuildFlags ¶
func (v *ExportGcsRegionOptions) BuildFlags(f *pflag.FlagSet)
type ExportS3Options ¶
type ExportS3Options struct {
RoleArn string
BucketName string
KmsArn string
FlagSet *pflag.FlagSet
}
func (*ExportS3Options) BuildFlags ¶
func (v *ExportS3Options) BuildFlags(f *pflag.FlagSet)
type ExportS3RegionOptions ¶
func (*ExportS3RegionOptions) BuildFlags ¶
func (v *ExportS3RegionOptions) BuildFlags(f *pflag.FlagSet)
type ExportSinkOptions ¶
func (*ExportSinkOptions) BuildFlags ¶
func (v *ExportSinkOptions) BuildFlags(f *pflag.FlagSet)
type FriendlyError ¶ added in v0.0.3
type FriendlyError struct {
// contains filtered or unexported fields
}
A FriendlyError is an error intended for presentation directly to users
func NewFriendlyError ¶ added in v0.0.3
func NewFriendlyError(reason string, cause error) FriendlyError
NewFriendlyError returns an error that preserves the given reason for later presentation as a user-facing error message, available via FriendlyError(). Full context is available via Error() and Unwrap()
func NewFriendlyErrorf ¶ added in v0.0.3
func NewFriendlyErrorf(format string, args ...any) FriendlyError
func (FriendlyError) Error ¶ added in v0.0.3
func (err FriendlyError) Error() string
func (FriendlyError) FriendlyError ¶ added in v0.0.3
func (err FriendlyError) FriendlyError() string
func (FriendlyError) Unwrap ¶ added in v0.0.3
func (err FriendlyError) Unwrap() error
type GetAuditLogSinkParams ¶
type GetAuditLogSinkParams struct {
Name string
Cloud cloudservice.CloudServiceClient
Printer *printer.Printer
}
type GetAuditLogsParams ¶
type GetAuditLogsParams struct {
PageSize int32
PageToken string
StartTime time.Time
EndTime time.Time
Cloud cloudservice.CloudServiceClient
Printer *printer.Printer
}
type GetConnectivityRuleParams ¶
type GetConnectivityRuleParams struct {
ID string
Cloud cloudservice.CloudServiceClient
Printer *printer.Printer
}
type GetExportSinkParams ¶
type GetExportSinkParams struct {
Namespace string
SinkName string
Cloud cloudservice.CloudServiceClient
Printer *printer.Printer
}
type GetRetentionParams ¶
type GetRetentionParams struct {
Namespace string
Cloud cloudservice.CloudServiceClient
Printer *printer.Printer
}
type GraftedError ¶ added in v0.0.3
type GraftedError struct {
// contains filtered or unexported fields
}
func (GraftedError) Error ¶ added in v0.0.3
func (err GraftedError) Error() string
func (GraftedError) Unwrap ¶ added in v0.0.3
func (err GraftedError) Unwrap() []error
type GroupIdOptions ¶
func (*GroupIdOptions) BuildFlags ¶
func (v *GroupIdOptions) BuildFlags(f *pflag.FlagSet)
type ListAuditLogSinksParams ¶
type ListAuditLogSinksParams struct {
PageSize int32
PageToken string
Cloud cloudservice.CloudServiceClient
Printer *printer.Printer
}
type ListConnectivityRulesParams ¶
type ListConnectivityRulesParams struct {
Namespace string
ProjectID string
PageSize int32
PageToken string
Cloud cloudservice.CloudServiceClient
Printer *printer.Printer
}
type ListExportSinksParams ¶
type ListExportSinksParams struct {
Namespace string
Cloud cloudservice.CloudServiceClient
Printer *printer.Printer
}
type MutationResult ¶
type MutationResult struct {
AsyncOp *operation.AsyncOperation `json:"asyncOperation"`
ID string `json:"id"`
}
type NamespaceClient ¶
type NamespaceClient interface {
AddCACerts(context.Context, namespace.AddCACertsParams) (*operation.AsyncOperation, error)
ListCACerts(context.Context, string) ([]cert.CACert, error)
DeleteCACerts(context.Context, namespace.DeleteCACertsParams) (*operation.AsyncOperation, error)
AddCertFilters(context.Context, namespace.AddCertFiltersParams) (*operation.AsyncOperation, error)
ListCertFilters(context.Context, string) ([]*namespacev1.CertificateFilterSpec, error)
DeleteCertFilters(context.Context, namespace.DeleteCertFiltersParams) (*operation.AsyncOperation, error)
ListSearchAttributes(context.Context, string) ([]namespace.SearchAttribute, error)
CreateSearchAttribute(context.Context, namespace.CreateSearchAttributeParams) (*operation.AsyncOperation, error)
RenameSearchAttribute(context.Context, namespace.RenameSearchAttributeParams) (*operation.AsyncOperation, error)
GetNamespace(context.Context, string) (*namespacev1.Namespace, error)
UpdateNamespace(context.Context, namespace.UpdateNamespaceParams) (*operation.AsyncOperation, error)
GetCodecServer(context.Context, string) (*namespacev1.CodecServerSpec, error)
SetCodec(context.Context, namespace.SetCodecParams) (*operation.AsyncOperation, error)
DeleteCodec(context.Context, namespace.DeleteCodecParams) (*operation.AsyncOperation, error)
}
type NamespaceOptions ¶
func (*NamespaceOptions) BuildFlags ¶
func (v *NamespaceOptions) BuildFlags(f *pflag.FlagSet)
type ResourceVersionOptions ¶
func (*ResourceVersionOptions) BuildFlags ¶
func (v *ResourceVersionOptions) BuildFlags(f *pflag.FlagSet)
type RoleIdOptions ¶
func (*RoleIdOptions) BuildFlags ¶
func (v *RoleIdOptions) BuildFlags(f *pflag.FlagSet)
type SearchAttributeOutput ¶
SearchAttributeOutput is the display representation of a custom search attribute.
type SetRetentionParams ¶
type SetRetentionParams struct {
Namespace string
RetentionDays int32
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type TestAsyncPollerOptions ¶
type TestCommandOptions ¶
type TestCommandOptions struct {
Args []string
CloudClientExpectations func(cloudClient *cloudmock.MockCloudServiceClient)
AsyncPollerOptions TestAsyncPollerOptions
PromptOptions TestPromptOptions
EditorOptions TestEditorOptions
JSONOutput bool
ExpectedError string
ExpectedOutput string
ExpectedOutputJson any
ExpectedOutputJsonEmitDefaults bool
}
type TestEditorOptions ¶
type TestPromptOptions ¶
type UpdateAuditLogSinkKinesisParams ¶
type UpdateAuditLogSinkKinesisParams struct {
Name string
RoleName string
DestinationURI string
Region string
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type UpdateAuditLogSinkPubSubParams ¶
type UpdateAuditLogSinkPubSubParams struct {
Name string
ServiceAccountID string
TopicName string
GCPProjectID string
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type UpdateAzureBlobExportSinkParams ¶ added in v0.0.4
type UpdateAzureBlobExportSinkParams struct {
Namespace string
SinkName string
TenantID string
SubscriptionID string
ResourceGroup string
StorageAccount string
ContainerName string
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type UpdateGCSExportSinkParams ¶
type UpdateGCSExportSinkParams struct {
Namespace string
SinkName string
SaID string
BucketName string
GcpProjectID string
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type UpdateS3ExportSinkParams ¶
type UpdateS3ExportSinkParams struct {
Namespace string
SinkName string
RoleName string
BucketName string
AwsAccountID string
KmsArn string
ResourceVersion string
AsyncOperationID string
Cloud cloudservice.CloudServiceClient
Prompter Prompter
OperationHandler AsyncOperationHandler
}
type UserIdentificationOptions ¶
func (*UserIdentificationOptions) BuildFlags ¶
func (v *UserIdentificationOptions) BuildFlags(f *pflag.FlagSet)
type ValidateAuditLogSinkKinesisParams ¶
type ValidateAuditLogSinkKinesisParams struct {
RoleName string
DestinationURI string
Region string
Cloud cloudservice.CloudServiceClient
Printer *printer.Printer
}
type ValidateAuditLogSinkPubSubParams ¶
type ValidateAuditLogSinkPubSubParams struct {
ServiceAccountID string
TopicName string
GCPProjectID string
Cloud cloudservice.CloudServiceClient
Printer *printer.Printer
}
type ValidateAzureBlobExportSinkParams ¶ added in v0.0.4
type ValidateGCSExportSinkParams ¶
type ValidateGCSExportSinkParams struct {
Namespace string
SinkName string
SaID string
BucketName string
GcpProjectID string
Region string
Cloud cloudservice.CloudServiceClient
Printer *printer.Printer
}
Source Files
¶
- cloud.go
- commands.account.auditlog.go
- commands.account.auditlog.sink.go
- commands.account.auditlog.sink.kinesis.go
- commands.account.auditlog.sink.pubsub.go
- commands.account.metrics.cert_ca.go
- commands.apikey.go
- commands.async-operation.go
- commands.connectivity.go
- commands.custom_role.go
- commands.gen.go
- commands.go
- commands.login.go
- commands.namespace.access.go
- commands.namespace.apikey.go
- commands.namespace.capacity.go
- commands.namespace.cert_ca.go
- commands.namespace.cert_filter.go
- commands.namespace.codec.go
- commands.namespace.connectivity.go
- commands.namespace.description.go
- commands.namespace.export.go
- commands.namespace.fairness.go
- commands.namespace.go
- commands.namespace.ha.go
- commands.namespace.lifecycle.go
- commands.namespace.move.go
- commands.namespace.mtls.go
- commands.namespace.retention.go
- commands.namespace.search_attribute.go
- commands.namespace.tag.go
- commands.nexus.go
- commands.project.go
- commands.region.go
- commands.service_account.go
- commands.testing.go
- commands.user.go
- commands.user_group.go
- commands.user_group_members.go
- commands.whoami.go
- common.go
- namespace.go
- oauth.go