Documentation ¶
Index ¶
- type AuditEvent
- type AuditEvents
- type AuditLog
- type AuditLogs
- type Autoscaling
- type BackupDetail
- type BackupMetadata
- type BackupWorkspaceRequest
- func (m *BackupWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BackupWorkspaceRequest) MarshalBinary() ([]byte, error)
- func (m *BackupWorkspaceRequest) UnmarshalBinary(b []byte) error
- func (m *BackupWorkspaceRequest) Validate(formats strfmt.Registry) error
- type BackupWorkspaceResponse
- func (m *BackupWorkspaceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BackupWorkspaceResponse) MarshalBinary() ([]byte, error)
- func (m *BackupWorkspaceResponse) UnmarshalBinary(b []byte) error
- func (m *BackupWorkspaceResponse) Validate(formats strfmt.Registry) error
- type CreateWorkspaceRequest
- func (m *CreateWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateWorkspaceRequest) MarshalBinary() ([]byte, error)
- func (m *CreateWorkspaceRequest) UnmarshalBinary(b []byte) error
- func (m *CreateWorkspaceRequest) Validate(formats strfmt.Registry) error
- type CreateWorkspaceResponse
- type DeleteBackupRequest
- type DeleteBackupResponse
- type DeleteInstanceGroupRequest
- func (m *DeleteInstanceGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteInstanceGroupRequest) MarshalBinary() ([]byte, error)
- func (m *DeleteInstanceGroupRequest) UnmarshalBinary(b []byte) error
- func (m *DeleteInstanceGroupRequest) Validate(formats strfmt.Registry) error
- type DeleteInstanceGroupResponse
- type DeleteWorkspaceRequest
- func (m *DeleteWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteWorkspaceRequest) MarshalBinary() ([]byte, error)
- func (m *DeleteWorkspaceRequest) UnmarshalBinary(b []byte) error
- func (m *DeleteWorkspaceRequest) Validate(formats strfmt.Registry) error
- type DeleteWorkspaceResponse
- type DescribeWorkspaceRequest
- func (m *DescribeWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeWorkspaceRequest) MarshalBinary() ([]byte, error)
- func (m *DescribeWorkspaceRequest) UnmarshalBinary(b []byte) error
- func (m *DescribeWorkspaceRequest) Validate(formats strfmt.Registry) error
- type DescribeWorkspaceResponse
- func (m *DescribeWorkspaceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeWorkspaceResponse) MarshalBinary() ([]byte, error)
- func (m *DescribeWorkspaceResponse) UnmarshalBinary(b []byte) error
- func (m *DescribeWorkspaceResponse) Validate(formats strfmt.Registry) error
- type Error
- type ExistingDatabaseConfig
- func (m *ExistingDatabaseConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ExistingDatabaseConfig) MarshalBinary() ([]byte, error)
- func (m *ExistingDatabaseConfig) UnmarshalBinary(b []byte) error
- func (m *ExistingDatabaseConfig) Validate(formats strfmt.Registry) error
- type GetAuditEventsRequest
- type GetAuditEventsResponse
- func (m *GetAuditEventsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetAuditEventsResponse) MarshalBinary() ([]byte, error)
- func (m *GetAuditEventsResponse) UnmarshalBinary(b []byte) error
- func (m *GetAuditEventsResponse) Validate(formats strfmt.Registry) error
- type GetKubeconfigRequest
- type GetKubeconfigResponse
- type GetLatestWorkspaceVersionRequest
- type GetLatestWorkspaceVersionResponse
- func (m *GetLatestWorkspaceVersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetLatestWorkspaceVersionResponse) MarshalBinary() ([]byte, error)
- func (m *GetLatestWorkspaceVersionResponse) UnmarshalBinary(b []byte) error
- func (m *GetLatestWorkspaceVersionResponse) Validate(formats strfmt.Registry) error
- type GetLogsRequest
- type GetLogsResponse
- type GrantWorkspaceAccessRequest
- func (m *GrantWorkspaceAccessRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GrantWorkspaceAccessRequest) MarshalBinary() ([]byte, error)
- func (m *GrantWorkspaceAccessRequest) UnmarshalBinary(b []byte) error
- func (m *GrantWorkspaceAccessRequest) Validate(formats strfmt.Registry) error
- type GrantWorkspaceAccessResponse
- func (m *GrantWorkspaceAccessResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GrantWorkspaceAccessResponse) MarshalBinary() ([]byte, error)
- func (m *GrantWorkspaceAccessResponse) UnmarshalBinary(b []byte) error
- func (m *GrantWorkspaceAccessResponse) Validate(formats strfmt.Registry) error
- type HealthInfo
- type Instance
- type InstanceGroup
- type ListWorkspaceAccessRequest
- func (m *ListWorkspaceAccessRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListWorkspaceAccessRequest) MarshalBinary() ([]byte, error)
- func (m *ListWorkspaceAccessRequest) UnmarshalBinary(b []byte) error
- func (m *ListWorkspaceAccessRequest) Validate(formats strfmt.Registry) error
- type ListWorkspaceAccessResponse
- func (m *ListWorkspaceAccessResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListWorkspaceAccessResponse) MarshalBinary() ([]byte, error)
- func (m *ListWorkspaceAccessResponse) UnmarshalBinary(b []byte) error
- func (m *ListWorkspaceAccessResponse) Validate(formats strfmt.Registry) error
- type ListWorkspaceBackupsQueryOptions
- func (m *ListWorkspaceBackupsQueryOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListWorkspaceBackupsQueryOptions) MarshalBinary() ([]byte, error)
- func (m *ListWorkspaceBackupsQueryOptions) UnmarshalBinary(b []byte) error
- func (m *ListWorkspaceBackupsQueryOptions) Validate(formats strfmt.Registry) error
- type ListWorkspaceBackupsRequest
- func (m *ListWorkspaceBackupsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListWorkspaceBackupsRequest) MarshalBinary() ([]byte, error)
- func (m *ListWorkspaceBackupsRequest) UnmarshalBinary(b []byte) error
- func (m *ListWorkspaceBackupsRequest) Validate(formats strfmt.Registry) error
- type ListWorkspaceBackupsResponse
- func (m *ListWorkspaceBackupsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListWorkspaceBackupsResponse) MarshalBinary() ([]byte, error)
- func (m *ListWorkspaceBackupsResponse) UnmarshalBinary(b []byte) error
- func (m *ListWorkspaceBackupsResponse) Validate(formats strfmt.Registry) error
- type ListWorkspacesRequest
- type ListWorkspacesResponse
- func (m *ListWorkspacesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListWorkspacesResponse) MarshalBinary() ([]byte, error)
- func (m *ListWorkspacesResponse) UnmarshalBinary(b []byte) error
- func (m *ListWorkspacesResponse) Validate(formats strfmt.Registry) error
- type ModifyClusterInstanceGroupRequest
- func (m *ModifyClusterInstanceGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModifyClusterInstanceGroupRequest) MarshalBinary() ([]byte, error)
- func (m *ModifyClusterInstanceGroupRequest) UnmarshalBinary(b []byte) error
- func (m *ModifyClusterInstanceGroupRequest) Validate(formats strfmt.Registry) error
- type ModifyClusterInstanceGroupResponse
- type ModifyClusterSecurityRequest
- func (m *ModifyClusterSecurityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModifyClusterSecurityRequest) MarshalBinary() ([]byte, error)
- func (m *ModifyClusterSecurityRequest) UnmarshalBinary(b []byte) error
- func (m *ModifyClusterSecurityRequest) Validate(formats strfmt.Registry) error
- type ModifyClusterSecurityResponse
- type ModifyWorkspaceLoadBalancerRequest
- func (m *ModifyWorkspaceLoadBalancerRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModifyWorkspaceLoadBalancerRequest) MarshalBinary() ([]byte, error)
- func (m *ModifyWorkspaceLoadBalancerRequest) UnmarshalBinary(b []byte) error
- func (m *ModifyWorkspaceLoadBalancerRequest) Validate(formats strfmt.Registry) error
- type ModifyWorkspaceLoadBalancerResponse
- type OutboundTypes
- type OverlayNetwork
- type ProvisionK8sRequest
- type ProvisionTag
- type RequestWorkflowCancellationRequest
- func (m *RequestWorkflowCancellationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RequestWorkflowCancellationRequest) MarshalBinary() ([]byte, error)
- func (m *RequestWorkflowCancellationRequest) UnmarshalBinary(b []byte) error
- func (m *RequestWorkflowCancellationRequest) Validate(formats strfmt.Registry) error
- type RequestWorkflowCancellationResponse
- func (m *RequestWorkflowCancellationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RequestWorkflowCancellationResponse) MarshalBinary() ([]byte, error)
- func (m *RequestWorkflowCancellationResponse) UnmarshalBinary(b []byte) error
- func (m *RequestWorkflowCancellationResponse) Validate(formats strfmt.Registry) error
- type RestoreWorkspaceRequest
- func (m *RestoreWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RestoreWorkspaceRequest) MarshalBinary() ([]byte, error)
- func (m *RestoreWorkspaceRequest) UnmarshalBinary(b []byte) error
- func (m *RestoreWorkspaceRequest) Validate(formats strfmt.Registry) error
- type RestoreWorkspaceResponse
- func (m *RestoreWorkspaceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RestoreWorkspaceResponse) MarshalBinary() ([]byte, error)
- func (m *RestoreWorkspaceResponse) UnmarshalBinary(b []byte) error
- func (m *RestoreWorkspaceResponse) Validate(formats strfmt.Registry) error
- type ResumeWorkspaceRequest
- func (m *ResumeWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResumeWorkspaceRequest) MarshalBinary() ([]byte, error)
- func (m *ResumeWorkspaceRequest) UnmarshalBinary(b []byte) error
- func (m *ResumeWorkspaceRequest) Validate(formats strfmt.Registry) error
- type ResumeWorkspaceResponse
- type RevokeWorkspaceAccessRequest
- func (m *RevokeWorkspaceAccessRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RevokeWorkspaceAccessRequest) MarshalBinary() ([]byte, error)
- func (m *RevokeWorkspaceAccessRequest) UnmarshalBinary(b []byte) error
- func (m *RevokeWorkspaceAccessRequest) Validate(formats strfmt.Registry) error
- type RevokeWorkspaceAccessResponse
- type RootVolume
- type SuspendWorkspaceRequest
- func (m *SuspendWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SuspendWorkspaceRequest) MarshalBinary() ([]byte, error)
- func (m *SuspendWorkspaceRequest) UnmarshalBinary(b []byte) error
- func (m *SuspendWorkspaceRequest) Validate(formats strfmt.Registry) error
- type SuspendWorkspaceResponse
- type Tag
- type Topology
- type UpgradeState
- type UpgradeWorkspaceRequest
- func (m *UpgradeWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpgradeWorkspaceRequest) MarshalBinary() ([]byte, error)
- func (m *UpgradeWorkspaceRequest) UnmarshalBinary(b []byte) error
- func (m *UpgradeWorkspaceRequest) Validate(formats strfmt.Registry) error
- type UpgradeWorkspaceResponse
- type WorkflowMetadata
- type Workspace
- type WorkspaceInstanceGroup
- func (m *WorkspaceInstanceGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *WorkspaceInstanceGroup) MarshalBinary() ([]byte, error)
- func (m *WorkspaceInstanceGroup) UnmarshalBinary(b []byte) error
- func (m *WorkspaceInstanceGroup) Validate(formats strfmt.Registry) error
- type WorkspaceSummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditEvent ¶
type AuditEvent struct { // Action the user has generated. // Required: true Action *string `json:"action"` // Time at creation of event. // Required: true // Format: date-time CreatedDate *strfmt.DateTime `json:"createdDate"` // Unique request ID to keep track of event. // Required: true RequestID *string `json:"requestID"` // UserCrn to track which user has caused the event. // Required: true UserCrn *string `json:"userCrn"` // Workspace crn where the event observed. // Required: true WorkspaceCrn *string `json:"workspaceCrn"` }
AuditEvent Audit event descibes an performed or performing in a given workspace.
swagger:model AuditEvent
func (*AuditEvent) ContextValidate ¶
ContextValidate validates this audit event based on context it is used
func (*AuditEvent) MarshalBinary ¶
func (m *AuditEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuditEvent) UnmarshalBinary ¶
func (m *AuditEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuditEvents ¶
type AuditEvents struct { // AuditEvent belong to the workspace crn. // Required: true Events []*AuditEvent `json:"events"` // Workspace crn unique for the set of audit events. // Required: true WorkspaceCrn *string `json:"workspaceCrn"` }
AuditEvents AuditEvents contains all the audit events for a given workspace crn.
swagger:model AuditEvents
func (*AuditEvents) ContextValidate ¶
ContextValidate validate this audit events based on the context it is used
func (*AuditEvents) MarshalBinary ¶
func (m *AuditEvents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuditEvents) UnmarshalBinary ¶
func (m *AuditEvents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuditLog ¶
type AuditLog struct { // Time at which the log is created. // Required: true // Format: date-time CreatedDate *strfmt.DateTime `json:"createdDate"` // Log description. // Required: true Log *string `json:"log"` }
AuditLog Audit log represents an individual log.
swagger:model AuditLog
func (*AuditLog) ContextValidate ¶
ContextValidate validates this audit log based on context it is used
func (*AuditLog) MarshalBinary ¶
MarshalBinary interface implementation
func (*AuditLog) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AuditLogs ¶
type AuditLogs struct { // Total number of logs associated with the request id. // Required: true Count *int32 `json:"count"` // Contains all the logs for a given request id. // Required: true Logs []*AuditLog `json:"logs"` // The request ID associated with a long-running operation to fetch the logs for. // Required: true RequestID *string `json:"requestID"` }
AuditLogs AuditLogs contains all the logs for a given request id.
swagger:model AuditLogs
func (*AuditLogs) ContextValidate ¶
ContextValidate validate this audit logs based on the context it is used
func (*AuditLogs) MarshalBinary ¶
MarshalBinary interface implementation
func (*AuditLogs) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Autoscaling ¶
type Autoscaling struct { // The boolean flag to enable the auto scaling. Enabled bool `json:"enabled,omitempty"` // The maximum number of instance for auto scaling. // Required: true MaxInstances *int32 `json:"maxInstances"` // The minimum number of instance for auto scaling. // Required: true MinInstances *int32 `json:"minInstances"` }
Autoscaling Configuration for instance auto scaling.
swagger:model Autoscaling
func (*Autoscaling) ContextValidate ¶
ContextValidate validates this autoscaling based on context it is used
func (*Autoscaling) MarshalBinary ¶
func (m *Autoscaling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Autoscaling) UnmarshalBinary ¶
func (m *Autoscaling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupDetail ¶
type BackupDetail struct { // The CRN of the backup snapshot. BackupCrn string `json:"backupCrn,omitempty"` // The name of the backup snapshot. BackupName string `json:"backupName,omitempty"` // The status of the backup. BackupStatus string `json:"backupStatus,omitempty"` // The creation time of the backup snapshot. // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // The CRN of the creator. CreatorCrn string `json:"creatorCrn,omitempty"` // The version of the backed-up workspace at the time of backup. WorkspaceVersionAtBackup string `json:"workspaceVersionAtBackup,omitempty"` }
BackupDetail Backup Detail response object for listing backups.
swagger:model BackupDetail
func (*BackupDetail) ContextValidate ¶
ContextValidate validates this backup detail based on context it is used
func (*BackupDetail) MarshalBinary ¶
func (m *BackupDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupDetail) UnmarshalBinary ¶
func (m *BackupDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupMetadata ¶
type BackupMetadata struct { // The backup vault name. BackupVaultName string `json:"backupVaultName,omitempty"` // Whether successful backups are available for the workspace. IsSuccessfulBackupAvailable bool `json:"isSuccessfulBackupAvailable,omitempty"` // The status of the last backup initiated. LastBackupStatus string `json:"lastBackupStatus,omitempty"` // The time when the last successful backup was taken. // Format: date-time LastSuccessfulBackupTime strfmt.DateTime `json:"lastSuccessfulBackupTime,omitempty"` // The number of backups available. NumberOfAvailableBackups int64 `json:"numberOfAvailableBackups,omitempty"` }
BackupMetadata Backup metadata response object for the workspace summary.
swagger:model BackupMetadata
func (*BackupMetadata) ContextValidate ¶
ContextValidate validates this backup metadata based on context it is used
func (*BackupMetadata) MarshalBinary ¶
func (m *BackupMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupMetadata) UnmarshalBinary ¶
func (m *BackupMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupWorkspaceRequest ¶
type BackupWorkspaceRequest struct { // The timeout(in minutes) to use for the execution of the backup jobs. BackupJobTimeoutMinutes int32 `json:"backupJobTimeoutMinutes,omitempty"` // Backup name. // Required: true BackupName *string `json:"backupName"` // Skip pre-flight validations if requested. SkipValidation bool `json:"skipValidation,omitempty"` // CRN of the workspace to backup. // Required: true WorkspaceCrn *string `json:"workspaceCrn"` }
BackupWorkspaceRequest The request object for workspace backup.
swagger:model BackupWorkspaceRequest
func (*BackupWorkspaceRequest) ContextValidate ¶
func (m *BackupWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this backup workspace request based on context it is used
func (*BackupWorkspaceRequest) MarshalBinary ¶
func (m *BackupWorkspaceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupWorkspaceRequest) UnmarshalBinary ¶
func (m *BackupWorkspaceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupWorkspaceResponse ¶
type BackupWorkspaceResponse struct { // CRN of the backup generated. BackupCrn string `json:"backupCrn,omitempty"` // Name of the vault where backup related volumes are stored. VaultName string `json:"vaultName,omitempty"` }
BackupWorkspaceResponse The response object for workspace backup.
swagger:model BackupWorkspaceResponse
func (*BackupWorkspaceResponse) ContextValidate ¶
func (m *BackupWorkspaceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this backup workspace response based on context it is used
func (*BackupWorkspaceResponse) MarshalBinary ¶
func (m *BackupWorkspaceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupWorkspaceResponse) UnmarshalBinary ¶
func (m *BackupWorkspaceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateWorkspaceRequest ¶
type CreateWorkspaceRequest struct { // The whitelist of CIDR blocks which can access the API server. AuthorizedIPRanges []string `json:"authorizedIPRanges"` // Toggle for cdsw migration preflight validation CdswMigrationMode string `json:"cdswMigrationMode,omitempty"` // The boolean flag to disable TLS setup for workspace. By default, the TLS is enabled. DisableTLS bool `json:"disableTLS,omitempty"` // Enables Cloudera Machine Learning governance by integrating with Cloudera Atlas. By default, this flag is disabled. EnableGovernance bool `json:"enableGovernance,omitempty"` // Enables the model metrics service for exporting metrics for models to a metrics store. EnableModelMetrics bool `json:"enableModelMetrics,omitempty"` // The boolean flag is used to enable monitoring. By default, monitoring is disabled. EnableMonitoring bool `json:"enableMonitoring,omitempty"` // The environment for the workspace to create. // Required: true EnvironmentName *string `json:"environmentName"` // Optional configurations for an existing Postgres to export model metrics to. ExistingDatabaseConfig *ExistingDatabaseConfig `json:"existingDatabaseConfig,omitempty"` // Optionally use an existing NFS by providing the hostname and desired path (Azure and Private Cloud only). ExistingNFS string `json:"existingNFS,omitempty"` // The whitelist of IPs for load balancer. LoadBalancerIPWhitelists []string `json:"loadBalancerIPWhitelists"` // The NFS Protocol version of the NFS server we are using for Azure and Private Cloud. NfsVersion string `json:"nfsVersion,omitempty"` // Outbound Types provided for the workspace. OutboundTypes []OutboundTypes `json:"outboundTypes"` // Whether to create a private cluster. PrivateCluster bool `json:"privateCluster,omitempty"` // The request for Kubernetes workspace provision. Required in public cloud. ProvisionK8sRequest *ProvisionK8sRequest `json:"provisionK8sRequest,omitempty"` // Skip pre-flight validations if requested SkipValidation bool `json:"skipValidation,omitempty"` // The static subdomain to be used for the workspace. StaticSubdomain string `json:"staticSubdomain,omitempty"` // The list of subnets used for the load balancer that CML creates. SubnetsForLoadBalancers []string `json:"subnetsForLoadBalancers"` // The boolean flag to request public load balancer. By default, private load balancer is used. UsePublicLoadBalancer bool `json:"usePublicLoadBalancer,omitempty"` // Whether to whitelist only 'authorizedIPRanges' given or all public IPs. WhitelistAuthorizedIPRanges bool `json:"whitelistAuthorizedIPRanges,omitempty"` // The name of the workspace to create. // Required: true WorkspaceName *string `json:"workspaceName"` }
CreateWorkspaceRequest Request object for the CreateWorkspace method.
swagger:model CreateWorkspaceRequest
func (*CreateWorkspaceRequest) ContextValidate ¶
func (m *CreateWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create workspace request based on the context it is used
func (*CreateWorkspaceRequest) MarshalBinary ¶
func (m *CreateWorkspaceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateWorkspaceRequest) UnmarshalBinary ¶
func (m *CreateWorkspaceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateWorkspaceResponse ¶
type CreateWorkspaceResponse interface{}
CreateWorkspaceResponse Response object for the CreateWorkspace method.
swagger:model CreateWorkspaceResponse
type DeleteBackupRequest ¶
type DeleteBackupRequest struct { // The CRN of the backup to be deleted. // Required: true BackupCrn *string `json:"backupCrn"` // Skip pre-flight validations if requested. SkipValidation bool `json:"skipValidation,omitempty"` }
DeleteBackupRequest The request object for DeleteBackup operation.
swagger:model DeleteBackupRequest
func (*DeleteBackupRequest) ContextValidate ¶
ContextValidate validates this delete backup request based on context it is used
func (*DeleteBackupRequest) MarshalBinary ¶
func (m *DeleteBackupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteBackupRequest) UnmarshalBinary ¶
func (m *DeleteBackupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteBackupResponse ¶
type DeleteBackupResponse struct { // The ID of the delete-backup workflow. WorkflowID string `json:"workflowId,omitempty"` }
DeleteBackupResponse The response object for DeleteBackup operation.
swagger:model DeleteBackupResponse
func (*DeleteBackupResponse) ContextValidate ¶
ContextValidate validates this delete backup response based on context it is used
func (*DeleteBackupResponse) MarshalBinary ¶
func (m *DeleteBackupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteBackupResponse) UnmarshalBinary ¶
func (m *DeleteBackupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteInstanceGroupRequest ¶
type DeleteInstanceGroupRequest struct { // The instance group that we want to delete from the workspace. // Required: true InstanceGroupName *string `json:"instanceGroupName"` // The CRN of the workspace from which instance group is to be deleted. // Required: true WorkspaceCrn *string `json:"workspaceCrn"` }
DeleteInstanceGroupRequest Request object for the DeleteInstanceGroup method.
swagger:model DeleteInstanceGroupRequest
func (*DeleteInstanceGroupRequest) ContextValidate ¶
func (m *DeleteInstanceGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete instance group request based on context it is used
func (*DeleteInstanceGroupRequest) MarshalBinary ¶
func (m *DeleteInstanceGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteInstanceGroupRequest) UnmarshalBinary ¶
func (m *DeleteInstanceGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteInstanceGroupResponse ¶
type DeleteInstanceGroupResponse interface{}
DeleteInstanceGroupResponse Response object for the DeleteInstanceGroup method.
swagger:model DeleteInstanceGroupResponse
type DeleteWorkspaceRequest ¶
type DeleteWorkspaceRequest struct { // The environment for the workspace to delete. EnvironmentName string `json:"environmentName,omitempty"` // Force delete a workspace even if errors occur during deletion. Force delete removes the guarantee that resources in your cloud account will be cleaned up. // Required: true Force *bool `json:"force"` // The remove storage flag indicates weather to keep the backing workspace filesystem storage or remove it during delete. RemoveStorage bool `json:"removeStorage,omitempty"` // The CRN of the workspace to delete. If CRN is specified only the CRN is used for identifying the workspace, environment and name arguments are ignored. WorkspaceCrn string `json:"workspaceCrn,omitempty"` // The name of the workspace to delete. WorkspaceName string `json:"workspaceName,omitempty"` }
DeleteWorkspaceRequest Request object for the DeleteWorkspace method.
swagger:model DeleteWorkspaceRequest
func (*DeleteWorkspaceRequest) ContextValidate ¶
func (m *DeleteWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete workspace request based on context it is used
func (*DeleteWorkspaceRequest) MarshalBinary ¶
func (m *DeleteWorkspaceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteWorkspaceRequest) UnmarshalBinary ¶
func (m *DeleteWorkspaceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteWorkspaceResponse ¶
type DeleteWorkspaceResponse interface{}
DeleteWorkspaceResponse Response object for the DeleteWorkspace method.
swagger:model DeleteWorkspaceResponse
type DescribeWorkspaceRequest ¶
type DescribeWorkspaceRequest struct { // The environment for the workspace to describe. EnvironmentName string `json:"environmentName,omitempty"` // The CRN of the workspace to describe. If CRN is specified only the CRN is used for identifying the workspace, environment and name arguments are ignored. WorkspaceCrn string `json:"workspaceCrn,omitempty"` // The name of the workspace to describe. WorkspaceName string `json:"workspaceName,omitempty"` }
DescribeWorkspaceRequest Request object for the DescribeWorkspace method.
swagger:model DescribeWorkspaceRequest
func (*DescribeWorkspaceRequest) ContextValidate ¶
func (m *DescribeWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this describe workspace request based on context it is used
func (*DescribeWorkspaceRequest) MarshalBinary ¶
func (m *DescribeWorkspaceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DescribeWorkspaceRequest) UnmarshalBinary ¶
func (m *DescribeWorkspaceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DescribeWorkspaceResponse ¶
type DescribeWorkspaceResponse struct { // The workspace. // Required: true Workspace *Workspace `json:"workspace"` }
DescribeWorkspaceResponse Response object for the DescribeWorkspace method.
swagger:model DescribeWorkspaceResponse
func (*DescribeWorkspaceResponse) ContextValidate ¶
func (m *DescribeWorkspaceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this describe workspace response based on the context it is used
func (*DescribeWorkspaceResponse) MarshalBinary ¶
func (m *DescribeWorkspaceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DescribeWorkspaceResponse) UnmarshalBinary ¶
func (m *DescribeWorkspaceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // The error code. Code string `json:"code,omitempty"` // The error message. Message string `json:"message,omitempty"` }
Error An object returned on an error.
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ExistingDatabaseConfig ¶
type ExistingDatabaseConfig struct { // Optionally provide a Postgresql database host to export model metrics to. ExistingDatabaseHost string `json:"existingDatabaseHost,omitempty"` // Optionally provide a Postgresql database name to export model metrics to. ExistingDatabaseName string `json:"existingDatabaseName,omitempty"` // Optionally provide a Postgresql database password to use when exporting model metrics. ExistingDatabasePassword string `json:"existingDatabasePassword,omitempty"` // Optionally provide a Postgresql database port to export model metrics to. ExistingDatabasePort string `json:"existingDatabasePort,omitempty"` // Optionally provide a Postgresql database user to use when exporting model metrics. ExistingDatabaseUser string `json:"existingDatabaseUser,omitempty"` }
ExistingDatabaseConfig Configurations for bringing an existing database for model metrics
swagger:model ExistingDatabaseConfig
func (*ExistingDatabaseConfig) ContextValidate ¶
func (m *ExistingDatabaseConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this existing database config based on context it is used
func (*ExistingDatabaseConfig) MarshalBinary ¶
func (m *ExistingDatabaseConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExistingDatabaseConfig) UnmarshalBinary ¶
func (m *ExistingDatabaseConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAuditEventsRequest ¶
type GetAuditEventsRequest struct { // Workspace crn for which audit events to be fetched. // Required: true WorkspaceCrn *string `json:"workspaceCrn"` }
GetAuditEventsRequest GetAuditEventsRequest to get all audit events for a given workspace crn.
swagger:model GetAuditEventsRequest
func (*GetAuditEventsRequest) ContextValidate ¶
ContextValidate validates this get audit events request based on context it is used
func (*GetAuditEventsRequest) MarshalBinary ¶
func (m *GetAuditEventsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAuditEventsRequest) UnmarshalBinary ¶
func (m *GetAuditEventsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAuditEventsResponse ¶
type GetAuditEventsResponse struct { // Contains all the audit events for a given workspace crn. // Required: true AuditEvents *AuditEvents `json:"auditEvents"` }
GetAuditEventsResponse GetAuditEventsResponse containes all the audit events for a given workspace crn.
swagger:model GetAuditEventsResponse
func (*GetAuditEventsResponse) ContextValidate ¶
func (m *GetAuditEventsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get audit events response based on the context it is used
func (*GetAuditEventsResponse) MarshalBinary ¶
func (m *GetAuditEventsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAuditEventsResponse) UnmarshalBinary ¶
func (m *GetAuditEventsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetKubeconfigRequest ¶
type GetKubeconfigRequest struct { // The environment that the workspace is a member of. EnvironmentName string `json:"environmentName,omitempty"` // The CRN of the workspace to list access. WorkspaceCrn string `json:"workspaceCrn,omitempty"` // The name of the workspace to list access. WorkspaceName string `json:"workspaceName,omitempty"` }
GetKubeconfigRequest Request object for the GetKubeconfig method.
swagger:model GetKubeconfigRequest
func (*GetKubeconfigRequest) ContextValidate ¶
ContextValidate validates this get kubeconfig request based on context it is used
func (*GetKubeconfigRequest) MarshalBinary ¶
func (m *GetKubeconfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetKubeconfigRequest) UnmarshalBinary ¶
func (m *GetKubeconfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetKubeconfigResponse ¶
type GetKubeconfigResponse struct { // The list of users that have access. // Required: true Kubeconfig *string `json:"kubeconfig"` }
GetKubeconfigResponse Response object for the GetKubeconfig method.
swagger:model GetKubeconfigResponse
func (*GetKubeconfigResponse) ContextValidate ¶
ContextValidate validates this get kubeconfig response based on context it is used
func (*GetKubeconfigResponse) MarshalBinary ¶
func (m *GetKubeconfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetKubeconfigResponse) UnmarshalBinary ¶
func (m *GetKubeconfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetLatestWorkspaceVersionRequest ¶
type GetLatestWorkspaceVersionRequest interface{}
GetLatestWorkspaceVersionRequest Request object for GetLatestWorkspaceVersion.
swagger:model GetLatestWorkspaceVersionRequest
type GetLatestWorkspaceVersionResponse ¶
type GetLatestWorkspaceVersionResponse struct { // The latest version of a workspace that is used when deploying Cloudera Machine Learning workspaces. // Required: true Version *string `json:"version"` }
GetLatestWorkspaceVersionResponse Response object for GetLatestWorkspaceVersion.
swagger:model GetLatestWorkspaceVersionResponse
func (*GetLatestWorkspaceVersionResponse) ContextValidate ¶
func (m *GetLatestWorkspaceVersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get latest workspace version response based on context it is used
func (*GetLatestWorkspaceVersionResponse) MarshalBinary ¶
func (m *GetLatestWorkspaceVersionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetLatestWorkspaceVersionResponse) UnmarshalBinary ¶
func (m *GetLatestWorkspaceVersionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetLogsRequest ¶
type GetLogsRequest struct { // Flag to fetch all logs. FetchAll bool `json:"fetchAll,omitempty"` // offset from which the logs should be fetched. Offset int32 `json:"offset,omitempty"` // Limit the number of logs. PageSize int32 `json:"pageSize,omitempty"` // Unique Key to identify a set of logs. // Required: true RequestID *string `json:"requestID"` // WorkspaceCrn the requestID belongs to. // Required: true WorkspaceCrn *string `json:"workspaceCrn"` }
GetLogsRequest GetLogsRequestfor getting logs for a request ID.
swagger:model GetLogsRequest
func (*GetLogsRequest) ContextValidate ¶
ContextValidate validates this get logs request based on context it is used
func (*GetLogsRequest) MarshalBinary ¶
func (m *GetLogsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetLogsRequest) UnmarshalBinary ¶
func (m *GetLogsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetLogsResponse ¶
type GetLogsResponse struct { // Contains all the logs for a given request id. // Required: true AuditLogs *AuditLogs `json:"auditLogs"` }
GetLogsResponse GetLogsResponse contains all the logs for a given request id.
swagger:model GetLogsResponse
func (*GetLogsResponse) ContextValidate ¶
ContextValidate validate this get logs response based on the context it is used
func (*GetLogsResponse) MarshalBinary ¶
func (m *GetLogsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetLogsResponse) UnmarshalBinary ¶
func (m *GetLogsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GrantWorkspaceAccessRequest ¶
type GrantWorkspaceAccessRequest struct { // The aws user ARN to grant access to the corresponding EKS cluster. (Deprecated: Use identifier instead). Arn string `json:"arn,omitempty"` // The environment that the workspace is a member of. EnvironmentName string `json:"environmentName,omitempty"` // The cloud provider user id which will be granted access to the workspace's Kubernetes cluster. Identifier string `json:"identifier,omitempty"` // The CRN of the workspace to grant access to. If CRN is specified only the CRN is used for identifying the workspace, environment and name arguments are ignored. WorkspaceCrn string `json:"workspaceCrn,omitempty"` // The name of the workspace to grant access to. WorkspaceName string `json:"workspaceName,omitempty"` }
GrantWorkspaceAccessRequest Request object for the GrantWorkspaceAccess method.
swagger:model GrantWorkspaceAccessRequest
func (*GrantWorkspaceAccessRequest) ContextValidate ¶
func (m *GrantWorkspaceAccessRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this grant workspace access request based on context it is used
func (*GrantWorkspaceAccessRequest) MarshalBinary ¶
func (m *GrantWorkspaceAccessRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GrantWorkspaceAccessRequest) UnmarshalBinary ¶
func (m *GrantWorkspaceAccessRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GrantWorkspaceAccessResponse ¶
type GrantWorkspaceAccessResponse struct { // The Kubernetes config file // Required: true Kubeconfig *string `json:"kubeconfig"` }
GrantWorkspaceAccessResponse Response object for the GrantWorkspaceAccess method.
swagger:model GrantWorkspaceAccessResponse
func (*GrantWorkspaceAccessResponse) ContextValidate ¶
func (m *GrantWorkspaceAccessResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this grant workspace access response based on context it is used
func (*GrantWorkspaceAccessResponse) MarshalBinary ¶
func (m *GrantWorkspaceAccessResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GrantWorkspaceAccessResponse) UnmarshalBinary ¶
func (m *GrantWorkspaceAccessResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HealthInfo ¶
type HealthInfo struct { // The detail of the health info. // Required: true Details []string `json:"details"` // The boolean that indicates the health status. // Required: true IsHealthy *bool `json:"isHealthy"` // The message to show for the health info. // Required: true Message *string `json:"message"` // The resource name being checked. // Required: true ResourceName *string `json:"resourceName"` // The timestamp for the heartbeat. // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
HealthInfo Healthinfo object contains the health information of a resource.
swagger:model HealthInfo
func (*HealthInfo) ContextValidate ¶
ContextValidate validates this health info based on context it is used
func (*HealthInfo) MarshalBinary ¶
func (m *HealthInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HealthInfo) UnmarshalBinary ¶
func (m *HealthInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Instance ¶
type Instance struct { // Availability zone the instance belongs to. // Required: true AvailabilityZone *string `json:"availabilityZone"` // Unique instance Id generated by the cloud provider. // Required: true InstanceID *string `json:"instanceId"` }
Instance Represents each instance in an instance group.
swagger:model Instance
func (*Instance) ContextValidate ¶
ContextValidate validates this instance based on context it is used
func (*Instance) MarshalBinary ¶
MarshalBinary interface implementation
func (*Instance) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type InstanceGroup ¶
type InstanceGroup struct { // The auto scaling configuration. Autoscaling *Autoscaling `json:"autoscaling,omitempty"` // The networking rules for the ingress. IngressRules []string `json:"ingressRules"` // The initial number of instance node. InstanceCount int32 `json:"instanceCount,omitempty"` // The tier of the instance i.e. on-demand/spot. InstanceTier string `json:"instanceTier,omitempty"` // The cloud provider instance type for the node instance. // Required: true InstanceType *string `json:"instanceType"` // The unique name of the instance group. Name string `json:"name,omitempty"` // The root volume of the instance. RootVolume *RootVolume `json:"rootVolume,omitempty"` }
InstanceGroup Contains the necessary info for an instance group.
swagger:model InstanceGroup
func (*InstanceGroup) ContextValidate ¶
ContextValidate validate this instance group based on the context it is used
func (*InstanceGroup) MarshalBinary ¶
func (m *InstanceGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstanceGroup) UnmarshalBinary ¶
func (m *InstanceGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListWorkspaceAccessRequest ¶
type ListWorkspaceAccessRequest struct { // The environment that the workspace is a member of. EnvironmentName string `json:"environmentName,omitempty"` // The CRN of the workspace to list access. If CRN is specified only the CRN is used for identifying the workspace, environment and name arguments are ignored. WorkspaceCrn string `json:"workspaceCrn,omitempty"` // The name of the workspace to list access. WorkspaceName string `json:"workspaceName,omitempty"` }
ListWorkspaceAccessRequest Request object for the ListWorkspace method.
swagger:model ListWorkspaceAccessRequest
func (*ListWorkspaceAccessRequest) ContextValidate ¶
func (m *ListWorkspaceAccessRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list workspace access request based on context it is used
func (*ListWorkspaceAccessRequest) MarshalBinary ¶
func (m *ListWorkspaceAccessRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListWorkspaceAccessRequest) UnmarshalBinary ¶
func (m *ListWorkspaceAccessRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListWorkspaceAccessResponse ¶
type ListWorkspaceAccessResponse struct { // The list of users that have access. // Required: true Users []string `json:"users"` }
ListWorkspaceAccessResponse Response object for the ListWorkspaceAccess method.
swagger:model ListWorkspaceAccessResponse
func (*ListWorkspaceAccessResponse) ContextValidate ¶
func (m *ListWorkspaceAccessResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list workspace access response based on context it is used
func (*ListWorkspaceAccessResponse) MarshalBinary ¶
func (m *ListWorkspaceAccessResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListWorkspaceAccessResponse) UnmarshalBinary ¶
func (m *ListWorkspaceAccessResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListWorkspaceBackupsQueryOptions ¶
type ListWorkspaceBackupsQueryOptions struct { // When set to true, will return the metadata of the environment where the backed-up workspace is/was present. ExpandEnvironmentMetadata bool `json:"expandEnvironmentMetadata,omitempty"` }
ListWorkspaceBackupsQueryOptions Query options object for ListWorkspaceBackups method.
swagger:model ListWorkspaceBackupsQueryOptions
func (*ListWorkspaceBackupsQueryOptions) ContextValidate ¶
func (m *ListWorkspaceBackupsQueryOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list workspace backups query options based on context it is used
func (*ListWorkspaceBackupsQueryOptions) MarshalBinary ¶
func (m *ListWorkspaceBackupsQueryOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListWorkspaceBackupsQueryOptions) UnmarshalBinary ¶
func (m *ListWorkspaceBackupsQueryOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListWorkspaceBackupsRequest ¶
type ListWorkspaceBackupsRequest struct { // The environment for the workspace to list backups for. EnvironmentName string `json:"environmentName,omitempty"` // Additional query options to enhance/mutate the API response. QueryOptions *ListWorkspaceBackupsQueryOptions `json:"queryOptions,omitempty"` // The CRN of the workspace to list backups for. If this field is specified, environmentName and workspaceName are ignored. WorkspaceCrn string `json:"workspaceCrn,omitempty"` // The name of the workspace to list backups for. WorkspaceName string `json:"workspaceName,omitempty"` }
ListWorkspaceBackupsRequest Request object for ListWorkspaceBackups method.
swagger:model ListWorkspaceBackupsRequest
func (*ListWorkspaceBackupsRequest) ContextValidate ¶
func (m *ListWorkspaceBackupsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list workspace backups request based on the context it is used
func (*ListWorkspaceBackupsRequest) MarshalBinary ¶
func (m *ListWorkspaceBackupsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListWorkspaceBackupsRequest) UnmarshalBinary ¶
func (m *ListWorkspaceBackupsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListWorkspaceBackupsResponse ¶
type ListWorkspaceBackupsResponse struct { // The list of backups along with their details. Backups []*BackupDetail `json:"backups"` }
ListWorkspaceBackupsResponse Response object for ListWorkspaceBackups method.
swagger:model ListWorkspaceBackupsResponse
func (*ListWorkspaceBackupsResponse) ContextValidate ¶
func (m *ListWorkspaceBackupsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list workspace backups response based on the context it is used
func (*ListWorkspaceBackupsResponse) MarshalBinary ¶
func (m *ListWorkspaceBackupsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListWorkspaceBackupsResponse) UnmarshalBinary ¶
func (m *ListWorkspaceBackupsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListWorkspacesRequest ¶
type ListWorkspacesRequest struct { // Additional query options. QueryOptions []string `json:"queryOptions"` }
ListWorkspacesRequest Request object for the ListWorkspaces method.
swagger:model ListWorkspacesRequest
func (*ListWorkspacesRequest) ContextValidate ¶
ContextValidate validates this list workspaces request based on context it is used
func (*ListWorkspacesRequest) MarshalBinary ¶
func (m *ListWorkspacesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListWorkspacesRequest) UnmarshalBinary ¶
func (m *ListWorkspacesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListWorkspacesResponse ¶
type ListWorkspacesResponse struct { // The list of workspaces. Workspaces []*WorkspaceSummary `json:"workspaces"` }
ListWorkspacesResponse Response object for the ListWorkspaces method.
swagger:model ListWorkspacesResponse
func (*ListWorkspacesResponse) ContextValidate ¶
func (m *ListWorkspacesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list workspaces response based on the context it is used
func (*ListWorkspacesResponse) MarshalBinary ¶
func (m *ListWorkspacesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListWorkspacesResponse) UnmarshalBinary ¶
func (m *ListWorkspacesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModifyClusterInstanceGroupRequest ¶
type ModifyClusterInstanceGroupRequest struct { // The name of the instance group of the workspace cluster to modify. // Required: true InstanceGroupName *string `json:"instanceGroupName"` // The desired instance type of the workspace cluster instance group. // Required: true InstanceType *string `json:"instanceType"` // The desired autoscaling min of the workspace cluster instance group. // Required: true Max *int32 `json:"max"` // The desired autoscaling min of the workspace cluster instance group. // Required: true Min *int32 `json:"min"` // The CRN of the workspace cluster to modify. // Required: true WorkspaceCrn *string `json:"workspaceCrn"` }
ModifyClusterInstanceGroupRequest Request object for ModifyClusterInstanceGroup.
swagger:model ModifyClusterInstanceGroupRequest
func (*ModifyClusterInstanceGroupRequest) ContextValidate ¶
func (m *ModifyClusterInstanceGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this modify cluster instance group request based on context it is used
func (*ModifyClusterInstanceGroupRequest) MarshalBinary ¶
func (m *ModifyClusterInstanceGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModifyClusterInstanceGroupRequest) UnmarshalBinary ¶
func (m *ModifyClusterInstanceGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModifyClusterInstanceGroupResponse ¶
type ModifyClusterInstanceGroupResponse interface{}
ModifyClusterInstanceGroupResponse Response object for ModifyClusterInstanceGroup.
swagger:model ModifyClusterInstanceGroupResponse
type ModifyClusterSecurityRequest ¶
type ModifyClusterSecurityRequest struct { // Whether to allow only authorized IP ranges given or all public IPs. // Required: true AllowlistAuthorizedIPRanges *bool `json:"allowlistAuthorizedIPRanges"` // The allowlist of CIDR blocks which can access the API server. // Required: true AuthorizedIPRanges []string `json:"authorizedIPRanges"` // The CRN of the workspace cluster to modify. // Required: true WorkspaceCrn *string `json:"workspaceCrn"` }
ModifyClusterSecurityRequest Request object for ModifyClusterSecurity.
swagger:model ModifyClusterSecurityRequest
func (*ModifyClusterSecurityRequest) ContextValidate ¶
func (m *ModifyClusterSecurityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this modify cluster security request based on context it is used
func (*ModifyClusterSecurityRequest) MarshalBinary ¶
func (m *ModifyClusterSecurityRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModifyClusterSecurityRequest) UnmarshalBinary ¶
func (m *ModifyClusterSecurityRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModifyClusterSecurityResponse ¶
type ModifyClusterSecurityResponse interface{}
ModifyClusterSecurityResponse Response object for ModifyClusterSecurity.
swagger:model ModifyClusterSecurityResponse
type ModifyWorkspaceLoadBalancerRequest ¶
type ModifyWorkspaceLoadBalancerRequest struct { // The allowlist of CIDR blocks which can access the loadbalancer. // Required: true LoadBalancerIPAllowLists []string `json:"loadBalancerIPAllowLists"` // The CRN of the workspace cluster to modify. // Required: true WorkspaceCrn *string `json:"workspaceCrn"` }
ModifyWorkspaceLoadBalancerRequest Request object for ModifyWorkspaceLoadBalancer.
swagger:model ModifyWorkspaceLoadBalancerRequest
func (*ModifyWorkspaceLoadBalancerRequest) ContextValidate ¶
func (m *ModifyWorkspaceLoadBalancerRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this modify workspace load balancer request based on context it is used
func (*ModifyWorkspaceLoadBalancerRequest) MarshalBinary ¶
func (m *ModifyWorkspaceLoadBalancerRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModifyWorkspaceLoadBalancerRequest) UnmarshalBinary ¶
func (m *ModifyWorkspaceLoadBalancerRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModifyWorkspaceLoadBalancerResponse ¶
type ModifyWorkspaceLoadBalancerResponse interface{}
ModifyWorkspaceLoadBalancerResponse Response object for ModifyWorkspaceLoadBalancer.
swagger:model ModifyWorkspaceLoadBalancerResponse
type OutboundTypes ¶
type OutboundTypes string
OutboundTypes List of possible Outbound types.
swagger:model OutboundTypes
const ( // OutboundTypesUNKNOWN captures enum value "UNKNOWN" OutboundTypesUNKNOWN OutboundTypes = "UNKNOWN" // OutboundTypesOUTBOUNDTYPEUDR captures enum value "OUTBOUND_TYPE_UDR" OutboundTypesOUTBOUNDTYPEUDR OutboundTypes = "OUTBOUND_TYPE_UDR" )
func NewOutboundTypes ¶
func NewOutboundTypes(value OutboundTypes) *OutboundTypes
func (OutboundTypes) ContextValidate ¶
ContextValidate validates this outbound types based on context it is used
func (OutboundTypes) Pointer ¶
func (m OutboundTypes) Pointer() *OutboundTypes
Pointer returns a pointer to a freshly-allocated OutboundTypes.
type OverlayNetwork ¶
type OverlayNetwork struct { // The plugin specifies specific cni vendor, ex: calico, weave etc. Plugin string `json:"plugin,omitempty"` // The options for overlay topology. Topology *Topology `json:"topology,omitempty"` }
OverlayNetwork Contains the information about overlay network.
swagger:model OverlayNetwork
func (*OverlayNetwork) ContextValidate ¶
ContextValidate validate this overlay network based on the context it is used
func (*OverlayNetwork) MarshalBinary ¶
func (m *OverlayNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OverlayNetwork) UnmarshalBinary ¶
func (m *OverlayNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProvisionK8sRequest ¶
type ProvisionK8sRequest struct { // The name of the environment for the workspace to create. // Required: true EnvironmentName *string `json:"environmentName"` // The instance groups. // Required: true InstanceGroups []*InstanceGroup `json:"instanceGroups"` // The overlay network for an AWS Kubernetes cluster's CNI. Network *OverlayNetwork `json:"network,omitempty"` // Tags to add to the cloud provider resources created. This is in addition to any tags added by Cloudera. Tags []*ProvisionTag `json:"tags"` }
ProvisionK8sRequest Request object for workspace provision.
swagger:model ProvisionK8sRequest
func (*ProvisionK8sRequest) ContextValidate ¶
ContextValidate validate this provision k8s request based on the context it is used
func (*ProvisionK8sRequest) MarshalBinary ¶
func (m *ProvisionK8sRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProvisionK8sRequest) UnmarshalBinary ¶
func (m *ProvisionK8sRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProvisionTag ¶
type ProvisionTag struct { // The name for the tag. // Required: true Key *string `json:"key"` // The value for the tag. // Required: true Value *string `json:"value"` }
ProvisionTag Contains a single tag entry that will be configured on cloud resources associated with a workspace.
swagger:model ProvisionTag
func (*ProvisionTag) ContextValidate ¶
ContextValidate validates this provision tag based on context it is used
func (*ProvisionTag) MarshalBinary ¶
func (m *ProvisionTag) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProvisionTag) UnmarshalBinary ¶
func (m *ProvisionTag) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RequestWorkflowCancellationRequest ¶
type RequestWorkflowCancellationRequest struct { // The unique identifier of the resource. ResourceID string `json:"resourceId,omitempty"` // The workflow type. WorkflowType string `json:"workflowType,omitempty"` }
RequestWorkflowCancellationRequest Request object for RequestWorkflowCancellation.
swagger:model RequestWorkflowCancellationRequest
func (*RequestWorkflowCancellationRequest) ContextValidate ¶
func (m *RequestWorkflowCancellationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this request workflow cancellation request based on context it is used
func (*RequestWorkflowCancellationRequest) MarshalBinary ¶
func (m *RequestWorkflowCancellationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestWorkflowCancellationRequest) UnmarshalBinary ¶
func (m *RequestWorkflowCancellationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RequestWorkflowCancellationResponse ¶
type RequestWorkflowCancellationResponse struct { // The list of workflow metedata for cancelled workflows. WorkflowMetadata []*WorkflowMetadata `json:"workflowMetadata"` }
RequestWorkflowCancellationResponse Response object for RequestWorkflowCancellation.
swagger:model RequestWorkflowCancellationResponse
func (*RequestWorkflowCancellationResponse) ContextValidate ¶
func (m *RequestWorkflowCancellationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this request workflow cancellation response based on the context it is used
func (*RequestWorkflowCancellationResponse) MarshalBinary ¶
func (m *RequestWorkflowCancellationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestWorkflowCancellationResponse) UnmarshalBinary ¶
func (m *RequestWorkflowCancellationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestoreWorkspaceRequest ¶
type RestoreWorkspaceRequest struct { // The CRN of the backup snapshot to used for restoring. BackupCrn string `json:"backupCrn,omitempty"` // The parameters required for a new Cloudera Machine Learning workspace. NewWorkspaceParameters *CreateWorkspaceRequest `json:"newWorkspaceParameters,omitempty"` // The timeout to restore the backup snapshots, in minutes. RestoreJobTimeoutMinutes int32 `json:"restoreJobTimeoutMinutes,omitempty"` // A boolean value to check if subdomain must be used or not. UseStaticSubdomain bool `json:"useStaticSubdomain,omitempty"` }
RestoreWorkspaceRequest Request object for RestoreWorkspace method.
swagger:model RestoreWorkspaceRequest
func (*RestoreWorkspaceRequest) ContextValidate ¶
func (m *RestoreWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this restore workspace request based on the context it is used
func (*RestoreWorkspaceRequest) MarshalBinary ¶
func (m *RestoreWorkspaceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestoreWorkspaceRequest) UnmarshalBinary ¶
func (m *RestoreWorkspaceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestoreWorkspaceResponse ¶
type RestoreWorkspaceResponse struct { // The CRN of the Cloudera Machine Learning workspace being provisioned. WorkspaceCrn string `json:"workspaceCrn,omitempty"` }
RestoreWorkspaceResponse Response object for the RestoreWorkspace method.
swagger:model RestoreWorkspaceResponse
func (*RestoreWorkspaceResponse) ContextValidate ¶
func (m *RestoreWorkspaceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this restore workspace response based on context it is used
func (*RestoreWorkspaceResponse) MarshalBinary ¶
func (m *RestoreWorkspaceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestoreWorkspaceResponse) UnmarshalBinary ¶
func (m *RestoreWorkspaceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResumeWorkspaceRequest ¶
type ResumeWorkspaceRequest struct { // The CRN of the workspace to resume. // Required: true WorkspaceCrn *string `json:"workspaceCrn"` }
ResumeWorkspaceRequest Request object for ResumeWorkspace.
swagger:model ResumeWorkspaceRequest
func (*ResumeWorkspaceRequest) ContextValidate ¶
func (m *ResumeWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this resume workspace request based on context it is used
func (*ResumeWorkspaceRequest) MarshalBinary ¶
func (m *ResumeWorkspaceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResumeWorkspaceRequest) UnmarshalBinary ¶
func (m *ResumeWorkspaceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResumeWorkspaceResponse ¶
type ResumeWorkspaceResponse interface{}
ResumeWorkspaceResponse Response object for ResumeWorkspace.
swagger:model ResumeWorkspaceResponse
type RevokeWorkspaceAccessRequest ¶
type RevokeWorkspaceAccessRequest struct { // The aws user ARN to revoke access to the corresponding EKS cluster. (Deprecated: Use identifier instead). Arn string `json:"arn,omitempty"` // The environment that the workspace is a member of. EnvironmentName string `json:"environmentName,omitempty"` // The cloud provider user id which will be granted access to the workspace's Kubernetes cluster. Identifier string `json:"identifier,omitempty"` // The CRN of the workspace to revoke access to. If CRN is specified only the CRN is used for identifying the workspace, environment and name arguments are ignored. WorkspaceCrn string `json:"workspaceCrn,omitempty"` // The name of the workspace to revoke access to. WorkspaceName string `json:"workspaceName,omitempty"` }
RevokeWorkspaceAccessRequest Request object for the RevokeWorkspace method.
swagger:model RevokeWorkspaceAccessRequest
func (*RevokeWorkspaceAccessRequest) ContextValidate ¶
func (m *RevokeWorkspaceAccessRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this revoke workspace access request based on context it is used
func (*RevokeWorkspaceAccessRequest) MarshalBinary ¶
func (m *RevokeWorkspaceAccessRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RevokeWorkspaceAccessRequest) UnmarshalBinary ¶
func (m *RevokeWorkspaceAccessRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RevokeWorkspaceAccessResponse ¶
type RevokeWorkspaceAccessResponse interface{}
RevokeWorkspaceAccessResponse Response object for the RevokeWorkspaceAccess method.
swagger:model RevokeWorkspaceAccessResponse
type RootVolume ¶
type RootVolume struct { // The volume size in GB. // Required: true Size *int64 `json:"size"` }
RootVolume Configuration for instance root device volume.
swagger:model RootVolume
func (*RootVolume) ContextValidate ¶
ContextValidate validates this root volume based on context it is used
func (*RootVolume) MarshalBinary ¶
func (m *RootVolume) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RootVolume) UnmarshalBinary ¶
func (m *RootVolume) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SuspendWorkspaceRequest ¶
type SuspendWorkspaceRequest struct { // The CRN of the workspace to suspend. // Required: true WorkspaceCrn *string `json:"workspaceCrn"` }
SuspendWorkspaceRequest Request object for SuspendWorkspace.
swagger:model SuspendWorkspaceRequest
func (*SuspendWorkspaceRequest) ContextValidate ¶
func (m *SuspendWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this suspend workspace request based on context it is used
func (*SuspendWorkspaceRequest) MarshalBinary ¶
func (m *SuspendWorkspaceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SuspendWorkspaceRequest) UnmarshalBinary ¶
func (m *SuspendWorkspaceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SuspendWorkspaceResponse ¶
type SuspendWorkspaceResponse interface{}
SuspendWorkspaceResponse Response object for SuspendWorkspace.
swagger:model SuspendWorkspaceResponse
type Tag ¶
type Tag struct { // The name for the tag. // Required: true Key *string `json:"key"` // The value for the tag. // Required: true Value *string `json:"value"` }
Tag Contains a single tag entry associated with a workspace.
swagger:model Tag
func (*Tag) ContextValidate ¶
ContextValidate validates this tag based on context it is used
func (*Tag) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Topology ¶
type Topology struct { // The options for subnets. Subnets []string `json:"subnets"` }
Topology Contains the information about topology.
swagger:model Topology
func (*Topology) ContextValidate ¶
ContextValidate validates this topology based on context it is used
func (*Topology) MarshalBinary ¶
MarshalBinary interface implementation
func (*Topology) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UpgradeState ¶
type UpgradeState struct { // The reason for the current state. Reason string `json:"reason,omitempty"` // The current upgrade state of the workspace. State string `json:"state,omitempty"` }
UpgradeState Response object for the workspace summary.
swagger:model UpgradeState
func (*UpgradeState) ContextValidate ¶
ContextValidate validates this upgrade state based on context it is used
func (*UpgradeState) MarshalBinary ¶
func (m *UpgradeState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpgradeState) UnmarshalBinary ¶
func (m *UpgradeState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpgradeWorkspaceRequest ¶
type UpgradeWorkspaceRequest struct { // The environment of the workspace. EnvironmentName string `json:"environmentName,omitempty"` // The version of workspace to upgrade to. (Deprecated). MlVersion string `json:"mlVersion,omitempty"` // The CRN of the workspace. If CRN is specified only the CRN is used for identifying the workspace, environment and name arguments are ignored. WorkspaceCrn string `json:"workspaceCrn,omitempty"` // The name of the workspace. WorkspaceName string `json:"workspaceName,omitempty"` }
UpgradeWorkspaceRequest Request object for the UpgradeWorkspace method.
swagger:model UpgradeWorkspaceRequest
func (*UpgradeWorkspaceRequest) ContextValidate ¶
func (m *UpgradeWorkspaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this upgrade workspace request based on context it is used
func (*UpgradeWorkspaceRequest) MarshalBinary ¶
func (m *UpgradeWorkspaceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpgradeWorkspaceRequest) UnmarshalBinary ¶
func (m *UpgradeWorkspaceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpgradeWorkspaceResponse ¶
type UpgradeWorkspaceResponse interface{}
UpgradeWorkspaceResponse Response object for the UpgradeWorkspace method.
swagger:model UpgradeWorkspaceResponse
type WorkflowMetadata ¶
type WorkflowMetadata struct { // The last known status of the workflow. LastKnownStatus string `json:"lastKnownStatus,omitempty"` // The unique identifier of the resource. ResourceID string `json:"resourceId,omitempty"` // The workflow identifier. WorkflowID string `json:"workflowId,omitempty"` // The workflow index. Monotonically increases for each subsequent workflow for a resource. WorkflowIndex int64 `json:"workflowIndex,omitempty"` // The workflow type. WorkflowType string `json:"workflowType,omitempty"` }
WorkflowMetadata The workflow metadata.
swagger:model WorkflowMetadata
func (*WorkflowMetadata) ContextValidate ¶
ContextValidate validates this workflow metadata based on context it is used
func (*WorkflowMetadata) MarshalBinary ¶
func (m *WorkflowMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WorkflowMetadata) UnmarshalBinary ¶
func (m *WorkflowMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Workspace ¶
type Workspace struct { // The whitelist of CIDR blocks which can access the API server. AuthorizedIPRanges []string `json:"authorizedIPRanges"` // The Backup MetaData for this Workspace BackupMetadata *BackupMetadata `json:"backupMetadata,omitempty"` // The cloud platform of the environment that was used to create this workspace. // Required: true CloudPlatform *string `json:"cloudPlatform"` // The basedomain of the cluster. ClusterBaseDomain string `json:"clusterBaseDomain,omitempty"` // The Cluster ID for the workspace. ClusterID string `json:"clusterID,omitempty"` // Creation date of workspace. // Format: date-time CreationDate strfmt.DateTime `json:"creationDate,omitempty"` // The CRN of the creator of the workspace. // Required: true CreatorCrn *string `json:"creatorCrn"` // The CRN of the workspace. // Required: true Crn *string `json:"crn"` // To check if the cluster is publicly accessible or not. // Required: true EndpointPublicAccess *bool `json:"endpointPublicAccess"` // CRN of the environment. // Required: true EnvironmentCrn *string `json:"environmentCrn"` // The name of the workspace's environment. // Required: true EnvironmentName *string `json:"environmentName"` // Failure message from the most recent failure that has occurred during workspace provisioning. FailureMessage string `json:"failureMessage,omitempty"` // filesystemID used by the workspace // Required: true FilesystemID *string `json:"filesystemID"` // Whether governance is enabled. GovernanceEnabled bool `json:"governanceEnabled,omitempty"` // The health info information of the workspace. HealthInfoLists []*HealthInfo `json:"healthInfoLists"` // To Display if Https is enabled or not. // Required: true HTTPSEnabled *bool `json:"httpsEnabled"` // The instance groups. // Required: true InstanceGroups []*WorkspaceInstanceGroup `json:"instanceGroups"` // The name of the workspace. // Required: true InstanceName *string `json:"instanceName"` // The workspace's current status. // Required: true InstanceStatus *string `json:"instanceStatus"` // URL of the workspace's user interface. // Required: true InstanceURL *string `json:"instanceUrl"` // The value to indicate if the cluster is private or not. IsPrivate bool `json:"isPrivate,omitempty"` // The Kubernetes cluster name. // Required: true K8sClusterName *string `json:"k8sClusterName"` // IP whitelist for loadBalancer. LoadBalancerIPWhitelists []string `json:"loadBalancerIPWhitelists"` // Whether model metrics is enabled. ModelMetricsEnabled bool `json:"modelMetricsEnabled,omitempty"` // If usage monitoring is enabled or not on this workspace. // Required: true MonitoringEnabled *bool `json:"monitoringEnabled"` // NFS Version of the filesystem. NfsVersion string `json:"nfsVersion,omitempty"` // The subnets of the workspace. Subnets []string `json:"subnets"` // The list of subnets used for the load balancer that CML creates. SubnetsForLoadBalancers []string `json:"subnetsForLoadBalancers"` // Tags provided by the user at the time of workspace creation. // Required: true Tags []*Tag `json:"tags"` // The upgrade state contains the workspace upgrade information. UpgradeState *UpgradeState `json:"upgradeState,omitempty"` // The version of Cloudera Machine Learning that was installed on the workspace. // Required: true Version *string `json:"version"` // Whether to whitelist only 'authorizedIPRanges' given or all public IPs. WhitelistAuthorizedIPRanges bool `json:"whitelistAuthorizedIPRanges,omitempty"` }
Workspace A ML workspace, which includes the cluster and storage.
swagger:model Workspace
func (*Workspace) ContextValidate ¶
ContextValidate validate this workspace based on the context it is used
func (*Workspace) MarshalBinary ¶
MarshalBinary interface implementation
func (*Workspace) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WorkspaceInstanceGroup ¶
type WorkspaceInstanceGroup struct { // The initial number of instance node. // Required: true InstanceCount *int32 `json:"instanceCount"` // The unique name of the instance group. // Required: true InstanceGroupName *string `json:"instanceGroupName"` // The cloud provider instance type for the node instance. // Required: true InstanceType *string `json:"instanceType"` // Instances in the instance group. // Required: true Instances []*Instance `json:"instances"` // The maximum number of instances that can be deployed to this instance group. // Required: true MaxInstances *int32 `json:"maxInstances"` // The minimum number of instances that can be deployed to this instance group. If the value is 0, the group might be empty. // Required: true MinInstances *int32 `json:"minInstances"` // Tags are key/value pairs that are applied to all tag-able resources deployed in the workspace's cloud environment. // Required: true Tags []*Tag `json:"tags"` }
WorkspaceInstanceGroup Instance group information to show in workspace details.
swagger:model WorkspaceInstanceGroup
func (*WorkspaceInstanceGroup) ContextValidate ¶
func (m *WorkspaceInstanceGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this workspace instance group based on the context it is used
func (*WorkspaceInstanceGroup) MarshalBinary ¶
func (m *WorkspaceInstanceGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WorkspaceInstanceGroup) UnmarshalBinary ¶
func (m *WorkspaceInstanceGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WorkspaceSummary ¶
type WorkspaceSummary struct { // The Backup Metadata for the workspace. BackupMetadata *BackupMetadata `json:"backupMetadata,omitempty"` // The cloud platform of the environment that was used to create this workspace. // Required: true CloudPlatform *string `json:"cloudPlatform"` // The Cluster ID for the workspace. ClusterID string `json:"clusterID,omitempty"` // Creation date of workspace. // Format: date-time CreationDate strfmt.DateTime `json:"creationDate,omitempty"` // The CRN of the creator of the workspace. // Required: true CreatorCrn *string `json:"creatorCrn"` // The CRN of the workspace. // Required: true Crn *string `json:"crn"` // CRN of the environment. // Required: true EnvironmentCrn *string `json:"environmentCrn"` // The name of the workspace's environment. // Required: true EnvironmentName *string `json:"environmentName"` // Failure message from the most recent failure that has occurred during workspace provisioning. FailureMessage string `json:"failureMessage,omitempty"` // A filesystem ID referencing the filesystem that was created on the cloud provider environment that this workspace uses. // Required: true FilesystemID *string `json:"filesystemID"` // The health info information of the workspace. HealthInfoLists []*HealthInfo `json:"healthInfoLists"` // Indicates if HTTPs communication was enabled on this workspace when provisioned. // Required: true HTTPSEnabled *bool `json:"httpsEnabled"` // The name of the workspace. // Required: true InstanceName *string `json:"instanceName"` // The workspace's current status. // Required: true InstanceStatus *string `json:"instanceStatus"` // URL of the workspace's user interface. // Required: true InstanceURL *string `json:"instanceUrl"` // The value to indicate if the cluster is private or not. IsPrivate bool `json:"isPrivate,omitempty"` // The Kubernetes cluster name. // Required: true K8sClusterName *string `json:"k8sClusterName"` // The whitelist of IPs for load balancer. LoadBalancerIPWhitelists []string `json:"loadBalancerIPWhitelists"` // If usage monitoring is enabled or not on this workspace. // Required: true MonitoringEnabled *bool `json:"monitoringEnabled"` // NFS Version of the filesystem. NfsVersion string `json:"nfsVersion,omitempty"` // The upgrade state contains the workspace upgrade information. UpgradeState *UpgradeState `json:"upgradeState,omitempty"` // The version of Cloudera Machine Learning that was installed on the workspace. // Required: true Version *string `json:"version"` }
WorkspaceSummary A Cloudera Machine Learning workspace which includes the deployed configuration details.
swagger:model WorkspaceSummary
func (*WorkspaceSummary) ContextValidate ¶
ContextValidate validate this workspace summary based on the context it is used
func (*WorkspaceSummary) MarshalBinary ¶
func (m *WorkspaceSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WorkspaceSummary) UnmarshalBinary ¶
func (m *WorkspaceSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- audit_event.go
- audit_events.go
- audit_log.go
- audit_logs.go
- autoscaling.go
- backup_detail.go
- backup_metadata.go
- backup_workspace_request.go
- backup_workspace_response.go
- create_workspace_request.go
- create_workspace_response.go
- delete_backup_request.go
- delete_backup_response.go
- delete_instance_group_request.go
- delete_instance_group_response.go
- delete_workspace_request.go
- delete_workspace_response.go
- describe_workspace_request.go
- describe_workspace_response.go
- error.go
- existing_database_config.go
- get_audit_events_request.go
- get_audit_events_response.go
- get_kubeconfig_request.go
- get_kubeconfig_response.go
- get_latest_workspace_version_request.go
- get_latest_workspace_version_response.go
- get_logs_request.go
- get_logs_response.go
- grant_workspace_access_request.go
- grant_workspace_access_response.go
- health_info.go
- instance.go
- instance_group.go
- list_workspace_access_request.go
- list_workspace_access_response.go
- list_workspace_backups_query_options.go
- list_workspace_backups_request.go
- list_workspace_backups_response.go
- list_workspaces_request.go
- list_workspaces_response.go
- modify_cluster_instance_group_request.go
- modify_cluster_instance_group_response.go
- modify_cluster_security_request.go
- modify_cluster_security_response.go
- modify_workspace_load_balancer_request.go
- modify_workspace_load_balancer_response.go
- outbound_types.go
- overlay_network.go
- provision_k8s_request.go
- provision_tag.go
- request_workflow_cancellation_request.go
- request_workflow_cancellation_response.go
- restore_workspace_request.go
- restore_workspace_response.go
- resume_workspace_request.go
- resume_workspace_response.go
- revoke_workspace_access_request.go
- revoke_workspace_access_response.go
- root_volume.go
- suspend_workspace_request.go
- suspend_workspace_response.go
- tag.go
- topology.go
- upgrade_state.go
- upgrade_workspace_request.go
- upgrade_workspace_response.go
- workflow_metadata.go
- workspace.go
- workspace_instance_group.go
- workspace_summary.go