models

package
v0.0.0-...-09245c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type CloudSpaceServiceCreateCloudSpaceAppInstanceBody ¶

type CloudSpaceServiceCreateCloudSpaceAppInstanceBody struct {

	// the cluster the run the app on
	ClusterID string `json:"clusterId,omitempty"`

	// If true, job machines will be left running after the job is finished (and can be reused)
	KeepMachinesAfterStop bool `json:"keepMachinesAfterStop,omitempty"`

	// Time to keep machines reserved after the job run (applies if keep_machines_after_stop is true)
	MachinesReservationTimeMinutes string `json:"machinesReservationTimeMinutes,omitempty"`

	// arguments to pass to the plugin
	PluginArguments map[string]string `json:"pluginArguments,omitempty"`

	// The ID of the Service Execution that created this job
	ServiceID string `json:"serviceId,omitempty"`

	// an "app" initiating the request, defaults to the plugin name
	SourceApp string `json:"sourceApp,omitempty"`

	// Another field id acting as a `primary key`
	// It is used to control how cloudspace filesystem snapshots are created. For the same key we will be reusing the snapshot
	UniqueID string `json:"uniqueId,omitempty"`
}

CloudSpaceServiceCreateCloudSpaceAppInstanceBody cloud space service create cloud space app instance body

swagger:model CloudSpaceServiceCreateCloudSpaceAppInstanceBody

func (*CloudSpaceServiceCreateCloudSpaceAppInstanceBody) ContextValidate ¶

ContextValidate validates this cloud space service create cloud space app instance body based on context it is used

func (*CloudSpaceServiceCreateCloudSpaceAppInstanceBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceCreateCloudSpaceAppInstanceBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceCreateCloudSpaceAppInstanceBody) Validate ¶

Validate validates this cloud space service create cloud space app instance body

type CloudSpaceServiceCreateCloudSpaceBody ¶

type CloudSpaceServiceCreateCloudSpaceBody struct {

	// can download source code
	CanDownloadSourceCode bool `json:"canDownloadSourceCode,omitempty"`

	// The ID of the CloudSpace Environment Template config to use as a base for the CloudSpace
	CloudSpaceEnvironmentTemplateID string `json:"cloudSpaceEnvironmentTemplateId,omitempty"`

	// cloud space instance Cpu image override
	CloudSpaceInstanceCPUImageOverride string `json:"cloudSpaceInstanceCpuImageOverride,omitempty"`

	// cloud space instance gpu image override
	CloudSpaceInstanceGpuImageOverride string `json:"cloudSpaceInstanceGpuImageOverride,omitempty"`

	// In which Cluster you should create the CloudSpace
	ClusterID string `json:"clusterId,omitempty"`

	// compute name
	ComputeName string `json:"computeName,omitempty"`

	// data connection mounts
	DataConnectionMounts []*V1DataConnectionMount `json:"dataConnectionMounts"`

	// create clean machine without any injected secrets
	DisableSecrets bool `json:"disableSecrets,omitempty"`

	// disk size
	DiskSize string `json:"diskSize,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// use display_name instead
	Name string `json:"name,omitempty"`

	// Organization ID, required for VM creation to validate cluster binding
	OrgID string `json:"orgId,omitempty"`

	// plugins
	Plugins []string `json:"plugins"`

	// Requested run duration for the Studio, used to get its machine using dynamic workload scheduler (DWS)
	RequestedRunDurationSeconds string `json:"requestedRunDurationSeconds,omitempty"`

	// same compute on resume
	SameComputeOnResume bool `json:"sameComputeOnResume,omitempty"`

	// distinguish sandbox in the UI and trim down regular Studio
	Sandbox bool `json:"sandbox,omitempty"`

	// seed files
	SeedFiles []*V1CloudSpaceSeedFile `json:"seedFiles"`

	// cloudspace creation request was sent from source
	Source *V1CloudSpaceSourceType `json:"source,omitempty"`

	// spot
	Spot bool `json:"spot,omitempty"`
}

CloudSpaceServiceCreateCloudSpaceBody cloud space service create cloud space body

swagger:model CloudSpaceServiceCreateCloudSpaceBody

func (*CloudSpaceServiceCreateCloudSpaceBody) ContextValidate ¶

func (m *CloudSpaceServiceCreateCloudSpaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud space service create cloud space body based on the context it is used

func (*CloudSpaceServiceCreateCloudSpaceBody) MarshalBinary ¶

func (m *CloudSpaceServiceCreateCloudSpaceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudSpaceServiceCreateCloudSpaceBody) UnmarshalBinary ¶

func (m *CloudSpaceServiceCreateCloudSpaceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudSpaceServiceCreateCloudSpaceBody) Validate ¶

Validate validates this cloud space service create cloud space body

type CloudSpaceServiceCreateCloudSpaceInstanceMetricBody ¶

type CloudSpaceServiceCreateCloudSpaceInstanceMetricBody struct {

	// completed at
	// Format: date-time
	CompletedAt strfmt.DateTime `json:"completedAt,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// started at
	// Format: date-time
	StartedAt strfmt.DateTime `json:"startedAt,omitempty"`

	// step
	Step string `json:"step,omitempty"`
}

CloudSpaceServiceCreateCloudSpaceInstanceMetricBody cloud space service create cloud space instance metric body

swagger:model CloudSpaceServiceCreateCloudSpaceInstanceMetricBody

func (*CloudSpaceServiceCreateCloudSpaceInstanceMetricBody) ContextValidate ¶

ContextValidate validates this cloud space service create cloud space instance metric body based on context it is used

func (*CloudSpaceServiceCreateCloudSpaceInstanceMetricBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceCreateCloudSpaceInstanceMetricBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceCreateCloudSpaceInstanceMetricBody) Validate ¶

Validate validates this cloud space service create cloud space instance metric body

type CloudSpaceServiceCreateCloudSpaceVersionBody ¶

type CloudSpaceServiceCreateCloudSpaceVersionBody struct {

	// about page content
	AboutPageContent string `json:"aboutPageContent,omitempty"`

	// code Url
	CodeURL string `json:"codeUrl,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// draft
	Draft bool `json:"draft,omitempty"`

	// hide files
	HideFiles bool `json:"hideFiles,omitempty"`

	// license
	License string `json:"license,omitempty"`

	// operating cost
	OperatingCost string `json:"operatingCost,omitempty"`

	// paper authors
	PaperAuthors string `json:"paperAuthors,omitempty"`

	// paper org
	PaperOrg string `json:"paperOrg,omitempty"`

	// paper org avatar Url
	PaperOrgAvatarURL string `json:"paperOrgAvatarUrl,omitempty"`

	// paper Url
	PaperURL string `json:"paperUrl,omitempty"`

	// version name
	VersionName string `json:"versionName,omitempty"`
}

CloudSpaceServiceCreateCloudSpaceVersionBody cloud space service create cloud space version body

swagger:model CloudSpaceServiceCreateCloudSpaceVersionBody

func (*CloudSpaceServiceCreateCloudSpaceVersionBody) ContextValidate ¶

ContextValidate validates this cloud space service create cloud space version body based on context it is used

func (*CloudSpaceServiceCreateCloudSpaceVersionBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceCreateCloudSpaceVersionBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceCreateCloudSpaceVersionBody) Validate ¶

Validate validates this cloud space service create cloud space version body

type CloudSpaceServiceCreateCloudSpaceVersionPublicationBody ¶

type CloudSpaceServiceCreateCloudSpaceVersionPublicationBody struct {

	// cloud space version Id
	CloudSpaceVersionID string `json:"cloudSpaceVersionId,omitempty"`

	// featured
	Featured bool `json:"featured,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`
}

CloudSpaceServiceCreateCloudSpaceVersionPublicationBody cloud space service create cloud space version publication body

swagger:model CloudSpaceServiceCreateCloudSpaceVersionPublicationBody

func (*CloudSpaceServiceCreateCloudSpaceVersionPublicationBody) ContextValidate ¶

ContextValidate validates this cloud space service create cloud space version publication body based on context it is used

func (*CloudSpaceServiceCreateCloudSpaceVersionPublicationBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceCreateCloudSpaceVersionPublicationBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceCreateCloudSpaceVersionPublicationBody) Validate ¶

Validate validates this cloud space service create cloud space version publication body

type CloudSpaceServiceCreateLightningRunBody ¶

type CloudSpaceServiceCreateLightningRunBody struct {

	// app entrypoint file
	AppEntrypointFile string `json:"appEntrypointFile,omitempty"`

	// TODO(yurij): Upload release source cod to GCP instead of AWS and remove cluster_id
	//  https://linear.app/gridai/issue/LAI2-8753/make-be-upload-release-code-to-gcp-instead-of-the-aws
	ClusterID string `json:"clusterId,omitempty"`

	// key at which the dependencies are cached. Normally, this is generated by hashing
	// the requirements.txt (or whatever the dependency listing file used in the app)
	DependencyCacheKey string `json:"dependencyCacheKey,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// enable app server
	EnableAppServer bool `json:"enableAppServer,omitempty"`

	// env
	Env []*V1EnvVar `json:"env"`

	// flow servers
	FlowServers []*V1Flowserver `json:"flowServers"`

	// image Id
	ImageID string `json:"imageId,omitempty"`

	// image spec
	ImageSpec *V1ImageSpec `json:"imageSpec,omitempty"`

	// is headless
	IsHeadless bool `json:"isHeadless,omitempty"`

	// is published
	IsPublished bool `json:"isPublished,omitempty"`

	// Indicates that the client wishes to upload the directory that has the
	// source code. In this case, app's status is populated with the presigned
	// URL and the app's spec is set by the server to the S3 tarball that holds
	// the sourcecode.
	LocalSource bool `json:"localSource,omitempty"`

	// Networking config that will be used expose the works running in the default container to the http service
	NetworkConfig []*V1NetworkConfig `json:"networkConfig"`

	// To keep inheritance relations between app releases: there is an option to pass a parent ID with the request
	ParentID string `json:"parentId,omitempty"`

	// If True, we will mount the cloudspace `/content` directory in the flow and works
	ShouldMountCloudspaceContent bool `json:"shouldMountCloudspaceContent,omitempty"`

	// source code Url
	SourceCodeURL string `json:"sourceCodeUrl,omitempty"`

	// An id acting like a primary key but can be provided by the user
	UniqueID string `json:"uniqueId,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`

	// compute configuration to be used for flows.
	UserRequestedFlowComputeConfig *V1UserRequestedFlowComputeConfig `json:"userRequestedFlowComputeConfig,omitempty"`

	// Works that are to be launched alongside the flow
	Works []*V1Work `json:"works"`
}

CloudSpaceServiceCreateLightningRunBody cloud space service create lightning run body

swagger:model CloudSpaceServiceCreateLightningRunBody

func (*CloudSpaceServiceCreateLightningRunBody) ContextValidate ¶

ContextValidate validate this cloud space service create lightning run body based on the context it is used

func (*CloudSpaceServiceCreateLightningRunBody) MarshalBinary ¶

func (m *CloudSpaceServiceCreateLightningRunBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudSpaceServiceCreateLightningRunBody) UnmarshalBinary ¶

func (m *CloudSpaceServiceCreateLightningRunBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudSpaceServiceCreateLightningRunBody) Validate ¶

Validate validates this cloud space service create lightning run body

type CloudSpaceServiceCreateLightningRunInstanceBody ¶

type CloudSpaceServiceCreateLightningRunInstanceBody struct {

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// desired state
	DesiredState *V1LightningappInstanceState `json:"desiredState,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// User-provided custom domain for the app. Will be generated if not provided.
	Domain string `json:"domain,omitempty"`

	// env
	Env []*V1EnvVar `json:"env"`

	// If true, job machines will be left running after the job is finished (and can be reused)
	KeepMachinesAfterStop bool `json:"keepMachinesAfterStop,omitempty"`

	// The other project linked to this app
	LinkedProjectID string `json:"linkedProjectId,omitempty"`

	// The other user linked to this app
	LinkedUserID string `json:"linkedUserId,omitempty"`

	// Time to keep machines reserved after the job run (applies if keep_machines_after_stop is true)
	MachinesReservationTimeMinutes string `json:"machinesReservationTimeMinutes,omitempty"`

	// use display_name instead
	Name string `json:"name,omitempty"`

	// Queue server type. If this is not set, it will be assumed that the Queue server is Redis.
	// If the server type is QUEUE_SERVER_TYPE_HTTP, reconciler will take the server URL from
	// cluster spec and pass it to the flow and work container. If the type is QUEUE_SERVER_TYPE_REDIS,
	// reconciler will create a Redis deployment per each lightning app
	QueueServerType *V1QueueServerType `json:"queueServerType,omitempty"`

	// source app
	SourceApp string `json:"sourceApp,omitempty"`
}

CloudSpaceServiceCreateLightningRunInstanceBody cloud space service create lightning run instance body

swagger:model CloudSpaceServiceCreateLightningRunInstanceBody

func (*CloudSpaceServiceCreateLightningRunInstanceBody) ContextValidate ¶

ContextValidate validate this cloud space service create lightning run instance body based on the context it is used

func (*CloudSpaceServiceCreateLightningRunInstanceBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceCreateLightningRunInstanceBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceCreateLightningRunInstanceBody) Validate ¶

Validate validates this cloud space service create lightning run instance body

type CloudSpaceServiceEngageCloudSpaceBody ¶

type CloudSpaceServiceEngageCloudSpaceBody struct {

	// action
	Action string `json:"action,omitempty"`

	// Currently used to unlike a CloudSpace
	Invert bool `json:"invert,omitempty"`
}

CloudSpaceServiceEngageCloudSpaceBody cloud space service engage cloud space body

swagger:model CloudSpaceServiceEngageCloudSpaceBody

func (*CloudSpaceServiceEngageCloudSpaceBody) ContextValidate ¶

func (m *CloudSpaceServiceEngageCloudSpaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cloud space service engage cloud space body based on context it is used

func (*CloudSpaceServiceEngageCloudSpaceBody) MarshalBinary ¶

func (m *CloudSpaceServiceEngageCloudSpaceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudSpaceServiceEngageCloudSpaceBody) UnmarshalBinary ¶

func (m *CloudSpaceServiceEngageCloudSpaceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudSpaceServiceEngageCloudSpaceBody) Validate ¶

Validate validates this cloud space service engage cloud space body

type CloudSpaceServiceExecuteCommandInCloudSpaceBody ¶

type CloudSpaceServiceExecuteCommandInCloudSpaceBody struct {

	// command
	Command string `json:"command,omitempty"`

	// detached
	Detached bool `json:"detached,omitempty"`

	// session name
	SessionName string `json:"sessionName,omitempty"`
}

CloudSpaceServiceExecuteCommandInCloudSpaceBody cloud space service execute command in cloud space body

swagger:model CloudSpaceServiceExecuteCommandInCloudSpaceBody

func (*CloudSpaceServiceExecuteCommandInCloudSpaceBody) ContextValidate ¶

ContextValidate validates this cloud space service execute command in cloud space body based on context it is used

func (*CloudSpaceServiceExecuteCommandInCloudSpaceBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceExecuteCommandInCloudSpaceBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceExecuteCommandInCloudSpaceBody) Validate ¶

Validate validates this cloud space service execute command in cloud space body

type CloudSpaceServiceExecuteInCloudSpaceSessionBody ¶

type CloudSpaceServiceExecuteInCloudSpaceSessionBody struct {

	// command
	Command string `json:"command,omitempty"`
}

CloudSpaceServiceExecuteInCloudSpaceSessionBody cloud space service execute in cloud space session body

swagger:model CloudSpaceServiceExecuteInCloudSpaceSessionBody

func (*CloudSpaceServiceExecuteInCloudSpaceSessionBody) ContextValidate ¶

ContextValidate validates this cloud space service execute in cloud space session body based on context it is used

func (*CloudSpaceServiceExecuteInCloudSpaceSessionBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceExecuteInCloudSpaceSessionBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceExecuteInCloudSpaceSessionBody) Validate ¶

Validate validates this cloud space service execute in cloud space session body

type CloudSpaceServiceForkCloudSpaceAppInstanceBody ¶

type CloudSpaceServiceForkCloudSpaceAppInstanceBody struct {

	// lightningapp instance Id
	LightningappInstanceID string `json:"lightningappInstanceId,omitempty"`

	// target plugin arguments
	TargetPluginArguments map[string]string `json:"targetPluginArguments,omitempty"`
}

CloudSpaceServiceForkCloudSpaceAppInstanceBody cloud space service fork cloud space app instance body

swagger:model CloudSpaceServiceForkCloudSpaceAppInstanceBody

func (*CloudSpaceServiceForkCloudSpaceAppInstanceBody) ContextValidate ¶

ContextValidate validates this cloud space service fork cloud space app instance body based on context it is used

func (*CloudSpaceServiceForkCloudSpaceAppInstanceBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceForkCloudSpaceAppInstanceBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceForkCloudSpaceAppInstanceBody) Validate ¶

Validate validates this cloud space service fork cloud space app instance body

type CloudSpaceServiceForkCloudSpaceBody ¶

type CloudSpaceServiceForkCloudSpaceBody struct {

	// new name for the forked studio
	NewName string `json:"newName,omitempty"`

	// destination cluster ID (will be set to preferred cluster ID if empty)
	TargetClusterID string `json:"targetClusterId,omitempty"`

	// destinantion project ID
	TargetProjectID string `json:"targetProjectId,omitempty"`

	// source studio version ID
	VersionID string `json:"versionId,omitempty"`
}

CloudSpaceServiceForkCloudSpaceBody cloud space service fork cloud space body

swagger:model CloudSpaceServiceForkCloudSpaceBody

func (*CloudSpaceServiceForkCloudSpaceBody) ContextValidate ¶

func (m *CloudSpaceServiceForkCloudSpaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cloud space service fork cloud space body based on context it is used

func (*CloudSpaceServiceForkCloudSpaceBody) MarshalBinary ¶

func (m *CloudSpaceServiceForkCloudSpaceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudSpaceServiceForkCloudSpaceBody) UnmarshalBinary ¶

func (m *CloudSpaceServiceForkCloudSpaceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudSpaceServiceForkCloudSpaceBody) Validate ¶

Validate validates this cloud space service fork cloud space body

type CloudSpaceServiceKeepAliveCloudSpaceInstanceBody ¶

type CloudSpaceServiceKeepAliveCloudSpaceInstanceBody any

CloudSpaceServiceKeepAliveCloudSpaceInstanceBody cloud space service keep alive cloud space instance body

swagger:model CloudSpaceServiceKeepAliveCloudSpaceInstanceBody

type CloudSpaceServicePublishCloudSpaceBody ¶

type CloudSpaceServicePublishCloudSpaceBody struct {

	// org Id
	OrgID string `json:"orgId,omitempty"`
}

CloudSpaceServicePublishCloudSpaceBody cloud space service publish cloud space body

swagger:model CloudSpaceServicePublishCloudSpaceBody

func (*CloudSpaceServicePublishCloudSpaceBody) ContextValidate ¶

ContextValidate validates this cloud space service publish cloud space body based on context it is used

func (*CloudSpaceServicePublishCloudSpaceBody) MarshalBinary ¶

func (m *CloudSpaceServicePublishCloudSpaceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudSpaceServicePublishCloudSpaceBody) UnmarshalBinary ¶

func (m *CloudSpaceServicePublishCloudSpaceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudSpaceServicePublishCloudSpaceBody) Validate ¶

Validate validates this cloud space service publish cloud space body

type CloudSpaceServiceReportCloudSpaceInstanceSystemMetricsBody ¶

type CloudSpaceServiceReportCloudSpaceInstanceSystemMetricsBody struct {

	// cloudspace instance Id
	CloudspaceInstanceID string `json:"cloudspaceInstanceId,omitempty"`

	// machine Id
	MachineID string `json:"machineId,omitempty"`

	// metrics
	Metrics []*V1SystemMetrics `json:"metrics"`

	// org Id
	OrgID string `json:"orgId,omitempty"`
}

CloudSpaceServiceReportCloudSpaceInstanceSystemMetricsBody cloud space service report cloud space instance system metrics body

swagger:model CloudSpaceServiceReportCloudSpaceInstanceSystemMetricsBody

func (*CloudSpaceServiceReportCloudSpaceInstanceSystemMetricsBody) ContextValidate ¶

ContextValidate validate this cloud space service report cloud space instance system metrics body based on the context it is used

func (*CloudSpaceServiceReportCloudSpaceInstanceSystemMetricsBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceReportCloudSpaceInstanceSystemMetricsBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceReportCloudSpaceInstanceSystemMetricsBody) Validate ¶

Validate validates this cloud space service report cloud space instance system metrics body

type CloudSpaceServiceRequestCloudSpaceAccessBody ¶

type CloudSpaceServiceRequestCloudSpaceAccessBody any

CloudSpaceServiceRequestCloudSpaceAccessBody cloud space service request cloud space access body

swagger:model CloudSpaceServiceRequestCloudSpaceAccessBody

type CloudSpaceServiceStartCloudSpaceInstanceBody ¶

type CloudSpaceServiceStartCloudSpaceInstanceBody struct {

	// compute config
	ComputeConfig *V1UserRequestedComputeConfig `json:"computeConfig,omitempty"`

	// desired machine Id
	DesiredMachineID string `json:"desiredMachineId,omitempty"`

	// is forked
	IsForked bool `json:"isForked,omitempty"`
}

CloudSpaceServiceStartCloudSpaceInstanceBody cloud space service start cloud space instance body

swagger:model CloudSpaceServiceStartCloudSpaceInstanceBody

func (*CloudSpaceServiceStartCloudSpaceInstanceBody) ContextValidate ¶

ContextValidate validate this cloud space service start cloud space instance body based on the context it is used

func (*CloudSpaceServiceStartCloudSpaceInstanceBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceStartCloudSpaceInstanceBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceStartCloudSpaceInstanceBody) Validate ¶

Validate validates this cloud space service start cloud space instance body

type CloudSpaceServiceSuggestCloudSpaceNameBody ¶

type CloudSpaceServiceSuggestCloudSpaceNameBody struct {

	// purpose
	Purpose *V1CloudSpaceNamePurpose `json:"purpose,omitempty"`

	// source cloudspace Id
	SourceCloudspaceID string `json:"sourceCloudspaceId,omitempty"`
}

CloudSpaceServiceSuggestCloudSpaceNameBody cloud space service suggest cloud space name body

swagger:model CloudSpaceServiceSuggestCloudSpaceNameBody

func (*CloudSpaceServiceSuggestCloudSpaceNameBody) ContextValidate ¶

ContextValidate validate this cloud space service suggest cloud space name body based on the context it is used

func (*CloudSpaceServiceSuggestCloudSpaceNameBody) MarshalBinary ¶

func (m *CloudSpaceServiceSuggestCloudSpaceNameBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudSpaceServiceSuggestCloudSpaceNameBody) UnmarshalBinary ¶

func (m *CloudSpaceServiceSuggestCloudSpaceNameBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudSpaceServiceSuggestCloudSpaceNameBody) Validate ¶

Validate validates this cloud space service suggest cloud space name body

type CloudSpaceServiceTransferCloudSpaceBody ¶

type CloudSpaceServiceTransferCloudSpaceBody struct {

	// compute config
	ComputeConfig *V1UserRequestedComputeConfig `json:"computeConfig,omitempty"`

	// start after transfer
	StartAfterTransfer bool `json:"startAfterTransfer,omitempty"`

	// target cluster Id
	TargetClusterID string `json:"targetClusterId,omitempty"`
}

CloudSpaceServiceTransferCloudSpaceBody cloud space service transfer cloud space body

swagger:model CloudSpaceServiceTransferCloudSpaceBody

func (*CloudSpaceServiceTransferCloudSpaceBody) ContextValidate ¶

ContextValidate validate this cloud space service transfer cloud space body based on the context it is used

func (*CloudSpaceServiceTransferCloudSpaceBody) MarshalBinary ¶

func (m *CloudSpaceServiceTransferCloudSpaceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudSpaceServiceTransferCloudSpaceBody) UnmarshalBinary ¶

func (m *CloudSpaceServiceTransferCloudSpaceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudSpaceServiceTransferCloudSpaceBody) Validate ¶

Validate validates this cloud space service transfer cloud space body

type CloudSpaceServiceUpdateCloudSpaceAppBody ¶

type CloudSpaceServiceUpdateCloudSpaceAppBody struct {

	AuthorLogo string `json:"authorLogo,omitempty"`

	// authors
	Authors []string `json:"authors"`

	// categories
	Categories []string `json:"categories"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// entrypoint file
	EntrypointFile string `json:"entrypointFile,omitempty"`

	// git Url
	GitURL string `json:"gitUrl,omitempty"`

	// license
	License string `json:"license,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// owner Id
	OwnerID string `json:"ownerId,omitempty"`

	// owner type
	OwnerType *V1CloudSpaceAppOwnerType `json:"ownerType,omitempty"`

	// short description
	ShortDescription string `json:"shortDescription,omitempty"`

	// source Url
	SourceURL string `json:"sourceUrl,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// version
	Version string `json:"version,omitempty"`

	// visible to org ids
	VisibleToOrgIds []string `json:"visibleToOrgIds"`

	// visible to project ids
	VisibleToProjectIds []string `json:"visibleToProjectIds"`

	// visible to user ids
	VisibleToUserIds []string `json:"visibleToUserIds"`
}

CloudSpaceServiceUpdateCloudSpaceAppBody cloud space service update cloud space app body

swagger:model CloudSpaceServiceUpdateCloudSpaceAppBody

func (*CloudSpaceServiceUpdateCloudSpaceAppBody) ContextValidate ¶

ContextValidate validate this cloud space service update cloud space app body based on the context it is used

func (*CloudSpaceServiceUpdateCloudSpaceAppBody) MarshalBinary ¶

func (m *CloudSpaceServiceUpdateCloudSpaceAppBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceAppBody) UnmarshalBinary ¶

func (m *CloudSpaceServiceUpdateCloudSpaceAppBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceAppBody) Validate ¶

Validate validates this cloud space service update cloud space app body

type CloudSpaceServiceUpdateCloudSpaceBody ¶

type CloudSpaceServiceUpdateCloudSpaceBody struct {

	// auto switch machine
	AutoSwitchMachine bool `json:"autoSwitchMachine,omitempty"`

	// code Url
	CodeURL string `json:"codeUrl,omitempty"`

	// data connection mounts
	DataConnectionMounts []*V1DataConnectionMount `json:"dataConnectionMounts"`

	// description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// env
	Env []*V1EnvVar `json:"env"`

	// featured
	Featured bool `json:"featured,omitempty"`

	// hide files
	HideFiles bool `json:"hideFiles,omitempty"`

	// is cloudspace private
	IsCloudspacePrivate bool `json:"isCloudspacePrivate,omitempty"`

	// is code private
	IsCodePrivate bool `json:"isCodePrivate,omitempty"`

	// is favorite
	IsFavorite bool `json:"isFavorite,omitempty"`

	// is published
	IsPublished bool `json:"isPublished,omitempty"`

	// license
	License string `json:"license,omitempty"`

	// license Url
	LicenseURL string `json:"licenseUrl,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// multi user edit
	MultiUserEdit bool `json:"multiUserEdit,omitempty"`

	// operating cost
	OperatingCost string `json:"operatingCost,omitempty"`

	// paper authors
	PaperAuthors string `json:"paperAuthors,omitempty"`

	// paper org
	PaperOrg string `json:"paperOrg,omitempty"`

	// paper org avatar Url
	PaperOrgAvatarURL string `json:"paperOrgAvatarUrl,omitempty"`

	// paper Url
	PaperURL string `json:"paperUrl,omitempty"`

	// publish with compute name
	PublishWithComputeName string `json:"publishWithComputeName,omitempty"`

	// switch to default machine on idle
	SwitchToDefaultMachineOnIdle bool `json:"switchToDefaultMachineOnIdle,omitempty"`

	// tags
	Tags []*V1ResourceTag `json:"tags"`

	// thumbnail
	// Format: byte
	Thumbnail strfmt.Base64 `json:"thumbnail,omitempty"`

	// thumbnail file type
	ThumbnailFileType string `json:"thumbnailFileType,omitempty"`

	// user metadata
	UserMetadata string `json:"userMetadata,omitempty"`
}

CloudSpaceServiceUpdateCloudSpaceBody cloud space service update cloud space body

swagger:model CloudSpaceServiceUpdateCloudSpaceBody

func (*CloudSpaceServiceUpdateCloudSpaceBody) ContextValidate ¶

func (m *CloudSpaceServiceUpdateCloudSpaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud space service update cloud space body based on the context it is used

func (*CloudSpaceServiceUpdateCloudSpaceBody) MarshalBinary ¶

func (m *CloudSpaceServiceUpdateCloudSpaceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceBody) UnmarshalBinary ¶

func (m *CloudSpaceServiceUpdateCloudSpaceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceBody) Validate ¶

Validate validates this cloud space service update cloud space body

type CloudSpaceServiceUpdateCloudSpaceCollabBody ¶

type CloudSpaceServiceUpdateCloudSpaceCollabBody struct {

	// action
	Action *V1CollabAction `json:"action,omitempty"`

	// collab session Id
	CollabSessionID string `json:"collabSessionId,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

CloudSpaceServiceUpdateCloudSpaceCollabBody cloud space service update cloud space collab body

swagger:model CloudSpaceServiceUpdateCloudSpaceCollabBody

func (*CloudSpaceServiceUpdateCloudSpaceCollabBody) ContextValidate ¶

ContextValidate validate this cloud space service update cloud space collab body based on the context it is used

func (*CloudSpaceServiceUpdateCloudSpaceCollabBody) MarshalBinary ¶

func (m *CloudSpaceServiceUpdateCloudSpaceCollabBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceCollabBody) UnmarshalBinary ¶

func (m *CloudSpaceServiceUpdateCloudSpaceCollabBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceCollabBody) Validate ¶

Validate validates this cloud space service update cloud space collab body

type CloudSpaceServiceUpdateCloudSpaceIdeBody ¶

type CloudSpaceServiceUpdateCloudSpaceIdeBody struct {

	// ide
	Ide string `json:"ide,omitempty"`
}

CloudSpaceServiceUpdateCloudSpaceIdeBody cloud space service update cloud space ide body

swagger:model CloudSpaceServiceUpdateCloudSpaceIdeBody

func (*CloudSpaceServiceUpdateCloudSpaceIdeBody) ContextValidate ¶

ContextValidate validates this cloud space service update cloud space ide body based on context it is used

func (*CloudSpaceServiceUpdateCloudSpaceIdeBody) MarshalBinary ¶

func (m *CloudSpaceServiceUpdateCloudSpaceIdeBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceIdeBody) UnmarshalBinary ¶

func (m *CloudSpaceServiceUpdateCloudSpaceIdeBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceIdeBody) Validate ¶

Validate validates this cloud space service update cloud space ide body

type CloudSpaceServiceUpdateCloudSpaceInstanceConfigBody ¶

type CloudSpaceServiceUpdateCloudSpaceInstanceConfigBody struct {

	// compute config
	ComputeConfig *V1UserRequestedComputeConfig `json:"computeConfig,omitempty"`

	// data connection mounts
	DataConnectionMounts []*V1DataConnectionMount `json:"dataConnectionMounts"`

	// ide
	Ide string `json:"ide,omitempty"`

	// port plugin port
	PortPluginPort string `json:"portPluginPort,omitempty"`
}

CloudSpaceServiceUpdateCloudSpaceInstanceConfigBody cloud space service update cloud space instance config body

swagger:model CloudSpaceServiceUpdateCloudSpaceInstanceConfigBody

func (*CloudSpaceServiceUpdateCloudSpaceInstanceConfigBody) ContextValidate ¶

ContextValidate validate this cloud space service update cloud space instance config body based on the context it is used

func (*CloudSpaceServiceUpdateCloudSpaceInstanceConfigBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceInstanceConfigBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceInstanceConfigBody) Validate ¶

Validate validates this cloud space service update cloud space instance config body

type CloudSpaceServiceUpdateCloudSpacePublicationBody ¶

type CloudSpaceServiceUpdateCloudSpacePublicationBody struct {

	// featured
	Featured bool `json:"featured,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`
}

CloudSpaceServiceUpdateCloudSpacePublicationBody cloud space service update cloud space publication body

swagger:model CloudSpaceServiceUpdateCloudSpacePublicationBody

func (*CloudSpaceServiceUpdateCloudSpacePublicationBody) ContextValidate ¶

ContextValidate validates this cloud space service update cloud space publication body based on context it is used

func (*CloudSpaceServiceUpdateCloudSpacePublicationBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpacePublicationBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpacePublicationBody) Validate ¶

Validate validates this cloud space service update cloud space publication body

type CloudSpaceServiceUpdateCloudSpaceSleepConfigBody ¶

type CloudSpaceServiceUpdateCloudSpaceSleepConfigBody struct {

	// disable auto shutdown
	DisableAutoShutdown bool `json:"disableAutoShutdown,omitempty"`

	// idle shutdown seconds
	IdleShutdownSeconds int32 `json:"idleShutdownSeconds,omitempty"`

	// switch to default machine on idle
	SwitchToDefaultMachineOnIdle bool `json:"switchToDefaultMachineOnIdle,omitempty"`
}

CloudSpaceServiceUpdateCloudSpaceSleepConfigBody cloud space service update cloud space sleep config body

swagger:model CloudSpaceServiceUpdateCloudSpaceSleepConfigBody

func (*CloudSpaceServiceUpdateCloudSpaceSleepConfigBody) ContextValidate ¶

ContextValidate validates this cloud space service update cloud space sleep config body based on context it is used

func (*CloudSpaceServiceUpdateCloudSpaceSleepConfigBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceSleepConfigBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceSleepConfigBody) Validate ¶

Validate validates this cloud space service update cloud space sleep config body

type CloudSpaceServiceUpdateCloudSpaceTutorialShownBody ¶

type CloudSpaceServiceUpdateCloudSpaceTutorialShownBody struct {

	// tutorial shown
	TutorialShown bool `json:"tutorialShown,omitempty"`
}

CloudSpaceServiceUpdateCloudSpaceTutorialShownBody cloud space service update cloud space tutorial shown body

swagger:model CloudSpaceServiceUpdateCloudSpaceTutorialShownBody

func (*CloudSpaceServiceUpdateCloudSpaceTutorialShownBody) ContextValidate ¶

ContextValidate validates this cloud space service update cloud space tutorial shown body based on context it is used

func (*CloudSpaceServiceUpdateCloudSpaceTutorialShownBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceTutorialShownBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceTutorialShownBody) Validate ¶

Validate validates this cloud space service update cloud space tutorial shown body

type CloudSpaceServiceUpdateCloudSpaceVersionBody ¶

type CloudSpaceServiceUpdateCloudSpaceVersionBody struct {

	// about page content
	AboutPageContent string `json:"aboutPageContent,omitempty"`

	// code Url
	CodeURL string `json:"codeUrl,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// hide files
	HideFiles bool `json:"hideFiles,omitempty"`

	// license
	License string `json:"license,omitempty"`

	// operating cost
	OperatingCost string `json:"operatingCost,omitempty"`

	// paper authors
	PaperAuthors string `json:"paperAuthors,omitempty"`

	// paper org
	PaperOrg string `json:"paperOrg,omitempty"`

	// paper org avatar Url
	PaperOrgAvatarURL string `json:"paperOrgAvatarUrl,omitempty"`

	// paper Url
	PaperURL string `json:"paperUrl,omitempty"`
}

CloudSpaceServiceUpdateCloudSpaceVersionBody cloud space service update cloud space version body

swagger:model CloudSpaceServiceUpdateCloudSpaceVersionBody

func (*CloudSpaceServiceUpdateCloudSpaceVersionBody) ContextValidate ¶

ContextValidate validates this cloud space service update cloud space version body based on context it is used

func (*CloudSpaceServiceUpdateCloudSpaceVersionBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceVersionBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceVersionBody) Validate ¶

Validate validates this cloud space service update cloud space version body

type CloudSpaceServiceUpdateCloudSpaceVersionPublicationBody ¶

type CloudSpaceServiceUpdateCloudSpaceVersionPublicationBody struct {

	// cloud space version Id
	CloudSpaceVersionID string `json:"cloudSpaceVersionId,omitempty"`

	// featured
	Featured bool `json:"featured,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`
}

CloudSpaceServiceUpdateCloudSpaceVersionPublicationBody cloud space service update cloud space version publication body

swagger:model CloudSpaceServiceUpdateCloudSpaceVersionPublicationBody

func (*CloudSpaceServiceUpdateCloudSpaceVersionPublicationBody) ContextValidate ¶

ContextValidate validates this cloud space service update cloud space version publication body based on context it is used

func (*CloudSpaceServiceUpdateCloudSpaceVersionPublicationBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceVersionPublicationBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceVersionPublicationBody) Validate ¶

Validate validates this cloud space service update cloud space version publication body

type CloudSpaceServiceUpdateCloudSpaceVisibilityBody ¶

type CloudSpaceServiceUpdateCloudSpaceVisibilityBody struct {

	// emails
	Emails []string `json:"emails"`

	// visibility
	Visibility *V1ResourceVisibility `json:"visibility,omitempty"`
}

CloudSpaceServiceUpdateCloudSpaceVisibilityBody cloud space service update cloud space visibility body

swagger:model CloudSpaceServiceUpdateCloudSpaceVisibilityBody

func (*CloudSpaceServiceUpdateCloudSpaceVisibilityBody) ContextValidate ¶

ContextValidate validate this cloud space service update cloud space visibility body based on the context it is used

func (*CloudSpaceServiceUpdateCloudSpaceVisibilityBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceVisibilityBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CloudSpaceServiceUpdateCloudSpaceVisibilityBody) Validate ¶

Validate validates this cloud space service update cloud space visibility body

type ClusterServiceCreateClusterCapacityReservationBody ¶

type ClusterServiceCreateClusterCapacityReservationBody struct {

	// provider capacity reservation type, e.g. 'capacity-block' for AWS
	CapacityReservationType string `json:"capacityReservationType,omitempty"`

	// cloud provider capacity reservation Id
	CloudProviderCapacityReservationID string `json:"cloudProviderCapacityReservationId,omitempty"`

	// end time
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// This overwrites cloud_provider_capacity_reservation_id
	FullCloudProviderReservationString string `json:"fullCloudProviderReservationString,omitempty"`

	// fabric locality tier (see ClusterCapacityReservation.infiniband_tier)
	InfinibandTier *V1InfinibandTier `json:"infinibandTier,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// match pattern
	MatchPattern string `json:"matchPattern,omitempty"`

	// The number of instances registered when creating the reservation
	NumInstances int32 `json:"numInstances,omitempty"`

	// org-scoped reservation (mutually exclusive with project_id)
	OrgID string `json:"orgId,omitempty"`

	// Whether we should populate the information from the cloud provider
	PopulateFromCloudProvider bool `json:"populateFromCloudProvider,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// platform-managed shadow reservation (see ClusterCapacityReservation.shadow)
	Shadow bool `json:"shadow,omitempty"`

	// start time
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`

	// zone
	Zone string `json:"zone,omitempty"`
}

ClusterServiceCreateClusterCapacityReservationBody cluster service create cluster capacity reservation body

swagger:model ClusterServiceCreateClusterCapacityReservationBody

func (*ClusterServiceCreateClusterCapacityReservationBody) ContextValidate ¶

ContextValidate validate this cluster service create cluster capacity reservation body based on the context it is used

func (*ClusterServiceCreateClusterCapacityReservationBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*ClusterServiceCreateClusterCapacityReservationBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ClusterServiceCreateClusterCapacityReservationBody) Validate ¶

Validate validates this cluster service create cluster capacity reservation body

type ClusterServiceCreateClusterProxyBody ¶

type ClusterServiceCreateClusterProxyBody struct {

	// org Id
	OrgID string `json:"orgId,omitempty"`
}

ClusterServiceCreateClusterProxyBody cluster service create cluster proxy body

swagger:model ClusterServiceCreateClusterProxyBody

func (*ClusterServiceCreateClusterProxyBody) ContextValidate ¶

func (m *ClusterServiceCreateClusterProxyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster service create cluster proxy body based on context it is used

func (*ClusterServiceCreateClusterProxyBody) MarshalBinary ¶

func (m *ClusterServiceCreateClusterProxyBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceCreateClusterProxyBody) UnmarshalBinary ¶

func (m *ClusterServiceCreateClusterProxyBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceCreateClusterProxyBody) Validate ¶

Validate validates this cluster service create cluster proxy body

type ClusterServiceCreateClusterUsageRestrictionBody ¶

type ClusterServiceCreateClusterUsageRestrictionBody struct {

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// max instances
	MaxInstances int64 `json:"maxInstances,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// restriction type
	RestrictionType string `json:"restrictionType,omitempty"`
}

ClusterServiceCreateClusterUsageRestrictionBody cluster service create cluster usage restriction body

swagger:model ClusterServiceCreateClusterUsageRestrictionBody

func (*ClusterServiceCreateClusterUsageRestrictionBody) ContextValidate ¶

ContextValidate validates this cluster service create cluster usage restriction body based on context it is used

func (*ClusterServiceCreateClusterUsageRestrictionBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*ClusterServiceCreateClusterUsageRestrictionBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ClusterServiceCreateClusterUsageRestrictionBody) Validate ¶

Validate validates this cluster service create cluster usage restriction body

type ClusterServiceCreateMachineAlertsBody ¶

type ClusterServiceCreateMachineAlertsBody struct {

	// alerts
	Alerts []*V1MachineAlert `json:"alerts"`
}

ClusterServiceCreateMachineAlertsBody cluster service create machine alerts body

swagger:model ClusterServiceCreateMachineAlertsBody

func (*ClusterServiceCreateMachineAlertsBody) ContextValidate ¶

func (m *ClusterServiceCreateMachineAlertsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster service create machine alerts body based on the context it is used

func (*ClusterServiceCreateMachineAlertsBody) MarshalBinary ¶

func (m *ClusterServiceCreateMachineAlertsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceCreateMachineAlertsBody) UnmarshalBinary ¶

func (m *ClusterServiceCreateMachineAlertsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceCreateMachineAlertsBody) Validate ¶

Validate validates this cluster service create machine alerts body

type ClusterServiceCreateMachineBody ¶

type ClusterServiceCreateMachineBody struct {

	// User who added the machine
	AddedBy string `json:"addedBy,omitempty"`

	// address
	Address string `json:"address,omitempty"`

	// Optional, used for BM provisioning (e.g. ThunderCat)
	Bootstrap *V1MachineBootstrap `json:"bootstrap,omitempty"`

	// bridge network cidr
	BridgeNetworkCidr string `json:"bridgeNetworkCidr,omitempty"`

	// ca cert
	CaCert string `json:"caCert,omitempty"`

	// Env vars collected from the nodes
	Env []*V1EnvVar `json:"env"`

	// id
	ID string `json:"id,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// Agent API URL
	ManagementAPIURL string `json:"managementApiUrl,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// Optional, used for LEC clusters
	ParentClusterID string `json:"parentClusterId,omitempty"`

	// private address
	PrivateAddress string `json:"privateAddress,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// Where applicable
	ProviderInstanceID string `json:"providerInstanceId,omitempty"`

	// provider region
	ProviderRegion string `json:"providerRegion,omitempty"`

	// provisioning method
	ProvisioningMethod string `json:"provisioningMethod,omitempty"`

	// resources
	Resources *V1Resources `json:"resources,omitempty"`

	// ssh port
	SSHPort int32 `json:"sshPort,omitempty"`

	// ssh username
	SSHUsername string `json:"sshUsername,omitempty"`

	// tls cert
	TLSCert string `json:"tlsCert,omitempty"`

	// tls key
	TLSKey string `json:"tlsKey,omitempty"`

	// unschedulable
	Unschedulable bool `json:"unschedulable,omitempty"`
}

ClusterServiceCreateMachineBody CreateMachineRequest represents the request to create a machine

swagger:model ClusterServiceCreateMachineBody

func (*ClusterServiceCreateMachineBody) ContextValidate ¶

func (m *ClusterServiceCreateMachineBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster service create machine body based on the context it is used

func (*ClusterServiceCreateMachineBody) MarshalBinary ¶

func (m *ClusterServiceCreateMachineBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceCreateMachineBody) UnmarshalBinary ¶

func (m *ClusterServiceCreateMachineBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceCreateMachineBody) Validate ¶

Validate validates this cluster service create machine body

type ClusterServiceCreateOrgClusterCapacityReservationBody ¶

type ClusterServiceCreateOrgClusterCapacityReservationBody struct {

	// provider capacity reservation type, e.g. 'capacity-block' for AWS
	CapacityReservationType string `json:"capacityReservationType,omitempty"`

	// cloud provider capacity reservation Id
	CloudProviderCapacityReservationID string `json:"cloudProviderCapacityReservationId,omitempty"`

	// end time
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// This overwrites cloud_provider_capacity_reservation_id
	FullCloudProviderReservationString string `json:"fullCloudProviderReservationString,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// match pattern
	MatchPattern string `json:"matchPattern,omitempty"`

	// The number of instances registered when creating the reservation
	NumInstances int32 `json:"numInstances,omitempty"`

	// Whether we should populate the information from the cloud provider
	PopulateFromCloudProvider bool `json:"populateFromCloudProvider,omitempty"`

	// optional
	ProjectID string `json:"projectId,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// start time
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`

	// zone
	Zone string `json:"zone,omitempty"`
}

ClusterServiceCreateOrgClusterCapacityReservationBody cluster service create org cluster capacity reservation body

swagger:model ClusterServiceCreateOrgClusterCapacityReservationBody

func (*ClusterServiceCreateOrgClusterCapacityReservationBody) ContextValidate ¶

ContextValidate validates this cluster service create org cluster capacity reservation body based on context it is used

func (*ClusterServiceCreateOrgClusterCapacityReservationBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*ClusterServiceCreateOrgClusterCapacityReservationBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ClusterServiceCreateOrgClusterCapacityReservationBody) Validate ¶

Validate validates this cluster service create org cluster capacity reservation body

type ClusterServiceCreateProjectClusterBody ¶

type ClusterServiceCreateProjectClusterBody struct {

	// name
	Name string `json:"name,omitempty"`

	// spec
	Spec *V1ClusterSpec `json:"spec,omitempty"`
}

ClusterServiceCreateProjectClusterBody cluster service create project cluster body

swagger:model ClusterServiceCreateProjectClusterBody

func (*ClusterServiceCreateProjectClusterBody) ContextValidate ¶

ContextValidate validate this cluster service create project cluster body based on the context it is used

func (*ClusterServiceCreateProjectClusterBody) MarshalBinary ¶

func (m *ClusterServiceCreateProjectClusterBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceCreateProjectClusterBody) UnmarshalBinary ¶

func (m *ClusterServiceCreateProjectClusterBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceCreateProjectClusterBody) Validate ¶

Validate validates this cluster service create project cluster body

type ClusterServiceCreateServerAlertBody ¶

type ClusterServiceCreateServerAlertBody struct {

	// machine Id
	MachineID string `json:"machineId,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// phase
	Phase *V1ServerAlertPhase `json:"phase,omitempty"`

	// severity
	Severity *V1ServerAlertSeverity `json:"severity,omitempty"`

	// type
	Type *V1ServerAlertType `json:"type,omitempty"`
}

ClusterServiceCreateServerAlertBody cluster service create server alert body

swagger:model ClusterServiceCreateServerAlertBody

func (*ClusterServiceCreateServerAlertBody) ContextValidate ¶

func (m *ClusterServiceCreateServerAlertBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster service create server alert body based on the context it is used

func (*ClusterServiceCreateServerAlertBody) MarshalBinary ¶

func (m *ClusterServiceCreateServerAlertBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceCreateServerAlertBody) UnmarshalBinary ¶

func (m *ClusterServiceCreateServerAlertBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceCreateServerAlertBody) Validate ¶

Validate validates this cluster service create server alert body

type ClusterServiceGetClusterCapacityReservationBody ¶

type ClusterServiceGetClusterCapacityReservationBody any

ClusterServiceGetClusterCapacityReservationBody cluster service get cluster capacity reservation body

swagger:model ClusterServiceGetClusterCapacityReservationBody

type ClusterServiceInterruptServerBody ¶

type ClusterServiceInterruptServerBody any

ClusterServiceInterruptServerBody cluster service interrupt server body

swagger:model ClusterServiceInterruptServerBody

type ClusterServiceMintSandboxLogsTokenBody ¶

type ClusterServiceMintSandboxLogsTokenBody any

ClusterServiceMintSandboxLogsTokenBody cluster service mint sandbox logs token body

swagger:model ClusterServiceMintSandboxLogsTokenBody

type ClusterServiceProvisionMachineBody ¶

type ClusterServiceProvisionMachineBody struct {

	// User who added the machine
	AddedBy string `json:"addedBy,omitempty"`

	// address
	Address string `json:"address,omitempty"`

	// Optional, used for BM provisioning (e.g. ThunderCat)
	Bootstrap *V1MachineBootstrap `json:"bootstrap,omitempty"`

	// bridge network cidr
	BridgeNetworkCidr string `json:"bridgeNetworkCidr,omitempty"`

	// ca cert
	CaCert string `json:"caCert,omitempty"`

	// Env vars collected from the nodes
	Env []*V1EnvVar `json:"env"`

	// id
	ID string `json:"id,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// Agent API URL
	ManagementAPIURL string `json:"managementApiUrl,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// Optional, used for LEC clusters
	ParentClusterID string `json:"parentClusterId,omitempty"`

	// private address
	PrivateAddress string `json:"privateAddress,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// Where applicable
	ProviderInstanceID string `json:"providerInstanceId,omitempty"`

	// provider region
	ProviderRegion string `json:"providerRegion,omitempty"`

	// provisioning method
	ProvisioningMethod string `json:"provisioningMethod,omitempty"`

	// resources
	Resources *V1Resources `json:"resources,omitempty"`

	// ssh port
	SSHPort int32 `json:"sshPort,omitempty"`

	// ssh username
	SSHUsername string `json:"sshUsername,omitempty"`

	// tls cert
	TLSCert string `json:"tlsCert,omitempty"`

	// tls key
	TLSKey string `json:"tlsKey,omitempty"`

	// unschedulable
	Unschedulable bool `json:"unschedulable,omitempty"`
}

ClusterServiceProvisionMachineBody CreateMachineRequest represents the request to create a machine

swagger:model ClusterServiceProvisionMachineBody

func (*ClusterServiceProvisionMachineBody) ContextValidate ¶

func (m *ClusterServiceProvisionMachineBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster service provision machine body based on the context it is used

func (*ClusterServiceProvisionMachineBody) MarshalBinary ¶

func (m *ClusterServiceProvisionMachineBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceProvisionMachineBody) UnmarshalBinary ¶

func (m *ClusterServiceProvisionMachineBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceProvisionMachineBody) Validate ¶

Validate validates this cluster service provision machine body

type ClusterServicePurchaseCapacityBlockBody ¶

type ClusterServicePurchaseCapacityBlockBody struct {

	// capacity block duration hours
	CapacityBlockDurationHours int32 `json:"capacityBlockDurationHours,omitempty"`

	// instance count
	InstanceCount int32 `json:"instanceCount,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// start date
	// Format: date-time
	StartDate strfmt.DateTime `json:"startDate,omitempty"`

	// timezone
	Timezone string `json:"timezone,omitempty"`
}

ClusterServicePurchaseCapacityBlockBody cluster service purchase capacity block body

swagger:model ClusterServicePurchaseCapacityBlockBody

func (*ClusterServicePurchaseCapacityBlockBody) ContextValidate ¶

ContextValidate validates this cluster service purchase capacity block body based on context it is used

func (*ClusterServicePurchaseCapacityBlockBody) MarshalBinary ¶

func (m *ClusterServicePurchaseCapacityBlockBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServicePurchaseCapacityBlockBody) UnmarshalBinary ¶

func (m *ClusterServicePurchaseCapacityBlockBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServicePurchaseCapacityBlockBody) Validate ¶

Validate validates this cluster service purchase capacity block body

type ClusterServicePurchaseOrgCapacityBlockBody ¶

type ClusterServicePurchaseOrgCapacityBlockBody struct {

	// capacity block duration hours
	CapacityBlockDurationHours int32 `json:"capacityBlockDurationHours,omitempty"`

	// instance count
	InstanceCount int32 `json:"instanceCount,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// start date
	// Format: date-time
	StartDate strfmt.DateTime `json:"startDate,omitempty"`

	// timezone
	Timezone string `json:"timezone,omitempty"`
}

ClusterServicePurchaseOrgCapacityBlockBody cluster service purchase org capacity block body

swagger:model ClusterServicePurchaseOrgCapacityBlockBody

func (*ClusterServicePurchaseOrgCapacityBlockBody) ContextValidate ¶

ContextValidate validates this cluster service purchase org capacity block body based on context it is used

func (*ClusterServicePurchaseOrgCapacityBlockBody) MarshalBinary ¶

func (m *ClusterServicePurchaseOrgCapacityBlockBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServicePurchaseOrgCapacityBlockBody) UnmarshalBinary ¶

func (m *ClusterServicePurchaseOrgCapacityBlockBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServicePurchaseOrgCapacityBlockBody) Validate ¶

Validate validates this cluster service purchase org capacity block body

type ClusterServiceRenewSandboxSnapshotCredentialsBody ¶

type ClusterServiceRenewSandboxSnapshotCredentialsBody struct {

	// Snapshot whose blobs the agent is still lazily fetching. The control
	// plane resolves the authoritative record and re-mints read-only creds
	// scoped to its manifest + the shared blob prefix.
	SnapshotID string `json:"snapshotId,omitempty"`
}

ClusterServiceRenewSandboxSnapshotCredentialsBody cluster service renew sandbox snapshot credentials body

swagger:model ClusterServiceRenewSandboxSnapshotCredentialsBody

func (*ClusterServiceRenewSandboxSnapshotCredentialsBody) ContextValidate ¶

ContextValidate validates this cluster service renew sandbox snapshot credentials body based on context it is used

func (*ClusterServiceRenewSandboxSnapshotCredentialsBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*ClusterServiceRenewSandboxSnapshotCredentialsBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ClusterServiceRenewSandboxSnapshotCredentialsBody) Validate ¶

Validate validates this cluster service renew sandbox snapshot credentials body

type ClusterServiceReportMachineSystemMetricsBody ¶

type ClusterServiceReportMachineSystemMetricsBody struct {

	// TODO: hypervisor related metrics
	MachineMetrics []*V1SystemMetrics `json:"machineMetrics"`
}

ClusterServiceReportMachineSystemMetricsBody cluster service report machine system metrics body

swagger:model ClusterServiceReportMachineSystemMetricsBody

func (*ClusterServiceReportMachineSystemMetricsBody) ContextValidate ¶

ContextValidate validate this cluster service report machine system metrics body based on the context it is used

func (*ClusterServiceReportMachineSystemMetricsBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*ClusterServiceReportMachineSystemMetricsBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ClusterServiceReportMachineSystemMetricsBody) Validate ¶

Validate validates this cluster service report machine system metrics body

type ClusterServiceReportSandboxResourceMetricsBody ¶

type ClusterServiceReportSandboxResourceMetricsBody struct {

	// metrics
	Metrics []*V1SandboxResourceMetric `json:"metrics"`
}

ClusterServiceReportSandboxResourceMetricsBody cluster service report sandbox resource metrics body

swagger:model ClusterServiceReportSandboxResourceMetricsBody

func (*ClusterServiceReportSandboxResourceMetricsBody) ContextValidate ¶

ContextValidate validate this cluster service report sandbox resource metrics body based on the context it is used

func (*ClusterServiceReportSandboxResourceMetricsBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*ClusterServiceReportSandboxResourceMetricsBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ClusterServiceReportSandboxResourceMetricsBody) Validate ¶

Validate validates this cluster service report sandbox resource metrics body

type ClusterServiceReportSandboxTerminationBody ¶

type ClusterServiceReportSandboxTerminationBody struct {

	// Optional structured JSON context for debugging (raw runtime status etc.).
	DetailsJSON string `json:"detailsJson,omitempty"`

	// Sandbox PID-1 exit code when known; -1 when the runtime couldn't report.
	ExitCode int32 `json:"exitCode,omitempty"`

	// oom killed
	OomKilled bool `json:"oomKilled,omitempty"`

	// Control-plane server id of the terminated sandbox.
	ServerID string `json:"serverId,omitempty"`

	// terminated at
	// Format: date-time
	TerminatedAt strfmt.DateTime `json:"terminatedAt,omitempty"`

	// Stable machine token: timeout, user_delete, agent_error, oom,
	// scheduler_kill, unknown.
	TerminationReason string `json:"terminationReason,omitempty"`
}

ClusterServiceReportSandboxTerminationBody cluster service report sandbox termination body

swagger:model ClusterServiceReportSandboxTerminationBody

func (*ClusterServiceReportSandboxTerminationBody) ContextValidate ¶

ContextValidate validates this cluster service report sandbox termination body based on context it is used

func (*ClusterServiceReportSandboxTerminationBody) MarshalBinary ¶

func (m *ClusterServiceReportSandboxTerminationBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceReportSandboxTerminationBody) UnmarshalBinary ¶

func (m *ClusterServiceReportSandboxTerminationBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceReportSandboxTerminationBody) Validate ¶

Validate validates this cluster service report sandbox termination body

type ClusterServiceServerCheckInBody ¶

type ClusterServiceServerCheckInBody struct {

	// for servers with a persistent filesystem, when did they last successfully sync
	// Format: date-time
	FilesystemSyncedAt strfmt.DateTime `json:"filesystemSyncedAt,omitempty"`

	// Set by auth
	UserID string `json:"userId,omitempty"`
}

ClusterServiceServerCheckInBody cluster service server check in body

swagger:model ClusterServiceServerCheckInBody

func (*ClusterServiceServerCheckInBody) ContextValidate ¶

func (m *ClusterServiceServerCheckInBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster service server check in body based on context it is used

func (*ClusterServiceServerCheckInBody) MarshalBinary ¶

func (m *ClusterServiceServerCheckInBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceServerCheckInBody) UnmarshalBinary ¶

func (m *ClusterServiceServerCheckInBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceServerCheckInBody) Validate ¶

Validate validates this cluster service server check in body

type ClusterServiceSleepServerBody ¶

type ClusterServiceSleepServerBody any

ClusterServiceSleepServerBody cluster service sleep server body

swagger:model ClusterServiceSleepServerBody

type ClusterServiceUpdateClusterBody ¶

type ClusterServiceUpdateClusterBody struct {

	// name
	Name string `json:"name,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// spec
	Spec *V1ClusterSpec `json:"spec,omitempty"`
}

ClusterServiceUpdateClusterBody cluster service update cluster body

swagger:model ClusterServiceUpdateClusterBody

func (*ClusterServiceUpdateClusterBody) ContextValidate ¶

func (m *ClusterServiceUpdateClusterBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster service update cluster body based on the context it is used

func (*ClusterServiceUpdateClusterBody) MarshalBinary ¶

func (m *ClusterServiceUpdateClusterBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceUpdateClusterBody) UnmarshalBinary ¶

func (m *ClusterServiceUpdateClusterBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceUpdateClusterBody) Validate ¶

Validate validates this cluster service update cluster body

type ClusterServiceUpdateClusterUsageRestrictionBody ¶

type ClusterServiceUpdateClusterUsageRestrictionBody struct {

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// max instances
	MaxInstances int64 `json:"maxInstances,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// restriction type
	RestrictionType string `json:"restrictionType,omitempty"`
}

ClusterServiceUpdateClusterUsageRestrictionBody cluster service update cluster usage restriction body

swagger:model ClusterServiceUpdateClusterUsageRestrictionBody

func (*ClusterServiceUpdateClusterUsageRestrictionBody) ContextValidate ¶

ContextValidate validates this cluster service update cluster usage restriction body based on context it is used

func (*ClusterServiceUpdateClusterUsageRestrictionBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*ClusterServiceUpdateClusterUsageRestrictionBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ClusterServiceUpdateClusterUsageRestrictionBody) Validate ¶

Validate validates this cluster service update cluster usage restriction body

type ClusterServiceUpdateMachineAgentBody ¶

type ClusterServiceUpdateMachineAgentBody struct {

	// Optional agent version override, sent in the request body. When empty, the
	// cluster spec's agent_version (else the fleet-wide configured default) is
	// used. When set, it wins over both — for rolling a specific build onto the
	// chosen machines.
	AgentVersion string `json:"agentVersion,omitempty"`

	// Machines (by ID) to update. Must all belong to cluster_id.
	MachineIds []string `json:"machineIds"`

	// org Id
	OrgID string `json:"orgId,omitempty"`
}

ClusterServiceUpdateMachineAgentBody cluster service update machine agent body

swagger:model ClusterServiceUpdateMachineAgentBody

func (*ClusterServiceUpdateMachineAgentBody) ContextValidate ¶

func (m *ClusterServiceUpdateMachineAgentBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster service update machine agent body based on context it is used

func (*ClusterServiceUpdateMachineAgentBody) MarshalBinary ¶

func (m *ClusterServiceUpdateMachineAgentBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceUpdateMachineAgentBody) UnmarshalBinary ¶

func (m *ClusterServiceUpdateMachineAgentBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceUpdateMachineAgentBody) Validate ¶

Validate validates this cluster service update machine agent body

type ClusterServiceUpdateMachineBody ¶

type ClusterServiceUpdateMachineBody struct {

	// Whether we want to move a node from one cluster to another
	DesiredClusterID string `json:"desiredClusterId,omitempty"`

	// Machine mode configuration to allow switching between VM and baremetal modes
	MachineMode string `json:"machineMode,omitempty"`

	// Updatable fields. Each is wrapped so callers can leave a field unset
	// and have the server preserve the existing value; sending the wrapper
	// with an empty inner value clears that field.
	Name string `json:"name,omitempty"`

	// Force an ordering over the machine listing.
	//   - unset (nil):   leave existing value untouched
	//   - >= 0:          set to this value (must be unique within cluster)
	//   - <0:            reset to NULL (machine falls to the bottom of the list)
	// Any other negative value returns InvalidArgument.
	OrderingIndex int32 `json:"orderingIndex,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// owned by lightning
	OwnedByLightning bool `json:"ownedByLightning,omitempty"`

	// Workload-class dedication (see Machine.purpose). Must be one of the
	// values returned by storage.KnownMachinePurposes() — today: "" or
	// "sandbox". Server returns InvalidArgument otherwise.
	Purpose string `json:"purpose,omitempty"`

	// reboot
	Reboot bool `json:"reboot,omitempty"`

	// Whether the machine on which the server is running requires maintenance
	RequiresMaintenance bool `json:"requiresMaintenance,omitempty"`

	// requires maintenance reason
	RequiresMaintenanceReason string `json:"requiresMaintenanceReason,omitempty"`

	// reset hugepages
	ResetHugepages bool `json:"resetHugepages,omitempty"`

	// schedulable affinity
	SchedulableAffinity *V1SchedulableAffinity `json:"schedulableAffinity,omitempty"`

	// unschedulable
	Unschedulable bool `json:"unschedulable,omitempty"`
}

ClusterServiceUpdateMachineBody cluster service update machine body

swagger:model ClusterServiceUpdateMachineBody

func (*ClusterServiceUpdateMachineBody) ContextValidate ¶

func (m *ClusterServiceUpdateMachineBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster service update machine body based on the context it is used

func (*ClusterServiceUpdateMachineBody) MarshalBinary ¶

func (m *ClusterServiceUpdateMachineBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceUpdateMachineBody) UnmarshalBinary ¶

func (m *ClusterServiceUpdateMachineBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceUpdateMachineBody) Validate ¶

Validate validates this cluster service update machine body

type ClusterServiceUpdateMachineServerBody ¶

type ClusterServiceUpdateMachineServerBody struct {

	// ib device infos
	IbDeviceInfos []*V1IBDeviceInfo `json:"ibDeviceInfos"`

	// memory zones
	MemoryZones []*V1MemoryZone `json:"memoryZones"`

	// Shared-NVSwitch FM binding. Nil skips the column; non-nil replaces it.
	NvlinkFmPartition *V1NvlinkFMPartitionBinding `json:"nvlinkFmPartition,omitempty"`
}

ClusterServiceUpdateMachineServerBody cluster service update machine server body

swagger:model ClusterServiceUpdateMachineServerBody

func (*ClusterServiceUpdateMachineServerBody) ContextValidate ¶

func (m *ClusterServiceUpdateMachineServerBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster service update machine server body based on the context it is used

func (*ClusterServiceUpdateMachineServerBody) MarshalBinary ¶

func (m *ClusterServiceUpdateMachineServerBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceUpdateMachineServerBody) UnmarshalBinary ¶

func (m *ClusterServiceUpdateMachineServerBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceUpdateMachineServerBody) Validate ¶

Validate validates this cluster service update machine server body

type ClusterServiceUpdateProjectClusterBody ¶

type ClusterServiceUpdateProjectClusterBody struct {

	// name
	Name string `json:"name,omitempty"`

	// spec
	Spec *V1ClusterSpec `json:"spec,omitempty"`
}

ClusterServiceUpdateProjectClusterBody cluster service update project cluster body

swagger:model ClusterServiceUpdateProjectClusterBody

func (*ClusterServiceUpdateProjectClusterBody) ContextValidate ¶

ContextValidate validate this cluster service update project cluster body based on the context it is used

func (*ClusterServiceUpdateProjectClusterBody) MarshalBinary ¶

func (m *ClusterServiceUpdateProjectClusterBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceUpdateProjectClusterBody) UnmarshalBinary ¶

func (m *ClusterServiceUpdateProjectClusterBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceUpdateProjectClusterBody) Validate ¶

Validate validates this cluster service update project cluster body

type ClusterServiceUpdateServerBody ¶

type ClusterServiceUpdateServerBody struct {

	// gpu uuids
	GpuUuids []string `json:"gpuUuids"`
}

ClusterServiceUpdateServerBody cluster service update server body

swagger:model ClusterServiceUpdateServerBody

func (*ClusterServiceUpdateServerBody) ContextValidate ¶

func (m *ClusterServiceUpdateServerBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster service update server body based on context it is used

func (*ClusterServiceUpdateServerBody) MarshalBinary ¶

func (m *ClusterServiceUpdateServerBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterServiceUpdateServerBody) UnmarshalBinary ¶

func (m *ClusterServiceUpdateServerBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterServiceUpdateServerBody) Validate ¶

func (m *ClusterServiceUpdateServerBody) Validate(formats strfmt.Registry) error

Validate validates this cluster service update server body

type DataConnectionMountDataConnectionMountCopyStatus ¶

type DataConnectionMountDataConnectionMountCopyStatus string

DataConnectionMountDataConnectionMountCopyStatus Use to copy files between cloud spaces

swagger:model DataConnectionMountDataConnectionMountCopyStatus

const (

	// DataConnectionMountDataConnectionMountCopyStatusCOPYUNSPECIFIED captures enum value "COPY_UNSPECIFIED"
	DataConnectionMountDataConnectionMountCopyStatusCOPYUNSPECIFIED DataConnectionMountDataConnectionMountCopyStatus = "COPY_UNSPECIFIED"

	// DataConnectionMountDataConnectionMountCopyStatusCOPYINPROGRESS captures enum value "COPY_IN_PROGRESS"
	DataConnectionMountDataConnectionMountCopyStatusCOPYINPROGRESS DataConnectionMountDataConnectionMountCopyStatus = "COPY_IN_PROGRESS"

	// DataConnectionMountDataConnectionMountCopyStatusCOPYDONE captures enum value "COPY_DONE"
	DataConnectionMountDataConnectionMountCopyStatusCOPYDONE DataConnectionMountDataConnectionMountCopyStatus = "COPY_DONE"

	// DataConnectionMountDataConnectionMountCopyStatusCOPYFAILED captures enum value "COPY_FAILED"
	DataConnectionMountDataConnectionMountCopyStatusCOPYFAILED DataConnectionMountDataConnectionMountCopyStatus = "COPY_FAILED"
)

func (DataConnectionMountDataConnectionMountCopyStatus) ContextValidate ¶

ContextValidate validates this data connection mount data connection mount copy status based on context it is used

func (DataConnectionMountDataConnectionMountCopyStatus) Pointer ¶

Pointer returns a pointer to a freshly-allocated DataConnectionMountDataConnectionMountCopyStatus.

func (DataConnectionMountDataConnectionMountCopyStatus) Validate ¶

Validate validates this data connection mount data connection mount copy status

type DataConnectionServiceCreateDataConnectionBody ¶

type DataConnectionServiceCreateDataConnectionBody struct {

	// Used to delete the indexation
	AccessClusterIds []string `json:"accessClusterIds"`

	// aws
	Aws *V1AwsDataConnection `json:"aws,omitempty"`

	// Used to store the indexation
	ClusterID string `json:"clusterId,omitempty"`

	// Used to create an indexation
	CreateIndex bool `json:"createIndex,omitempty"`

	// if true, create resources on the cloud provider
	CreateResources bool `json:"createResources,omitempty"`

	// EFS configuration (handles efs data connections)
	Efs *V1EfsConfig `json:"efs,omitempty"`

	// Filestore data connection
	Filestore *V1FilestoreDataConnection `json:"filestore,omitempty"`

	// Sidestep verification
	Force bool `json:"force,omitempty"`

	// gcp
	Gcp *V1GcpDataConnection `json:"gcp,omitempty"`

	// GCS folder data connection
	GcsFolder *V1GCSFolderDataConnection `json:"gcsFolder,omitempty"`

	// Provided id for infinite folders
	ID string `json:"id,omitempty"`

	// Lustre data connection
	Lustre *V1LustreDataConnection `json:"lustre,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// Optimization mode; settable only at creation
	OptimizationMode *V1DataConnectionOptimizationMode `json:"optimizationMode,omitempty"`

	// R2 data connection
	R2 *V1R2DataConnection `json:"r2,omitempty"`

	// Used for rclone
	RunCmds []string `json:"runCmds"`

	// S3 folder data connection
	S3Folder *V1S3FolderDataConnection `json:"s3Folder,omitempty"`

	// snowflake
	Snowflake *V1SnowflakeDataConnection `json:"snowflake,omitempty"`

	// Managed VAST volume (VoltagePark machine clusters)
	Vast *V1VastDataConnection `json:"vast,omitempty"`

	// If true, allow writing to the data connection folder
	Writable bool `json:"writable,omitempty"`
}

DataConnectionServiceCreateDataConnectionBody Create

swagger:model DataConnectionServiceCreateDataConnectionBody

func (*DataConnectionServiceCreateDataConnectionBody) ContextValidate ¶

ContextValidate validate this data connection service create data connection body based on the context it is used

func (*DataConnectionServiceCreateDataConnectionBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*DataConnectionServiceCreateDataConnectionBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*DataConnectionServiceCreateDataConnectionBody) Validate ¶

Validate validates this data connection service create data connection body

type DataConnectionServiceSetupDataConnectionBody ¶

type DataConnectionServiceSetupDataConnectionBody struct {

	// cluster IDs to set up access
	ClusterIds []string `json:"clusterIds"`

	// contains Google Cloud Storage bucket spec
	Gcp *V1GcpDataConnection `json:"gcp,omitempty"`
}

DataConnectionServiceSetupDataConnectionBody Setup

swagger:model DataConnectionServiceSetupDataConnectionBody

func (*DataConnectionServiceSetupDataConnectionBody) ContextValidate ¶

ContextValidate validate this data connection service setup data connection body based on the context it is used

func (*DataConnectionServiceSetupDataConnectionBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*DataConnectionServiceSetupDataConnectionBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*DataConnectionServiceSetupDataConnectionBody) Validate ¶

Validate validates this data connection service setup data connection body

type DataConnectionServiceUpdateDataConnectionBody ¶

type DataConnectionServiceUpdateDataConnectionBody struct {

	// Manages data connection capacity auto-increase
	AutoIncreaseEnabled bool `json:"autoIncreaseEnabled,omitempty"`

	// aws
	Aws *V1AwsDataConnection `json:"aws,omitempty"`

	// New total capacity in GiB. Capacity can only be expanded, and zero leaves it unchanged. Managed VAST volumes only, for now.
	CapacityGb string `json:"capacityGb,omitempty"`

	// efs
	Efs *V1EfsConfig `json:"efs,omitempty"`

	// gcp
	Gcp *V1GcpDataConnection `json:"gcp,omitempty"`

	// gcs folder
	GcsFolder *V1GCSFolderDataConnection `json:"gcsFolder,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// Optimization mode for the data connection
	OptimizationMode *V1DataConnectionOptimizationMode `json:"optimizationMode,omitempty"`

	// r2
	R2 *V1R2DataConnection `json:"r2,omitempty"`

	// Used for rclone
	RunCmds []string `json:"runCmds"`

	// s3 folder
	S3Folder *V1S3FolderDataConnection `json:"s3Folder,omitempty"`

	// snowflake
	Snowflake *V1SnowflakeDataConnection `json:"snowflake,omitempty"`

	// If true, allow writing to the data connection folder
	Writable bool `json:"writable,omitempty"`
}

DataConnectionServiceUpdateDataConnectionBody Update

swagger:model DataConnectionServiceUpdateDataConnectionBody

func (*DataConnectionServiceUpdateDataConnectionBody) ContextValidate ¶

ContextValidate validate this data connection service update data connection body based on the context it is used

func (*DataConnectionServiceUpdateDataConnectionBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*DataConnectionServiceUpdateDataConnectionBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*DataConnectionServiceUpdateDataConnectionBody) Validate ¶

Validate validates this data connection service update data connection body

type DataConnectionServiceValidateDataConnectionBody ¶

type DataConnectionServiceValidateDataConnectionBody struct {

	// aws
	Aws *V1AwsDataConnection `json:"aws,omitempty"`

	// Used to check whether the data connection is public, i.e. available across projects
	CheckIsPublic bool `json:"checkIsPublic,omitempty"`

	// Used to store the indexation
	ClusterIds []string `json:"clusterIds"`

	// EFS configuration (handles efs data connections)
	Efs *V1EfsConfig `json:"efs,omitempty"`

	// Filestore data connection
	Filestore *V1FilestoreDataConnection `json:"filestore,omitempty"`

	// gcp
	Gcp *V1GcpDataConnection `json:"gcp,omitempty"`

	// GCS folder data connection
	GcsFolder *V1GCSFolderDataConnection `json:"gcsFolder,omitempty"`

	// R2 data connection
	R2 *V1R2DataConnection `json:"r2,omitempty"`

	// S3 folder data connection
	S3Folder *V1S3FolderDataConnection `json:"s3Folder,omitempty"`
}

DataConnectionServiceValidateDataConnectionBody Validate

swagger:model DataConnectionServiceValidateDataConnectionBody

func (*DataConnectionServiceValidateDataConnectionBody) ContextValidate ¶

ContextValidate validate this data connection service validate data connection body based on the context it is used

func (*DataConnectionServiceValidateDataConnectionBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*DataConnectionServiceValidateDataConnectionBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*DataConnectionServiceValidateDataConnectionBody) Validate ¶

Validate validates this data connection service validate data connection body

type Externalv1CloudSpaceInstanceStatus ¶

type Externalv1CloudSpaceInstanceStatus struct {

	// alerts
	Alerts []*V1ServerAlert `json:"alerts"`

	// app Url
	AppURL string `json:"appUrl,omitempty"`

	// percentage of file transfer completion (not the total cloudspace sync)
	BytesToSync string `json:"bytesToSync,omitempty"`

	// capacity reservation Id
	CapacityReservationID string `json:"capacityReservationId,omitempty"`

	// The cloudspace ID this instance belongs to
	CloudSpaceID string `json:"cloudSpaceId,omitempty"`

	// cloud space instance Id
	CloudSpaceInstanceID string `json:"cloudSpaceInstanceId,omitempty"`

	// The cluster ID of the instance
	ClusterID string `json:"clusterId,omitempty"`

	// compute config
	ComputeConfig *V1UserRequestedComputeConfig `json:"computeConfig,omitempty"`

	// creation timestamp
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// data connection mounts
	DataConnectionMounts []*V1DataConnectionMount `json:"dataConnectionMounts"`

	// estimated time in seconds until file transfer completion
	FilesToSync string `json:"filesToSync,omitempty"`

	// Indicates that this is a free studio
	Free bool `json:"free,omitempty"`

	// ide
	Ide string `json:"ide,omitempty"`

	// AWS/ GCP instance identifier
	InstanceID string `json:"instanceId,omitempty"`

	// instance region
	InstanceRegion string `json:"instanceRegion,omitempty"`

	// The URL to access the instance, i.e. string provider_instance_url = 35; // URL to the provider's instance page. I.e. us-east.console.aws.amazon.com/ec2/home#Instances:instanceId=i-1234567890abcdef0
	InstanceURL string `json:"instanceUrl,omitempty"`

	// dedicated URL for JupyterLab, if specified, FE should load JupyterLab from it
	JupyterlabURL string `json:"jupyterlabUrl,omitempty"`

	// phase
	Phase *V1CloudSpaceInstanceState `json:"phase,omitempty"`

	// Price per hour for this instance
	Price float64 `json:"price,omitempty"`

	// Private IP address of the instance, if applicable
	PrivateIPAddress string `json:"privateIpAddress,omitempty"`

	// Public IP address of the instance, if applicable
	PublicIPAddress string `json:"publicIpAddress,omitempty"`

	// Whether the machine on which the server is running requires maintenance
	RequiresMaintenance bool `json:"requiresMaintenance,omitempty"`

	// Timestamp when the machine was first marked as requiring maintenance.
	// Format: date-time
	RequiresMaintenanceStartedAt strfmt.DateTime `json:"requiresMaintenanceStartedAt,omitempty"`

	// Domain to use for SSH (i.e. ssh.lightning.ai)
	SSHHost string `json:"sshHost,omitempty"`

	// Port to use (i.e. 22) can be skipped when connecting
	SSHPort int32 `json:"sshPort,omitempty"`

	// Username to use for SSH (i.e. s_<cloudspace ID>)
	SSHUsername string `json:"sshUsername,omitempty"`

	// start timestamp
	// Format: date-time
	StartTimestamp strfmt.DateTime `json:"startTimestamp,omitempty"`

	// startup eta seconds
	StartupEtaSeconds string `json:"startupEtaSeconds,omitempty"`

	// startup percentage
	StartupPercentage string `json:"startupPercentage,omitempty"`

	// startup phase
	StartupPhase string `json:"startupPhase,omitempty"`

	// startup stages
	StartupStages []*V1CloudSpaceStartupStageStatus `json:"startupStages"`

	// startup status
	StartupStatus *V1CloudSpaceInstanceStartupStatus `json:"startupStatus,omitempty"`

	// status message
	StatusMessage string `json:"statusMessage,omitempty"`

	// Timestamp when this CloudSpaceInstance became InUse after a switch. If this CloudSpaceInstance was not switched to
	// then this value will be empty.
	// Format: date-time
	SwitchedAt strfmt.DateTime `json:"switchedAt,omitempty"`

	// sync last updated
	// Format: date-time
	SyncLastUpdated strfmt.DateTime `json:"syncLastUpdated,omitempty"`

	// If this CloudSpaceInstance lives on a dynamically scheduled machine (DWS for GCP),
	// the time when the machine will be terminated:
	// Format: date-time
	TerminationTime strfmt.DateTime `json:"terminationTime,omitempty"`

	// transfer metadata associated with the cloudspace instance
	TransferMetadata *V1CloudSpaceTransferMetadata `json:"transferMetadata,omitempty"`

	// dedicated URL for VSCode, if specified, FE should load VSCode from it
	VscodeURL string `json:"vscodeUrl,omitempty"`
}

Externalv1CloudSpaceInstanceStatus externalv1 cloud space instance status

swagger:model externalv1CloudSpaceInstanceStatus

func (*Externalv1CloudSpaceInstanceStatus) ContextValidate ¶

func (m *Externalv1CloudSpaceInstanceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this externalv1 cloud space instance status based on the context it is used

func (*Externalv1CloudSpaceInstanceStatus) MarshalBinary ¶

func (m *Externalv1CloudSpaceInstanceStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Externalv1CloudSpaceInstanceStatus) UnmarshalBinary ¶

func (m *Externalv1CloudSpaceInstanceStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Externalv1CloudSpaceInstanceStatus) Validate ¶

Validate validates this externalv1 cloud space instance status

type Externalv1Cluster ¶

type Externalv1Cluster struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// protected
	Protected bool `json:"protected,omitempty"`

	// spec
	Spec *V1ClusterSpec `json:"spec,omitempty"`

	// status
	Status *V1ClusterStatus `json:"status,omitempty"`
}

Externalv1Cluster externalv1 cluster

swagger:model externalv1Cluster

func (*Externalv1Cluster) ContextValidate ¶

func (m *Externalv1Cluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this externalv1 cluster based on the context it is used

func (*Externalv1Cluster) MarshalBinary ¶

func (m *Externalv1Cluster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Externalv1Cluster) UnmarshalBinary ¶

func (m *Externalv1Cluster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Externalv1Cluster) Validate ¶

func (m *Externalv1Cluster) Validate(formats strfmt.Registry) error

Validate validates this externalv1 cluster

type Externalv1LightningappInstance ¶

type Externalv1LightningappInstance struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// provider user Id
	ProviderUserID string `json:"providerUserId,omitempty"`

	// spec
	Spec *V1LightningappInstanceSpec `json:"spec,omitempty"`

	// status
	Status *V1LightningappInstanceStatus `json:"status,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

Externalv1LightningappInstance externalv1 lightningapp instance

swagger:model externalv1LightningappInstance

func (*Externalv1LightningappInstance) ContextValidate ¶

func (m *Externalv1LightningappInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this externalv1 lightningapp instance based on the context it is used

func (*Externalv1LightningappInstance) MarshalBinary ¶

func (m *Externalv1LightningappInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Externalv1LightningappInstance) UnmarshalBinary ¶

func (m *Externalv1LightningappInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Externalv1LightningappInstance) Validate ¶

func (m *Externalv1LightningappInstance) Validate(formats strfmt.Registry) error

Validate validates this externalv1 lightningapp instance

type Externalv1ResourceScopedAlertingRecipients ¶

type Externalv1ResourceScopedAlertingRecipients struct {

	// Alerts all organization admins
	OrgAdmins bool `json:"orgAdmins,omitempty"`

	// Alerts all admins in the teamspace
	TeamspaceAdmins bool `json:"teamspaceAdmins,omitempty"`

	// Alerts specific users
	UserIds []string `json:"userIds"`
}

Externalv1ResourceScopedAlertingRecipients externalv1 resource scoped alerting recipients

swagger:model externalv1ResourceScopedAlertingRecipients

func (*Externalv1ResourceScopedAlertingRecipients) ContextValidate ¶

ContextValidate validates this externalv1 resource scoped alerting recipients based on context it is used

func (*Externalv1ResourceScopedAlertingRecipients) MarshalBinary ¶

func (m *Externalv1ResourceScopedAlertingRecipients) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Externalv1ResourceScopedAlertingRecipients) UnmarshalBinary ¶

func (m *Externalv1ResourceScopedAlertingRecipients) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Externalv1ResourceScopedAlertingRecipients) Validate ¶

Validate validates this externalv1 resource scoped alerting recipients

type Gridv1ClusterAlertsConfig ¶

type Gridv1ClusterAlertsConfig struct {

	// enable email alerts
	EnableEmailAlerts bool `json:"enableEmailAlerts,omitempty"`

	// enable slack alerts
	EnableSlackAlerts bool `json:"enableSlackAlerts,omitempty"`

	// recipients
	Recipients *Gridv1ResourceScopedAlertingRecipients `json:"recipients,omitempty"`

	// slack channel
	SlackChannel string `json:"slackChannel,omitempty"`
}

Gridv1ClusterAlertsConfig gridv1 cluster alerts config

swagger:model gridv1ClusterAlertsConfig

func (*Gridv1ClusterAlertsConfig) ContextValidate ¶

func (m *Gridv1ClusterAlertsConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this gridv1 cluster alerts config based on the context it is used

func (*Gridv1ClusterAlertsConfig) MarshalBinary ¶

func (m *Gridv1ClusterAlertsConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Gridv1ClusterAlertsConfig) UnmarshalBinary ¶

func (m *Gridv1ClusterAlertsConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Gridv1ClusterAlertsConfig) Validate ¶

func (m *Gridv1ClusterAlertsConfig) Validate(formats strfmt.Registry) error

Validate validates this gridv1 cluster alerts config

type Gridv1ResourceScopedAlertingRecipients ¶

type Gridv1ResourceScopedAlertingRecipients struct {

	// Alerts all organization admins
	OrgAdmins bool `json:"orgAdmins,omitempty"`

	// Alerts all admins in the teamspace
	TeamspaceAdmins bool `json:"teamspaceAdmins,omitempty"`

	// Alerts specific users
	UserIds []string `json:"userIds"`
}

Gridv1ResourceScopedAlertingRecipients gridv1 resource scoped alerting recipients

swagger:model gridv1ResourceScopedAlertingRecipients

func (*Gridv1ResourceScopedAlertingRecipients) ContextValidate ¶

ContextValidate validates this gridv1 resource scoped alerting recipients based on context it is used

func (*Gridv1ResourceScopedAlertingRecipients) MarshalBinary ¶

func (m *Gridv1ResourceScopedAlertingRecipients) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Gridv1ResourceScopedAlertingRecipients) UnmarshalBinary ¶

func (m *Gridv1ResourceScopedAlertingRecipients) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Gridv1ResourceScopedAlertingRecipients) Validate ¶

Validate validates this gridv1 resource scoped alerting recipients

type JobsServiceCreateDeploymentAlertingPolicyBody ¶

type JobsServiceCreateDeploymentAlertingPolicyBody struct {

	// description
	Description string `json:"description,omitempty"`

	// frequency
	Frequency *V1AlertingPolicyFrequency `json:"frequency,omitempty"`

	// limit
	Limit float32 `json:"limit,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// operation
	Operation *V1AlertingPolicyOperation `json:"operation,omitempty"`

	// recipients
	Recipients *Externalv1ResourceScopedAlertingRecipients `json:"recipients,omitempty"`

	// severity
	Severity *V1AlertingPolicySeverity `json:"severity,omitempty"`

	// type
	Type *V1DeploymentAlertingPolicyType `json:"type,omitempty"`

	// value
	Value float32 `json:"value,omitempty"`
}

JobsServiceCreateDeploymentAlertingPolicyBody jobs service create deployment alerting policy body

swagger:model JobsServiceCreateDeploymentAlertingPolicyBody

func (*JobsServiceCreateDeploymentAlertingPolicyBody) ContextValidate ¶

ContextValidate validate this jobs service create deployment alerting policy body based on the context it is used

func (*JobsServiceCreateDeploymentAlertingPolicyBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*JobsServiceCreateDeploymentAlertingPolicyBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*JobsServiceCreateDeploymentAlertingPolicyBody) Validate ¶

Validate validates this jobs service create deployment alerting policy body

type JobsServiceCreateDeploymentBody ¶

type JobsServiceCreateDeploymentBody struct {

	// Warning keys the caller has acknowledged
	AcknowledgedWarnings []string `json:"acknowledgedWarnings"`

	// The api standard used by this deployment (openai ...)
	APIStandard string `json:"apiStandard,omitempty"`

	// The APIs from the template if any
	Apis []*V1DeploymentAPI `json:"apis"`

	// Autoscaling
	Autoscaling *V1AutoscalingSpec `json:"autoscaling,omitempty"`

	// byom spec
	ByomSpec *V1BYOMSpec `json:"byomSpec,omitempty"`

	// The id of the Studio if the deployment was created from the Studio Plugin
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// Networking
	Endpoint *V1Endpoint `json:"endpoint,omitempty"`

	// Whether the deployment was created using LitServe
	FromLitserve bool `json:"fromLitserve,omitempty"`

	// Whether the deployment was created from the onboarding flow
	FromOnboarding bool `json:"fromOnboarding,omitempty"`

	// k8s deployment config
	K8sDeploymentConfig *V1K8sDeploymentConfig `json:"k8sDeploymentConfig,omitempty"`

	// Required
	Name string `json:"name,omitempty"`

	// The parameters of this deployment when created from a template
	ParameterSpec *V1ParameterizationSpec `json:"parameterSpec,omitempty"`

	// The id of the template that was used to create this deployment
	ParentTemplateID string `json:"parentTemplateId,omitempty"`

	// Whether the deployment should be re-used between pipelines runs
	PipelineReuseDeploymentBetweenRuns bool `json:"pipelineReuseDeploymentBetweenRuns,omitempty"`

	// Who should be receiving alerts
	Recipients *Externalv1ResourceScopedAlertingRecipients `json:"recipients,omitempty"`

	// Optional notes for the initial release (feature-gated)
	ReleaseNotes string `json:"releaseNotes,omitempty"`

	// replicas
	Replicas int64 `json:"replicas,omitempty"`

	// If set, on replica shutdown the server will be moved back to overprovisioned state
	ReuseServers bool `json:"reuseServers,omitempty"`

	// Compute + run configuration
	Spec *V1JobSpec `json:"spec,omitempty"`

	// The release strategy
	Strategy *V1DeploymentStrategy `json:"strategy,omitempty"`

	// Kind-specific config. At most one should be set; unset defaults to vm-instances.
	VMInstancesConfig V1VMInstancesConfig `json:"vmInstancesConfig,omitempty"`
}

JobsServiceCreateDeploymentBody CreateDeploymentRequest defines a spec for the job that allows for autoscaling jobs

swagger:model JobsServiceCreateDeploymentBody

func (*JobsServiceCreateDeploymentBody) ContextValidate ¶

func (m *JobsServiceCreateDeploymentBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs service create deployment body based on the context it is used

func (*JobsServiceCreateDeploymentBody) MarshalBinary ¶

func (m *JobsServiceCreateDeploymentBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceCreateDeploymentBody) UnmarshalBinary ¶

func (m *JobsServiceCreateDeploymentBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceCreateDeploymentBody) Validate ¶

Validate validates this jobs service create deployment body

type JobsServiceCreateJobBody ¶

type JobsServiceCreateJobBody struct {

	// Networking
	//
	// Optional, needed to expose your service to the internet
	Endpoint *V1Endpoint `json:"endpoint,omitempty"`

	// Required
	Name string `json:"name,omitempty"`

	// spec
	Spec *V1JobSpec `json:"spec,omitempty"`
}

JobsServiceCreateJobBody jobs service create job body

swagger:model JobsServiceCreateJobBody

func (*JobsServiceCreateJobBody) ContextValidate ¶

func (m *JobsServiceCreateJobBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs service create job body based on the context it is used

func (*JobsServiceCreateJobBody) MarshalBinary ¶

func (m *JobsServiceCreateJobBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceCreateJobBody) UnmarshalBinary ¶

func (m *JobsServiceCreateJobBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceCreateJobBody) Validate ¶

func (m *JobsServiceCreateJobBody) Validate(formats strfmt.Registry) error

Validate validates this jobs service create job body

type JobsServiceCreateMultiMachineJobBody ¶

type JobsServiceCreateMultiMachineJobBody struct {

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// fault tolerance
	FaultTolerance *V1MultiMachineJobFaultTolerance `json:"faultTolerance,omitempty"`

	// Number of machines to use
	Machines int64 `json:"machines,omitempty"`

	// Max number of run attempts for this multi-machine job. 0 means unset (legacy, no retries); 1 means a single attempt (no retries).
	MaxRunAttempts int64 `json:"maxRunAttempts,omitempty"`

	// Required
	Name string `json:"name,omitempty"`

	// Compute + run configuration
	Spec *V1JobSpec `json:"spec,omitempty"`
}

JobsServiceCreateMultiMachineJobBody jobs service create multi machine job body

swagger:model JobsServiceCreateMultiMachineJobBody

func (*JobsServiceCreateMultiMachineJobBody) ContextValidate ¶

func (m *JobsServiceCreateMultiMachineJobBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs service create multi machine job body based on the context it is used

func (*JobsServiceCreateMultiMachineJobBody) MarshalBinary ¶

func (m *JobsServiceCreateMultiMachineJobBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceCreateMultiMachineJobBody) UnmarshalBinary ¶

func (m *JobsServiceCreateMultiMachineJobBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceCreateMultiMachineJobBody) Validate ¶

Validate validates this jobs service create multi machine job body

type JobsServiceDuplicateDeploymentBody ¶

type JobsServiceDuplicateDeploymentBody struct {

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// Required
	Name string `json:"name,omitempty"`

	// Who should be receiving alerts
	Recipients *Externalv1ResourceScopedAlertingRecipients `json:"recipients,omitempty"`
}

JobsServiceDuplicateDeploymentBody jobs service duplicate deployment body

swagger:model JobsServiceDuplicateDeploymentBody

func (*JobsServiceDuplicateDeploymentBody) ContextValidate ¶

func (m *JobsServiceDuplicateDeploymentBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs service duplicate deployment body based on the context it is used

func (*JobsServiceDuplicateDeploymentBody) MarshalBinary ¶

func (m *JobsServiceDuplicateDeploymentBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceDuplicateDeploymentBody) UnmarshalBinary ¶

func (m *JobsServiceDuplicateDeploymentBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceDuplicateDeploymentBody) Validate ¶

Validate validates this jobs service duplicate deployment body

type JobsServiceReloadDeploymentWeightsBody ¶

type JobsServiceReloadDeploymentWeightsBody struct {

	// Optional: new model/config to apply
	ByomSpec *V1BYOMSpec `json:"byomSpec,omitempty"`
}

JobsServiceReloadDeploymentWeightsBody jobs service reload deployment weights body

swagger:model JobsServiceReloadDeploymentWeightsBody

func (*JobsServiceReloadDeploymentWeightsBody) ContextValidate ¶

ContextValidate validate this jobs service reload deployment weights body based on the context it is used

func (*JobsServiceReloadDeploymentWeightsBody) MarshalBinary ¶

func (m *JobsServiceReloadDeploymentWeightsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceReloadDeploymentWeightsBody) UnmarshalBinary ¶

func (m *JobsServiceReloadDeploymentWeightsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceReloadDeploymentWeightsBody) Validate ¶

Validate validates this jobs service reload deployment weights body

type JobsServiceReportDeploymentRoutingTelemetryBody ¶

type JobsServiceReportDeploymentRoutingTelemetryBody struct {

	// routing telemetry
	RoutingTelemetry []*V1RoutingTelemetry `json:"routingTelemetry"`
}

JobsServiceReportDeploymentRoutingTelemetryBody jobs service report deployment routing telemetry body

swagger:model JobsServiceReportDeploymentRoutingTelemetryBody

func (*JobsServiceReportDeploymentRoutingTelemetryBody) ContextValidate ¶

ContextValidate validate this jobs service report deployment routing telemetry body based on the context it is used

func (*JobsServiceReportDeploymentRoutingTelemetryBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*JobsServiceReportDeploymentRoutingTelemetryBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*JobsServiceReportDeploymentRoutingTelemetryBody) Validate ¶

Validate validates this jobs service report deployment routing telemetry body

type JobsServiceReportJobSystemMetricsBody ¶

type JobsServiceReportJobSystemMetricsBody struct {

	// machine Id
	MachineID string `json:"machineId,omitempty"`

	// metrics
	Metrics []*V1SystemMetrics `json:"metrics"`

	// org Id
	OrgID string `json:"orgId,omitempty"`
}

JobsServiceReportJobSystemMetricsBody jobs service report job system metrics body

swagger:model JobsServiceReportJobSystemMetricsBody

func (*JobsServiceReportJobSystemMetricsBody) ContextValidate ¶

func (m *JobsServiceReportJobSystemMetricsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs service report job system metrics body based on the context it is used

func (*JobsServiceReportJobSystemMetricsBody) MarshalBinary ¶

func (m *JobsServiceReportJobSystemMetricsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceReportJobSystemMetricsBody) UnmarshalBinary ¶

func (m *JobsServiceReportJobSystemMetricsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceReportJobSystemMetricsBody) Validate ¶

Validate validates this jobs service report job system metrics body

type JobsServiceReportLogsActivityBody ¶

type JobsServiceReportLogsActivityBody struct {

	// When the job user logs started
	// Format: date-time
	StartedAt strfmt.DateTime `json:"startedAt,omitempty"`
}

JobsServiceReportLogsActivityBody jobs service report logs activity body

swagger:model JobsServiceReportLogsActivityBody

func (*JobsServiceReportLogsActivityBody) ContextValidate ¶

func (m *JobsServiceReportLogsActivityBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jobs service report logs activity body based on context it is used

func (*JobsServiceReportLogsActivityBody) MarshalBinary ¶

func (m *JobsServiceReportLogsActivityBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceReportLogsActivityBody) UnmarshalBinary ¶

func (m *JobsServiceReportLogsActivityBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceReportLogsActivityBody) Validate ¶

Validate validates this jobs service report logs activity body

type JobsServiceReportRestartTimingsBody ¶

type JobsServiceReportRestartTimingsBody struct {

	// timings
	Timings []*V1RestartTiming `json:"timings"`
}

JobsServiceReportRestartTimingsBody jobs service report restart timings body

swagger:model JobsServiceReportRestartTimingsBody

func (*JobsServiceReportRestartTimingsBody) ContextValidate ¶

func (m *JobsServiceReportRestartTimingsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs service report restart timings body based on the context it is used

func (*JobsServiceReportRestartTimingsBody) MarshalBinary ¶

func (m *JobsServiceReportRestartTimingsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceReportRestartTimingsBody) UnmarshalBinary ¶

func (m *JobsServiceReportRestartTimingsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceReportRestartTimingsBody) Validate ¶

Validate validates this jobs service report restart timings body

type JobsServiceRestoreDeploymentReleaseBody ¶

type JobsServiceRestoreDeploymentReleaseBody any

JobsServiceRestoreDeploymentReleaseBody jobs service restore deployment release body

swagger:model JobsServiceRestoreDeploymentReleaseBody

type JobsServiceUpdateDeploymentAlertingEventBody ¶

type JobsServiceUpdateDeploymentAlertingEventBody struct {

	// alerting policy Id
	AlertingPolicyID string `json:"alertingPolicyId,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// frequency
	Frequency *V1AlertingPolicyFrequency `json:"frequency,omitempty"`

	// limit
	Limit float32 `json:"limit,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// operation
	Operation *V1AlertingPolicyOperation `json:"operation,omitempty"`

	// severity
	Severity *V1AlertingPolicySeverity `json:"severity,omitempty"`

	// type
	Type *V1DeploymentAlertingPolicyType `json:"type,omitempty"`

	// value
	Value float32 `json:"value,omitempty"`

	// viewed
	Viewed bool `json:"viewed,omitempty"`
}

JobsServiceUpdateDeploymentAlertingEventBody jobs service update deployment alerting event body

swagger:model JobsServiceUpdateDeploymentAlertingEventBody

func (*JobsServiceUpdateDeploymentAlertingEventBody) ContextValidate ¶

ContextValidate validate this jobs service update deployment alerting event body based on the context it is used

func (*JobsServiceUpdateDeploymentAlertingEventBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*JobsServiceUpdateDeploymentAlertingEventBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*JobsServiceUpdateDeploymentAlertingEventBody) Validate ¶

Validate validates this jobs service update deployment alerting event body

type JobsServiceUpdateDeploymentAlertingEventsBulkBody ¶

type JobsServiceUpdateDeploymentAlertingEventsBulkBody struct {

	// alert ids
	AlertIds []string `json:"alertIds"`
}

JobsServiceUpdateDeploymentAlertingEventsBulkBody jobs service update deployment alerting events bulk body

swagger:model JobsServiceUpdateDeploymentAlertingEventsBulkBody

func (*JobsServiceUpdateDeploymentAlertingEventsBulkBody) ContextValidate ¶

ContextValidate validates this jobs service update deployment alerting events bulk body based on context it is used

func (*JobsServiceUpdateDeploymentAlertingEventsBulkBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*JobsServiceUpdateDeploymentAlertingEventsBulkBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*JobsServiceUpdateDeploymentAlertingEventsBulkBody) Validate ¶

Validate validates this jobs service update deployment alerting events bulk body

type JobsServiceUpdateDeploymentAlertingPolicyBody ¶

type JobsServiceUpdateDeploymentAlertingPolicyBody struct {

	// description
	Description string `json:"description,omitempty"`

	// frequency
	Frequency *V1AlertingPolicyFrequency `json:"frequency,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// limit
	Limit float32 `json:"limit,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// operation
	Operation *V1AlertingPolicyOperation `json:"operation,omitempty"`

	// recipients
	Recipients *Externalv1ResourceScopedAlertingRecipients `json:"recipients,omitempty"`

	// severity
	Severity *V1AlertingPolicySeverity `json:"severity,omitempty"`

	// type
	Type *V1DeploymentAlertingPolicyType `json:"type,omitempty"`

	// value
	Value float32 `json:"value,omitempty"`
}

JobsServiceUpdateDeploymentAlertingPolicyBody jobs service update deployment alerting policy body

swagger:model JobsServiceUpdateDeploymentAlertingPolicyBody

func (*JobsServiceUpdateDeploymentAlertingPolicyBody) ContextValidate ¶

ContextValidate validate this jobs service update deployment alerting policy body based on the context it is used

func (*JobsServiceUpdateDeploymentAlertingPolicyBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*JobsServiceUpdateDeploymentAlertingPolicyBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*JobsServiceUpdateDeploymentAlertingPolicyBody) Validate ¶

Validate validates this jobs service update deployment alerting policy body

type JobsServiceUpdateDeploymentBody ¶

type JobsServiceUpdateDeploymentBody struct {

	// Source of deployment such as LitServe, LitModels etc.
	Source string `json:"Source,omitempty"`

	// Transient: warning keys the caller has acknowledged on create/update
	AcknowledgedWarnings []string `json:"acknowledgedWarnings"`

	// Whether the client can see logs for a managed deployment
	AllowLogs bool `json:"allowLogs,omitempty"`

	// The api standard used by this deployment (openai ...)
	APIStandard string `json:"apiStandard,omitempty"`

	// apis
	Apis []*V1DeploymentAPI `json:"apis"`

	// The id of the assistant used ad chat model that is powered by this deployment
	AssistantID string `json:"assistantId,omitempty"`

	// Autoscaling
	Autoscaling *V1AutoscalingSpec `json:"autoscaling,omitempty"`

	// Populated when the deployment has a BYOM sibling row
	ByomSpec *V1BYOMSpec `json:"byomSpec,omitempty"`

	// The id of the Studio if the deployment was created from the Studio Plugin
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// Read only
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// current state
	CurrentState *V1DeploymentState `json:"currentState,omitempty"`

	// Whether to enable more debug logs for this deployment
	Debug bool `json:"debug,omitempty"`

	// Whether the deployment is dedicated (no log access for consuming org users)
	Dedicated bool `json:"dedicated,omitempty"`

	// desired state
	DesiredState *V1DeploymentState `json:"desiredState,omitempty"`

	// Networking
	Endpoint *V1Endpoint `json:"endpoint,omitempty"`

	// Whether the deployment was published
	IsPublished bool `json:"isPublished,omitempty"`

	// k8s deployment config
	K8sDeploymentConfig *V1K8sDeploymentConfig `json:"k8sDeploymentConfig,omitempty"`

	// Whether the deployment is managed e.g handled by Lightning.AI for a client
	Managed bool `json:"managed,omitempty"`

	// The id of the managed endpoint used by the deployment's assistant
	ManagedEndpointID string `json:"managedEndpointId,omitempty"`

	// Required
	Name string `json:"name,omitempty"`

	// Whether we want to enable oncall notification for this deployment
	OncallNotification bool `json:"oncallNotification,omitempty"`

	// The parameters of this deployment when created from a template
	ParameterSpec *V1ParameterizationSpec `json:"parameterSpec,omitempty"`

	// The id of the pipeline that this deployment belongs to
	PipelineID string `json:"pipelineId,omitempty"`

	// Who should be receiving alerts
	Recipients *Externalv1ResourceScopedAlertingRecipients `json:"recipients,omitempty"`

	// Current release id
	ReleaseID string `json:"releaseId,omitempty"`

	// Transient: notes for the new release when creating/updating (feature-gated)
	ReleaseNotes string `json:"releaseNotes,omitempty"`

	// Current number of replicas (controlled by the autoscaler if autoscaling is enabled)
	Replicas int64 `json:"replicas,omitempty"`

	// If set, on replica shutdown the server will be moved back to overprovisioned state
	ReuseServers bool `json:"reuseServers,omitempty"`

	// Compute + run configuration
	Spec *V1JobSpec `json:"spec,omitempty"`

	// status
	Status *V1DeploymentStatus `json:"status,omitempty"`

	// strategy
	Strategy *V1DeploymentStrategy `json:"strategy,omitempty"`

	// Whether this deployment is running in production environment (for alerting and observability)
	SupportsProdDeployment bool `json:"supportsProdDeployment,omitempty"`

	// The id of the Template if the deployment was created from the AI Hub
	TemplateID string `json:"templateId,omitempty"`

	// The total cost of the deployment
	TotalCost float32 `json:"totalCost,omitempty"`

	// Read only
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Read only
	UserID string `json:"userId,omitempty"`

	// The visibility of the deployment to users
	Visibility *V1ResourceVisibility `json:"visibility,omitempty"`

	// Kind-specific config. At most one should be set; unset defaults to vm-instances.
	VMInstancesConfig V1VMInstancesConfig `json:"vmInstancesConfig,omitempty"`

	// Bumped on each ReloadDeploymentWeights call; sidecars poll this to detect user-triggered reloads
	WeightVersion string `json:"weightVersion,omitempty"`
}

JobsServiceUpdateDeploymentBody jobs service update deployment body

swagger:model JobsServiceUpdateDeploymentBody

func (*JobsServiceUpdateDeploymentBody) ContextValidate ¶

func (m *JobsServiceUpdateDeploymentBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs service update deployment body based on the context it is used

func (*JobsServiceUpdateDeploymentBody) MarshalBinary ¶

func (m *JobsServiceUpdateDeploymentBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceUpdateDeploymentBody) UnmarshalBinary ¶

func (m *JobsServiceUpdateDeploymentBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceUpdateDeploymentBody) Validate ¶

Validate validates this jobs service update deployment body

type JobsServiceUpdateDeploymentVisibilityBody ¶

type JobsServiceUpdateDeploymentVisibilityBody struct {

	// visibility
	Visibility *V1ResourceVisibility `json:"visibility,omitempty"`
}

JobsServiceUpdateDeploymentVisibilityBody jobs service update deployment visibility body

swagger:model JobsServiceUpdateDeploymentVisibilityBody

func (*JobsServiceUpdateDeploymentVisibilityBody) ContextValidate ¶

ContextValidate validate this jobs service update deployment visibility body based on the context it is used

func (*JobsServiceUpdateDeploymentVisibilityBody) MarshalBinary ¶

func (m *JobsServiceUpdateDeploymentVisibilityBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceUpdateDeploymentVisibilityBody) UnmarshalBinary ¶

func (m *JobsServiceUpdateDeploymentVisibilityBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceUpdateDeploymentVisibilityBody) Validate ¶

Validate validates this jobs service update deployment visibility body

type JobsServiceUpdateJobBody ¶

type JobsServiceUpdateJobBody struct {

	// cloudspace Id
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// Optional, new name for the job. Collisions are resolved server-side.
	Name string `json:"name,omitempty"`

	// Optional. When true, request a graceful surge-replace of this deployment
	// replica (spin up a replacement, then drain this job). Deployment jobs only.
	ReplaceRequested bool `json:"replaceRequested,omitempty"`

	// Optional, valid options are 'stopped' and 'running'
	State string `json:"state,omitempty"`
}

JobsServiceUpdateJobBody jobs service update job body

swagger:model JobsServiceUpdateJobBody

func (*JobsServiceUpdateJobBody) ContextValidate ¶

func (m *JobsServiceUpdateJobBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jobs service update job body based on context it is used

func (*JobsServiceUpdateJobBody) MarshalBinary ¶

func (m *JobsServiceUpdateJobBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceUpdateJobBody) UnmarshalBinary ¶

func (m *JobsServiceUpdateJobBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceUpdateJobBody) Validate ¶

func (m *JobsServiceUpdateJobBody) Validate(formats strfmt.Registry) error

Validate validates this jobs service update job body

type JobsServiceUpdateJobVisibilityBody ¶

type JobsServiceUpdateJobVisibilityBody struct {

	// visibility
	Visibility *V1ResourceVisibility `json:"visibility,omitempty"`
}

JobsServiceUpdateJobVisibilityBody jobs service update job visibility body

swagger:model JobsServiceUpdateJobVisibilityBody

func (*JobsServiceUpdateJobVisibilityBody) ContextValidate ¶

func (m *JobsServiceUpdateJobVisibilityBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs service update job visibility body based on the context it is used

func (*JobsServiceUpdateJobVisibilityBody) MarshalBinary ¶

func (m *JobsServiceUpdateJobVisibilityBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceUpdateJobVisibilityBody) UnmarshalBinary ¶

func (m *JobsServiceUpdateJobVisibilityBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceUpdateJobVisibilityBody) Validate ¶

Validate validates this jobs service update job visibility body

type JobsServiceUpdateMultiMachineJobBody ¶

type JobsServiceUpdateMultiMachineJobBody struct {

	// desired state
	DesiredState *V1MultiMachineJobState `json:"desiredState,omitempty"`
}

JobsServiceUpdateMultiMachineJobBody jobs service update multi machine job body

swagger:model JobsServiceUpdateMultiMachineJobBody

func (*JobsServiceUpdateMultiMachineJobBody) ContextValidate ¶

func (m *JobsServiceUpdateMultiMachineJobBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs service update multi machine job body based on the context it is used

func (*JobsServiceUpdateMultiMachineJobBody) MarshalBinary ¶

func (m *JobsServiceUpdateMultiMachineJobBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsServiceUpdateMultiMachineJobBody) UnmarshalBinary ¶

func (m *JobsServiceUpdateMultiMachineJobBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsServiceUpdateMultiMachineJobBody) Validate ¶

Validate validates this jobs service update multi machine job body

type JobsServiceUpdateOrgDeploymentVisibilityBody ¶

type JobsServiceUpdateOrgDeploymentVisibilityBody struct {

	// To specify if this deployment is allowed for specific teamspaces only listed here
	AllowedProjectIds []string `json:"allowedProjectIds"`

	// If 'true', the deployment has no Visibility restrictions
	IsAllowedToAll bool `json:"isAllowedToAll,omitempty"`
}

JobsServiceUpdateOrgDeploymentVisibilityBody jobs service update org deployment visibility body

swagger:model JobsServiceUpdateOrgDeploymentVisibilityBody

func (*JobsServiceUpdateOrgDeploymentVisibilityBody) ContextValidate ¶

ContextValidate validates this jobs service update org deployment visibility body based on context it is used

func (*JobsServiceUpdateOrgDeploymentVisibilityBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*JobsServiceUpdateOrgDeploymentVisibilityBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*JobsServiceUpdateOrgDeploymentVisibilityBody) Validate ¶

Validate validates this jobs service update org deployment visibility body

type MachineV1StatusResourceGroup ¶

type MachineV1StatusResourceGroup struct {

	// cpus
	Cpus int64 `json:"cpus,omitempty"`

	// gpus
	Gpus int64 `json:"gpus,omitempty"`

	// memory mb
	MemoryMb string `json:"memoryMb,omitempty"`

	// nodes
	Nodes int64 `json:"nodes,omitempty"`

	// ram mb
	RAMMb string `json:"ramMb,omitempty"`
}

MachineV1StatusResourceGroup machine v1 status resource group

swagger:model MachineV1StatusResourceGroup

func (*MachineV1StatusResourceGroup) ContextValidate ¶

func (m *MachineV1StatusResourceGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this machine v1 status resource group based on context it is used

func (*MachineV1StatusResourceGroup) MarshalBinary ¶

func (m *MachineV1StatusResourceGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MachineV1StatusResourceGroup) UnmarshalBinary ¶

func (m *MachineV1StatusResourceGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MachineV1StatusResourceGroup) Validate ¶

func (m *MachineV1StatusResourceGroup) Validate(formats strfmt.Registry) error

Validate validates this machine v1 status resource group

type OrgAlertsConfigBilling ¶

type OrgAlertsConfigBilling struct {

	// auto replenish
	AutoReplenish []*V1AlertMethod `json:"autoReplenish"`

	// balance threshold
	BalanceThreshold int32 `json:"balanceThreshold,omitempty"`

	// low balance
	LowBalance []*V1AlertMethod `json:"lowBalance"`
}

OrgAlertsConfigBilling org alerts config billing

swagger:model OrgAlertsConfigBilling

func (*OrgAlertsConfigBilling) ContextValidate ¶

func (m *OrgAlertsConfigBilling) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this org alerts config billing based on the context it is used

func (*OrgAlertsConfigBilling) MarshalBinary ¶

func (m *OrgAlertsConfigBilling) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrgAlertsConfigBilling) UnmarshalBinary ¶

func (m *OrgAlertsConfigBilling) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrgAlertsConfigBilling) Validate ¶

func (m *OrgAlertsConfigBilling) Validate(formats strfmt.Registry) error

Validate validates this org alerts config billing

type OrgAlertsConfigStudios ¶

type OrgAlertsConfigStudios struct {

	// internal error
	InternalError []*V1AlertMethod `json:"internalError"`

	// rehydration error
	RehydrationError []*V1AlertMethod `json:"rehydrationError"`
}

OrgAlertsConfigStudios org alerts config studios

swagger:model OrgAlertsConfigStudios

func (*OrgAlertsConfigStudios) ContextValidate ¶

func (m *OrgAlertsConfigStudios) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this org alerts config studios based on the context it is used

func (*OrgAlertsConfigStudios) MarshalBinary ¶

func (m *OrgAlertsConfigStudios) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrgAlertsConfigStudios) UnmarshalBinary ¶

func (m *OrgAlertsConfigStudios) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrgAlertsConfigStudios) Validate ¶

func (m *OrgAlertsConfigStudios) Validate(formats strfmt.Registry) error

Validate validates this org alerts config studios

type OrganizationsServiceApproveAutoJoinDomainBody ¶

type OrganizationsServiceApproveAutoJoinDomainBody struct {

	// token
	Token string `json:"token,omitempty"`
}

OrganizationsServiceApproveAutoJoinDomainBody organizations service approve auto join domain body

swagger:model OrganizationsServiceApproveAutoJoinDomainBody

func (*OrganizationsServiceApproveAutoJoinDomainBody) ContextValidate ¶

ContextValidate validates this organizations service approve auto join domain body based on context it is used

func (*OrganizationsServiceApproveAutoJoinDomainBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*OrganizationsServiceApproveAutoJoinDomainBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*OrganizationsServiceApproveAutoJoinDomainBody) Validate ¶

Validate validates this organizations service approve auto join domain body

type OrganizationsServiceAutoJoinOrgBody ¶

type OrganizationsServiceAutoJoinOrgBody any

OrganizationsServiceAutoJoinOrgBody organizations service auto join org body

swagger:model OrganizationsServiceAutoJoinOrgBody

type OrganizationsServiceBulkUploadOrgMembersBody ¶

type OrganizationsServiceBulkUploadOrgMembersBody struct {

	// csv file
	// Format: byte
	CsvFile strfmt.Base64 `json:"csvFile,omitempty"`

	// project ids
	ProjectIds []string `json:"projectIds"`
}

OrganizationsServiceBulkUploadOrgMembersBody organizations service bulk upload org members body

swagger:model OrganizationsServiceBulkUploadOrgMembersBody

func (*OrganizationsServiceBulkUploadOrgMembersBody) ContextValidate ¶

ContextValidate validates this organizations service bulk upload org members body based on context it is used

func (*OrganizationsServiceBulkUploadOrgMembersBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*OrganizationsServiceBulkUploadOrgMembersBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*OrganizationsServiceBulkUploadOrgMembersBody) Validate ¶

Validate validates this organizations service bulk upload org members body

type OrganizationsServiceCreateOrgMembershipBody ¶

type OrganizationsServiceCreateOrgMembershipBody struct {

	// email
	Email string `json:"email,omitempty"`

	// inviter Id
	InviterID string `json:"inviterId,omitempty"`

	// role ids
	RoleIds []string `json:"roleIds"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

OrganizationsServiceCreateOrgMembershipBody organizations service create org membership body

swagger:model OrganizationsServiceCreateOrgMembershipBody

func (*OrganizationsServiceCreateOrgMembershipBody) ContextValidate ¶

ContextValidate validates this organizations service create org membership body based on context it is used

func (*OrganizationsServiceCreateOrgMembershipBody) MarshalBinary ¶

func (m *OrganizationsServiceCreateOrgMembershipBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrganizationsServiceCreateOrgMembershipBody) UnmarshalBinary ¶

func (m *OrganizationsServiceCreateOrgMembershipBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrganizationsServiceCreateOrgMembershipBody) Validate ¶

Validate validates this organizations service create org membership body

type OrganizationsServiceCreateOrgMembershipRoleBindingBody ¶

type OrganizationsServiceCreateOrgMembershipRoleBindingBody struct {

	// role Id
	RoleID string `json:"roleId,omitempty"`
}

OrganizationsServiceCreateOrgMembershipRoleBindingBody organizations service create org membership role binding body

swagger:model OrganizationsServiceCreateOrgMembershipRoleBindingBody

func (*OrganizationsServiceCreateOrgMembershipRoleBindingBody) ContextValidate ¶

ContextValidate validates this organizations service create org membership role binding body based on context it is used

func (*OrganizationsServiceCreateOrgMembershipRoleBindingBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*OrganizationsServiceCreateOrgMembershipRoleBindingBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*OrganizationsServiceCreateOrgMembershipRoleBindingBody) Validate ¶

Validate validates this organizations service create org membership role binding body

type OrganizationsServiceCreateOrgRoleBody ¶

type OrganizationsServiceCreateOrgRoleBody struct {

	// description
	Description string `json:"description,omitempty"`

	// excluded from seat count
	ExcludedFromSeatCount bool `json:"excludedFromSeatCount,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// rules
	Rules []*V1Rule `json:"rules"`
}

OrganizationsServiceCreateOrgRoleBody organizations service create org role body

swagger:model OrganizationsServiceCreateOrgRoleBody

func (*OrganizationsServiceCreateOrgRoleBody) ContextValidate ¶

func (m *OrganizationsServiceCreateOrgRoleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this organizations service create org role body based on the context it is used

func (*OrganizationsServiceCreateOrgRoleBody) MarshalBinary ¶

func (m *OrganizationsServiceCreateOrgRoleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrganizationsServiceCreateOrgRoleBody) UnmarshalBinary ¶

func (m *OrganizationsServiceCreateOrgRoleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrganizationsServiceCreateOrgRoleBody) Validate ¶

Validate validates this organizations service create org role body

type OrganizationsServiceSetOrgMemberModelAPIDailyLimitBody ¶

type OrganizationsServiceSetOrgMemberModelAPIDailyLimitBody struct {

	// Remove the member's override so they fall back to the org default.
	Clear bool `json:"clear,omitempty"`

	// The member's daily cap in credits. Ignored when unlimited or clear is set.
	DailyLimitCredits float64 `json:"dailyLimitCredits,omitempty"`

	// Explicitly uncap this member (takes precedence over the org default).
	Unlimited bool `json:"unlimited,omitempty"`
}

OrganizationsServiceSetOrgMemberModelAPIDailyLimitBody organizations service set org member model API daily limit body

swagger:model OrganizationsServiceSetOrgMemberModelAPIDailyLimitBody

func (*OrganizationsServiceSetOrgMemberModelAPIDailyLimitBody) ContextValidate ¶

ContextValidate validates this organizations service set org member model API daily limit body based on context it is used

func (*OrganizationsServiceSetOrgMemberModelAPIDailyLimitBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*OrganizationsServiceSetOrgMemberModelAPIDailyLimitBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*OrganizationsServiceSetOrgMemberModelAPIDailyLimitBody) Validate ¶

Validate validates this organizations service set org member model API daily limit body

type OrganizationsServiceSetOrgModelAPIDailyLimitDefaultBody ¶

type OrganizationsServiceSetOrgModelAPIDailyLimitDefaultBody struct {

	// Unset clears the org default; a value sets the per-member default in credits.
	DailyLimitCredits float64 `json:"dailyLimitCredits,omitempty"`
}

OrganizationsServiceSetOrgModelAPIDailyLimitDefaultBody organizations service set org model API daily limit default body

swagger:model OrganizationsServiceSetOrgModelAPIDailyLimitDefaultBody

func (*OrganizationsServiceSetOrgModelAPIDailyLimitDefaultBody) ContextValidate ¶

ContextValidate validates this organizations service set org model API daily limit default body based on context it is used

func (*OrganizationsServiceSetOrgModelAPIDailyLimitDefaultBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*OrganizationsServiceSetOrgModelAPIDailyLimitDefaultBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*OrganizationsServiceSetOrgModelAPIDailyLimitDefaultBody) Validate ¶

Validate validates this organizations service set org model API daily limit default body

type OrganizationsServiceTransferOrgMemberResourcesBody ¶

type OrganizationsServiceTransferOrgMemberResourcesBody struct {

	// target user Id
	TargetUserID string `json:"targetUserId,omitempty"`
}

OrganizationsServiceTransferOrgMemberResourcesBody organizations service transfer org member resources body

swagger:model OrganizationsServiceTransferOrgMemberResourcesBody

func (*OrganizationsServiceTransferOrgMemberResourcesBody) ContextValidate ¶

ContextValidate validates this organizations service transfer org member resources body based on context it is used

func (*OrganizationsServiceTransferOrgMemberResourcesBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*OrganizationsServiceTransferOrgMemberResourcesBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*OrganizationsServiceTransferOrgMemberResourcesBody) Validate ¶

Validate validates this organizations service transfer org member resources body

type OrganizationsServiceUpdateOrgRoleBody ¶

type OrganizationsServiceUpdateOrgRoleBody struct {

	// description
	Description string `json:"description,omitempty"`

	// excluded from seat count
	ExcludedFromSeatCount bool `json:"excludedFromSeatCount,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// rules
	Rules []*V1Rule `json:"rules"`
}

OrganizationsServiceUpdateOrgRoleBody organizations service update org role body

swagger:model OrganizationsServiceUpdateOrgRoleBody

func (*OrganizationsServiceUpdateOrgRoleBody) ContextValidate ¶

func (m *OrganizationsServiceUpdateOrgRoleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this organizations service update org role body based on the context it is used

func (*OrganizationsServiceUpdateOrgRoleBody) MarshalBinary ¶

func (m *OrganizationsServiceUpdateOrgRoleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrganizationsServiceUpdateOrgRoleBody) UnmarshalBinary ¶

func (m *OrganizationsServiceUpdateOrgRoleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrganizationsServiceUpdateOrgRoleBody) Validate ¶

Validate validates this organizations service update org role body

type OrganizationsServiceUpdateOrganizationBody ¶

type OrganizationsServiceUpdateOrganizationBody struct {

	// alerts config
	AlertsConfig *V1OrgAlertsConfig `json:"alertsConfig,omitempty"`

	// allow budgeting
	AllowBudgeting bool `json:"allowBudgeting,omitempty"`

	// allow cloud space publish
	AllowCloudSpacePublish bool `json:"allowCloudSpacePublish,omitempty"`

	// allow credits auto replenish
	AllowCreditsAutoReplenish bool `json:"allowCreditsAutoReplenish,omitempty"`

	// allow external project duplication
	AllowExternalProjectDuplication bool `json:"allowExternalProjectDuplication,omitempty"`

	// allow guest
	AllowGuest bool `json:"allowGuest,omitempty"`

	// allow lightning hosted models
	AllowLightningHostedModels bool `json:"allowLightningHostedModels,omitempty"`

	// allow marketplace
	AllowMarketplace bool `json:"allowMarketplace,omitempty"`

	// allow member invitations
	AllowMemberInvitations bool `json:"allowMemberInvitations,omitempty"`

	// allow member teamspace creation
	AllowMemberTeamspaceCreation bool `json:"allowMemberTeamspaceCreation,omitempty"`

	// auto invite by domain
	AutoInviteByDomain bool `json:"autoInviteByDomain,omitempty"`

	// auto join domains
	AutoJoinDomains []string `json:"autoJoinDomains"`

	// auto replenish amount
	AutoReplenishAmount float32 `json:"autoReplenishAmount,omitempty"`

	// auto replenish threshold
	AutoReplenishThreshold float32 `json:"autoReplenishThreshold,omitempty"`

	// auto switch machine
	AutoSwitchMachine bool `json:"autoSwitchMachine,omitempty"`

	// default machine type
	DefaultMachineType string `json:"defaultMachineType,omitempty"`

	// A project to associate org-wide things with it, e.g. to charge for org-wide things
	DefaultProjectID string `json:"defaultProjectId,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// This will disable the coding agents for all users in the org
	DisableCodingAgents bool `json:"disableCodingAgents,omitempty"`

	// This will disable the public templates in the template gallery for all users in the org
	DisablePublicTemplates bool `json:"disablePublicTemplates,omitempty"`

	// disallow aws saas
	DisallowAwsSaas bool `json:"disallowAwsSaas,omitempty"`

	// disallow dgx saas
	DisallowDgxSaas bool `json:"disallowDgxSaas,omitempty"`

	// disallow gcp saas
	DisallowGcpSaas bool `json:"disallowGcpSaas,omitempty"`

	// disallow lambda saas
	DisallowLambdaSaas bool `json:"disallowLambdaSaas,omitempty"`

	// disallow lightning saas
	DisallowLightningSaas bool `json:"disallowLightningSaas,omitempty"`

	// disallow nebius saas
	DisallowNebiusSaas bool `json:"disallowNebiusSaas,omitempty"`

	// disallow voltage park saas
	DisallowVoltageParkSaas bool `json:"disallowVoltageParkSaas,omitempty"`

	// disallow vultr saas
	DisallowVultrSaas bool `json:"disallowVultrSaas,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// featured gallery
	FeaturedGallery bool `json:"featuredGallery,omitempty"`

	// location
	Location string `json:"location,omitempty"`

	// preferred cluster
	PreferredCluster string `json:"preferredCluster,omitempty"`

	// preferred deployment provider
	PreferredDeploymentProvider string `json:"preferredDeploymentProvider,omitempty"`

	// preferred studio provider
	PreferredStudioProvider string `json:"preferredStudioProvider,omitempty"`

	// show model apis tab
	ShowModelApisTab bool `json:"showModelApisTab,omitempty"`

	// start studios on spot instance
	StartStudiosOnSpotInstance bool `json:"startStudiosOnSpotInstance,omitempty"`

	// switch to default machine on idle
	SwitchToDefaultMachineOnIdle bool `json:"switchToDefaultMachineOnIdle,omitempty"`

	// teamspace default credits
	TeamspaceDefaultCredits float32 `json:"teamspaceDefaultCredits,omitempty"`

	// timezone
	Timezone string `json:"timezone,omitempty"`

	// twitter username
	TwitterUsername string `json:"twitterUsername,omitempty"`

	// in hours
	WorkloadMaxRunDuration string `json:"workloadMaxRunDuration,omitempty"`
}

OrganizationsServiceUpdateOrganizationBody organizations service update organization body

swagger:model OrganizationsServiceUpdateOrganizationBody

func (*OrganizationsServiceUpdateOrganizationBody) ContextValidate ¶

ContextValidate validate this organizations service update organization body based on the context it is used

func (*OrganizationsServiceUpdateOrganizationBody) MarshalBinary ¶

func (m *OrganizationsServiceUpdateOrganizationBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrganizationsServiceUpdateOrganizationBody) UnmarshalBinary ¶

func (m *OrganizationsServiceUpdateOrganizationBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrganizationsServiceUpdateOrganizationBody) Validate ¶

Validate validates this organizations service update organization body

type OrganizationsServiceUpdateOrganizationCreditsAutoReplenishBody ¶

type OrganizationsServiceUpdateOrganizationCreditsAutoReplenishBody struct {

	// allow credits auto replenish
	AllowCreditsAutoReplenish bool `json:"allowCreditsAutoReplenish,omitempty"`

	// auto replenish amount
	AutoReplenishAmount string `json:"autoReplenishAmount,omitempty"`

	// auto replenish threshold
	AutoReplenishThreshold string `json:"autoReplenishThreshold,omitempty"`
}

OrganizationsServiceUpdateOrganizationCreditsAutoReplenishBody organizations service update organization credits auto replenish body

swagger:model OrganizationsServiceUpdateOrganizationCreditsAutoReplenishBody

func (*OrganizationsServiceUpdateOrganizationCreditsAutoReplenishBody) ContextValidate ¶

ContextValidate validates this organizations service update organization credits auto replenish body based on context it is used

func (*OrganizationsServiceUpdateOrganizationCreditsAutoReplenishBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*OrganizationsServiceUpdateOrganizationCreditsAutoReplenishBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*OrganizationsServiceUpdateOrganizationCreditsAutoReplenishBody) Validate ¶

Validate validates this organizations service update organization credits auto replenish body

type OrganizationsServiceValidateAutoJoinDomainBody ¶

type OrganizationsServiceValidateAutoJoinDomainBody struct {

	// email
	Email string `json:"email,omitempty"`
}

OrganizationsServiceValidateAutoJoinDomainBody organizations service validate auto join domain body

swagger:model OrganizationsServiceValidateAutoJoinDomainBody

func (*OrganizationsServiceValidateAutoJoinDomainBody) ContextValidate ¶

ContextValidate validates this organizations service validate auto join domain body based on context it is used

func (*OrganizationsServiceValidateAutoJoinDomainBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*OrganizationsServiceValidateAutoJoinDomainBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*OrganizationsServiceValidateAutoJoinDomainBody) Validate ¶

Validate validates this organizations service validate auto join domain body

type ProjectsServiceCreateProjectClusterBindingBody ¶

type ProjectsServiceCreateProjectClusterBindingBody struct {

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`
}

ProjectsServiceCreateProjectClusterBindingBody projects service create project cluster binding body

swagger:model ProjectsServiceCreateProjectClusterBindingBody

func (*ProjectsServiceCreateProjectClusterBindingBody) ContextValidate ¶

ContextValidate validates this projects service create project cluster binding body based on context it is used

func (*ProjectsServiceCreateProjectClusterBindingBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*ProjectsServiceCreateProjectClusterBindingBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ProjectsServiceCreateProjectClusterBindingBody) Validate ¶

Validate validates this projects service create project cluster binding body

type ProjectsServiceCreateProjectMembershipBody ¶

type ProjectsServiceCreateProjectMembershipBody struct {

	// add to org
	AddToOrg bool `json:"addToOrg,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// inviter Id
	InviterID string `json:"inviterId,omitempty"`

	// role ids
	RoleIds []string `json:"roleIds"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

ProjectsServiceCreateProjectMembershipBody projects service create project membership body

swagger:model ProjectsServiceCreateProjectMembershipBody

func (*ProjectsServiceCreateProjectMembershipBody) ContextValidate ¶

ContextValidate validates this projects service create project membership body based on context it is used

func (*ProjectsServiceCreateProjectMembershipBody) MarshalBinary ¶

func (m *ProjectsServiceCreateProjectMembershipBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectsServiceCreateProjectMembershipBody) UnmarshalBinary ¶

func (m *ProjectsServiceCreateProjectMembershipBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectsServiceCreateProjectMembershipBody) Validate ¶

Validate validates this projects service create project membership body

type ProjectsServiceCreateProjectMembershipRoleBindingBody ¶

type ProjectsServiceCreateProjectMembershipRoleBindingBody struct {

	// role Id
	RoleID string `json:"roleId,omitempty"`
}

ProjectsServiceCreateProjectMembershipRoleBindingBody projects service create project membership role binding body

swagger:model ProjectsServiceCreateProjectMembershipRoleBindingBody

func (*ProjectsServiceCreateProjectMembershipRoleBindingBody) ContextValidate ¶

ContextValidate validates this projects service create project membership role binding body based on context it is used

func (*ProjectsServiceCreateProjectMembershipRoleBindingBody) MarshalBinary ¶

MarshalBinary interface implementation

func (*ProjectsServiceCreateProjectMembershipRoleBindingBody) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ProjectsServiceCreateProjectMembershipRoleBindingBody) Validate ¶

Validate validates this projects service create project membership role binding body

type ProjectsServiceCreateProjectRoleBody ¶

type ProjectsServiceCreateProjectRoleBody struct {

	// description
	Description string `json:"description,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// rules
	Rules []*V1Rule `json:"rules"`
}

ProjectsServiceCreateProjectRoleBody projects service create project role body

swagger:model ProjectsServiceCreateProjectRoleBody

func (*ProjectsServiceCreateProjectRoleBody) ContextValidate ¶

func (m *ProjectsServiceCreateProjectRoleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this projects service create project role body based on the context it is used

func (*ProjectsServiceCreateProjectRoleBody) MarshalBinary ¶

func (m *ProjectsServiceCreateProjectRoleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectsServiceCreateProjectRoleBody) UnmarshalBinary ¶

func (m *ProjectsServiceCreateProjectRoleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectsServiceCreateProjectRoleBody) Validate ¶

Validate validates this projects service create project role body

type ProjectsServiceUpdateProjectBody ¶

type ProjectsServiceUpdateProjectBody struct {

	// allow aws saas
	AllowAwsSaas bool `json:"allowAwsSaas,omitempty"`

	// allow credits auto replenish
	AllowCreditsAutoReplenish bool `json:"allowCreditsAutoReplenish,omitempty"`

	// allow dgx saas
	AllowDgxSaas bool `json:"allowDgxSaas,omitempty"`

	// allow external project duplication
	AllowExternalProjectDuplication bool `json:"allowExternalProjectDuplication,omitempty"`

	// allow gcp saas
	AllowGcpSaas bool `json:"allowGcpSaas,omitempty"`

	// allow lambda saas
	AllowLambdaSaas bool `json:"allowLambdaSaas,omitempty"`

	// allow lightning saas
	AllowLightningSaas bool `json:"allowLightningSaas,omitempty"`

	// allow nebius saas
	AllowNebiusSaas bool `json:"allowNebiusSaas,omitempty"`

	// allow voltage park saas
	AllowVoltageParkSaas bool `json:"allowVoltageParkSaas,omitempty"`

	// allow vultr saas
	AllowVultrSaas bool `json:"allowVultrSaas,omitempty"`

	// auto replenish amount
	AutoReplenishAmount float32 `json:"autoReplenishAmount,omitempty"`

	// auto replenish threshold
	AutoReplenishThreshold float32 `json:"autoReplenishThreshold,omitempty"`

	// auto switch machine
	AutoSwitchMachine bool `json:"autoSwitchMachine,omitempty"`

	// Whether or not to charge the project account
	BudgetingEnabled bool `json:"budgetingEnabled,omitempty"`

	// User-defined tags applied to all of the teamspace's compute resources.
	CustomTags []*V1ProjectResourceTag `json:"customTags"`

	// default machine type for Studios in the teamspace
	DefaultMachineType string `json:"defaultMachineType,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// layout config
	LayoutConfig []*V1ProjectTab `json:"layoutConfig"`

	// use display_name instead
	Name string `json:"name,omitempty"`

	// preferred cluster
	PreferredCluster string `json:"preferredCluster,omitempty"`

	// preferred deployment provider
	PreferredDeploymentProvider string `json:"preferredDeploymentProvider,omitempty"`

	// preferred studio provider
	PreferredStudioProvider string `json:"preferredStudioProvider,omitempty"`

	// quotas
	Quotas *V1Quotas `json:"quotas,omitempty"`

	// keep last used machine type when studio resumes
	SameComputeOnResume bool `json:"sameComputeOnResume,omitempty"`

	// start studio on spot instance
	StartStudioOnSpotInstance bool `json:"startStudioOnSpotInstance,omitempty"`

	// switch to default machine on idle
	SwitchToDefaultMachineOnIdle bool `json:"switchToDefaultMachineOnIdle,omitempty"`
}

ProjectsServiceUpdateProjectBody projects service update project body

swagger:model ProjectsServiceUpdateProjectBody

func (*ProjectsServiceUpdateProjectBody) ContextValidate ¶

func (m *ProjectsServiceUpdateProjectBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this projects service update project body based on the context it is used

func (*ProjectsServiceUpdateProjectBody) MarshalBinary ¶

func (m *ProjectsServiceUpdateProjectBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectsServiceUpdateProjectBody) UnmarshalBinary ¶

func (m *ProjectsServiceUpdateProjectBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectsServiceUpdateProjectBody) Validate ¶

Validate validates this projects service update project body

type ProjectsServiceUpdateProjectTabOrderBody ¶

type ProjectsServiceUpdateProjectTabOrderBody struct {

	// tabs
	Tabs []*V1ProjectTab `json:"tabs"`
}

ProjectsServiceUpdateProjectTabOrderBody Project tab management messages

swagger:model ProjectsServiceUpdateProjectTabOrderBody

func (*ProjectsServiceUpdateProjectTabOrderBody) ContextValidate ¶

ContextValidate validate this projects service update project tab order body based on the context it is used

func (*ProjectsServiceUpdateProjectTabOrderBody) MarshalBinary ¶

func (m *ProjectsServiceUpdateProjectTabOrderBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectsServiceUpdateProjectTabOrderBody) UnmarshalBinary ¶

func (m *ProjectsServiceUpdateProjectTabOrderBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectsServiceUpdateProjectTabOrderBody) Validate ¶

Validate validates this projects service update project tab order body

type ProtobufAny ¶

type ProtobufAny struct {

	// A URL/resource name that uniquely identifies the type of the serialized
	// protocol buffer message. This string must contain at least
	// one "/" character. The last segment of the URL's path must represent
	// the fully qualified name of the type (as in
	// `path/google.protobuf.Duration`). The name should be in a canonical form
	// (e.g., leading "." is not accepted).
	//
	// In practice, teams usually precompile into the binary all types that they
	// expect it to use in the context of Any. However, for URLs which use the
	// scheme `http`, `https`, or no scheme, one can optionally set up a type
	// server that maps type URLs to message definitions as follows:
	//
	// * If no scheme is provided, `https` is assumed.
	// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
	//   value in binary format, or produce an error.
	// * Applications are allowed to cache lookup results based on the
	//   URL, or have them precompiled into a binary to avoid any
	//   lookup. Therefore, binary compatibility needs to be preserved
	//   on changes to types. (Use versioned type names to manage
	//   breaking changes.)
	//
	// Note: this functionality is not currently available in the official
	// protobuf release, and it is not used for type URLs beginning with
	// type.googleapis.com.
	//
	// Schemes other than `http`, `https` (or the empty scheme) might be
	// used with implementation specific semantics.
	AtType string `json:"@type,omitempty"`

	// protobuf any
	ProtobufAny map[string]any `json:"-"`
}

ProtobufAny `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.

Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.

Example 1: Pack and unpack a message in C++.

Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
  ...
}

Example 2: Pack and unpack a message in Java.

Foo foo = ...;
Any any = Any.pack(foo);
...
if (any.is(Foo.class)) {
  foo = any.unpack(Foo.class);
}

Example 3: Pack and unpack a message in Python.

foo = Foo(...)
any = Any()
any.Pack(foo)
...
if any.Is(Foo.DESCRIPTOR):
  any.Unpack(foo)
  ...

Example 4: Pack and unpack a message in Go

foo := &pb.Foo{...}
any, err := anypb.New(foo)
if err != nil {
  ...
}
...
foo := &pb.Foo{}
if err := any.UnmarshalTo(foo); err != nil {
  ...
}

The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".

JSON ¶

The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example:

package google.profile;
message Person {
  string first_name = 1;
  string last_name = 2;
}

{
  "@type": "type.googleapis.com/google.profile.Person",
  "firstName": <string>,
  "lastName": <string>
}

If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]):

{
  "@type": "type.googleapis.com/google.protobuf.Duration",
  "value": "1.212s"
}

swagger:model protobufAny

func (*ProtobufAny) ContextValidate ¶

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary ¶

func (m *ProtobufAny) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProtobufAny) MarshalJSON ¶

func (m ProtobufAny) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with additional properties into a JSON object

func (*ProtobufAny) UnmarshalBinary ¶

func (m *ProtobufAny) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtobufAny) UnmarshalJSON ¶

func (m *ProtobufAny) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*ProtobufAny) Validate ¶

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

type RPCStatus ¶

type RPCStatus struct {

	// The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
	Code int32 `json:"code,omitempty"`

	// A list of messages that carry the error details.  There is a common set of
	// message types for APIs to use.
	Details []*ProtobufAny `json:"details"`

	// A developer-facing error message, which should be in English. Any
	// user-facing error message should be localized and sent in the
	// [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
	Message string `json:"message,omitempty"`
}

RPCStatus The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details.

You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

swagger:model rpcStatus

func (*RPCStatus) ContextValidate ¶

func (m *RPCStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpc status based on the context it is used

func (*RPCStatus) MarshalBinary ¶

func (m *RPCStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCStatus) UnmarshalBinary ¶

func (m *RPCStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCStatus) Validate ¶

func (m *RPCStatus) Validate(formats strfmt.Registry) error

Validate validates this rpc status

type SecretServiceCreateSecretBody ¶

type SecretServiceCreateSecretBody struct {

	// name
	Name string `json:"name,omitempty"`

	// type
	Type *V1SecretType `json:"type,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

SecretServiceCreateSecretBody secret service create secret body

swagger:model SecretServiceCreateSecretBody

func (*SecretServiceCreateSecretBody) ContextValidate ¶

func (m *SecretServiceCreateSecretBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secret service create secret body based on the context it is used

func (*SecretServiceCreateSecretBody) MarshalBinary ¶

func (m *SecretServiceCreateSecretBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretServiceCreateSecretBody) UnmarshalBinary ¶

func (m *SecretServiceCreateSecretBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretServiceCreateSecretBody) Validate ¶

func (m *SecretServiceCreateSecretBody) Validate(formats strfmt.Registry) error

Validate validates this secret service create secret body

type SecretServiceUpdateSecretBody ¶

type SecretServiceUpdateSecretBody struct {

	// value
	Value string `json:"value,omitempty"`
}

SecretServiceUpdateSecretBody secret service update secret body

swagger:model SecretServiceUpdateSecretBody

func (*SecretServiceUpdateSecretBody) ContextValidate ¶

func (m *SecretServiceUpdateSecretBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secret service update secret body based on context it is used

func (*SecretServiceUpdateSecretBody) MarshalBinary ¶

func (m *SecretServiceUpdateSecretBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretServiceUpdateSecretBody) UnmarshalBinary ¶

func (m *SecretServiceUpdateSecretBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretServiceUpdateSecretBody) Validate ¶

func (m *SecretServiceUpdateSecretBody) Validate(formats strfmt.Registry) error

Validate validates this secret service update secret body

type SecretServiceUpdateUserSecretBody ¶

type SecretServiceUpdateUserSecretBody struct {

	// value
	Value string `json:"value,omitempty"`
}

SecretServiceUpdateUserSecretBody secret service update user secret body

swagger:model SecretServiceUpdateUserSecretBody

func (*SecretServiceUpdateUserSecretBody) ContextValidate ¶

func (m *SecretServiceUpdateUserSecretBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secret service update user secret body based on context it is used

func (*SecretServiceUpdateUserSecretBody) MarshalBinary ¶

func (m *SecretServiceUpdateUserSecretBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretServiceUpdateUserSecretBody) UnmarshalBinary ¶

func (m *SecretServiceUpdateUserSecretBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretServiceUpdateUserSecretBody) Validate ¶

Validate validates this secret service update user secret body

type ServiceHealthServiceStatus ¶

type ServiceHealthServiceStatus string

ServiceHealthServiceStatus service health service status

swagger:model ServiceHealthServiceStatus

const (

	// ServiceHealthServiceStatusSERVICESTATUSUNSPECIFIED captures enum value "SERVICE_STATUS_UNSPECIFIED"
	ServiceHealthServiceStatusSERVICESTATUSUNSPECIFIED ServiceHealthServiceStatus = "SERVICE_STATUS_UNSPECIFIED"

	// ServiceHealthServiceStatusSERVICESTATUSUP captures enum value "SERVICE_STATUS_UP"
	ServiceHealthServiceStatusSERVICESTATUSUP ServiceHealthServiceStatus = "SERVICE_STATUS_UP"

	// ServiceHealthServiceStatusSERVICESTATUSDOWN captures enum value "SERVICE_STATUS_DOWN"
	ServiceHealthServiceStatusSERVICESTATUSDOWN ServiceHealthServiceStatus = "SERVICE_STATUS_DOWN"
)

func (ServiceHealthServiceStatus) ContextValidate ¶

func (m ServiceHealthServiceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service health service status based on context it is used

func (ServiceHealthServiceStatus) Pointer ¶

Pointer returns a pointer to a freshly-allocated ServiceHealthServiceStatus.

func (ServiceHealthServiceStatus) Validate ¶

func (m ServiceHealthServiceStatus) Validate(formats strfmt.Registry) error

Validate validates this service health service status

type UserServiceCreateAffiliateLinkBody ¶

type UserServiceCreateAffiliateLinkBody struct {

	// code
	Code string `json:"code,omitempty"`

	// expires at
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expiresAt,omitempty"`

	// max uses
	MaxUses int32 `json:"maxUses,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// skip waitlist
	SkipWaitlist bool `json:"skipWaitlist,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

UserServiceCreateAffiliateLinkBody user service create affiliate link body

swagger:model UserServiceCreateAffiliateLinkBody

func (*UserServiceCreateAffiliateLinkBody) ContextValidate ¶

func (m *UserServiceCreateAffiliateLinkBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user service create affiliate link body based on context it is used

func (*UserServiceCreateAffiliateLinkBody) MarshalBinary ¶

func (m *UserServiceCreateAffiliateLinkBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserServiceCreateAffiliateLinkBody) UnmarshalBinary ¶

func (m *UserServiceCreateAffiliateLinkBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserServiceCreateAffiliateLinkBody) Validate ¶

Validate validates this user service create affiliate link body

type UserServiceUpdateAffiliateLinkBody ¶

type UserServiceUpdateAffiliateLinkBody struct {

	// code
	Code string `json:"code,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

UserServiceUpdateAffiliateLinkBody user service update affiliate link body

swagger:model UserServiceUpdateAffiliateLinkBody

func (*UserServiceUpdateAffiliateLinkBody) ContextValidate ¶

func (m *UserServiceUpdateAffiliateLinkBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user service update affiliate link body based on context it is used

func (*UserServiceUpdateAffiliateLinkBody) MarshalBinary ¶

func (m *UserServiceUpdateAffiliateLinkBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserServiceUpdateAffiliateLinkBody) UnmarshalBinary ¶

func (m *UserServiceUpdateAffiliateLinkBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserServiceUpdateAffiliateLinkBody) Validate ¶

Validate validates this user service update affiliate link body

type UserServiceUploadSettingsBody ¶

type UserServiceUploadSettingsBody any

UserServiceUploadSettingsBody user service upload settings body

swagger:model UserServiceUploadSettingsBody

type V1AERCounter ¶

type V1AERCounter struct {

	// bdf
	Bdf string `json:"bdf,omitempty"`

	// correctable
	Correctable string `json:"correctable,omitempty"`

	// fatal
	Fatal string `json:"fatal,omitempty"`

	// non fatal
	NonFatal string `json:"nonFatal,omitempty"`
}

V1AERCounter v1 a e r counter

swagger:model v1AERCounter

func (*V1AERCounter) ContextValidate ¶

func (m *V1AERCounter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 a e r counter based on context it is used

func (*V1AERCounter) MarshalBinary ¶

func (m *V1AERCounter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AERCounter) UnmarshalBinary ¶

func (m *V1AERCounter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AERCounter) Validate ¶

func (m *V1AERCounter) Validate(formats strfmt.Registry) error

Validate validates this v1 a e r counter

type V1APIKey ¶

type V1APIKey struct {

	// Budget config; nil when no budget is set
	BudgetConfig *V1APIKeyBudget `json:"budgetConfig,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// creator Id
	CreatorID string `json:"creatorId,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// last used
	// Format: date-time
	LastUsed strfmt.DateTime `json:"lastUsed,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// Teamspace the key is scoped to. Empty when org-wide.
	ProjectID string `json:"projectId,omitempty"`

	// raw key
	RawKey string `json:"rawKey,omitempty"`

	// role
	Role string `json:"role,omitempty"`
}

V1APIKey v1 API key

swagger:model v1APIKey

func (*V1APIKey) ContextValidate ¶

func (m *V1APIKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 API key based on the context it is used

func (*V1APIKey) MarshalBinary ¶

func (m *V1APIKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1APIKey) UnmarshalBinary ¶

func (m *V1APIKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1APIKey) Validate ¶

func (m *V1APIKey) Validate(formats strfmt.Registry) error

Validate validates this v1 API key

type V1APIKeyBudget ¶

type V1APIKeyBudget struct {

	// Spend cap per period
	LimitCredits string `json:"limitCredits,omitempty"`

	// Period for the cap
	Timeframe *V1BudgetTimeframe `json:"timeframe,omitempty"`
}

V1APIKeyBudget v1 API key budget

swagger:model v1APIKeyBudget

func (*V1APIKeyBudget) ContextValidate ¶

func (m *V1APIKeyBudget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 API key budget based on the context it is used

func (*V1APIKeyBudget) MarshalBinary ¶

func (m *V1APIKeyBudget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1APIKeyBudget) UnmarshalBinary ¶

func (m *V1APIKeyBudget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1APIKeyBudget) Validate ¶

func (m *V1APIKeyBudget) Validate(formats strfmt.Registry) error

Validate validates this v1 API key budget

type V1AWSClusterCredentials ¶

type V1AWSClusterCredentials struct {

	// endpoint Url
	EndpointURL string `json:"endpointUrl,omitempty"`

	// key Id
	KeyID string `json:"keyId,omitempty"`

	// secret
	Secret string `json:"secret,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

V1AWSClusterCredentials v1 a w s cluster credentials

swagger:model v1AWSClusterCredentials

func (*V1AWSClusterCredentials) ContextValidate ¶

func (m *V1AWSClusterCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 a w s cluster credentials based on context it is used

func (*V1AWSClusterCredentials) MarshalBinary ¶

func (m *V1AWSClusterCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AWSClusterCredentials) UnmarshalBinary ¶

func (m *V1AWSClusterCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AWSClusterCredentials) Validate ¶

func (m *V1AWSClusterCredentials) Validate(formats strfmt.Registry) error

Validate validates this v1 a w s cluster credentials

type V1AWSDirectV1 ¶

type V1AWSDirectV1 struct {

	// if set, pull AMIs from this account ID instead of Lightning's
	AmiOwnerID string `json:"amiOwnerId,omitempty"`

	// if a specific andpoint should be used to access the cluster's bucket (e.g. JPMC DataPlane setup)
	BucketEndpoint string `json:"bucketEndpoint,omitempty"`

	// artifacts
	BucketName string `json:"bucketName,omitempty"`

	// If true, do not automate resource creation with cloudformation
	CloudFormationDisabled bool `json:"cloudFormationDisabled,omitempty"`

	// If true, users can create new EFS folders in the cloud account
	EfsEnabled bool `json:"efsEnabled,omitempty"`

	// external Id
	ExternalID string `json:"externalId,omitempty"`

	// Athena database name for the bucket's inventory
	InventoryDatabase string `json:"inventoryDatabase,omitempty"`

	// Athena table name for the bucket's inventory
	InventoryTable string `json:"inventoryTable,omitempty"`

	// Primary region stores user's code, data and registry images
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// Regional load balancers info to access cluster's machines (JPMC setup)
	RegionalLoadBalancers []*V1RegionalLoadBalancer `json:"regionalLoadBalancers"`

	// We deploy the bare bones infrastructure into every region
	Regions []string `json:"regions"`

	// IAM role to assume to manage resources
	// the control plane will assume these to for both direct ec2 as well as cloudformation
	RoleArn string `json:"roleArn,omitempty"`

	// source_cidr_ips allows modifying default 0.0.0.0/0 source,
	// so that it can only allow specific incoming traffic into the EC2
	// machines. This should always include controlplane's IP address,
	// otherwise it will not work.
	SourceCidrIps []string `json:"sourceCidrIps"`

	// The CIDR block prefix that will be used to create the private subnets for this cluster's VPC, defaults to 10.192
	SubnetCIDRPrefix string `json:"subnetCIDRPrefix,omitempty"`

	// Run instances from launch templates only (JPMC setup)
	UseLaunchTemplates bool `json:"useLaunchTemplates,omitempty"`

	// If true, use all tagged subnets instead of selecting one subnet per availability zone
	UseMultipleSubnetsPerAvailabilityZone bool `json:"useMultipleSubnetsPerAvailabilityZone,omitempty"`
}

V1AWSDirectV1 AWSDirect is used for AWS clusters executed from control plane

swagger:model v1AWSDirectV1

func (*V1AWSDirectV1) ContextValidate ¶

func (m *V1AWSDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 a w s direct v1 based on the context it is used

func (*V1AWSDirectV1) MarshalBinary ¶

func (m *V1AWSDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AWSDirectV1) UnmarshalBinary ¶

func (m *V1AWSDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AWSDirectV1) Validate ¶

func (m *V1AWSDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 a w s direct v1

type V1AWSDirectV1Status ¶

type V1AWSDirectV1Status struct {

	// reason
	Reason string `json:"reason,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// state
	State *V1RegionState `json:"state,omitempty"`
}

V1AWSDirectV1Status v1 a w s direct v1 status

swagger:model v1AWSDirectV1Status

func (*V1AWSDirectV1Status) ContextValidate ¶

func (m *V1AWSDirectV1Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 a w s direct v1 status based on the context it is used

func (*V1AWSDirectV1Status) MarshalBinary ¶

func (m *V1AWSDirectV1Status) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AWSDirectV1Status) UnmarshalBinary ¶

func (m *V1AWSDirectV1Status) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AWSDirectV1Status) Validate ¶

func (m *V1AWSDirectV1Status) Validate(formats strfmt.Registry) error

Validate validates this v1 a w s direct v1 status

type V1AcceleratorQuotaInfo ¶

type V1AcceleratorQuotaInfo struct {

	// region
	Region string `json:"region,omitempty"`

	// spot
	Spot bool `json:"spot,omitempty"`

	// utilization
	Utilization string `json:"utilization,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

V1AcceleratorQuotaInfo v1 accelerator quota info

swagger:model v1AcceleratorQuotaInfo

func (*V1AcceleratorQuotaInfo) ContextValidate ¶

func (m *V1AcceleratorQuotaInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 accelerator quota info based on context it is used

func (*V1AcceleratorQuotaInfo) MarshalBinary ¶

func (m *V1AcceleratorQuotaInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AcceleratorQuotaInfo) UnmarshalBinary ¶

func (m *V1AcceleratorQuotaInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AcceleratorQuotaInfo) Validate ¶

func (m *V1AcceleratorQuotaInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 accelerator quota info

type V1AcceleratorType ¶

type V1AcceleratorType string

V1AcceleratorType - ACCELERATOR_TYPE_EFA_NCCL_GPU_HOPPER: Hopper family, H100 and H200 machines require separate settings

swagger:model v1AcceleratorType

const (

	// V1AcceleratorTypeACCELERATORTYPEUNSPECIFIED captures enum value "ACCELERATOR_TYPE_UNSPECIFIED"
	V1AcceleratorTypeACCELERATORTYPEUNSPECIFIED V1AcceleratorType = "ACCELERATOR_TYPE_UNSPECIFIED"

	// V1AcceleratorTypeACCELERATORTYPECPU captures enum value "ACCELERATOR_TYPE_CPU"
	V1AcceleratorTypeACCELERATORTYPECPU V1AcceleratorType = "ACCELERATOR_TYPE_CPU"

	// V1AcceleratorTypeACCELERATORTYPEGPU captures enum value "ACCELERATOR_TYPE_GPU"
	V1AcceleratorTypeACCELERATORTYPEGPU V1AcceleratorType = "ACCELERATOR_TYPE_GPU"

	// V1AcceleratorTypeACCELERATORTYPEEFANCCLGPU captures enum value "ACCELERATOR_TYPE_EFA_NCCL_GPU"
	V1AcceleratorTypeACCELERATORTYPEEFANCCLGPU V1AcceleratorType = "ACCELERATOR_TYPE_EFA_NCCL_GPU"

	// V1AcceleratorTypeACCELERATORTYPETRAINIUM captures enum value "ACCELERATOR_TYPE_TRAINIUM"
	V1AcceleratorTypeACCELERATORTYPETRAINIUM V1AcceleratorType = "ACCELERATOR_TYPE_TRAINIUM"

	// V1AcceleratorTypeACCELERATORTYPEEFANCCLGPUHOPPER captures enum value "ACCELERATOR_TYPE_EFA_NCCL_GPU_HOPPER"
	V1AcceleratorTypeACCELERATORTYPEEFANCCLGPUHOPPER V1AcceleratorType = "ACCELERATOR_TYPE_EFA_NCCL_GPU_HOPPER"

	// V1AcceleratorTypeACCELERATORTYPEGPUBLACKWELL captures enum value "ACCELERATOR_TYPE_GPU_BLACKWELL"
	V1AcceleratorTypeACCELERATORTYPEGPUBLACKWELL V1AcceleratorType = "ACCELERATOR_TYPE_GPU_BLACKWELL"

	// V1AcceleratorTypeACCELERATORTYPETPU captures enum value "ACCELERATOR_TYPE_TPU"
	V1AcceleratorTypeACCELERATORTYPETPU V1AcceleratorType = "ACCELERATOR_TYPE_TPU"
)

func NewV1AcceleratorType ¶

func NewV1AcceleratorType(value V1AcceleratorType) *V1AcceleratorType

func (V1AcceleratorType) ContextValidate ¶

func (m V1AcceleratorType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 accelerator type based on context it is used

func (V1AcceleratorType) Pointer ¶

func (m V1AcceleratorType) Pointer() *V1AcceleratorType

Pointer returns a pointer to a freshly-allocated V1AcceleratorType.

func (V1AcceleratorType) Validate ¶

func (m V1AcceleratorType) Validate(formats strfmt.Registry) error

Validate validates this v1 accelerator type

type V1AckUserStorageViolationResponse ¶

type V1AckUserStorageViolationResponse any

V1AckUserStorageViolationResponse v1 ack user storage violation response

swagger:model v1AckUserStorageViolationResponse

type V1AddJobTimingResponse ¶

type V1AddJobTimingResponse any

V1AddJobTimingResponse v1 add job timing response

swagger:model v1AddJobTimingResponse

type V1AffiliateLink struct {

	// code
	Code string `json:"code,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// expires at
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expiresAt,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// max uses
	MaxUses int64 `json:"maxUses,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// referred incentives
	ReferredIncentives map[string]string `json:"referredIncentives,omitempty"`

	// skip waitlist
	SkipWaitlist bool `json:"skipWaitlist,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// usage count
	UsageCount int64 `json:"usageCount,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1AffiliateLink v1 affiliate link

swagger:model v1AffiliateLink

func (*V1AffiliateLink) ContextValidate ¶

func (m *V1AffiliateLink) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 affiliate link based on context it is used

func (*V1AffiliateLink) MarshalBinary ¶

func (m *V1AffiliateLink) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AffiliateLink) UnmarshalBinary ¶

func (m *V1AffiliateLink) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AffiliateLink) Validate ¶

func (m *V1AffiliateLink) Validate(formats strfmt.Registry) error

Validate validates this v1 affiliate link

type V1AgentJob ¶

type V1AgentJob struct {

	// cache Id
	CacheID string `json:"cacheId,omitempty"`

	// cloudspace Id
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// command
	Command string `json:"command,omitempty"`

	// Checksum
	CondaChecksum string `json:"condaChecksum,omitempty"`

	// Conda env presignedurl
	CondaEnvPath string `json:"condaEnvPath,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Entrypoint for the image
	Entrypoint string `json:"entrypoint,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// Docker image to use for the job
	Image string `json:"image,omitempty"`

	// image registry password
	ImageRegistryPassword string `json:"imageRegistryPassword,omitempty"`

	// image registry username
	ImageRegistryUsername string `json:"imageRegistryUsername,omitempty"`

	// Secret reference to use for the image
	ImageSecretRef string `json:"imageSecretRef,omitempty"`

	// linked project Id
	LinkedProjectID string `json:"linkedProjectId,omitempty"`

	// linked user Id
	LinkedUserID string `json:"linkedUserId,omitempty"`

	// If state is error (failed to submit the job), this will be populated with the output from Slurm
	Message string `json:"message,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// num gpus
	NumGpus int64 `json:"numGpus,omitempty"`

	// Slurm partition to use for the job
	Partition string `json:"partition,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// Lightning run ID
	RunID string `json:"runId,omitempty"`

	// service Id
	ServiceID string `json:"serviceId,omitempty"`

	// slurm v1 status
	SlurmV1Status *V1SlurmV1JobStatus `json:"slurmV1Status,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// estimated time in seconds until file transfer completion
	UploadEtaSeconds string `json:"uploadEtaSeconds,omitempty"`

	// Indicates that the job artifacts are currently being uploaded to the cloud
	UploadInProgress bool `json:"uploadInProgress,omitempty"`

	// percentage of file transfer completion
	UploadPercentage string `json:"uploadPercentage,omitempty"`

	// username of the user who submitted the job
	Username string `json:"username,omitempty"`

	// Where the files will be downloaded, for example:
	// /scratch/nyu/<username>
	// Then the directories that Lightning will create/use:
	// /scratch/nyu/<username>/lightning_manager/<studio name>/<job-id>/...
	WorkDir string `json:"workDir,omitempty"`
}

V1AgentJob v1 agent job

swagger:model v1AgentJob

func (*V1AgentJob) ContextValidate ¶

func (m *V1AgentJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 agent job based on the context it is used

func (*V1AgentJob) MarshalBinary ¶

func (m *V1AgentJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AgentJob) UnmarshalBinary ¶

func (m *V1AgentJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AgentJob) Validate ¶

func (m *V1AgentJob) Validate(formats strfmt.Registry) error

Validate validates this v1 agent job

type V1AlertMethod ¶

type V1AlertMethod string

V1AlertMethod v1 alert method

swagger:model v1AlertMethod

const (

	// V1AlertMethodEMAIL captures enum value "EMAIL"
	V1AlertMethodEMAIL V1AlertMethod = "EMAIL"

	// V1AlertMethodSLACK captures enum value "SLACK"
	V1AlertMethodSLACK V1AlertMethod = "SLACK"

	// V1AlertMethodTEXT captures enum value "TEXT"
	V1AlertMethodTEXT V1AlertMethod = "TEXT"
)

func NewV1AlertMethod ¶

func NewV1AlertMethod(value V1AlertMethod) *V1AlertMethod

func (V1AlertMethod) ContextValidate ¶

func (m V1AlertMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 alert method based on context it is used

func (V1AlertMethod) Pointer ¶

func (m V1AlertMethod) Pointer() *V1AlertMethod

Pointer returns a pointer to a freshly-allocated V1AlertMethod.

func (V1AlertMethod) Validate ¶

func (m V1AlertMethod) Validate(formats strfmt.Registry) error

Validate validates this v1 alert method

type V1AlertingPolicyFrequency ¶

type V1AlertingPolicyFrequency string

V1AlertingPolicyFrequency v1 alerting policy frequency

swagger:model v1AlertingPolicyFrequency

const (

	// V1AlertingPolicyFrequencyFrequencyUnspecified captures enum value "FrequencyUnspecified"
	V1AlertingPolicyFrequencyFrequencyUnspecified V1AlertingPolicyFrequency = "FrequencyUnspecified"

	// V1AlertingPolicyFrequencyMinute captures enum value "Minute"
	V1AlertingPolicyFrequencyMinute V1AlertingPolicyFrequency = "Minute"

	// V1AlertingPolicyFrequencyHour captures enum value "Hour"
	V1AlertingPolicyFrequencyHour V1AlertingPolicyFrequency = "Hour"

	// V1AlertingPolicyFrequencyDay captures enum value "Day"
	V1AlertingPolicyFrequencyDay V1AlertingPolicyFrequency = "Day"
)

func (V1AlertingPolicyFrequency) ContextValidate ¶

func (m V1AlertingPolicyFrequency) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 alerting policy frequency based on context it is used

func (V1AlertingPolicyFrequency) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1AlertingPolicyFrequency.

func (V1AlertingPolicyFrequency) Validate ¶

func (m V1AlertingPolicyFrequency) Validate(formats strfmt.Registry) error

Validate validates this v1 alerting policy frequency

type V1AlertingPolicyOperation ¶

type V1AlertingPolicyOperation string

V1AlertingPolicyOperation v1 alerting policy operation

swagger:model v1AlertingPolicyOperation

const (

	// V1AlertingPolicyOperationOperationUnspecified captures enum value "OperationUnspecified"
	V1AlertingPolicyOperationOperationUnspecified V1AlertingPolicyOperation = "OperationUnspecified"

	// V1AlertingPolicyOperationEqual captures enum value "Equal"
	V1AlertingPolicyOperationEqual V1AlertingPolicyOperation = "Equal"

	// V1AlertingPolicyOperationMoreThan captures enum value "MoreThan"
	V1AlertingPolicyOperationMoreThan V1AlertingPolicyOperation = "MoreThan"

	// V1AlertingPolicyOperationLessThan captures enum value "LessThan"
	V1AlertingPolicyOperationLessThan V1AlertingPolicyOperation = "LessThan"
)

func (V1AlertingPolicyOperation) ContextValidate ¶

func (m V1AlertingPolicyOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 alerting policy operation based on context it is used

func (V1AlertingPolicyOperation) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1AlertingPolicyOperation.

func (V1AlertingPolicyOperation) Validate ¶

func (m V1AlertingPolicyOperation) Validate(formats strfmt.Registry) error

Validate validates this v1 alerting policy operation

type V1AlertingPolicySeverity ¶

type V1AlertingPolicySeverity string

V1AlertingPolicySeverity v1 alerting policy severity

swagger:model v1AlertingPolicySeverity

const (

	// V1AlertingPolicySeveritySeverityUnspecified captures enum value "SeverityUnspecified"
	V1AlertingPolicySeveritySeverityUnspecified V1AlertingPolicySeverity = "SeverityUnspecified"

	// V1AlertingPolicySeverityNone captures enum value "None"
	V1AlertingPolicySeverityNone V1AlertingPolicySeverity = "None"

	// V1AlertingPolicySeverityLow captures enum value "Low"
	V1AlertingPolicySeverityLow V1AlertingPolicySeverity = "Low"

	// V1AlertingPolicySeverityMedium captures enum value "Medium"
	V1AlertingPolicySeverityMedium V1AlertingPolicySeverity = "Medium"

	// V1AlertingPolicySeverityHigh captures enum value "High"
	V1AlertingPolicySeverityHigh V1AlertingPolicySeverity = "High"
)

func (V1AlertingPolicySeverity) ContextValidate ¶

func (m V1AlertingPolicySeverity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 alerting policy severity based on context it is used

func (V1AlertingPolicySeverity) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1AlertingPolicySeverity.

func (V1AlertingPolicySeverity) Validate ¶

func (m V1AlertingPolicySeverity) Validate(formats strfmt.Registry) error

Validate validates this v1 alerting policy severity

type V1ApproveAutoJoinDomainResponse ¶

type V1ApproveAutoJoinDomainResponse struct {

	// org
	Org *V1Organization `json:"org,omitempty"`
}

V1ApproveAutoJoinDomainResponse v1 approve auto join domain response

swagger:model v1ApproveAutoJoinDomainResponse

func (*V1ApproveAutoJoinDomainResponse) ContextValidate ¶

func (m *V1ApproveAutoJoinDomainResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 approve auto join domain response based on the context it is used

func (*V1ApproveAutoJoinDomainResponse) MarshalBinary ¶

func (m *V1ApproveAutoJoinDomainResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ApproveAutoJoinDomainResponse) UnmarshalBinary ¶

func (m *V1ApproveAutoJoinDomainResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ApproveAutoJoinDomainResponse) Validate ¶

Validate validates this v1 approve auto join domain response

type V1AutoJoinDomainValidation ¶

type V1AutoJoinDomainValidation struct {

	// email sent at
	// Format: date-time
	EmailSentAt strfmt.DateTime `json:"emailSentAt,omitempty"`

	// last validation email
	LastValidationEmail string `json:"lastValidationEmail,omitempty"`

	// validated
	Validated bool `json:"validated,omitempty"`
}

V1AutoJoinDomainValidation v1 auto join domain validation

swagger:model v1AutoJoinDomainValidation

func (*V1AutoJoinDomainValidation) ContextValidate ¶

func (m *V1AutoJoinDomainValidation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 auto join domain validation based on context it is used

func (*V1AutoJoinDomainValidation) MarshalBinary ¶

func (m *V1AutoJoinDomainValidation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AutoJoinDomainValidation) UnmarshalBinary ¶

func (m *V1AutoJoinDomainValidation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AutoJoinDomainValidation) Validate ¶

func (m *V1AutoJoinDomainValidation) Validate(formats strfmt.Registry) error

Validate validates this v1 auto join domain validation

type V1AutoJoinOrgResponse ¶

type V1AutoJoinOrgResponse struct {

	// default project
	DefaultProject *V1ProjectMembership `json:"defaultProject,omitempty"`

	// org membership
	OrgMembership *V1OrgMembership `json:"orgMembership,omitempty"`
}

V1AutoJoinOrgResponse v1 auto join org response

swagger:model v1AutoJoinOrgResponse

func (*V1AutoJoinOrgResponse) ContextValidate ¶

func (m *V1AutoJoinOrgResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 auto join org response based on the context it is used

func (*V1AutoJoinOrgResponse) MarshalBinary ¶

func (m *V1AutoJoinOrgResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AutoJoinOrgResponse) UnmarshalBinary ¶

func (m *V1AutoJoinOrgResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AutoJoinOrgResponse) Validate ¶

func (m *V1AutoJoinOrgResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 auto join org response

type V1AutoscalingOverflowPolicy ¶

type V1AutoscalingOverflowPolicy string

V1AutoscalingOverflowPolicy v1 autoscaling overflow policy

swagger:model v1AutoscalingOverflowPolicy

const (

	// V1AutoscalingOverflowPolicyAUTOSCALINGOVERFLOWPOLICYUNSPECIFIED captures enum value "AUTOSCALING_OVERFLOW_POLICY_UNSPECIFIED"
	V1AutoscalingOverflowPolicyAUTOSCALINGOVERFLOWPOLICYUNSPECIFIED V1AutoscalingOverflowPolicy = "AUTOSCALING_OVERFLOW_POLICY_UNSPECIFIED"

	// V1AutoscalingOverflowPolicyAUTOSCALINGOVERFLOWPOLICYNONE captures enum value "AUTOSCALING_OVERFLOW_POLICY_NONE"
	V1AutoscalingOverflowPolicyAUTOSCALINGOVERFLOWPOLICYNONE V1AutoscalingOverflowPolicy = "AUTOSCALING_OVERFLOW_POLICY_NONE"

	// V1AutoscalingOverflowPolicyAUTOSCALINGOVERFLOWPOLICYQUEUE captures enum value "AUTOSCALING_OVERFLOW_POLICY_QUEUE"
	V1AutoscalingOverflowPolicyAUTOSCALINGOVERFLOWPOLICYQUEUE V1AutoscalingOverflowPolicy = "AUTOSCALING_OVERFLOW_POLICY_QUEUE"
)

func (V1AutoscalingOverflowPolicy) ContextValidate ¶

func (m V1AutoscalingOverflowPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 autoscaling overflow policy based on context it is used

func (V1AutoscalingOverflowPolicy) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1AutoscalingOverflowPolicy.

func (V1AutoscalingOverflowPolicy) Validate ¶

func (m V1AutoscalingOverflowPolicy) Validate(formats strfmt.Registry) error

Validate validates this v1 autoscaling overflow policy

type V1AutoscalingSpec ¶

type V1AutoscalingSpec struct {

	// Enable autoscaling
	Enabled bool `json:"enabled,omitempty"`

	// The expected time in seconds for the container to start
	ExpectedColdStartTime string `json:"expectedColdStartTime,omitempty"`

	// How long to wait before scaling down to zero replicas, defaults to 5 minutes
	IdleThresholdSeconds string `json:"idleThresholdSeconds,omitempty"`

	// Maximum number of replicas
	MaxReplicas string `json:"maxReplicas,omitempty"`

	// Minimum number of replicas
	MinReplicas string `json:"minReplicas,omitempty"`

	// scale down cooldown seconds
	ScaleDownCooldownSeconds string `json:"scaleDownCooldownSeconds,omitempty"`

	// scale up cooldown seconds
	ScaleUpCooldownSeconds string `json:"scaleUpCooldownSeconds,omitempty"`

	// Autoscaling metrics
	TargetMetric []*V1AutoscalingTargetMetric `json:"targetMetric"`
}

V1AutoscalingSpec v1 autoscaling spec

swagger:model v1AutoscalingSpec

func (*V1AutoscalingSpec) ContextValidate ¶

func (m *V1AutoscalingSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 autoscaling spec based on the context it is used

func (*V1AutoscalingSpec) MarshalBinary ¶

func (m *V1AutoscalingSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AutoscalingSpec) UnmarshalBinary ¶

func (m *V1AutoscalingSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AutoscalingSpec) Validate ¶

func (m *V1AutoscalingSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 autoscaling spec

type V1AutoscalingTargetMetric ¶

type V1AutoscalingTargetMetric struct {

	// For CONCURRENCY_UTILIZATION, defaults to 60
	AutoscalingWindowSeconds string `json:"autoscalingWindowSeconds,omitempty"`

	// CPUUtilization, etc.
	Name string `json:"name,omitempty"`

	// Reserved for future request queueing support
	OverflowPolicy *V1AutoscalingOverflowPolicy `json:"overflowPolicy,omitempty"`

	// Target value
	Target string `json:"target,omitempty"`

	// For CONCURRENCY_UTILIZATION, defaults to 70
	TargetUtilizationPercentage string `json:"targetUtilizationPercentage,omitempty"`
}

V1AutoscalingTargetMetric v1 autoscaling target metric

swagger:model v1AutoscalingTargetMetric

func (*V1AutoscalingTargetMetric) ContextValidate ¶

func (m *V1AutoscalingTargetMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 autoscaling target metric based on the context it is used

func (*V1AutoscalingTargetMetric) MarshalBinary ¶

func (m *V1AutoscalingTargetMetric) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AutoscalingTargetMetric) UnmarshalBinary ¶

func (m *V1AutoscalingTargetMetric) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AutoscalingTargetMetric) Validate ¶

func (m *V1AutoscalingTargetMetric) Validate(formats strfmt.Registry) error

Validate validates this v1 autoscaling target metric

type V1AwsDataConnection ¶

type V1AwsDataConnection struct {

	// When true, mount on non-AWS Studios via project-role STS. Default false (AWS-only).
	AvailableInNonAwsProviders bool `json:"availableInNonAwsProviders,omitempty"`

	// destination
	Destination string `json:"destination,omitempty"`

	// ARN of the KMS encryption key for this bucket
	KmsArn string `json:"kmsArn,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// Name of Arn Role Secret granting the platform to use the private bucket
	SecretArnName string `json:"secretArnName,omitempty"`

	// The secret Arn Role. Only populated on the GridLet side during reconciliation.
	SecretArnValue string `json:"secretArnValue,omitempty"`

	// The Secret ID of the ACCESS KEY ID
	SecretIDAccessKeyID string `json:"secretIdAccessKeyId,omitempty"`

	// The Secret ID of the SECRET ACCESS KEY
	SecretIDSecretAccessKey string `json:"secretIdSecretAccessKey,omitempty"`

	// The Secret Value of the ACCESS KEY ID
	SecretValueAccessKeyID string `json:"secretValueAccessKeyId,omitempty"`

	// The Secret VALUE of the SECRET ACCESS KEY
	SecretValueSecretAccessKey string `json:"secretValueSecretAccessKey,omitempty"`

	// source
	Source string `json:"source,omitempty"`
}

V1AwsDataConnection General types

swagger:model v1AwsDataConnection

func (*V1AwsDataConnection) ContextValidate ¶

func (m *V1AwsDataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 aws data connection based on context it is used

func (*V1AwsDataConnection) MarshalBinary ¶

func (m *V1AwsDataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AwsDataConnection) UnmarshalBinary ¶

func (m *V1AwsDataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AwsDataConnection) Validate ¶

func (m *V1AwsDataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 aws data connection

type V1AzureDirectV1 ¶

type V1AzureDirectV1 struct {

	// Bucket (container) where artifacts are filesystem contents will be stored
	BucketName string `json:"bucketName,omitempty"`

	// Credentials necessary for authenticating the application to the Azure API
	ClientID string `json:"clientId,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// An azure directory is an identifier for the Azure subscription
	// Multiple directories can exist under the same account
	// It is logically equivalent to a project in GCP
	DirectoryID string `json:"directoryId,omitempty"`

	// Regional information for the cluster
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// regions
	Regions []string `json:"regions"`

	// Azure resource group where cluster VMs and associated resources are created.
	// Created by the setup script and stored here so the controller knows where to provision.
	ResourceGroupName string `json:"resourceGroupName,omitempty"`

	// tenant Id
	TenantID string `json:"tenantId,omitempty"`
}

V1AzureDirectV1 v1 azure direct v1

swagger:model v1AzureDirectV1

func (*V1AzureDirectV1) ContextValidate ¶

func (m *V1AzureDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 azure direct v1 based on context it is used

func (*V1AzureDirectV1) MarshalBinary ¶

func (m *V1AzureDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AzureDirectV1) UnmarshalBinary ¶

func (m *V1AzureDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AzureDirectV1) Validate ¶

func (m *V1AzureDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 azure direct v1

type V1BYOMSpec ¶

type V1BYOMSpec struct {

	// empty -> "stable"
	BaseImageVariant string `json:"baseImageVariant,omitempty"`

	// dtype
	Dtype string `json:"dtype,omitempty"`

	// Opt-in: when true, the weight-watcher sidecar runs for this deployment,
	// enabling hot weight reload (HuggingFace auto-detect + user-triggered).
	// Defaults to false.
	EnableWeightReload bool `json:"enableWeightReload,omitempty"`

	// extra vllm args
	ExtraVllmArgs []string `json:"extraVllmArgs"`

	// gpu memory utilization
	GpuMemoryUtilization float32 `json:"gpuMemoryUtilization,omitempty"`

	// hf token secret name
	HfTokenSecretName string `json:"hfTokenSecretName,omitempty"`

	// max model len
	MaxModelLen int32 `json:"maxModelLen,omitempty"`

	// quantization
	Quantization string `json:"quantization,omitempty"`

	// Set by the server; ignored on input. Snapshots the resolved image at
	// create/update time so registry bumps don't affect existing rows.
	ResolvedImage string `json:"resolvedImage,omitempty"`

	// served model name
	ServedModelName string `json:"servedModelName,omitempty"`

	// tensor parallel size
	TensorParallelSize int32 `json:"tensorParallelSize,omitempty"`

	// weight source
	WeightSource *V1WeightSource `json:"weightSource,omitempty"`
}

V1BYOMSpec v1 b y o m spec

swagger:model v1BYOMSpec

func (*V1BYOMSpec) ContextValidate ¶

func (m *V1BYOMSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 b y o m spec based on the context it is used

func (*V1BYOMSpec) MarshalBinary ¶

func (m *V1BYOMSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1BYOMSpec) UnmarshalBinary ¶

func (m *V1BYOMSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1BYOMSpec) Validate ¶

func (m *V1BYOMSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 b y o m spec

type V1BatchServerCheckInRequest ¶

type V1BatchServerCheckInRequest struct {

	// server ids
	ServerIds []string `json:"serverIds"`
}

V1BatchServerCheckInRequest v1 batch server check in request

swagger:model v1BatchServerCheckInRequest

func (*V1BatchServerCheckInRequest) ContextValidate ¶

func (m *V1BatchServerCheckInRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 batch server check in request based on context it is used

func (*V1BatchServerCheckInRequest) MarshalBinary ¶

func (m *V1BatchServerCheckInRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1BatchServerCheckInRequest) UnmarshalBinary ¶

func (m *V1BatchServerCheckInRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1BatchServerCheckInRequest) Validate ¶

func (m *V1BatchServerCheckInRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 batch server check in request

type V1BatchServerCheckInResponse ¶

type V1BatchServerCheckInResponse struct {

	// unknown server ids
	UnknownServerIds []string `json:"unknownServerIds"`
}

V1BatchServerCheckInResponse v1 batch server check in response

swagger:model v1BatchServerCheckInResponse

func (*V1BatchServerCheckInResponse) ContextValidate ¶

func (m *V1BatchServerCheckInResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 batch server check in response based on context it is used

func (*V1BatchServerCheckInResponse) MarshalBinary ¶

func (m *V1BatchServerCheckInResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1BatchServerCheckInResponse) UnmarshalBinary ¶

func (m *V1BatchServerCheckInResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1BatchServerCheckInResponse) Validate ¶

func (m *V1BatchServerCheckInResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 batch server check in response

type V1Body ¶

type V1Body struct {

	// raw Json
	RawJSON string `json:"rawJson,omitempty"`
}

V1Body v1 body

swagger:model v1Body

func (*V1Body) ContextValidate ¶

func (m *V1Body) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 body based on context it is used

func (*V1Body) MarshalBinary ¶

func (m *V1Body) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Body) UnmarshalBinary ¶

func (m *V1Body) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Body) Validate ¶

func (m *V1Body) Validate(formats strfmt.Registry) error

Validate validates this v1 body

type V1BudgetTimeframe ¶

type V1BudgetTimeframe string

V1BudgetTimeframe v1 budget timeframe

swagger:model v1BudgetTimeframe

const (

	// V1BudgetTimeframeBUDGETTIMEFRAMEUNSPECIFIED captures enum value "BUDGET_TIMEFRAME_UNSPECIFIED"
	V1BudgetTimeframeBUDGETTIMEFRAMEUNSPECIFIED V1BudgetTimeframe = "BUDGET_TIMEFRAME_UNSPECIFIED"

	// V1BudgetTimeframeBUDGETTIMEFRAMEDAILY captures enum value "BUDGET_TIMEFRAME_DAILY"
	V1BudgetTimeframeBUDGETTIMEFRAMEDAILY V1BudgetTimeframe = "BUDGET_TIMEFRAME_DAILY"

	// V1BudgetTimeframeBUDGETTIMEFRAMEWEEKLY captures enum value "BUDGET_TIMEFRAME_WEEKLY"
	V1BudgetTimeframeBUDGETTIMEFRAMEWEEKLY V1BudgetTimeframe = "BUDGET_TIMEFRAME_WEEKLY"

	// V1BudgetTimeframeBUDGETTIMEFRAMEMONTHLY captures enum value "BUDGET_TIMEFRAME_MONTHLY"
	V1BudgetTimeframeBUDGETTIMEFRAMEMONTHLY V1BudgetTimeframe = "BUDGET_TIMEFRAME_MONTHLY"

	// V1BudgetTimeframeBUDGETTIMEFRAMETOTAL captures enum value "BUDGET_TIMEFRAME_TOTAL"
	V1BudgetTimeframeBUDGETTIMEFRAMETOTAL V1BudgetTimeframe = "BUDGET_TIMEFRAME_TOTAL"
)

func NewV1BudgetTimeframe ¶

func NewV1BudgetTimeframe(value V1BudgetTimeframe) *V1BudgetTimeframe

func (V1BudgetTimeframe) ContextValidate ¶

func (m V1BudgetTimeframe) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 budget timeframe based on context it is used

func (V1BudgetTimeframe) Pointer ¶

func (m V1BudgetTimeframe) Pointer() *V1BudgetTimeframe

Pointer returns a pointer to a freshly-allocated V1BudgetTimeframe.

func (V1BudgetTimeframe) Validate ¶

func (m V1BudgetTimeframe) Validate(formats strfmt.Registry) error

Validate validates this v1 budget timeframe

type V1BuildSpec ¶

type V1BuildSpec struct {

	// Commands will be executed before installing any python pip packages and starting the main app process
	Commands []string `json:"commands"`

	// A custom Docker image to run the user's workload in. This image must be publicly accessible
	// and not hosted by DockerHub or other registries that enforce image pull rate limits.
	Image string `json:"image,omitempty"`

	// python dependencies
	PythonDependencies *V1PythonDependencyInfo `json:"pythonDependencies,omitempty"`

	// Working directory for the workload. Source will be cloned here and the app work will
	// be started from this directory.
	WorkingDir string `json:"workingDir,omitempty"`
}

V1BuildSpec v1 build spec

swagger:model v1BuildSpec

func (*V1BuildSpec) ContextValidate ¶

func (m *V1BuildSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 build spec based on the context it is used

func (*V1BuildSpec) MarshalBinary ¶

func (m *V1BuildSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1BuildSpec) UnmarshalBinary ¶

func (m *V1BuildSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1BuildSpec) Validate ¶

func (m *V1BuildSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 build spec

type V1BulkUploadOrgMembersResponse ¶

type V1BulkUploadOrgMembersResponse struct {

	// created count
	CreatedCount int32 `json:"createdCount,omitempty"`

	// errors
	Errors []*V1BulkUploadOrgMembersRowError `json:"errors"`

	// processed rows
	ProcessedRows int32 `json:"processedRows,omitempty"`

	// skipped count
	SkippedCount int32 `json:"skippedCount,omitempty"`

	// total rows
	TotalRows int32 `json:"totalRows,omitempty"`
}

V1BulkUploadOrgMembersResponse v1 bulk upload org members response

swagger:model v1BulkUploadOrgMembersResponse

func (*V1BulkUploadOrgMembersResponse) ContextValidate ¶

func (m *V1BulkUploadOrgMembersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 bulk upload org members response based on the context it is used

func (*V1BulkUploadOrgMembersResponse) MarshalBinary ¶

func (m *V1BulkUploadOrgMembersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1BulkUploadOrgMembersResponse) UnmarshalBinary ¶

func (m *V1BulkUploadOrgMembersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1BulkUploadOrgMembersResponse) Validate ¶

func (m *V1BulkUploadOrgMembersResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 bulk upload org members response

type V1BulkUploadOrgMembersRowError ¶

type V1BulkUploadOrgMembersRowError struct {

	// email
	Email string `json:"email,omitempty"`

	// reason for the failure or fallback
	Reason string `json:"reason,omitempty"`

	// 1 based row index excludes the header row
	RowIndex int32 `json:"rowIndex,omitempty"`
}

V1BulkUploadOrgMembersRowError v1 bulk upload org members row error

swagger:model v1BulkUploadOrgMembersRowError

func (*V1BulkUploadOrgMembersRowError) ContextValidate ¶

func (m *V1BulkUploadOrgMembersRowError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 bulk upload org members row error based on context it is used

func (*V1BulkUploadOrgMembersRowError) MarshalBinary ¶

func (m *V1BulkUploadOrgMembersRowError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1BulkUploadOrgMembersRowError) UnmarshalBinary ¶

func (m *V1BulkUploadOrgMembersRowError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1BulkUploadOrgMembersRowError) Validate ¶

func (m *V1BulkUploadOrgMembersRowError) Validate(formats strfmt.Registry) error

Validate validates this v1 bulk upload org members row error

type V1CPUSystemMetrics ¶

type V1CPUSystemMetrics struct {

	// block read
	BlockRead int64 `json:"blockRead,omitempty"`

	// block write
	BlockWrite int64 `json:"blockWrite,omitempty"`

	// memory percentage
	MemoryPercentage int64 `json:"memoryPercentage,omitempty"`

	// memory total
	MemoryTotal int64 `json:"memoryTotal,omitempty"`

	// memory used
	MemoryUsed int64 `json:"memoryUsed,omitempty"`

	// network rx
	NetworkRx int64 `json:"networkRx,omitempty"`

	// network tx
	NetworkTx int64 `json:"networkTx,omitempty"`

	// percentage
	Percentage int64 `json:"percentage,omitempty"`

	// percentage per Cpu
	PercentagePerCPU []float64 `json:"percentagePerCpu"`
}

V1CPUSystemMetrics v1 CPU system metrics

swagger:model v1CPUSystemMetrics

func (*V1CPUSystemMetrics) ContextValidate ¶

func (m *V1CPUSystemMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 CPU system metrics based on context it is used

func (*V1CPUSystemMetrics) MarshalBinary ¶

func (m *V1CPUSystemMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CPUSystemMetrics) UnmarshalBinary ¶

func (m *V1CPUSystemMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CPUSystemMetrics) Validate ¶

func (m *V1CPUSystemMetrics) Validate(formats strfmt.Registry) error

Validate validates this v1 CPU system metrics

type V1CancelCloudSpaceInstanceSwitchResponse ¶

type V1CancelCloudSpaceInstanceSwitchResponse any

V1CancelCloudSpaceInstanceSwitchResponse v1 cancel cloud space instance switch response

swagger:model v1CancelCloudSpaceInstanceSwitchResponse

type V1CancelRunningCloudSpaceInstanceTransferResponse ¶

type V1CancelRunningCloudSpaceInstanceTransferResponse any

V1CancelRunningCloudSpaceInstanceTransferResponse v1 cancel running cloud space instance transfer response

swagger:model v1CancelRunningCloudSpaceInstanceTransferResponse

type V1CapacityBlockOffering ¶

type V1CapacityBlockOffering struct {

	// capacity block duration hours
	CapacityBlockDurationHours int32 `json:"capacityBlockDurationHours,omitempty"`

	// capacity block offering Id
	CapacityBlockOfferingID string `json:"capacityBlockOfferingId,omitempty"`

	// currency code
	CurrencyCode string `json:"currencyCode,omitempty"`

	// end date
	// Format: date-time
	EndDate strfmt.DateTime `json:"endDate,omitempty"`

	// expires at
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expiresAt,omitempty"`

	// fee
	Fee float64 `json:"fee,omitempty"`

	// instance count
	InstanceCount int32 `json:"instanceCount,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// machine ids
	MachineIds []string `json:"machineIds"`

	// provider fee
	ProviderFee float64 `json:"providerFee,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// regions without quota
	RegionsWithoutQuota []string `json:"regionsWithoutQuota"`

	// start date
	// Format: date-time
	StartDate strfmt.DateTime `json:"startDate,omitempty"`

	// upfront fee
	UpfrontFee float64 `json:"upfrontFee,omitempty"`
}

V1CapacityBlockOffering v1 capacity block offering

swagger:model v1CapacityBlockOffering

func (*V1CapacityBlockOffering) ContextValidate ¶

func (m *V1CapacityBlockOffering) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 capacity block offering based on context it is used

func (*V1CapacityBlockOffering) MarshalBinary ¶

func (m *V1CapacityBlockOffering) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CapacityBlockOffering) UnmarshalBinary ¶

func (m *V1CapacityBlockOffering) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CapacityBlockOffering) Validate ¶

func (m *V1CapacityBlockOffering) Validate(formats strfmt.Registry) error

Validate validates this v1 capacity block offering

type V1CapacityReservationUsedBy ¶

type V1CapacityReservationUsedBy struct {

	// cloudspace Id
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// job Id
	JobID string `json:"jobId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// server Id
	ServerID string `json:"serverId,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1CapacityReservationUsedBy Used to track which resource is using the reservation

swagger:model v1CapacityReservationUsedBy

func (*V1CapacityReservationUsedBy) ContextValidate ¶

func (m *V1CapacityReservationUsedBy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 capacity reservation used by based on context it is used

func (*V1CapacityReservationUsedBy) MarshalBinary ¶

func (m *V1CapacityReservationUsedBy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CapacityReservationUsedBy) UnmarshalBinary ¶

func (m *V1CapacityReservationUsedBy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CapacityReservationUsedBy) Validate ¶

func (m *V1CapacityReservationUsedBy) Validate(formats strfmt.Registry) error

Validate validates this v1 capacity reservation used by

type V1CheckClusterNameAvailabilityRequest ¶

type V1CheckClusterNameAvailabilityRequest struct {

	// name
	Name string `json:"name,omitempty"`
}

V1CheckClusterNameAvailabilityRequest v1 check cluster name availability request

swagger:model v1CheckClusterNameAvailabilityRequest

func (*V1CheckClusterNameAvailabilityRequest) ContextValidate ¶

func (m *V1CheckClusterNameAvailabilityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 check cluster name availability request based on context it is used

func (*V1CheckClusterNameAvailabilityRequest) MarshalBinary ¶

func (m *V1CheckClusterNameAvailabilityRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CheckClusterNameAvailabilityRequest) UnmarshalBinary ¶

func (m *V1CheckClusterNameAvailabilityRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CheckClusterNameAvailabilityRequest) Validate ¶

Validate validates this v1 check cluster name availability request

type V1CheckClusterNameAvailabilityResponse ¶

type V1CheckClusterNameAvailabilityResponse struct {

	// available
	Available bool `json:"available,omitempty"`
}

V1CheckClusterNameAvailabilityResponse v1 check cluster name availability response

swagger:model v1CheckClusterNameAvailabilityResponse

func (*V1CheckClusterNameAvailabilityResponse) ContextValidate ¶

ContextValidate validates this v1 check cluster name availability response based on context it is used

func (*V1CheckClusterNameAvailabilityResponse) MarshalBinary ¶

func (m *V1CheckClusterNameAvailabilityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CheckClusterNameAvailabilityResponse) UnmarshalBinary ¶

func (m *V1CheckClusterNameAvailabilityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CheckClusterNameAvailabilityResponse) Validate ¶

Validate validates this v1 check cluster name availability response

type V1CheckExternalServiceStatusResponse ¶

type V1CheckExternalServiceStatusResponse struct {

	// github incident
	GithubIncident bool `json:"githubIncident,omitempty"`
}

V1CheckExternalServiceStatusResponse v1 check external service status response

swagger:model v1CheckExternalServiceStatusResponse

func (*V1CheckExternalServiceStatusResponse) ContextValidate ¶

func (m *V1CheckExternalServiceStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 check external service status response based on context it is used

func (*V1CheckExternalServiceStatusResponse) MarshalBinary ¶

func (m *V1CheckExternalServiceStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CheckExternalServiceStatusResponse) UnmarshalBinary ¶

func (m *V1CheckExternalServiceStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CheckExternalServiceStatusResponse) Validate ¶

Validate validates this v1 check external service status response

type V1Checkbox ¶

type V1Checkbox struct {

	// false value
	FalseValue string `json:"falseValue,omitempty"`

	// default value
	IsChecked bool `json:"isChecked,omitempty"`

	// true value
	TrueValue string `json:"trueValue,omitempty"`

	// value selected by the user
	Value bool `json:"value,omitempty"`
}

V1Checkbox v1 checkbox

swagger:model v1Checkbox

func (*V1Checkbox) ContextValidate ¶

func (m *V1Checkbox) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 checkbox based on context it is used

func (*V1Checkbox) MarshalBinary ¶

func (m *V1Checkbox) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Checkbox) UnmarshalBinary ¶

func (m *V1Checkbox) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Checkbox) Validate ¶

func (m *V1Checkbox) Validate(formats strfmt.Registry) error

Validate validates this v1 checkbox

type V1CloudProvider ¶

type V1CloudProvider string

V1CloudProvider v1 cloud provider

swagger:model v1CloudProvider

const (

	// V1CloudProviderCLOUDPROVIDERUNSPECIFIED captures enum value "CLOUD_PROVIDER_UNSPECIFIED"
	V1CloudProviderCLOUDPROVIDERUNSPECIFIED V1CloudProvider = "CLOUD_PROVIDER_UNSPECIFIED"

	// V1CloudProviderAWS captures enum value "AWS"
	V1CloudProviderAWS V1CloudProvider = "AWS"

	// V1CloudProviderGCP captures enum value "GCP"
	V1CloudProviderGCP V1CloudProvider = "GCP"

	// V1CloudProviderVULTR captures enum value "VULTR"
	V1CloudProviderVULTR V1CloudProvider = "VULTR"

	// V1CloudProviderLAMBDALABS captures enum value "LAMBDA_LABS"
	V1CloudProviderLAMBDALABS V1CloudProvider = "LAMBDA_LABS"

	// V1CloudProviderSLURM captures enum value "SLURM"
	V1CloudProviderSLURM V1CloudProvider = "SLURM"

	// V1CloudProviderDGX captures enum value "DGX"
	V1CloudProviderDGX V1CloudProvider = "DGX"

	// V1CloudProviderVOLTAGEPARK captures enum value "VOLTAGE_PARK"
	V1CloudProviderVOLTAGEPARK V1CloudProvider = "VOLTAGE_PARK"

	// V1CloudProviderNEBIUS captures enum value "NEBIUS"
	V1CloudProviderNEBIUS V1CloudProvider = "NEBIUS"

	// V1CloudProviderCLOUDFLARE captures enum value "CLOUDFLARE"
	V1CloudProviderCLOUDFLARE V1CloudProvider = "CLOUDFLARE"

	// V1CloudProviderLIGHTNING captures enum value "LIGHTNING"
	V1CloudProviderLIGHTNING V1CloudProvider = "LIGHTNING"

	// V1CloudProviderLIGHTNINGAGGREGATE captures enum value "LIGHTNING_AGGREGATE"
	V1CloudProviderLIGHTNINGAGGREGATE V1CloudProvider = "LIGHTNING_AGGREGATE"

	// V1CloudProviderKUBERNETES captures enum value "KUBERNETES"
	V1CloudProviderKUBERNETES V1CloudProvider = "KUBERNETES"

	// V1CloudProviderMACHINE captures enum value "MACHINE"
	V1CloudProviderMACHINE V1CloudProvider = "MACHINE"

	// V1CloudProviderLIGHTNINGELASTICCLUSTERAGGREGATE captures enum value "LIGHTNING_ELASTIC_CLUSTER_AGGREGATE"
	V1CloudProviderLIGHTNINGELASTICCLUSTERAGGREGATE V1CloudProvider = "LIGHTNING_ELASTIC_CLUSTER_AGGREGATE"

	// V1CloudProviderCUDO captures enum value "CUDO"
	V1CloudProviderCUDO V1CloudProvider = "CUDO"

	// V1CloudProviderMITHRIL captures enum value "MITHRIL"
	V1CloudProviderMITHRIL V1CloudProvider = "MITHRIL"

	// V1CloudProviderTHUNDERCAT captures enum value "THUNDER_CAT"
	V1CloudProviderTHUNDERCAT V1CloudProvider = "THUNDER_CAT"

	// V1CloudProviderTENSORDOCK captures enum value "TENSORDOCK"
	V1CloudProviderTENSORDOCK V1CloudProvider = "TENSORDOCK"

	// V1CloudProviderAZURE captures enum value "AZURE"
	V1CloudProviderAZURE V1CloudProvider = "AZURE"

	// V1CloudProviderRAFAY captures enum value "RAFAY"
	V1CloudProviderRAFAY V1CloudProvider = "RAFAY"
)

func NewV1CloudProvider ¶

func NewV1CloudProvider(value V1CloudProvider) *V1CloudProvider

func (V1CloudProvider) ContextValidate ¶

func (m V1CloudProvider) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud provider based on context it is used

func (V1CloudProvider) Pointer ¶

func (m V1CloudProvider) Pointer() *V1CloudProvider

Pointer returns a pointer to a freshly-allocated V1CloudProvider.

func (V1CloudProvider) Validate ¶

func (m V1CloudProvider) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud provider

type V1CloudSpace ¶

type V1CloudSpace struct {

	// auto switch machine
	AutoSwitchMachine bool `json:"autoSwitchMachine,omitempty"`

	// ID of the data connection used as a cache for this cloudspace
	CacheDataConnectionID string `json:"cacheDataConnectionId,omitempty"`

	// can download source code
	CanDownloadSourceCode bool `json:"canDownloadSourceCode,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// TODO: move to a separate table
	CodeConfig *V1CloudSpaceInstanceConfig `json:"codeConfig,omitempty"`

	// Add codestatus here
	CodeStatus *V1GetCloudSpaceInstanceStatusResponse `json:"codeStatus,omitempty"`

	// code Url
	CodeURL string `json:"codeUrl,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// data connection mounts
	DataConnectionMounts []*V1DataConnectionMount `json:"dataConnectionMounts"`

	// description
	Description string `json:"description,omitempty"`

	// Clean cloudspace without any secrets
	DisableSecrets bool `json:"disableSecrets,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// engagement counts
	EngagementCounts map[string]string `json:"engagementCounts,omitempty"`

	// env
	Env []*V1EnvVar `json:"env"`

	// environment config
	EnvironmentConfig *V1CloudSpaceEnvironmentConfig `json:"environmentConfig,omitempty"`

	// The ID of the environment template to use for the cloudspace
	EnvironmentTemplateID string `json:"environmentTemplateId,omitempty"`

	// featured
	Featured bool `json:"featured,omitempty"`

	// hide files
	HideFiles bool `json:"hideFiles,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// image status
	ImageStatus *V1ImageState `json:"imageStatus,omitempty"`

	// is cloudspace private
	IsCloudspacePrivate bool `json:"isCloudspacePrivate,omitempty"`

	// is code private
	IsCodePrivate bool `json:"isCodePrivate,omitempty"`

	// is favorite
	IsFavorite bool `json:"isFavorite,omitempty"`

	// Defines whether the CloudSpace is available for everyone to be visible and duplicated
	IsPublished bool `json:"isPublished,omitempty"`

	// license
	License string `json:"license,omitempty"`

	// license Url
	LicenseURL string `json:"licenseUrl,omitempty"`

	// lock out the cloudspace from being viewed
	LockOut bool `json:"lockOut,omitempty"`

	// The version of the machine image to use for the instance
	MachineImageVersion string `json:"machineImageVersion,omitempty"`

	// in hours
	MaxRunDuration string `json:"maxRunDuration,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// multi user edit
	MultiUserEdit bool `json:"multiUserEdit,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// number of files
	NumberOfFiles string `json:"numberOfFiles,omitempty"`

	// operating cost
	OperatingCost string `json:"operatingCost,omitempty"`

	// paper authors
	PaperAuthors string `json:"paperAuthors,omitempty"`

	// paper org
	PaperOrg string `json:"paperOrg,omitempty"`

	// paper org avatar Url
	PaperOrgAvatarURL string `json:"paperOrgAvatarUrl,omitempty"`

	// paper Url
	PaperURL string `json:"paperUrl,omitempty"`

	// ID of the persistent disk used for this cloudspace
	PersistentDiskID string `json:"persistentDiskId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// publications
	Publications []*V1CloudSpaceVersionPublication `json:"publications"`

	// published at
	// Format: date-time
	PublishedAt strfmt.DateTime `json:"publishedAt,omitempty"`

	// published to org at
	// Format: date-time
	PublishedToOrgAt strfmt.DateTime `json:"publishedToOrgAt,omitempty"`

	// distinguish with Studio in the UI
	Sandbox bool `json:"sandbox,omitempty"`

	// state
	State *V1CloudSpaceState `json:"state,omitempty"`

	// switch to default machine on idle
	SwitchToDefaultMachineOnIdle bool `json:"switchToDefaultMachineOnIdle,omitempty"`

	// time in seconds syncing is estimated to take
	SyncDuration string `json:"syncDuration,omitempty"`

	// progress of the cloud space sync job
	// only updated during cloudspace duplication
	SyncPercentage string `json:"syncPercentage,omitempty"`

	// tags
	Tags []*V1ResourceTag `json:"tags"`

	// thumbnail file type
	ThumbnailFileType string `json:"thumbnailFileType,omitempty"`

	// thumbnail updated at
	// Format: date-time
	ThumbnailUpdatedAt strfmt.DateTime `json:"thumbnailUpdatedAt,omitempty"`

	// thumbnail Url
	ThumbnailURL string `json:"thumbnailUrl,omitempty"`

	// total size bytes
	TotalSizeBytes string `json:"totalSizeBytes,omitempty"`

	// transfer metadata
	TransferMetadata *V1CloudSpaceTransferMetadata `json:"transferMetadata,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`

	// user metadata
	UserMetadata string `json:"userMetadata,omitempty"`

	// The visibility of the cloudspace to users
	Visibility *V1ResourceVisibility `json:"visibility,omitempty"`

	// web path
	WebPath string `json:"webPath,omitempty"`
}

V1CloudSpace v1 cloud space

swagger:model v1CloudSpace

func (*V1CloudSpace) ContextValidate ¶

func (m *V1CloudSpace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space based on the context it is used

func (*V1CloudSpace) MarshalBinary ¶

func (m *V1CloudSpace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpace) UnmarshalBinary ¶

func (m *V1CloudSpace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpace) Validate ¶

func (m *V1CloudSpace) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space

type V1CloudSpaceApp ¶

type V1CloudSpaceApp struct {

	AuthorLogo string `json:"authorLogo,omitempty"`

	// authors
	Authors []string `json:"authors"`

	// categories
	Categories []string `json:"categories"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// entrypoint file
	EntrypointFile string `json:"entrypointFile,omitempty"`

	// git Url
	GitURL string `json:"gitUrl,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// license
	License string `json:"license,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// owner Id
	OwnerID string `json:"ownerId,omitempty"`

	// owner type
	OwnerType *V1CloudSpaceAppOwnerType `json:"ownerType,omitempty"`

	// short description
	ShortDescription string `json:"shortDescription,omitempty"`

	// source Url
	SourceURL string `json:"sourceUrl,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// thumbnail
	Thumbnail string `json:"thumbnail,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// version
	Version string `json:"version,omitempty"`

	// visible to org ids
	VisibleToOrgIds []string `json:"visibleToOrgIds"`

	// visible to project ids
	VisibleToProjectIds []string `json:"visibleToProjectIds"`

	// visible to user ids
	VisibleToUserIds []string `json:"visibleToUserIds"`
}

V1CloudSpaceApp v1 cloud space app

swagger:model v1CloudSpaceApp

func (*V1CloudSpaceApp) ContextValidate ¶

func (m *V1CloudSpaceApp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space app based on the context it is used

func (*V1CloudSpaceApp) MarshalBinary ¶

func (m *V1CloudSpaceApp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceApp) UnmarshalBinary ¶

func (m *V1CloudSpaceApp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceApp) Validate ¶

func (m *V1CloudSpaceApp) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space app

type V1CloudSpaceAppAction ¶

type V1CloudSpaceAppAction struct {

	// content
	Content string `json:"content,omitempty"`

	// type
	Type *V1CloudSpaceAppActionType `json:"type,omitempty"`
}

V1CloudSpaceAppAction DEPRECATED: Unused, kept to ensure that lightning_cloud has backwards compatibility with old framework versions

swagger:model v1CloudSpaceAppAction

func (*V1CloudSpaceAppAction) ContextValidate ¶

func (m *V1CloudSpaceAppAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space app action based on the context it is used

func (*V1CloudSpaceAppAction) MarshalBinary ¶

func (m *V1CloudSpaceAppAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceAppAction) UnmarshalBinary ¶

func (m *V1CloudSpaceAppAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceAppAction) Validate ¶

func (m *V1CloudSpaceAppAction) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space app action

type V1CloudSpaceAppActionType ¶

type V1CloudSpaceAppActionType string

V1CloudSpaceAppActionType DEPRECATED: Unused, kept to ensure that lightning_cloud has backwards compatibility with old framework versions

swagger:model v1CloudSpaceAppActionType

const (

	// V1CloudSpaceAppActionTypeTOAST captures enum value "TOAST"
	V1CloudSpaceAppActionTypeTOAST V1CloudSpaceAppActionType = "TOAST"

	// V1CloudSpaceAppActionTypeNAVIGATETO captures enum value "NAVIGATE_TO"
	V1CloudSpaceAppActionTypeNAVIGATETO V1CloudSpaceAppActionType = "NAVIGATE_TO"
)

func (V1CloudSpaceAppActionType) ContextValidate ¶

func (m V1CloudSpaceAppActionType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space app action type based on context it is used

func (V1CloudSpaceAppActionType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1CloudSpaceAppActionType.

func (V1CloudSpaceAppActionType) Validate ¶

func (m V1CloudSpaceAppActionType) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space app action type

type V1CloudSpaceAppOwnerType ¶

type V1CloudSpaceAppOwnerType string

V1CloudSpaceAppOwnerType v1 cloud space app owner type

swagger:model v1CloudSpaceAppOwnerType

const (

	// V1CloudSpaceAppOwnerTypeCLOUDSPACEAPPOWNERTYPEUNDEFINED captures enum value "CLOUD_SPACE_APP_OWNER_TYPE_UNDEFINED"
	V1CloudSpaceAppOwnerTypeCLOUDSPACEAPPOWNERTYPEUNDEFINED V1CloudSpaceAppOwnerType = "CLOUD_SPACE_APP_OWNER_TYPE_UNDEFINED"

	// V1CloudSpaceAppOwnerTypeCLOUDSPACEAPPOWNERTYPEUSER captures enum value "CLOUD_SPACE_APP_OWNER_TYPE_USER"
	V1CloudSpaceAppOwnerTypeCLOUDSPACEAPPOWNERTYPEUSER V1CloudSpaceAppOwnerType = "CLOUD_SPACE_APP_OWNER_TYPE_USER"

	// V1CloudSpaceAppOwnerTypeCLOUDSPACEAPPOWNERTYPEORG captures enum value "CLOUD_SPACE_APP_OWNER_TYPE_ORG"
	V1CloudSpaceAppOwnerTypeCLOUDSPACEAPPOWNERTYPEORG V1CloudSpaceAppOwnerType = "CLOUD_SPACE_APP_OWNER_TYPE_ORG"

	// V1CloudSpaceAppOwnerTypeCLOUDSPACEAPPOWNERTYPEPROJECT captures enum value "CLOUD_SPACE_APP_OWNER_TYPE_PROJECT"
	V1CloudSpaceAppOwnerTypeCLOUDSPACEAPPOWNERTYPEPROJECT V1CloudSpaceAppOwnerType = "CLOUD_SPACE_APP_OWNER_TYPE_PROJECT"
)

func (V1CloudSpaceAppOwnerType) ContextValidate ¶

func (m V1CloudSpaceAppOwnerType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space app owner type based on context it is used

func (V1CloudSpaceAppOwnerType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1CloudSpaceAppOwnerType.

func (V1CloudSpaceAppOwnerType) Validate ¶

func (m V1CloudSpaceAppOwnerType) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space app owner type

type V1CloudSpaceCodeVersion ¶

type V1CloudSpaceCodeVersion struct {

	// cloud space Id
	CloudSpaceID string `json:"cloudSpaceId,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// number of files
	NumberOfFiles string `json:"numberOfFiles,omitempty"`

	// status
	Status *V1CloudSpaceCodeVersionStatus `json:"status,omitempty"`

	// time in seconds syncing is estimated to take
	SyncDuration string `json:"syncDuration,omitempty"`

	// sync percentage
	SyncPercentage string `json:"syncPercentage,omitempty"`

	// total size bytes
	TotalSizeBytes string `json:"totalSizeBytes,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1CloudSpaceCodeVersion v1 cloud space code version

swagger:model v1CloudSpaceCodeVersion

func (*V1CloudSpaceCodeVersion) ContextValidate ¶

func (m *V1CloudSpaceCodeVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space code version based on the context it is used

func (*V1CloudSpaceCodeVersion) MarshalBinary ¶

func (m *V1CloudSpaceCodeVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceCodeVersion) UnmarshalBinary ¶

func (m *V1CloudSpaceCodeVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceCodeVersion) Validate ¶

func (m *V1CloudSpaceCodeVersion) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space code version

type V1CloudSpaceCodeVersionStatus ¶

type V1CloudSpaceCodeVersionStatus string

V1CloudSpaceCodeVersionStatus v1 cloud space code version status

swagger:model v1CloudSpaceCodeVersionStatus

const (

	// V1CloudSpaceCodeVersionStatusCLOUDSPACECODEVERSIONSTATUSUNSPECIFIED captures enum value "CLOUD_SPACE_CODE_VERSION_STATUS_UNSPECIFIED"
	V1CloudSpaceCodeVersionStatusCLOUDSPACECODEVERSIONSTATUSUNSPECIFIED V1CloudSpaceCodeVersionStatus = "CLOUD_SPACE_CODE_VERSION_STATUS_UNSPECIFIED"

	// V1CloudSpaceCodeVersionStatusCLOUDSPACECODEVERSIONSTATUSSYNCING captures enum value "CLOUD_SPACE_CODE_VERSION_STATUS_SYNCING"
	V1CloudSpaceCodeVersionStatusCLOUDSPACECODEVERSIONSTATUSSYNCING V1CloudSpaceCodeVersionStatus = "CLOUD_SPACE_CODE_VERSION_STATUS_SYNCING"

	// V1CloudSpaceCodeVersionStatusCLOUDSPACECODEVERSIONSTATUSREADY captures enum value "CLOUD_SPACE_CODE_VERSION_STATUS_READY"
	V1CloudSpaceCodeVersionStatusCLOUDSPACECODEVERSIONSTATUSREADY V1CloudSpaceCodeVersionStatus = "CLOUD_SPACE_CODE_VERSION_STATUS_READY"

	// V1CloudSpaceCodeVersionStatusCLOUDSPACECODEVERSIONSTATUSERROR captures enum value "CLOUD_SPACE_CODE_VERSION_STATUS_ERROR"
	V1CloudSpaceCodeVersionStatusCLOUDSPACECODEVERSIONSTATUSERROR V1CloudSpaceCodeVersionStatus = "CLOUD_SPACE_CODE_VERSION_STATUS_ERROR"
)

func (V1CloudSpaceCodeVersionStatus) ContextValidate ¶

func (m V1CloudSpaceCodeVersionStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space code version status based on context it is used

func (V1CloudSpaceCodeVersionStatus) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1CloudSpaceCodeVersionStatus.

func (V1CloudSpaceCodeVersionStatus) Validate ¶

func (m V1CloudSpaceCodeVersionStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space code version status

type V1CloudSpaceColdStartMetrics ¶

type V1CloudSpaceColdStartMetrics struct {

	// cloudspace Id
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// cloudspace instance Id
	CloudspaceInstanceID string `json:"cloudspaceInstanceId,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// container started at
	// Format: date-time
	ContainerStartedAt strfmt.DateTime `json:"containerStartedAt,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// deleted at
	// Format: date-time
	DeletedAt strfmt.DateTime `json:"deletedAt,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// docker availability ended at
	// Format: date-time
	DockerAvailabilityEndedAt strfmt.DateTime `json:"dockerAvailabilityEndedAt,omitempty"`

	// docker availability started at
	// Format: date-time
	DockerAvailabilityStartedAt strfmt.DateTime `json:"dockerAvailabilityStartedAt,omitempty"`

	// image pulling ended at
	// Format: date-time
	ImagePullingEndedAt strfmt.DateTime `json:"imagePullingEndedAt,omitempty"`

	// image pulling started at
	// Format: date-time
	ImagePullingStartedAt strfmt.DateTime `json:"imagePullingStartedAt,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// is studio deleted
	IsStudioDeleted bool `json:"isStudioDeleted,omitempty"`

	// overprovisioned
	Overprovisioned bool `json:"overprovisioned,omitempty"`

	// progress bar ended at
	// Format: date-time
	ProgressBarEndedAt strfmt.DateTime `json:"progressBarEndedAt,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// resources
	Resources *V1Resources `json:"resources,omitempty"`

	// spot
	Spot bool `json:"spot,omitempty"`

	// started at
	// Format: date-time
	StartedAt strfmt.DateTime `json:"startedAt,omitempty"`

	// stop at
	// Format: date-time
	StopAt strfmt.DateTime `json:"stopAt,omitempty"`

	// stopped at
	// Format: date-time
	StoppedAt strfmt.DateTime `json:"stoppedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1CloudSpaceColdStartMetrics v1 cloud space cold start metrics

swagger:model v1CloudSpaceColdStartMetrics

func (*V1CloudSpaceColdStartMetrics) ContextValidate ¶

func (m *V1CloudSpaceColdStartMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space cold start metrics based on the context it is used

func (*V1CloudSpaceColdStartMetrics) MarshalBinary ¶

func (m *V1CloudSpaceColdStartMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceColdStartMetrics) UnmarshalBinary ¶

func (m *V1CloudSpaceColdStartMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceColdStartMetrics) Validate ¶

func (m *V1CloudSpaceColdStartMetrics) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space cold start metrics

type V1CloudSpaceColdStartMetricsStats ¶

type V1CloudSpaceColdStartMetricsStats struct {

	// cpu count
	CPUCount int64 `json:"cpuCount,omitempty"`

	// env setup
	EnvSetup map[string]float32 `json:"envSetup,omitempty"`

	// gpu count
	GpuCount int64 `json:"gpuCount,omitempty"`

	// gpu type
	GpuType string `json:"gpuType,omitempty"`

	// initialize env
	InitializeEnv map[string]float32 `json:"initializeEnv,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// machine startup
	MachineStartup map[string]float32 `json:"machineStartup,omitempty"`

	// median env setup
	MedianEnvSetup float32 `json:"medianEnvSetup,omitempty"`

	// median initialize env
	MedianInitializeEnv float32 `json:"medianInitializeEnv,omitempty"`

	// median machine startup
	MedianMachineStartup float32 `json:"medianMachineStartup,omitempty"`

	// median total
	MedianTotal float32 `json:"medianTotal,omitempty"`

	// Deprecated: use the per-stage percentile maps below (keys like "p50", "p85").
	MedianWaitForMachine float32 `json:"medianWaitForMachine,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// total
	Total map[string]float32 `json:"total,omitempty"`

	// wait for machine
	WaitForMachine map[string]float32 `json:"waitForMachine,omitempty"`
}

V1CloudSpaceColdStartMetricsStats v1 cloud space cold start metrics stats

swagger:model v1CloudSpaceColdStartMetricsStats

func (*V1CloudSpaceColdStartMetricsStats) ContextValidate ¶

func (m *V1CloudSpaceColdStartMetricsStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space cold start metrics stats based on context it is used

func (*V1CloudSpaceColdStartMetricsStats) MarshalBinary ¶

func (m *V1CloudSpaceColdStartMetricsStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceColdStartMetricsStats) UnmarshalBinary ¶

func (m *V1CloudSpaceColdStartMetricsStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceColdStartMetricsStats) Validate ¶

Validate validates this v1 cloud space cold start metrics stats

type V1CloudSpaceEngagementResponse ¶

type V1CloudSpaceEngagementResponse any

V1CloudSpaceEngagementResponse v1 cloud space engagement response

swagger:model v1CloudSpaceEngagementResponse

type V1CloudSpaceEnvironmentConfig ¶

type V1CloudSpaceEnvironmentConfig struct {

	// environment type
	EnvironmentType *V1CloudSpaceEnvironmentType `json:"environmentType,omitempty"`

	// Specialized view for the CloudSpace, i.e. Streamlit, etc.
	SpecializedView *V1CloudSpaceSpecializedView `json:"specializedView,omitempty"`
}

V1CloudSpaceEnvironmentConfig v1 cloud space environment config

swagger:model v1CloudSpaceEnvironmentConfig

func (*V1CloudSpaceEnvironmentConfig) ContextValidate ¶

func (m *V1CloudSpaceEnvironmentConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space environment config based on the context it is used

func (*V1CloudSpaceEnvironmentConfig) MarshalBinary ¶

func (m *V1CloudSpaceEnvironmentConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceEnvironmentConfig) UnmarshalBinary ¶

func (m *V1CloudSpaceEnvironmentConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceEnvironmentConfig) Validate ¶

func (m *V1CloudSpaceEnvironmentConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space environment config

type V1CloudSpaceEnvironmentType ¶

type V1CloudSpaceEnvironmentType string

V1CloudSpaceEnvironmentType v1 cloud space environment type

swagger:model v1CloudSpaceEnvironmentType

const (

	// V1CloudSpaceEnvironmentTypeCLOUDSPACEENVIRONMENTTYPEUNSPECIFIED captures enum value "CLOUD_SPACE_ENVIRONMENT_TYPE_UNSPECIFIED"
	V1CloudSpaceEnvironmentTypeCLOUDSPACEENVIRONMENTTYPEUNSPECIFIED V1CloudSpaceEnvironmentType = "CLOUD_SPACE_ENVIRONMENT_TYPE_UNSPECIFIED"

	// V1CloudSpaceEnvironmentTypeCLOUDSPACEENVIRONMENTTYPEDEFAULT captures enum value "CLOUD_SPACE_ENVIRONMENT_TYPE_DEFAULT"
	V1CloudSpaceEnvironmentTypeCLOUDSPACEENVIRONMENTTYPEDEFAULT V1CloudSpaceEnvironmentType = "CLOUD_SPACE_ENVIRONMENT_TYPE_DEFAULT"

	// V1CloudSpaceEnvironmentTypeCLOUDSPACEENVIRONMENTTYPEBLANK captures enum value "CLOUD_SPACE_ENVIRONMENT_TYPE_BLANK"
	V1CloudSpaceEnvironmentTypeCLOUDSPACEENVIRONMENTTYPEBLANK V1CloudSpaceEnvironmentType = "CLOUD_SPACE_ENVIRONMENT_TYPE_BLANK"

	// V1CloudSpaceEnvironmentTypeCLOUDSPACEENVIRONMENTTYPEPYTHONEMPTY captures enum value "CLOUD_SPACE_ENVIRONMENT_TYPE_PYTHON_EMPTY"
	V1CloudSpaceEnvironmentTypeCLOUDSPACEENVIRONMENTTYPEPYTHONEMPTY V1CloudSpaceEnvironmentType = "CLOUD_SPACE_ENVIRONMENT_TYPE_PYTHON_EMPTY"

	// V1CloudSpaceEnvironmentTypeCLOUDSPACEENVIRONMENTTYPECOMFYUI captures enum value "CLOUD_SPACE_ENVIRONMENT_TYPE_COMFYUI"
	V1CloudSpaceEnvironmentTypeCLOUDSPACEENVIRONMENTTYPECOMFYUI V1CloudSpaceEnvironmentType = "CLOUD_SPACE_ENVIRONMENT_TYPE_COMFYUI"
)

func (V1CloudSpaceEnvironmentType) ContextValidate ¶

func (m V1CloudSpaceEnvironmentType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space environment type based on context it is used

func (V1CloudSpaceEnvironmentType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1CloudSpaceEnvironmentType.

func (V1CloudSpaceEnvironmentType) Validate ¶

func (m V1CloudSpaceEnvironmentType) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space environment type

type V1CloudSpaceInstanceCollabStatus ¶

type V1CloudSpaceInstanceCollabStatus struct {

	// edit request queue user ids
	EditRequestQueueUserIds []string `json:"editRequestQueueUserIds"`

	// editor user Id
	EditorUserID string `json:"editorUserId,omitempty"`

	// is live
	IsLive bool `json:"isLive,omitempty"`

	// viewer user ids
	ViewerUserIds []string `json:"viewerUserIds"`
}

V1CloudSpaceInstanceCollabStatus v1 cloud space instance collab status

swagger:model v1CloudSpaceInstanceCollabStatus

func (*V1CloudSpaceInstanceCollabStatus) ContextValidate ¶

func (m *V1CloudSpaceInstanceCollabStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space instance collab status based on context it is used

func (*V1CloudSpaceInstanceCollabStatus) MarshalBinary ¶

func (m *V1CloudSpaceInstanceCollabStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceInstanceCollabStatus) UnmarshalBinary ¶

func (m *V1CloudSpaceInstanceCollabStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceInstanceCollabStatus) Validate ¶

Validate validates this v1 cloud space instance collab status

type V1CloudSpaceInstanceConfig ¶

type V1CloudSpaceInstanceConfig struct {

	// compute config
	ComputeConfig *V1UserRequestedComputeConfig `json:"computeConfig,omitempty"`

	// data connection mounts
	DataConnectionMounts []*V1DataConnectionMount `json:"dataConnectionMounts"`

	// disable auto shutdown
	DisableAutoShutdown bool `json:"disableAutoShutdown,omitempty"`

	// ide
	Ide string `json:"ide,omitempty"`

	// idle shutdown seconds
	IdleShutdownSeconds int32 `json:"idleShutdownSeconds,omitempty"`

	// publish with compute name
	PublishWithComputeName string `json:"publishWithComputeName,omitempty"`

	// tutorial shown
	TutorialShown bool `json:"tutorialShown,omitempty"`
}

V1CloudSpaceInstanceConfig v1 cloud space instance config

swagger:model v1CloudSpaceInstanceConfig

func (*V1CloudSpaceInstanceConfig) ContextValidate ¶

func (m *V1CloudSpaceInstanceConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space instance config based on the context it is used

func (*V1CloudSpaceInstanceConfig) MarshalBinary ¶

func (m *V1CloudSpaceInstanceConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceInstanceConfig) UnmarshalBinary ¶

func (m *V1CloudSpaceInstanceConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceInstanceConfig) Validate ¶

func (m *V1CloudSpaceInstanceConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space instance config

type V1CloudSpaceInstanceStageProgress ¶

type V1CloudSpaceInstanceStageProgress struct {

	// completed at
	// Format: date-time
	CompletedAt strfmt.DateTime `json:"completedAt,omitempty"`

	// completed bytes
	CompletedBytes string `json:"completedBytes,omitempty"`

	// completed items
	CompletedItems string `json:"completedItems,omitempty"`

	// RESTORING_CONDA | RESTORING_ENVIRONMENT | INSTALLING_APT_PACKAGES
	Stage string `json:"stage,omitempty"`

	// started at
	// Format: date-time
	StartedAt strfmt.DateTime `json:"startedAt,omitempty"`

	// state
	State *V1CloudSpaceInstanceStartupStageState `json:"state,omitempty"`

	// total bytes
	TotalBytes string `json:"totalBytes,omitempty"`

	// total items
	TotalItems string `json:"totalItems,omitempty"`
}

V1CloudSpaceInstanceStageProgress v1 cloud space instance stage progress

swagger:model v1CloudSpaceInstanceStageProgress

func (*V1CloudSpaceInstanceStageProgress) ContextValidate ¶

func (m *V1CloudSpaceInstanceStageProgress) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space instance stage progress based on the context it is used

func (*V1CloudSpaceInstanceStageProgress) MarshalBinary ¶

func (m *V1CloudSpaceInstanceStageProgress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceInstanceStageProgress) UnmarshalBinary ¶

func (m *V1CloudSpaceInstanceStageProgress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceInstanceStageProgress) Validate ¶

Validate validates this v1 cloud space instance stage progress

type V1CloudSpaceInstanceStartupStageState ¶

type V1CloudSpaceInstanceStartupStageState string

V1CloudSpaceInstanceStartupStageState Duplicated from external CloudSpaceStartupStageState so grid.v1 doesnt import public API.

swagger:model v1CloudSpaceInstanceStartupStageState

const (

	// V1CloudSpaceInstanceStartupStageStateCLOUDSPACEINSTANCESTARTUPSTAGESTATEUNSPECIFIED captures enum value "CLOUD_SPACE_INSTANCE_STARTUP_STAGE_STATE_UNSPECIFIED"
	V1CloudSpaceInstanceStartupStageStateCLOUDSPACEINSTANCESTARTUPSTAGESTATEUNSPECIFIED V1CloudSpaceInstanceStartupStageState = "CLOUD_SPACE_INSTANCE_STARTUP_STAGE_STATE_UNSPECIFIED"

	// V1CloudSpaceInstanceStartupStageStateCLOUDSPACEINSTANCESTARTUPSTAGESTATEPENDING captures enum value "CLOUD_SPACE_INSTANCE_STARTUP_STAGE_STATE_PENDING"
	V1CloudSpaceInstanceStartupStageStateCLOUDSPACEINSTANCESTARTUPSTAGESTATEPENDING V1CloudSpaceInstanceStartupStageState = "CLOUD_SPACE_INSTANCE_STARTUP_STAGE_STATE_PENDING"

	// V1CloudSpaceInstanceStartupStageStateCLOUDSPACEINSTANCESTARTUPSTAGESTATEACTIVE captures enum value "CLOUD_SPACE_INSTANCE_STARTUP_STAGE_STATE_ACTIVE"
	V1CloudSpaceInstanceStartupStageStateCLOUDSPACEINSTANCESTARTUPSTAGESTATEACTIVE V1CloudSpaceInstanceStartupStageState = "CLOUD_SPACE_INSTANCE_STARTUP_STAGE_STATE_ACTIVE"

	// V1CloudSpaceInstanceStartupStageStateCLOUDSPACEINSTANCESTARTUPSTAGESTATECOMPLETED captures enum value "CLOUD_SPACE_INSTANCE_STARTUP_STAGE_STATE_COMPLETED"
	V1CloudSpaceInstanceStartupStageStateCLOUDSPACEINSTANCESTARTUPSTAGESTATECOMPLETED V1CloudSpaceInstanceStartupStageState = "CLOUD_SPACE_INSTANCE_STARTUP_STAGE_STATE_COMPLETED"
)

func (V1CloudSpaceInstanceStartupStageState) ContextValidate ¶

ContextValidate validates this v1 cloud space instance startup stage state based on context it is used

func (V1CloudSpaceInstanceStartupStageState) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1CloudSpaceInstanceStartupStageState.

func (V1CloudSpaceInstanceStartupStageState) Validate ¶

Validate validates this v1 cloud space instance startup stage state

type V1CloudSpaceInstanceStartupStatus ¶

type V1CloudSpaceInstanceStartupStatus struct {

	// initial restore at
	// Format: date-time
	InitialRestoreAt strfmt.DateTime `json:"initialRestoreAt,omitempty"`

	// initial restore finished
	InitialRestoreFinished bool `json:"initialRestoreFinished,omitempty"`

	// stage progress
	StageProgress []*V1CloudSpaceInstanceStageProgress `json:"stageProgress"`

	// started at
	// Format: date-time
	StartedAt strfmt.DateTime `json:"startedAt,omitempty"`

	// top up restore at
	// Format: date-time
	TopUpRestoreAt strfmt.DateTime `json:"topUpRestoreAt,omitempty"`

	// top up restore finished
	TopUpRestoreFinished bool `json:"topUpRestoreFinished,omitempty"`
}

V1CloudSpaceInstanceStartupStatus v1 cloud space instance startup status

swagger:model v1CloudSpaceInstanceStartupStatus

func (*V1CloudSpaceInstanceStartupStatus) ContextValidate ¶

func (m *V1CloudSpaceInstanceStartupStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space instance startup status based on the context it is used

func (*V1CloudSpaceInstanceStartupStatus) MarshalBinary ¶

func (m *V1CloudSpaceInstanceStartupStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceInstanceStartupStatus) UnmarshalBinary ¶

func (m *V1CloudSpaceInstanceStartupStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceInstanceStartupStatus) Validate ¶

Validate validates this v1 cloud space instance startup status

type V1CloudSpaceInstanceState ¶

type V1CloudSpaceInstanceState string

V1CloudSpaceInstanceState v1 cloud space instance state

swagger:model v1CloudSpaceInstanceState

const (

	// V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATEUNSPECIFIED captures enum value "CLOUD_SPACE_INSTANCE_STATE_UNSPECIFIED"
	V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATEUNSPECIFIED V1CloudSpaceInstanceState = "CLOUD_SPACE_INSTANCE_STATE_UNSPECIFIED"

	// V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATEPENDING captures enum value "CLOUD_SPACE_INSTANCE_STATE_PENDING"
	V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATEPENDING V1CloudSpaceInstanceState = "CLOUD_SPACE_INSTANCE_STATE_PENDING"

	// V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATEIMAGEBUILDING captures enum value "CLOUD_SPACE_INSTANCE_STATE_IMAGE_BUILDING"
	V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATEIMAGEBUILDING V1CloudSpaceInstanceState = "CLOUD_SPACE_INSTANCE_STATE_IMAGE_BUILDING"

	// V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATERUNNING captures enum value "CLOUD_SPACE_INSTANCE_STATE_RUNNING"
	V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATERUNNING V1CloudSpaceInstanceState = "CLOUD_SPACE_INSTANCE_STATE_RUNNING"

	// V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATEFAILED captures enum value "CLOUD_SPACE_INSTANCE_STATE_FAILED"
	V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATEFAILED V1CloudSpaceInstanceState = "CLOUD_SPACE_INSTANCE_STATE_FAILED"

	// V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATESTOPPED captures enum value "CLOUD_SPACE_INSTANCE_STATE_STOPPED"
	V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATESTOPPED V1CloudSpaceInstanceState = "CLOUD_SPACE_INSTANCE_STATE_STOPPED"

	// V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATEDELETED captures enum value "CLOUD_SPACE_INSTANCE_STATE_DELETED"
	V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATEDELETED V1CloudSpaceInstanceState = "CLOUD_SPACE_INSTANCE_STATE_DELETED"

	// V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATESTOPPING captures enum value "CLOUD_SPACE_INSTANCE_STATE_STOPPING"
	V1CloudSpaceInstanceStateCLOUDSPACEINSTANCESTATESTOPPING V1CloudSpaceInstanceState = "CLOUD_SPACE_INSTANCE_STATE_STOPPING"
)

func (V1CloudSpaceInstanceState) ContextValidate ¶

func (m V1CloudSpaceInstanceState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space instance state based on context it is used

func (V1CloudSpaceInstanceState) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1CloudSpaceInstanceState.

func (V1CloudSpaceInstanceState) Validate ¶

func (m V1CloudSpaceInstanceState) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space instance state

type V1CloudSpaceNamePurpose ¶

type V1CloudSpaceNamePurpose string

V1CloudSpaceNamePurpose v1 cloud space name purpose

swagger:model v1CloudSpaceNamePurpose

const (

	// V1CloudSpaceNamePurposeCLOUDSPACENAMEPURPOSEUNSPECIFIED captures enum value "CLOUD_SPACE_NAME_PURPOSE_UNSPECIFIED"
	V1CloudSpaceNamePurposeCLOUDSPACENAMEPURPOSEUNSPECIFIED V1CloudSpaceNamePurpose = "CLOUD_SPACE_NAME_PURPOSE_UNSPECIFIED"

	// V1CloudSpaceNamePurposeCLOUDSPACENAMEPURPOSECREATE captures enum value "CLOUD_SPACE_NAME_PURPOSE_CREATE"
	V1CloudSpaceNamePurposeCLOUDSPACENAMEPURPOSECREATE V1CloudSpaceNamePurpose = "CLOUD_SPACE_NAME_PURPOSE_CREATE"

	// V1CloudSpaceNamePurposeCLOUDSPACENAMEPURPOSEDUPLICATE captures enum value "CLOUD_SPACE_NAME_PURPOSE_DUPLICATE"
	V1CloudSpaceNamePurposeCLOUDSPACENAMEPURPOSEDUPLICATE V1CloudSpaceNamePurpose = "CLOUD_SPACE_NAME_PURPOSE_DUPLICATE"
)

func (V1CloudSpaceNamePurpose) ContextValidate ¶

func (m V1CloudSpaceNamePurpose) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space name purpose based on context it is used

func (V1CloudSpaceNamePurpose) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1CloudSpaceNamePurpose.

func (V1CloudSpaceNamePurpose) Validate ¶

func (m V1CloudSpaceNamePurpose) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space name purpose

type V1CloudSpaceProjectResponse ¶

type V1CloudSpaceProjectResponse struct {

	// cloudspace
	Cloudspace *V1CloudSpace `json:"cloudspace,omitempty"`

	// project
	Project *V1Project `json:"project,omitempty"`
}

V1CloudSpaceProjectResponse v1 cloud space project response

swagger:model v1CloudSpaceProjectResponse

func (*V1CloudSpaceProjectResponse) ContextValidate ¶

func (m *V1CloudSpaceProjectResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space project response based on the context it is used

func (*V1CloudSpaceProjectResponse) MarshalBinary ¶

func (m *V1CloudSpaceProjectResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceProjectResponse) UnmarshalBinary ¶

func (m *V1CloudSpaceProjectResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceProjectResponse) Validate ¶

func (m *V1CloudSpaceProjectResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space project response

type V1CloudSpacePublication ¶

type V1CloudSpacePublication struct {

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// type
	Type *V1CloudSpacePublicationType `json:"type,omitempty"`
}

V1CloudSpacePublication v1 cloud space publication

swagger:model v1CloudSpacePublication

func (*V1CloudSpacePublication) ContextValidate ¶

func (m *V1CloudSpacePublication) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space publication based on the context it is used

func (*V1CloudSpacePublication) MarshalBinary ¶

func (m *V1CloudSpacePublication) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpacePublication) UnmarshalBinary ¶

func (m *V1CloudSpacePublication) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpacePublication) Validate ¶

func (m *V1CloudSpacePublication) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space publication

type V1CloudSpacePublicationType ¶

type V1CloudSpacePublicationType string

V1CloudSpacePublicationType v1 cloud space publication type

swagger:model v1CloudSpacePublicationType

const (

	// V1CloudSpacePublicationTypeCLOUDSPACEPUBLICATIONTYPEUNDEFINED captures enum value "CLOUD_SPACE_PUBLICATION_TYPE_UNDEFINED"
	V1CloudSpacePublicationTypeCLOUDSPACEPUBLICATIONTYPEUNDEFINED V1CloudSpacePublicationType = "CLOUD_SPACE_PUBLICATION_TYPE_UNDEFINED"

	// V1CloudSpacePublicationTypeCLOUDSPACEPUBLICATIONTYPEGLOBAL captures enum value "CLOUD_SPACE_PUBLICATION_TYPE_GLOBAL"
	V1CloudSpacePublicationTypeCLOUDSPACEPUBLICATIONTYPEGLOBAL V1CloudSpacePublicationType = "CLOUD_SPACE_PUBLICATION_TYPE_GLOBAL"

	// V1CloudSpacePublicationTypeCLOUDSPACEPUBLICATIONTYPEORG captures enum value "CLOUD_SPACE_PUBLICATION_TYPE_ORG"
	V1CloudSpacePublicationTypeCLOUDSPACEPUBLICATIONTYPEORG V1CloudSpacePublicationType = "CLOUD_SPACE_PUBLICATION_TYPE_ORG"
)

func (V1CloudSpacePublicationType) ContextValidate ¶

func (m V1CloudSpacePublicationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space publication type based on context it is used

func (V1CloudSpacePublicationType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1CloudSpacePublicationType.

func (V1CloudSpacePublicationType) Validate ¶

func (m V1CloudSpacePublicationType) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space publication type

type V1CloudSpaceSeedFile ¶

type V1CloudSpaceSeedFile struct {

	// contents
	Contents string `json:"contents,omitempty"`

	// path
	Path string `json:"path,omitempty"`
}

V1CloudSpaceSeedFile v1 cloud space seed file

swagger:model v1CloudSpaceSeedFile

func (*V1CloudSpaceSeedFile) ContextValidate ¶

func (m *V1CloudSpaceSeedFile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space seed file based on context it is used

func (*V1CloudSpaceSeedFile) MarshalBinary ¶

func (m *V1CloudSpaceSeedFile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceSeedFile) UnmarshalBinary ¶

func (m *V1CloudSpaceSeedFile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceSeedFile) Validate ¶

func (m *V1CloudSpaceSeedFile) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space seed file

type V1CloudSpaceSession ¶

type V1CloudSpaceSession struct {

	// command
	Command string `json:"command,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

V1CloudSpaceSession v1 cloud space session

swagger:model v1CloudSpaceSession

func (*V1CloudSpaceSession) ContextValidate ¶

func (m *V1CloudSpaceSession) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space session based on context it is used

func (*V1CloudSpaceSession) MarshalBinary ¶

func (m *V1CloudSpaceSession) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceSession) UnmarshalBinary ¶

func (m *V1CloudSpaceSession) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceSession) Validate ¶

func (m *V1CloudSpaceSession) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space session

type V1CloudSpaceSourceType ¶

type V1CloudSpaceSourceType string

V1CloudSpaceSourceType v1 cloud space source type

swagger:model v1CloudSpaceSourceType

const (

	// V1CloudSpaceSourceTypeCLOUDSPACESOURCEUNSPECIFIED captures enum value "CLOUD_SPACE_SOURCE_UNSPECIFIED"
	V1CloudSpaceSourceTypeCLOUDSPACESOURCEUNSPECIFIED V1CloudSpaceSourceType = "CLOUD_SPACE_SOURCE_UNSPECIFIED"

	// V1CloudSpaceSourceTypeCLOUDSPACESOURCELITSERVE captures enum value "CLOUD_SPACE_SOURCE_LITSERVE"
	V1CloudSpaceSourceTypeCLOUDSPACESOURCELITSERVE V1CloudSpaceSourceType = "CLOUD_SPACE_SOURCE_LITSERVE"
)

func NewV1CloudSpaceSourceType ¶

func NewV1CloudSpaceSourceType(value V1CloudSpaceSourceType) *V1CloudSpaceSourceType

func (V1CloudSpaceSourceType) ContextValidate ¶

func (m V1CloudSpaceSourceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space source type based on context it is used

func (V1CloudSpaceSourceType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1CloudSpaceSourceType.

func (V1CloudSpaceSourceType) Validate ¶

func (m V1CloudSpaceSourceType) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space source type

type V1CloudSpaceSpecializedView ¶

type V1CloudSpaceSpecializedView string

V1CloudSpaceSpecializedView v1 cloud space specialized view

swagger:model v1CloudSpaceSpecializedView

const (

	// V1CloudSpaceSpecializedViewCLOUDSPACESPECIALIZEDVIEWUNSPECIFIED captures enum value "CLOUD_SPACE_SPECIALIZED_VIEW_UNSPECIFIED"
	V1CloudSpaceSpecializedViewCLOUDSPACESPECIALIZEDVIEWUNSPECIFIED V1CloudSpaceSpecializedView = "CLOUD_SPACE_SPECIALIZED_VIEW_UNSPECIFIED"

	// V1CloudSpaceSpecializedViewCLOUDSPACESPECIALIZEDVIEWDEFAULT captures enum value "CLOUD_SPACE_SPECIALIZED_VIEW_DEFAULT"
	V1CloudSpaceSpecializedViewCLOUDSPACESPECIALIZEDVIEWDEFAULT V1CloudSpaceSpecializedView = "CLOUD_SPACE_SPECIALIZED_VIEW_DEFAULT"

	// V1CloudSpaceSpecializedViewCLOUDSPACESPECIALIZEDVIEWSTREAMLIT captures enum value "CLOUD_SPACE_SPECIALIZED_VIEW_STREAMLIT"
	V1CloudSpaceSpecializedViewCLOUDSPACESPECIALIZEDVIEWSTREAMLIT V1CloudSpaceSpecializedView = "CLOUD_SPACE_SPECIALIZED_VIEW_STREAMLIT"

	// V1CloudSpaceSpecializedViewCLOUDSPACESPECIALIZEDVIEWNOTEBOOK captures enum value "CLOUD_SPACE_SPECIALIZED_VIEW_NOTEBOOK"
	V1CloudSpaceSpecializedViewCLOUDSPACESPECIALIZEDVIEWNOTEBOOK V1CloudSpaceSpecializedView = "CLOUD_SPACE_SPECIALIZED_VIEW_NOTEBOOK"

	// V1CloudSpaceSpecializedViewCLOUDSPACESPECIALIZEDVIEWCOMFYUI captures enum value "CLOUD_SPACE_SPECIALIZED_VIEW_COMFYUI"
	V1CloudSpaceSpecializedViewCLOUDSPACESPECIALIZEDVIEWCOMFYUI V1CloudSpaceSpecializedView = "CLOUD_SPACE_SPECIALIZED_VIEW_COMFYUI"

	// V1CloudSpaceSpecializedViewCLOUDSPACESPECIALIZEDVIEWOPENCLAW captures enum value "CLOUD_SPACE_SPECIALIZED_VIEW_OPENCLAW"
	V1CloudSpaceSpecializedViewCLOUDSPACESPECIALIZEDVIEWOPENCLAW V1CloudSpaceSpecializedView = "CLOUD_SPACE_SPECIALIZED_VIEW_OPENCLAW"
)

func (V1CloudSpaceSpecializedView) ContextValidate ¶

func (m V1CloudSpaceSpecializedView) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space specialized view based on context it is used

func (V1CloudSpaceSpecializedView) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1CloudSpaceSpecializedView.

func (V1CloudSpaceSpecializedView) Validate ¶

func (m V1CloudSpaceSpecializedView) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space specialized view

type V1CloudSpaceStartupStageState ¶

type V1CloudSpaceStartupStageState string

V1CloudSpaceStartupStageState v1 cloud space startup stage state

swagger:model v1CloudSpaceStartupStageState

const (

	// V1CloudSpaceStartupStageStateCLOUDSPACESTARTUPSTAGESTATEUNSPECIFIED captures enum value "CLOUD_SPACE_STARTUP_STAGE_STATE_UNSPECIFIED"
	V1CloudSpaceStartupStageStateCLOUDSPACESTARTUPSTAGESTATEUNSPECIFIED V1CloudSpaceStartupStageState = "CLOUD_SPACE_STARTUP_STAGE_STATE_UNSPECIFIED"

	// V1CloudSpaceStartupStageStateCLOUDSPACESTARTUPSTAGESTATEPENDING captures enum value "CLOUD_SPACE_STARTUP_STAGE_STATE_PENDING"
	V1CloudSpaceStartupStageStateCLOUDSPACESTARTUPSTAGESTATEPENDING V1CloudSpaceStartupStageState = "CLOUD_SPACE_STARTUP_STAGE_STATE_PENDING"

	// V1CloudSpaceStartupStageStateCLOUDSPACESTARTUPSTAGESTATEACTIVE captures enum value "CLOUD_SPACE_STARTUP_STAGE_STATE_ACTIVE"
	V1CloudSpaceStartupStageStateCLOUDSPACESTARTUPSTAGESTATEACTIVE V1CloudSpaceStartupStageState = "CLOUD_SPACE_STARTUP_STAGE_STATE_ACTIVE"

	// V1CloudSpaceStartupStageStateCLOUDSPACESTARTUPSTAGESTATECOMPLETED captures enum value "CLOUD_SPACE_STARTUP_STAGE_STATE_COMPLETED"
	V1CloudSpaceStartupStageStateCLOUDSPACESTARTUPSTAGESTATECOMPLETED V1CloudSpaceStartupStageState = "CLOUD_SPACE_STARTUP_STAGE_STATE_COMPLETED"
)

func (V1CloudSpaceStartupStageState) ContextValidate ¶

func (m V1CloudSpaceStartupStageState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space startup stage state based on context it is used

func (V1CloudSpaceStartupStageState) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1CloudSpaceStartupStageState.

func (V1CloudSpaceStartupStageState) Validate ¶

func (m V1CloudSpaceStartupStageState) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space startup stage state

type V1CloudSpaceStartupStageStatus ¶

type V1CloudSpaceStartupStageStatus struct {

	// completed at
	// Format: date-time
	CompletedAt strfmt.DateTime `json:"completedAt,omitempty"`

	// completed bytes
	CompletedBytes string `json:"completedBytes,omitempty"`

	// completed items
	CompletedItems string `json:"completedItems,omitempty"`

	// estimated seconds
	EstimatedSeconds string `json:"estimatedSeconds,omitempty"`

	// Empty for top-level stages. SETTING_UP_STUDIO for nested conda/env/apt children.
	ParentStage string `json:"parentStage,omitempty"`

	// stage
	Stage string `json:"stage,omitempty"`

	// started at
	// Format: date-time
	StartedAt strfmt.DateTime `json:"startedAt,omitempty"`

	// state
	State *V1CloudSpaceStartupStageState `json:"state,omitempty"`

	// total bytes
	TotalBytes string `json:"totalBytes,omitempty"`

	// total items
	TotalItems string `json:"totalItems,omitempty"`
}

V1CloudSpaceStartupStageStatus v1 cloud space startup stage status

swagger:model v1CloudSpaceStartupStageStatus

func (*V1CloudSpaceStartupStageStatus) ContextValidate ¶

func (m *V1CloudSpaceStartupStageStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space startup stage status based on the context it is used

func (*V1CloudSpaceStartupStageStatus) MarshalBinary ¶

func (m *V1CloudSpaceStartupStageStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceStartupStageStatus) UnmarshalBinary ¶

func (m *V1CloudSpaceStartupStageStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceStartupStageStatus) Validate ¶

func (m *V1CloudSpaceStartupStageStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space startup stage status

type V1CloudSpaceState ¶

type V1CloudSpaceState string

V1CloudSpaceState v1 cloud space state

swagger:model v1CloudSpaceState

const (

	// V1CloudSpaceStateCLOUDSPACESTATEUNSPECIFIED captures enum value "CLOUD_SPACE_STATE_UNSPECIFIED"
	V1CloudSpaceStateCLOUDSPACESTATEUNSPECIFIED V1CloudSpaceState = "CLOUD_SPACE_STATE_UNSPECIFIED"

	// V1CloudSpaceStateCLOUDSPACESTATEINITIALSYNCINPROGRESS captures enum value "CLOUD_SPACE_STATE_INITIAL_SYNC_IN_PROGRESS"
	V1CloudSpaceStateCLOUDSPACESTATEINITIALSYNCINPROGRESS V1CloudSpaceState = "CLOUD_SPACE_STATE_INITIAL_SYNC_IN_PROGRESS"

	// V1CloudSpaceStateCLOUDSPACESTATEREADY captures enum value "CLOUD_SPACE_STATE_READY"
	V1CloudSpaceStateCLOUDSPACESTATEREADY V1CloudSpaceState = "CLOUD_SPACE_STATE_READY"

	// V1CloudSpaceStateCLOUDSPACESTATEDELETED captures enum value "CLOUD_SPACE_STATE_DELETED"
	V1CloudSpaceStateCLOUDSPACESTATEDELETED V1CloudSpaceState = "CLOUD_SPACE_STATE_DELETED"

	// V1CloudSpaceStateCLOUDSPACESTATETRANSFERRING captures enum value "CLOUD_SPACE_STATE_TRANSFERRING"
	V1CloudSpaceStateCLOUDSPACESTATETRANSFERRING V1CloudSpaceState = "CLOUD_SPACE_STATE_TRANSFERRING"
)

func NewV1CloudSpaceState ¶

func NewV1CloudSpaceState(value V1CloudSpaceState) *V1CloudSpaceState

func (V1CloudSpaceState) ContextValidate ¶

func (m V1CloudSpaceState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloud space state based on context it is used

func (V1CloudSpaceState) Pointer ¶

func (m V1CloudSpaceState) Pointer() *V1CloudSpaceState

Pointer returns a pointer to a freshly-allocated V1CloudSpaceState.

func (V1CloudSpaceState) Validate ¶

func (m V1CloudSpaceState) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space state

type V1CloudSpaceTransferMetadata ¶

type V1CloudSpaceTransferMetadata struct {

	// the expected completion time of the transfer
	// Format: date-time
	ExpectedCompletionTime strfmt.DateTime `json:"expectedCompletionTime,omitempty"`

	// the time when the initial transfer completed
	// Format: date-time
	InitialTransferStartedAt strfmt.DateTime `json:"initialTransferStartedAt,omitempty"`

	// the compute config requested during the transfer
	RequestedCodeConfig *V1UpdateCloudSpaceInstanceConfigRequest `json:"requestedCodeConfig,omitempty"`

	// The cluster ID of the source cluster
	SourceClusterID string `json:"sourceClusterId,omitempty"`

	// the time when the source files deletion started
	// Format: date-time
	SourceDeletionStartedAt strfmt.DateTime `json:"sourceDeletionStartedAt,omitempty"`

	// if true, the cloudspace instances will be turned on after the transfer is complete
	StartAfterTransfer bool `json:"startAfterTransfer,omitempty"`

	// The cloud provider of the target cluster
	TargetCloudProvider string `json:"targetCloudProvider,omitempty"`

	// The cluster ID of the target cluster
	TargetClusterID string `json:"targetClusterId,omitempty"`

	// the time when the top-up transfer started
	// Format: date-time
	TopUpTransferStartedAt strfmt.DateTime `json:"topUpTransferStartedAt,omitempty"`
}

V1CloudSpaceTransferMetadata v1 cloud space transfer metadata

swagger:model v1CloudSpaceTransferMetadata

func (*V1CloudSpaceTransferMetadata) ContextValidate ¶

func (m *V1CloudSpaceTransferMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space transfer metadata based on the context it is used

func (*V1CloudSpaceTransferMetadata) MarshalBinary ¶

func (m *V1CloudSpaceTransferMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceTransferMetadata) UnmarshalBinary ¶

func (m *V1CloudSpaceTransferMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceTransferMetadata) Validate ¶

func (m *V1CloudSpaceTransferMetadata) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space transfer metadata

type V1CloudSpaceVersion ¶

type V1CloudSpaceVersion struct {

	// about page content
	AboutPageContent string `json:"aboutPageContent,omitempty"`

	// about page Id
	AboutPageID string `json:"aboutPageId,omitempty"`

	// cloud space Id
	CloudSpaceID string `json:"cloudSpaceId,omitempty"`

	// code Url
	CodeURL string `json:"codeUrl,omitempty"`

	// code version
	CodeVersion *V1CloudSpaceCodeVersion `json:"codeVersion,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// creating a draft skips creating a code version
	// there can be only one draft per cloud_space
	// creating the second draft will error
	Draft bool `json:"draft,omitempty"`

	// globally visible
	GloballyVisible bool `json:"globallyVisible,omitempty"`

	// hide files
	HideFiles bool `json:"hideFiles,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// license
	License string `json:"license,omitempty"`

	// operating cost
	OperatingCost string `json:"operatingCost,omitempty"`

	// paper authors
	PaperAuthors string `json:"paperAuthors,omitempty"`

	// paper org
	PaperOrg string `json:"paperOrg,omitempty"`

	// paper org avatar Url
	PaperOrgAvatarURL string `json:"paperOrgAvatarUrl,omitempty"`

	// paper Url
	PaperURL string `json:"paperUrl,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// unpublished
	Unpublished bool `json:"unpublished,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`

	// version name
	VersionName string `json:"versionName,omitempty"`
}

V1CloudSpaceVersion v1 cloud space version

swagger:model v1CloudSpaceVersion

func (*V1CloudSpaceVersion) ContextValidate ¶

func (m *V1CloudSpaceVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space version based on the context it is used

func (*V1CloudSpaceVersion) MarshalBinary ¶

func (m *V1CloudSpaceVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceVersion) UnmarshalBinary ¶

func (m *V1CloudSpaceVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceVersion) Validate ¶

func (m *V1CloudSpaceVersion) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space version

type V1CloudSpaceVersionPublication ¶

type V1CloudSpaceVersionPublication struct {

	// cloud space version Id
	CloudSpaceVersionID string `json:"cloudSpaceVersionId,omitempty"`

	// featured
	Featured bool `json:"featured,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// type
	Type *V1CloudSpacePublicationType `json:"type,omitempty"`
}

V1CloudSpaceVersionPublication v1 cloud space version publication

swagger:model v1CloudSpaceVersionPublication

func (*V1CloudSpaceVersionPublication) ContextValidate ¶

func (m *V1CloudSpaceVersionPublication) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cloud space version publication based on the context it is used

func (*V1CloudSpaceVersionPublication) MarshalBinary ¶

func (m *V1CloudSpaceVersionPublication) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudSpaceVersionPublication) UnmarshalBinary ¶

func (m *V1CloudSpaceVersionPublication) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudSpaceVersionPublication) Validate ¶

func (m *V1CloudSpaceVersionPublication) Validate(formats strfmt.Registry) error

Validate validates this v1 cloud space version publication

type V1CloudflareV1 ¶

type V1CloudflareV1 struct {

	// Cloudflare account ID, required by API
	AccountID string `json:"accountId,omitempty"`

	// API token value for authenticating against the general Cloudflare API (https://developers.cloudflare.com/api/),
	// is stored as a secret in the secrets table, this is the secret ID:
	APITokenSecretID string `json:"apiTokenSecretId,omitempty"`

	// Option to just set API token in the spec for testing purposes in local envs:
	APITokenValue string `json:"apiTokenValue,omitempty"`

	// Cluster's bucket secret ID (separate credentials, to be able to use S3-compatible clients)
	BucketCredentialsSecretID string `json:"bucketCredentialsSecretId,omitempty"`

	// Cluster's artifacts (indexes, etc.) stored in this bucket
	BucketName string `json:"bucketName,omitempty"`
}

V1CloudflareV1 v1 cloudflare v1

swagger:model v1CloudflareV1

func (*V1CloudflareV1) ContextValidate ¶

func (m *V1CloudflareV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cloudflare v1 based on context it is used

func (*V1CloudflareV1) MarshalBinary ¶

func (m *V1CloudflareV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CloudflareV1) UnmarshalBinary ¶

func (m *V1CloudflareV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CloudflareV1) Validate ¶

func (m *V1CloudflareV1) Validate(formats strfmt.Registry) error

Validate validates this v1 cloudflare v1

type V1ClusterAccelerator ¶

type V1ClusterAccelerator struct {

	// CPU, GPU
	AcceleratorType string `json:"acceleratorType,omitempty"`

	// To specify if this instance type allowed for Studios/Jobs only, empty means no restrictions
	AllowedResources []string `json:"allowedResources"`

	// How to handle reported wait times of the instance type (e.g. "p50", "p90", "fallback")
	AvailabilityStrategy string `json:"availabilityStrategy,omitempty"`

	// How quick the instance type can be got (estimate)
	AvailableInSeconds string `json:"availableInSeconds,omitempty"`

	// How quick a spot machine can be got for the instance type (estimate)
	AvailableInSecondsSpot string `json:"availableInSecondsSpot,omitempty"`

	// Available zones for this instance type
	AvailableZones []string `json:"availableZones"`

	// Whether this instance type is only available for BYOC clusters
	ByocOnly bool `json:"byocOnly,omitempty"`

	// Whether this instance can only be requested in capacity blocks
	CapacityBlockOnly bool `json:"capacityBlockOnly,omitempty"`

	// Cost to Lightning Cloud users, in credits per hour of the machine as a capacity block
	CapacityBlockPrice float32 `json:"capacityBlockPrice,omitempty"`

	// Available capacity blocks for instance type
	CapacityBlocksAvailable []*V1ClusterCapacityReservation `json:"capacityBlocksAvailable"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// cost
	Cost float32 `json:"cost,omitempty"`

	// Per-region and per on-demand/spot quotas' details list
	DetailedQuotasInfo []*V1AcceleratorQuotaInfo `json:"detailedQuotasInfo"`

	// device card
	DeviceCard string `json:"deviceCard,omitempty"`

	// device info
	DeviceInfo string `json:"deviceInfo,omitempty"`

	// ie A100
	DisplayName string `json:"displayName,omitempty"`

	// DWS cost for this instance type, if DWS is supported
	DwsCost float32 `json:"dwsCost,omitempty"`

	// True if the instance type can be launched via Dynamic Workload Scheduling only
	DwsOnly bool `json:"dwsOnly,omitempty"`

	// Whether this instance type supports DWS (Dynamic Workload Scheduling)
	DwsSupported bool `json:"dwsSupported,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// Instance family. Used to group in UI by GPU types
	Family string `json:"family,omitempty"`

	// Whether the accelerator is using all the resources of the instance type
	Full bool `json:"full,omitempty"`

	// ie p4d.24xlarge
	InstanceID string `json:"instanceId,omitempty"`

	// Whether this instance type is a custom instance type (specific to this cluster, not our general instance types)
	IsCustom bool `json:"isCustom,omitempty"`

	// is tier restricted
	IsTierRestricted bool `json:"isTierRestricted,omitempty"`

	// Whether this instance type is offered as a first-party interruptible instance from Lightning AI
	LightningInterruptible bool `json:"lightningInterruptible,omitempty"`

	// Whether the local disk is included with the instance
	LocalDiskIncluded bool `json:"localDiskIncluded,omitempty"`

	// The size of the SSD, HDD and NVME
	LocalDiskSize string `json:"localDiskSize,omitempty"`

	// Whether the instance contains an SSD, HDD or NVME
	LocalDiskSupported bool `json:"localDiskSupported,omitempty"`

	// Number of local disks to specify in a machine create request (if cloud provider requires the specific number)
	LocalDisksCount string `json:"localDisksCount,omitempty"`

	// Largest availability of quota in all regions
	MaxAvailableQuota string `json:"maxAvailableQuota,omitempty"`

	// Prevents users from requesting instance as on-demand instance
	NonOndemand bool `json:"nonOndemand,omitempty"`

	// Prevents users from requesting instance as spot instance
	NonSpot bool `json:"nonSpot,omitempty"`

	// Promo pricing display fields. Populated only when an active GPU promo campaign
	// matches this SKU (provider/region/machine_type). `cost`, `spot_price`, etc.
	// already reflect the EFFECTIVE (promo) rate; these fields surface the original
	// catalog rate and campaign metadata so the UI can render strikethrough + badge.
	//
	// Catalog on-demand credits/hour (for strikethrough)
	OriginalCost float32 `json:"originalCost,omitempty"`

	// Catalog spot credits/hour (for strikethrough)
	OriginalSpotPrice float32 `json:"originalSpotPrice,omitempty"`

	// Whether this instance type is out of capacity on the cluster
	OutOfCapacity bool `json:"outOfCapacity,omitempty"`

	// Whether the instance can only be created by partitioning, if false it can be allocated on its own
	PartitionOnly bool `json:"partitionOnly,omitempty"`

	// This accelerator type can be created by partitioning the following type of instance
	PartitionableParents []string `json:"partitionableParents"`

	// Whether this instance type supports persistent disks
	PersistentDiskSupported bool `json:"persistentDiskSupported,omitempty"`

	// Campaign label / end time; nil when no promo applies
	Promo *V1PromoOverlay `json:"promo,omitempty"`

	// Cloud provider name as string, e.g. 'aws', 'gcp', 'vultr' - this avoids us matching on the FE
	Provider *V1CloudProvider `json:"provider,omitempty"`

	// Quota last checking time
	// Format: date-time
	QuotaCheckedAt strfmt.DateTime `json:"quotaCheckedAt,omitempty"`

	// Quota code to retrieve it from cloud provider API
	QuotaCode string `json:"quotaCode,omitempty"`

	// Name of the quota (for showing on UI purposes)
	QuotaName string `json:"quotaName,omitempty"`

	// An exact quota page URL where a user can request the quota increase
	QuotaPageURL string `json:"quotaPageUrl,omitempty"`

	// Quota service code to get info from cloud provider API (EC2 for AWS)
	QuotaServiceCode string `json:"quotaServiceCode,omitempty"`

	// Last utilization value got for this quota
	QuotaUtilization string `json:"quotaUtilization,omitempty"`

	// Quota value for this instance type
	QuotaValue string `json:"quotaValue,omitempty"`

	// Whether this instance can be reserved using the Capacity Block Reservation system
	Reservable bool `json:"reservable,omitempty"`

	// Zones where this instance type is available for capacity block reservation
	ReservationAvailableZones []string `json:"reservationAvailableZones"`

	// quota code for reservation of this instance type if exists
	ReservationQuotaCode string `json:"reservationQuotaCode,omitempty"`

	// quota name for reservation of this instance type if exists
	ReservationQuotaName string `json:"reservationQuotaName,omitempty"`

	// URL for the quota page for capacity block reservations
	ReservationQuotaPageURL string `json:"reservationQuotaPageUrl,omitempty"`

	// resources
	Resources *V1Resources `json:"resources,omitempty"`

	// ie p4d.24xlarge
	SecondaryInstanceID string `json:"secondaryInstanceId,omitempty"`

	// ie data-large-3000
	Slug string `json:"slug,omitempty"`

	// common slug name for similar instances across clouds, e.g. "A100 x 4", "L40S x 1"
	SlugMultiCloud string `json:"slugMultiCloud,omitempty"`

	// The lowest current spot price for the instance type
	SpotPrice float32 `json:"spotPrice,omitempty"`

	// Quota code to retrieve it from cloud provider API (for spot instances)
	SpotQuotaCode string `json:"spotQuotaCode,omitempty"`

	// Name of the quota (for showing on UI purposes)
	SpotQuotaName string `json:"spotQuotaName,omitempty"`

	// An exact quota page URL where a user can request the quota increase (for spot instances)
	SpotQuotaPageURL string `json:"spotQuotaPageUrl,omitempty"`
}

V1ClusterAccelerator v1 cluster accelerator

swagger:model v1ClusterAccelerator

func (*V1ClusterAccelerator) ContextValidate ¶

func (m *V1ClusterAccelerator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cluster accelerator based on the context it is used

func (*V1ClusterAccelerator) MarshalBinary ¶

func (m *V1ClusterAccelerator) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterAccelerator) UnmarshalBinary ¶

func (m *V1ClusterAccelerator) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterAccelerator) Validate ¶

func (m *V1ClusterAccelerator) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster accelerator

type V1ClusterAvailability ¶

type V1ClusterAvailability struct {

	// To specify if this cluster is allowed for specific teamspaces only listed here
	AllowedProjectIds []string `json:"allowedProjectIds"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// If 'true', the cluster has no availability restrictions
	IsAllowedToAll bool `json:"isAllowedToAll,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

V1ClusterAvailability v1 cluster availability

swagger:model v1ClusterAvailability

func (*V1ClusterAvailability) ContextValidate ¶

func (m *V1ClusterAvailability) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cluster availability based on context it is used

func (*V1ClusterAvailability) MarshalBinary ¶

func (m *V1ClusterAvailability) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterAvailability) UnmarshalBinary ¶

func (m *V1ClusterAvailability) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterAvailability) Validate ¶

func (m *V1ClusterAvailability) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster availability

type V1ClusterCapacityReservation ¶

type V1ClusterCapacityReservation struct {

	// This is the number we can make available to aggregate clusters like the lightning cluster
	AggregateAvailability string `json:"aggregateAvailability,omitempty"`

	// provider capacity reservation type, e.g. 'capacity-block' for AWS
	CapacityReservationType string `json:"capacityReservationType,omitempty"`

	// cloud provider capacity reservation Id
	CloudProviderCapacityReservationID string `json:"cloudProviderCapacityReservationId,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// end time
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// This overwrites cloud_provider_capacity_reservation_id
	FullCloudProviderReservationString string `json:"fullCloudProviderReservationString,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// in use
	InUse string `json:"inUse,omitempty"`

	// like in-use, this is calculated, only relevant based on aggregate availability
	InUseAggregate string `json:"inUseAggregate,omitempty"`

	// infiniband_tier selects the fabric locality this reservation is protected
	// at: the platform co-locates the reserved nodes within one fabric group at
	// the given tier so a multi-node (MMT) owner can always assemble its committed
	// node count with the required interconnect. UNSPECIFIED means not IB-aware
	// (protected as scattered whole nodes). Only meaningful with shadow.
	InfinibandTier *V1InfinibandTier `json:"infinibandTier,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// match pattern
	MatchPattern string `json:"matchPattern,omitempty"`

	// Kubernetes node group name for this reservation
	NodeGroupName string `json:"nodeGroupName,omitempty"`

	// num instances
	NumInstances string `json:"numInstances,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// resources
	Resources *V1Resources `json:"resources,omitempty"`

	// shadow marks a platform-managed "shadow" reservation. It is both hidden
	// from user-facing listings and given preemption-right (soft) scheduling
	// semantics: it blocks foreign on-demand use of the reserved capacity but
	// lets foreign spot fill it while idle (reclaimed by eviction when the owner
	// returns). Independent of the end date.
	Shadow bool `json:"shadow,omitempty"`

	// start time
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`

	// The id of the resources in use
	UsedBy []*V1CapacityReservationUsedBy `json:"usedBy"`

	// required for GCP and more specific than region, zone looks like `us-central1-a` rather than `us-central1`
	Zone string `json:"zone,omitempty"`
}

V1ClusterCapacityReservation v1 cluster capacity reservation

swagger:model v1ClusterCapacityReservation

func (*V1ClusterCapacityReservation) ContextValidate ¶

func (m *V1ClusterCapacityReservation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cluster capacity reservation based on the context it is used

func (*V1ClusterCapacityReservation) MarshalBinary ¶

func (m *V1ClusterCapacityReservation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterCapacityReservation) UnmarshalBinary ¶

func (m *V1ClusterCapacityReservation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterCapacityReservation) Validate ¶

func (m *V1ClusterCapacityReservation) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster capacity reservation

type V1ClusterDeletionOptions ¶

type V1ClusterDeletionOptions struct {

	// If enabled, deletes cluster's storage resources, e.g. S3/GCS bucket
	DeleteArtifacts bool `json:"deleteArtifacts,omitempty"`

	// If enabled, deletes cluster's NFS-like filesystems (EFS/Filestore)
	DeleteFilesystems bool `json:"deleteFilesystems,omitempty"`

	// delete system logs
	DeleteSystemLogs bool `json:"deleteSystemLogs,omitempty"`
}

V1ClusterDeletionOptions v1 cluster deletion options

swagger:model v1ClusterDeletionOptions

func (*V1ClusterDeletionOptions) ContextValidate ¶

func (m *V1ClusterDeletionOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cluster deletion options based on context it is used

func (*V1ClusterDeletionOptions) MarshalBinary ¶

func (m *V1ClusterDeletionOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterDeletionOptions) UnmarshalBinary ¶

func (m *V1ClusterDeletionOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterDeletionOptions) Validate ¶

func (m *V1ClusterDeletionOptions) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster deletion options

type V1ClusterEncryptionKey ¶

type V1ClusterEncryptionKey struct {

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// creator Id
	CreatorID string `json:"creatorId,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// key Id
	KeyID string `json:"keyId,omitempty"`

	// organization Id
	OrganizationID string `json:"organizationId,omitempty"`
}

V1ClusterEncryptionKey v1 cluster encryption key

swagger:model v1ClusterEncryptionKey

func (*V1ClusterEncryptionKey) ContextValidate ¶

func (m *V1ClusterEncryptionKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cluster encryption key based on context it is used

func (*V1ClusterEncryptionKey) MarshalBinary ¶

func (m *V1ClusterEncryptionKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterEncryptionKey) UnmarshalBinary ¶

func (m *V1ClusterEncryptionKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterEncryptionKey) Validate ¶

func (m *V1ClusterEncryptionKey) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster encryption key

type V1ClusterProxy ¶

type V1ClusterProxy struct {

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// state
	State string `json:"state,omitempty"`
}

V1ClusterProxy v1 cluster proxy

swagger:model v1ClusterProxy

func (*V1ClusterProxy) ContextValidate ¶

func (m *V1ClusterProxy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cluster proxy based on context it is used

func (*V1ClusterProxy) MarshalBinary ¶

func (m *V1ClusterProxy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterProxy) UnmarshalBinary ¶

func (m *V1ClusterProxy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterProxy) Validate ¶

func (m *V1ClusterProxy) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster proxy

type V1ClusterResourceTag ¶

type V1ClusterResourceTag struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

V1ClusterResourceTag v1 cluster resource tag

swagger:model v1ClusterResourceTag

func (*V1ClusterResourceTag) ContextValidate ¶

func (m *V1ClusterResourceTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cluster resource tag based on context it is used

func (*V1ClusterResourceTag) MarshalBinary ¶

func (m *V1ClusterResourceTag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterResourceTag) UnmarshalBinary ¶

func (m *V1ClusterResourceTag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterResourceTag) Validate ¶

func (m *V1ClusterResourceTag) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster resource tag

type V1ClusterSecurityOptions ¶

type V1ClusterSecurityOptions struct {

	// If true, allow studio transfer out of the cluster
	AllowStudioTransferOut bool `json:"allowStudioTransferOut,omitempty"`

	// Bucket KMS key ARN
	BucketKmsKey string `json:"bucketKmsKey,omitempty"`

	// The list of commands to run on cloud init boot command
	CloudInitBootCmds []string `json:"cloudInitBootCmds"`

	// The list of commands to run on cloud init run command
	CloudInitRunCmds []string `json:"cloudInitRunCmds"`

	// If true, security groups/firewalls of the cluster allow Cloudflare workers access (BYOC only, global clusters have this by default)
	CloudflareWorkersAccessEnabled bool `json:"cloudflareWorkersAccessEnabled,omitempty"`

	// Containers will be non-privileged
	ContainersNonPrivileged bool `json:"containersNonPrivileged,omitempty"`

	// Will not request public ip interface for cluster's instances (needed for JPMC)
	DisablePublicIP bool `json:"disablePublicIp,omitempty"`

	// Systemd services that are disabled for the cluster
	DisabledServices []string `json:"disabledServices"`

	// Whether the cluster bucket is encrypted
	EncryptClusterBucket bool `json:"encryptClusterBucket,omitempty"`

	// Whether instances' volumes encryption is enabled
	EncryptInstanceVolumes bool `json:"encryptInstanceVolumes,omitempty"`

	// The list of ports exposed on VM's in this cluster
	ExposedPorts []string `json:"exposedPorts"`

	// Extra CIDR ranges for firewall to allow (e.g. to allow communication between peered VPC subnets)
	ExtraFirewallCidrRanges []string `json:"extraFirewallCidrRanges"`

	// Extra firewall rules to allow incoming traffic to specific ports
	ExtraFirewallRules []*V1FirewallRule `json:"extraFirewallRules"`

	// Extra IAM policy statements that can be added to teamspace roles
	ExtraPolicy string `json:"extraPolicy,omitempty"`

	// The list of additional scopes to set for instance service account (GCP)
	ExtraSaScopes []string `json:"extraSaScopes"`

	// Optional KMS key ID
	KmsKeyID string `json:"kmsKeyId,omitempty"`

	// Enable enhanced instances' metadata protection, specifically IMDSv2 for AWS
	ProtectInstanceMetadata bool `json:"protectInstanceMetadata,omitempty"`

	// Docker daemon at instances will run in rootless mode
	RootlessDocker bool `json:"rootlessDocker,omitempty"`

	// Will set up Load Balancer for access to instances (JPMC feature)
	SetupNetworkLoadBalancer bool `json:"setupNetworkLoadBalancer,omitempty"`

	// SSH will be disabled in Studios/jobs
	SSHDisabled bool `json:"sshDisabled,omitempty"`

	// Gateway IP for a VPN tunnel to controlplane
	VpnGatewayIP string `json:"vpnGatewayIp,omitempty"`

	// Pre-shared key for a VPN tunnel to controlplane
	VpnPresharedKey string `json:"vpnPresharedKey,omitempty"`

	// CIDR blocks to route through the VPN to controlplane
	VpnRouteCidrs []string `json:"vpnRouteCidrs"`
}

V1ClusterSecurityOptions v1 cluster security options

swagger:model v1ClusterSecurityOptions

func (*V1ClusterSecurityOptions) ContextValidate ¶

func (m *V1ClusterSecurityOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cluster security options based on the context it is used

func (*V1ClusterSecurityOptions) MarshalBinary ¶

func (m *V1ClusterSecurityOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterSecurityOptions) UnmarshalBinary ¶

func (m *V1ClusterSecurityOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterSecurityOptions) Validate ¶

func (m *V1ClusterSecurityOptions) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster security options

type V1ClusterSpec ¶

type V1ClusterSpec struct {

	// Auth token for the cluster (this is only used by the slurm clusters)
	AuthToken string `json:"authToken,omitempty"`

	// Filters and enables accelerators for the cluster
	AvailableAccelerators []string `json:"availableAccelerators"`

	// Configuration for AWS
	AwsV1 *V1AWSDirectV1 `json:"awsV1,omitempty"`

	// Azure cloud configuration
	AzureV1 *V1AzureDirectV1 `json:"azureV1,omitempty"`

	// If true, apply Lightning cloud pricing for this cluster instead of BYOC
	// (needed for the case when we keep customers' BYOC clusters on our own infra)
	CloudPricingEnabled bool `json:"cloudPricingEnabled,omitempty"`

	// Cloudflare Cloud configuration
	CloudflareV1 *V1CloudflareV1 `json:"cloudflareV1,omitempty"`

	// cluster type
	ClusterType *V1ClusterType `json:"clusterType,omitempty"`

	// For meta clusters (like the Lightning cluster) this is the clusters (in order) to grab availability from
	ComputeClusterIds []string `json:"computeClusterIds"`

	// request details for a compute cluster (k8s, slurm, lec). This can be removed once the set up process is automated
	ComputeClusterRequest *V1ComputeClusterRequest `json:"computeClusterRequest,omitempty"`

	// Cudo cloud configuration
	CudoV1 *V1CudoDirectV1 `json:"cudoV1,omitempty"`

	// allow passing options if desired_state is DELETED
	DeletionOptions *V1ClusterDeletionOptions `json:"deletionOptions,omitempty"`

	// desired state
	DesiredState *V1ClusterState `json:"desiredState,omitempty"`

	// Root domain for deployments, endpoints, studio plugins, etc.
	Domain string `json:"domain,omitempty"`

	// If this set, we overwrite the cluster driver with this
	// (used by the DGX/Lightning clusters since otherwise they're GCP)
	Driver *V1CloudProvider `json:"driver,omitempty"`

	// Enforces the compute_on_demand_access billing entitlement for on-demand workloads.
	EnforceLightningComputeOnDemandAccess bool `json:"enforceLightningComputeOnDemandAccess,omitempty"`

	// Never update the accelerator list
	FreezeAccelerators bool `json:"freezeAccelerators,omitempty"`

	// Configuration for Google Cloud
	GoogleCloudV1 *V1GoogleCloudDirectV1 `json:"googleCloudV1,omitempty"`

	// If yes, host DNS will be used for cluster's workloads
	HostDNSEnabled bool `json:"hostDnsEnabled,omitempty"`

	// Pauses the insurer if provided
	InsurerDisabled bool `json:"insurerDisabled,omitempty"`

	// Kubernetes cluster configuration
	KubernetesV1 *V1KubernetesDirectV1 `json:"kubernetesV1,omitempty"`

	// LambdaLabs Cloud configuration
	LambdaLabsV1 *V1LambdaLabsDirectV1 `json:"lambdaLabsV1,omitempty"`

	// lightning elastic cluster v1
	LightningElasticClusterV1 V1LightningElasticClusterV1 `json:"lightningElasticClusterV1,omitempty"`

	// if enabled, it's not possible to change the cluster overprovisioning via UI
	LockOverprovisioning bool `json:"lockOverprovisioning,omitempty"`

	// Locked availability zones (to request machines only there):
	LockedZones []string `json:"lockedZones"`

	// machine v1
	MachineV1 *V1MachineDirectV1 `json:"machineV1,omitempty"`

	// Mithril cloud configuration
	MithrilV1 *V1MithrilDirectV1 `json:"mithrilV1,omitempty"`

	// Disables deletion of workloads when they fail the monitor's connectivity health checks
	MonitorDeletionDisabled bool `json:"monitorDeletionDisabled,omitempty"`

	// Nebius Cloud configuration
	NebiusV1 *V1NebiusDirectV1 `json:"nebiusV1,omitempty"`

	// instance overprovisioning settings per instance type / resource type
	Overprovisioning []*V1InstanceOverprovisioningSpec `json:"overprovisioning"`

	// Note: Some providers are missing object store in their offering, we will need to use a parent to act as its object store
	ParentClusterID string `json:"parentClusterId,omitempty"`

	// Type of the parent cluster
	ParentClusterType string `json:"parentClusterType,omitempty"`

	// pause automation
	PauseAutomation bool `json:"pauseAutomation,omitempty"`

	// Rafay cloud configuration
	RafayV1 *V1RafayDirectV1 `json:"rafayV1,omitempty"`

	// Track reservation details for reserved capacity clusters
	ReservationDetails *V1ReservationDetails `json:"reservationDetails,omitempty"`

	// Whether the cluster is using for providing reserved capacity
	ReservedCapacityProvider bool `json:"reservedCapacityProvider,omitempty"`

	// Only use reserved instances
	ReservedInstancesOnly bool `json:"reservedInstancesOnly,omitempty"`

	// Security options for the cluster's instances
	SecurityOptions *V1ClusterSecurityOptions `json:"securityOptions,omitempty"`

	// Configuration for SLURM Clusters
	SlurmV1 *V1SlurmV1 `json:"slurmV1,omitempty"`

	// storage retention period days
	StorageRetentionPeriodDays int64 `json:"storageRetentionPeriodDays,omitempty"`

	// Tagging options for cluster's resources
	TaggingOptions *V1ClusterTaggingOptions `json:"taggingOptions,omitempty"`

	// TensorDock cloud configuration
	TensordockV1 *V1TensorDockDirectV1 `json:"tensordockV1,omitempty"`

	// ThunderCat cloud configuration
	ThunderCatV1 *V1ThunderCatDirectV1 `json:"thunderCatV1,omitempty"`

	// Whether we check unavailability spikes for this cluster TODO: remove, need for smooth feature enabling
	UnavailabilitySpikesDetectionEnabled bool `json:"unavailabilitySpikesDetectionEnabled,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`

	// Whether cloudy vibe coding is enabled for the cluster
	VibeCodingEnabled bool `json:"vibeCodingEnabled,omitempty"`

	// VoltagePark Cloud configuration
	VoltageParkV1 *V1VoltageParkDirectV1 `json:"voltageParkV1,omitempty"`

	// Vultr Cloud configuration
	VultrV1 *V1VultrDirectV1 `json:"vultrV1,omitempty"`
}

V1ClusterSpec v1 cluster spec

swagger:model v1ClusterSpec

func (*V1ClusterSpec) ContextValidate ¶

func (m *V1ClusterSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cluster spec based on the context it is used

func (*V1ClusterSpec) MarshalBinary ¶

func (m *V1ClusterSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterSpec) UnmarshalBinary ¶

func (m *V1ClusterSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterSpec) Validate ¶

func (m *V1ClusterSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster spec

type V1ClusterState ¶

type V1ClusterState string

V1ClusterState v1 cluster state

swagger:model v1ClusterState

const (

	// V1ClusterStateCLUSTERSTATEUNSPECIFIED captures enum value "CLUSTER_STATE_UNSPECIFIED"
	V1ClusterStateCLUSTERSTATEUNSPECIFIED V1ClusterState = "CLUSTER_STATE_UNSPECIFIED"

	// V1ClusterStateCLUSTERSTATEPENDING captures enum value "CLUSTER_STATE_PENDING"
	V1ClusterStateCLUSTERSTATEPENDING V1ClusterState = "CLUSTER_STATE_PENDING"

	// V1ClusterStateCLUSTERSTATEQUEUED captures enum value "CLUSTER_STATE_QUEUED"
	V1ClusterStateCLUSTERSTATEQUEUED V1ClusterState = "CLUSTER_STATE_QUEUED"

	// V1ClusterStateCLUSTERSTATERUNNING captures enum value "CLUSTER_STATE_RUNNING"
	V1ClusterStateCLUSTERSTATERUNNING V1ClusterState = "CLUSTER_STATE_RUNNING"

	// V1ClusterStateCLUSTERSTATEFAILED captures enum value "CLUSTER_STATE_FAILED"
	V1ClusterStateCLUSTERSTATEFAILED V1ClusterState = "CLUSTER_STATE_FAILED"

	// V1ClusterStateCLUSTERSTATEDELETED captures enum value "CLUSTER_STATE_DELETED"
	V1ClusterStateCLUSTERSTATEDELETED V1ClusterState = "CLUSTER_STATE_DELETED"

	// V1ClusterStateCLUSTERSTATEOFFLINE captures enum value "CLUSTER_STATE_OFFLINE"
	V1ClusterStateCLUSTERSTATEOFFLINE V1ClusterState = "CLUSTER_STATE_OFFLINE"

	// V1ClusterStateCLUSTERSTATECONFIGURING captures enum value "CLUSTER_STATE_CONFIGURING"
	V1ClusterStateCLUSTERSTATECONFIGURING V1ClusterState = "CLUSTER_STATE_CONFIGURING"
)

func NewV1ClusterState ¶

func NewV1ClusterState(value V1ClusterState) *V1ClusterState

func (V1ClusterState) ContextValidate ¶

func (m V1ClusterState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cluster state based on context it is used

func (V1ClusterState) Pointer ¶

func (m V1ClusterState) Pointer() *V1ClusterState

Pointer returns a pointer to a freshly-allocated V1ClusterState.

func (V1ClusterState) Validate ¶

func (m V1ClusterState) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster state

type V1ClusterStatus ¶

type V1ClusterStatus struct {

	// aws v1 region status
	AwsV1RegionStatus []*V1AWSDirectV1Status `json:"awsV1RegionStatus"`

	// health check status of gridlet dependency services
	DependencyServiceHealth []*V1ServiceHealth `json:"dependencyServiceHealth"`

	// gcp v1 status
	GcpV1Status *V1GoogleCloudDirectV1Status `json:"gcpV1Status,omitempty"`

	// kubernetes v1 status
	KubernetesV1Status *V1KubernetesDirectV1Status `json:"kubernetesV1Status,omitempty"`

	// when was the last time gridlet reported cluster status
	// Format: date-time
	LastHealthcheckTimestamp strfmt.DateTime `json:"lastHealthcheckTimestamp,omitempty"`

	// machine v1 status
	MachineV1Status *V1MachineV1Status `json:"machineV1Status,omitempty"`

	// phase
	Phase *V1ClusterState `json:"phase,omitempty"`

	// endpoint to get prometheus metrics from cluster workloads.
	PrometheusEndpoint string `json:"prometheusEndpoint,omitempty"`

	// Queue service endpoint, use if set. Otherwise defaults to queue.<root domain>
	QueueEndpoint string `json:"queueEndpoint,omitempty"`

	// Optional reason why is cluster in current phase
	Reason string `json:"reason,omitempty"`

	// slurm v1 status
	SlurmV1Status *V1SlurmV1Status `json:"slurmV1Status,omitempty"`

	// ssh dns to be used to access lightning flow & work.
	SSHGatewayEndpoint string `json:"sshGatewayEndpoint,omitempty"`

	// S3 proxy endpoint, use if set. Otherwise defaults to storage.<root domain>
	StorageEndpoint string `json:"storageEndpoint,omitempty"`
}

V1ClusterStatus ClusterStatus represent current cluster status

swagger:model v1ClusterStatus

func (*V1ClusterStatus) ContextValidate ¶

func (m *V1ClusterStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cluster status based on the context it is used

func (*V1ClusterStatus) MarshalBinary ¶

func (m *V1ClusterStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterStatus) UnmarshalBinary ¶

func (m *V1ClusterStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterStatus) Validate ¶

func (m *V1ClusterStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster status

type V1ClusterTaggingOptions ¶

type V1ClusterTaggingOptions struct {

	// User-defined tags for cluster's resources
	CustomTags []*V1ClusterResourceTag `json:"customTags"`

	// Enables cluster's bucket objects tagging
	TagBucketObjects bool `json:"tagBucketObjects,omitempty"`

	// Whether cluster's instances are tagged with a teamspace name where they are run
	TagInstancesWithTeamspaceName bool `json:"tagInstancesWithTeamspaceName,omitempty"`

	// Whether cluster's instances are tagged with a username who is running them
	TagInstancesWithUsername bool `json:"tagInstancesWithUsername,omitempty"`

	// Whether cluster's instances are tagged with a workload name that is running there
	TagInstancesWithWorkloadName bool `json:"tagInstancesWithWorkloadName,omitempty"`
}

V1ClusterTaggingOptions v1 cluster tagging options

swagger:model v1ClusterTaggingOptions

func (*V1ClusterTaggingOptions) ContextValidate ¶

func (m *V1ClusterTaggingOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 cluster tagging options based on the context it is used

func (*V1ClusterTaggingOptions) MarshalBinary ¶

func (m *V1ClusterTaggingOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterTaggingOptions) UnmarshalBinary ¶

func (m *V1ClusterTaggingOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterTaggingOptions) Validate ¶

func (m *V1ClusterTaggingOptions) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster tagging options

type V1ClusterType ¶

type V1ClusterType string

V1ClusterType v1 cluster type

swagger:model v1ClusterType

const (

	// V1ClusterTypeCLUSTERTYPEUNSPECIFIED captures enum value "CLUSTER_TYPE_UNSPECIFIED"
	V1ClusterTypeCLUSTERTYPEUNSPECIFIED V1ClusterType = "CLUSTER_TYPE_UNSPECIFIED"

	// V1ClusterTypeCLUSTERTYPEGLOBAL captures enum value "CLUSTER_TYPE_GLOBAL"
	V1ClusterTypeCLUSTERTYPEGLOBAL V1ClusterType = "CLUSTER_TYPE_GLOBAL"

	// V1ClusterTypeCLUSTERTYPEBYOC captures enum value "CLUSTER_TYPE_BYOC"
	V1ClusterTypeCLUSTERTYPEBYOC V1ClusterType = "CLUSTER_TYPE_BYOC"

	// V1ClusterTypeCLUSTERTYPESLURM captures enum value "CLUSTER_TYPE_SLURM"
	V1ClusterTypeCLUSTERTYPESLURM V1ClusterType = "CLUSTER_TYPE_SLURM"

	// V1ClusterTypeCLUSTERTYPELEC captures enum value "CLUSTER_TYPE_LEC"
	V1ClusterTypeCLUSTERTYPELEC V1ClusterType = "CLUSTER_TYPE_LEC"
)

func NewV1ClusterType ¶

func NewV1ClusterType(value V1ClusterType) *V1ClusterType

func (V1ClusterType) ContextValidate ¶

func (m V1ClusterType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cluster type based on context it is used

func (V1ClusterType) Pointer ¶

func (m V1ClusterType) Pointer() *V1ClusterType

Pointer returns a pointer to a freshly-allocated V1ClusterType.

func (V1ClusterType) Validate ¶

func (m V1ClusterType) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster type

type V1ClusterUsageRestriction ¶

type V1ClusterUsageRestriction struct {

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// max instances
	MaxInstances int64 `json:"maxInstances,omitempty"`

	// restriction type
	RestrictionType string `json:"restrictionType,omitempty"`
}

V1ClusterUsageRestriction v1 cluster usage restriction

swagger:model v1ClusterUsageRestriction

func (*V1ClusterUsageRestriction) ContextValidate ¶

func (m *V1ClusterUsageRestriction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cluster usage restriction based on context it is used

func (*V1ClusterUsageRestriction) MarshalBinary ¶

func (m *V1ClusterUsageRestriction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClusterUsageRestriction) UnmarshalBinary ¶

func (m *V1ClusterUsageRestriction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClusterUsageRestriction) Validate ¶

func (m *V1ClusterUsageRestriction) Validate(formats strfmt.Registry) error

Validate validates this v1 cluster usage restriction

type V1CollabAction ¶

type V1CollabAction string

V1CollabAction v1 collab action

swagger:model v1CollabAction

const (

	// V1CollabActionCOLLABACTIONUNSPECIFIED captures enum value "COLLAB_ACTION_UNSPECIFIED"
	V1CollabActionCOLLABACTIONUNSPECIFIED V1CollabAction = "COLLAB_ACTION_UNSPECIFIED"

	// V1CollabActionCOLLABACTIONSTARTLIVE captures enum value "COLLAB_ACTION_START_LIVE"
	V1CollabActionCOLLABACTIONSTARTLIVE V1CollabAction = "COLLAB_ACTION_START_LIVE"

	// V1CollabActionCOLLABACTIONSTOPLIVE captures enum value "COLLAB_ACTION_STOP_LIVE"
	V1CollabActionCOLLABACTIONSTOPLIVE V1CollabAction = "COLLAB_ACTION_STOP_LIVE"

	// V1CollabActionCOLLABACTIONREQUESTEDIT captures enum value "COLLAB_ACTION_REQUEST_EDIT"
	V1CollabActionCOLLABACTIONREQUESTEDIT V1CollabAction = "COLLAB_ACTION_REQUEST_EDIT"

	// V1CollabActionCOLLABACTIONREMOVEREQUEST captures enum value "COLLAB_ACTION_REMOVE_REQUEST"
	V1CollabActionCOLLABACTIONREMOVEREQUEST V1CollabAction = "COLLAB_ACTION_REMOVE_REQUEST"

	// V1CollabActionCOLLABACTIONRELEASEEDIT captures enum value "COLLAB_ACTION_RELEASE_EDIT"
	V1CollabActionCOLLABACTIONRELEASEEDIT V1CollabAction = "COLLAB_ACTION_RELEASE_EDIT"

	// V1CollabActionCOLLABACTIONGRANTEDIT captures enum value "COLLAB_ACTION_GRANT_EDIT"
	V1CollabActionCOLLABACTIONGRANTEDIT V1CollabAction = "COLLAB_ACTION_GRANT_EDIT"

	// V1CollabActionCOLLABACTIONSTARTVIEW captures enum value "COLLAB_ACTION_START_VIEW"
	V1CollabActionCOLLABACTIONSTARTVIEW V1CollabAction = "COLLAB_ACTION_START_VIEW"

	// V1CollabActionCOLLABACTIONSTOPVIEW captures enum value "COLLAB_ACTION_STOP_VIEW"
	V1CollabActionCOLLABACTIONSTOPVIEW V1CollabAction = "COLLAB_ACTION_STOP_VIEW"
)

func NewV1CollabAction ¶

func NewV1CollabAction(value V1CollabAction) *V1CollabAction

func (V1CollabAction) ContextValidate ¶

func (m V1CollabAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 collab action based on context it is used

func (V1CollabAction) Pointer ¶

func (m V1CollabAction) Pointer() *V1CollabAction

Pointer returns a pointer to a freshly-allocated V1CollabAction.

func (V1CollabAction) Validate ¶

func (m V1CollabAction) Validate(formats strfmt.Registry) error

Validate validates this v1 collab action

type V1CollabSession ¶

type V1CollabSession struct {

	// cloudspace Id
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// owner Id
	OwnerID string `json:"ownerId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// user ids
	UserIds []string `json:"userIds"`
}

V1CollabSession v1 collab session

swagger:model v1CollabSession

func (*V1CollabSession) ContextValidate ¶

func (m *V1CollabSession) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 collab session based on context it is used

func (*V1CollabSession) MarshalBinary ¶

func (m *V1CollabSession) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CollabSession) UnmarshalBinary ¶

func (m *V1CollabSession) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CollabSession) Validate ¶

func (m *V1CollabSession) Validate(formats strfmt.Registry) error

Validate validates this v1 collab session

type V1CompleteOnboardingResponse ¶

type V1CompleteOnboardingResponse any

V1CompleteOnboardingResponse v1 complete onboarding response

swagger:model v1CompleteOnboardingResponse

type V1CompleteRunningCloudSpaceInstanceTransferResponse ¶

type V1CompleteRunningCloudSpaceInstanceTransferResponse any

V1CompleteRunningCloudSpaceInstanceTransferResponse v1 complete running cloud space instance transfer response

swagger:model v1CompleteRunningCloudSpaceInstanceTransferResponse

type V1ComputeApp ¶

type V1ComputeApp struct {

	// gpu Uuid
	GpuUUID string `json:"gpuUuid,omitempty"`

	// memory mb
	MemoryMb string `json:"memoryMb,omitempty"`

	// pid
	Pid int32 `json:"pid,omitempty"`

	// process name
	ProcessName string `json:"processName,omitempty"`
}

V1ComputeApp ComputeApp represents a process actively using a GPU inside a VM. Collected via `nvidia-smi --query-compute-apps` over the selected guest transport and used by the agent to decide whether the fabric is actively in use (which gates fabric manager auto-restart).

swagger:model v1ComputeApp

func (*V1ComputeApp) ContextValidate ¶

func (m *V1ComputeApp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 compute app based on context it is used

func (*V1ComputeApp) MarshalBinary ¶

func (m *V1ComputeApp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ComputeApp) UnmarshalBinary ¶

func (m *V1ComputeApp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ComputeApp) Validate ¶

func (m *V1ComputeApp) Validate(formats strfmt.Registry) error

Validate validates this v1 compute app

type V1ComputeClusterMachines ¶

type V1ComputeClusterMachines struct {

	// gpu
	Gpu string `json:"gpu,omitempty"`

	// quantity
	Quantity int32 `json:"quantity,omitempty"`
}

V1ComputeClusterMachines v1 compute cluster machines

swagger:model v1ComputeClusterMachines

func (*V1ComputeClusterMachines) ContextValidate ¶

func (m *V1ComputeClusterMachines) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 compute cluster machines based on context it is used

func (*V1ComputeClusterMachines) MarshalBinary ¶

func (m *V1ComputeClusterMachines) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ComputeClusterMachines) UnmarshalBinary ¶

func (m *V1ComputeClusterMachines) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ComputeClusterMachines) Validate ¶

func (m *V1ComputeClusterMachines) Validate(formats strfmt.Registry) error

Validate validates this v1 compute cluster machines

type V1ComputeClusterRequest ¶

type V1ComputeClusterRequest struct {

	// duration
	Duration string `json:"duration,omitempty"`

	// machines
	Machines []*V1ComputeClusterMachines `json:"machines"`
}

V1ComputeClusterRequest v1 compute cluster request

swagger:model v1ComputeClusterRequest

func (*V1ComputeClusterRequest) ContextValidate ¶

func (m *V1ComputeClusterRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 compute cluster request based on the context it is used

func (*V1ComputeClusterRequest) MarshalBinary ¶

func (m *V1ComputeClusterRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ComputeClusterRequest) UnmarshalBinary ¶

func (m *V1ComputeClusterRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ComputeClusterRequest) Validate ¶

func (m *V1ComputeClusterRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 compute cluster request

type V1ComputeConfig ¶

type V1ComputeConfig struct {

	// cpu_image_override is used to specify a custom image used to launch the resource when running on a cpu machine.
	CPUImageOverride string `json:"cpuImageOverride,omitempty"`

	// gpu_image_override is used to specify a custom image used to launch the resource when running on a cpu machine.
	GpuImageOverride string `json:"gpuImageOverride,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// resources
	Resources *V1Resources `json:"resources,omitempty"`

	// shared memory size in MiB, backed by RAM
	ShmSizeMb int32 `json:"shmSizeMb,omitempty"`
}

V1ComputeConfig v1 compute config

swagger:model v1ComputeConfig

func (*V1ComputeConfig) ContextValidate ¶

func (m *V1ComputeConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 compute config based on the context it is used

func (*V1ComputeConfig) MarshalBinary ¶

func (m *V1ComputeConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ComputeConfig) UnmarshalBinary ¶

func (m *V1ComputeConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ComputeConfig) Validate ¶

func (m *V1ComputeConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 compute config

type V1CreateAPIKeyRequest ¶

type V1CreateAPIKeyRequest struct {

	// Optional budget
	BudgetConfig *V1APIKeyBudget `json:"budgetConfig,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// Optional, when scoped to a project
	ProjectID string `json:"projectId,omitempty"`

	// Optional, when scoped to a resource
	ResourceID string `json:"resourceId,omitempty"`

	// Optional, when scoped to a resource
	ResourceType string `json:"resourceType,omitempty"`

	// role
	Role string `json:"role,omitempty"`
}

V1CreateAPIKeyRequest v1 create API key request

swagger:model v1CreateAPIKeyRequest

func (*V1CreateAPIKeyRequest) ContextValidate ¶

func (m *V1CreateAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create API key request based on the context it is used

func (*V1CreateAPIKeyRequest) MarshalBinary ¶

func (m *V1CreateAPIKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateAPIKeyRequest) UnmarshalBinary ¶

func (m *V1CreateAPIKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateAPIKeyRequest) Validate ¶

func (m *V1CreateAPIKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create API key request

type V1CreateCloudSpaceAppInstanceResponse ¶

type V1CreateCloudSpaceAppInstanceResponse struct {

	// Unused
	Actions []*V1CloudSpaceAppAction `json:"actions"`

	// lightningappinstance
	Lightningappinstance *Externalv1LightningappInstance `json:"lightningappinstance,omitempty"`
}

V1CreateCloudSpaceAppInstanceResponse v1 create cloud space app instance response

swagger:model v1CreateCloudSpaceAppInstanceResponse

func (*V1CreateCloudSpaceAppInstanceResponse) ContextValidate ¶

func (m *V1CreateCloudSpaceAppInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create cloud space app instance response based on the context it is used

func (*V1CreateCloudSpaceAppInstanceResponse) MarshalBinary ¶

func (m *V1CreateCloudSpaceAppInstanceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateCloudSpaceAppInstanceResponse) UnmarshalBinary ¶

func (m *V1CreateCloudSpaceAppInstanceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateCloudSpaceAppInstanceResponse) Validate ¶

Validate validates this v1 create cloud space app instance response

type V1CreateCloudSpaceInstanceMetricResponse ¶

type V1CreateCloudSpaceInstanceMetricResponse any

V1CreateCloudSpaceInstanceMetricResponse v1 create cloud space instance metric response

swagger:model v1CreateCloudSpaceInstanceMetricResponse

type V1CreateClusterCapacityReservationResponse ¶

type V1CreateClusterCapacityReservationResponse struct {

	// cloud provider capacity reservation Id
	CloudProviderCapacityReservationID string `json:"cloudProviderCapacityReservationId,omitempty"`

	// This overwrites cloud_provider_capacity_reservation_id
	FullCloudProviderReservationString string `json:"fullCloudProviderReservationString,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// match pattern
	MatchPattern string `json:"matchPattern,omitempty"`
}

V1CreateClusterCapacityReservationResponse v1 create cluster capacity reservation response

swagger:model v1CreateClusterCapacityReservationResponse

func (*V1CreateClusterCapacityReservationResponse) ContextValidate ¶

ContextValidate validates this v1 create cluster capacity reservation response based on context it is used

func (*V1CreateClusterCapacityReservationResponse) MarshalBinary ¶

func (m *V1CreateClusterCapacityReservationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateClusterCapacityReservationResponse) UnmarshalBinary ¶

func (m *V1CreateClusterCapacityReservationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateClusterCapacityReservationResponse) Validate ¶

Validate validates this v1 create cluster capacity reservation response

type V1CreateClusterEncryptionKeysRequest ¶

type V1CreateClusterEncryptionKeysRequest struct {

	// key
	Key *V1ClusterEncryptionKey `json:"key,omitempty"`
}

V1CreateClusterEncryptionKeysRequest v1 create cluster encryption keys request

swagger:model v1CreateClusterEncryptionKeysRequest

func (*V1CreateClusterEncryptionKeysRequest) ContextValidate ¶

func (m *V1CreateClusterEncryptionKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create cluster encryption keys request based on the context it is used

func (*V1CreateClusterEncryptionKeysRequest) MarshalBinary ¶

func (m *V1CreateClusterEncryptionKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateClusterEncryptionKeysRequest) UnmarshalBinary ¶

func (m *V1CreateClusterEncryptionKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateClusterEncryptionKeysRequest) Validate ¶

Validate validates this v1 create cluster encryption keys request

type V1CreateClusterEncryptionKeysResponse ¶

type V1CreateClusterEncryptionKeysResponse struct {

	// key
	Key *V1ClusterEncryptionKey `json:"key,omitempty"`
}

V1CreateClusterEncryptionKeysResponse v1 create cluster encryption keys response

swagger:model v1CreateClusterEncryptionKeysResponse

func (*V1CreateClusterEncryptionKeysResponse) ContextValidate ¶

func (m *V1CreateClusterEncryptionKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create cluster encryption keys response based on the context it is used

func (*V1CreateClusterEncryptionKeysResponse) MarshalBinary ¶

func (m *V1CreateClusterEncryptionKeysResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateClusterEncryptionKeysResponse) UnmarshalBinary ¶

func (m *V1CreateClusterEncryptionKeysResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateClusterEncryptionKeysResponse) Validate ¶

Validate validates this v1 create cluster encryption keys response

type V1CreateClusterRequest ¶

type V1CreateClusterRequest struct {

	// name
	Name string `json:"name,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// phase
	Phase *V1ClusterState `json:"phase,omitempty"`

	// spec
	Spec *V1ClusterSpec `json:"spec,omitempty"`
}

V1CreateClusterRequest v1 create cluster request

swagger:model v1CreateClusterRequest

func (*V1CreateClusterRequest) ContextValidate ¶

func (m *V1CreateClusterRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create cluster request based on the context it is used

func (*V1CreateClusterRequest) MarshalBinary ¶

func (m *V1CreateClusterRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateClusterRequest) UnmarshalBinary ¶

func (m *V1CreateClusterRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateClusterRequest) Validate ¶

func (m *V1CreateClusterRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create cluster request

type V1CreateClusterResponse ¶

type V1CreateClusterResponse struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// spec
	Spec *V1ClusterSpec `json:"spec,omitempty"`

	// status
	Status *V1ClusterStatus `json:"status,omitempty"`
}

V1CreateClusterResponse v1 create cluster response

swagger:model v1CreateClusterResponse

func (*V1CreateClusterResponse) ContextValidate ¶

func (m *V1CreateClusterResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create cluster response based on the context it is used

func (*V1CreateClusterResponse) MarshalBinary ¶

func (m *V1CreateClusterResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateClusterResponse) UnmarshalBinary ¶

func (m *V1CreateClusterResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateClusterResponse) Validate ¶

func (m *V1CreateClusterResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 create cluster response

type V1CreateDeploymentRequest ¶

type V1CreateDeploymentRequest struct {

	// Warning keys the caller has acknowledged
	AcknowledgedWarnings []string `json:"acknowledgedWarnings"`

	// The api standard used by this deployment (openai ...)
	APIStandard string `json:"apiStandard,omitempty"`

	// The APIs from the template if any
	Apis []*V1DeploymentAPI `json:"apis"`

	// Autoscaling
	Autoscaling *V1AutoscalingSpec `json:"autoscaling,omitempty"`

	// byom spec
	ByomSpec *V1BYOMSpec `json:"byomSpec,omitempty"`

	// The id of the Studio if the deployment was created from the Studio Plugin
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// Networking
	Endpoint *V1Endpoint `json:"endpoint,omitempty"`

	// Whether the deployment was created using LitServe
	FromLitserve bool `json:"fromLitserve,omitempty"`

	// Whether the deployment was created from the onboarding flow
	FromOnboarding bool `json:"fromOnboarding,omitempty"`

	// k8s deployment config
	K8sDeploymentConfig *V1K8sDeploymentConfig `json:"k8sDeploymentConfig,omitempty"`

	// Required
	Name string `json:"name,omitempty"`

	// The parameters of this deployment when created from a template
	ParameterSpec *V1ParameterizationSpec `json:"parameterSpec,omitempty"`

	// The id of the template that was used to create this deployment
	ParentTemplateID string `json:"parentTemplateId,omitempty"`

	// Whether the deployment should be re-used between pipelines runs
	PipelineReuseDeploymentBetweenRuns bool `json:"pipelineReuseDeploymentBetweenRuns,omitempty"`

	// Required
	ProjectID string `json:"projectId,omitempty"`

	// Who should be receiving alerts
	Recipients *Externalv1ResourceScopedAlertingRecipients `json:"recipients,omitempty"`

	// Optional notes for the initial release (feature-gated)
	ReleaseNotes string `json:"releaseNotes,omitempty"`

	// replicas
	Replicas int64 `json:"replicas,omitempty"`

	// If set, on replica shutdown the server will be moved back to overprovisioned state
	ReuseServers bool `json:"reuseServers,omitempty"`

	// Compute + run configuration
	Spec *V1JobSpec `json:"spec,omitempty"`

	// The release strategy
	Strategy *V1DeploymentStrategy `json:"strategy,omitempty"`

	// Kind-specific config. At most one should be set; unset defaults to vm-instances.
	VMInstancesConfig V1VMInstancesConfig `json:"vmInstancesConfig,omitempty"`
}

V1CreateDeploymentRequest CreateDeploymentRequest defines a spec for the job that allows for autoscaling jobs

swagger:model v1CreateDeploymentRequest

func (*V1CreateDeploymentRequest) ContextValidate ¶

func (m *V1CreateDeploymentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create deployment request based on the context it is used

func (*V1CreateDeploymentRequest) MarshalBinary ¶

func (m *V1CreateDeploymentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateDeploymentRequest) UnmarshalBinary ¶

func (m *V1CreateDeploymentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateDeploymentRequest) Validate ¶

func (m *V1CreateDeploymentRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create deployment request

type V1CreateJobRequest ¶

type V1CreateJobRequest struct {

	// Networking
	//
	// Optional, needed to expose your service to the internet
	Endpoint *V1Endpoint `json:"endpoint,omitempty"`

	// Required
	Name string `json:"name,omitempty"`

	// Required
	ProjectID string `json:"projectId,omitempty"`

	// spec
	Spec *V1JobSpec `json:"spec,omitempty"`
}

V1CreateJobRequest v1 create job request

swagger:model v1CreateJobRequest

func (*V1CreateJobRequest) ContextValidate ¶

func (m *V1CreateJobRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create job request based on the context it is used

func (*V1CreateJobRequest) MarshalBinary ¶

func (m *V1CreateJobRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateJobRequest) UnmarshalBinary ¶

func (m *V1CreateJobRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateJobRequest) Validate ¶

func (m *V1CreateJobRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create job request

type V1CreateMachineAlertsResponse ¶

type V1CreateMachineAlertsResponse any

V1CreateMachineAlertsResponse v1 create machine alerts response

swagger:model v1CreateMachineAlertsResponse

type V1CreateMachineResponse ¶

type V1CreateMachineResponse struct {

	// machine
	Machine *V1Machine `json:"machine,omitempty"`
}

V1CreateMachineResponse CreateMachineResponse represents the response after creating a machine

swagger:model v1CreateMachineResponse

func (*V1CreateMachineResponse) ContextValidate ¶

func (m *V1CreateMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create machine response based on the context it is used

func (*V1CreateMachineResponse) MarshalBinary ¶

func (m *V1CreateMachineResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateMachineResponse) UnmarshalBinary ¶

func (m *V1CreateMachineResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateMachineResponse) Validate ¶

func (m *V1CreateMachineResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 create machine response

type V1CreateMultiMachineJobRequest ¶

type V1CreateMultiMachineJobRequest struct {

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// fault tolerance
	FaultTolerance *V1MultiMachineJobFaultTolerance `json:"faultTolerance,omitempty"`

	// Number of machines to use
	Machines int64 `json:"machines,omitempty"`

	// Max number of run attempts for this multi-machine job. 0 means unset (legacy, no retries); 1 means a single attempt (no retries).
	MaxRunAttempts int64 `json:"maxRunAttempts,omitempty"`

	// Required
	Name string `json:"name,omitempty"`

	// Required
	ProjectID string `json:"projectId,omitempty"`

	// Compute + run configuration
	Spec *V1JobSpec `json:"spec,omitempty"`
}

V1CreateMultiMachineJobRequest v1 create multi machine job request

swagger:model v1CreateMultiMachineJobRequest

func (*V1CreateMultiMachineJobRequest) ContextValidate ¶

func (m *V1CreateMultiMachineJobRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create multi machine job request based on the context it is used

func (*V1CreateMultiMachineJobRequest) MarshalBinary ¶

func (m *V1CreateMultiMachineJobRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateMultiMachineJobRequest) UnmarshalBinary ¶

func (m *V1CreateMultiMachineJobRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateMultiMachineJobRequest) Validate ¶

func (m *V1CreateMultiMachineJobRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create multi machine job request

type V1CreateOrgClusterCapacityReservationResponse ¶

type V1CreateOrgClusterCapacityReservationResponse struct {

	// cloud provider capacity reservation Id
	CloudProviderCapacityReservationID string `json:"cloudProviderCapacityReservationId,omitempty"`

	// This overwrites cloud_provider_capacity_reservation_id
	FullCloudProviderReservationString string `json:"fullCloudProviderReservationString,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// match pattern
	MatchPattern string `json:"matchPattern,omitempty"`
}

V1CreateOrgClusterCapacityReservationResponse v1 create org cluster capacity reservation response

swagger:model v1CreateOrgClusterCapacityReservationResponse

func (*V1CreateOrgClusterCapacityReservationResponse) ContextValidate ¶

ContextValidate validates this v1 create org cluster capacity reservation response based on context it is used

func (*V1CreateOrgClusterCapacityReservationResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*V1CreateOrgClusterCapacityReservationResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*V1CreateOrgClusterCapacityReservationResponse) Validate ¶

Validate validates this v1 create org cluster capacity reservation response

type V1CreateOrganizationRequest ¶

type V1CreateOrganizationRequest struct {

	// allow credits auto replenish
	AllowCreditsAutoReplenish bool `json:"allowCreditsAutoReplenish,omitempty"`

	// allow marketplace
	AllowMarketplace bool `json:"allowMarketplace,omitempty"`

	// auto invite by domain
	AutoInviteByDomain bool `json:"autoInviteByDomain,omitempty"`

	// auto join domains
	AutoJoinDomains []string `json:"autoJoinDomains"`

	// auto replenish amount
	AutoReplenishAmount float32 `json:"autoReplenishAmount,omitempty"`

	// auto replenish threshold
	AutoReplenishThreshold float32 `json:"autoReplenishThreshold,omitempty"`

	// creator Id
	CreatorID string `json:"creatorId,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// featured gallery
	FeaturedGallery bool `json:"featuredGallery,omitempty"`

	// is personal org
	IsPersonalOrg bool `json:"isPersonalOrg,omitempty"`

	// location
	Location string `json:"location,omitempty"`

	// preferred cluster
	PreferredCluster string `json:"preferredCluster,omitempty"`

	// start studios on spot instance
	StartStudiosOnSpotInstance bool `json:"startStudiosOnSpotInstance,omitempty"`

	// twitter username
	TwitterUsername string `json:"twitterUsername,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

V1CreateOrganizationRequest v1 create organization request

swagger:model v1CreateOrganizationRequest

func (*V1CreateOrganizationRequest) ContextValidate ¶

func (m *V1CreateOrganizationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 create organization request based on context it is used

func (*V1CreateOrganizationRequest) MarshalBinary ¶

func (m *V1CreateOrganizationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateOrganizationRequest) UnmarshalBinary ¶

func (m *V1CreateOrganizationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateOrganizationRequest) Validate ¶

func (m *V1CreateOrganizationRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create organization request

type V1CreateProjectRequest ¶

type V1CreateProjectRequest struct {

	// allow credits auto replenish
	AllowCreditsAutoReplenish bool `json:"allowCreditsAutoReplenish,omitempty"`

	// auto replenish amount
	AutoReplenishAmount float32 `json:"autoReplenishAmount,omitempty"`

	// auto replenish threshold
	AutoReplenishThreshold float32 `json:"autoReplenishThreshold,omitempty"`

	// Whether or not to charge the project account
	BudgetingEnabled bool `json:"budgetingEnabled,omitempty"`

	// default machine image version
	DefaultMachineImageVersion string `json:"defaultMachineImageVersion,omitempty"`

	// default machine type
	DefaultMachineType string `json:"defaultMachineType,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// layout config
	LayoutConfig []*V1ProjectTab `json:"layoutConfig"`

	// use display_name instead
	Name string `json:"name,omitempty"`

	// Optional, only needed when user is creating a project under an organization
	OrganizationID string `json:"organizationId,omitempty"`

	// preferred cluster
	PreferredCluster string `json:"preferredCluster,omitempty"`

	// quotas
	Quotas *V1Quotas `json:"quotas,omitempty"`
}

V1CreateProjectRequest v1 create project request

swagger:model v1CreateProjectRequest

func (*V1CreateProjectRequest) ContextValidate ¶

func (m *V1CreateProjectRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 create project request based on the context it is used

func (*V1CreateProjectRequest) MarshalBinary ¶

func (m *V1CreateProjectRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateProjectRequest) UnmarshalBinary ¶

func (m *V1CreateProjectRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateProjectRequest) Validate ¶

func (m *V1CreateProjectRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create project request

type V1CreateServerAlertResponse ¶

type V1CreateServerAlertResponse any

V1CreateServerAlertResponse v1 create server alert response

swagger:model v1CreateServerAlertResponse

type V1CreateUserSecretRequest ¶

type V1CreateUserSecretRequest struct {

	// name
	Name string `json:"name,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

V1CreateUserSecretRequest v1 create user secret request

swagger:model v1CreateUserSecretRequest

func (*V1CreateUserSecretRequest) ContextValidate ¶

func (m *V1CreateUserSecretRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 create user secret request based on context it is used

func (*V1CreateUserSecretRequest) MarshalBinary ¶

func (m *V1CreateUserSecretRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CreateUserSecretRequest) UnmarshalBinary ¶

func (m *V1CreateUserSecretRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CreateUserSecretRequest) Validate ¶

func (m *V1CreateUserSecretRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create user secret request

type V1CudoDirectV1 ¶

type V1CudoDirectV1 struct {

	// Primary region stores user's code and data
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// Cudo project ID
	ProjectID string `json:"projectId,omitempty"`

	// We deploy the bare bones infrastructure into every region
	Regions []string `json:"regions"`

	// Whether to show the cluster as Lightning in the UI
	ShowAsLightning bool `json:"showAsLightning,omitempty"`
}

V1CudoDirectV1 v1 cudo direct v1

swagger:model v1CudoDirectV1

func (*V1CudoDirectV1) ContextValidate ¶

func (m *V1CudoDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 cudo direct v1 based on context it is used

func (*V1CudoDirectV1) MarshalBinary ¶

func (m *V1CudoDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CudoDirectV1) UnmarshalBinary ¶

func (m *V1CudoDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CudoDirectV1) Validate ¶

func (m *V1CudoDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 cudo direct v1

type V1CustomerNetwork ¶

type V1CustomerNetwork struct {

	// Customer-internal subnets reachable through the gateway
	Cidrs []string `json:"cidrs"`

	// Internal IP of the VPN gateway routing to this customer
	GatewayIP string `json:"gatewayIp,omitempty"`

	// Stable, unique identifier for the customer (names the per-customer firewall set)
	ID string `json:"id,omitempty"`
}

V1CustomerNetwork CustomerNetwork describes one customer's VPN-reachable internal network that the cluster's VMs may be granted access to.

swagger:model v1CustomerNetwork

func (*V1CustomerNetwork) ContextValidate ¶

func (m *V1CustomerNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 customer network based on context it is used

func (*V1CustomerNetwork) MarshalBinary ¶

func (m *V1CustomerNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CustomerNetwork) UnmarshalBinary ¶

func (m *V1CustomerNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CustomerNetwork) Validate ¶

func (m *V1CustomerNetwork) Validate(formats strfmt.Registry) error

Validate validates this v1 customer network

type V1DMAEntryLimit ¶

type V1DMAEntryLimit struct {

	// present
	Present bool `json:"present,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

V1DMAEntryLimit DMAEntryLimit is the LIVE vfio_iommu_type1 dma_entry_limit kernel value, read from sysfs. Grid's VM-mode setup persists a raised limit (>= 8M, needed so multi-GPU CUDA pinning doesn't exhaust it) via modprobe.d config, but this field is the runtime state, not that config: the module applies the persisted value only when it loads, so a freshly booted host (or one with no VMs yet) can still read the kernel default (65535) or have no file at all. present is false when the module isn't loaded (the sysfs file is absent), to distinguish "module not loaded" from a real 0.

swagger:model v1DMAEntryLimit

func (*V1DMAEntryLimit) ContextValidate ¶

func (m *V1DMAEntryLimit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 d m a entry limit based on context it is used

func (*V1DMAEntryLimit) MarshalBinary ¶

func (m *V1DMAEntryLimit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DMAEntryLimit) UnmarshalBinary ¶

func (m *V1DMAEntryLimit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DMAEntryLimit) Validate ¶

func (m *V1DMAEntryLimit) Validate(formats strfmt.Registry) error

Validate validates this v1 d m a entry limit

type V1DMIInfo ¶

type V1DMIInfo struct {

	// bios date
	BiosDate string `json:"biosDate,omitempty"`

	// bios vendor
	BiosVendor string `json:"biosVendor,omitempty"`

	// bios version
	BiosVersion string `json:"biosVersion,omitempty"`

	// board name
	BoardName string `json:"boardName,omitempty"`

	// board version
	BoardVersion string `json:"boardVersion,omitempty"`

	// product name
	ProductName string `json:"productName,omitempty"`

	// service tag
	ServiceTag string `json:"serviceTag,omitempty"`

	// sys vendor
	SysVendor string `json:"sysVendor,omitempty"`
}

V1DMIInfo DMIInfo is SMBIOS/DMI platform identity from /sys/class/dmi/id/. service_tag (the Dell service tag) is product_serial and is root-readable only, so it is empty when the agent lacks permission.

swagger:model v1DMIInfo

func (*V1DMIInfo) ContextValidate ¶

func (m *V1DMIInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 d m i info based on context it is used

func (*V1DMIInfo) MarshalBinary ¶

func (m *V1DMIInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DMIInfo) UnmarshalBinary ¶

func (m *V1DMIInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DMIInfo) Validate ¶

func (m *V1DMIInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 d m i info

type V1DataConnection ¶

type V1DataConnection struct {

	// The cloud account ids with which this data connection is associated
	AccessClusterIds []string `json:"accessClusterIds"`

	// Whether the data connection is accessible
	Accessible bool `json:"accessible,omitempty"`

	// aws
	Aws *V1AwsDataConnection `json:"aws,omitempty"`

	// The cloud account id with which this data connection is associated
	ClusterID string `json:"clusterId,omitempty"`

	// Creation time
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Disk data connection (external disk mounted to a machine, Mithril instances now)
	DiskDataConnection *V1DiskDataConnection `json:"diskDataConnection,omitempty"`

	// EFS configuration (handles efs data connections)
	Efs *V1EfsConfig `json:"efs,omitempty"`

	// Data connection error (if any, e.g. creation error for managed connections)
	Error string `json:"error,omitempty"`

	// GCP Filestore instance data connection
	Filestore *V1FilestoreDataConnection `json:"filestore,omitempty"`

	// gcp
	Gcp *V1GcpDataConnection `json:"gcp,omitempty"`

	// GS folder data connection
	GcsFolder *V1GCSFolderDataConnection `json:"gcsFolder,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// Bucket index to accelerate UI rendering
	Index *V1Index `json:"index,omitempty"`

	// Identifies data connections that are folders such as gcs_folders, s3_folders, r2_folders and efs folders that we do bill for actually.
	IsBillableFolder bool `json:"isBillableFolder,omitempty"`

	// Identifies data connections specifically used as caches for cloudspaces
	IsCache bool `json:"isCache,omitempty"`

	// If the data connection is Lightning-managed (the filesystem behind needs to be created/deleted/...)
	IsManaged bool `json:"isManaged,omitempty"`

	// If true, the data connection is public
	IsPublic bool `json:"isPublic,omitempty"`

	// If true, it will not be mounted as it's above storage limit
	LockOut bool `json:"lockOut,omitempty"`

	// lustre
	Lustre *V1LustreDataConnection `json:"lustre,omitempty"`

	// Generalisic field for mountable connections like VAST
	MountableDataConnection *V1MountableDataConnection `json:"mountableDataConnection,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// Total number of files in the data connection
	NumberOfFiles string `json:"numberOfFiles,omitempty"`

	// Optimization mode for the data connection
	OptimizationMode *V1DataConnectionOptimizationMode `json:"optimizationMode,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// Cloudflare R2 data connection (can be Lightning-managed or not)
	R2 *V1R2DataConnection `json:"r2,omitempty"`

	// Used for rclone
	RunCmds []string `json:"runCmds"`

	// S3 folder data connection
	S3Folder *V1S3FolderDataConnection `json:"s3Folder,omitempty"`

	// snowflake
	Snowflake *V1SnowflakeDataConnection `json:"snowflake,omitempty"`

	// SSHFS mount (e.g. Slurm cluster filesystem)
	Sshfs *V1SshfsDataConnection `json:"sshfs,omitempty"`

	// To track the data connection state if is managed (creation for a new EFS folder for now)
	State *V1DataConnectionState `json:"state,omitempty"`

	// Used to track the daily read bytes for drive assets (like efs) that a customer utilizes. This will help us ensure that we're presenting the customer with the more accurate look at their EFS cost footprint.
	TotalDailyReadBytes string `json:"totalDailyReadBytes,omitempty"`

	// Used to track the daily write bytes for drive assets (like write) that a customer utilizes. This will help us ensure that we're presenting the customer with the more accurate look at their EFS cost footprint.
	TotalDailyWriteBytes string `json:"totalDailyWriteBytes,omitempty"`

	// Total size of the data connection in bytes
	TotalSizeBytes string `json:"totalSizeBytes,omitempty"`

	// type of data connection
	Type string `json:"type,omitempty"`

	// Last updated time
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// If true, allow writing to the data connection folder
	Writable bool `json:"writable,omitempty"`
}

V1DataConnection v1 data connection

swagger:model v1DataConnection

func (*V1DataConnection) ContextValidate ¶

func (m *V1DataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 data connection based on the context it is used

func (*V1DataConnection) MarshalBinary ¶

func (m *V1DataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DataConnection) UnmarshalBinary ¶

func (m *V1DataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DataConnection) Validate ¶

func (m *V1DataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 data connection

type V1DataConnectionMount ¶

type V1DataConnectionMount struct {

	// Not used right now
	Destination string `json:"destination,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// Is needed for duplication: only published data connection mounts will be copied
	IsPublished bool `json:"isPublished,omitempty"`

	// prefix
	Prefix string `json:"prefix,omitempty"`

	// status
	Status *DataConnectionMountDataConnectionMountCopyStatus `json:"status,omitempty"`
}

V1DataConnectionMount The Id is the uuid of the Data Connection. If id is empty, the prefix needs to be populated as it is a reference to our own internal s3 bucket

swagger:model v1DataConnectionMount

func (*V1DataConnectionMount) ContextValidate ¶

func (m *V1DataConnectionMount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 data connection mount based on the context it is used

func (*V1DataConnectionMount) MarshalBinary ¶

func (m *V1DataConnectionMount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DataConnectionMount) UnmarshalBinary ¶

func (m *V1DataConnectionMount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DataConnectionMount) Validate ¶

func (m *V1DataConnectionMount) Validate(formats strfmt.Registry) error

Validate validates this v1 data connection mount

type V1DataConnectionOptimizationMode ¶

type V1DataConnectionOptimizationMode string

V1DataConnectionOptimizationMode - DATA_CONNECTION_OPTIMIZATION_MODE_PACKED: Packed mode is settable only at creation, on an empty R2 folder, for accounts with the feature enabled. It cannot be changed after creation.

swagger:model v1DataConnectionOptimizationMode

const (

	// V1DataConnectionOptimizationModeDATACONNECTIONOPTIMIZATIONMODEUNSPECIFIED captures enum value "DATA_CONNECTION_OPTIMIZATION_MODE_UNSPECIFIED"
	V1DataConnectionOptimizationModeDATACONNECTIONOPTIMIZATIONMODEUNSPECIFIED V1DataConnectionOptimizationMode = "DATA_CONNECTION_OPTIMIZATION_MODE_UNSPECIFIED"

	// V1DataConnectionOptimizationModeDATACONNECTIONOPTIMIZATIONMODEREADWRITEOPTIMIZED captures enum value "DATA_CONNECTION_OPTIMIZATION_MODE_READ_WRITE_OPTIMIZED"
	V1DataConnectionOptimizationModeDATACONNECTIONOPTIMIZATIONMODEREADWRITEOPTIMIZED V1DataConnectionOptimizationMode = "DATA_CONNECTION_OPTIMIZATION_MODE_READ_WRITE_OPTIMIZED"

	// V1DataConnectionOptimizationModeDATACONNECTIONOPTIMIZATIONMODEPACKED captures enum value "DATA_CONNECTION_OPTIMIZATION_MODE_PACKED"
	V1DataConnectionOptimizationModeDATACONNECTIONOPTIMIZATIONMODEPACKED V1DataConnectionOptimizationMode = "DATA_CONNECTION_OPTIMIZATION_MODE_PACKED"
)

func (V1DataConnectionOptimizationMode) ContextValidate ¶

func (m V1DataConnectionOptimizationMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 data connection optimization mode based on context it is used

func (V1DataConnectionOptimizationMode) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1DataConnectionOptimizationMode.

func (V1DataConnectionOptimizationMode) Validate ¶

Validate validates this v1 data connection optimization mode

type V1DataConnectionState ¶

type V1DataConnectionState string

V1DataConnectionState To track data connection state if it's dynamic

swagger:model v1DataConnectionState

const (

	// V1DataConnectionStateDATACONNECTIONSTATEUNSPECIFIED captures enum value "DATA_CONNECTION_STATE_UNSPECIFIED"
	V1DataConnectionStateDATACONNECTIONSTATEUNSPECIFIED V1DataConnectionState = "DATA_CONNECTION_STATE_UNSPECIFIED"

	// V1DataConnectionStateDATACONNECTIONSTATEPENDING captures enum value "DATA_CONNECTION_STATE_PENDING"
	V1DataConnectionStateDATACONNECTIONSTATEPENDING V1DataConnectionState = "DATA_CONNECTION_STATE_PENDING"

	// V1DataConnectionStateDATACONNECTIONSTATECREATING captures enum value "DATA_CONNECTION_STATE_CREATING"
	V1DataConnectionStateDATACONNECTIONSTATECREATING V1DataConnectionState = "DATA_CONNECTION_STATE_CREATING"

	// V1DataConnectionStateDATACONNECTIONSTATECREATED captures enum value "DATA_CONNECTION_STATE_CREATED"
	V1DataConnectionStateDATACONNECTIONSTATECREATED V1DataConnectionState = "DATA_CONNECTION_STATE_CREATED"

	// V1DataConnectionStateDATACONNECTIONSTATEFAILED captures enum value "DATA_CONNECTION_STATE_FAILED"
	V1DataConnectionStateDATACONNECTIONSTATEFAILED V1DataConnectionState = "DATA_CONNECTION_STATE_FAILED"
)

func NewV1DataConnectionState ¶

func NewV1DataConnectionState(value V1DataConnectionState) *V1DataConnectionState

func (V1DataConnectionState) ContextValidate ¶

func (m V1DataConnectionState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 data connection state based on context it is used

func (V1DataConnectionState) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1DataConnectionState.

func (V1DataConnectionState) Validate ¶

func (m V1DataConnectionState) Validate(formats strfmt.Registry) error

Validate validates this v1 data connection state

type V1DataConnectionTier ¶

type V1DataConnectionTier string

V1DataConnectionTier DataConnectionTier is used to configure a filesystem tier, e.g. for GCP Filestore or Nebius

swagger:model v1DataConnectionTier

const (

	// V1DataConnectionTierDATACONNECTIONTIERSSD captures enum value "DATA_CONNECTION_TIER_SSD"
	V1DataConnectionTierDATACONNECTIONTIERSSD V1DataConnectionTier = "DATA_CONNECTION_TIER_SSD"

	// V1DataConnectionTierDATACONNECTIONTIERHDD captures enum value "DATA_CONNECTION_TIER_HDD"
	V1DataConnectionTierDATACONNECTIONTIERHDD V1DataConnectionTier = "DATA_CONNECTION_TIER_HDD"
)

func NewV1DataConnectionTier ¶

func NewV1DataConnectionTier(value V1DataConnectionTier) *V1DataConnectionTier

func (V1DataConnectionTier) ContextValidate ¶

func (m V1DataConnectionTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 data connection tier based on context it is used

func (V1DataConnectionTier) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1DataConnectionTier.

func (V1DataConnectionTier) Validate ¶

func (m V1DataConnectionTier) Validate(formats strfmt.Registry) error

Validate validates this v1 data connection tier

type V1DataPath ¶

type V1DataPath struct {

	// Whether a single file should be uploaded
	SingleFile bool `json:"singleFile,omitempty"`

	// stored path
	StoredPath string `json:"storedPath,omitempty"`

	// target path
	TargetPath string `json:"targetPath,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

V1DataPath v1 data path

swagger:model v1DataPath

func (*V1DataPath) ContextValidate ¶

func (m *V1DataPath) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 data path based on context it is used

func (*V1DataPath) MarshalBinary ¶

func (m *V1DataPath) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DataPath) UnmarshalBinary ¶

func (m *V1DataPath) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DataPath) Validate ¶

func (m *V1DataPath) Validate(formats strfmt.Registry) error

Validate validates this v1 data path

type V1DeleteAPIKeyResponse ¶

type V1DeleteAPIKeyResponse any

V1DeleteAPIKeyResponse v1 delete API key response

swagger:model v1DeleteAPIKeyResponse

type V1DeleteAffiliateLinkResponse ¶

type V1DeleteAffiliateLinkResponse any

V1DeleteAffiliateLinkResponse v1 delete affiliate link response

swagger:model v1DeleteAffiliateLinkResponse

type V1DeleteCloudSpaceAppResponse ¶

type V1DeleteCloudSpaceAppResponse any

V1DeleteCloudSpaceAppResponse v1 delete cloud space app response

swagger:model v1DeleteCloudSpaceAppResponse

type V1DeleteCloudSpaceResponse ¶

type V1DeleteCloudSpaceResponse any

V1DeleteCloudSpaceResponse v1 delete cloud space response

swagger:model v1DeleteCloudSpaceResponse

type V1DeleteCloudSpaceSessionResponse ¶

type V1DeleteCloudSpaceSessionResponse any

V1DeleteCloudSpaceSessionResponse v1 delete cloud space session response

swagger:model v1DeleteCloudSpaceSessionResponse

type V1DeleteCloudSpaceVersionPublicationResponse ¶

type V1DeleteCloudSpaceVersionPublicationResponse any

V1DeleteCloudSpaceVersionPublicationResponse v1 delete cloud space version publication response

swagger:model v1DeleteCloudSpaceVersionPublicationResponse

type V1DeleteCloudSpaceVersionResponse ¶

type V1DeleteCloudSpaceVersionResponse any

V1DeleteCloudSpaceVersionResponse v1 delete cloud space version response

swagger:model v1DeleteCloudSpaceVersionResponse

type V1DeleteClusterCapacityReservationResponse ¶

type V1DeleteClusterCapacityReservationResponse any

V1DeleteClusterCapacityReservationResponse v1 delete cluster capacity reservation response

swagger:model v1DeleteClusterCapacityReservationResponse

type V1DeleteClusterEncryptionKeyResponse ¶

type V1DeleteClusterEncryptionKeyResponse any

V1DeleteClusterEncryptionKeyResponse v1 delete cluster encryption key response

swagger:model v1DeleteClusterEncryptionKeyResponse

type V1DeleteClusterProxyResponse ¶

type V1DeleteClusterProxyResponse any

V1DeleteClusterProxyResponse v1 delete cluster proxy response

swagger:model v1DeleteClusterProxyResponse

type V1DeleteClusterResponse ¶

type V1DeleteClusterResponse any

V1DeleteClusterResponse v1 delete cluster response

swagger:model v1DeleteClusterResponse

type V1DeleteClusterUsageRestrictionResponse ¶

type V1DeleteClusterUsageRestrictionResponse any

V1DeleteClusterUsageRestrictionResponse v1 delete cluster usage restriction response

swagger:model v1DeleteClusterUsageRestrictionResponse

type V1DeleteDataConnectionResponse ¶

type V1DeleteDataConnectionResponse any

V1DeleteDataConnectionResponse v1 delete data connection response

swagger:model v1DeleteDataConnectionResponse

type V1DeleteDeploymentAlertingPolicyResponse ¶

type V1DeleteDeploymentAlertingPolicyResponse struct {

	// deployment Id
	DeploymentID string `json:"deploymentId,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`
}

V1DeleteDeploymentAlertingPolicyResponse v1 delete deployment alerting policy response

swagger:model v1DeleteDeploymentAlertingPolicyResponse

func (*V1DeleteDeploymentAlertingPolicyResponse) ContextValidate ¶

ContextValidate validates this v1 delete deployment alerting policy response based on context it is used

func (*V1DeleteDeploymentAlertingPolicyResponse) MarshalBinary ¶

func (m *V1DeleteDeploymentAlertingPolicyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DeleteDeploymentAlertingPolicyResponse) UnmarshalBinary ¶

func (m *V1DeleteDeploymentAlertingPolicyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DeleteDeploymentAlertingPolicyResponse) Validate ¶

Validate validates this v1 delete deployment alerting policy response

type V1DeleteDeploymentReleaseResponse ¶

type V1DeleteDeploymentReleaseResponse any

V1DeleteDeploymentReleaseResponse v1 delete deployment release response

swagger:model v1DeleteDeploymentReleaseResponse

type V1DeleteDeploymentResponse ¶

type V1DeleteDeploymentResponse any

V1DeleteDeploymentResponse v1 delete deployment response

swagger:model v1DeleteDeploymentResponse

type V1DeleteJobResponse ¶

type V1DeleteJobResponse any

V1DeleteJobResponse v1 delete job response

swagger:model v1DeleteJobResponse

type V1DeleteLightningRunResponse ¶

type V1DeleteLightningRunResponse any

V1DeleteLightningRunResponse v1 delete lightning run response

swagger:model v1DeleteLightningRunResponse

type V1DeleteMachineAlertResponse ¶

type V1DeleteMachineAlertResponse any

V1DeleteMachineAlertResponse Empty response

swagger:model v1DeleteMachineAlertResponse

type V1DeleteMachineAlertsResponse ¶

type V1DeleteMachineAlertsResponse any

V1DeleteMachineAlertsResponse Empty response

swagger:model v1DeleteMachineAlertsResponse

type V1DeleteMachineResponse ¶

type V1DeleteMachineResponse any

V1DeleteMachineResponse DeleteMachineResponse represents the response after deleting a machine

Empty response ¶

swagger:model v1DeleteMachineResponse

type V1DeleteMultiMachineJobResponse ¶

type V1DeleteMultiMachineJobResponse any

V1DeleteMultiMachineJobResponse v1 delete multi machine job response

swagger:model v1DeleteMultiMachineJobResponse

type V1DeleteOrgClusterCapacityReservationResponse ¶

type V1DeleteOrgClusterCapacityReservationResponse any

V1DeleteOrgClusterCapacityReservationResponse v1 delete org cluster capacity reservation response

swagger:model v1DeleteOrgClusterCapacityReservationResponse

type V1DeleteOrgMembershipResponse ¶

type V1DeleteOrgMembershipResponse any

V1DeleteOrgMembershipResponse v1 delete org membership response

swagger:model v1DeleteOrgMembershipResponse

type V1DeleteOrgMembershipRoleBindingResponse ¶

type V1DeleteOrgMembershipRoleBindingResponse any

V1DeleteOrgMembershipRoleBindingResponse v1 delete org membership role binding response

swagger:model v1DeleteOrgMembershipRoleBindingResponse

type V1DeleteOrgRoleResponse ¶

type V1DeleteOrgRoleResponse any

V1DeleteOrgRoleResponse v1 delete org role response

swagger:model v1DeleteOrgRoleResponse

type V1DeleteOrganizationResponse ¶

type V1DeleteOrganizationResponse any

V1DeleteOrganizationResponse v1 delete organization response

swagger:model v1DeleteOrganizationResponse

type V1DeleteProjectClusterBindingResponse ¶

type V1DeleteProjectClusterBindingResponse any

V1DeleteProjectClusterBindingResponse v1 delete project cluster binding response

swagger:model v1DeleteProjectClusterBindingResponse

type V1DeleteProjectClusterResponse ¶

type V1DeleteProjectClusterResponse any

V1DeleteProjectClusterResponse v1 delete project cluster response

swagger:model v1DeleteProjectClusterResponse

type V1DeleteProjectMembershipResponse ¶

type V1DeleteProjectMembershipResponse any

V1DeleteProjectMembershipResponse v1 delete project membership response

swagger:model v1DeleteProjectMembershipResponse

type V1DeleteProjectMembershipRoleBindingResponse ¶

type V1DeleteProjectMembershipRoleBindingResponse any

V1DeleteProjectMembershipRoleBindingResponse v1 delete project membership role binding response

swagger:model v1DeleteProjectMembershipRoleBindingResponse

type V1DeleteProjectResponse ¶

type V1DeleteProjectResponse any

V1DeleteProjectResponse v1 delete project response

swagger:model v1DeleteProjectResponse

type V1DeleteProjectRoleResponse ¶

type V1DeleteProjectRoleResponse any

V1DeleteProjectRoleResponse v1 delete project role response

swagger:model v1DeleteProjectRoleResponse

type V1DeleteSecretResponse ¶

type V1DeleteSecretResponse any

V1DeleteSecretResponse v1 delete secret response

swagger:model v1DeleteSecretResponse

type V1DependencyCacheState ¶

type V1DependencyCacheState string

V1DependencyCacheState v1 dependency cache state

swagger:model v1DependencyCacheState

const (

	// V1DependencyCacheStateDEPENDENCYCACHESTATEUNSPECIFIED captures enum value "DEPENDENCY_CACHE_STATE_UNSPECIFIED"
	V1DependencyCacheStateDEPENDENCYCACHESTATEUNSPECIFIED V1DependencyCacheState = "DEPENDENCY_CACHE_STATE_UNSPECIFIED"

	// V1DependencyCacheStateDEPENDENCYCACHESTATESUCCESS captures enum value "DEPENDENCY_CACHE_STATE_SUCCESS"
	V1DependencyCacheStateDEPENDENCYCACHESTATESUCCESS V1DependencyCacheState = "DEPENDENCY_CACHE_STATE_SUCCESS"

	// V1DependencyCacheStateDEPENDENCYCACHESTATEFAILED captures enum value "DEPENDENCY_CACHE_STATE_FAILED"
	V1DependencyCacheStateDEPENDENCYCACHESTATEFAILED V1DependencyCacheState = "DEPENDENCY_CACHE_STATE_FAILED"
)

func NewV1DependencyCacheState ¶

func NewV1DependencyCacheState(value V1DependencyCacheState) *V1DependencyCacheState

func (V1DependencyCacheState) ContextValidate ¶

func (m V1DependencyCacheState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 dependency cache state based on context it is used

func (V1DependencyCacheState) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1DependencyCacheState.

func (V1DependencyCacheState) Validate ¶

func (m V1DependencyCacheState) Validate(formats strfmt.Registry) error

Validate validates this v1 dependency cache state

type V1DependencyFileInfo ¶

type V1DependencyFileInfo struct {

	// package manager
	PackageManager *V1PackageManager `json:"packageManager,omitempty"`

	// path
	Path string `json:"path,omitempty"`
}

V1DependencyFileInfo v1 dependency file info

swagger:model v1DependencyFileInfo

func (*V1DependencyFileInfo) ContextValidate ¶

func (m *V1DependencyFileInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 dependency file info based on the context it is used

func (*V1DependencyFileInfo) MarshalBinary ¶

func (m *V1DependencyFileInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DependencyFileInfo) UnmarshalBinary ¶

func (m *V1DependencyFileInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DependencyFileInfo) Validate ¶

func (m *V1DependencyFileInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 dependency file info

type V1Deployment ¶

type V1Deployment struct {

	// Source of deployment such as LitServe, LitModels etc.
	Source string `json:"Source,omitempty"`

	// Transient: warning keys the caller has acknowledged on create/update
	AcknowledgedWarnings []string `json:"acknowledgedWarnings"`

	// Whether the client can see logs for a managed deployment
	AllowLogs bool `json:"allowLogs,omitempty"`

	// The api standard used by this deployment (openai ...)
	APIStandard string `json:"apiStandard,omitempty"`

	// apis
	Apis []*V1DeploymentAPI `json:"apis"`

	// The id of the assistant used ad chat model that is powered by this deployment
	AssistantID string `json:"assistantId,omitempty"`

	// Autoscaling
	Autoscaling *V1AutoscalingSpec `json:"autoscaling,omitempty"`

	// Populated when the deployment has a BYOM sibling row
	ByomSpec *V1BYOMSpec `json:"byomSpec,omitempty"`

	// The id of the Studio if the deployment was created from the Studio Plugin
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// Read only
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// current state
	CurrentState *V1DeploymentState `json:"currentState,omitempty"`

	// Whether to enable more debug logs for this deployment
	Debug bool `json:"debug,omitempty"`

	// Whether the deployment is dedicated (no log access for consuming org users)
	Dedicated bool `json:"dedicated,omitempty"`

	// desired state
	DesiredState *V1DeploymentState `json:"desiredState,omitempty"`

	// Networking
	Endpoint *V1Endpoint `json:"endpoint,omitempty"`

	// Read only
	ID string `json:"id,omitempty"`

	// Whether the deployment was published
	IsPublished bool `json:"isPublished,omitempty"`

	// k8s deployment config
	K8sDeploymentConfig *V1K8sDeploymentConfig `json:"k8sDeploymentConfig,omitempty"`

	// Whether the deployment is managed e.g handled by Lightning.AI for a client
	Managed bool `json:"managed,omitempty"`

	// The id of the managed endpoint used by the deployment's assistant
	ManagedEndpointID string `json:"managedEndpointId,omitempty"`

	// Required
	Name string `json:"name,omitempty"`

	// Whether we want to enable oncall notification for this deployment
	OncallNotification bool `json:"oncallNotification,omitempty"`

	// The parameters of this deployment when created from a template
	ParameterSpec *V1ParameterizationSpec `json:"parameterSpec,omitempty"`

	// The id of the pipeline that this deployment belongs to
	PipelineID string `json:"pipelineId,omitempty"`

	// Required
	ProjectID string `json:"projectId,omitempty"`

	// Who should be receiving alerts
	Recipients *Externalv1ResourceScopedAlertingRecipients `json:"recipients,omitempty"`

	// Current release id
	ReleaseID string `json:"releaseId,omitempty"`

	// Transient: notes for the new release when creating/updating (feature-gated)
	ReleaseNotes string `json:"releaseNotes,omitempty"`

	// Current number of replicas (controlled by the autoscaler if autoscaling is enabled)
	Replicas int64 `json:"replicas,omitempty"`

	// If set, on replica shutdown the server will be moved back to overprovisioned state
	ReuseServers bool `json:"reuseServers,omitempty"`

	// Compute + run configuration
	Spec *V1JobSpec `json:"spec,omitempty"`

	// status
	Status *V1DeploymentStatus `json:"status,omitempty"`

	// strategy
	Strategy *V1DeploymentStrategy `json:"strategy,omitempty"`

	// Whether this deployment is running in production environment (for alerting and observability)
	SupportsProdDeployment bool `json:"supportsProdDeployment,omitempty"`

	// The id of the Template if the deployment was created from the AI Hub
	TemplateID string `json:"templateId,omitempty"`

	// The total cost of the deployment
	TotalCost float32 `json:"totalCost,omitempty"`

	// Read only
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Read only
	UserID string `json:"userId,omitempty"`

	// The visibility of the deployment to users
	Visibility *V1ResourceVisibility `json:"visibility,omitempty"`

	// Kind-specific config. At most one should be set; unset defaults to vm-instances.
	VMInstancesConfig V1VMInstancesConfig `json:"vmInstancesConfig,omitempty"`

	// Bumped on each ReloadDeploymentWeights call; sidecars poll this to detect user-triggered reloads
	WeightVersion string `json:"weightVersion,omitempty"`
}

V1Deployment v1 deployment

swagger:model v1Deployment

func (*V1Deployment) ContextValidate ¶

func (m *V1Deployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 deployment based on the context it is used

func (*V1Deployment) MarshalBinary ¶

func (m *V1Deployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Deployment) UnmarshalBinary ¶

func (m *V1Deployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Deployment) Validate ¶

func (m *V1Deployment) Validate(formats strfmt.Registry) error

Validate validates this v1 deployment

type V1DeploymentAPI ¶

type V1DeploymentAPI struct {

	// body
	Body *V1Body `json:"body,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// headers
	Headers []*V1Header `json:"headers"`

	// id
	ID string `json:"id,omitempty"`

	// method
	Method string `json:"method,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// port
	Port int64 `json:"port,omitempty"`

	// query params
	QueryParams []*V1QueryParam `json:"queryParams"`
}

V1DeploymentAPI v1 deployment API

swagger:model v1DeploymentAPI

func (*V1DeploymentAPI) ContextValidate ¶

func (m *V1DeploymentAPI) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 deployment API based on the context it is used

func (*V1DeploymentAPI) MarshalBinary ¶

func (m *V1DeploymentAPI) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DeploymentAPI) UnmarshalBinary ¶

func (m *V1DeploymentAPI) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DeploymentAPI) Validate ¶

func (m *V1DeploymentAPI) Validate(formats strfmt.Registry) error

Validate validates this v1 deployment API

type V1DeploymentAlertingEvent ¶

type V1DeploymentAlertingEvent struct {

	// alerting policy Id
	AlertingPolicyID string `json:"alertingPolicyId,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// deployment Id
	DeploymentID string `json:"deploymentId,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// frequency
	Frequency *V1AlertingPolicyFrequency `json:"frequency,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// limit
	Limit float32 `json:"limit,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// operation
	Operation *V1AlertingPolicyOperation `json:"operation,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// severity
	Severity *V1AlertingPolicySeverity `json:"severity,omitempty"`

	// type
	Type *V1DeploymentAlertingPolicyType `json:"type,omitempty"`

	// value
	Value float32 `json:"value,omitempty"`

	// viewed
	Viewed bool `json:"viewed,omitempty"`
}

V1DeploymentAlertingEvent v1 deployment alerting event

swagger:model v1DeploymentAlertingEvent

func (*V1DeploymentAlertingEvent) ContextValidate ¶

func (m *V1DeploymentAlertingEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 deployment alerting event based on the context it is used

func (*V1DeploymentAlertingEvent) MarshalBinary ¶

func (m *V1DeploymentAlertingEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DeploymentAlertingEvent) UnmarshalBinary ¶

func (m *V1DeploymentAlertingEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DeploymentAlertingEvent) Validate ¶

func (m *V1DeploymentAlertingEvent) Validate(formats strfmt.Registry) error

Validate validates this v1 deployment alerting event

type V1DeploymentAlertingPolicy ¶

type V1DeploymentAlertingPolicy struct {

	// deployment Id
	DeploymentID string `json:"deploymentId,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// frequency
	Frequency *V1AlertingPolicyFrequency `json:"frequency,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// limit
	Limit float32 `json:"limit,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// operation
	Operation *V1AlertingPolicyOperation `json:"operation,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// recipients
	Recipients *Externalv1ResourceScopedAlertingRecipients `json:"recipients,omitempty"`

	// severity
	Severity *V1AlertingPolicySeverity `json:"severity,omitempty"`

	// type
	Type *V1DeploymentAlertingPolicyType `json:"type,omitempty"`

	// value
	Value float32 `json:"value,omitempty"`
}

V1DeploymentAlertingPolicy v1 deployment alerting policy

swagger:model v1DeploymentAlertingPolicy

func (*V1DeploymentAlertingPolicy) ContextValidate ¶

func (m *V1DeploymentAlertingPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 deployment alerting policy based on the context it is used

func (*V1DeploymentAlertingPolicy) MarshalBinary ¶

func (m *V1DeploymentAlertingPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DeploymentAlertingPolicy) UnmarshalBinary ¶

func (m *V1DeploymentAlertingPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DeploymentAlertingPolicy) Validate ¶

func (m *V1DeploymentAlertingPolicy) Validate(formats strfmt.Registry) error

Validate validates this v1 deployment alerting policy

type V1DeploymentAlertingPolicyType ¶

type V1DeploymentAlertingPolicyType string

V1DeploymentAlertingPolicyType v1 deployment alerting policy type

swagger:model v1DeploymentAlertingPolicyType

const (

	// V1DeploymentAlertingPolicyTypeTypeUnspecified captures enum value "TypeUnspecified"
	V1DeploymentAlertingPolicyTypeTypeUnspecified V1DeploymentAlertingPolicyType = "TypeUnspecified"

	// V1DeploymentAlertingPolicyTypeReplicaFailed captures enum value "ReplicaFailed"
	V1DeploymentAlertingPolicyTypeReplicaFailed V1DeploymentAlertingPolicyType = "ReplicaFailed"

	// V1DeploymentAlertingPolicyTypeDeploymentFailed captures enum value "DeploymentFailed"
	V1DeploymentAlertingPolicyTypeDeploymentFailed V1DeploymentAlertingPolicyType = "DeploymentFailed"

	// V1DeploymentAlertingPolicyTypeStatusCodes5xx captures enum value "StatusCodes5xx"
	V1DeploymentAlertingPolicyTypeStatusCodes5xx V1DeploymentAlertingPolicyType = "StatusCodes5xx"

	// V1DeploymentAlertingPolicyTypeStatusCodes4xx captures enum value "StatusCodes4xx"
	V1DeploymentAlertingPolicyTypeStatusCodes4xx V1DeploymentAlertingPolicyType = "StatusCodes4xx"

	// V1DeploymentAlertingPolicyTypeStatusCodes3xx captures enum value "StatusCodes3xx"
	V1DeploymentAlertingPolicyTypeStatusCodes3xx V1DeploymentAlertingPolicyType = "StatusCodes3xx"

	// V1DeploymentAlertingPolicyTypeStatusCodes2xx captures enum value "StatusCodes2xx"
	V1DeploymentAlertingPolicyTypeStatusCodes2xx V1DeploymentAlertingPolicyType = "StatusCodes2xx"

	// V1DeploymentAlertingPolicyTypeStatusCodes1xx captures enum value "StatusCodes1xx"
	V1DeploymentAlertingPolicyTypeStatusCodes1xx V1DeploymentAlertingPolicyType = "StatusCodes1xx"

	// V1DeploymentAlertingPolicyTypeThroughput captures enum value "Throughput"
	V1DeploymentAlertingPolicyTypeThroughput V1DeploymentAlertingPolicyType = "Throughput"

	// V1DeploymentAlertingPolicyTypeLatencyQ95 captures enum value "LatencyQ95"
	V1DeploymentAlertingPolicyTypeLatencyQ95 V1DeploymentAlertingPolicyType = "LatencyQ95"

	// V1DeploymentAlertingPolicyTypeDeploymentSuspended captures enum value "DeploymentSuspended"
	V1DeploymentAlertingPolicyTypeDeploymentSuspended V1DeploymentAlertingPolicyType = "DeploymentSuspended"

	// V1DeploymentAlertingPolicyTypeContainerUnhealthy captures enum value "ContainerUnhealthy"
	V1DeploymentAlertingPolicyTypeContainerUnhealthy V1DeploymentAlertingPolicyType = "ContainerUnhealthy"

	// V1DeploymentAlertingPolicyTypeReplicaUptime captures enum value "ReplicaUptime"
	V1DeploymentAlertingPolicyTypeReplicaUptime V1DeploymentAlertingPolicyType = "ReplicaUptime"
)

func (V1DeploymentAlertingPolicyType) ContextValidate ¶

func (m V1DeploymentAlertingPolicyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 deployment alerting policy type based on context it is used

func (V1DeploymentAlertingPolicyType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1DeploymentAlertingPolicyType.

func (V1DeploymentAlertingPolicyType) Validate ¶

Validate validates this v1 deployment alerting policy type

type V1DeploymentEvent ¶

type V1DeploymentEvent struct {

	// Action taken (create/delete/update)
	Action string `json:"action,omitempty"`

	// Read only
	DeploymentID string `json:"deploymentId,omitempty"`

	// Read only
	ID string `json:"id,omitempty"`

	// Job ID
	JobID string `json:"jobId,omitempty"`

	// Message is a human-readable description of the status of this operation
	Message string `json:"message,omitempty"`

	// Read only
	ProjectID string `json:"projectId,omitempty"`

	// Reason is why the action was taken. It is human-readable.
	Reason string `json:"reason,omitempty"`

	// Read only
	ReleaseID string `json:"releaseId,omitempty"`

	// Is the time when this Event was first observed
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`

	// Type is the type of this event (Info, Warning)
	Type *V1DeploymentEventType `json:"type,omitempty"`
}

V1DeploymentEvent DeploymentEvent is used to track and display deployment events such as scaling events, recovery (replica restarts, recreate), etc.

swagger:model v1DeploymentEvent

func (*V1DeploymentEvent) ContextValidate ¶

func (m *V1DeploymentEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 deployment event based on the context it is used

func (*V1DeploymentEvent) MarshalBinary ¶

func (m *V1DeploymentEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DeploymentEvent) UnmarshalBinary ¶

func (m *V1DeploymentEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DeploymentEvent) Validate ¶

func (m *V1DeploymentEvent) Validate(formats strfmt.Registry) error

Validate validates this v1 deployment event

type V1DeploymentEventType ¶

type V1DeploymentEventType string

V1DeploymentEventType v1 deployment event type

swagger:model v1DeploymentEventType

const (

	// V1DeploymentEventTypeDEPLOYMENTEVENTTYPEUNSPECIFIED captures enum value "DEPLOYMENT_EVENT_TYPE_UNSPECIFIED"
	V1DeploymentEventTypeDEPLOYMENTEVENTTYPEUNSPECIFIED V1DeploymentEventType = "DEPLOYMENT_EVENT_TYPE_UNSPECIFIED"

	// V1DeploymentEventTypeDEPLOYMENTEVENTTYPEINFO captures enum value "DEPLOYMENT_EVENT_TYPE_INFO"
	V1DeploymentEventTypeDEPLOYMENTEVENTTYPEINFO V1DeploymentEventType = "DEPLOYMENT_EVENT_TYPE_INFO"

	// V1DeploymentEventTypeDEPLOYMENTEVENTTYPEWARNING captures enum value "DEPLOYMENT_EVENT_TYPE_WARNING"
	V1DeploymentEventTypeDEPLOYMENTEVENTTYPEWARNING V1DeploymentEventType = "DEPLOYMENT_EVENT_TYPE_WARNING"
)

func NewV1DeploymentEventType ¶

func NewV1DeploymentEventType(value V1DeploymentEventType) *V1DeploymentEventType

func (V1DeploymentEventType) ContextValidate ¶

func (m V1DeploymentEventType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 deployment event type based on context it is used

func (V1DeploymentEventType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1DeploymentEventType.

func (V1DeploymentEventType) Validate ¶

func (m V1DeploymentEventType) Validate(formats strfmt.Registry) error

Validate validates this v1 deployment event type

type V1DeploymentRelease ¶

type V1DeploymentRelease struct {

	// Whether the release was archived
	Archived bool `json:"archived,omitempty"`

	// Read only
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Used to track the final state (running or failed) of the first ever created replica for this release
	FirstJobState string `json:"firstJobState,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// Optional notes for this release (feature-gated)
	Notes string `json:"notes,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// Current number of replicas (controlled by the autoscaler if autoscaling is enabled)
	Replicas int64 `json:"replicas,omitempty"`

	// Compute + run configuration
	Spec *V1JobSpec `json:"spec,omitempty"`

	// Read only (who created the release)
	UserID string `json:"userId,omitempty"`

	// The current version of the deployment release
	Version int32 `json:"version,omitempty"`
}

V1DeploymentRelease v1 deployment release

swagger:model v1DeploymentRelease

func (*V1DeploymentRelease) ContextValidate ¶

func (m *V1DeploymentRelease) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 deployment release based on the context it is used

func (*V1DeploymentRelease) MarshalBinary ¶

func (m *V1DeploymentRelease) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DeploymentRelease) UnmarshalBinary ¶

func (m *V1DeploymentRelease) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DeploymentRelease) Validate ¶

func (m *V1DeploymentRelease) Validate(formats strfmt.Registry) error

Validate validates this v1 deployment release

type V1DeploymentState ¶

type V1DeploymentState string

V1DeploymentState v1 deployment state

swagger:model v1DeploymentState

const (

	// V1DeploymentStateDEPLOYMENTSTATEUNSPECIFIED captures enum value "DEPLOYMENT_STATE_UNSPECIFIED"
	V1DeploymentStateDEPLOYMENTSTATEUNSPECIFIED V1DeploymentState = "DEPLOYMENT_STATE_UNSPECIFIED"

	// V1DeploymentStateDEPLOYMENTSTATERUNNING captures enum value "DEPLOYMENT_STATE_RUNNING"
	V1DeploymentStateDEPLOYMENTSTATERUNNING V1DeploymentState = "DEPLOYMENT_STATE_RUNNING"

	// V1DeploymentStateDEPLOYMENTSTATEPENDING captures enum value "DEPLOYMENT_STATE_PENDING"
	V1DeploymentStateDEPLOYMENTSTATEPENDING V1DeploymentState = "DEPLOYMENT_STATE_PENDING"

	// V1DeploymentStateDEPLOYMENTSTATEFAILED captures enum value "DEPLOYMENT_STATE_FAILED"
	V1DeploymentStateDEPLOYMENTSTATEFAILED V1DeploymentState = "DEPLOYMENT_STATE_FAILED"

	// V1DeploymentStateDEPLOYMENTSTATESCALEDTO0 captures enum value "DEPLOYMENT_STATE_SCALED_TO_0"
	V1DeploymentStateDEPLOYMENTSTATESCALEDTO0 V1DeploymentState = "DEPLOYMENT_STATE_SCALED_TO_0"

	// V1DeploymentStateDEPLOYMENTSTATESTOPPED captures enum value "DEPLOYMENT_STATE_STOPPED"
	V1DeploymentStateDEPLOYMENTSTATESTOPPED V1DeploymentState = "DEPLOYMENT_STATE_STOPPED"

	// V1DeploymentStateDEPLOYMENTSTATEDELETED captures enum value "DEPLOYMENT_STATE_DELETED"
	V1DeploymentStateDEPLOYMENTSTATEDELETED V1DeploymentState = "DEPLOYMENT_STATE_DELETED"

	// V1DeploymentStateDEPLOYMENTSTATEFROZEN captures enum value "DEPLOYMENT_STATE_FROZEN"
	V1DeploymentStateDEPLOYMENTSTATEFROZEN V1DeploymentState = "DEPLOYMENT_STATE_FROZEN"

	// V1DeploymentStateDEPLOYMENTSTATEBALANCESTOPPED captures enum value "DEPLOYMENT_STATE_BALANCE_STOPPED"
	V1DeploymentStateDEPLOYMENTSTATEBALANCESTOPPED V1DeploymentState = "DEPLOYMENT_STATE_BALANCE_STOPPED"

	// V1DeploymentStateDEPLOYMENTSTATESHADOWBANNED captures enum value "DEPLOYMENT_STATE_SHADOW_BANNED"
	V1DeploymentStateDEPLOYMENTSTATESHADOWBANNED V1DeploymentState = "DEPLOYMENT_STATE_SHADOW_BANNED"
)

func NewV1DeploymentState ¶

func NewV1DeploymentState(value V1DeploymentState) *V1DeploymentState

func (V1DeploymentState) ContextValidate ¶

func (m V1DeploymentState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 deployment state based on context it is used

func (V1DeploymentState) Pointer ¶

func (m V1DeploymentState) Pointer() *V1DeploymentState

Pointer returns a pointer to a freshly-allocated V1DeploymentState.

func (V1DeploymentState) Validate ¶

func (m V1DeploymentState) Validate(formats strfmt.Registry) error

Validate validates this v1 deployment state

type V1DeploymentStatus ¶

type V1DeploymentStatus struct {

	// deleting replicas
	DeletingReplicas int64 `json:"deletingReplicas,omitempty"`

	// failing replicas
	FailingReplicas int64 `json:"failingReplicas,omitempty"`

	// The state of the first job of the current release
	FirstJobStateCurrentRelease string `json:"firstJobStateCurrentRelease,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// pending replicas
	PendingReplicas int64 `json:"pendingReplicas,omitempty"`

	// queued replicas
	QueuedReplicas int64 `json:"queuedReplicas,omitempty"`

	// ready replicas
	ReadyReplicas int64 `json:"readyReplicas,omitempty"`

	// requires maintenance
	RequiresMaintenance bool `json:"requiresMaintenance,omitempty"`

	// requires maintenance started at
	// Format: date-time
	RequiresMaintenanceStartedAt strfmt.DateTime `json:"requiresMaintenanceStartedAt,omitempty"`

	// URLs to access the deployment
	Urls []string `json:"urls"`
}

V1DeploymentStatus v1 deployment status

swagger:model v1DeploymentStatus

func (*V1DeploymentStatus) ContextValidate ¶

func (m *V1DeploymentStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 deployment status based on context it is used

func (*V1DeploymentStatus) MarshalBinary ¶

func (m *V1DeploymentStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DeploymentStatus) UnmarshalBinary ¶

func (m *V1DeploymentStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DeploymentStatus) Validate ¶

func (m *V1DeploymentStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 deployment status

type V1DeploymentStrategy ¶

type V1DeploymentStrategy struct {

	// rolling update
	RollingUpdate *V1RollingUpdateStrategy `json:"rollingUpdate,omitempty"`

	// Can be 'Recreate', 'RollingUpdate', 'BlueGreen'
	Type string `json:"type,omitempty"`
}

V1DeploymentStrategy v1 deployment strategy

swagger:model v1DeploymentStrategy

func (*V1DeploymentStrategy) ContextValidate ¶

func (m *V1DeploymentStrategy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 deployment strategy based on the context it is used

func (*V1DeploymentStrategy) MarshalBinary ¶

func (m *V1DeploymentStrategy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DeploymentStrategy) UnmarshalBinary ¶

func (m *V1DeploymentStrategy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DeploymentStrategy) Validate ¶

func (m *V1DeploymentStrategy) Validate(formats strfmt.Registry) error

Validate validates this v1 deployment strategy

type V1DeploymentTemplateParameter ¶

type V1DeploymentTemplateParameter struct {

	// checkbox
	Checkbox *V1Checkbox `json:"checkbox,omitempty"`

	// data path
	DataPath *V1DataPath `json:"dataPath,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// input
	Input *V1Input `json:"input,omitempty"`

	// Used for the tooltip
	LongDescription string `json:"longDescription,omitempty"`

	// machines selector
	MachinesSelector *V1MachinesSelector `json:"machinesSelector,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// placements
	Placements []*V1DeploymentTemplateParameterPlacement `json:"placements"`

	// readonly
	Readonly bool `json:"readonly,omitempty"`

	// required
	Required bool `json:"required,omitempty"`

	// select
	Select *V1Select `json:"select,omitempty"`

	// short description
	ShortDescription string `json:"shortDescription,omitempty"`

	// type
	Type *V1DeploymentTemplateParameterType `json:"type,omitempty"`
}

V1DeploymentTemplateParameter v1 deployment template parameter

swagger:model v1DeploymentTemplateParameter

func (*V1DeploymentTemplateParameter) ContextValidate ¶

func (m *V1DeploymentTemplateParameter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 deployment template parameter based on the context it is used

func (*V1DeploymentTemplateParameter) MarshalBinary ¶

func (m *V1DeploymentTemplateParameter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DeploymentTemplateParameter) UnmarshalBinary ¶

func (m *V1DeploymentTemplateParameter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DeploymentTemplateParameter) Validate ¶

func (m *V1DeploymentTemplateParameter) Validate(formats strfmt.Registry) error

Validate validates this v1 deployment template parameter

type V1DeploymentTemplateParameterPlacement ¶

type V1DeploymentTemplateParameterPlacement string

V1DeploymentTemplateParameterPlacement v1 deployment template parameter placement

swagger:model v1DeploymentTemplateParameterPlacement

const (

	// V1DeploymentTemplateParameterPlacementDEPLOYMENTTEMPLATEUNSPECIFIED captures enum value "DEPLOYMENT_TEMPLATE_UNSPECIFIED"
	V1DeploymentTemplateParameterPlacementDEPLOYMENTTEMPLATEUNSPECIFIED V1DeploymentTemplateParameterPlacement = "DEPLOYMENT_TEMPLATE_UNSPECIFIED"

	// V1DeploymentTemplateParameterPlacementDEPLOYMENTTEMPLATECOMMAND captures enum value "DEPLOYMENT_TEMPLATE_COMMAND"
	V1DeploymentTemplateParameterPlacementDEPLOYMENTTEMPLATECOMMAND V1DeploymentTemplateParameterPlacement = "DEPLOYMENT_TEMPLATE_COMMAND"

	// V1DeploymentTemplateParameterPlacementDEPLOYMENTTEMPLATEENV captures enum value "DEPLOYMENT_TEMPLATE_ENV"
	V1DeploymentTemplateParameterPlacementDEPLOYMENTTEMPLATEENV V1DeploymentTemplateParameterPlacement = "DEPLOYMENT_TEMPLATE_ENV"

	// V1DeploymentTemplateParameterPlacementDEPLOYMENTTEMPLATEENTRYPOINT captures enum value "DEPLOYMENT_TEMPLATE_ENTRYPOINT"
	V1DeploymentTemplateParameterPlacementDEPLOYMENTTEMPLATEENTRYPOINT V1DeploymentTemplateParameterPlacement = "DEPLOYMENT_TEMPLATE_ENTRYPOINT"

	// V1DeploymentTemplateParameterPlacementDEPLOYMENTTEMPLATEIMAGE captures enum value "DEPLOYMENT_TEMPLATE_IMAGE"
	V1DeploymentTemplateParameterPlacementDEPLOYMENTTEMPLATEIMAGE V1DeploymentTemplateParameterPlacement = "DEPLOYMENT_TEMPLATE_IMAGE"
)

func (V1DeploymentTemplateParameterPlacement) ContextValidate ¶

ContextValidate validates this v1 deployment template parameter placement based on context it is used

func (V1DeploymentTemplateParameterPlacement) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1DeploymentTemplateParameterPlacement.

func (V1DeploymentTemplateParameterPlacement) Validate ¶

Validate validates this v1 deployment template parameter placement

type V1DeploymentTemplateParameterType ¶

type V1DeploymentTemplateParameterType string

V1DeploymentTemplateParameterType v1 deployment template parameter type

swagger:model v1DeploymentTemplateParameterType

const (

	// V1DeploymentTemplateParameterTypeDEPLOYMENTTEMPLATESELECT captures enum value "DEPLOYMENT_TEMPLATE_SELECT"
	V1DeploymentTemplateParameterTypeDEPLOYMENTTEMPLATESELECT V1DeploymentTemplateParameterType = "DEPLOYMENT_TEMPLATE_SELECT"

	// V1DeploymentTemplateParameterTypeDEPLOYMENTTEMPLATEINPUT captures enum value "DEPLOYMENT_TEMPLATE_INPUT"
	V1DeploymentTemplateParameterTypeDEPLOYMENTTEMPLATEINPUT V1DeploymentTemplateParameterType = "DEPLOYMENT_TEMPLATE_INPUT"

	// V1DeploymentTemplateParameterTypeDEPLOYMENTTEMPLATEDATAPATH captures enum value "DEPLOYMENT_TEMPLATE_DATA_PATH"
	V1DeploymentTemplateParameterTypeDEPLOYMENTTEMPLATEDATAPATH V1DeploymentTemplateParameterType = "DEPLOYMENT_TEMPLATE_DATA_PATH"

	// V1DeploymentTemplateParameterTypeDEPLOYMENTTEMPLATECHECKBOX captures enum value "DEPLOYMENT_TEMPLATE_CHECKBOX"
	V1DeploymentTemplateParameterTypeDEPLOYMENTTEMPLATECHECKBOX V1DeploymentTemplateParameterType = "DEPLOYMENT_TEMPLATE_CHECKBOX"

	// V1DeploymentTemplateParameterTypeDEPLOYMENTTEMPLATEMACHINESSELECTOR captures enum value "DEPLOYMENT_TEMPLATE_MACHINES_SELECTOR"
	V1DeploymentTemplateParameterTypeDEPLOYMENTTEMPLATEMACHINESSELECTOR V1DeploymentTemplateParameterType = "DEPLOYMENT_TEMPLATE_MACHINES_SELECTOR"
)

func (V1DeploymentTemplateParameterType) ContextValidate ¶

func (m V1DeploymentTemplateParameterType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 deployment template parameter type based on context it is used

func (V1DeploymentTemplateParameterType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1DeploymentTemplateParameterType.

func (V1DeploymentTemplateParameterType) Validate ¶

Validate validates this v1 deployment template parameter type

type V1DescribeOrgClusterCapacityReservationResponse ¶

type V1DescribeOrgClusterCapacityReservationResponse struct {

	// id
	ID string `json:"id,omitempty"`

	// num instances
	NumInstances int32 `json:"numInstances,omitempty"`

	// num instances available
	NumInstancesAvailable int32 `json:"numInstancesAvailable,omitempty"`

	// state
	State string `json:"state,omitempty"`
}

V1DescribeOrgClusterCapacityReservationResponse v1 describe org cluster capacity reservation response

swagger:model v1DescribeOrgClusterCapacityReservationResponse

func (*V1DescribeOrgClusterCapacityReservationResponse) ContextValidate ¶

ContextValidate validates this v1 describe org cluster capacity reservation response based on context it is used

func (*V1DescribeOrgClusterCapacityReservationResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*V1DescribeOrgClusterCapacityReservationResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*V1DescribeOrgClusterCapacityReservationResponse) Validate ¶

Validate validates this v1 describe org cluster capacity reservation response

type V1DeviceIsolationFitness ¶

type V1DeviceIsolationFitness struct {

	// bdf
	Bdf string `json:"bdf,omitempty"`

	// collected | skipped-nonroot | skipped-tool-missing | error
	CollectionState string `json:"collectionState,omitempty"`

	// foreign devices
	ForeignDevices []string `json:"foreignDevices"`

	// group devices
	GroupDevices int32 `json:"groupDevices,omitempty"`

	// iommu group
	IommuGroup string `json:"iommuGroup,omitempty"`

	// isolated
	Isolated bool `json:"isolated,omitempty"`
}

V1DeviceIsolationFitness DeviceIsolationFitness reports whether a passthrough device (GPU or Rail NIC) is isolated in its own IOMMU group. A device sharing an IOMMU group with host devices cannot be safely passed to a VM and will cause boot failures.

swagger:model v1DeviceIsolationFitness

func (*V1DeviceIsolationFitness) ContextValidate ¶

func (m *V1DeviceIsolationFitness) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 device isolation fitness based on context it is used

func (*V1DeviceIsolationFitness) MarshalBinary ¶

func (m *V1DeviceIsolationFitness) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DeviceIsolationFitness) UnmarshalBinary ¶

func (m *V1DeviceIsolationFitness) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DeviceIsolationFitness) Validate ¶

func (m *V1DeviceIsolationFitness) Validate(formats strfmt.Registry) error

Validate validates this v1 device isolation fitness

type V1DiskDataConnection ¶

type V1DiskDataConnection struct {

	// Disk capacity
	CapacityGb string `json:"capacityGb,omitempty"`

	// The name of the data connection
	Name string `json:"name,omitempty"`

	// The source (device path to mount)
	Source string `json:"source,omitempty"`
}

V1DiskDataConnection v1 disk data connection

swagger:model v1DiskDataConnection

func (*V1DiskDataConnection) ContextValidate ¶

func (m *V1DiskDataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 disk data connection based on context it is used

func (*V1DiskDataConnection) MarshalBinary ¶

func (m *V1DiskDataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DiskDataConnection) UnmarshalBinary ¶

func (m *V1DiskDataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DiskDataConnection) Validate ¶

func (m *V1DiskDataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 disk data connection

type V1DockerImage ¶

type V1DockerImage struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// size bytes
	SizeBytes string `json:"sizeBytes,omitempty"`

	// tags
	Tags []string `json:"tags"`
}

V1DockerImage v1 docker image

swagger:model v1DockerImage

func (*V1DockerImage) ContextValidate ¶

func (m *V1DockerImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 docker image based on context it is used

func (*V1DockerImage) MarshalBinary ¶

func (m *V1DockerImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DockerImage) UnmarshalBinary ¶

func (m *V1DockerImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DockerImage) Validate ¶

func (m *V1DockerImage) Validate(formats strfmt.Registry) error

Validate validates this v1 docker image

type V1DownloadJobLogsResponse ¶

type V1DownloadJobLogsResponse struct {

	// url
	URL string `json:"url,omitempty"`
}

V1DownloadJobLogsResponse v1 download job logs response

swagger:model v1DownloadJobLogsResponse

func (*V1DownloadJobLogsResponse) ContextValidate ¶

func (m *V1DownloadJobLogsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 download job logs response based on context it is used

func (*V1DownloadJobLogsResponse) MarshalBinary ¶

func (m *V1DownloadJobLogsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DownloadJobLogsResponse) UnmarshalBinary ¶

func (m *V1DownloadJobLogsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DownloadJobLogsResponse) Validate ¶

func (m *V1DownloadJobLogsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 download job logs response

type V1DrainMachineResponse ¶

type V1DrainMachineResponse any

V1DrainMachineResponse Empty response

swagger:model v1DrainMachineResponse

type V1Drive ¶

type V1Drive struct {

	// metadata
	Metadata *V1Metadata `json:"metadata,omitempty"`

	// spec
	Spec *V1DriveSpec `json:"spec,omitempty"`

	// status
	Status *V1DriveStatus `json:"status,omitempty"`
}

V1Drive v1 drive

swagger:model v1Drive

func (*V1Drive) ContextValidate ¶

func (m *V1Drive) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 drive based on the context it is used

func (*V1Drive) MarshalBinary ¶

func (m *V1Drive) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Drive) UnmarshalBinary ¶

func (m *V1Drive) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Drive) Validate ¶

func (m *V1Drive) Validate(formats strfmt.Registry) error

Validate validates this v1 drive

type V1DriveSpec ¶

type V1DriveSpec struct {

	// DriveType defines what kind of drive we are talking about, for example INDEXED_S3 or FSX
	DriveType *V1DriveType `json:"driveType,omitempty"`

	// DriveTypeSpec defines potentially additional necessary information for a given drive type, for example FSx capacity
	DriveTypeSpec V1DriveTypeSpec `json:"driveTypeSpec,omitempty"`

	// The location of the data, this field may be interpreted differently depending on the source type
	Source string `json:"source,omitempty"`

	// SourceType defines how the data is getting to our drive, for example S3 or DIRECT_UPLOAD
	SourceType *V1SourceType `json:"sourceType,omitempty"`
}

V1DriveSpec v1 drive spec

swagger:model v1DriveSpec

func (*V1DriveSpec) ContextValidate ¶

func (m *V1DriveSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 drive spec based on the context it is used

func (*V1DriveSpec) MarshalBinary ¶

func (m *V1DriveSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DriveSpec) UnmarshalBinary ¶

func (m *V1DriveSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DriveSpec) Validate ¶

func (m *V1DriveSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 drive spec

type V1DriveState ¶

type V1DriveState string

V1DriveState v1 drive state

swagger:model v1DriveState

const (

	// V1DriveStateDRIVESTATEUNSPECIFIED captures enum value "DRIVE_STATE_UNSPECIFIED"
	V1DriveStateDRIVESTATEUNSPECIFIED V1DriveState = "DRIVE_STATE_UNSPECIFIED"

	// V1DriveStateDRIVESTATECREATING captures enum value "DRIVE_STATE_CREATING"
	V1DriveStateDRIVESTATECREATING V1DriveState = "DRIVE_STATE_CREATING"

	// V1DriveStateDRIVESTATEAVAILABLE captures enum value "DRIVE_STATE_AVAILABLE"
	V1DriveStateDRIVESTATEAVAILABLE V1DriveState = "DRIVE_STATE_AVAILABLE"

	// V1DriveStateDRIVESTATEDELETING captures enum value "DRIVE_STATE_DELETING"
	V1DriveStateDRIVESTATEDELETING V1DriveState = "DRIVE_STATE_DELETING"

	// V1DriveStateDRIVESTATEDELETED captures enum value "DRIVE_STATE_DELETED"
	V1DriveStateDRIVESTATEDELETED V1DriveState = "DRIVE_STATE_DELETED"

	// V1DriveStateDRIVESTATEFAILED captures enum value "DRIVE_STATE_FAILED"
	V1DriveStateDRIVESTATEFAILED V1DriveState = "DRIVE_STATE_FAILED"
)

func NewV1DriveState ¶

func NewV1DriveState(value V1DriveState) *V1DriveState

func (V1DriveState) ContextValidate ¶

func (m V1DriveState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 drive state based on context it is used

func (V1DriveState) Pointer ¶

func (m V1DriveState) Pointer() *V1DriveState

Pointer returns a pointer to a freshly-allocated V1DriveState.

func (V1DriveState) Validate ¶

func (m V1DriveState) Validate(formats strfmt.Registry) error

Validate validates this v1 drive state

type V1DriveStateReason ¶

type V1DriveStateReason string

V1DriveStateReason v1 drive state reason

swagger:model v1DriveStateReason

const (

	// V1DriveStateReasonDRIVESTATEREASONUNSPECIFIED captures enum value "DRIVE_STATE_REASON_UNSPECIFIED"
	V1DriveStateReasonDRIVESTATEREASONUNSPECIFIED V1DriveStateReason = "DRIVE_STATE_REASON_UNSPECIFIED"

	// V1DriveStateReasonDRIVESTATEREASONCANNOTACCESSSOURCE captures enum value "DRIVE_STATE_REASON_CANNOT_ACCESS_SOURCE"
	V1DriveStateReasonDRIVESTATEREASONCANNOTACCESSSOURCE V1DriveStateReason = "DRIVE_STATE_REASON_CANNOT_ACCESS_SOURCE"

	// V1DriveStateReasonDRIVESTATEREASONINDEXINGFAILEDTOOMANYFILES captures enum value "DRIVE_STATE_REASON_INDEXING_FAILED_TOO_MANY_FILES"
	V1DriveStateReasonDRIVESTATEREASONINDEXINGFAILEDTOOMANYFILES V1DriveStateReason = "DRIVE_STATE_REASON_INDEXING_FAILED_TOO_MANY_FILES"
)

func NewV1DriveStateReason ¶

func NewV1DriveStateReason(value V1DriveStateReason) *V1DriveStateReason

func (V1DriveStateReason) ContextValidate ¶

func (m V1DriveStateReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 drive state reason based on context it is used

func (V1DriveStateReason) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1DriveStateReason.

func (V1DriveStateReason) Validate ¶

func (m V1DriveStateReason) Validate(formats strfmt.Registry) error

Validate validates this v1 drive state reason

type V1DriveStatus ¶

type V1DriveStatus struct {

	// Specific status fields for different drive types, for example FSx file system ID
	DriveTypeStatus V1DriveTypeStatus `json:"driveTypeStatus,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// phase
	Phase *V1DriveState `json:"phase,omitempty"`

	// reason
	Reason *V1DriveStateReason `json:"reason,omitempty"`

	// size bytes
	SizeBytes string `json:"sizeBytes,omitempty"`
}

V1DriveStatus v1 drive status

swagger:model v1DriveStatus

func (*V1DriveStatus) ContextValidate ¶

func (m *V1DriveStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 drive status based on the context it is used

func (*V1DriveStatus) MarshalBinary ¶

func (m *V1DriveStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1DriveStatus) UnmarshalBinary ¶

func (m *V1DriveStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1DriveStatus) Validate ¶

func (m *V1DriveStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 drive status

type V1DriveType ¶

type V1DriveType string

V1DriveType - DRIVE_TYPE_NO_MOUNT_S3: Non-mountable S3 drives only accessible via direct API calls

  • DRIVE_TYPE_INDEXED_S3: Mountable, read-only drives utilizing S3 indexing

swagger:model v1DriveType

const (

	// V1DriveTypeDRIVETYPEUNSPECIFIED captures enum value "DRIVE_TYPE_UNSPECIFIED"
	V1DriveTypeDRIVETYPEUNSPECIFIED V1DriveType = "DRIVE_TYPE_UNSPECIFIED"

	// V1DriveTypeDRIVETYPENOMOUNTS3 captures enum value "DRIVE_TYPE_NO_MOUNT_S3"
	V1DriveTypeDRIVETYPENOMOUNTS3 V1DriveType = "DRIVE_TYPE_NO_MOUNT_S3"

	// V1DriveTypeDRIVETYPEINDEXEDS3 captures enum value "DRIVE_TYPE_INDEXED_S3"
	V1DriveTypeDRIVETYPEINDEXEDS3 V1DriveType = "DRIVE_TYPE_INDEXED_S3"
)

func NewV1DriveType ¶

func NewV1DriveType(value V1DriveType) *V1DriveType

func (V1DriveType) ContextValidate ¶

func (m V1DriveType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 drive type based on context it is used

func (V1DriveType) Pointer ¶

func (m V1DriveType) Pointer() *V1DriveType

Pointer returns a pointer to a freshly-allocated V1DriveType.

func (V1DriveType) Validate ¶

func (m V1DriveType) Validate(formats strfmt.Registry) error

Validate validates this v1 drive type

type V1DriveTypeSpec ¶

type V1DriveTypeSpec any

V1DriveTypeSpec v1 drive type spec

swagger:model v1DriveTypeSpec

type V1DriveTypeStatus ¶

type V1DriveTypeStatus any

V1DriveTypeStatus v1 drive type status

swagger:model v1DriveTypeStatus

type V1EfsConfig ¶

type V1EfsConfig struct {

	// The ID of the EFS file system
	FileSystemID string `json:"fileSystemId,omitempty"`

	// EFS file system mount targets
	MountTargets []*V1MountTarget `json:"mountTargets"`

	// The region of the EFS file system
	Region string `json:"region,omitempty"`

	// The name of the EFS file system
	Source string `json:"source,omitempty"`
}

V1EfsConfig v1 efs config

swagger:model v1EfsConfig

func (*V1EfsConfig) ContextValidate ¶

func (m *V1EfsConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 efs config based on the context it is used

func (*V1EfsConfig) MarshalBinary ¶

func (m *V1EfsConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1EfsConfig) UnmarshalBinary ¶

func (m *V1EfsConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1EfsConfig) Validate ¶

func (m *V1EfsConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 efs config

type V1Endpoint ¶

type V1Endpoint struct {

	// auth
	Auth *V1EndpointAuth `json:"auth,omitempty"`

	// Model running on Lightning studio (self-managed)
	Cloudspace *V1UpstreamCloudSpace `json:"cloudspace,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// custom domain
	CustomDomain string `json:"customDomain,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// job
	Job *V1UpstreamJob `json:"job,omitempty"`

	// lightning subdomain
	LightningSubdomain string `json:"lightningSubdomain,omitempty"`

	// Lightning managed domains
	Managed *V1UpstreamManaged `json:"managed,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// OpenAI compatible API, can be OpenAI, TogetherAI, etc.
	Openai *V1UpstreamOpenAI `json:"openai,omitempty"`

	// Ports to expose, "*" for any port
	Ports []string `json:"ports"`

	// prewarm
	Prewarm *V1EndpointPrewarm `json:"prewarm,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// Whether the request should be proxy through the tired proxy
	Proxy bool `json:"proxy,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// urls
	Urls []string `json:"urls"`

	// Who created the endpoint
	UserID string `json:"userId,omitempty"`
}

V1Endpoint v1 endpoint

swagger:model v1Endpoint

func (*V1Endpoint) ContextValidate ¶

func (m *V1Endpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 endpoint based on the context it is used

func (*V1Endpoint) MarshalBinary ¶

func (m *V1Endpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Endpoint) UnmarshalBinary ¶

func (m *V1Endpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Endpoint) Validate ¶

func (m *V1Endpoint) Validate(formats strfmt.Registry) error

Validate validates this v1 endpoint

type V1EndpointAuth ¶

type V1EndpointAuth struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// For Basic Auth
	Password string `json:"password,omitempty"`

	// For Authorization: Bearer XXX. Use tokens instead.
	Token string `json:"token,omitempty"`

	// For Authorization: Bearer XXX. Supports adding a replacement token before removing the old one.
	Tokens []string `json:"tokens"`

	// For authenticating users with user's Lightning API key
	UserAPIKey bool `json:"userApiKey,omitempty"`

	// For Basic Auth
	Username string `json:"username,omitempty"`
}

V1EndpointAuth v1 endpoint auth

swagger:model v1EndpointAuth

func (*V1EndpointAuth) ContextValidate ¶

func (m *V1EndpointAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 endpoint auth based on context it is used

func (*V1EndpointAuth) MarshalBinary ¶

func (m *V1EndpointAuth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1EndpointAuth) UnmarshalBinary ¶

func (m *V1EndpointAuth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1EndpointAuth) Validate ¶

func (m *V1EndpointAuth) Validate(formats strfmt.Registry) error

Validate validates this v1 endpoint auth

type V1EndpointPrewarm ¶

type V1EndpointPrewarm struct {

	// expected body contains
	ExpectedBodyContains string `json:"expectedBodyContains,omitempty"`

	// expected status codes
	ExpectedStatusCodes []string `json:"expectedStatusCodes"`

	// headers
	Headers map[string]string `json:"headers,omitempty"`

	// method
	Method string `json:"method,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// payload
	Payload string `json:"payload,omitempty"`
}

V1EndpointPrewarm v1 endpoint prewarm

swagger:model v1EndpointPrewarm

func (*V1EndpointPrewarm) ContextValidate ¶

func (m *V1EndpointPrewarm) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 endpoint prewarm based on context it is used

func (*V1EndpointPrewarm) MarshalBinary ¶

func (m *V1EndpointPrewarm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1EndpointPrewarm) UnmarshalBinary ¶

func (m *V1EndpointPrewarm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1EndpointPrewarm) Validate ¶

func (m *V1EndpointPrewarm) Validate(formats strfmt.Registry) error

Validate validates this v1 endpoint prewarm

type V1EndpointType ¶

type V1EndpointType string

V1EndpointType v1 endpoint type

swagger:model v1EndpointType

const (

	// V1EndpointTypeENDPOINTUNSPECIFIED captures enum value "ENDPOINT_UNSPECIFIED"
	V1EndpointTypeENDPOINTUNSPECIFIED V1EndpointType = "ENDPOINT_UNSPECIFIED"

	// V1EndpointTypeENDPOINTPLUGINAPI captures enum value "ENDPOINT_PLUGIN_API"
	V1EndpointTypeENDPOINTPLUGINAPI V1EndpointType = "ENDPOINT_PLUGIN_API"

	// V1EndpointTypeENDPOINTPLUGINPORT captures enum value "ENDPOINT_PLUGIN_PORT"
	V1EndpointTypeENDPOINTPLUGINPORT V1EndpointType = "ENDPOINT_PLUGIN_PORT"
)

func NewV1EndpointType ¶

func NewV1EndpointType(value V1EndpointType) *V1EndpointType

func (V1EndpointType) ContextValidate ¶

func (m V1EndpointType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 endpoint type based on context it is used

func (V1EndpointType) Pointer ¶

func (m V1EndpointType) Pointer() *V1EndpointType

Pointer returns a pointer to a freshly-allocated V1EndpointType.

func (V1EndpointType) Validate ¶

func (m V1EndpointType) Validate(formats strfmt.Registry) error

Validate validates this v1 endpoint type

type V1EnvVar ¶

type V1EnvVar struct {

	// from secret
	FromSecret string `json:"fromSecret,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

V1EnvVar v1 env var

swagger:model v1EnvVar

func (*V1EnvVar) ContextValidate ¶

func (m *V1EnvVar) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 env var based on context it is used

func (*V1EnvVar) MarshalBinary ¶

func (m *V1EnvVar) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1EnvVar) UnmarshalBinary ¶

func (m *V1EnvVar) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1EnvVar) Validate ¶

func (m *V1EnvVar) Validate(formats strfmt.Registry) error

Validate validates this v1 env var

type V1ExecuteCloudSpaceCommandResponse ¶

type V1ExecuteCloudSpaceCommandResponse struct {

	// exit code
	ExitCode int32 `json:"exitCode,omitempty"`

	// output
	Output string `json:"output,omitempty"`

	// session name
	SessionName string `json:"sessionName,omitempty"`
}

V1ExecuteCloudSpaceCommandResponse v1 execute cloud space command response

swagger:model v1ExecuteCloudSpaceCommandResponse

func (*V1ExecuteCloudSpaceCommandResponse) ContextValidate ¶

func (m *V1ExecuteCloudSpaceCommandResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 execute cloud space command response based on context it is used

func (*V1ExecuteCloudSpaceCommandResponse) MarshalBinary ¶

func (m *V1ExecuteCloudSpaceCommandResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ExecuteCloudSpaceCommandResponse) UnmarshalBinary ¶

func (m *V1ExecuteCloudSpaceCommandResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ExecuteCloudSpaceCommandResponse) Validate ¶

Validate validates this v1 execute cloud space command response

type V1ExecuteInCloudSpaceSessionResponse ¶

type V1ExecuteInCloudSpaceSessionResponse any

V1ExecuteInCloudSpaceSessionResponse v1 execute in cloud space session response

swagger:model v1ExecuteInCloudSpaceSessionResponse

type V1ExternalCluster ¶

type V1ExternalCluster struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// protected
	Protected bool `json:"protected,omitempty"`

	// spec
	Spec *V1ExternalClusterSpec `json:"spec,omitempty"`

	// status
	Status *V1ClusterStatus `json:"status,omitempty"`
}

V1ExternalCluster User-facing cluster representation This is used in the UI and API responses to represent clusters

swagger:model v1ExternalCluster

func (*V1ExternalCluster) ContextValidate ¶

func (m *V1ExternalCluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 external cluster based on the context it is used

func (*V1ExternalCluster) MarshalBinary ¶

func (m *V1ExternalCluster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ExternalCluster) UnmarshalBinary ¶

func (m *V1ExternalCluster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ExternalCluster) Validate ¶

func (m *V1ExternalCluster) Validate(formats strfmt.Registry) error

Validate validates this v1 external cluster

type V1ExternalClusterSpec ¶

type V1ExternalClusterSpec struct {

	// Auth token for the cluster (this is only used by the slurm, machine and kubernetes clusters)
	AuthToken string `json:"authToken,omitempty"`

	// Filters and enables accelerators for the cluster
	AvailableAccelerators []string `json:"availableAccelerators"`

	// Configuration for AWS
	AwsV1 *V1AWSDirectV1 `json:"awsV1,omitempty"`

	// Azure Cloud configuration
	AzureV1 *V1AzureDirectV1 `json:"azureV1,omitempty"`

	// Cloudflare Cloud configuration
	CloudflareV1 *V1CloudflareV1 `json:"cloudflareV1,omitempty"`

	// cluster type
	ClusterType *V1ClusterType `json:"clusterType,omitempty"`

	// For meta clusters (like the Lightning cluster) this is the clusters (in order) to grab availability from
	ComputeClusterIds []string `json:"computeClusterIds"`

	// compute cluster request
	ComputeClusterRequest *V1ComputeClusterRequest `json:"computeClusterRequest,omitempty"`

	// Cudo Cloud configuration
	CudoV1 *V1CudoDirectV1 `json:"cudoV1,omitempty"`

	// allow passing options if desired_state is DELETED
	DeletionOptions *V1ClusterDeletionOptions `json:"deletionOptions,omitempty"`

	// desired state
	DesiredState *V1ClusterState `json:"desiredState,omitempty"`

	// Root domain for deployments, endpoints, studio plugins, etc.
	Domain string `json:"domain,omitempty"`

	// If this set, we overwrite the cluster driver with this
	// (used by the DGX/Lightning clusters since otherwise they're GCP)
	Driver *V1CloudProvider `json:"driver,omitempty"`

	// Configuration for Google Cloud
	GoogleCloudV1 *V1GoogleCloudDirectV1 `json:"googleCloudV1,omitempty"`

	// Kubernetes Cloud configuration
	KubernetesV1 *V1KubernetesDirectV1 `json:"kubernetesV1,omitempty"`

	// LambdaLabs Cloud configuration
	LambdaLabsV1 *V1LambdaLabsDirectV1 `json:"lambdaLabsV1,omitempty"`

	// Lightning Elastic Cluster configuration
	LightningElasticClusterV1 V1LightningElasticClusterV1 `json:"lightningElasticClusterV1,omitempty"`

	// Locked availability zones (to request machines only there):
	LockedZones []string `json:"lockedZones"`

	// Machine Cloud configuration
	MachineV1 *V1MachineDirectV1 `json:"machineV1,omitempty"`

	// Mitral Cloud configuration
	MithrilV1 *V1MithrilDirectV1 `json:"mithrilV1,omitempty"`

	// Disables deletion of workloads when they fail the monitor's connectivity health checks
	MonitorDeletionDisabled bool `json:"monitorDeletionDisabled,omitempty"`

	// Nebius Cloud configuration
	NebiusV1 *V1NebiusDirectV1 `json:"nebiusV1,omitempty"`

	// instance overprovisioning settings per instance type / resource type
	Overprovisioning []*V1InstanceOverprovisioningSpec `json:"overprovisioning"`

	// Note: Some providers are missing object store in their offering, we will need to use a parent to act as its object store
	ParentClusterID string `json:"parentClusterId,omitempty"`

	// Type of the parent cluster
	ParentClusterType string `json:"parentClusterType,omitempty"`

	// pause automation
	PauseAutomation bool `json:"pauseAutomation,omitempty"`

	// Rafay Cloud configuration
	RafayV1 *V1RafayDirectV1 `json:"rafayV1,omitempty"`

	// Track reservation details for reserved capacity clusters
	ReservationDetails *V1ReservationDetails `json:"reservationDetails,omitempty"`

	// Whether the cluster is using for providing reserved capacity
	ReservedCapacityProvider bool `json:"reservedCapacityProvider,omitempty"`

	// Only use reserved instances
	ReservedInstancesOnly bool `json:"reservedInstancesOnly,omitempty"`

	// Security options for the cluster's instances
	SecurityOptions *V1ClusterSecurityOptions `json:"securityOptions,omitempty"`

	// Configuration for SLURM Clusters
	SlurmV1 *V1SlurmV1 `json:"slurmV1,omitempty"`

	// Tagging options for cluster's resources
	TaggingOptions *V1ClusterTaggingOptions `json:"taggingOptions,omitempty"`

	// Thundercat configuration
	ThunderCatV1 *V1ThunderCatDirectV1 `json:"thunderCatV1,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`

	// VoltagePark Cloud configuration
	VoltageParkV1 *V1VoltageParkDirectV1 `json:"voltageParkV1,omitempty"`

	// Vultr Cloud configuration
	VultrV1 *V1VultrDirectV1 `json:"vultrV1,omitempty"`
}

V1ExternalClusterSpec v1 external cluster spec

swagger:model v1ExternalClusterSpec

func (*V1ExternalClusterSpec) ContextValidate ¶

func (m *V1ExternalClusterSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 external cluster spec based on the context it is used

func (*V1ExternalClusterSpec) MarshalBinary ¶

func (m *V1ExternalClusterSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ExternalClusterSpec) UnmarshalBinary ¶

func (m *V1ExternalClusterSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ExternalClusterSpec) Validate ¶

func (m *V1ExternalClusterSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 external cluster spec

type V1ExternalSearchUser ¶

type V1ExternalSearchUser struct {

	// email
	Email string `json:"email,omitempty"`

	// first name
	FirstName string `json:"firstName,omitempty"`

	// user id
	ID string `json:"id,omitempty"`

	// internal
	Internal bool `json:"internal,omitempty"`

	// last name
	LastName string `json:"lastName,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`

	// profile picture
	PictureURL string `json:"pictureUrl,omitempty"`

	// role
	Role string `json:"role,omitempty"`

	// if the user is blocked or shadowbanned
	Sb bool `json:"sb,omitempty"`

	// username will be empty if it is email
	Username string `json:"username,omitempty"`
}

V1ExternalSearchUser v1 external search user

swagger:model v1ExternalSearchUser

func (*V1ExternalSearchUser) ContextValidate ¶

func (m *V1ExternalSearchUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 external search user based on context it is used

func (*V1ExternalSearchUser) MarshalBinary ¶

func (m *V1ExternalSearchUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ExternalSearchUser) UnmarshalBinary ¶

func (m *V1ExternalSearchUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ExternalSearchUser) Validate ¶

func (m *V1ExternalSearchUser) Validate(formats strfmt.Registry) error

Validate validates this v1 external search user

type V1FabricManagerHealth ¶

type V1FabricManagerHealth struct {

	// active
	Active bool `json:"active,omitempty"`

	// active since
	// Format: date-time
	ActiveSince strfmt.DateTime `json:"activeSince,omitempty"`

	// Exit code of the main process. 0 with result="success" means a
	// clean shutdown (operator stopped it); non-zero means it crashed.
	ExitStatus int32 `json:"exitStatus,omitempty"`

	// inactive since
	// Format: date-time
	InactiveSince strfmt.DateTime `json:"inactiveSince,omitempty"`

	// installed
	Installed bool `json:"installed,omitempty"`

	// recent log lines
	RecentLogLines []string `json:"recentLogLines"`

	// Bookkeeping for automatic recovery attempts.
	RestartState *V1FabricManagerRestartState `json:"restartState,omitempty"`

	// systemd Result, e.g. "success", "exit-code", "signal", "core-dump",
	// "watchdog", "timeout", "oom-kill". Distinguishes a clean stop
	// (Result="success") from a crash (Result="exit-code", etc.).
	Result string `json:"result,omitempty"`

	// systemd sub-state, e.g. "running", "dead", "failed", "exited".
	SubState string `json:"subState,omitempty"`

	// Whether the unit is enabled in systemd. If false, the operator
	// explicitly opted out of running fabric manager — we should respect
	// that and not auto-restart.
	UnitEnabled bool `json:"unitEnabled,omitempty"`
}

V1FabricManagerHealth v1 fabric manager health

swagger:model v1FabricManagerHealth

func (*V1FabricManagerHealth) ContextValidate ¶

func (m *V1FabricManagerHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 fabric manager health based on the context it is used

func (*V1FabricManagerHealth) MarshalBinary ¶

func (m *V1FabricManagerHealth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1FabricManagerHealth) UnmarshalBinary ¶

func (m *V1FabricManagerHealth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1FabricManagerHealth) Validate ¶

func (m *V1FabricManagerHealth) Validate(formats strfmt.Registry) error

Validate validates this v1 fabric manager health

type V1FabricManagerRestartState ¶

type V1FabricManagerRestartState struct {

	// attempt count
	AttemptCount int32 `json:"attemptCount,omitempty"`

	// last attempt
	// Format: date-time
	LastAttempt strfmt.DateTime `json:"lastAttempt,omitempty"`

	// Reason the most recent restart decision was made (or skipped),
	// e.g. "service exit-code", "cleanly stopped", "unit disabled",
	// "cooldown", "attempts exhausted". Useful for operators trying to
	// understand why FM did or didn't auto-recover.
	LastDecisionReason string `json:"lastDecisionReason,omitempty"`

	// last error
	LastError string `json:"lastError,omitempty"`

	// last successful
	// Format: date-time
	LastSuccessful strfmt.DateTime `json:"lastSuccessful,omitempty"`
}

V1FabricManagerRestartState v1 fabric manager restart state

swagger:model v1FabricManagerRestartState

func (*V1FabricManagerRestartState) ContextValidate ¶

func (m *V1FabricManagerRestartState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 fabric manager restart state based on context it is used

func (*V1FabricManagerRestartState) MarshalBinary ¶

func (m *V1FabricManagerRestartState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1FabricManagerRestartState) UnmarshalBinary ¶

func (m *V1FabricManagerRestartState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1FabricManagerRestartState) Validate ¶

func (m *V1FabricManagerRestartState) Validate(formats strfmt.Registry) error

Validate validates this v1 fabric manager restart state

type V1FilestoreDataConnection ¶

type V1FilestoreDataConnection struct {

	// If true, we will trigger capacity increase once the instance is full (important: requires specific cluster permissions)
	AutoIncreaseEnabled bool `json:"autoIncreaseEnabled,omitempty"`

	// Filestore instance capacity, minimum is 1024
	CapacityGb string `json:"capacityGb,omitempty"`

	// Internal IP to mount the filestore
	MountIP string `json:"mountIp,omitempty"`

	// The region of the filestore instance
	Region string `json:"region,omitempty"`

	// The name of the filestore instance
	Source string `json:"source,omitempty"`

	// Filestore tier, SSD or HDD
	Tier *V1DataConnectionTier `json:"tier,omitempty"`
}

V1FilestoreDataConnection v1 filestore data connection

swagger:model v1FilestoreDataConnection

func (*V1FilestoreDataConnection) ContextValidate ¶

func (m *V1FilestoreDataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 filestore data connection based on the context it is used

func (*V1FilestoreDataConnection) MarshalBinary ¶

func (m *V1FilestoreDataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1FilestoreDataConnection) UnmarshalBinary ¶

func (m *V1FilestoreDataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1FilestoreDataConnection) Validate ¶

func (m *V1FilestoreDataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 filestore data connection

type V1FilesystemUsage ¶

type V1FilesystemUsage struct {

	// free for root (>= free_bytes)
	AvailableBytes string `json:"availableBytes,omitempty"`

	// e.g. "/dev/nvme0n1p2"
	Device string `json:"device,omitempty"`

	// free for unprivileged users
	FreeBytes string `json:"freeBytes,omitempty"`

	// e.g. "ext4", "xfs"
	Fstype string `json:"fstype,omitempty"`

	// inodes free
	InodesFree string `json:"inodesFree,omitempty"`

	// inodes total
	InodesTotal string `json:"inodesTotal,omitempty"`

	// inodes used
	InodesUsed string `json:"inodesUsed,omitempty"`

	// e.g. "/", "/var/lib/grid"
	Mountpoint string `json:"mountpoint,omitempty"`

	// total bytes
	TotalBytes string `json:"totalBytes,omitempty"`

	// derived: total - free
	UsedBytes string `json:"usedBytes,omitempty"`
}

V1FilesystemUsage v1 filesystem usage

swagger:model v1FilesystemUsage

func (*V1FilesystemUsage) ContextValidate ¶

func (m *V1FilesystemUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 filesystem usage based on context it is used

func (*V1FilesystemUsage) MarshalBinary ¶

func (m *V1FilesystemUsage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1FilesystemUsage) UnmarshalBinary ¶

func (m *V1FilesystemUsage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1FilesystemUsage) Validate ¶

func (m *V1FilesystemUsage) Validate(formats strfmt.Registry) error

Validate validates this v1 filesystem usage

type V1FindCapacityBlockOfferingResponse ¶

type V1FindCapacityBlockOfferingResponse struct {

	// capacity block offerings
	CapacityBlockOfferings []*V1CapacityBlockOffering `json:"capacityBlockOfferings"`

	// regions without quota
	RegionsWithoutQuota []string `json:"regionsWithoutQuota"`
}

V1FindCapacityBlockOfferingResponse v1 find capacity block offering response

swagger:model v1FindCapacityBlockOfferingResponse

func (*V1FindCapacityBlockOfferingResponse) ContextValidate ¶

func (m *V1FindCapacityBlockOfferingResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 find capacity block offering response based on the context it is used

func (*V1FindCapacityBlockOfferingResponse) MarshalBinary ¶

func (m *V1FindCapacityBlockOfferingResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1FindCapacityBlockOfferingResponse) UnmarshalBinary ¶

func (m *V1FindCapacityBlockOfferingResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1FindCapacityBlockOfferingResponse) Validate ¶

Validate validates this v1 find capacity block offering response

type V1FirewallRule ¶

type V1FirewallRule struct {

	// name
	Name string `json:"name,omitempty"`

	// Port or a range of ports to allow,  e.g. 26600 or 0-65535
	Ports string `json:"ports,omitempty"`

	// List of source CIDRs, e.g. 0.0.0.0/0
	SourceCidrs []string `json:"sourceCidrs"`
}

V1FirewallRule v1 firewall rule

swagger:model v1FirewallRule

func (*V1FirewallRule) ContextValidate ¶

func (m *V1FirewallRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 firewall rule based on context it is used

func (*V1FirewallRule) MarshalBinary ¶

func (m *V1FirewallRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1FirewallRule) UnmarshalBinary ¶

func (m *V1FirewallRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1FirewallRule) Validate ¶

func (m *V1FirewallRule) Validate(formats strfmt.Registry) error

Validate validates this v1 firewall rule

type V1Flowserver ¶

type V1Flowserver struct {

	// id
	ID string `json:"id,omitempty"`

	// Server name / Flow name will be used to identify the server
	// object and then will be used to serve
	Name string `json:"name,omitempty"`
}

V1Flowserver v1 flowserver

swagger:model v1Flowserver

func (*V1Flowserver) ContextValidate ¶

func (m *V1Flowserver) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 flowserver based on context it is used

func (*V1Flowserver) MarshalBinary ¶

func (m *V1Flowserver) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Flowserver) UnmarshalBinary ¶

func (m *V1Flowserver) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Flowserver) Validate ¶

func (m *V1Flowserver) Validate(formats strfmt.Registry) error

Validate validates this v1 flowserver

type V1GCPDirectVPC ¶

type V1GCPDirectVPC struct {

	// Name of the VPC network
	NetworkName string `json:"networkName,omitempty"`

	// Region this subnet belongs to. When set, this entry is only used for
	// instances created in this region. When empty, the entry applies to any
	// region (backwards-compatible behaviour). This lets a cluster map a
	// differently-named subnet per region.
	Region string `json:"region,omitempty"`

	// Name of the subnet
	SubnetName string `json:"subnetName,omitempty"`
}

V1GCPDirectVPC v1 g c p direct v p c

swagger:model v1GCPDirectVPC

func (*V1GCPDirectVPC) ContextValidate ¶

func (m *V1GCPDirectVPC) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g c p direct v p c based on context it is used

func (*V1GCPDirectVPC) MarshalBinary ¶

func (m *V1GCPDirectVPC) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GCPDirectVPC) UnmarshalBinary ¶

func (m *V1GCPDirectVPC) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GCPDirectVPC) Validate ¶

func (m *V1GCPDirectVPC) Validate(formats strfmt.Registry) error

Validate validates this v1 g c p direct v p c

type V1GCSFolderDataConnection ¶

type V1GCSFolderDataConnection struct {

	// The full path of the GS folder
	Source string `json:"source,omitempty"`
}

V1GCSFolderDataConnection v1 g c s folder data connection

swagger:model v1GCSFolderDataConnection

func (*V1GCSFolderDataConnection) ContextValidate ¶

func (m *V1GCSFolderDataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g c s folder data connection based on context it is used

func (*V1GCSFolderDataConnection) MarshalBinary ¶

func (m *V1GCSFolderDataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GCSFolderDataConnection) UnmarshalBinary ¶

func (m *V1GCSFolderDataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GCSFolderDataConnection) Validate ¶

func (m *V1GCSFolderDataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 g c s folder data connection

type V1GPUCreateHostCrash ¶

type V1GPUCreateHostCrash struct {

	// blocked
	Blocked bool `json:"blocked,omitempty"`

	// consecutive
	Consecutive int32 `json:"consecutive,omitempty"`

	// fingerprint
	Fingerprint string `json:"fingerprint,omitempty"`

	// ghes-pcie or vfio-hda.
	Kind string `json:"kind,omitempty"`

	// pci device
	PciDevice string `json:"pciDevice,omitempty"`

	// probe
	Probe bool `json:"probe,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`
}

V1GPUCreateHostCrash GPUCreateHostCrash is the agent's sticky marker after a host panic during GPU attach (GHES fatal PCIe) or a vfio-pci HDA hang. GPU VM creates are refused while blocked; after a later healthy boot one probe create is allowed.

swagger:model v1GPUCreateHostCrash

func (*V1GPUCreateHostCrash) ContextValidate ¶

func (m *V1GPUCreateHostCrash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g p u create host crash based on context it is used

func (*V1GPUCreateHostCrash) MarshalBinary ¶

func (m *V1GPUCreateHostCrash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GPUCreateHostCrash) UnmarshalBinary ¶

func (m *V1GPUCreateHostCrash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GPUCreateHostCrash) Validate ¶

func (m *V1GPUCreateHostCrash) Validate(formats strfmt.Registry) error

Validate validates this v1 g p u create host crash

type V1GPUDiagnosticBindingInfo ¶

type V1GPUDiagnosticBindingInfo struct {

	// driver
	Driver string `json:"driver,omitempty"`

	// pci address
	PciAddress string `json:"pciAddress,omitempty"`
}

V1GPUDiagnosticBindingInfo v1 g p u diagnostic binding info

swagger:model v1GPUDiagnosticBindingInfo

func (*V1GPUDiagnosticBindingInfo) ContextValidate ¶

func (m *V1GPUDiagnosticBindingInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g p u diagnostic binding info based on context it is used

func (*V1GPUDiagnosticBindingInfo) MarshalBinary ¶

func (m *V1GPUDiagnosticBindingInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GPUDiagnosticBindingInfo) UnmarshalBinary ¶

func (m *V1GPUDiagnosticBindingInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GPUDiagnosticBindingInfo) Validate ¶

func (m *V1GPUDiagnosticBindingInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 g p u diagnostic binding info

type V1GPUDiagnosticCUDAInitInfo ¶

type V1GPUDiagnosticCUDAInitInfo struct {

	// gpu count
	GpuCount int32 `json:"gpuCount,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// success
	Success bool `json:"success,omitempty"`
}

V1GPUDiagnosticCUDAInitInfo v1 g p u diagnostic c u d a init info

swagger:model v1GPUDiagnosticCUDAInitInfo

func (*V1GPUDiagnosticCUDAInitInfo) ContextValidate ¶

func (m *V1GPUDiagnosticCUDAInitInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g p u diagnostic c u d a init info based on context it is used

func (*V1GPUDiagnosticCUDAInitInfo) MarshalBinary ¶

func (m *V1GPUDiagnosticCUDAInitInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GPUDiagnosticCUDAInitInfo) UnmarshalBinary ¶

func (m *V1GPUDiagnosticCUDAInitInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GPUDiagnosticCUDAInitInfo) Validate ¶

func (m *V1GPUDiagnosticCUDAInitInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 g p u diagnostic c u d a init info

type V1GPUDiagnosticCheckResult ¶

type V1GPUDiagnosticCheckResult struct {

	// error
	Error string `json:"error,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

V1GPUDiagnosticCheckResult v1 g p u diagnostic check result

swagger:model v1GPUDiagnosticCheckResult

func (*V1GPUDiagnosticCheckResult) ContextValidate ¶

func (m *V1GPUDiagnosticCheckResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g p u diagnostic check result based on context it is used

func (*V1GPUDiagnosticCheckResult) MarshalBinary ¶

func (m *V1GPUDiagnosticCheckResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GPUDiagnosticCheckResult) UnmarshalBinary ¶

func (m *V1GPUDiagnosticCheckResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GPUDiagnosticCheckResult) Validate ¶

func (m *V1GPUDiagnosticCheckResult) Validate(formats strfmt.Registry) error

Validate validates this v1 g p u diagnostic check result

type V1GPUDiagnosticFabricManagerInfo ¶

type V1GPUDiagnosticFabricManagerInfo struct {

	// active
	Active bool `json:"active,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

V1GPUDiagnosticFabricManagerInfo v1 g p u diagnostic fabric manager info

swagger:model v1GPUDiagnosticFabricManagerInfo

func (*V1GPUDiagnosticFabricManagerInfo) ContextValidate ¶

func (m *V1GPUDiagnosticFabricManagerInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g p u diagnostic fabric manager info based on context it is used

func (*V1GPUDiagnosticFabricManagerInfo) MarshalBinary ¶

func (m *V1GPUDiagnosticFabricManagerInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GPUDiagnosticFabricManagerInfo) UnmarshalBinary ¶

func (m *V1GPUDiagnosticFabricManagerInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GPUDiagnosticFabricManagerInfo) Validate ¶

Validate validates this v1 g p u diagnostic fabric manager info

type V1GPUDiagnosticNVSwitchInfo ¶

type V1GPUDiagnosticNVSwitchInfo struct {

	// bound to
	BoundTo string `json:"boundTo,omitempty"`

	// devices
	Devices []string `json:"devices"`

	// present
	Present bool `json:"present,omitempty"`
}

V1GPUDiagnosticNVSwitchInfo v1 g p u diagnostic n v switch info

swagger:model v1GPUDiagnosticNVSwitchInfo

func (*V1GPUDiagnosticNVSwitchInfo) ContextValidate ¶

func (m *V1GPUDiagnosticNVSwitchInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g p u diagnostic n v switch info based on context it is used

func (*V1GPUDiagnosticNVSwitchInfo) MarshalBinary ¶

func (m *V1GPUDiagnosticNVSwitchInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GPUDiagnosticNVSwitchInfo) UnmarshalBinary ¶

func (m *V1GPUDiagnosticNVSwitchInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GPUDiagnosticNVSwitchInfo) Validate ¶

func (m *V1GPUDiagnosticNVSwitchInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 g p u diagnostic n v switch info

type V1GPUDiagnosticNvidiaDriverInfo ¶

type V1GPUDiagnosticNvidiaDriverInfo struct {

	// dkms status
	DkmsStatus string `json:"dkmsStatus,omitempty"`

	// driver version
	DriverVersion string `json:"driverVersion,omitempty"`

	// kernel modules
	KernelModules []string `json:"kernelModules"`

	// loaded
	Loaded bool `json:"loaded,omitempty"`
}

V1GPUDiagnosticNvidiaDriverInfo v1 g p u diagnostic nvidia driver info

swagger:model v1GPUDiagnosticNvidiaDriverInfo

func (*V1GPUDiagnosticNvidiaDriverInfo) ContextValidate ¶

func (m *V1GPUDiagnosticNvidiaDriverInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g p u diagnostic nvidia driver info based on context it is used

func (*V1GPUDiagnosticNvidiaDriverInfo) MarshalBinary ¶

func (m *V1GPUDiagnosticNvidiaDriverInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GPUDiagnosticNvidiaDriverInfo) UnmarshalBinary ¶

func (m *V1GPUDiagnosticNvidiaDriverInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GPUDiagnosticNvidiaDriverInfo) Validate ¶

Validate validates this v1 g p u diagnostic nvidia driver info

type V1GPUDiagnosticReport ¶

type V1GPUDiagnosticReport struct {

	// cuda init
	CudaInit *V1GPUDiagnosticCUDAInitInfo `json:"cudaInit,omitempty"`

	// fabric manager
	FabricManager *V1GPUDiagnosticFabricManagerInfo `json:"fabricManager,omitempty"`

	// gpu bindings
	GpuBindings []*V1GPUDiagnosticBindingInfo `json:"gpuBindings"`

	// hostname
	Hostname string `json:"hostname,omitempty"`

	// issue count
	IssueCount int32 `json:"issueCount,omitempty"`

	// nvidia driver
	NvidiaDriver *V1GPUDiagnosticNvidiaDriverInfo `json:"nvidiaDriver,omitempty"`

	// nvswitch
	Nvswitch *V1GPUDiagnosticNVSwitchInfo `json:"nvswitch,omitempty"`

	// summary
	Summary []*V1GPUDiagnosticCheckResult `json:"summary"`

	// timestamp
	Timestamp string `json:"timestamp,omitempty"`

	// userspace libs
	UserspaceLibs *V1GPUDiagnosticUserspaceLibInfo `json:"userspaceLibs,omitempty"`
}

V1GPUDiagnosticReport v1 g p u diagnostic report

swagger:model v1GPUDiagnosticReport

func (*V1GPUDiagnosticReport) ContextValidate ¶

func (m *V1GPUDiagnosticReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 g p u diagnostic report based on the context it is used

func (*V1GPUDiagnosticReport) MarshalBinary ¶

func (m *V1GPUDiagnosticReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GPUDiagnosticReport) UnmarshalBinary ¶

func (m *V1GPUDiagnosticReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GPUDiagnosticReport) Validate ¶

func (m *V1GPUDiagnosticReport) Validate(formats strfmt.Registry) error

Validate validates this v1 g p u diagnostic report

type V1GPUDiagnosticUserspaceLibInfo ¶

type V1GPUDiagnosticUserspaceLibInfo struct {

	// installed nvidia packages
	InstalledNvidiaPackages []string `json:"installedNvidiaPackages"`

	// libcuda version
	LibcudaVersion string `json:"libcudaVersion,omitempty"`
}

V1GPUDiagnosticUserspaceLibInfo v1 g p u diagnostic userspace lib info

swagger:model v1GPUDiagnosticUserspaceLibInfo

func (*V1GPUDiagnosticUserspaceLibInfo) ContextValidate ¶

func (m *V1GPUDiagnosticUserspaceLibInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g p u diagnostic userspace lib info based on context it is used

func (*V1GPUDiagnosticUserspaceLibInfo) MarshalBinary ¶

func (m *V1GPUDiagnosticUserspaceLibInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GPUDiagnosticUserspaceLibInfo) UnmarshalBinary ¶

func (m *V1GPUDiagnosticUserspaceLibInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GPUDiagnosticUserspaceLibInfo) Validate ¶

Validate validates this v1 g p u diagnostic userspace lib info

type V1GPUStatus ¶

type V1GPUStatus struct {

	// ecc uncorrectable
	EccUncorrectable string `json:"eccUncorrectable,omitempty"`

	// Raw nvidia-smi gpu_recovery_action value (for example "None", "Reset",
	// or "Drain and Reset"). Read with recovery_action_collection_state.
	GpuRecoveryAction string `json:"gpuRecoveryAction,omitempty"`

	// Host-side PCI BDF of the physical GPU passed through to this VM,
	// e.g. "0000:5d:00.0". Derived from the VM's GPU assignment on the
	// host, not from the guest's nvidia-smi (which reports a virtualized
	// PCI address). This is the stable identifier that matches host-side
	// `nvidia-smi -L`, `lspci`, dmesg lines, and the host's PCIDevice list.
	HostPciAddr string `json:"hostPciAddr,omitempty"`

	// index
	Index int32 `json:"index,omitempty"`

	// pci bus Id
	PciBusID string `json:"pciBusId,omitempty"`

	// power draw w
	PowerDrawW float64 `json:"powerDrawW,omitempty"`

	// Collection state for gpu_recovery_action. "collected" means the value is
	// authoritative, "unsupported" means the guest driver does not expose the
	// field, and "error" means collection failed. Empty is retained for older
	// agents.
	RecoveryActionCollectionState string `json:"recoveryActionCollectionState,omitempty"`

	// remapped rows uncorrectable
	RemappedRowsUncorrectable string `json:"remappedRowsUncorrectable,omitempty"`

	// Collection state for row_remap_pending and row_remap_failure.
	// "collected" means the values are authoritative, "unsupported" means the
	// guest driver does not expose them, and "error" means collection failed.
	// Empty is retained for older agents.
	RowRemapCollectionState string `json:"rowRemapCollectionState,omitempty"`

	// Active row-remap failure signal. Read with row_remap_collection_state.
	RowRemapFailure bool `json:"rowRemapFailure,omitempty"`

	// Active row-remap pending signal. remapped_rows_uncorrectable is a durable
	// historical count and must not be interpreted as an active failure by
	// itself. Read with row_remap_collection_state.
	RowRemapPending bool `json:"rowRemapPending,omitempty"`

	// serial
	Serial string `json:"serial,omitempty"`

	// temperature c
	TemperatureC int32 `json:"temperatureC,omitempty"`

	// throttle reasons
	ThrottleReasons string `json:"throttleReasons,omitempty"`

	// Stable NVIDIA GPU UUID. Appended for compatibility and used as an identity
	// fallback when host/guest PCI addresses or serial numbers are unavailable.
	UUID string `json:"uuid,omitempty"`
}

V1GPUStatus v1 g p u status

swagger:model v1GPUStatus

func (*V1GPUStatus) ContextValidate ¶

func (m *V1GPUStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g p u status based on context it is used

func (*V1GPUStatus) MarshalBinary ¶

func (m *V1GPUStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GPUStatus) UnmarshalBinary ¶

func (m *V1GPUStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GPUStatus) Validate ¶

func (m *V1GPUStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 g p u status

type V1GPUSystemMetrics ¶

type V1GPUSystemMetrics struct {

	// memory total
	MemoryTotal int64 `json:"memoryTotal,omitempty"`

	// memory used
	MemoryUsed int64 `json:"memoryUsed,omitempty"`

	// power draw
	PowerDraw int64 `json:"powerDraw,omitempty"`

	// temperature
	Temperature int64 `json:"temperature,omitempty"`

	// utilisation
	Utilisation int64 `json:"utilisation,omitempty"`

	// utilisation memory
	UtilisationMemory int64 `json:"utilisationMemory,omitempty"`
}

V1GPUSystemMetrics v1 g p u system metrics

swagger:model v1GPUSystemMetrics

func (*V1GPUSystemMetrics) ContextValidate ¶

func (m *V1GPUSystemMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g p u system metrics based on context it is used

func (*V1GPUSystemMetrics) MarshalBinary ¶

func (m *V1GPUSystemMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GPUSystemMetrics) UnmarshalBinary ¶

func (m *V1GPUSystemMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GPUSystemMetrics) Validate ¶

func (m *V1GPUSystemMetrics) Validate(formats strfmt.Registry) error

Validate validates this v1 g p u system metrics

type V1GcpDataConnection ¶

type V1GcpDataConnection struct {

	// When true, mount on non-GCP Studios via a downscoped token for the teamspace
	// service account. Default false (GCP-only).
	AvailableInNonGcpProviders bool `json:"availableInNonGcpProviders,omitempty"`

	// source
	Source string `json:"source,omitempty"`
}

V1GcpDataConnection v1 gcp data connection

swagger:model v1GcpDataConnection

func (*V1GcpDataConnection) ContextValidate ¶

func (m *V1GcpDataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 gcp data connection based on context it is used

func (*V1GcpDataConnection) MarshalBinary ¶

func (m *V1GcpDataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GcpDataConnection) UnmarshalBinary ¶

func (m *V1GcpDataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GcpDataConnection) Validate ¶

func (m *V1GcpDataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 gcp data connection

type V1GcpDataConnectionSetup ¶

type V1GcpDataConnectionSetup struct {

	// List of cluster- and teamspace-specific service accounts to grant access
	ServiceAccounts []string `json:"serviceAccounts"`
}

V1GcpDataConnectionSetup GcpDataConnectionSetup used to return settings to set up access for specific teamspace/clusters to the given data connection

swagger:model v1GcpDataConnectionSetup

func (*V1GcpDataConnectionSetup) ContextValidate ¶

func (m *V1GcpDataConnectionSetup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 gcp data connection setup based on context it is used

func (*V1GcpDataConnectionSetup) MarshalBinary ¶

func (m *V1GcpDataConnectionSetup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GcpDataConnectionSetup) UnmarshalBinary ¶

func (m *V1GcpDataConnectionSetup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GcpDataConnectionSetup) Validate ¶

func (m *V1GcpDataConnectionSetup) Validate(formats strfmt.Registry) error

Validate validates this v1 gcp data connection setup

type V1GeListDeploymentRoutingTelemetryResponse ¶

type V1GeListDeploymentRoutingTelemetryResponse struct {

	// routing telemetry
	RoutingTelemetry []*V1RoutingTelemetry `json:"routingTelemetry"`
}

V1GeListDeploymentRoutingTelemetryResponse v1 ge list deployment routing telemetry response

swagger:model v1GeListDeploymentRoutingTelemetryResponse

func (*V1GeListDeploymentRoutingTelemetryResponse) ContextValidate ¶

ContextValidate validate this v1 ge list deployment routing telemetry response based on the context it is used

func (*V1GeListDeploymentRoutingTelemetryResponse) MarshalBinary ¶

func (m *V1GeListDeploymentRoutingTelemetryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GeListDeploymentRoutingTelemetryResponse) UnmarshalBinary ¶

func (m *V1GeListDeploymentRoutingTelemetryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GeListDeploymentRoutingTelemetryResponse) Validate ¶

Validate validates this v1 ge list deployment routing telemetry response

type V1GenericJob ¶

type V1GenericJob struct {

	// cloud space Id
	CloudSpaceID string `json:"cloudSpaceId,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// spec
	Spec *V1GenericJobSpec `json:"spec,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1GenericJob v1 generic job

swagger:model v1GenericJob

func (*V1GenericJob) ContextValidate ¶

func (m *V1GenericJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 generic job based on the context it is used

func (*V1GenericJob) MarshalBinary ¶

func (m *V1GenericJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GenericJob) UnmarshalBinary ¶

func (m *V1GenericJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GenericJob) Validate ¶

func (m *V1GenericJob) Validate(formats strfmt.Registry) error

Validate validates this v1 generic job

type V1GenericJobSpec ¶

type V1GenericJobSpec struct {

	// image
	Image string `json:"image,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// lock out
	LockOut bool `json:"lockOut,omitempty"`

	// managed
	Managed bool `json:"managed,omitempty"`

	// num instances
	NumInstances int32 `json:"numInstances,omitempty"`

	// reserved
	Reserved bool `json:"reserved,omitempty"`

	// for slurm and lightning apps
	ServiceID string `json:"serviceId,omitempty"`

	// spot
	Spot bool `json:"spot,omitempty"`

	// For deployments
	TemplateID string `json:"templateId,omitempty"`
}

V1GenericJobSpec v1 generic job spec

swagger:model v1GenericJobSpec

func (*V1GenericJobSpec) ContextValidate ¶

func (m *V1GenericJobSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 generic job spec based on context it is used

func (*V1GenericJobSpec) MarshalBinary ¶

func (m *V1GenericJobSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GenericJobSpec) UnmarshalBinary ¶

func (m *V1GenericJobSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GenericJobSpec) Validate ¶

func (m *V1GenericJobSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 generic job spec

type V1GetAffiliateLinkResponse ¶

type V1GetAffiliateLinkResponse struct {

	// link
	Link *V1AffiliateLink `json:"link,omitempty"`
}

V1GetAffiliateLinkResponse v1 get affiliate link response

swagger:model v1GetAffiliateLinkResponse

func (*V1GetAffiliateLinkResponse) ContextValidate ¶

func (m *V1GetAffiliateLinkResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 get affiliate link response based on the context it is used

func (*V1GetAffiliateLinkResponse) MarshalBinary ¶

func (m *V1GetAffiliateLinkResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetAffiliateLinkResponse) UnmarshalBinary ¶

func (m *V1GetAffiliateLinkResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetAffiliateLinkResponse) Validate ¶

func (m *V1GetAffiliateLinkResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get affiliate link response

type V1GetCloudSpaceColdStartMetricsStatsResponse ¶

type V1GetCloudSpaceColdStartMetricsStatsResponse struct {

	// metrics
	Metrics []*V1CloudSpaceColdStartMetricsStats `json:"metrics"`
}

V1GetCloudSpaceColdStartMetricsStatsResponse v1 get cloud space cold start metrics stats response

swagger:model v1GetCloudSpaceColdStartMetricsStatsResponse

func (*V1GetCloudSpaceColdStartMetricsStatsResponse) ContextValidate ¶

ContextValidate validate this v1 get cloud space cold start metrics stats response based on the context it is used

func (*V1GetCloudSpaceColdStartMetricsStatsResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*V1GetCloudSpaceColdStartMetricsStatsResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*V1GetCloudSpaceColdStartMetricsStatsResponse) Validate ¶

Validate validates this v1 get cloud space cold start metrics stats response

type V1GetCloudSpaceInstanceOpenPortsResponse ¶

type V1GetCloudSpaceInstanceOpenPortsResponse struct {

	// ports
	Ports []string `json:"ports"`
}

V1GetCloudSpaceInstanceOpenPortsResponse v1 get cloud space instance open ports response

swagger:model v1GetCloudSpaceInstanceOpenPortsResponse

func (*V1GetCloudSpaceInstanceOpenPortsResponse) ContextValidate ¶

ContextValidate validates this v1 get cloud space instance open ports response based on context it is used

func (*V1GetCloudSpaceInstanceOpenPortsResponse) MarshalBinary ¶

func (m *V1GetCloudSpaceInstanceOpenPortsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetCloudSpaceInstanceOpenPortsResponse) UnmarshalBinary ¶

func (m *V1GetCloudSpaceInstanceOpenPortsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetCloudSpaceInstanceOpenPortsResponse) Validate ¶

Validate validates this v1 get cloud space instance open ports response

type V1GetCloudSpaceInstanceStatusResponse ¶

type V1GetCloudSpaceInstanceStatusResponse struct {

	// collab session
	CollabSession *V1CollabSession `json:"collabSession,omitempty"`

	// collab status
	CollabStatus *V1CloudSpaceInstanceCollabStatus `json:"collabStatus,omitempty"`

	// in use
	InUse *Externalv1CloudSpaceInstanceStatus `json:"inUse,omitempty"`

	// requested
	Requested *Externalv1CloudSpaceInstanceStatus `json:"requested,omitempty"`
}

V1GetCloudSpaceInstanceStatusResponse v1 get cloud space instance status response

swagger:model v1GetCloudSpaceInstanceStatusResponse

func (*V1GetCloudSpaceInstanceStatusResponse) ContextValidate ¶

func (m *V1GetCloudSpaceInstanceStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 get cloud space instance status response based on the context it is used

func (*V1GetCloudSpaceInstanceStatusResponse) MarshalBinary ¶

func (m *V1GetCloudSpaceInstanceStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetCloudSpaceInstanceStatusResponse) UnmarshalBinary ¶

func (m *V1GetCloudSpaceInstanceStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetCloudSpaceInstanceStatusResponse) Validate ¶

Validate validates this v1 get cloud space instance status response

type V1GetCloudSpaceInstanceSystemMetricsAggregateResponse ¶

type V1GetCloudSpaceInstanceSystemMetricsAggregateResponse struct {

	// metrics
	Metrics []*V1SystemMetricsAggregated `json:"metrics"`
}

V1GetCloudSpaceInstanceSystemMetricsAggregateResponse v1 get cloud space instance system metrics aggregate response

swagger:model v1GetCloudSpaceInstanceSystemMetricsAggregateResponse

func (*V1GetCloudSpaceInstanceSystemMetricsAggregateResponse) ContextValidate ¶

ContextValidate validate this v1 get cloud space instance system metrics aggregate response based on the context it is used

func (*V1GetCloudSpaceInstanceSystemMetricsAggregateResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*V1GetCloudSpaceInstanceSystemMetricsAggregateResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*V1GetCloudSpaceInstanceSystemMetricsAggregateResponse) Validate ¶

Validate validates this v1 get cloud space instance system metrics aggregate response

type V1GetCloudSpaceRequiredBalanceStatusResponse ¶

type V1GetCloudSpaceRequiredBalanceStatusResponse struct {

	// has required balance
	HasRequiredBalance bool `json:"hasRequiredBalance,omitempty"`

	// reason
	Reason *V1RequiredBalanceReason `json:"reason,omitempty"`
}

V1GetCloudSpaceRequiredBalanceStatusResponse v1 get cloud space required balance status response

swagger:model v1GetCloudSpaceRequiredBalanceStatusResponse

func (*V1GetCloudSpaceRequiredBalanceStatusResponse) ContextValidate ¶

ContextValidate validate this v1 get cloud space required balance status response based on the context it is used

func (*V1GetCloudSpaceRequiredBalanceStatusResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*V1GetCloudSpaceRequiredBalanceStatusResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*V1GetCloudSpaceRequiredBalanceStatusResponse) Validate ¶

Validate validates this v1 get cloud space required balance status response

type V1GetCloudSpaceSizeResponse ¶

type V1GetCloudSpaceSizeResponse struct {

	// bytes to sync
	BytesToSync string `json:"bytesToSync,omitempty"`

	// files to sync
	FilesToSync string `json:"filesToSync,omitempty"`

	// number of files
	NumberOfFiles string `json:"numberOfFiles,omitempty"`

	// sync last updated
	// Format: date-time
	SyncLastUpdated strfmt.DateTime `json:"syncLastUpdated,omitempty"`

	// total size bytes
	TotalSizeBytes string `json:"totalSizeBytes,omitempty"`
}

V1GetCloudSpaceSizeResponse v1 get cloud space size response

swagger:model v1GetCloudSpaceSizeResponse

func (*V1GetCloudSpaceSizeResponse) ContextValidate ¶

func (m *V1GetCloudSpaceSizeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 get cloud space size response based on context it is used

func (*V1GetCloudSpaceSizeResponse) MarshalBinary ¶

func (m *V1GetCloudSpaceSizeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetCloudSpaceSizeResponse) UnmarshalBinary ¶

func (m *V1GetCloudSpaceSizeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetCloudSpaceSizeResponse) Validate ¶

func (m *V1GetCloudSpaceSizeResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get cloud space size response

type V1GetCloudSpaceTransferEstimateResponse ¶

type V1GetCloudSpaceTransferEstimateResponse struct {

	// estimated duration seconds
	EstimatedDurationSeconds string `json:"estimatedDurationSeconds,omitempty"`

	// requires transfer
	RequiresTransfer bool `json:"requiresTransfer,omitempty"`
}

V1GetCloudSpaceTransferEstimateResponse v1 get cloud space transfer estimate response

swagger:model v1GetCloudSpaceTransferEstimateResponse

func (*V1GetCloudSpaceTransferEstimateResponse) ContextValidate ¶

ContextValidate validates this v1 get cloud space transfer estimate response based on context it is used

func (*V1GetCloudSpaceTransferEstimateResponse) MarshalBinary ¶

func (m *V1GetCloudSpaceTransferEstimateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetCloudSpaceTransferEstimateResponse) UnmarshalBinary ¶

func (m *V1GetCloudSpaceTransferEstimateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetCloudSpaceTransferEstimateResponse) Validate ¶

Validate validates this v1 get cloud space transfer estimate response

type V1GetClusterAcceleratorDemandResponse ¶

type V1GetClusterAcceleratorDemandResponse struct {

	// num waiting
	NumWaiting string `json:"numWaiting,omitempty"`
}

V1GetClusterAcceleratorDemandResponse v1 get cluster accelerator demand response

swagger:model v1GetClusterAcceleratorDemandResponse

func (*V1GetClusterAcceleratorDemandResponse) ContextValidate ¶

func (m *V1GetClusterAcceleratorDemandResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 get cluster accelerator demand response based on context it is used

func (*V1GetClusterAcceleratorDemandResponse) MarshalBinary ¶

func (m *V1GetClusterAcceleratorDemandResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetClusterAcceleratorDemandResponse) UnmarshalBinary ¶

func (m *V1GetClusterAcceleratorDemandResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetClusterAcceleratorDemandResponse) Validate ¶

Validate validates this v1 get cluster accelerator demand response

type V1GetClusterCapacityReservationResponse ¶

type V1GetClusterCapacityReservationResponse struct {

	// capacity reservation
	CapacityReservation *V1ClusterCapacityReservation `json:"capacityReservation,omitempty"`
}

V1GetClusterCapacityReservationResponse v1 get cluster capacity reservation response

swagger:model v1GetClusterCapacityReservationResponse

func (*V1GetClusterCapacityReservationResponse) ContextValidate ¶

ContextValidate validate this v1 get cluster capacity reservation response based on the context it is used

func (*V1GetClusterCapacityReservationResponse) MarshalBinary ¶

func (m *V1GetClusterCapacityReservationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetClusterCapacityReservationResponse) UnmarshalBinary ¶

func (m *V1GetClusterCapacityReservationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetClusterCapacityReservationResponse) Validate ¶

Validate validates this v1 get cluster capacity reservation response

type V1GetClusterCredentialsResponse ¶

type V1GetClusterCredentialsResponse struct {

	// aws
	Aws *V1AWSClusterCredentials `json:"aws,omitempty"`
}

V1GetClusterCredentialsResponse v1 get cluster credentials response

swagger:model v1GetClusterCredentialsResponse

func (*V1GetClusterCredentialsResponse) ContextValidate ¶

func (m *V1GetClusterCredentialsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 get cluster credentials response based on the context it is used

func (*V1GetClusterCredentialsResponse) MarshalBinary ¶

func (m *V1GetClusterCredentialsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetClusterCredentialsResponse) UnmarshalBinary ¶

func (m *V1GetClusterCredentialsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetClusterCredentialsResponse) Validate ¶

Validate validates this v1 get cluster credentials response

type V1GetClusterHealthResponse ¶

type V1GetClusterHealthResponse struct {

	// dependency service health
	DependencyServiceHealth []*V1ServiceHealth `json:"dependencyServiceHealth"`

	// ok
	Ok bool `json:"ok,omitempty"`
}

V1GetClusterHealthResponse v1 get cluster health response

swagger:model v1GetClusterHealthResponse

func (*V1GetClusterHealthResponse) ContextValidate ¶

func (m *V1GetClusterHealthResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 get cluster health response based on the context it is used

func (*V1GetClusterHealthResponse) MarshalBinary ¶

func (m *V1GetClusterHealthResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetClusterHealthResponse) UnmarshalBinary ¶

func (m *V1GetClusterHealthResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetClusterHealthResponse) Validate ¶

func (m *V1GetClusterHealthResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get cluster health response

type V1GetDeploymentRoutingTelemetryAggregatedResponse ¶

type V1GetDeploymentRoutingTelemetryAggregatedResponse struct {

	// telemetry
	Telemetry *V1Telemetry `json:"telemetry,omitempty"`
}

V1GetDeploymentRoutingTelemetryAggregatedResponse v1 get deployment routing telemetry aggregated response

swagger:model v1GetDeploymentRoutingTelemetryAggregatedResponse

func (*V1GetDeploymentRoutingTelemetryAggregatedResponse) ContextValidate ¶

ContextValidate validate this v1 get deployment routing telemetry aggregated response based on the context it is used

func (*V1GetDeploymentRoutingTelemetryAggregatedResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*V1GetDeploymentRoutingTelemetryAggregatedResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*V1GetDeploymentRoutingTelemetryAggregatedResponse) Validate ¶

Validate validates this v1 get deployment routing telemetry aggregated response

type V1GetDeploymentRoutingTelemetryContentCSVResponse ¶

type V1GetDeploymentRoutingTelemetryContentCSVResponse struct {

	// Presigned URLs to download the aggregated CSVs
	Urls []string `json:"urls"`
}

V1GetDeploymentRoutingTelemetryContentCSVResponse v1 get deployment routing telemetry content c s v response

swagger:model v1GetDeploymentRoutingTelemetryContentCSVResponse

func (*V1GetDeploymentRoutingTelemetryContentCSVResponse) ContextValidate ¶

ContextValidate validates this v1 get deployment routing telemetry content c s v response based on context it is used

func (*V1GetDeploymentRoutingTelemetryContentCSVResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*V1GetDeploymentRoutingTelemetryContentCSVResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*V1GetDeploymentRoutingTelemetryContentCSVResponse) Validate ¶

Validate validates this v1 get deployment routing telemetry content c s v response

type V1GetDeploymentRoutingTelemetryContentResponse ¶

type V1GetDeploymentRoutingTelemetryContentResponse struct {

	// Presigned URL to download the routing telemetry content
	URL string `json:"url,omitempty"`
}

V1GetDeploymentRoutingTelemetryContentResponse v1 get deployment routing telemetry content response

swagger:model v1GetDeploymentRoutingTelemetryContentResponse

func (*V1GetDeploymentRoutingTelemetryContentResponse) ContextValidate ¶

ContextValidate validates this v1 get deployment routing telemetry content response based on context it is used

func (*V1GetDeploymentRoutingTelemetryContentResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*V1GetDeploymentRoutingTelemetryContentResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*V1GetDeploymentRoutingTelemetryContentResponse) Validate ¶

Validate validates this v1 get deployment routing telemetry content response

type V1GetDeploymentRoutingTelemetryResponse ¶

type V1GetDeploymentRoutingTelemetryResponse struct {

	// Path is the key
	PathTelemetry map[string]V1PathTelemetry `json:"pathTelemetry,omitempty"`
}

V1GetDeploymentRoutingTelemetryResponse v1 get deployment routing telemetry response

swagger:model v1GetDeploymentRoutingTelemetryResponse

func (*V1GetDeploymentRoutingTelemetryResponse) ContextValidate ¶

ContextValidate validate this v1 get deployment routing telemetry response based on the context it is used

func (*V1GetDeploymentRoutingTelemetryResponse) MarshalBinary ¶

func (m *V1GetDeploymentRoutingTelemetryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetDeploymentRoutingTelemetryResponse) UnmarshalBinary ¶

func (m *V1GetDeploymentRoutingTelemetryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetDeploymentRoutingTelemetryResponse) Validate ¶

Validate validates this v1 get deployment routing telemetry response

type V1GetDeploymentWeightConfigResponse ¶

type V1GetDeploymentWeightConfigResponse struct {

	// byom spec
	ByomSpec *V1BYOMSpec `json:"byomSpec,omitempty"`

	// weight version
	WeightVersion string `json:"weightVersion,omitempty"`
}

V1GetDeploymentWeightConfigResponse v1 get deployment weight config response

swagger:model v1GetDeploymentWeightConfigResponse

func (*V1GetDeploymentWeightConfigResponse) ContextValidate ¶

func (m *V1GetDeploymentWeightConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 get deployment weight config response based on the context it is used

func (*V1GetDeploymentWeightConfigResponse) MarshalBinary ¶

func (m *V1GetDeploymentWeightConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetDeploymentWeightConfigResponse) UnmarshalBinary ¶

func (m *V1GetDeploymentWeightConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetDeploymentWeightConfigResponse) Validate ¶

Validate validates this v1 get deployment weight config response

type V1GetJobStatsResponse ¶

type V1GetJobStatsResponse struct {

	// queued deployments
	QueuedDeployments int64 `json:"queuedDeployments,omitempty"`

	// queued jobs
	QueuedJobs int64 `json:"queuedJobs,omitempty"`

	// requires maintenance
	RequiresMaintenance int64 `json:"requiresMaintenance,omitempty"`

	// running deployments
	RunningDeployments int64 `json:"runningDeployments,omitempty"`

	// running jobs
	RunningJobs int64 `json:"runningJobs,omitempty"`

	// running pipelines
	RunningPipelines int64 `json:"runningPipelines,omitempty"`

	// total jobs
	TotalJobs int64 `json:"totalJobs,omitempty"`
}

V1GetJobStatsResponse v1 get job stats response

swagger:model v1GetJobStatsResponse

func (*V1GetJobStatsResponse) ContextValidate ¶

func (m *V1GetJobStatsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 get job stats response based on context it is used

func (*V1GetJobStatsResponse) MarshalBinary ¶

func (m *V1GetJobStatsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetJobStatsResponse) UnmarshalBinary ¶

func (m *V1GetJobStatsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetJobStatsResponse) Validate ¶

func (m *V1GetJobStatsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get job stats response

type V1GetJobSystemMetricsResponse ¶

type V1GetJobSystemMetricsResponse struct {

	// system metrics
	SystemMetrics map[string]V1SystemMetricsList `json:"systemMetrics,omitempty"`
}

V1GetJobSystemMetricsResponse v1 get job system metrics response

swagger:model v1GetJobSystemMetricsResponse

func (*V1GetJobSystemMetricsResponse) ContextValidate ¶

func (m *V1GetJobSystemMetricsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 get job system metrics response based on the context it is used

func (*V1GetJobSystemMetricsResponse) MarshalBinary ¶

func (m *V1GetJobSystemMetricsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetJobSystemMetricsResponse) UnmarshalBinary ¶

func (m *V1GetJobSystemMetricsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetJobSystemMetricsResponse) Validate ¶

func (m *V1GetJobSystemMetricsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get job system metrics response

type V1GetLightningRunSourceCodeDownloadURLResponse ¶

type V1GetLightningRunSourceCodeDownloadURLResponse struct {

	// url
	URL string `json:"url,omitempty"`
}

V1GetLightningRunSourceCodeDownloadURLResponse v1 get lightning run source code download Url response

swagger:model v1GetLightningRunSourceCodeDownloadUrlResponse

func (*V1GetLightningRunSourceCodeDownloadURLResponse) ContextValidate ¶

ContextValidate validates this v1 get lightning run source code download Url response based on context it is used

func (*V1GetLightningRunSourceCodeDownloadURLResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*V1GetLightningRunSourceCodeDownloadURLResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*V1GetLightningRunSourceCodeDownloadURLResponse) Validate ¶

Validate validates this v1 get lightning run source code download Url response

type V1GetLogsResponse ¶

type V1GetLogsResponse struct {

	// entries
	Entries []*V1JobLogEntry `json:"entries"`

	// follow Url
	FollowURL string `json:"followUrl,omitempty"`

	// next page token
	NextPageToken string `json:"nextPageToken,omitempty"`
}

V1GetLogsResponse v1 get logs response

swagger:model v1GetLogsResponse

func (*V1GetLogsResponse) ContextValidate ¶

func (m *V1GetLogsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 get logs response based on the context it is used

func (*V1GetLogsResponse) MarshalBinary ¶

func (m *V1GetLogsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetLogsResponse) UnmarshalBinary ¶

func (m *V1GetLogsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetLogsResponse) Validate ¶

func (m *V1GetLogsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get logs response

type V1GetLongRunningCommandInCloudSpaceResponse ¶

type V1GetLongRunningCommandInCloudSpaceResponse struct {

	// exit code
	ExitCode int32 `json:"exitCode,omitempty"`

	// output
	Output string `json:"output,omitempty"`
}

V1GetLongRunningCommandInCloudSpaceResponse v1 get long running command in cloud space response

swagger:model v1GetLongRunningCommandInCloudSpaceResponse

func (*V1GetLongRunningCommandInCloudSpaceResponse) ContextValidate ¶

ContextValidate validates this v1 get long running command in cloud space response based on context it is used

func (*V1GetLongRunningCommandInCloudSpaceResponse) MarshalBinary ¶

func (m *V1GetLongRunningCommandInCloudSpaceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetLongRunningCommandInCloudSpaceResponse) UnmarshalBinary ¶

func (m *V1GetLongRunningCommandInCloudSpaceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetLongRunningCommandInCloudSpaceResponse) Validate ¶

Validate validates this v1 get long running command in cloud space response

type V1GetMachineDetailsResponse ¶

type V1GetMachineDetailsResponse struct {

	// details
	Details *V1MachineDetails `json:"details,omitempty"`

	// machine
	Machine *V1Machine `json:"machine,omitempty"`
}

V1GetMachineDetailsResponse v1 get machine details response

swagger:model v1GetMachineDetailsResponse

func (*V1GetMachineDetailsResponse) ContextValidate ¶

func (m *V1GetMachineDetailsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 get machine details response based on the context it is used

func (*V1GetMachineDetailsResponse) MarshalBinary ¶

func (m *V1GetMachineDetailsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetMachineDetailsResponse) UnmarshalBinary ¶

func (m *V1GetMachineDetailsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetMachineDetailsResponse) Validate ¶

func (m *V1GetMachineDetailsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get machine details response

type V1GetMachineResponse ¶

type V1GetMachineResponse struct {

	// machine
	Machine *V1Machine `json:"machine,omitempty"`

	// vm machines
	VMMachines []*V1Machine `json:"vmMachines"`
}

V1GetMachineResponse GetMachineResponse represents the response for the details of given machine

swagger:model v1GetMachineResponse

func (*V1GetMachineResponse) ContextValidate ¶

func (m *V1GetMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 get machine response based on the context it is used

func (*V1GetMachineResponse) MarshalBinary ¶

func (m *V1GetMachineResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetMachineResponse) UnmarshalBinary ¶

func (m *V1GetMachineResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetMachineResponse) Validate ¶

func (m *V1GetMachineResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get machine response

type V1GetMachineSystemMetricsResponse ¶

type V1GetMachineSystemMetricsResponse struct {

	// metrics
	Metrics []*V1MachineSystemMetrics `json:"metrics"`
}

V1GetMachineSystemMetricsResponse v1 get machine system metrics response

swagger:model v1GetMachineSystemMetricsResponse

func (*V1GetMachineSystemMetricsResponse) ContextValidate ¶

func (m *V1GetMachineSystemMetricsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 get machine system metrics response based on the context it is used

func (*V1GetMachineSystemMetricsResponse) MarshalBinary ¶

func (m *V1GetMachineSystemMetricsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetMachineSystemMetricsResponse) UnmarshalBinary ¶

func (m *V1GetMachineSystemMetricsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetMachineSystemMetricsResponse) Validate ¶

Validate validates this v1 get machine system metrics response

type V1GetOrgModelAPIDailyLimitsResponse ¶

type V1GetOrgModelAPIDailyLimitsResponse struct {

	// Org-wide default cap in credits; unset means no default (members uncapped
	// unless individually overridden).
	DefaultDailyLimitCredits float64 `json:"defaultDailyLimitCredits,omitempty"`

	// member overrides
	MemberOverrides []*V1ModelAPIMemberDailyLimit `json:"memberOverrides"`
}

V1GetOrgModelAPIDailyLimitsResponse v1 get org model API daily limits response

swagger:model v1GetOrgModelAPIDailyLimitsResponse

func (*V1GetOrgModelAPIDailyLimitsResponse) ContextValidate ¶

func (m *V1GetOrgModelAPIDailyLimitsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 get org model API daily limits response based on the context it is used

func (*V1GetOrgModelAPIDailyLimitsResponse) MarshalBinary ¶

func (m *V1GetOrgModelAPIDailyLimitsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetOrgModelAPIDailyLimitsResponse) UnmarshalBinary ¶

func (m *V1GetOrgModelAPIDailyLimitsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetOrgModelAPIDailyLimitsResponse) Validate ¶

Validate validates this v1 get org model API daily limits response

type V1GetSettingsResponse ¶

type V1GetSettingsResponse struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// metadata
	Metadata map[string]string `json:"metadata,omitempty"`

	// size
	Size string `json:"size,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Download presigned URL
	URL string `json:"url,omitempty"`
}

V1GetSettingsResponse v1 get settings response

swagger:model v1GetSettingsResponse

func (*V1GetSettingsResponse) ContextValidate ¶

func (m *V1GetSettingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 get settings response based on context it is used

func (*V1GetSettingsResponse) MarshalBinary ¶

func (m *V1GetSettingsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetSettingsResponse) UnmarshalBinary ¶

func (m *V1GetSettingsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetSettingsResponse) Validate ¶

func (m *V1GetSettingsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get settings response

type V1GetTempBucketCredentialsResponse ¶

type V1GetTempBucketCredentialsResponse struct {

	// access key Id
	AccessKeyID string `json:"accessKeyId,omitempty"`

	// account Id
	AccountID string `json:"accountId,omitempty"`

	// secret access key
	SecretAccessKey string `json:"secretAccessKey,omitempty"`

	// session token
	SessionToken string `json:"sessionToken,omitempty"`
}

V1GetTempBucketCredentialsResponse v1 get temp bucket credentials response

swagger:model v1GetTempBucketCredentialsResponse

func (*V1GetTempBucketCredentialsResponse) ContextValidate ¶

func (m *V1GetTempBucketCredentialsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 get temp bucket credentials response based on context it is used

func (*V1GetTempBucketCredentialsResponse) MarshalBinary ¶

func (m *V1GetTempBucketCredentialsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GetTempBucketCredentialsResponse) UnmarshalBinary ¶

func (m *V1GetTempBucketCredentialsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GetTempBucketCredentialsResponse) Validate ¶

Validate validates this v1 get temp bucket credentials response

type V1GoogleCloudDirectV1 ¶

type V1GoogleCloudDirectV1 struct {

	// Bucket where artifacts are filesystem contents will be stored
	BucketName string `json:"bucketName,omitempty"`

	// If true, we check on-demand capacity reservation to try instances from them first and on-demand after
	CheckReservations bool `json:"checkReservations,omitempty"`

	// Role to bind to service accounts for machines, for setting permissions,
	// to access objects under a defined prefix (teamspace files):
	ComputeProjectRole string `json:"computeProjectRole,omitempty"`

	// Used with parent clusters, this is the service account email (like something@lightning-ci.iam.gserviceaccount.com) to use for the target cluster
	// (shouldn't change from teamspace to teamspace but should be different between clusters)
	ComputeServiceAccountEmail string `json:"computeServiceAccountEmail,omitempty"`

	// ID of the secret that contains the credentials. This secret is created
	// through the GCP BYOC setup process.
	CredentialsSecretID string `json:"credentialsSecretId,omitempty"`

	// Service account email that is used to authenticate to GCP (retrieved from secret). Used
	// to provide instructions to the user when setting up GCP GCS bucket.
	// Read only
	CredentialsServiceAccountEmail string `json:"credentialsServiceAccountEmail,omitempty"`

	// If enabed, cluster's subnets will be created manually
	// (not aout-created by GCP)
	CustomSubnetMode bool `json:"customSubnetMode,omitempty"`

	// If true, we will set up firewalls to control filestore access
	FilestoreFirewallModeEnabled bool `json:"filestoreFirewallModeEnabled,omitempty"`

	// Big query dataset name for the bucket's inventory
	InventoryDataset string `json:"inventoryDataset,omitempty"`

	// Big query table name for the bucket's inventory
	InventoryTable string `json:"inventoryTable,omitempty"`

	// Primary region stores user's code and data
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// Google Cloud Platform project ID
	ProjectID string `json:"projectId,omitempty"`

	// If enabled, we will set up and use (for compute machines) service accounts with fine-graned
	// permissions, to allow access objects under the teamspace prefix only.
	// This flag assumed to be removed once this is dogfooded well ehough.
	ProjectSaEnabled bool `json:"projectSaEnabled,omitempty"`

	// We deploy the bare bones infrastructure into every region
	Regions []string `json:"regions"`

	// Service account email to use for the compute. Specify this
	// if you want to use a specific service account for the compute (VMs)
	ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"`

	// source_cidr_ips allows modifying default 0.0.0.0/0 source,
	// so that it can only allow specific incoming traffic into the GCP
	// instances. This should always include controlplane's IP address,
	// otherwise it will not work.
	SourceCidrIps []string `json:"sourceCidrIps"`

	// Custom subnets specifications if needed
	Subnets []*V1SubnetSpec `json:"subnets"`

	// VPC networks to use for the cluster
	Vpcs []*V1GCPDirectVPC `json:"vpcs"`
}

V1GoogleCloudDirectV1 v1 google cloud direct v1

swagger:model v1GoogleCloudDirectV1

func (*V1GoogleCloudDirectV1) ContextValidate ¶

func (m *V1GoogleCloudDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 google cloud direct v1 based on the context it is used

func (*V1GoogleCloudDirectV1) MarshalBinary ¶

func (m *V1GoogleCloudDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GoogleCloudDirectV1) UnmarshalBinary ¶

func (m *V1GoogleCloudDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GoogleCloudDirectV1) Validate ¶

func (m *V1GoogleCloudDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 google cloud direct v1

type V1GoogleCloudDirectV1Status ¶

type V1GoogleCloudDirectV1Status struct {

	// state
	State *V1RegionState `json:"state,omitempty"`
}

V1GoogleCloudDirectV1Status v1 google cloud direct v1 status

swagger:model v1GoogleCloudDirectV1Status

func (*V1GoogleCloudDirectV1Status) ContextValidate ¶

func (m *V1GoogleCloudDirectV1Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 google cloud direct v1 status based on the context it is used

func (*V1GoogleCloudDirectV1Status) MarshalBinary ¶

func (m *V1GoogleCloudDirectV1Status) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GoogleCloudDirectV1Status) UnmarshalBinary ¶

func (m *V1GoogleCloudDirectV1Status) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GoogleCloudDirectV1Status) Validate ¶

func (m *V1GoogleCloudDirectV1Status) Validate(formats strfmt.Registry) error

Validate validates this v1 google cloud direct v1 status

type V1GpuFitness ¶

type V1GpuFitness struct {

	// bdf
	Bdf string `json:"bdf,omitempty"`

	// collected | skipped-vm | skipped-tool-missing | error
	FabricCollectionState string `json:"fabricCollectionState,omitempty"`

	// Raw nvidia-smi Fabric block values, e.g. "Completed" / "Success".
	FabricState string `json:"fabricState,omitempty"`

	// fabric status
	FabricStatus string `json:"fabricStatus,omitempty"`

	// vbios
	Vbios string `json:"vbios,omitempty"`

	// collected | skipped-vm | skipped-tool-missing | error
	VbiosState string `json:"vbiosState,omitempty"`
}

V1GpuFitness GpuFitness carries the per-GPU facts that need nvidia-smi (and therefore the nvidia driver) and so are baremetal-only: VBIOS version and the NVLink Fabric State/Status block (the GPU's view of NVSwitch fabric formation; NVLS on an incomplete fabric is a GSP brick risk). Keyed by host PCI BDF. The two *_state fields carry the collection state independently because the two nvidia-smi calls can fail separately. Values are raw; the backend does not grade them.

swagger:model v1GpuFitness

func (*V1GpuFitness) ContextValidate ¶

func (m *V1GpuFitness) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 gpu fitness based on context it is used

func (*V1GpuFitness) MarshalBinary ¶

func (m *V1GpuFitness) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GpuFitness) UnmarshalBinary ¶

func (m *V1GpuFitness) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GpuFitness) Validate ¶

func (m *V1GpuFitness) Validate(formats strfmt.Registry) error

Validate validates this v1 gpu fitness

type V1GpuOperatorConfig ¶

type V1GpuOperatorConfig struct {

	// The default NVIDIA driver version to use for the cluster
	DefaultNvidiaDriverVersion string `json:"defaultNvidiaDriverVersion,omitempty"`

	// Whether the clusteris provisioned with driverless host images
	DriverlessHostImages bool `json:"driverlessHostImages,omitempty"`
}

V1GpuOperatorConfig v1 gpu operator config

swagger:model v1GpuOperatorConfig

func (*V1GpuOperatorConfig) ContextValidate ¶

func (m *V1GpuOperatorConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 gpu operator config based on context it is used

func (*V1GpuOperatorConfig) MarshalBinary ¶

func (m *V1GpuOperatorConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GpuOperatorConfig) UnmarshalBinary ¶

func (m *V1GpuOperatorConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GpuOperatorConfig) Validate ¶

func (m *V1GpuOperatorConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 gpu operator config

type V1GpuSLATerm ¶

type V1GpuSLATerm struct {

	// end date
	// Format: date-time
	EndDate strfmt.DateTime `json:"endDate,omitempty"`

	// gpus
	Gpus int64 `json:"gpus,omitempty"`

	// start date
	// Format: date-time
	StartDate strfmt.DateTime `json:"startDate,omitempty"`
}

V1GpuSLATerm GpuSlaTerm represents an SLA commitment to a minimum number of GPUs over a certain period or indefinitely

swagger:model v1GpuSlaTerm

func (*V1GpuSLATerm) ContextValidate ¶

func (m *V1GpuSLATerm) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 gpu Sla term based on context it is used

func (*V1GpuSLATerm) MarshalBinary ¶

func (m *V1GpuSLATerm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GpuSLATerm) UnmarshalBinary ¶

func (m *V1GpuSLATerm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GpuSLATerm) Validate ¶

func (m *V1GpuSLATerm) Validate(formats strfmt.Registry) error

Validate validates this v1 gpu Sla term

type V1Header ¶

type V1Header struct {

	// description
	Description string `json:"description,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

V1Header v1 header

swagger:model v1Header

func (*V1Header) ContextValidate ¶

func (m *V1Header) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 header based on context it is used

func (*V1Header) MarshalBinary ¶

func (m *V1Header) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Header) UnmarshalBinary ¶

func (m *V1Header) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Header) Validate ¶

func (m *V1Header) Validate(formats strfmt.Registry) error

Validate validates this v1 header

type V1HealthCheckExec ¶

type V1HealthCheckExec struct {

	// curl -f http://localhost:11434/api/tags | jq -e '.models[0]'
	Command string `json:"command,omitempty"`
}

V1HealthCheckExec v1 health check exec

swagger:model v1HealthCheckExec

func (*V1HealthCheckExec) ContextValidate ¶

func (m *V1HealthCheckExec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 health check exec based on context it is used

func (*V1HealthCheckExec) MarshalBinary ¶

func (m *V1HealthCheckExec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1HealthCheckExec) UnmarshalBinary ¶

func (m *V1HealthCheckExec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1HealthCheckExec) Validate ¶

func (m *V1HealthCheckExec) Validate(formats strfmt.Registry) error

Validate validates this v1 health check exec

type V1HealthCheckHTTPGet ¶

type V1HealthCheckHTTPGet struct {

	// The body to send with the health check
	Body string `json:"body,omitempty"`

	// The number of times to send the health check to warm up the container
	Count int32 `json:"count,omitempty"`

	// GET, POST, PUT, DELETE
	Method string `json:"method,omitempty"`

	// /healthz
	Path string `json:"path,omitempty"`

	// 6000
	Port int32 `json:"port,omitempty"`
}

V1HealthCheckHTTPGet v1 health check Http get

swagger:model v1HealthCheckHttpGet

func (*V1HealthCheckHTTPGet) ContextValidate ¶

func (m *V1HealthCheckHTTPGet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 health check Http get based on context it is used

func (*V1HealthCheckHTTPGet) MarshalBinary ¶

func (m *V1HealthCheckHTTPGet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1HealthCheckHTTPGet) UnmarshalBinary ¶

func (m *V1HealthCheckHTTPGet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1HealthCheckHTTPGet) Validate ¶

func (m *V1HealthCheckHTTPGet) Validate(formats strfmt.Registry) error

Validate validates this v1 health check Http get

type V1HostHealth ¶

type V1HostHealth struct {

	// aer counters
	AerCounters []*V1AERCounter `json:"aerCounters"`

	// fabric manager
	FabricManager *V1FabricManagerHealth `json:"fabricManager,omitempty"`

	// Present while gpu-create-host-crash.json is blocking or probing GPU VM
	// creates (GHES fatal PCIe panic or vfio-pci HDA hang on the previous boot).
	GpuCreateHostCrash *V1GPUCreateHostCrash `json:"gpuCreateHostCrash,omitempty"`

	// node fitness
	NodeFitness *V1NodeFitness `json:"nodeFitness,omitempty"`

	// Shared-NVSwitch FM partition topology. Omitted entirely on non-NVSwitch
	// hosts so health_state stays byte-identical. When present, shared_nvswitch
	// distinguishes "MMT host with empty/unusable table" from "not an FM host".
	NvlinkFmTopology *V1NVLinkFMTopology `json:"nvlinkFmTopology,omitempty"`

	// Present on a current-boot fatal host SXid 20034 (LTSSM Fault Up). Omitted
	// when this boot is clean. consecutive_fatal_boots counts fatal boots since
	// the last clean boot; 3 in a row means the switch is not recovering.
	NvswitchFatal *V1NVSwitchFatal `json:"nvswitchFatal,omitempty"`

	// recent dmesg errors
	RecentDmesgErrors []string `json:"recentDmesgErrors"`

	// storage
	Storage *V1HostStorage `json:"storage,omitempty"`

	// system
	System *V1MachineSystemInfo `json:"system,omitempty"`
}

V1HostHealth v1 host health

swagger:model v1HostHealth

func (*V1HostHealth) ContextValidate ¶

func (m *V1HostHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 host health based on the context it is used

func (*V1HostHealth) MarshalBinary ¶

func (m *V1HostHealth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1HostHealth) UnmarshalBinary ¶

func (m *V1HostHealth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1HostHealth) Validate ¶

func (m *V1HostHealth) Validate(formats strfmt.Registry) error

Validate validates this v1 host health

type V1HostStorage ¶

type V1HostStorage struct {

	// docker
	Docker *V1StorageCategory `json:"docker,omitempty"`

	// docker images
	DockerImages []*V1DockerImage `json:"dockerImages"`

	// last scanned
	// Format: date-time
	LastScanned strfmt.DateTime `json:"lastScanned,omitempty"`

	// managed total bytes
	ManagedTotalBytes string `json:"managedTotalBytes,omitempty"`

	// system
	System *V1StorageCategory `json:"system,omitempty"`

	// vm image assets
	VMImageAssets []*V1VMImageAsset `json:"vmImageAssets"`

	// vm images
	VMImages *V1StorageCategory `json:"vmImages,omitempty"`

	// vm workdirs
	VMWorkdirs *V1StorageCategory `json:"vmWorkdirs,omitempty"`
}

V1HostStorage v1 host storage

swagger:model v1HostStorage

func (*V1HostStorage) ContextValidate ¶

func (m *V1HostStorage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 host storage based on the context it is used

func (*V1HostStorage) MarshalBinary ¶

func (m *V1HostStorage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1HostStorage) UnmarshalBinary ¶

func (m *V1HostStorage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1HostStorage) Validate ¶

func (m *V1HostStorage) Validate(formats strfmt.Registry) error

Validate validates this v1 host storage

type V1HugepagePool ¶

type V1HugepagePool struct {

	// free_hugepages
	Free string `json:"free,omitempty"`

	// free * size_bytes
	FreeBytes string `json:"freeBytes,omitempty"`

	// total - free
	InUse string `json:"inUse,omitempty"`

	// per node
	PerNode []*V1NUMAHugepages `json:"perNode"`

	// total * size_bytes
	ReservedBytes string `json:"reservedBytes,omitempty"`

	// page size in bytes (2 MiB, 1 GiB, ...)
	SizeBytes string `json:"sizeBytes,omitempty"`

	// nr_hugepages
	Total string `json:"total,omitempty"`
}

V1HugepagePool HugepagePool describes one hugepage size pool read from sysfs. This is the authoritative source: /proc/meminfo only reports the single default-size pool, so a host that has switched to non-default (e.g. 2 MB) pages for VM mode would otherwise hide hundreds of GiB of reservation. See the MemoryUsage.hugepages_total comment for the full rationale.

swagger:model v1HugepagePool

func (*V1HugepagePool) ContextValidate ¶

func (m *V1HugepagePool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 hugepage pool based on the context it is used

func (*V1HugepagePool) MarshalBinary ¶

func (m *V1HugepagePool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1HugepagePool) UnmarshalBinary ¶

func (m *V1HugepagePool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1HugepagePool) Validate ¶

func (m *V1HugepagePool) Validate(formats strfmt.Registry) error

Validate validates this v1 hugepage pool

type V1IBDeviceInfo ¶

type V1IBDeviceInfo struct {

	// guid
	GUID string `json:"guid,omitempty"`

	// host index
	HostIndex int32 `json:"hostIndex,omitempty"`

	// ib address
	IbAddress string `json:"ibAddress,omitempty"`

	// pci address
	PciAddress string `json:"pciAddress,omitempty"`
}

V1IBDeviceInfo v1 i b device info

swagger:model v1IBDeviceInfo

func (*V1IBDeviceInfo) ContextValidate ¶

func (m *V1IBDeviceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 i b device info based on context it is used

func (*V1IBDeviceInfo) MarshalBinary ¶

func (m *V1IBDeviceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1IBDeviceInfo) UnmarshalBinary ¶

func (m *V1IBDeviceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1IBDeviceInfo) Validate ¶

func (m *V1IBDeviceInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 i b device info

type V1ImageSpec ¶

type V1ImageSpec struct {

	// commands passed to the image builder which are interpreted
	// as RUN commands in a Dockerfile. Executes after installing
	// dependencies from package manager.
	ActionsOnImageBuildEnd []string `json:"actionsOnImageBuildEnd"`

	// commands passed to the image builder which are interpreted
	// as RUN commands in a Dockerfile. Executes before installing
	// dependencies from package manager.
	ActionsOnImageBuildStart []string `json:"actionsOnImageBuildStart"`

	// Dependency files such as requirements.txt or environment.yml can be a custom path
	DependencyFileInfo *V1DependencyFileInfo `json:"dependencyFileInfo,omitempty"`

	// this is a relative path to a dockerfile within the build context.
	Dockerfile string `json:"dockerfile,omitempty"`

	// name of the base image to use when rendering dockerfile templates.
	Image string `json:"image,omitempty"`

	// DEPRECATED: DO NOT USE! Build commands to add as RUN instructions.
	// These instructions are executed before any dependencies are installed.
	OnImageBuildCommands []string `json:"onImageBuildCommands"`

	// this defines the working_dir relative to the root of the repo
	RelativeWorkingDir string `json:"relativeWorkingDir,omitempty"`
}

V1ImageSpec ImageSpec is the a-priori definition of the image which should be build.

swagger:model v1ImageSpec

func (*V1ImageSpec) ContextValidate ¶

func (m *V1ImageSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 image spec based on the context it is used

func (*V1ImageSpec) MarshalBinary ¶

func (m *V1ImageSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ImageSpec) UnmarshalBinary ¶

func (m *V1ImageSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ImageSpec) Validate ¶

func (m *V1ImageSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 image spec

type V1ImageState ¶

type V1ImageState string

V1ImageState v1 image state

swagger:model v1ImageState

const (

	// V1ImageStateIMAGESTATEUNSPECIFIED captures enum value "IMAGE_STATE_UNSPECIFIED"
	V1ImageStateIMAGESTATEUNSPECIFIED V1ImageState = "IMAGE_STATE_UNSPECIFIED"

	// V1ImageStateIMAGESTATEPENDING captures enum value "IMAGE_STATE_PENDING"
	V1ImageStateIMAGESTATEPENDING V1ImageState = "IMAGE_STATE_PENDING"

	// V1ImageStateIMAGESTATEFAILED captures enum value "IMAGE_STATE_FAILED"
	V1ImageStateIMAGESTATEFAILED V1ImageState = "IMAGE_STATE_FAILED"

	// V1ImageStateIMAGESTATEAVAILABLE captures enum value "IMAGE_STATE_AVAILABLE"
	V1ImageStateIMAGESTATEAVAILABLE V1ImageState = "IMAGE_STATE_AVAILABLE"
)

func NewV1ImageState ¶

func NewV1ImageState(value V1ImageState) *V1ImageState

func (V1ImageState) ContextValidate ¶

func (m V1ImageState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 image state based on context it is used

func (V1ImageState) Pointer ¶

func (m V1ImageState) Pointer() *V1ImageState

Pointer returns a pointer to a freshly-allocated V1ImageState.

func (V1ImageState) Validate ¶

func (m V1ImageState) Validate(formats strfmt.Registry) error

Validate validates this v1 image state

type V1Index ¶

type V1Index struct {

	// This is used to handle controlplane shutdown
	// Format: date-time
	StartedAt strfmt.DateTime `json:"startedAt,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

V1Index v1 index

swagger:model v1Index

func (*V1Index) ContextValidate ¶

func (m *V1Index) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 index based on context it is used

func (*V1Index) MarshalBinary ¶

func (m *V1Index) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Index) UnmarshalBinary ¶

func (m *V1Index) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Index) Validate ¶

func (m *V1Index) Validate(formats strfmt.Registry) error

Validate validates this v1 index

type V1InfinibandTier ¶

type V1InfinibandTier string

V1InfinibandTier InfinibandTier is the fabric locality at which an InfiniBand reservation is protected. Higher tiers are tighter (better interconnect).

  • INFINIBAND_TIER_UNSPECIFIED: not IB-aware: scattered whole nodes
  • INFINIBAND_TIER_HIGH: same spline (cluster-level, placement QoS "high")
  • INFINIBAND_TIER_HIGHEST: same rail (network switch, placement QoS "highest")

swagger:model v1InfinibandTier

const (

	// V1InfinibandTierINFINIBANDTIERUNSPECIFIED captures enum value "INFINIBAND_TIER_UNSPECIFIED"
	V1InfinibandTierINFINIBANDTIERUNSPECIFIED V1InfinibandTier = "INFINIBAND_TIER_UNSPECIFIED"

	// V1InfinibandTierINFINIBANDTIERHIGH captures enum value "INFINIBAND_TIER_HIGH"
	V1InfinibandTierINFINIBANDTIERHIGH V1InfinibandTier = "INFINIBAND_TIER_HIGH"

	// V1InfinibandTierINFINIBANDTIERHIGHEST captures enum value "INFINIBAND_TIER_HIGHEST"
	V1InfinibandTierINFINIBANDTIERHIGHEST V1InfinibandTier = "INFINIBAND_TIER_HIGHEST"
)

func NewV1InfinibandTier ¶

func NewV1InfinibandTier(value V1InfinibandTier) *V1InfinibandTier

func (V1InfinibandTier) ContextValidate ¶

func (m V1InfinibandTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 infiniband tier based on context it is used

func (V1InfinibandTier) Pointer ¶

func (m V1InfinibandTier) Pointer() *V1InfinibandTier

Pointer returns a pointer to a freshly-allocated V1InfinibandTier.

func (V1InfinibandTier) Validate ¶

func (m V1InfinibandTier) Validate(formats strfmt.Registry) error

Validate validates this v1 infiniband tier

type V1Input ¶

type V1Input struct {

	// default value
	DefaultValue string `json:"defaultValue,omitempty"`

	// placeholder
	Placeholder string `json:"placeholder,omitempty"`

	// value selected by the user
	Value string `json:"value,omitempty"`
}

V1Input v1 input

swagger:model v1Input

func (*V1Input) ContextValidate ¶

func (m *V1Input) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 input based on context it is used

func (*V1Input) MarshalBinary ¶

func (m *V1Input) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Input) UnmarshalBinary ¶

func (m *V1Input) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Input) Validate ¶

func (m *V1Input) Validate(formats strfmt.Registry) error

Validate validates this v1 input

type V1InstanceOverprovisioningSpec ¶

type V1InstanceOverprovisioningSpec struct {

	// instance type name in the cloud provider, e.g. `g4dn.xlarge`
	InstanceType string `json:"instanceType,omitempty"`

	// whether it is a spot instance
	IsSpot bool `json:"isSpot,omitempty"`

	// Version of the images, Ubuntu 20.04, etc.
	MachineImageVersion string `json:"machineImageVersion,omitempty"`

	// maximum number of instances to provision;
	// to utilize a reserved capacity
	MaximumCount int64 `json:"maximumCount,omitempty"`

	// minimum number of instances to overprovision
	// (i.e. number of instances that will be on standby always)
	MinimumCount int64 `json:"minimumCount,omitempty"`

	// region to allocate overprovisioned instances
	// to utilize a reserved capacity
	Region string `json:"region,omitempty"`

	// default volume size in GiB
	VolumeSize int32 `json:"volumeSize,omitempty"`
}

V1InstanceOverprovisioningSpec v1 instance overprovisioning spec

swagger:model v1InstanceOverprovisioningSpec

func (*V1InstanceOverprovisioningSpec) ContextValidate ¶

func (m *V1InstanceOverprovisioningSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 instance overprovisioning spec based on context it is used

func (*V1InstanceOverprovisioningSpec) MarshalBinary ¶

func (m *V1InstanceOverprovisioningSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1InstanceOverprovisioningSpec) UnmarshalBinary ¶

func (m *V1InstanceOverprovisioningSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1InstanceOverprovisioningSpec) Validate ¶

func (m *V1InstanceOverprovisioningSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 instance overprovisioning spec

type V1InterruptServerResponse ¶

type V1InterruptServerResponse any

V1InterruptServerResponse v1 interrupt server response

swagger:model v1InterruptServerResponse

type V1InvalidateCloudSpaceInstanceCodeSettingsResponse ¶

type V1InvalidateCloudSpaceInstanceCodeSettingsResponse any

V1InvalidateCloudSpaceInstanceCodeSettingsResponse v1 invalidate cloud space instance code settings response

swagger:model v1InvalidateCloudSpaceInstanceCodeSettingsResponse

type V1Job ¶

type V1Job struct {

	// The id of the capacity reservation if applicable
	CapacityReservationID string `json:"capacityReservationId,omitempty"`

	// Read only
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Read only
	// Format: date-time
	DeletedAt strfmt.DateTime `json:"deletedAt,omitempty"`

	// Read only
	DeploymentID string `json:"deploymentId,omitempty"`

	// Networking
	//
	// If the job is exposed to the internet
	Endpoint *V1Endpoint `json:"endpoint,omitempty"`

	// Read only
	ID string `json:"id,omitempty"`

	// Whether we received an interruption warning
	InterruptionNoticeReceived bool `json:"interruptionNoticeReceived,omitempty"`

	// When we received the interruption warning
	// Format: date-time
	InterruptionNoticeReceivedAt strfmt.DateTime `json:"interruptionNoticeReceivedAt,omitempty"`

	// Whether the job is healthy and ready to receive traffic
	IsHealthy bool `json:"isHealthy,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// id to link to mmt_v2 jobs
	MultiMachineJobID string `json:"multiMachineJobId,omitempty"`

	// Required
	Name string `json:"name,omitempty"`

	// Whether the job started from an overprovisioned machine.
	Overprovisioned bool `json:"overprovisioned,omitempty"`

	// The id of the pipeline that this job belongs to
	PipelineID string `json:"pipelineId,omitempty"`

	// Private IP address of the job, if applicable
	PrivateIPAddress string `json:"privateIpAddress,omitempty"`

	// Required
	ProjectID string `json:"projectId,omitempty"`

	// Public IP address of the job, if applicable
	PublicIPAddress string `json:"publicIpAddress,omitempty"`

	// Read only
	// Format: date-time
	ReadyAt strfmt.DateTime `json:"readyAt,omitempty"`

	// Read only
	ReleaseID string `json:"releaseId,omitempty"`

	// Set when a user asks to gracefully replace this replica (e.g. its machine
	// requires maintenance). The deployment reconciler surges a replacement and
	// drains this job once the replacement is ready.
	ReplaceRequested bool `json:"replaceRequested,omitempty"`

	// replace requested at
	// Format: date-time
	ReplaceRequestedAt strfmt.DateTime `json:"replaceRequestedAt,omitempty"`

	// Whether the machine on which the server is running requires maintenance
	RequiresMaintenance bool `json:"requiresMaintenance,omitempty"`

	// How many times the job has restarted
	RestartCount int32 `json:"restartCount,omitempty"`

	// The timings tracking the the job restarts
	RestartTimings []*V1RestartTiming `json:"restartTimings"`

	// Server error
	//
	// If the job failed, the server error message
	ServerError string `json:"serverError,omitempty"`

	// spec
	Spec *V1JobSpec `json:"spec,omitempty"`

	// When the job started running
	// Format: date-time
	StartedAt strfmt.DateTime `json:"startedAt,omitempty"`

	// Status
	//
	// pending, running, stopped, completed, failed
	State string `json:"state,omitempty"`

	// When the job stopped running (stopped/failed/completed)
	// Format: date-time
	StoppedAt strfmt.DateTime `json:"stoppedAt,omitempty"`

	// User-generated startup timing measurements
	Timings map[string]V1JobTiming `json:"timings,omitempty"`

	// Total cost of the job
	//
	// The total cost of the job
	TotalCost float32 `json:"totalCost,omitempty"`

	// The total size of the job in bytes
	TotalSizeBytes string `json:"totalSizeBytes,omitempty"`

	// Read only
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// URLs to access the job (read-only)
	Urls []string `json:"urls"`

	// Read only
	UserID string `json:"userId,omitempty"`

	// Read only
	// Format: date-time
	UserLogsStartedAt strfmt.DateTime `json:"userLogsStartedAt,omitempty"`

	// The visibility of the job to users
	Visibility *V1ResourceVisibility `json:"visibility,omitempty"`
}

V1Job v1 job

swagger:model v1Job

func (*V1Job) ContextValidate ¶

func (m *V1Job) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 job based on the context it is used

func (*V1Job) MarshalBinary ¶

func (m *V1Job) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Job) UnmarshalBinary ¶

func (m *V1Job) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Job) Validate ¶

func (m *V1Job) Validate(formats strfmt.Registry) error

Validate validates this v1 job

type V1JobHealthCheckConfig ¶

type V1JobHealthCheckConfig struct {

	// exec
	Exec *V1HealthCheckExec `json:"exec,omitempty"`

	// how many consecutive failures will mark the job as failed
	FailureThreshold int32 `json:"failureThreshold,omitempty"`

	// http get
	HTTPGet *V1HealthCheckHTTPGet `json:"httpGet,omitempty"`

	// how long to wait after start before sending healthchecks
	InitialDelaySeconds int32 `json:"initialDelaySeconds,omitempty"`

	// time to wait between retries
	IntervalSeconds int32 `json:"intervalSeconds,omitempty"`

	// the restart policy for the job, defaults to "no"
	RestartPolicy string `json:"restartPolicy,omitempty"`

	// how long to respond
	TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`

	// whether to use the default readiness and health check for the job, defaults to true
	UseDefaultCheck bool `json:"useDefaultCheck,omitempty"`
}

V1JobHealthCheckConfig v1 job health check config

swagger:model v1JobHealthCheckConfig

func (*V1JobHealthCheckConfig) ContextValidate ¶

func (m *V1JobHealthCheckConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 job health check config based on the context it is used

func (*V1JobHealthCheckConfig) MarshalBinary ¶

func (m *V1JobHealthCheckConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1JobHealthCheckConfig) UnmarshalBinary ¶

func (m *V1JobHealthCheckConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1JobHealthCheckConfig) Validate ¶

func (m *V1JobHealthCheckConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 job health check config

type V1JobLogEntry ¶

type V1JobLogEntry struct {

	// line
	Line string `json:"line,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// Resource (replica) the line came from — the job id. Lets a merged multi-replica view label
	// each line's source.
	ResourceID string `json:"resourceId,omitempty"`

	// Inferred severity: "error" | "warning" | "info" | "debug", or "" if undetermined.
	Severity string `json:"severity,omitempty"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

V1JobLogEntry v1 job log entry

swagger:model v1JobLogEntry

func (*V1JobLogEntry) ContextValidate ¶

func (m *V1JobLogEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 job log entry based on context it is used

func (*V1JobLogEntry) MarshalBinary ¶

func (m *V1JobLogEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1JobLogEntry) UnmarshalBinary ¶

func (m *V1JobLogEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1JobLogEntry) Validate ¶

func (m *V1JobLogEntry) Validate(formats strfmt.Registry) error

Validate validates this v1 job log entry

type V1JobLogsPage ¶

type V1JobLogsPage struct {

	// end
	// Format: date-time
	End strfmt.DateTime `json:"end,omitempty"`

	// page number
	PageNumber string `json:"pageNumber,omitempty"`

	// start
	// Format: date-time
	Start strfmt.DateTime `json:"start,omitempty"`

	// total lines
	TotalLines string `json:"totalLines,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

V1JobLogsPage v1 job logs page

swagger:model v1JobLogsPage

func (*V1JobLogsPage) ContextValidate ¶

func (m *V1JobLogsPage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 job logs page based on context it is used

func (*V1JobLogsPage) MarshalBinary ¶

func (m *V1JobLogsPage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1JobLogsPage) UnmarshalBinary ¶

func (m *V1JobLogsPage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1JobLogsPage) Validate ¶

func (m *V1JobLogsPage) Validate(formats strfmt.Registry) error

Validate validates this v1 job logs page

type V1JobLogsResponse ¶

type V1JobLogsResponse struct {

	// follow Url
	FollowURL string `json:"followUrl,omitempty"`

	// pages
	Pages []*V1JobLogsPage `json:"pages"`
}

V1JobLogsResponse v1 job logs response

swagger:model v1JobLogsResponse

func (*V1JobLogsResponse) ContextValidate ¶

func (m *V1JobLogsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 job logs response based on the context it is used

func (*V1JobLogsResponse) MarshalBinary ¶

func (m *V1JobLogsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1JobLogsResponse) UnmarshalBinary ¶

func (m *V1JobLogsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1JobLogsResponse) Validate ¶

func (m *V1JobLogsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 job logs response

type V1JobResource ¶

type V1JobResource struct {

	// agent job
	AgentJob *V1AgentJob `json:"agentJob,omitempty"`

	// app instance
	AppInstance *Externalv1LightningappInstance `json:"appInstance,omitempty"`

	// batch job
	BatchJob *V1Job `json:"batchJob,omitempty"`

	// deployment
	Deployment *V1Deployment `json:"deployment,omitempty"`

	// multi machine job
	MultiMachineJob *V1MultiMachineJob `json:"multiMachineJob,omitempty"`

	// pipeline
	Pipeline *V1Pipeline `json:"pipeline,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`
}

V1JobResource v1 job resource

swagger:model v1JobResource

func (*V1JobResource) ContextValidate ¶

func (m *V1JobResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 job resource based on the context it is used

func (*V1JobResource) MarshalBinary ¶

func (m *V1JobResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1JobResource) UnmarshalBinary ¶

func (m *V1JobResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1JobResource) Validate ¶

func (m *V1JobResource) Validate(formats strfmt.Registry) error

Validate validates this v1 job resource

type V1JobSpec ¶

type V1JobSpec struct {

	// If empty, persist artifacts to cluster s3. Otherwise persist to efs. Should be of format efs:efs_name:PathInsideTheEFSVolume
	ArtifactsDestination string `json:"artifactsDestination,omitempty"`

	// The following arguments are for jobs with docker-images only. With jobs from studios we always setup everything
	// TODO: migrate them to path_mappings;
	//
	// Which folder artifacts should be persisted from
	ArtifactsSource string `json:"artifactsSource,omitempty"`

	// cloudspace Id
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// Read only (inherits from cloudspace)
	ClusterID string `json:"clusterId,omitempty"`

	// Run configuration
	//
	// Command to run on the machine
	Command string `json:"command,omitempty"`

	// Current run attempt for this job.
	CurrentRunAttempt int64 `json:"currentRunAttempt,omitempty"`

	// Whether files have been uploaded to the deployment. Those files are accessible on start
	DataPaths []*V1DataPath `json:"dataPaths"`

	// if true, the job will not persist artifacts to remote storage
	DisableArtifactsPersistence bool `json:"disableArtifactsPersistence,omitempty"`

	// Override Docker image entrypoint
	Entrypoint string `json:"entrypoint,omitempty"`

	// Env vars to set (also inherited from cloudspace)
	Env []*V1EnvVar `json:"env"`

	// Docker image to use (defaults to Lightning images)
	Image string `json:"image,omitempty"`

	// Whether the image requires cluster credentials
	ImageClusterCredentials bool `json:"imageClusterCredentials,omitempty"`

	// If required, the secret
	ImageSecretRef string `json:"imageSecretRef,omitempty"`

	// Whether we should inject the env variables to authenticate to the CP e.g
	// LIGHTNING_USER_ID and LIGHTNING_API_KEY
	IncludeCredentials bool `json:"includeCredentials,omitempty"`

	// Compute
	//
	// User requested instance name (nickname such as cpu-4, etc.)
	InstanceName string `json:"instanceName,omitempty"`

	// Read only
	InstanceType string `json:"instanceType,omitempty"`

	// Allows us to bind a job to a machine or virtual machine
	MachineID string `json:"machineId,omitempty"`

	// machine image version
	MachineImageVersion string `json:"machineImageVersion,omitempty"`

	// Max number of run attempts for this job. 0 means unset; 1 means a single attempt (no retries).
	MaxRunAttempts int64 `json:"maxRunAttempts,omitempty"`

	// Track whether the EBS volume has been modified once the flow was ready
	ModifiedVolume bool `json:"modifiedVolume,omitempty"`

	// Parent job id for this job.
	ParentJobID string `json:"parentJobId,omitempty"`

	// define path mappings from remote storage inside a container
	PathMappings []*V1PathMapping `json:"pathMappings"`

	// pipeline Id
	PipelineID string `json:"pipelineId,omitempty"`

	// placement group Id
	PlacementGroupID string `json:"placementGroupId,omitempty"`

	// The number of machines to request for the job
	Quantity int64 `json:"quantity,omitempty"`

	// The rank of the job in the deployment
	Rank int64 `json:"rank,omitempty"`

	// Follows dockerspec.HealthcheckConfig spec
	ReadinessProbe *V1JobHealthCheckConfig `json:"readinessProbe,omitempty"`

	// define which regions in which the job is allowed to run
	Regions []string `json:"regions"`

	// Requested run duration for the job, used to get its machine using dynamic workload scheduler (DWS on GCP, recommended way to get non-spot 1/2/4xH100)
	RequestedRunDurationSeconds string `json:"requestedRunDurationSeconds,omitempty"`

	// Read only
	Resources *V1Resources `json:"resources,omitempty"`

	// What to do on container exit, defaults to 'never' but other Docker codes are valid too such as 'always'
	RestartPolicy string `json:"restartPolicy,omitempty"`

	// Lightning run ID (required if with cloudspace)
	RunID string `json:"runId,omitempty"`

	// The delay in seconds before we stop the job container, used together with router to give time to process requests
	ShutdownDelaySeconds int64 `json:"shutdownDelaySeconds,omitempty"`

	// The timeout in seconds when stopping job container, used together with router to give time to process requests
	ShutdownTimeoutSeconds int64 `json:"shutdownTimeoutSeconds,omitempty"`

	// spot
	Spot bool `json:"spot,omitempty"`

	// Only for deployments. Whether the deployment is using tls_certificates
	UseTLS bool `json:"useTls,omitempty"`

	// volumes
	Volumes []*V1Volume `json:"volumes"`
}

V1JobSpec v1 job spec

swagger:model v1JobSpec

func (*V1JobSpec) ContextValidate ¶

func (m *V1JobSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 job spec based on the context it is used

func (*V1JobSpec) MarshalBinary ¶

func (m *V1JobSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1JobSpec) UnmarshalBinary ¶

func (m *V1JobSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1JobSpec) Validate ¶

func (m *V1JobSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 job spec

type V1JobTiming ¶

type V1JobTiming struct {

	// end
	// Format: date-time
	End strfmt.DateTime `json:"end,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// payload
	Payload string `json:"payload,omitempty"`

	// rank
	Rank int64 `json:"rank,omitempty"`

	// start
	// Format: date-time
	Start strfmt.DateTime `json:"start,omitempty"`
}

V1JobTiming v1 job timing

swagger:model v1JobTiming

func (*V1JobTiming) ContextValidate ¶

func (m *V1JobTiming) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 job timing based on context it is used

func (*V1JobTiming) MarshalBinary ¶

func (m *V1JobTiming) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1JobTiming) UnmarshalBinary ¶

func (m *V1JobTiming) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1JobTiming) Validate ¶

func (m *V1JobTiming) Validate(formats strfmt.Registry) error

Validate validates this v1 job timing

type V1JobType ¶

type V1JobType string

V1JobType - JOB_TYPE_APP_INSTANCE: Lightning app instances

  • JOB_TYPE_BATCH_JOB: Regular jobs
  • JOB_TYPE_DEPLOYMENT: Deployments
  • JOB_TYPE_PIPELINE: Pipelines
  • JOB_TYPE_SLURM_JOB: Slurm jobs
  • JOB_TYPE_MULTI_MACHINE_JOB: Multi-machine jobs
  • JOB_TYPE_DEFAULT_JOBS: Default jobs (batch jobs, lightning apps, mmt, lit data, ...)

swagger:model v1JobType

const (

	// V1JobTypeJOBTYPEUNSPECIFIED captures enum value "JOB_TYPE_UNSPECIFIED"
	V1JobTypeJOBTYPEUNSPECIFIED V1JobType = "JOB_TYPE_UNSPECIFIED"

	// V1JobTypeJOBTYPEAPPINSTANCE captures enum value "JOB_TYPE_APP_INSTANCE"
	V1JobTypeJOBTYPEAPPINSTANCE V1JobType = "JOB_TYPE_APP_INSTANCE"

	// V1JobTypeJOBTYPEBATCHJOB captures enum value "JOB_TYPE_BATCH_JOB"
	V1JobTypeJOBTYPEBATCHJOB V1JobType = "JOB_TYPE_BATCH_JOB"

	// V1JobTypeJOBTYPEDEPLOYMENT captures enum value "JOB_TYPE_DEPLOYMENT"
	V1JobTypeJOBTYPEDEPLOYMENT V1JobType = "JOB_TYPE_DEPLOYMENT"

	// V1JobTypeJOBTYPEPIPELINE captures enum value "JOB_TYPE_PIPELINE"
	V1JobTypeJOBTYPEPIPELINE V1JobType = "JOB_TYPE_PIPELINE"

	// V1JobTypeJOBTYPESLURMJOB captures enum value "JOB_TYPE_SLURM_JOB"
	V1JobTypeJOBTYPESLURMJOB V1JobType = "JOB_TYPE_SLURM_JOB"

	// V1JobTypeJOBTYPEMULTIMACHINEJOB captures enum value "JOB_TYPE_MULTI_MACHINE_JOB"
	V1JobTypeJOBTYPEMULTIMACHINEJOB V1JobType = "JOB_TYPE_MULTI_MACHINE_JOB"

	// V1JobTypeJOBTYPEDEFAULTJOBS captures enum value "JOB_TYPE_DEFAULT_JOBS"
	V1JobTypeJOBTYPEDEFAULTJOBS V1JobType = "JOB_TYPE_DEFAULT_JOBS"
)

func NewV1JobType ¶

func NewV1JobType(value V1JobType) *V1JobType

func (V1JobType) ContextValidate ¶

func (m V1JobType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 job type based on context it is used

func (V1JobType) Pointer ¶

func (m V1JobType) Pointer() *V1JobType

Pointer returns a pointer to a freshly-allocated V1JobType.

func (V1JobType) Validate ¶

func (m V1JobType) Validate(formats strfmt.Registry) error

Validate validates this v1 job type

type V1JoinableOrganization ¶

type V1JoinableOrganization struct {

	// description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// location
	Location string `json:"location,omitempty"`

	// member count
	MemberCount string `json:"memberCount,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// skip phone verification
	SkipPhoneVerification bool `json:"skipPhoneVerification,omitempty"`

	// twitter username
	TwitterUsername string `json:"twitterUsername,omitempty"`
}

V1JoinableOrganization A JoinableOrganization is an organization that the user can join. It contains only public fields, plus a count of the number of members.

swagger:model v1JoinableOrganization

func (*V1JoinableOrganization) ContextValidate ¶

func (m *V1JoinableOrganization) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 joinable organization based on context it is used

func (*V1JoinableOrganization) MarshalBinary ¶

func (m *V1JoinableOrganization) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1JoinableOrganization) UnmarshalBinary ¶

func (m *V1JoinableOrganization) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1JoinableOrganization) Validate ¶

func (m *V1JoinableOrganization) Validate(formats strfmt.Registry) error

Validate validates this v1 joinable organization

type V1K8sDeploymentConfig ¶

type V1K8sDeploymentConfig struct {

	// When set, replica pods are scheduled by the KAI Scheduler. Future:
	// namespace_template, service_mesh, resource_quotas, etc.
	KaiSchedulerConfig *V1KaiSchedulerConfig `json:"kaiSchedulerConfig,omitempty"`
}

V1K8sDeploymentConfig v1 k8s deployment config

swagger:model v1K8sDeploymentConfig

func (*V1K8sDeploymentConfig) ContextValidate ¶

func (m *V1K8sDeploymentConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 k8s deployment config based on the context it is used

func (*V1K8sDeploymentConfig) MarshalBinary ¶

func (m *V1K8sDeploymentConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1K8sDeploymentConfig) UnmarshalBinary ¶

func (m *V1K8sDeploymentConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1K8sDeploymentConfig) Validate ¶

func (m *V1K8sDeploymentConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 k8s deployment config

type V1K8sIncidentSetting ¶

type V1K8sIncidentSetting struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// type
	Type *V1K8sIncidentType `json:"type,omitempty"`
}

V1K8sIncidentSetting v1 k8s incident setting

swagger:model v1K8sIncidentSetting

func (*V1K8sIncidentSetting) ContextValidate ¶

func (m *V1K8sIncidentSetting) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 k8s incident setting based on the context it is used

func (*V1K8sIncidentSetting) MarshalBinary ¶

func (m *V1K8sIncidentSetting) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1K8sIncidentSetting) UnmarshalBinary ¶

func (m *V1K8sIncidentSetting) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1K8sIncidentSetting) Validate ¶

func (m *V1K8sIncidentSetting) Validate(formats strfmt.Registry) error

Validate validates this v1 k8s incident setting

type V1K8sIncidentType ¶

type V1K8sIncidentType string

V1K8sIncidentType v1 k8s incident type

swagger:model v1K8sIncidentType

const (

	// V1K8sIncidentTypeK8SHIGHTEMPERATURE captures enum value "K8S_HIGH_TEMPERATURE"
	V1K8sIncidentTypeK8SHIGHTEMPERATURE V1K8sIncidentType = "K8S_HIGH_TEMPERATURE"

	// V1K8sIncidentTypeK8SUNSCHEDULABLEGPUS captures enum value "K8S_UNSCHEDULABLE_GPUS"
	V1K8sIncidentTypeK8SUNSCHEDULABLEGPUS V1K8sIncidentType = "K8S_UNSCHEDULABLE_GPUS"

	// V1K8sIncidentTypeK8SKUBELETFAILURE captures enum value "K8S_KUBELET_FAILURE"
	V1K8sIncidentTypeK8SKUBELETFAILURE V1K8sIncidentType = "K8S_KUBELET_FAILURE"

	// V1K8sIncidentTypeK8SXIDGPUERROR captures enum value "K8S_XID_GPU_ERROR"
	V1K8sIncidentTypeK8SXIDGPUERROR V1K8sIncidentType = "K8S_XID_GPU_ERROR"

	// V1K8sIncidentTypeK8SUNSCHEDULABLENODES captures enum value "K8S_UNSCHEDULABLE_NODES"
	V1K8sIncidentTypeK8SUNSCHEDULABLENODES V1K8sIncidentType = "K8S_UNSCHEDULABLE_NODES"

	// V1K8sIncidentTypeK8SHIGHNFSSTORAGE captures enum value "K8S_HIGH_NFS_STORAGE"
	V1K8sIncidentTypeK8SHIGHNFSSTORAGE V1K8sIncidentType = "K8S_HIGH_NFS_STORAGE"

	// V1K8sIncidentTypeUSERREPORTED captures enum value "USER_REPORTED"
	V1K8sIncidentTypeUSERREPORTED V1K8sIncidentType = "USER_REPORTED"
)

func NewV1K8sIncidentType ¶

func NewV1K8sIncidentType(value V1K8sIncidentType) *V1K8sIncidentType

func (V1K8sIncidentType) ContextValidate ¶

func (m V1K8sIncidentType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 k8s incident type based on context it is used

func (V1K8sIncidentType) Pointer ¶

func (m V1K8sIncidentType) Pointer() *V1K8sIncidentType

Pointer returns a pointer to a freshly-allocated V1K8sIncidentType.

func (V1K8sIncidentType) Validate ¶

func (m V1K8sIncidentType) Validate(formats strfmt.Registry) error

Validate validates this v1 k8s incident type

type V1KaiSchedulerConfig ¶

type V1KaiSchedulerConfig struct {

	// pod spec.priorityClassName (e.g. "train")
	PriorityClassName string `json:"priorityClassName,omitempty"`

	// value for the pod label "kai.scheduler/queue" (e.g. "video-queue")
	Queue string `json:"queue,omitempty"`

	// pod spec.schedulerName; defaults to "kai-scheduler" when this block is set
	SchedulerName string `json:"schedulerName,omitempty"`
}

V1KaiSchedulerConfig KaiSchedulerConfig configures the KAI Scheduler for a pod-native deployment. Presence of this message enables KAI scheduling for the deployment's replica pods.

swagger:model v1KaiSchedulerConfig

func (*V1KaiSchedulerConfig) ContextValidate ¶

func (m *V1KaiSchedulerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 kai scheduler config based on context it is used

func (*V1KaiSchedulerConfig) MarshalBinary ¶

func (m *V1KaiSchedulerConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1KaiSchedulerConfig) UnmarshalBinary ¶

func (m *V1KaiSchedulerConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1KaiSchedulerConfig) Validate ¶

func (m *V1KaiSchedulerConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 kai scheduler config

type V1KeepAliveCloudSpaceInstanceResponse ¶

type V1KeepAliveCloudSpaceInstanceResponse any

V1KeepAliveCloudSpaceInstanceResponse v1 keep alive cloud space instance response

swagger:model v1KeepAliveCloudSpaceInstanceResponse

type V1KernelBootFlags ¶

type V1KernelBootFlags struct {

	// hugepages configured
	HugepagesConfigured bool `json:"hugepagesConfigured,omitempty"`

	// intel_iommu=on OR amd_iommu=on
	IommuEnabled bool `json:"iommuEnabled,omitempty"`

	// iommu=pt
	IommuPassthrough bool `json:"iommuPassthrough,omitempty"`

	// isolcpus=...
	IsolatedCpus []string `json:"isolatedCpus"`

	// parsed from vfio-pci.ids=...
	VfioPciIds []string `json:"vfioPciIds"`
}

V1KernelBootFlags v1 kernel boot flags

swagger:model v1KernelBootFlags

func (*V1KernelBootFlags) ContextValidate ¶

func (m *V1KernelBootFlags) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 kernel boot flags based on context it is used

func (*V1KernelBootFlags) MarshalBinary ¶

func (m *V1KernelBootFlags) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1KernelBootFlags) UnmarshalBinary ¶

func (m *V1KernelBootFlags) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1KernelBootFlags) Validate ¶

func (m *V1KernelBootFlags) Validate(formats strfmt.Registry) error

Validate validates this v1 kernel boot flags

type V1KubernetesAWSConfig ¶

type V1KubernetesAWSConfig struct {

	// AMI to use for nodes
	Ami string `json:"ami,omitempty"`

	// Cloud init user-data for nodes
	CloudInit string `json:"cloudInit,omitempty"`

	// ClusterID of the AWS cluster this EKS cluster lives in
	ClusterID string `json:"clusterId,omitempty"`

	// The name of the EKS cluster in AWS
	Name string `json:"name,omitempty"`

	// AWS Region of this cluster
	Region string `json:"region,omitempty"`

	// IAM role for nodes
	Role string `json:"role,omitempty"`

	// Security groups nodes should be configured with
	SecurityGroups []string `json:"securityGroups"`
}

V1KubernetesAWSConfig v1 kubernetes a w s config

swagger:model v1KubernetesAWSConfig

func (*V1KubernetesAWSConfig) ContextValidate ¶

func (m *V1KubernetesAWSConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 kubernetes a w s config based on context it is used

func (*V1KubernetesAWSConfig) MarshalBinary ¶

func (m *V1KubernetesAWSConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1KubernetesAWSConfig) UnmarshalBinary ¶

func (m *V1KubernetesAWSConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1KubernetesAWSConfig) Validate ¶

func (m *V1KubernetesAWSConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 kubernetes a w s config

type V1KubernetesDirectSettingsV1 ¶

type V1KubernetesDirectSettingsV1 struct {

	// Used for reporting
	DailyUsageReport bool `json:"dailyUsageReport,omitempty"`

	// whether the watcher can collect pods information and persist their logs
	DisablePodsCollection bool `json:"disablePodsCollection,omitempty"`

	// enable kai scheduler pod name validation
	EnableKaiSchedulerPodNameValidation bool `json:"enableKaiSchedulerPodNameValidation,omitempty"`

	// The duration over which average memory utilization must exceed the threshold before an alert is sent.
	// Defaults to 5 minutes if unset.
	MemoryAlertDuration string `json:"memoryAlertDuration,omitempty"`

	// Memory utilization alert settings. Used to decide whether to emit a high memory utilization alert.
	// The threshold (percentage 0-100) above which a pod is considered to have high memory utilization.
	// Defaults to 90.0 if unset.
	MemoryUtilizationThreshold float32 `json:"memoryUtilizationThreshold,omitempty"`

	// Mount points to collect and expose node filesystem metrics for.
	// Defaults to ["/"] when empty.
	MonitoredFilesystemMountPoints []string `json:"monitoredFilesystemMountPoints"`

	// monthly usage report
	MonthlyUsageReport bool `json:"monthlyUsageReport,omitempty"`

	// nfs storage threshold
	NfsStorageThreshold float32 `json:"nfsStorageThreshold,omitempty"`

	// when connected to a cluster while running controlplane locally, we default to read-only cluster access
	// override_read_only allows overriding this behaviour. Intended for demos or other one-off activities
	OverrideReadOnly bool `json:"overrideReadOnly,omitempty"`

	// persist pods logs
	PersistPodsLogs bool `json:"persistPodsLogs,omitempty"`

	// slack channel Id
	SlackChannelID string `json:"slackChannelId,omitempty"`

	// Used to decide whether to emit incident events
	TemperatureThreshold float32 `json:"temperatureThreshold,omitempty"`

	// The duration a GPU must remain unschedulable before an incident is opened.
	// Defaults to 2 minutes if unset.
	UnschedulableGpuSustainDuration string `json:"unschedulableGpuSustainDuration,omitempty"`

	// weekly usage report
	WeeklyUsageReport bool `json:"weeklyUsageReport,omitempty"`

	// The behavior to follow when a XID error is detected
	// This string is a jsonified map of the string-based keys to XID error behaviors to the XidErrorHandler struct
	// e.g.
	// {
	//   "XID_GPU_ERROR": {
	//     "cordon": {
	//       "code": "XID_GPU_ERROR",
	//       "behavior": "cordon",
	//       "threshold": 10,
	//       "period": "1h"
	//     },
	//   }
	// }
	XidErrorBehavior map[string]V1XidErrorBehaviorMap `json:"xidErrorBehavior,omitempty"`
}

V1KubernetesDirectSettingsV1 v1 kubernetes direct settings v1

swagger:model v1KubernetesDirectSettingsV1

func (*V1KubernetesDirectSettingsV1) ContextValidate ¶

func (m *V1KubernetesDirectSettingsV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 kubernetes direct settings v1 based on the context it is used

func (*V1KubernetesDirectSettingsV1) MarshalBinary ¶

func (m *V1KubernetesDirectSettingsV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1KubernetesDirectSettingsV1) UnmarshalBinary ¶

func (m *V1KubernetesDirectSettingsV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1KubernetesDirectSettingsV1) Validate ¶

func (m *V1KubernetesDirectSettingsV1) Validate(formats strfmt.Registry) error

Validate validates this v1 kubernetes direct settings v1

type V1KubernetesDirectV1 ¶

type V1KubernetesDirectV1 struct {

	// alerts config
	AlertsConfig *Gridv1ClusterAlertsConfig `json:"alertsConfig,omitempty"`

	// Whether agent installation is automated
	AutomateAgentInstallation bool `json:"automateAgentInstallation,omitempty"`

	// AWS EKS configuration details for this cluster
	Aws *V1KubernetesAWSConfig `json:"aws,omitempty"`

	// gpu operator config
	GpuOperatorConfig *V1GpuOperatorConfig `json:"gpuOperatorConfig,omitempty"`

	// gpu Sla terms
	GpuSLATerms []*V1GpuSLATerm `json:"gpuSlaTerms"`

	// Grafana dashboard URL. Either set the URL or the service name and port, depending
	// on the cluster setup
	GrafanaDashboardURL string `json:"grafanaDashboardUrl,omitempty"`

	// grafana namespace
	GrafanaNamespace string `json:"grafanaNamespace,omitempty"`

	// grafana service name
	GrafanaServiceName string `json:"grafanaServiceName,omitempty"`

	// grafana service port
	GrafanaServicePort string `json:"grafanaServicePort,omitempty"`

	// incident alert notifications
	IncidentAlertNotifications []*V1K8sIncidentSetting `json:"incidentAlertNotifications"`

	// incident auto cordon
	IncidentAutoCordon []*V1K8sIncidentSetting `json:"incidentAutoCordon"`

	// Whether the incident monitoring did a full pass over all the historial data. Further pass would perform tailing over the next hour
	IncidentHistoricalScanComplete bool `json:"incidentHistoricalScanComplete,omitempty"`

	// when sending incident notifications, list user workloads from these namespaces
	IncidentNotificationNamespaces []string `json:"incidentNotificationNamespaces"`

	// Slack notifier
	IncidentSlackNotifiers []*V1SlackNotifier `json:"incidentSlackNotifiers"`

	// Kubeconfig for the cluster, default permissions for members
	Kubeconfig string `json:"kubeconfig,omitempty"`

	// Scoped-down kubeconfig that is safe for agents running in the cluster
	KubeconfigAgent string `json:"kubeconfigAgent,omitempty"`

	// Elevated kubeconfig, used for cluster-admin access
	KubeconfigElevated string `json:"kubeconfigElevated,omitempty"`

	// kubevirt config
	KubevirtConfig *V1KubevirtConfig `json:"kubevirtConfig,omitempty"`

	// The number of nodes that can be cordoned at once
	NodeCordonedBudget int32 `json:"nodeCordonedBudget,omitempty"`

	// Timestamp of the last node downtime sync.
	// Format: date-time
	NodeDowntimeSyncedTo strfmt.DateTime `json:"nodeDowntimeSyncedTo,omitempty"`

	// prometheus Url
	PrometheusURL string `json:"prometheusUrl,omitempty"`

	// The settings of the kubenertes cluster
	Settings *V1KubernetesDirectSettingsV1 `json:"settings,omitempty"`

	// Whether to not inject the lightning user id as an extra label
	SkipUserLabelInjection bool `json:"skipUserLabelInjection,omitempty"`

	// List of supported NVIDIA driver versions
	SupportedNvidiaDriverVersions []string `json:"supportedNvidiaDriverVersions"`
}

V1KubernetesDirectV1 KubernetesDirectV1 provides direct access to Kubernetes cluster, we assume that it's already provisioned and we just need to connect to it and use it (providing authentication & RBAC to it)

swagger:model v1KubernetesDirectV1

func (*V1KubernetesDirectV1) ContextValidate ¶

func (m *V1KubernetesDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 kubernetes direct v1 based on the context it is used

func (*V1KubernetesDirectV1) MarshalBinary ¶

func (m *V1KubernetesDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1KubernetesDirectV1) UnmarshalBinary ¶

func (m *V1KubernetesDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1KubernetesDirectV1) Validate ¶

func (m *V1KubernetesDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 kubernetes direct v1

type V1KubernetesDirectV1Status ¶

type V1KubernetesDirectV1Status struct {

	// reason
	Reason string `json:"reason,omitempty"`

	// state
	State *V1RegionState `json:"state,omitempty"`
}

V1KubernetesDirectV1Status v1 kubernetes direct v1 status

swagger:model v1KubernetesDirectV1Status

func (*V1KubernetesDirectV1Status) ContextValidate ¶

func (m *V1KubernetesDirectV1Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 kubernetes direct v1 status based on the context it is used

func (*V1KubernetesDirectV1Status) MarshalBinary ¶

func (m *V1KubernetesDirectV1Status) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1KubernetesDirectV1Status) UnmarshalBinary ¶

func (m *V1KubernetesDirectV1Status) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1KubernetesDirectV1Status) Validate ¶

func (m *V1KubernetesDirectV1Status) Validate(formats strfmt.Registry) error

Validate validates this v1 kubernetes direct v1 status

type V1KubevirtConfig ¶

type V1KubevirtConfig struct {

	// API key for the Kubevirt API
	APIKey string `json:"apiKey,omitempty"`

	// API URL for the Kubevirt API
	APIURL string `json:"apiUrl,omitempty"`

	// Default VM image key to use when creating virtual machines
	DefaultVMImage string `json:"defaultVmImage,omitempty"`

	// the number of nodes running K8s
	K8sNodeCount int64 `json:"k8sNodeCount,omitempty"`

	// the number of nodes in the cluster
	NodeCount int64 `json:"nodeCount,omitempty"`

	// the GPU family for the nodes
	NodeFamily string `json:"nodeFamily,omitempty"`

	// Kubevirt provider
	Provider string `json:"provider,omitempty"`

	// Whether this cluster supports public IP connectivity for VMs
	PublicIPAvailable bool `json:"publicIpAvailable,omitempty"`

	// Whether this cluster is used to support Lightning with compute on the platform
	ShowAsLightning bool `json:"showAsLightning,omitempty"`

	// Whether Kubevirt is supported for this cluster
	Supported bool `json:"supported,omitempty"`

	// UUID of the Kubevirt cluster in the underlying provider
	UUID string `json:"uuid,omitempty"`

	// the number of nodes dedicated to VMs
	VMNodeCount int64 `json:"vmNodeCount,omitempty"`
}

V1KubevirtConfig KubevirtConfig defines parameters for a K8s cluster to support Kubevirt

swagger:model v1KubevirtConfig

func (*V1KubevirtConfig) ContextValidate ¶

func (m *V1KubevirtConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 kubevirt config based on context it is used

func (*V1KubevirtConfig) MarshalBinary ¶

func (m *V1KubevirtConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1KubevirtConfig) UnmarshalBinary ¶

func (m *V1KubevirtConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1KubevirtConfig) Validate ¶

func (m *V1KubevirtConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 kubevirt config

type V1LambdaLabsDirectV1 ¶

type V1LambdaLabsDirectV1 struct {

	// ID of the secret that contains the LambdaLabs API key.
	CredentialsSecretID string `json:"credentialsSecretId,omitempty"`

	// Primary region stores user's code and data
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// We deploy the bare bones infrastructure into every region
	Regions []string `json:"regions"`

	// Subnets CIDR ranges to allow inter-node communication in network security rules (done via iptables, until we have provider-side network security setup)
	SubnetCidrRanges []string `json:"subnetCidrRanges"`
}

V1LambdaLabsDirectV1 v1 lambda labs direct v1

swagger:model v1LambdaLabsDirectV1

func (*V1LambdaLabsDirectV1) ContextValidate ¶

func (m *V1LambdaLabsDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 lambda labs direct v1 based on context it is used

func (*V1LambdaLabsDirectV1) MarshalBinary ¶

func (m *V1LambdaLabsDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LambdaLabsDirectV1) UnmarshalBinary ¶

func (m *V1LambdaLabsDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LambdaLabsDirectV1) Validate ¶

func (m *V1LambdaLabsDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 lambda labs direct v1

type V1LibNVFMFitness ¶

type V1LibNVFMFitness struct {

	// collection state
	CollectionState string `json:"collectionState,omitempty"`

	// daemon version
	DaemonVersion string `json:"daemonVersion,omitempty"`

	// dev version
	DevVersion string `json:"devVersion,omitempty"`

	// present
	Present bool `json:"present,omitempty"`
}

V1LibNVFMFitness LibNVFMFitness is the NVIDIA Fabric Manager client library (libnvfm.so.1) posture, read in-agent via ldconfig + dpkg. It is fail-closed: a confirmed absent (present == false) or ABI-skewed (dev_version != daemon_version) library on a probed FM host refuses every shared-NVSwitch GPU-VM boot. state is "collected" (probed FM host), "not-applicable" (no FM daemon package), or "error" (dpkg/ldconfig unavailable); only "collected" gates.

swagger:model v1LibNVFMFitness

func (*V1LibNVFMFitness) ContextValidate ¶

func (m *V1LibNVFMFitness) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 lib n v f m fitness based on context it is used

func (*V1LibNVFMFitness) MarshalBinary ¶

func (m *V1LibNVFMFitness) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LibNVFMFitness) UnmarshalBinary ¶

func (m *V1LibNVFMFitness) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LibNVFMFitness) Validate ¶

func (m *V1LibNVFMFitness) Validate(formats strfmt.Registry) error

Validate validates this v1 lib n v f m fitness

type V1LightningElasticClusterV1 ¶

type V1LightningElasticClusterV1 any

V1LightningElasticClusterV1 tbd

swagger:model v1LightningElasticClusterV1

type V1LightningRun ¶

type V1LightningRun struct {

	// app entrypoint file
	AppEntrypointFile string `json:"appEntrypointFile,omitempty"`

	// cloudspace Id
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// This cluster represents the bucket to which the source code got uploaded.
	// It is DEPRECATED in the context of cloudspaces, and should NOT be updated
	// Use cloudspace.cluster_id for the current cluster of the cloudspace
	ClusterID string `json:"clusterId,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// key at which the dependencies are cached. Normally, this is generated by hashing
	// the requirements.txt (or whatever the dependency listing file used in the app)
	DependencyCacheKey string `json:"dependencyCacheKey,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// enable app server
	EnableAppServer bool `json:"enableAppServer,omitempty"`

	// env
	Env []*V1EnvVar `json:"env"`

	// flow servers
	FlowServers []*V1Flowserver `json:"flowServers"`

	// id
	ID string `json:"id,omitempty"`

	// ID for the image to create the app pods. Populated by the
	// image controller. If user passes custom images (that will be in the spec),
	// controller picks that up, do the verification and update this field
	// which is then used to spin up the pods
	ImageID string `json:"imageId,omitempty"`

	// image spec
	ImageSpec *V1ImageSpec `json:"imageSpec,omitempty"`

	// is headless
	IsHeadless bool `json:"isHeadless,omitempty"`

	// is published
	IsPublished bool `json:"isPublished,omitempty"`

	// Networking config that will be used expose the works running in the default container to the http service
	NetworkConfig []*V1NetworkConfig `json:"networkConfig"`

	// number of files
	NumberOfFiles string `json:"numberOfFiles,omitempty"`

	// This is needed to keep inheritance relations between app releases
	ParentID string `json:"parentId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// published at
	// Format: date-time
	PublishedAt strfmt.DateTime `json:"publishedAt,omitempty"`

	// If True, we will mount the cloudspace `/content` directory in the flow and works
	ShouldMountCloudspaceContent bool `json:"shouldMountCloudspaceContent,omitempty"`

	// source code Url
	SourceCodeURL string `json:"sourceCodeUrl,omitempty"`

	// url to which the source code can be uploaded - needed only if local source and not github.
	// Client will send the request that indicates that it needs to upload the source to s3, controlplane
	// will fill this url and response will be sent back to the client. Client will then use this url
	// to upload the source to s3.
	SourceUploadURL string `json:"sourceUploadUrl,omitempty"`

	// total size bytes
	TotalSizeBytes string `json:"totalSizeBytes,omitempty"`

	// This acts as a primary key but can be provided by the user
	UniqueID string `json:"uniqueId,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`

	// compute configuration to be used for flows.
	UserRequestedFlowComputeConfig *V1UserRequestedFlowComputeConfig `json:"userRequestedFlowComputeConfig,omitempty"`

	// version
	Version string `json:"version,omitempty"`

	// Works that are to be launched alongside the flow
	Works []*V1Work `json:"works"`
}

V1LightningRun v1 lightning run

swagger:model v1LightningRun

func (*V1LightningRun) ContextValidate ¶

func (m *V1LightningRun) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 lightning run based on the context it is used

func (*V1LightningRun) MarshalBinary ¶

func (m *V1LightningRun) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LightningRun) UnmarshalBinary ¶

func (m *V1LightningRun) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LightningRun) Validate ¶

func (m *V1LightningRun) Validate(formats strfmt.Registry) error

Validate validates this v1 lightning run

type V1LightningappInstanceSpec ¶

type V1LightningappInstanceSpec struct {

	// Path to the entrypoint file of the application
	AppEntrypointFile string `json:"appEntrypointFile,omitempty"`

	// S3 URI to the app instance artifacts
	ArtifactStorageURI string `json:"artifactStorageUri,omitempty"`

	// can download source code
	CanDownloadSourceCode bool `json:"canDownloadSourceCode,omitempty"`

	// cloud space Id
	CloudSpaceID string `json:"cloudSpaceId,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// The instance / resources required for the flows
	ComputeConfig *V1ComputeConfig `json:"computeConfig,omitempty"`

	// key at which the dependencies are cached. Normally, this is generated by hashing
	// the requirements.txt (or whatever the dependency listing file used in the app)
	DependencyCacheKey string `json:"dependencyCacheKey,omitempty"`

	// desired state
	DesiredState *V1LightningappInstanceState `json:"desiredState,omitempty"`

	// User-provided custom domain for the app. Will be generated if not provided.
	Domain string `json:"domain,omitempty"`

	// Setting this flag will spin up an the HTTP server for the app
	// and this is required if the out side world needs to communicate
	// to the app through API or UI. Note that even exposing a
	// component (Flow/Work) UI requires this flag since app server
	// is the only entrypoint for outside world to talk to the system
	// over HTTP
	EnableAppServer bool `json:"enableAppServer,omitempty"`

	// env
	Env []*V1EnvVar `json:"env"`

	// flow servers
	FlowServers []*V1Flowserver `json:"flowServers"`

	// image spec
	ImageSpec *V1ImageSpec `json:"imageSpec,omitempty"`

	// is app private
	IsAppPrivate bool `json:"isAppPrivate,omitempty"`

	// is code private
	IsCodePrivate bool `json:"isCodePrivate,omitempty"`

	// is headless
	IsHeadless bool `json:"isHeadless,omitempty"`

	// If true, job machines will be left running after the job is finished (and can be reused)
	KeepMachinesAfterStop bool `json:"keepMachinesAfterStop,omitempty"`

	// Time to keep machines reserved after the job run (applies if keep_machines_after_stop is true)
	MachinesReservationTimeMinutes string `json:"machinesReservationTimeMinutes,omitempty"`

	// Networking config that will be used expose the works running in the default container to the http service
	NetworkConfig []*V1NetworkConfig `json:"networkConfig"`

	// pause automation
	PauseAutomation bool `json:"pauseAutomation,omitempty"`

	// ports
	Ports []string `json:"ports"`

	// Queue server type. If this is not set, it will be assumed that the Queue server is local Redis.
	// If the server type is QUEUE_SERVER_TYPE_HTTP, reconciler will take the server URL from
	// cluster spec and pass it to the flow and work container. If the type is QUEUE_SERVER_TYPE_REDIS,
	// reconciler will create a Redis deployment per each lightning app
	QueueServerType *V1QueueServerType `json:"queueServerType,omitempty"`

	// TODO Depreciate this field once we have centralized queue
	RedisToken string `json:"redisToken,omitempty"`

	// release Id
	ReleaseID string `json:"releaseId,omitempty"`

	// restart policy
	RestartPolicy *V1LightningappRestartPolicy `json:"restartPolicy,omitempty"`

	// The ID of the Service if this app was created by from a service
	ServiceID string `json:"serviceId,omitempty"`

	// If True, we will mount the cloudspace `/content` directory in the flow and works
	ShouldMountCloudspaceContent bool `json:"shouldMountCloudspaceContent,omitempty"`

	// source app
	SourceApp string `json:"sourceApp,omitempty"`

	// URL of the source code. It can be a Github URL or an s3 url.
	// If it's S3, User needs to specify that while requesting the app
	// creation and controlplane will fill the URL
	SourceCodeURL string `json:"sourceCodeUrl,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`

	// compute configuration to be used for flows.
	UserRequestedFlowComputeConfig *V1UserRequestedFlowComputeConfig `json:"userRequestedFlowComputeConfig,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

V1LightningappInstanceSpec v1 lightningapp instance spec

swagger:model v1LightningappInstanceSpec

func (*V1LightningappInstanceSpec) ContextValidate ¶

func (m *V1LightningappInstanceSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 lightningapp instance spec based on the context it is used

func (*V1LightningappInstanceSpec) MarshalBinary ¶

func (m *V1LightningappInstanceSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LightningappInstanceSpec) UnmarshalBinary ¶

func (m *V1LightningappInstanceSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LightningappInstanceSpec) Validate ¶

func (m *V1LightningappInstanceSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 lightningapp instance spec

type V1LightningappInstanceState ¶

type V1LightningappInstanceState string

V1LightningappInstanceState v1 lightningapp instance state

swagger:model v1LightningappInstanceState

const (

	// V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATEUNSPECIFIED captures enum value "LIGHTNINGAPP_INSTANCE_STATE_UNSPECIFIED"
	V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATEUNSPECIFIED V1LightningappInstanceState = "LIGHTNINGAPP_INSTANCE_STATE_UNSPECIFIED"

	// V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATEIMAGEBUILDING captures enum value "LIGHTNINGAPP_INSTANCE_STATE_IMAGE_BUILDING"
	V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATEIMAGEBUILDING V1LightningappInstanceState = "LIGHTNINGAPP_INSTANCE_STATE_IMAGE_BUILDING"

	// V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATEPENDING captures enum value "LIGHTNINGAPP_INSTANCE_STATE_PENDING"
	V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATEPENDING V1LightningappInstanceState = "LIGHTNINGAPP_INSTANCE_STATE_PENDING"

	// V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATERUNNING captures enum value "LIGHTNINGAPP_INSTANCE_STATE_RUNNING"
	V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATERUNNING V1LightningappInstanceState = "LIGHTNINGAPP_INSTANCE_STATE_RUNNING"

	// V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATESTOPPED captures enum value "LIGHTNINGAPP_INSTANCE_STATE_STOPPED"
	V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATESTOPPED V1LightningappInstanceState = "LIGHTNINGAPP_INSTANCE_STATE_STOPPED"

	// V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATEDELETED captures enum value "LIGHTNINGAPP_INSTANCE_STATE_DELETED"
	V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATEDELETED V1LightningappInstanceState = "LIGHTNINGAPP_INSTANCE_STATE_DELETED"

	// V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATEFAILED captures enum value "LIGHTNINGAPP_INSTANCE_STATE_FAILED"
	V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATEFAILED V1LightningappInstanceState = "LIGHTNINGAPP_INSTANCE_STATE_FAILED"

	// V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATENOTSTARTED captures enum value "LIGHTNINGAPP_INSTANCE_STATE_NOT_STARTED"
	V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATENOTSTARTED V1LightningappInstanceState = "LIGHTNINGAPP_INSTANCE_STATE_NOT_STARTED"

	// V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATECOMPLETED captures enum value "LIGHTNINGAPP_INSTANCE_STATE_COMPLETED"
	V1LightningappInstanceStateLIGHTNINGAPPINSTANCESTATECOMPLETED V1LightningappInstanceState = "LIGHTNINGAPP_INSTANCE_STATE_COMPLETED"
)

func (V1LightningappInstanceState) ContextValidate ¶

func (m V1LightningappInstanceState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 lightningapp instance state based on context it is used

func (V1LightningappInstanceState) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1LightningappInstanceState.

func (V1LightningappInstanceState) Validate ¶

func (m V1LightningappInstanceState) Validate(formats strfmt.Registry) error

Validate validates this v1 lightningapp instance state

type V1LightningappInstanceStatus ¶

type V1LightningappInstanceStatus struct {

	// code server Url
	CodeServerURL string `json:"codeServerUrl,omitempty"`

	// dependency cache job status. We'll use this to decide whether to start the job or not
	DependencyCacheState *V1DependencyCacheState `json:"dependencyCacheState,omitempty"`

	// ID for the image to create the app pods. Populated by the
	// image controller. If user passes custom images (that will be in the spec),
	// controller picks that up, do the verification and update this field
	// which is then used to spin up the pods
	ImageID string `json:"imageId,omitempty"`

	// ip address
	IPAddress string `json:"ipAddress,omitempty"`

	// last state status transition timestamp
	// Format: date-time
	LastStateStatusTransitionTimestamp strfmt.DateTime `json:"lastStateStatusTransitionTimestamp,omitempty"`

	// Used to identify if the work should be locked out from the user
	LockOut bool `json:"lockOut,omitempty"`

	// human readable information about why the lightningapp is in a certain phase
	Message string `json:"message,omitempty"`

	// Track whether the EBS volume has been modified once the flow was ready
	ModifiedVolume bool `json:"modifiedVolume,omitempty"`

	// phase
	Phase *V1LightningappInstanceState `json:"phase,omitempty"`

	// server Id
	ServerID string `json:"serverId,omitempty"`

	// url to which the source code can be uploaded - needed only if local source and not github.
	// Client will send the request that indicates that it needs to upload the source to s3, controlplane
	// will fill this url and response will be sent back to the client. Client will then use this url
	// to upload the source to s3.
	// Deprecated in favor of pushing the release
	SourceUploadURL string `json:"sourceUploadUrl,omitempty"`

	// start timestamp
	// Format: date-time
	StartTimestamp strfmt.DateTime `json:"startTimestamp,omitempty"`

	// On pause
	// Format: date-time
	StopTimestamp strfmt.DateTime `json:"stopTimestamp,omitempty"`

	// total cost
	TotalCost float32 `json:"totalCost,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

V1LightningappInstanceStatus v1 lightningapp instance status

swagger:model v1LightningappInstanceStatus

func (*V1LightningappInstanceStatus) ContextValidate ¶

func (m *V1LightningappInstanceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 lightningapp instance status based on the context it is used

func (*V1LightningappInstanceStatus) MarshalBinary ¶

func (m *V1LightningappInstanceStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LightningappInstanceStatus) UnmarshalBinary ¶

func (m *V1LightningappInstanceStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LightningappInstanceStatus) Validate ¶

func (m *V1LightningappInstanceStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 lightningapp instance status

type V1LightningappRestartPolicy ¶

type V1LightningappRestartPolicy string

V1LightningappRestartPolicy v1 lightningapp restart policy

swagger:model v1LightningappRestartPolicy

const (

	// V1LightningappRestartPolicyLIGHTNINGAPPRESTARTPOLICYUNSPECIFIED captures enum value "LIGHTNINGAPP_RESTART_POLICY_UNSPECIFIED"
	V1LightningappRestartPolicyLIGHTNINGAPPRESTARTPOLICYUNSPECIFIED V1LightningappRestartPolicy = "LIGHTNINGAPP_RESTART_POLICY_UNSPECIFIED"

	// V1LightningappRestartPolicyLIGHTNINGAPPRESTARTPOLICYNEVER captures enum value "LIGHTNINGAPP_RESTART_POLICY_NEVER"
	V1LightningappRestartPolicyLIGHTNINGAPPRESTARTPOLICYNEVER V1LightningappRestartPolicy = "LIGHTNINGAPP_RESTART_POLICY_NEVER"

	// V1LightningappRestartPolicyLIGHTNINGAPPRESTARTPOLICYALWAYS captures enum value "LIGHTNINGAPP_RESTART_POLICY_ALWAYS"
	V1LightningappRestartPolicyLIGHTNINGAPPRESTARTPOLICYALWAYS V1LightningappRestartPolicy = "LIGHTNINGAPP_RESTART_POLICY_ALWAYS"
)

func (V1LightningappRestartPolicy) ContextValidate ¶

func (m V1LightningappRestartPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 lightningapp restart policy based on context it is used

func (V1LightningappRestartPolicy) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1LightningappRestartPolicy.

func (V1LightningappRestartPolicy) Validate ¶

func (m V1LightningappRestartPolicy) Validate(formats strfmt.Registry) error

Validate validates this v1 lightningapp restart policy

type V1LightningworkDrives ¶

type V1LightningworkDrives struct {

	// drive
	Drive *V1Drive `json:"drive,omitempty"`

	// mount location
	MountLocation string `json:"mountLocation,omitempty"`
}

V1LightningworkDrives v1 lightningwork drives

swagger:model v1LightningworkDrives

func (*V1LightningworkDrives) ContextValidate ¶

func (m *V1LightningworkDrives) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 lightningwork drives based on the context it is used

func (*V1LightningworkDrives) MarshalBinary ¶

func (m *V1LightningworkDrives) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LightningworkDrives) UnmarshalBinary ¶

func (m *V1LightningworkDrives) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LightningworkDrives) Validate ¶

func (m *V1LightningworkDrives) Validate(formats strfmt.Registry) error

Validate validates this v1 lightningwork drives

type V1LightningworkSpec ¶

type V1LightningworkSpec struct {

	// spec for building the environment before the execution starts
	// Build phase for lightningapp or lightningwork is part of the runtime
	// itself (and not part of image building as lightningapp or work doesn't
	// have an image building stage)
	BuildSpec *V1BuildSpec `json:"buildSpec,omitempty"`

	// cloud space Id
	CloudSpaceID string `json:"cloudSpaceId,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// The instance / resources required for the Work
	ComputeConfig *V1ComputeConfig `json:"computeConfig,omitempty"`

	// to be able to configure data connections for works
	DataConnectionMounts []*V1DataConnectionMount `json:"dataConnectionMounts"`

	// we use instance data connections to manage IAM role policies,
	// therefore this field must be always populated
	// with all data connections that exist
	DataConnections []*V1DataConnection `json:"dataConnections"`

	// desired state
	DesiredState *V1LightningworkState `json:"desiredState,omitempty"`

	// drives
	Drives []*V1LightningworkDrives `json:"drives"`

	// env
	Env []*V1EnvVar `json:"env"`

	// the work belongs to this app instance
	LightningappInstanceID string `json:"lightningappInstanceId,omitempty"`

	// Optional locked region to run work's server instance in
	LockedRegion string `json:"lockedRegion,omitempty"`

	// Networking config that will be used expose the works running in the default container to the http service
	NetworkConfig []*V1NetworkConfig `json:"networkConfig"`

	// pause automation
	PauseAutomation bool `json:"pauseAutomation,omitempty"`

	// restart policy
	RestartPolicy *V1LightningappRestartPolicy `json:"restartPolicy,omitempty"`

	// the work belongs to this user
	UserID string `json:"userId,omitempty"`

	// user requested compute config is more descriptive
	// and easy for users to fill in. Controlplane takes this
	// config and converts it to ComputeConfig which is what
	// gridlet understands
	UserRequestedComputeConfig *V1UserRequestedComputeConfig `json:"userRequestedComputeConfig,omitempty"`
}

V1LightningworkSpec v1 lightningwork spec

swagger:model v1LightningworkSpec

func (*V1LightningworkSpec) ContextValidate ¶

func (m *V1LightningworkSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 lightningwork spec based on the context it is used

func (*V1LightningworkSpec) MarshalBinary ¶

func (m *V1LightningworkSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LightningworkSpec) UnmarshalBinary ¶

func (m *V1LightningworkSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LightningworkSpec) Validate ¶

func (m *V1LightningworkSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 lightningwork spec

type V1LightningworkState ¶

type V1LightningworkState string

V1LightningworkState v1 lightningwork state

swagger:model v1LightningworkState

const (

	// V1LightningworkStateLIGHTNINGWORKSTATEUNSPECIFIED captures enum value "LIGHTNINGWORK_STATE_UNSPECIFIED"
	V1LightningworkStateLIGHTNINGWORKSTATEUNSPECIFIED V1LightningworkState = "LIGHTNINGWORK_STATE_UNSPECIFIED"

	// V1LightningworkStateLIGHTNINGWORKSTATEIMAGEBUILDING captures enum value "LIGHTNINGWORK_STATE_IMAGE_BUILDING"
	V1LightningworkStateLIGHTNINGWORKSTATEIMAGEBUILDING V1LightningworkState = "LIGHTNINGWORK_STATE_IMAGE_BUILDING"

	// V1LightningworkStateLIGHTNINGWORKSTATEPENDING captures enum value "LIGHTNINGWORK_STATE_PENDING"
	V1LightningworkStateLIGHTNINGWORKSTATEPENDING V1LightningworkState = "LIGHTNINGWORK_STATE_PENDING"

	// V1LightningworkStateLIGHTNINGWORKSTATERUNNING captures enum value "LIGHTNINGWORK_STATE_RUNNING"
	V1LightningworkStateLIGHTNINGWORKSTATERUNNING V1LightningworkState = "LIGHTNINGWORK_STATE_RUNNING"

	// V1LightningworkStateLIGHTNINGWORKSTATESTOPPED captures enum value "LIGHTNINGWORK_STATE_STOPPED"
	V1LightningworkStateLIGHTNINGWORKSTATESTOPPED V1LightningworkState = "LIGHTNINGWORK_STATE_STOPPED"

	// V1LightningworkStateLIGHTNINGWORKSTATEFAILED captures enum value "LIGHTNINGWORK_STATE_FAILED"
	V1LightningworkStateLIGHTNINGWORKSTATEFAILED V1LightningworkState = "LIGHTNINGWORK_STATE_FAILED"

	// V1LightningworkStateLIGHTNINGWORKSTATEDELETED captures enum value "LIGHTNINGWORK_STATE_DELETED"
	V1LightningworkStateLIGHTNINGWORKSTATEDELETED V1LightningworkState = "LIGHTNINGWORK_STATE_DELETED"

	// V1LightningworkStateLIGHTNINGWORKSTATENOTSTARTED captures enum value "LIGHTNINGWORK_STATE_NOT_STARTED"
	V1LightningworkStateLIGHTNINGWORKSTATENOTSTARTED V1LightningworkState = "LIGHTNINGWORK_STATE_NOT_STARTED"
)

func NewV1LightningworkState ¶

func NewV1LightningworkState(value V1LightningworkState) *V1LightningworkState

func (V1LightningworkState) ContextValidate ¶

func (m V1LightningworkState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 lightningwork state based on context it is used

func (V1LightningworkState) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1LightningworkState.

func (V1LightningworkState) Validate ¶

func (m V1LightningworkState) Validate(formats strfmt.Registry) error

Validate validates this v1 lightningwork state

type V1ListAPIKeysResponse ¶

type V1ListAPIKeysResponse struct {

	// api keys
	APIKeys []*V1APIKey `json:"apiKeys"`
}

V1ListAPIKeysResponse v1 list API keys response

swagger:model v1ListAPIKeysResponse

func (*V1ListAPIKeysResponse) ContextValidate ¶

func (m *V1ListAPIKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list API keys response based on the context it is used

func (*V1ListAPIKeysResponse) MarshalBinary ¶

func (m *V1ListAPIKeysResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListAPIKeysResponse) UnmarshalBinary ¶

func (m *V1ListAPIKeysResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListAPIKeysResponse) Validate ¶

func (m *V1ListAPIKeysResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list API keys response

type V1ListAffiliateLinksResponse ¶

type V1ListAffiliateLinksResponse struct {

	// links
	Links []*V1AffiliateLink `json:"links"`
}

V1ListAffiliateLinksResponse v1 list affiliate links response

swagger:model v1ListAffiliateLinksResponse

func (*V1ListAffiliateLinksResponse) ContextValidate ¶

func (m *V1ListAffiliateLinksResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list affiliate links response based on the context it is used

func (*V1ListAffiliateLinksResponse) MarshalBinary ¶

func (m *V1ListAffiliateLinksResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListAffiliateLinksResponse) UnmarshalBinary ¶

func (m *V1ListAffiliateLinksResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListAffiliateLinksResponse) Validate ¶

func (m *V1ListAffiliateLinksResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list affiliate links response

type V1ListAllJobsResponse ¶

type V1ListAllJobsResponse struct {

	// all jobs
	AllJobs []*V1GenericJob `json:"allJobs"`

	// next page token
	NextPageToken string `json:"nextPageToken,omitempty"`

	// previous page token
	PreviousPageToken string `json:"previousPageToken,omitempty"`
}

V1ListAllJobsResponse v1 list all jobs response

swagger:model v1ListAllJobsResponse

func (*V1ListAllJobsResponse) ContextValidate ¶

func (m *V1ListAllJobsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list all jobs response based on the context it is used

func (*V1ListAllJobsResponse) MarshalBinary ¶

func (m *V1ListAllJobsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListAllJobsResponse) UnmarshalBinary ¶

func (m *V1ListAllJobsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListAllJobsResponse) Validate ¶

func (m *V1ListAllJobsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list all jobs response

type V1ListCloudSpaceAppsResponse ¶

type V1ListCloudSpaceAppsResponse struct {

	// apps
	Apps []*V1CloudSpaceApp `json:"apps"`
}

V1ListCloudSpaceAppsResponse v1 list cloud space apps response

swagger:model v1ListCloudSpaceAppsResponse

func (*V1ListCloudSpaceAppsResponse) ContextValidate ¶

func (m *V1ListCloudSpaceAppsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list cloud space apps response based on the context it is used

func (*V1ListCloudSpaceAppsResponse) MarshalBinary ¶

func (m *V1ListCloudSpaceAppsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListCloudSpaceAppsResponse) UnmarshalBinary ¶

func (m *V1ListCloudSpaceAppsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListCloudSpaceAppsResponse) Validate ¶

func (m *V1ListCloudSpaceAppsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list cloud space apps response

type V1ListCloudSpaceColdStartMetricsResponse ¶

type V1ListCloudSpaceColdStartMetricsResponse struct {

	// metrics
	Metrics []*V1CloudSpaceColdStartMetrics `json:"metrics"`
}

V1ListCloudSpaceColdStartMetricsResponse v1 list cloud space cold start metrics response

swagger:model v1ListCloudSpaceColdStartMetricsResponse

func (*V1ListCloudSpaceColdStartMetricsResponse) ContextValidate ¶

ContextValidate validate this v1 list cloud space cold start metrics response based on the context it is used

func (*V1ListCloudSpaceColdStartMetricsResponse) MarshalBinary ¶

func (m *V1ListCloudSpaceColdStartMetricsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListCloudSpaceColdStartMetricsResponse) UnmarshalBinary ¶

func (m *V1ListCloudSpaceColdStartMetricsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListCloudSpaceColdStartMetricsResponse) Validate ¶

Validate validates this v1 list cloud space cold start metrics response

type V1ListCloudSpaceInstancesResponse ¶

type V1ListCloudSpaceInstancesResponse struct {

	// can start free cloud space
	CanStartFreeCloudSpace bool `json:"canStartFreeCloudSpace,omitempty"`

	// cloudspace instances
	CloudspaceInstances []*Externalv1CloudSpaceInstanceStatus `json:"cloudspaceInstances"`

	// next page token
	NextPageToken string `json:"nextPageToken,omitempty"`

	// previous page token
	PreviousPageToken string `json:"previousPageToken,omitempty"`
}

V1ListCloudSpaceInstancesResponse v1 list cloud space instances response

swagger:model v1ListCloudSpaceInstancesResponse

func (*V1ListCloudSpaceInstancesResponse) ContextValidate ¶

func (m *V1ListCloudSpaceInstancesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list cloud space instances response based on the context it is used

func (*V1ListCloudSpaceInstancesResponse) MarshalBinary ¶

func (m *V1ListCloudSpaceInstancesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListCloudSpaceInstancesResponse) UnmarshalBinary ¶

func (m *V1ListCloudSpaceInstancesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListCloudSpaceInstancesResponse) Validate ¶

Validate validates this v1 list cloud space instances response

type V1ListCloudSpacePublicationsResponse ¶

type V1ListCloudSpacePublicationsResponse struct {

	// publications
	Publications []*V1CloudSpacePublication `json:"publications"`
}

V1ListCloudSpacePublicationsResponse v1 list cloud space publications response

swagger:model v1ListCloudSpacePublicationsResponse

func (*V1ListCloudSpacePublicationsResponse) ContextValidate ¶

func (m *V1ListCloudSpacePublicationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list cloud space publications response based on the context it is used

func (*V1ListCloudSpacePublicationsResponse) MarshalBinary ¶

func (m *V1ListCloudSpacePublicationsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListCloudSpacePublicationsResponse) UnmarshalBinary ¶

func (m *V1ListCloudSpacePublicationsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListCloudSpacePublicationsResponse) Validate ¶

Validate validates this v1 list cloud space publications response

type V1ListCloudSpacePythonVersionsResponse ¶

type V1ListCloudSpacePythonVersionsResponse struct {

	// versions
	Versions []string `json:"versions"`
}

V1ListCloudSpacePythonVersionsResponse v1 list cloud space python versions response

swagger:model v1ListCloudSpacePythonVersionsResponse

func (*V1ListCloudSpacePythonVersionsResponse) ContextValidate ¶

ContextValidate validates this v1 list cloud space python versions response based on context it is used

func (*V1ListCloudSpacePythonVersionsResponse) MarshalBinary ¶

func (m *V1ListCloudSpacePythonVersionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListCloudSpacePythonVersionsResponse) UnmarshalBinary ¶

func (m *V1ListCloudSpacePythonVersionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListCloudSpacePythonVersionsResponse) Validate ¶

Validate validates this v1 list cloud space python versions response

type V1ListCloudSpaceSessionsResponse ¶

type V1ListCloudSpaceSessionsResponse struct {

	// sessions
	Sessions []*V1CloudSpaceSession `json:"sessions"`
}

V1ListCloudSpaceSessionsResponse v1 list cloud space sessions response

swagger:model v1ListCloudSpaceSessionsResponse

func (*V1ListCloudSpaceSessionsResponse) ContextValidate ¶

func (m *V1ListCloudSpaceSessionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list cloud space sessions response based on the context it is used

func (*V1ListCloudSpaceSessionsResponse) MarshalBinary ¶

func (m *V1ListCloudSpaceSessionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListCloudSpaceSessionsResponse) UnmarshalBinary ¶

func (m *V1ListCloudSpaceSessionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListCloudSpaceSessionsResponse) Validate ¶

Validate validates this v1 list cloud space sessions response

type V1ListCloudSpaceTagsResponse ¶

type V1ListCloudSpaceTagsResponse struct {

	// tags
	Tags []*V1ResourceTag `json:"tags"`
}

V1ListCloudSpaceTagsResponse v1 list cloud space tags response

swagger:model v1ListCloudSpaceTagsResponse

func (*V1ListCloudSpaceTagsResponse) ContextValidate ¶

func (m *V1ListCloudSpaceTagsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list cloud space tags response based on the context it is used

func (*V1ListCloudSpaceTagsResponse) MarshalBinary ¶

func (m *V1ListCloudSpaceTagsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListCloudSpaceTagsResponse) UnmarshalBinary ¶

func (m *V1ListCloudSpaceTagsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListCloudSpaceTagsResponse) Validate ¶

func (m *V1ListCloudSpaceTagsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list cloud space tags response

type V1ListCloudSpaceVersionPublicationsResponse ¶

type V1ListCloudSpaceVersionPublicationsResponse struct {

	// publications
	Publications []*V1CloudSpaceVersionPublication `json:"publications"`
}

V1ListCloudSpaceVersionPublicationsResponse v1 list cloud space version publications response

swagger:model v1ListCloudSpaceVersionPublicationsResponse

func (*V1ListCloudSpaceVersionPublicationsResponse) ContextValidate ¶

ContextValidate validate this v1 list cloud space version publications response based on the context it is used

func (*V1ListCloudSpaceVersionPublicationsResponse) MarshalBinary ¶

func (m *V1ListCloudSpaceVersionPublicationsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListCloudSpaceVersionPublicationsResponse) UnmarshalBinary ¶

func (m *V1ListCloudSpaceVersionPublicationsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListCloudSpaceVersionPublicationsResponse) Validate ¶

Validate validates this v1 list cloud space version publications response

type V1ListCloudSpaceVersionsResponse ¶

type V1ListCloudSpaceVersionsResponse struct {

	// versions
	Versions []*V1CloudSpaceVersion `json:"versions"`
}

V1ListCloudSpaceVersionsResponse v1 list cloud space versions response

swagger:model v1ListCloudSpaceVersionsResponse

func (*V1ListCloudSpaceVersionsResponse) ContextValidate ¶

func (m *V1ListCloudSpaceVersionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list cloud space versions response based on the context it is used

func (*V1ListCloudSpaceVersionsResponse) MarshalBinary ¶

func (m *V1ListCloudSpaceVersionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListCloudSpaceVersionsResponse) UnmarshalBinary ¶

func (m *V1ListCloudSpaceVersionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListCloudSpaceVersionsResponse) Validate ¶

Validate validates this v1 list cloud space versions response

type V1ListCloudSpacesResponse ¶

type V1ListCloudSpacesResponse struct {

	// cloudspaces
	Cloudspaces []*V1CloudSpace `json:"cloudspaces"`

	// next page token
	NextPageToken string `json:"nextPageToken,omitempty"`

	// previous page token
	PreviousPageToken string `json:"previousPageToken,omitempty"`
}

V1ListCloudSpacesResponse v1 list cloud spaces response

swagger:model v1ListCloudSpacesResponse

func (*V1ListCloudSpacesResponse) ContextValidate ¶

func (m *V1ListCloudSpacesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list cloud spaces response based on the context it is used

func (*V1ListCloudSpacesResponse) MarshalBinary ¶

func (m *V1ListCloudSpacesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListCloudSpacesResponse) UnmarshalBinary ¶

func (m *V1ListCloudSpacesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListCloudSpacesResponse) Validate ¶

func (m *V1ListCloudSpacesResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list cloud spaces response

type V1ListCloudSpacesSortBy ¶

type V1ListCloudSpacesSortBy string

V1ListCloudSpacesSortBy v1 list cloud spaces sort by

swagger:model v1ListCloudSpacesSortBy

const (

	// V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYUNSPECIFIED captures enum value "LIST_CLOUD_SPACES_SORT_BY_UNSPECIFIED"
	V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYUNSPECIFIED V1ListCloudSpacesSortBy = "LIST_CLOUD_SPACES_SORT_BY_UNSPECIFIED"

	// V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYNAME captures enum value "LIST_CLOUD_SPACES_SORT_BY_NAME"
	V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYNAME V1ListCloudSpacesSortBy = "LIST_CLOUD_SPACES_SORT_BY_NAME"

	// V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYCREATEDAT captures enum value "LIST_CLOUD_SPACES_SORT_BY_CREATED_AT"
	V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYCREATEDAT V1ListCloudSpacesSortBy = "LIST_CLOUD_SPACES_SORT_BY_CREATED_AT"

	// V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYUPDATEDAT captures enum value "LIST_CLOUD_SPACES_SORT_BY_UPDATED_AT"
	V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYUPDATEDAT V1ListCloudSpacesSortBy = "LIST_CLOUD_SPACES_SORT_BY_UPDATED_AT"

	// V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYUSERID captures enum value "LIST_CLOUD_SPACES_SORT_BY_USER_ID"
	V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYUSERID V1ListCloudSpacesSortBy = "LIST_CLOUD_SPACES_SORT_BY_USER_ID"

	// V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYCLUSTERID captures enum value "LIST_CLOUD_SPACES_SORT_BY_CLUSTER_ID"
	V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYCLUSTERID V1ListCloudSpacesSortBy = "LIST_CLOUD_SPACES_SORT_BY_CLUSTER_ID"

	// V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYTOTALSIZE captures enum value "LIST_CLOUD_SPACES_SORT_BY_TOTAL_SIZE"
	V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYTOTALSIZE V1ListCloudSpacesSortBy = "LIST_CLOUD_SPACES_SORT_BY_TOTAL_SIZE"

	// V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYINSTANCETYPE captures enum value "LIST_CLOUD_SPACES_SORT_BY_INSTANCE_TYPE"
	V1ListCloudSpacesSortByLISTCLOUDSPACESSORTBYINSTANCETYPE V1ListCloudSpacesSortBy = "LIST_CLOUD_SPACES_SORT_BY_INSTANCE_TYPE"
)

func (V1ListCloudSpacesSortBy) ContextValidate ¶

func (m V1ListCloudSpacesSortBy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 list cloud spaces sort by based on context it is used

func (V1ListCloudSpacesSortBy) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1ListCloudSpacesSortBy.

func (V1ListCloudSpacesSortBy) Validate ¶

func (m V1ListCloudSpacesSortBy) Validate(formats strfmt.Registry) error

Validate validates this v1 list cloud spaces sort by

type V1ListCloudSpacesSortOrder ¶

type V1ListCloudSpacesSortOrder string

V1ListCloudSpacesSortOrder v1 list cloud spaces sort order

swagger:model v1ListCloudSpacesSortOrder

const (

	// V1ListCloudSpacesSortOrderLISTCLOUDSPACESSORTORDERUNSPECIFIED captures enum value "LIST_CLOUD_SPACES_SORT_ORDER_UNSPECIFIED"
	V1ListCloudSpacesSortOrderLISTCLOUDSPACESSORTORDERUNSPECIFIED V1ListCloudSpacesSortOrder = "LIST_CLOUD_SPACES_SORT_ORDER_UNSPECIFIED"

	// V1ListCloudSpacesSortOrderLISTCLOUDSPACESSORTORDERASCENDING captures enum value "LIST_CLOUD_SPACES_SORT_ORDER_ASCENDING"
	V1ListCloudSpacesSortOrderLISTCLOUDSPACESSORTORDERASCENDING V1ListCloudSpacesSortOrder = "LIST_CLOUD_SPACES_SORT_ORDER_ASCENDING"

	// V1ListCloudSpacesSortOrderLISTCLOUDSPACESSORTORDERDESCENDING captures enum value "LIST_CLOUD_SPACES_SORT_ORDER_DESCENDING"
	V1ListCloudSpacesSortOrderLISTCLOUDSPACESSORTORDERDESCENDING V1ListCloudSpacesSortOrder = "LIST_CLOUD_SPACES_SORT_ORDER_DESCENDING"
)

func (V1ListCloudSpacesSortOrder) ContextValidate ¶

func (m V1ListCloudSpacesSortOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 list cloud spaces sort order based on context it is used

func (V1ListCloudSpacesSortOrder) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1ListCloudSpacesSortOrder.

func (V1ListCloudSpacesSortOrder) Validate ¶

func (m V1ListCloudSpacesSortOrder) Validate(formats strfmt.Registry) error

Validate validates this v1 list cloud spaces sort order

type V1ListClusterAcceleratorsResponse ¶

type V1ListClusterAcceleratorsResponse struct {

	// accelerator
	Accelerator []*V1ClusterAccelerator `json:"accelerator"`
}

V1ListClusterAcceleratorsResponse v1 list cluster accelerators response

swagger:model v1ListClusterAcceleratorsResponse

func (*V1ListClusterAcceleratorsResponse) ContextValidate ¶

func (m *V1ListClusterAcceleratorsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list cluster accelerators response based on the context it is used

func (*V1ListClusterAcceleratorsResponse) MarshalBinary ¶

func (m *V1ListClusterAcceleratorsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListClusterAcceleratorsResponse) UnmarshalBinary ¶

func (m *V1ListClusterAcceleratorsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListClusterAcceleratorsResponse) Validate ¶

Validate validates this v1 list cluster accelerators response

type V1ListClusterAvailabilitiesResponse ¶

type V1ListClusterAvailabilitiesResponse struct {

	// availabilities
	Availabilities []*V1ClusterAvailability `json:"availabilities"`
}

V1ListClusterAvailabilitiesResponse v1 list cluster availabilities response

swagger:model v1ListClusterAvailabilitiesResponse

func (*V1ListClusterAvailabilitiesResponse) ContextValidate ¶

func (m *V1ListClusterAvailabilitiesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list cluster availabilities response based on the context it is used

func (*V1ListClusterAvailabilitiesResponse) MarshalBinary ¶

func (m *V1ListClusterAvailabilitiesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListClusterAvailabilitiesResponse) UnmarshalBinary ¶

func (m *V1ListClusterAvailabilitiesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListClusterAvailabilitiesResponse) Validate ¶

Validate validates this v1 list cluster availabilities response

type V1ListClusterCapacityReservationsResponse ¶

type V1ListClusterCapacityReservationsResponse struct {

	// capacity reservation
	CapacityReservation []*V1ClusterCapacityReservation `json:"capacityReservation"`
}

V1ListClusterCapacityReservationsResponse v1 list cluster capacity reservations response

swagger:model v1ListClusterCapacityReservationsResponse

func (*V1ListClusterCapacityReservationsResponse) ContextValidate ¶

ContextValidate validate this v1 list cluster capacity reservations response based on the context it is used

func (*V1ListClusterCapacityReservationsResponse) MarshalBinary ¶

func (m *V1ListClusterCapacityReservationsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListClusterCapacityReservationsResponse) UnmarshalBinary ¶

func (m *V1ListClusterCapacityReservationsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListClusterCapacityReservationsResponse) Validate ¶

Validate validates this v1 list cluster capacity reservations response

type V1ListClusterProxiesResponse ¶

type V1ListClusterProxiesResponse struct {

	// proxies
	Proxies []*V1ClusterProxy `json:"proxies"`
}

V1ListClusterProxiesResponse v1 list cluster proxies response

swagger:model v1ListClusterProxiesResponse

func (*V1ListClusterProxiesResponse) ContextValidate ¶

func (m *V1ListClusterProxiesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list cluster proxies response based on the context it is used

func (*V1ListClusterProxiesResponse) MarshalBinary ¶

func (m *V1ListClusterProxiesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListClusterProxiesResponse) UnmarshalBinary ¶

func (m *V1ListClusterProxiesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListClusterProxiesResponse) Validate ¶

func (m *V1ListClusterProxiesResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list cluster proxies response

type V1ListClusterUsageRestrictionsResponse ¶

type V1ListClusterUsageRestrictionsResponse struct {

	// restrictions
	Restrictions []*V1ClusterUsageRestriction `json:"restrictions"`
}

V1ListClusterUsageRestrictionsResponse v1 list cluster usage restrictions response

swagger:model v1ListClusterUsageRestrictionsResponse

func (*V1ListClusterUsageRestrictionsResponse) ContextValidate ¶

ContextValidate validate this v1 list cluster usage restrictions response based on the context it is used

func (*V1ListClusterUsageRestrictionsResponse) MarshalBinary ¶

func (m *V1ListClusterUsageRestrictionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListClusterUsageRestrictionsResponse) UnmarshalBinary ¶

func (m *V1ListClusterUsageRestrictionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListClusterUsageRestrictionsResponse) Validate ¶

Validate validates this v1 list cluster usage restrictions response

type V1ListClustersResponse ¶

type V1ListClustersResponse struct {

	// clusters
	Clusters []*V1ExternalCluster `json:"clusters"`

	// default cluster
	DefaultCluster string `json:"defaultCluster,omitempty"`
}

V1ListClustersResponse v1 list clusters response

swagger:model v1ListClustersResponse

func (*V1ListClustersResponse) ContextValidate ¶

func (m *V1ListClustersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list clusters response based on the context it is used

func (*V1ListClustersResponse) MarshalBinary ¶

func (m *V1ListClustersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListClustersResponse) UnmarshalBinary ¶

func (m *V1ListClustersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListClustersResponse) Validate ¶

func (m *V1ListClustersResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list clusters response

type V1ListDataConnectionsResponse ¶

type V1ListDataConnectionsResponse struct {

	// data connections
	DataConnections []*V1DataConnection `json:"dataConnections"`
}

V1ListDataConnectionsResponse v1 list data connections response

swagger:model v1ListDataConnectionsResponse

func (*V1ListDataConnectionsResponse) ContextValidate ¶

func (m *V1ListDataConnectionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list data connections response based on the context it is used

func (*V1ListDataConnectionsResponse) MarshalBinary ¶

func (m *V1ListDataConnectionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListDataConnectionsResponse) UnmarshalBinary ¶

func (m *V1ListDataConnectionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListDataConnectionsResponse) Validate ¶

func (m *V1ListDataConnectionsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list data connections response

type V1ListDefaultClusterAcceleratorsResponse ¶

type V1ListDefaultClusterAcceleratorsResponse struct {

	// accelerator
	Accelerator []*V1ClusterAccelerator `json:"accelerator"`
}

V1ListDefaultClusterAcceleratorsResponse v1 list default cluster accelerators response

swagger:model v1ListDefaultClusterAcceleratorsResponse

func (*V1ListDefaultClusterAcceleratorsResponse) ContextValidate ¶

ContextValidate validate this v1 list default cluster accelerators response based on the context it is used

func (*V1ListDefaultClusterAcceleratorsResponse) MarshalBinary ¶

func (m *V1ListDefaultClusterAcceleratorsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListDefaultClusterAcceleratorsResponse) UnmarshalBinary ¶

func (m *V1ListDefaultClusterAcceleratorsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListDefaultClusterAcceleratorsResponse) Validate ¶

Validate validates this v1 list default cluster accelerators response

type V1ListDeploymentAlertingEventsResponse ¶

type V1ListDeploymentAlertingEventsResponse struct {

	// events
	Events []*V1DeploymentAlertingEvent `json:"events"`
}

V1ListDeploymentAlertingEventsResponse v1 list deployment alerting events response

swagger:model v1ListDeploymentAlertingEventsResponse

func (*V1ListDeploymentAlertingEventsResponse) ContextValidate ¶

ContextValidate validate this v1 list deployment alerting events response based on the context it is used

func (*V1ListDeploymentAlertingEventsResponse) MarshalBinary ¶

func (m *V1ListDeploymentAlertingEventsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListDeploymentAlertingEventsResponse) UnmarshalBinary ¶

func (m *V1ListDeploymentAlertingEventsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListDeploymentAlertingEventsResponse) Validate ¶

Validate validates this v1 list deployment alerting events response

type V1ListDeploymentAlertingPoliciesResponse ¶

type V1ListDeploymentAlertingPoliciesResponse struct {

	// alerting policies
	AlertingPolicies []*V1DeploymentAlertingPolicy `json:"alertingPolicies"`

	// deployment Id
	DeploymentID string `json:"deploymentId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`
}

V1ListDeploymentAlertingPoliciesResponse v1 list deployment alerting policies response

swagger:model v1ListDeploymentAlertingPoliciesResponse

func (*V1ListDeploymentAlertingPoliciesResponse) ContextValidate ¶

ContextValidate validate this v1 list deployment alerting policies response based on the context it is used

func (*V1ListDeploymentAlertingPoliciesResponse) MarshalBinary ¶

func (m *V1ListDeploymentAlertingPoliciesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListDeploymentAlertingPoliciesResponse) UnmarshalBinary ¶

func (m *V1ListDeploymentAlertingPoliciesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListDeploymentAlertingPoliciesResponse) Validate ¶

Validate validates this v1 list deployment alerting policies response

type V1ListDeploymentEventsResponse ¶

type V1ListDeploymentEventsResponse struct {

	// events
	Events []*V1DeploymentEvent `json:"events"`
}

V1ListDeploymentEventsResponse v1 list deployment events response

swagger:model v1ListDeploymentEventsResponse

func (*V1ListDeploymentEventsResponse) ContextValidate ¶

func (m *V1ListDeploymentEventsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list deployment events response based on the context it is used

func (*V1ListDeploymentEventsResponse) MarshalBinary ¶

func (m *V1ListDeploymentEventsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListDeploymentEventsResponse) UnmarshalBinary ¶

func (m *V1ListDeploymentEventsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListDeploymentEventsResponse) Validate ¶

func (m *V1ListDeploymentEventsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list deployment events response

type V1ListDeploymentReleasesResponse ¶

type V1ListDeploymentReleasesResponse struct {

	// releases
	Releases []*V1DeploymentRelease `json:"releases"`
}

V1ListDeploymentReleasesResponse v1 list deployment releases response

swagger:model v1ListDeploymentReleasesResponse

func (*V1ListDeploymentReleasesResponse) ContextValidate ¶

func (m *V1ListDeploymentReleasesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list deployment releases response based on the context it is used

func (*V1ListDeploymentReleasesResponse) MarshalBinary ¶

func (m *V1ListDeploymentReleasesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListDeploymentReleasesResponse) UnmarshalBinary ¶

func (m *V1ListDeploymentReleasesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListDeploymentReleasesResponse) Validate ¶

Validate validates this v1 list deployment releases response

type V1ListDeploymentsResponse ¶

type V1ListDeploymentsResponse struct {

	// deployments
	Deployments []*V1Deployment `json:"deployments"`

	// next page token
	NextPageToken string `json:"nextPageToken,omitempty"`

	// previous page token
	PreviousPageToken string `json:"previousPageToken,omitempty"`
}

V1ListDeploymentsResponse v1 list deployments response

swagger:model v1ListDeploymentsResponse

func (*V1ListDeploymentsResponse) ContextValidate ¶

func (m *V1ListDeploymentsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list deployments response based on the context it is used

func (*V1ListDeploymentsResponse) MarshalBinary ¶

func (m *V1ListDeploymentsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListDeploymentsResponse) UnmarshalBinary ¶

func (m *V1ListDeploymentsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListDeploymentsResponse) Validate ¶

func (m *V1ListDeploymentsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list deployments response

type V1ListDeploymentsSortBy ¶

type V1ListDeploymentsSortBy string

V1ListDeploymentsSortBy v1 list deployments sort by

swagger:model v1ListDeploymentsSortBy

const (

	// V1ListDeploymentsSortByLISTDEPLOYMENTSSORTBYUNSPECIFIED captures enum value "LIST_DEPLOYMENTS_SORT_BY_UNSPECIFIED"
	V1ListDeploymentsSortByLISTDEPLOYMENTSSORTBYUNSPECIFIED V1ListDeploymentsSortBy = "LIST_DEPLOYMENTS_SORT_BY_UNSPECIFIED"

	// V1ListDeploymentsSortByLISTDEPLOYMENTSSORTBYNAME captures enum value "LIST_DEPLOYMENTS_SORT_BY_NAME"
	V1ListDeploymentsSortByLISTDEPLOYMENTSSORTBYNAME V1ListDeploymentsSortBy = "LIST_DEPLOYMENTS_SORT_BY_NAME"

	// V1ListDeploymentsSortByLISTDEPLOYMENTSSORTBYCREATEDAT captures enum value "LIST_DEPLOYMENTS_SORT_BY_CREATED_AT"
	V1ListDeploymentsSortByLISTDEPLOYMENTSSORTBYCREATEDAT V1ListDeploymentsSortBy = "LIST_DEPLOYMENTS_SORT_BY_CREATED_AT"

	// V1ListDeploymentsSortByLISTDEPLOYMENTSSORTBYUSERID captures enum value "LIST_DEPLOYMENTS_SORT_BY_USER_ID"
	V1ListDeploymentsSortByLISTDEPLOYMENTSSORTBYUSERID V1ListDeploymentsSortBy = "LIST_DEPLOYMENTS_SORT_BY_USER_ID"

	// V1ListDeploymentsSortByLISTDEPLOYMENTSSORTBYMACHINE captures enum value "LIST_DEPLOYMENTS_SORT_BY_MACHINE"
	V1ListDeploymentsSortByLISTDEPLOYMENTSSORTBYMACHINE V1ListDeploymentsSortBy = "LIST_DEPLOYMENTS_SORT_BY_MACHINE"

	// V1ListDeploymentsSortByLISTDEPLOYMENTSSORTBYSOURCE captures enum value "LIST_DEPLOYMENTS_SORT_BY_SOURCE"
	V1ListDeploymentsSortByLISTDEPLOYMENTSSORTBYSOURCE V1ListDeploymentsSortBy = "LIST_DEPLOYMENTS_SORT_BY_SOURCE"
)

func (V1ListDeploymentsSortBy) ContextValidate ¶

func (m V1ListDeploymentsSortBy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 list deployments sort by based on context it is used

func (V1ListDeploymentsSortBy) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1ListDeploymentsSortBy.

func (V1ListDeploymentsSortBy) Validate ¶

func (m V1ListDeploymentsSortBy) Validate(formats strfmt.Registry) error

Validate validates this v1 list deployments sort by

type V1ListDeploymentsSortOrder ¶

type V1ListDeploymentsSortOrder string

V1ListDeploymentsSortOrder v1 list deployments sort order

swagger:model v1ListDeploymentsSortOrder

const (

	// V1ListDeploymentsSortOrderLISTDEPLOYMENTSSORTORDERUNSPECIFIED captures enum value "LIST_DEPLOYMENTS_SORT_ORDER_UNSPECIFIED"
	V1ListDeploymentsSortOrderLISTDEPLOYMENTSSORTORDERUNSPECIFIED V1ListDeploymentsSortOrder = "LIST_DEPLOYMENTS_SORT_ORDER_UNSPECIFIED"

	// V1ListDeploymentsSortOrderLISTDEPLOYMENTSSORTORDERASCENDING captures enum value "LIST_DEPLOYMENTS_SORT_ORDER_ASCENDING"
	V1ListDeploymentsSortOrderLISTDEPLOYMENTSSORTORDERASCENDING V1ListDeploymentsSortOrder = "LIST_DEPLOYMENTS_SORT_ORDER_ASCENDING"

	// V1ListDeploymentsSortOrderLISTDEPLOYMENTSSORTORDERDESCENDING captures enum value "LIST_DEPLOYMENTS_SORT_ORDER_DESCENDING"
	V1ListDeploymentsSortOrderLISTDEPLOYMENTSSORTORDERDESCENDING V1ListDeploymentsSortOrder = "LIST_DEPLOYMENTS_SORT_ORDER_DESCENDING"
)

func (V1ListDeploymentsSortOrder) ContextValidate ¶

func (m V1ListDeploymentsSortOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 list deployments sort order based on context it is used

func (V1ListDeploymentsSortOrder) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1ListDeploymentsSortOrder.

func (V1ListDeploymentsSortOrder) Validate ¶

func (m V1ListDeploymentsSortOrder) Validate(formats strfmt.Registry) error

Validate validates this v1 list deployments sort order

type V1ListJobResourcesResponse ¶

type V1ListJobResourcesResponse struct {

	// job resources
	JobResources []*V1JobResource `json:"jobResources"`
}

V1ListJobResourcesResponse v1 list job resources response

swagger:model v1ListJobResourcesResponse

func (*V1ListJobResourcesResponse) ContextValidate ¶

func (m *V1ListJobResourcesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list job resources response based on the context it is used

func (*V1ListJobResourcesResponse) MarshalBinary ¶

func (m *V1ListJobResourcesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListJobResourcesResponse) UnmarshalBinary ¶

func (m *V1ListJobResourcesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListJobResourcesResponse) Validate ¶

func (m *V1ListJobResourcesResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list job resources response

type V1ListJobsResponse ¶

type V1ListJobsResponse struct {

	// jobs
	Jobs []*V1Job `json:"jobs"`

	// next page token
	NextPageToken string `json:"nextPageToken,omitempty"`

	// previous page token
	PreviousPageToken string `json:"previousPageToken,omitempty"`
}

V1ListJobsResponse v1 list jobs response

swagger:model v1ListJobsResponse

func (*V1ListJobsResponse) ContextValidate ¶

func (m *V1ListJobsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list jobs response based on the context it is used

func (*V1ListJobsResponse) MarshalBinary ¶

func (m *V1ListJobsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListJobsResponse) UnmarshalBinary ¶

func (m *V1ListJobsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListJobsResponse) Validate ¶

func (m *V1ListJobsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list jobs response

type V1ListJobsSortBy ¶

type V1ListJobsSortBy string

V1ListJobsSortBy v1 list jobs sort by

swagger:model v1ListJobsSortBy

const (

	// V1ListJobsSortByLISTJOBSSORTBYUNSPECIFIED captures enum value "LIST_JOBS_SORT_BY_UNSPECIFIED"
	V1ListJobsSortByLISTJOBSSORTBYUNSPECIFIED V1ListJobsSortBy = "LIST_JOBS_SORT_BY_UNSPECIFIED"

	// V1ListJobsSortByLISTJOBSSORTBYNAME captures enum value "LIST_JOBS_SORT_BY_NAME"
	V1ListJobsSortByLISTJOBSSORTBYNAME V1ListJobsSortBy = "LIST_JOBS_SORT_BY_NAME"

	// V1ListJobsSortByLISTJOBSSORTBYSTARTEDAT captures enum value "LIST_JOBS_SORT_BY_STARTED_AT"
	V1ListJobsSortByLISTJOBSSORTBYSTARTEDAT V1ListJobsSortBy = "LIST_JOBS_SORT_BY_STARTED_AT"

	// V1ListJobsSortByLISTJOBSSORTBYCREATEDAT captures enum value "LIST_JOBS_SORT_BY_CREATED_AT"
	V1ListJobsSortByLISTJOBSSORTBYCREATEDAT V1ListJobsSortBy = "LIST_JOBS_SORT_BY_CREATED_AT"

	// V1ListJobsSortByLISTJOBSSORTBYINSTANCETYPE captures enum value "LIST_JOBS_SORT_BY_INSTANCE_TYPE"
	V1ListJobsSortByLISTJOBSSORTBYINSTANCETYPE V1ListJobsSortBy = "LIST_JOBS_SORT_BY_INSTANCE_TYPE"

	// V1ListJobsSortByLISTJOBSSORTBYUSERID captures enum value "LIST_JOBS_SORT_BY_USER_ID"
	V1ListJobsSortByLISTJOBSSORTBYUSERID V1ListJobsSortBy = "LIST_JOBS_SORT_BY_USER_ID"

	// V1ListJobsSortByLISTJOBSSORTBYCLUSTERID captures enum value "LIST_JOBS_SORT_BY_CLUSTER_ID"
	V1ListJobsSortByLISTJOBSSORTBYCLUSTERID V1ListJobsSortBy = "LIST_JOBS_SORT_BY_CLUSTER_ID"
)

func NewV1ListJobsSortBy ¶

func NewV1ListJobsSortBy(value V1ListJobsSortBy) *V1ListJobsSortBy

func (V1ListJobsSortBy) ContextValidate ¶

func (m V1ListJobsSortBy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 list jobs sort by based on context it is used

func (V1ListJobsSortBy) Pointer ¶

func (m V1ListJobsSortBy) Pointer() *V1ListJobsSortBy

Pointer returns a pointer to a freshly-allocated V1ListJobsSortBy.

func (V1ListJobsSortBy) Validate ¶

func (m V1ListJobsSortBy) Validate(formats strfmt.Registry) error

Validate validates this v1 list jobs sort by

type V1ListJobsSortOrder ¶

type V1ListJobsSortOrder string

V1ListJobsSortOrder v1 list jobs sort order

swagger:model v1ListJobsSortOrder

const (

	// V1ListJobsSortOrderLISTJOBSSORTORDERUNSPECIFIED captures enum value "LIST_JOBS_SORT_ORDER_UNSPECIFIED"
	V1ListJobsSortOrderLISTJOBSSORTORDERUNSPECIFIED V1ListJobsSortOrder = "LIST_JOBS_SORT_ORDER_UNSPECIFIED"

	// V1ListJobsSortOrderLISTJOBSSORTORDERASCENDING captures enum value "LIST_JOBS_SORT_ORDER_ASCENDING"
	V1ListJobsSortOrderLISTJOBSSORTORDERASCENDING V1ListJobsSortOrder = "LIST_JOBS_SORT_ORDER_ASCENDING"

	// V1ListJobsSortOrderLISTJOBSSORTORDERDESCENDING captures enum value "LIST_JOBS_SORT_ORDER_DESCENDING"
	V1ListJobsSortOrderLISTJOBSSORTORDERDESCENDING V1ListJobsSortOrder = "LIST_JOBS_SORT_ORDER_DESCENDING"
)

func NewV1ListJobsSortOrder ¶

func NewV1ListJobsSortOrder(value V1ListJobsSortOrder) *V1ListJobsSortOrder

func (V1ListJobsSortOrder) ContextValidate ¶

func (m V1ListJobsSortOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 list jobs sort order based on context it is used

func (V1ListJobsSortOrder) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1ListJobsSortOrder.

func (V1ListJobsSortOrder) Validate ¶

func (m V1ListJobsSortOrder) Validate(formats strfmt.Registry) error

Validate validates this v1 list jobs sort order

type V1ListJoinableOrganizationsResponse ¶

type V1ListJoinableOrganizationsResponse struct {

	// joinable organizations
	JoinableOrganizations []*V1JoinableOrganization `json:"joinableOrganizations"`
}

V1ListJoinableOrganizationsResponse v1 list joinable organizations response

swagger:model v1ListJoinableOrganizationsResponse

func (*V1ListJoinableOrganizationsResponse) ContextValidate ¶

func (m *V1ListJoinableOrganizationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list joinable organizations response based on the context it is used

func (*V1ListJoinableOrganizationsResponse) MarshalBinary ¶

func (m *V1ListJoinableOrganizationsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListJoinableOrganizationsResponse) UnmarshalBinary ¶

func (m *V1ListJoinableOrganizationsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListJoinableOrganizationsResponse) Validate ¶

Validate validates this v1 list joinable organizations response

type V1ListLightningRunResponse ¶

type V1ListLightningRunResponse struct {

	// runs
	Runs []*V1LightningRun `json:"runs"`
}

V1ListLightningRunResponse v1 list lightning run response

swagger:model v1ListLightningRunResponse

func (*V1ListLightningRunResponse) ContextValidate ¶

func (m *V1ListLightningRunResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list lightning run response based on the context it is used

func (*V1ListLightningRunResponse) MarshalBinary ¶

func (m *V1ListLightningRunResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListLightningRunResponse) UnmarshalBinary ¶

func (m *V1ListLightningRunResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListLightningRunResponse) Validate ¶

func (m *V1ListLightningRunResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list lightning run response

type V1ListMachineAlertsResponse ¶

type V1ListMachineAlertsResponse struct {

	// alerts
	Alerts []*V1MachineAlert `json:"alerts"`

	// total count
	TotalCount int32 `json:"totalCount,omitempty"`
}

V1ListMachineAlertsResponse v1 list machine alerts response

swagger:model v1ListMachineAlertsResponse

func (*V1ListMachineAlertsResponse) ContextValidate ¶

func (m *V1ListMachineAlertsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list machine alerts response based on the context it is used

func (*V1ListMachineAlertsResponse) MarshalBinary ¶

func (m *V1ListMachineAlertsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListMachineAlertsResponse) UnmarshalBinary ¶

func (m *V1ListMachineAlertsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListMachineAlertsResponse) Validate ¶

func (m *V1ListMachineAlertsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list machine alerts response

type V1ListMachinesResponse ¶

type V1ListMachinesResponse struct {

	// machines
	Machines []*V1Machine `json:"machines"`

	// next page token
	NextPageToken string `json:"nextPageToken,omitempty"`
}

V1ListMachinesResponse ListMachinesResponse represents the response with a list of machines

swagger:model v1ListMachinesResponse

func (*V1ListMachinesResponse) ContextValidate ¶

func (m *V1ListMachinesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list machines response based on the context it is used

func (*V1ListMachinesResponse) MarshalBinary ¶

func (m *V1ListMachinesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListMachinesResponse) UnmarshalBinary ¶

func (m *V1ListMachinesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListMachinesResponse) Validate ¶

func (m *V1ListMachinesResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list machines response

type V1ListMembershipsResponse ¶

type V1ListMembershipsResponse struct {

	// memberships
	Memberships []*V1Membership `json:"memberships"`
}

V1ListMembershipsResponse v1 list memberships response

swagger:model v1ListMembershipsResponse

func (*V1ListMembershipsResponse) ContextValidate ¶

func (m *V1ListMembershipsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list memberships response based on the context it is used

func (*V1ListMembershipsResponse) MarshalBinary ¶

func (m *V1ListMembershipsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListMembershipsResponse) UnmarshalBinary ¶

func (m *V1ListMembershipsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListMembershipsResponse) Validate ¶

func (m *V1ListMembershipsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list memberships response

type V1ListMultiMachineJobEventsResponse ¶

type V1ListMultiMachineJobEventsResponse struct {

	// events
	Events []*V1MultiMachineJobEvent `json:"events"`
}

V1ListMultiMachineJobEventsResponse v1 list multi machine job events response

swagger:model v1ListMultiMachineJobEventsResponse

func (*V1ListMultiMachineJobEventsResponse) ContextValidate ¶

func (m *V1ListMultiMachineJobEventsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list multi machine job events response based on the context it is used

func (*V1ListMultiMachineJobEventsResponse) MarshalBinary ¶

func (m *V1ListMultiMachineJobEventsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListMultiMachineJobEventsResponse) UnmarshalBinary ¶

func (m *V1ListMultiMachineJobEventsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListMultiMachineJobEventsResponse) Validate ¶

Validate validates this v1 list multi machine job events response

type V1ListMultiMachineJobsResponse ¶

type V1ListMultiMachineJobsResponse struct {

	// multi machine jobs
	MultiMachineJobs []*V1MultiMachineJob `json:"multiMachineJobs"`
}

V1ListMultiMachineJobsResponse v1 list multi machine jobs response

swagger:model v1ListMultiMachineJobsResponse

func (*V1ListMultiMachineJobsResponse) ContextValidate ¶

func (m *V1ListMultiMachineJobsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list multi machine jobs response based on the context it is used

func (*V1ListMultiMachineJobsResponse) MarshalBinary ¶

func (m *V1ListMultiMachineJobsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListMultiMachineJobsResponse) UnmarshalBinary ¶

func (m *V1ListMultiMachineJobsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListMultiMachineJobsResponse) Validate ¶

func (m *V1ListMultiMachineJobsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list multi machine jobs response

type V1ListNotificationDialogsResponse ¶

type V1ListNotificationDialogsResponse struct {

	// features
	Features []*V1NewFeature `json:"features"`

	// social promo
	SocialPromo bool `json:"socialPromo,omitempty"`
}

V1ListNotificationDialogsResponse v1 list notification dialogs response

swagger:model v1ListNotificationDialogsResponse

func (*V1ListNotificationDialogsResponse) ContextValidate ¶

func (m *V1ListNotificationDialogsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list notification dialogs response based on the context it is used

func (*V1ListNotificationDialogsResponse) MarshalBinary ¶

func (m *V1ListNotificationDialogsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListNotificationDialogsResponse) UnmarshalBinary ¶

func (m *V1ListNotificationDialogsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListNotificationDialogsResponse) Validate ¶

Validate validates this v1 list notification dialogs response

type V1ListOrgMemberTransferTargetsResponse ¶

type V1ListOrgMemberTransferTargetsResponse struct {

	// targets
	Targets []*V1OrgMemberTransferTarget `json:"targets"`
}

V1ListOrgMemberTransferTargetsResponse v1 list org member transfer targets response

swagger:model v1ListOrgMemberTransferTargetsResponse

func (*V1ListOrgMemberTransferTargetsResponse) ContextValidate ¶

ContextValidate validate this v1 list org member transfer targets response based on the context it is used

func (*V1ListOrgMemberTransferTargetsResponse) MarshalBinary ¶

func (m *V1ListOrgMemberTransferTargetsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListOrgMemberTransferTargetsResponse) UnmarshalBinary ¶

func (m *V1ListOrgMemberTransferTargetsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListOrgMemberTransferTargetsResponse) Validate ¶

Validate validates this v1 list org member transfer targets response

type V1ListOrgMembersResponse ¶

type V1ListOrgMembersResponse struct {

	// members
	Members []*V1OrgMember `json:"members"`
}

V1ListOrgMembersResponse v1 list org members response

swagger:model v1ListOrgMembersResponse

func (*V1ListOrgMembersResponse) ContextValidate ¶

func (m *V1ListOrgMembersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list org members response based on the context it is used

func (*V1ListOrgMembersResponse) MarshalBinary ¶

func (m *V1ListOrgMembersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListOrgMembersResponse) UnmarshalBinary ¶

func (m *V1ListOrgMembersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListOrgMembersResponse) Validate ¶

func (m *V1ListOrgMembersResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list org members response

type V1ListOrgMembershipRoleBindingResponse ¶

type V1ListOrgMembershipRoleBindingResponse struct {

	// membership role bindings
	MembershipRoleBindings []*V1OrgMembershipRoleBinding `json:"membershipRoleBindings"`
}

V1ListOrgMembershipRoleBindingResponse v1 list org membership role binding response

swagger:model v1ListOrgMembershipRoleBindingResponse

func (*V1ListOrgMembershipRoleBindingResponse) ContextValidate ¶

ContextValidate validate this v1 list org membership role binding response based on the context it is used

func (*V1ListOrgMembershipRoleBindingResponse) MarshalBinary ¶

func (m *V1ListOrgMembershipRoleBindingResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListOrgMembershipRoleBindingResponse) UnmarshalBinary ¶

func (m *V1ListOrgMembershipRoleBindingResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListOrgMembershipRoleBindingResponse) Validate ¶

Validate validates this v1 list org membership role binding response

type V1ListOrgMembershipsResponse ¶

type V1ListOrgMembershipsResponse struct {

	// memberships
	Memberships []*V1OrgMembership `json:"memberships"`
}

V1ListOrgMembershipsResponse v1 list org memberships response

swagger:model v1ListOrgMembershipsResponse

func (*V1ListOrgMembershipsResponse) ContextValidate ¶

func (m *V1ListOrgMembershipsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list org memberships response based on the context it is used

func (*V1ListOrgMembershipsResponse) MarshalBinary ¶

func (m *V1ListOrgMembershipsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListOrgMembershipsResponse) UnmarshalBinary ¶

func (m *V1ListOrgMembershipsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListOrgMembershipsResponse) Validate ¶

func (m *V1ListOrgMembershipsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list org memberships response

type V1ListOrgRolesResponse ¶

type V1ListOrgRolesResponse struct {

	// roles
	Roles []*V1OrgRole `json:"roles"`
}

V1ListOrgRolesResponse v1 list org roles response

swagger:model v1ListOrgRolesResponse

func (*V1ListOrgRolesResponse) ContextValidate ¶

func (m *V1ListOrgRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list org roles response based on the context it is used

func (*V1ListOrgRolesResponse) MarshalBinary ¶

func (m *V1ListOrgRolesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListOrgRolesResponse) UnmarshalBinary ¶

func (m *V1ListOrgRolesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListOrgRolesResponse) Validate ¶

func (m *V1ListOrgRolesResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list org roles response

type V1ListOrganizationClusterEncryptionKeysResponse ¶

type V1ListOrganizationClusterEncryptionKeysResponse struct {

	// keys
	Keys []*V1ClusterEncryptionKey `json:"keys"`
}

V1ListOrganizationClusterEncryptionKeysResponse v1 list organization cluster encryption keys response

swagger:model v1ListOrganizationClusterEncryptionKeysResponse

func (*V1ListOrganizationClusterEncryptionKeysResponse) ContextValidate ¶

ContextValidate validate this v1 list organization cluster encryption keys response based on the context it is used

func (*V1ListOrganizationClusterEncryptionKeysResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*V1ListOrganizationClusterEncryptionKeysResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*V1ListOrganizationClusterEncryptionKeysResponse) Validate ¶

Validate validates this v1 list organization cluster encryption keys response

type V1ListOrganizationsResponse ¶

type V1ListOrganizationsResponse struct {

	// organizations
	Organizations []*V1Organization `json:"organizations"`
}

V1ListOrganizationsResponse v1 list organizations response

swagger:model v1ListOrganizationsResponse

func (*V1ListOrganizationsResponse) ContextValidate ¶

func (m *V1ListOrganizationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list organizations response based on the context it is used

func (*V1ListOrganizationsResponse) MarshalBinary ¶

func (m *V1ListOrganizationsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListOrganizationsResponse) UnmarshalBinary ¶

func (m *V1ListOrganizationsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListOrganizationsResponse) Validate ¶

func (m *V1ListOrganizationsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list organizations response

type V1ListProjectClusterAcceleratorsResponse ¶

type V1ListProjectClusterAcceleratorsResponse struct {

	// accelerator
	Accelerator []*V1ClusterAccelerator `json:"accelerator"`
}

V1ListProjectClusterAcceleratorsResponse v1 list project cluster accelerators response

swagger:model v1ListProjectClusterAcceleratorsResponse

func (*V1ListProjectClusterAcceleratorsResponse) ContextValidate ¶

ContextValidate validate this v1 list project cluster accelerators response based on the context it is used

func (*V1ListProjectClusterAcceleratorsResponse) MarshalBinary ¶

func (m *V1ListProjectClusterAcceleratorsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListProjectClusterAcceleratorsResponse) UnmarshalBinary ¶

func (m *V1ListProjectClusterAcceleratorsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListProjectClusterAcceleratorsResponse) Validate ¶

Validate validates this v1 list project cluster accelerators response

type V1ListProjectClusterBindingsResponse ¶

type V1ListProjectClusterBindingsResponse struct {

	// clusters
	Clusters []*V1ProjectClusterBinding `json:"clusters"`
}

V1ListProjectClusterBindingsResponse v1 list project cluster bindings response

swagger:model v1ListProjectClusterBindingsResponse

func (*V1ListProjectClusterBindingsResponse) ContextValidate ¶

func (m *V1ListProjectClusterBindingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list project cluster bindings response based on the context it is used

func (*V1ListProjectClusterBindingsResponse) MarshalBinary ¶

func (m *V1ListProjectClusterBindingsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListProjectClusterBindingsResponse) UnmarshalBinary ¶

func (m *V1ListProjectClusterBindingsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListProjectClusterBindingsResponse) Validate ¶

Validate validates this v1 list project cluster bindings response

type V1ListProjectClustersResponse ¶

type V1ListProjectClustersResponse struct {

	// clusters
	Clusters []*V1ExternalCluster `json:"clusters"`
}

V1ListProjectClustersResponse v1 list project clusters response

swagger:model v1ListProjectClustersResponse

func (*V1ListProjectClustersResponse) ContextValidate ¶

func (m *V1ListProjectClustersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list project clusters response based on the context it is used

func (*V1ListProjectClustersResponse) MarshalBinary ¶

func (m *V1ListProjectClustersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListProjectClustersResponse) UnmarshalBinary ¶

func (m *V1ListProjectClustersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListProjectClustersResponse) Validate ¶

func (m *V1ListProjectClustersResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list project clusters response

type V1ListProjectMembershipRoleBindingResponse ¶

type V1ListProjectMembershipRoleBindingResponse struct {

	// membership role bindings
	MembershipRoleBindings []*V1ProjectMembershipRoleBinding `json:"membershipRoleBindings"`
}

V1ListProjectMembershipRoleBindingResponse v1 list project membership role binding response

swagger:model v1ListProjectMembershipRoleBindingResponse

func (*V1ListProjectMembershipRoleBindingResponse) ContextValidate ¶

ContextValidate validate this v1 list project membership role binding response based on the context it is used

func (*V1ListProjectMembershipRoleBindingResponse) MarshalBinary ¶

func (m *V1ListProjectMembershipRoleBindingResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListProjectMembershipRoleBindingResponse) UnmarshalBinary ¶

func (m *V1ListProjectMembershipRoleBindingResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListProjectMembershipRoleBindingResponse) Validate ¶

Validate validates this v1 list project membership role binding response

type V1ListProjectMembershipsResponse ¶

type V1ListProjectMembershipsResponse struct {

	// memberships
	Memberships []*V1ProjectMembership `json:"memberships"`
}

V1ListProjectMembershipsResponse v1 list project memberships response

swagger:model v1ListProjectMembershipsResponse

func (*V1ListProjectMembershipsResponse) ContextValidate ¶

func (m *V1ListProjectMembershipsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list project memberships response based on the context it is used

func (*V1ListProjectMembershipsResponse) MarshalBinary ¶

func (m *V1ListProjectMembershipsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListProjectMembershipsResponse) UnmarshalBinary ¶

func (m *V1ListProjectMembershipsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListProjectMembershipsResponse) Validate ¶

Validate validates this v1 list project memberships response

type V1ListProjectRolesResponse ¶

type V1ListProjectRolesResponse struct {

	// roles
	Roles []*V1Role `json:"roles"`
}

V1ListProjectRolesResponse v1 list project roles response

swagger:model v1ListProjectRolesResponse

func (*V1ListProjectRolesResponse) ContextValidate ¶

func (m *V1ListProjectRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list project roles response based on the context it is used

func (*V1ListProjectRolesResponse) MarshalBinary ¶

func (m *V1ListProjectRolesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListProjectRolesResponse) UnmarshalBinary ¶

func (m *V1ListProjectRolesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListProjectRolesResponse) Validate ¶

func (m *V1ListProjectRolesResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list project roles response

type V1ListPublishedCloudSpacesResponse ¶

type V1ListPublishedCloudSpacesResponse struct {

	// next page token
	NextPageToken string `json:"nextPageToken,omitempty"`

	// previous page token
	PreviousPageToken string `json:"previousPageToken,omitempty"`

	// published
	Published []*V1PublishedCloudSpaceResponse `json:"published"`
}

V1ListPublishedCloudSpacesResponse v1 list published cloud spaces response

swagger:model v1ListPublishedCloudSpacesResponse

func (*V1ListPublishedCloudSpacesResponse) ContextValidate ¶

func (m *V1ListPublishedCloudSpacesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list published cloud spaces response based on the context it is used

func (*V1ListPublishedCloudSpacesResponse) MarshalBinary ¶

func (m *V1ListPublishedCloudSpacesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListPublishedCloudSpacesResponse) UnmarshalBinary ¶

func (m *V1ListPublishedCloudSpacesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListPublishedCloudSpacesResponse) Validate ¶

Validate validates this v1 list published cloud spaces response

type V1ListSecretsResponse ¶

type V1ListSecretsResponse struct {

	// secrets
	Secrets []*V1Secret `json:"secrets"`
}

V1ListSecretsResponse v1 list secrets response

swagger:model v1ListSecretsResponse

func (*V1ListSecretsResponse) ContextValidate ¶

func (m *V1ListSecretsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 list secrets response based on the context it is used

func (*V1ListSecretsResponse) MarshalBinary ¶

func (m *V1ListSecretsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ListSecretsResponse) UnmarshalBinary ¶

func (m *V1ListSecretsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ListSecretsResponse) Validate ¶

func (m *V1ListSecretsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list secrets response

type V1LitePublishedCloudSpaceResponse ¶

type V1LitePublishedCloudSpaceResponse struct {

	// description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// engagement counts
	EngagementCounts map[string]string `json:"engagementCounts,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project owner Id
	ProjectOwnerID string `json:"projectOwnerId,omitempty"`

	// project owner name
	ProjectOwnerName string `json:"projectOwnerName,omitempty"`

	// project owner type
	ProjectOwnerType *V1OwnerType `json:"projectOwnerType,omitempty"`

	// studio creator avatar Url
	StudioCreatorAvatarURL string `json:"studioCreatorAvatarUrl,omitempty"`

	// studio creator first name
	StudioCreatorFirstName string `json:"studioCreatorFirstName,omitempty"`

	// studio creator Id
	StudioCreatorID string `json:"studioCreatorId,omitempty"`

	// studio creator last name
	StudioCreatorLastName string `json:"studioCreatorLastName,omitempty"`

	// studio creator username
	StudioCreatorUsername string `json:"studioCreatorUsername,omitempty"`

	// thumbnail Url
	ThumbnailURL string `json:"thumbnailUrl,omitempty"`
}

V1LitePublishedCloudSpaceResponse v1 lite published cloud space response

swagger:model v1LitePublishedCloudSpaceResponse

func (*V1LitePublishedCloudSpaceResponse) ContextValidate ¶

func (m *V1LitePublishedCloudSpaceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 lite published cloud space response based on the context it is used

func (*V1LitePublishedCloudSpaceResponse) MarshalBinary ¶

func (m *V1LitePublishedCloudSpaceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LitePublishedCloudSpaceResponse) UnmarshalBinary ¶

func (m *V1LitePublishedCloudSpaceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LitePublishedCloudSpaceResponse) Validate ¶

Validate validates this v1 lite published cloud space response

type V1LoadAverage ¶

type V1LoadAverage struct {

	// fifteen minute
	FifteenMinute float64 `json:"fifteenMinute,omitempty"`

	// five minute
	FiveMinute float64 `json:"fiveMinute,omitempty"`

	// one minute
	OneMinute float64 `json:"oneMinute,omitempty"`
}

V1LoadAverage v1 load average

swagger:model v1LoadAverage

func (*V1LoadAverage) ContextValidate ¶

func (m *V1LoadAverage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 load average based on context it is used

func (*V1LoadAverage) MarshalBinary ¶

func (m *V1LoadAverage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LoadAverage) UnmarshalBinary ¶

func (m *V1LoadAverage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LoadAverage) Validate ¶

func (m *V1LoadAverage) Validate(formats strfmt.Registry) error

Validate validates this v1 load average

type V1LustreDataConnection ¶

type V1LustreDataConnection struct {

	// file system name
	FileSystemName string `json:"fileSystemName,omitempty"`

	// ip address
	IPAddress string `json:"ipAddress,omitempty"`
}

V1LustreDataConnection v1 lustre data connection

swagger:model v1LustreDataConnection

func (*V1LustreDataConnection) ContextValidate ¶

func (m *V1LustreDataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 lustre data connection based on context it is used

func (*V1LustreDataConnection) MarshalBinary ¶

func (m *V1LustreDataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LustreDataConnection) UnmarshalBinary ¶

func (m *V1LustreDataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LustreDataConnection) Validate ¶

func (m *V1LustreDataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 lustre data connection

type V1Machine ¶

type V1Machine struct {

	// User who added the machine
	AddedBy string `json:"addedBy,omitempty"`

	// address
	Address string `json:"address,omitempty"`

	// auth token
	AuthToken string `json:"authToken,omitempty"`

	// capacity reservation Id
	CapacityReservationID string `json:"capacityReservationId,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// If true, the machine will not be monitored by the monitor machines worker
	DisableMonitoring bool `json:"disableMonitoring,omitempty"`

	// Env vars collected from the nodes
	Env []*V1EnvVar `json:"env"`

	// health
	Health *V1MachineHealth `json:"health,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// Agent API URL
	ManagementAPIURL string `json:"managementApiUrl,omitempty"`

	// mode
	Mode string `json:"mode,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// This node will schedule only interruptible workloads
	OnlySpot bool `json:"onlySpot,omitempty"`

	// Whether we want to force an ordering over the machine listing
	OrderingIndex int32 `json:"orderingIndex,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// owned by lightning
	OwnedByLightning bool `json:"ownedByLightning,omitempty"`

	// private address
	PrivateAddress string `json:"privateAddress,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// Physical cluster, machines connected to the same switch or just a few hops away (high qos)
	ProviderFabricGroup string `json:"providerFabricGroup,omitempty"`

	// Where applicable
	ProviderInstanceID string `json:"providerInstanceId,omitempty"`

	// provider region
	ProviderRegion string `json:"providerRegion,omitempty"`

	// provisioning method
	ProvisioningMethod string `json:"provisioningMethod,omitempty"`

	// Workload-class dedication. "" (default) = generic / any workload.
	// "sandbox" reserves the machine for sandbox workloads:
	//   - sandbox scheduler picks purpose=sandbox hosts first
	//   - generic scheduler hides purpose=sandbox hosts entirely
	// Set/cleared via UpdateMachine. See storage.MachinePurpose for the
	// Go-side enum and storage.KnownMachinePurposes() for the canonical
	// value set the server validates against.
	Purpose string `json:"purpose,omitempty"`

	// ready at
	// Format: date-time
	ReadyAt strfmt.DateTime `json:"readyAt,omitempty"`

	// Whether the machine on which the server is running requires maintenance
	RequiresMaintenance bool `json:"requiresMaintenance,omitempty"`

	// requires maintenance reason
	RequiresMaintenanceReason string `json:"requiresMaintenanceReason,omitempty"`

	// requires maintenance started at
	// Format: date-time
	RequiresMaintenanceStartedAt strfmt.DateTime `json:"requiresMaintenanceStartedAt,omitempty"`

	// requires maintenance user Id
	RequiresMaintenanceUserID string `json:"requiresMaintenanceUserId,omitempty"`

	// If higher level resource is set, this is the ID of the resource
	ResourceID string `json:"resourceId,omitempty"`

	// What is using the machine (job, cloudspace, simple VM, etc.)
	ResourceType string `json:"resourceType,omitempty"`

	// resources
	Resources *V1Resources `json:"resources,omitempty"`

	// Used for debugging
	SchedulableAffinity *V1SchedulableAffinity `json:"schedulableAffinity,omitempty"`

	// ssh username
	SSHUsername string `json:"sshUsername,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// IB leaf switch this node is connected to (within provider_fabric_group)
	SwitchIP string `json:"switchIp,omitempty"`

	// unschedulable
	Unschedulable bool `json:"unschedulable,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// warning message
	WarningMessage string `json:"warningMessage,omitempty"`
}

V1Machine Machine represents a machine instance

swagger:model v1Machine

func (*V1Machine) ContextValidate ¶

func (m *V1Machine) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 machine based on the context it is used

func (*V1Machine) MarshalBinary ¶

func (m *V1Machine) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Machine) UnmarshalBinary ¶

func (m *V1Machine) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Machine) Validate ¶

func (m *V1Machine) Validate(formats strfmt.Registry) error

Validate validates this v1 machine

type V1MachineAgentUpdateResult ¶

type V1MachineAgentUpdateResult struct {

	// Empty when the host was already up-to-date or updated successfully;
	// otherwise the update error for that host.
	Error string `json:"error,omitempty"`

	// machine Id
	MachineID string `json:"machineId,omitempty"`
}

V1MachineAgentUpdateResult MachineAgentUpdateResult is the per-machine outcome of an UpdateMachineAgent call.

swagger:model v1MachineAgentUpdateResult

func (*V1MachineAgentUpdateResult) ContextValidate ¶

func (m *V1MachineAgentUpdateResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 machine agent update result based on context it is used

func (*V1MachineAgentUpdateResult) MarshalBinary ¶

func (m *V1MachineAgentUpdateResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MachineAgentUpdateResult) UnmarshalBinary ¶

func (m *V1MachineAgentUpdateResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MachineAgentUpdateResult) Validate ¶

func (m *V1MachineAgentUpdateResult) Validate(formats strfmt.Registry) error

Validate validates this v1 machine agent update result

type V1MachineAlert ¶

type V1MachineAlert struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// warn, error, panic
	Level string `json:"level,omitempty"`

	// machine Id
	MachineID string `json:"machineId,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// resource Id
	ResourceID string `json:"resourceId,omitempty"`

	// resource type
	ResourceType string `json:"resourceType,omitempty"`

	// server Id
	ServerID string `json:"serverId,omitempty"`

	// baremetal version
	Version string `json:"version,omitempty"`
}

V1MachineAlert v1 machine alert

swagger:model v1MachineAlert

func (*V1MachineAlert) ContextValidate ¶

func (m *V1MachineAlert) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 machine alert based on context it is used

func (*V1MachineAlert) MarshalBinary ¶

func (m *V1MachineAlert) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MachineAlert) UnmarshalBinary ¶

func (m *V1MachineAlert) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MachineAlert) Validate ¶

func (m *V1MachineAlert) Validate(formats strfmt.Registry) error

Validate validates this v1 machine alert

type V1MachineArchitecture ¶

type V1MachineArchitecture string

V1MachineArchitecture v1 machine architecture

swagger:model v1MachineArchitecture

const (

	// V1MachineArchitectureMACHINEARCHITECTUREAMD64 captures enum value "MACHINE_ARCHITECTURE_AMD64"
	V1MachineArchitectureMACHINEARCHITECTUREAMD64 V1MachineArchitecture = "MACHINE_ARCHITECTURE_AMD64"

	// V1MachineArchitectureMACHINEARCHITECTUREARM64 captures enum value "MACHINE_ARCHITECTURE_ARM64"
	V1MachineArchitectureMACHINEARCHITECTUREARM64 V1MachineArchitecture = "MACHINE_ARCHITECTURE_ARM64"
)

func NewV1MachineArchitecture ¶

func NewV1MachineArchitecture(value V1MachineArchitecture) *V1MachineArchitecture

func (V1MachineArchitecture) ContextValidate ¶

func (m V1MachineArchitecture) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 machine architecture based on context it is used

func (V1MachineArchitecture) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1MachineArchitecture.

func (V1MachineArchitecture) Validate ¶

func (m V1MachineArchitecture) Validate(formats strfmt.Registry) error

Validate validates this v1 machine architecture

type V1MachineBootstrap ¶

type V1MachineBootstrap struct {

	// cloud init
	CloudInit string `json:"cloudInit,omitempty"`

	// machine image
	MachineImage string `json:"machineImage,omitempty"`

	// ssh pub keys
	SSHPubKeys []string `json:"sshPubKeys"`
}

V1MachineBootstrap v1 machine bootstrap

swagger:model v1MachineBootstrap

func (*V1MachineBootstrap) ContextValidate ¶

func (m *V1MachineBootstrap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 machine bootstrap based on context it is used

func (*V1MachineBootstrap) MarshalBinary ¶

func (m *V1MachineBootstrap) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MachineBootstrap) UnmarshalBinary ¶

func (m *V1MachineBootstrap) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MachineBootstrap) Validate ¶

func (m *V1MachineBootstrap) Validate(formats strfmt.Registry) error

Validate validates this v1 machine bootstrap

type V1MachineDetails ¶

type V1MachineDetails struct {

	// Allocated servers on the machine by our scheduler
	AllocatedServers []*V1Server `json:"allocatedServers"`

	// app uptime ms
	AppUptimeMs string `json:"appUptimeMs,omitempty"`

	// app version
	AppVersion string `json:"appVersion,omitempty"`

	// boot params
	BootParams string `json:"bootParams,omitempty"`

	// disk total gb
	DiskTotalGb int32 `json:"diskTotalGb,omitempty"`

	// disk used gb
	DiskUsedGb int32 `json:"diskUsedGb,omitempty"`

	// gpu diagnostics
	GpuDiagnostics *V1GPUDiagnosticReport `json:"gpuDiagnostics,omitempty"`

	// gpus allocated
	GpusAllocated int32 `json:"gpusAllocated,omitempty"`

	// gpus total
	GpusTotal int32 `json:"gpusTotal,omitempty"`

	// host uptime ms
	HostUptimeMs string `json:"hostUptimeMs,omitempty"`

	// Agent-reported status
	InstanceCount int32 `json:"instanceCount,omitempty"`

	// kernel version
	KernelVersion string `json:"kernelVersion,omitempty"`

	// machine images
	MachineImages []*V1MachineImageStatus `json:"machineImages"`

	// memory total mb
	MemoryTotalMb int32 `json:"memoryTotalMb,omitempty"`

	// memory used mb
	MemoryUsedMb int32 `json:"memoryUsedMb,omitempty"`

	// os info
	OsInfo string `json:"osInfo,omitempty"`

	// RAW VM instances info (hypervisor, internal baremetal-agent info, etc)
	VMInstances []*V1VMInstance `json:"vmInstances"`
}

V1MachineDetails MachineDetails contains internal details of the machine, used for debugging and monitoring

swagger:model v1MachineDetails

func (*V1MachineDetails) ContextValidate ¶

func (m *V1MachineDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 machine details based on the context it is used

func (*V1MachineDetails) MarshalBinary ¶

func (m *V1MachineDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MachineDetails) UnmarshalBinary ¶

func (m *V1MachineDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MachineDetails) Validate ¶

func (m *V1MachineDetails) Validate(formats strfmt.Registry) error

Validate validates this v1 machine details

type V1MachineDirectV1 ¶

type V1MachineDirectV1 struct {

	// Machine access mode for the cluster: bare metal or virtual machines
	AccessMode string `json:"accessMode,omitempty"`

	// Baremetal agent version (if set, overrides a global one)
	AgentVersion string `json:"agentVersion,omitempty"`

	// The cloud to use when there is no capacity left
	BurstClusterID string `json:"burstClusterId,omitempty"`

	// User to run user-specific setup commands
	CloudHypervisorUser string `json:"cloudHypervisorUser,omitempty"`

	// Customer-internal networks reachable from this cluster's VMs through VPN
	// gateways. Per-VM access is granted separately; empty means the feature is
	// off. Supports multiple customers (one gateway + CIDR set each).
	CustomerNetworks []*V1CustomerNetwork `json:"customerNetworks"`

	// Whether we disable CPU VM on GPU VM (apply only when burst cluster is defined)
	DisableCPUVMOnGpuNode bool `json:"disableCpuVmOnGpuNode,omitempty"`

	// Silence shadow-reservation capacity/IB Slack alerts for this cluster (metrics still emitted); a kill switch if alerting is too noisy
	DisableReservationAlerts bool `json:"disableReservationAlerts,omitempty"`

	// Set if custom DNS servers need to be used
	DNSServers []string `json:"dnsServers"`

	// Extra setup commands that will be included in the agent install script
	ExtraSetupCommands []string `json:"extraSetupCommands"`

	// Cluster nodes architecture
	MachineArchitecture *V1MachineArchitecture `json:"machineArchitecture,omitempty"`

	// Max storage GB that nodes have, this will
	// be used to lower requested storage from accelerators
	// when they exceed this limit
	MaxStorageGb string `json:"maxStorageGb,omitempty"`

	// Primary region to try and use
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// If true, the platform will connect to machines using their private IP addresses
	PrivateNetworking bool `json:"privateNetworking,omitempty"`

	// Whether we auto-refresh machines placement for the cluster
	RefreshMachinesPlacement bool `json:"refreshMachinesPlacement,omitempty"`

	// All available regions
	Regions []string `json:"regions"`

	// Whether to set up a firewall on cluster's machines
	SetupFirewall bool `json:"setupFirewall,omitempty"`

	// Whether to set up InfiniBand on the cluster's nodes (if true, InfiniBand host packages will be installed)
	SetupInfiniband bool `json:"setupInfiniband,omitempty"`

	// Multiplier controlling how much total virtual disk size can exceed host storage, 1 (i.e. no overcommit) if not set
	StorageOvercommitFactor float32 `json:"storageOvercommitFactor,omitempty"`

	// Secret ID of the tailscale auth key for the cluster (to connect to machines)
	TailscaleAuthKeySecretID string `json:"tailscaleAuthKeySecretId,omitempty"`

	// Whether baremetal agent reconciliation is enabled on the cluster's machines
	UpdateAgent bool `json:"updateAgent,omitempty"`

	// Whether baremetal agent reconciliation is enabled on the sandbox cluster's machines (separate flag to protect them)
	UpdateAgentsOnSandboxMachines bool `json:"updateAgentsOnSandboxMachines,omitempty"`

	// Prepare NVMe disks on host to for VMs
	UseNvmeDisks bool `json:"useNvmeDisks,omitempty"`

	// Regions where this machine cluster offers VAST (a cluster may mix VAST and
	// non-VAST infra). Empty means VAST is not offered on the cluster.
	VastSupportedRegions []string `json:"vastSupportedRegions"`

	// The secret id to access voltage park
	VoltageParkCredentialsSecretID string `json:"voltageParkCredentialsSecretId,omitempty"`
}

V1MachineDirectV1 MachineDirectV1 is used to connect machines directly to the Lightning platform, machines use 'auth_token' from the cluster spec to authenticate and exchange the details

swagger:model v1MachineDirectV1

func (*V1MachineDirectV1) ContextValidate ¶

func (m *V1MachineDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 machine direct v1 based on the context it is used

func (*V1MachineDirectV1) MarshalBinary ¶

func (m *V1MachineDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MachineDirectV1) UnmarshalBinary ¶

func (m *V1MachineDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MachineDirectV1) Validate ¶

func (m *V1MachineDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 machine direct v1

type V1MachineHealth ¶

type V1MachineHealth struct {

	// When this snapshot was collected on the agent side.
	// Format: date-time
	CheckedAt strfmt.DateTime `json:"checkedAt,omitempty"`

	// Errors encountered during the sweep itself (e.g. "list instances failed").
	// These are sweep-level, not host- or VM-level.
	Errors []string `json:"errors"`

	// host
	Host *V1HostHealth `json:"host,omitempty"`

	// How long the sweep took. String form (e.g. "1.23s") to match the Go
	// health state field.
	SweepDuration string `json:"sweepDuration,omitempty"`

	// vms
	Vms []*V1VMHealth `json:"vms"`
}

V1MachineHealth v1 machine health

swagger:model v1MachineHealth

func (*V1MachineHealth) ContextValidate ¶

func (m *V1MachineHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 machine health based on the context it is used

func (*V1MachineHealth) MarshalBinary ¶

func (m *V1MachineHealth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MachineHealth) UnmarshalBinary ¶

func (m *V1MachineHealth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MachineHealth) Validate ¶

func (m *V1MachineHealth) Validate(formats strfmt.Registry) error

Validate validates this v1 machine health

type V1MachineImageStatus ¶

type V1MachineImageStatus struct {

	// download percent
	DownloadPercent float64 `json:"downloadPercent,omitempty"`

	// downloaded
	Downloaded bool `json:"downloaded,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// local path
	LocalPath string `json:"localPath,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

V1MachineImageStatus v1 machine image status

swagger:model v1MachineImageStatus

func (*V1MachineImageStatus) ContextValidate ¶

func (m *V1MachineImageStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 machine image status based on context it is used

func (*V1MachineImageStatus) MarshalBinary ¶

func (m *V1MachineImageStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MachineImageStatus) UnmarshalBinary ¶

func (m *V1MachineImageStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MachineImageStatus) Validate ¶

func (m *V1MachineImageStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 machine image status

type V1MachineSystemInfo ¶

type V1MachineSystemInfo struct {

	// agent boot time
	// Format: date-time
	AgentBootTime strfmt.DateTime `json:"agentBootTime,omitempty"`

	// agent version
	AgentVersion string `json:"agentVersion,omitempty"`

	// uname -m
	Architecture string `json:"architecture,omitempty"`

	// Uptime / boot
	// Format: date-time
	BootTime strfmt.DateTime `json:"bootTime,omitempty"`

	// Virtualization stack
	CloudHypervisorVersion string `json:"cloudHypervisorVersion,omitempty"`

	// When this SystemInfo was last refreshed by the agent.
	// Format: date-time
	CollectedAt strfmt.DateTime `json:"collectedAt,omitempty"`

	// cpu cores per socket
	CPUCoresPerSocket int32 `json:"cpuCoresPerSocket,omitempty"`

	// logical cores
	CPUCount int32 `json:"cpuCount,omitempty"`

	// CPU
	CPUModel string `json:"cpuModel,omitempty"`

	// cpu sockets
	CPUSockets int32 `json:"cpuSockets,omitempty"`

	// filesystems
	Filesystems []*V1FilesystemUsage `json:"filesystems"`

	// OS / kernel
	Hostname string `json:"hostname,omitempty"`

	// Derived flags from kernel_cmdline, surfaced for easy querying.
	KernelBootFlags *V1KernelBootFlags `json:"kernelBootFlags,omitempty"`

	// Kernel boot parameters. Sourced from /proc/cmdline — this is what
	// the running kernel actually received, which may differ from what's
	// in /etc/default/grub if update-grub wasn't run after a config change.
	KernelCmdline string `json:"kernelCmdline,omitempty"`

	// uname -r
	KernelVersion string `json:"kernelVersion,omitempty"`

	// if present, optional
	LibvirtVersion string `json:"libvirtVersion,omitempty"`

	// load average
	LoadAverage *V1LoadAverage `json:"loadAverage,omitempty"`

	// machine mode
	MachineMode string `json:"machineMode,omitempty"`

	// Live utilization (refreshed every sweep).
	Memory *V1MemoryUsage `json:"memory,omitempty"`

	// NVIDIA stack
	Nvidia *V1NvidiaInfo `json:"nvidia,omitempty"`

	// /etc/os-release ID, e.g. "ubuntu"
	OsID string `json:"osId,omitempty"`

	// /etc/os-release PRETTY_NAME
	OsPrettyName string `json:"osPrettyName,omitempty"`

	// /etc/os-release VERSION_ID, e.g. "22.04"
	OsVersionID string `json:"osVersionId,omitempty"`

	// if present, optional
	QemuVersion string `json:"qemuVersion,omitempty"`
}

V1MachineSystemInfo MachineSystemInfo captures host facts. Most fields are slow-changing (kernel version, CPU model) and refreshed on a long interval; the live utilization fields (memory, filesystems, load_average) are refreshed every sweep.

swagger:model v1MachineSystemInfo

func (*V1MachineSystemInfo) ContextValidate ¶

func (m *V1MachineSystemInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 machine system info based on the context it is used

func (*V1MachineSystemInfo) MarshalBinary ¶

func (m *V1MachineSystemInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MachineSystemInfo) UnmarshalBinary ¶

func (m *V1MachineSystemInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MachineSystemInfo) Validate ¶

func (m *V1MachineSystemInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 machine system info

type V1MachineSystemMetrics ¶

type V1MachineSystemMetrics struct {

	// cpu percentage
	CPUPercentage float32 `json:"cpuPercentage,omitempty"`

	// gpu percentage
	GpuPercentage float32 `json:"gpuPercentage,omitempty"`

	// num cpus
	NumCpus int32 `json:"numCpus,omitempty"`

	// num gpus
	NumGpus int32 `json:"numGpus,omitempty"`

	// storage percentage
	StoragePercentage int32 `json:"storagePercentage,omitempty"`

	// storage total
	StorageTotal int32 `json:"storageTotal,omitempty"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

V1MachineSystemMetrics v1 machine system metrics

swagger:model v1MachineSystemMetrics

func (*V1MachineSystemMetrics) ContextValidate ¶

func (m *V1MachineSystemMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 machine system metrics based on context it is used

func (*V1MachineSystemMetrics) MarshalBinary ¶

func (m *V1MachineSystemMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MachineSystemMetrics) UnmarshalBinary ¶

func (m *V1MachineSystemMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MachineSystemMetrics) Validate ¶

func (m *V1MachineSystemMetrics) Validate(formats strfmt.Registry) error

Validate validates this v1 machine system metrics

type V1MachineV1Status ¶

type V1MachineV1Status struct {

	// cordoned
	Cordoned *MachineV1StatusResourceGroup `json:"cordoned,omitempty"`

	// total
	Total *MachineV1StatusResourceGroup `json:"total,omitempty"`

	// unreachable
	Unreachable *MachineV1StatusResourceGroup `json:"unreachable,omitempty"`

	// used
	Used *MachineV1StatusResourceGroup `json:"used,omitempty"`
}

V1MachineV1Status v1 machine v1 status

swagger:model v1MachineV1Status

func (*V1MachineV1Status) ContextValidate ¶

func (m *V1MachineV1Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 machine v1 status based on the context it is used

func (*V1MachineV1Status) MarshalBinary ¶

func (m *V1MachineV1Status) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MachineV1Status) UnmarshalBinary ¶

func (m *V1MachineV1Status) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MachineV1Status) Validate ¶

func (m *V1MachineV1Status) Validate(formats strfmt.Registry) error

Validate validates this v1 machine v1 status

type V1MachinesSelector ¶

type V1MachinesSelector struct {

	// options
	Options []string `json:"options"`

	// value selected by the user
	Value string `json:"value,omitempty"`
}

V1MachinesSelector v1 machines selector

swagger:model v1MachinesSelector

func (*V1MachinesSelector) ContextValidate ¶

func (m *V1MachinesSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 machines selector based on context it is used

func (*V1MachinesSelector) MarshalBinary ¶

func (m *V1MachinesSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MachinesSelector) UnmarshalBinary ¶

func (m *V1MachinesSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MachinesSelector) Validate ¶

func (m *V1MachinesSelector) Validate(formats strfmt.Registry) error

Validate validates this v1 machines selector

type V1Membership ¶

type V1Membership struct {

	// $
	Balance float64 `json:"balance,omitempty"`

	// Whether or not to charge the project account
	BudgetingEnabled bool `json:"budgetingEnabled,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// creator Id
	CreatorID string `json:"creatorId,omitempty"`

	// current storage bytes
	CurrentStorageBytes string `json:"currentStorageBytes,omitempty"`

	// Project stats
	DatastoreCount string `json:"datastoreCount,omitempty"`

	// Project description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// free credits enabled
	FreeCreditsEnabled bool `json:"freeCreditsEnabled,omitempty"`

	// free storage bytes
	FreeStorageBytes string `json:"freeStorageBytes,omitempty"`

	// The creator is not allowed to leave or delete the project and can only be removed by leaving / being removed from the organization/ being removed from the organization
	IsDefault bool `json:"isDefault,omitempty"`

	// job count
	JobCount string `json:"jobCount,omitempty"`

	// membership count
	MembershipCount string `json:"membershipCount,omitempty"`

	// Project name
	Name string `json:"name,omitempty"`

	// Next free credits granting date (if enabled and all granting conditions are satisfied)
	NextFreeCreditsGrant string `json:"nextFreeCreditsGrant,omitempty"`

	// owner Id
	OwnerID string `json:"ownerId,omitempty"`

	// owner type
	OwnerType *V1OwnerType `json:"ownerType,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// quotas
	Quotas *V1Quotas `json:"quotas,omitempty"`

	// Roles that the current user has in this project
	Roles []*V1Role `json:"roles"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1Membership Membership is the old name for ProjectMembership, kept for backwards compatibility. Plan to use ProjectMembership in all CLI & UI code paths. This will be removed in a future release.

swagger:model v1Membership

func (*V1Membership) ContextValidate ¶

func (m *V1Membership) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 membership based on the context it is used

func (*V1Membership) MarshalBinary ¶

func (m *V1Membership) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Membership) UnmarshalBinary ¶

func (m *V1Membership) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Membership) Validate ¶

func (m *V1Membership) Validate(formats strfmt.Registry) error

Validate validates this v1 membership

type V1MemoryUsage ¶

type V1MemoryUsage struct {

	// used_bytes - idle hugepage reservation
	AppUsedBytes string `json:"appUsedBytes,omitempty"`

	// MemAvailable — what's actually usable
	AvailableBytes string `json:"availableBytes,omitempty"`

	// buffers bytes
	BuffersBytes string `json:"buffersBytes,omitempty"`

	// cached bytes
	CachedBytes string `json:"cachedBytes,omitempty"`

	// --- Effective (non-hugepage) accounting ------------------------------
	// MemTotal counts reserved hugepages as "used", which makes a host that has
	// merely pre-reserved hugepages for VMs look ~88% utilized while idle.
	// These express utilization against memory available to non-hugepage work.
	//
	// total_bytes - hugepages_reserved_bytes
	EffectiveTotalBytes string `json:"effectiveTotalBytes,omitempty"`

	// MemFree — unused (less useful than available)
	FreeBytes string `json:"freeBytes,omitempty"`

	// --- Authoritative hugepage data from sysfs ---------------------------
	// Sourced from /sys/kernel/mm/hugepages/hugepages-<size>kB/ plus the
	// per-NUMA breakdown under /sys/devices/system/node/node.../hugepages/.
	HugepagePools []*V1HugepagePool `json:"hugepagePools"`

	// hugepage ready
	HugepageReady bool `json:"hugepageReady,omitempty"`

	// active pool page size
	HugepageSizeBytes string `json:"hugepageSizeBytes,omitempty"`

	// active pool
	HugepagesFree string `json:"hugepagesFree,omitempty"`

	// sum of all pools' in-use bytes
	HugepagesInUseBytes string `json:"hugepagesInUseBytes,omitempty"`

	// sum of all pools' reserved bytes
	HugepagesReservedBytes string `json:"hugepagesReservedBytes,omitempty"`

	// --- Legacy single-pool hugepage fields (back-compat) -----------------
	// These mirror the dominant pool from hugepage_pools. They originate from
	// /proc/meminfo's HugePages_* / Hugepagesize, which only ever describe the
	// *default-size* pool — so on a host booted with default_hugepagesz=1G that
	// has switched to per-NUMA 2MB pages for VM mode, meminfo reports
	// HugePages_Total: 0 while hundreds of GiB are actually reserved. The agent
	// now populates these from the authoritative sysfs pool instead. Prefer
	// hugepage_pools for new consumers.
	//
	// count, not bytes (active pool)
	HugepagesTotal string `json:"hugepagesTotal,omitempty"`

	// /proc/meminfo Hugetlb, for cross-check
	HugetlbTotalBytes string `json:"hugetlbTotalBytes,omitempty"`

	// swap free bytes
	SwapFreeBytes string `json:"swapFreeBytes,omitempty"`

	// Swap
	SwapTotalBytes string `json:"swapTotalBytes,omitempty"`

	// MemTotal
	TotalBytes string `json:"totalBytes,omitempty"`

	// derived: total - available
	UsedBytes string `json:"usedBytes,omitempty"`
}

V1MemoryUsage v1 memory usage

swagger:model v1MemoryUsage

func (*V1MemoryUsage) ContextValidate ¶

func (m *V1MemoryUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 memory usage based on the context it is used

func (*V1MemoryUsage) MarshalBinary ¶

func (m *V1MemoryUsage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MemoryUsage) UnmarshalBinary ¶

func (m *V1MemoryUsage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MemoryUsage) Validate ¶

func (m *V1MemoryUsage) Validate(formats strfmt.Registry) error

Validate validates this v1 memory usage

type V1MemoryZone ¶

type V1MemoryZone struct {

	// HostNUMANode is the host NUMA node this zone's memory is bound to.
	// -1 if the zone is not NUMA-pinned (e.g. single-package CPU VM where
	// cloud-hypervisor chooses placement).
	HostNumaNode string `json:"hostNumaNode,omitempty"`

	// HugepageSizeBytes is the hugepage size backing this zone (e.g. 1<<30
	// for 1GB, 2<<20 for 2MB). 0 if not hugepage-backed.
	HugepageSizeBytes string `json:"hugepageSizeBytes,omitempty"`

	// Hugepages indicates the zone is backed by hugetlb pages.
	Hugepages bool `json:"hugepages,omitempty"`

	// SizeBytes is the configured (committed) size of the zone in bytes.
	SizeBytes string `json:"sizeBytes,omitempty"`
}

V1MemoryZone v1 memory zone

swagger:model v1MemoryZone

func (*V1MemoryZone) ContextValidate ¶

func (m *V1MemoryZone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 memory zone based on context it is used

func (*V1MemoryZone) MarshalBinary ¶

func (m *V1MemoryZone) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MemoryZone) UnmarshalBinary ¶

func (m *V1MemoryZone) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MemoryZone) Validate ¶

func (m *V1MemoryZone) Validate(formats strfmt.Registry) error

Validate validates this v1 memory zone

type V1Metadata ¶

type V1Metadata struct {

	// annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// If set, this resource is tied to a specific cluster (GCP credentials)
	ClusterID string `json:"clusterId,omitempty"`

	// creation timestamp
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// deletion timestamp
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// used to track delete jobs
	DeploymentID string `json:"deploymentId,omitempty"`

	// Human readable name
	DisplayName string `json:"displayName,omitempty"`

	// List of string which have to be empty before the object is deleted
	// This field is added by the controller preventing object cleanup
	// until it can remove it
	Finalizers []string `json:"finalizers"`

	// Unique ID in the system
	ID string `json:"id,omitempty"`

	// (Could) provide filtering options for list/watch requests,
	// not implemented.
	Labels map[string]string `json:"labels,omitempty"`

	// last time a user committed a change
	// Format: date-time
	LastUpdatedByUserAt strfmt.DateTime `json:"lastUpdatedByUserAt,omitempty"`

	// Used to track cross teamspace resources
	LinkedProjectID string `json:"linkedProjectId,omitempty"`

	// Used to track cross teamspace resources
	LinkedUserID string `json:"linkedUserId,omitempty"`

	// Human readable name
	Name string `json:"name,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// If true, this prevents users from deleting this cluster
	Protected bool `json:"protected,omitempty"`

	// resource version
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// Last time the record was updated for any reason
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

V1Metadata v1 metadata

swagger:model v1Metadata

func (*V1Metadata) ContextValidate ¶

func (m *V1Metadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 metadata based on context it is used

func (*V1Metadata) MarshalBinary ¶

func (m *V1Metadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Metadata) UnmarshalBinary ¶

func (m *V1Metadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Metadata) Validate ¶

func (m *V1Metadata) Validate(formats strfmt.Registry) error

Validate validates this v1 metadata

type V1MintSandboxLogsTokenResponse ¶

type V1MintSandboxLogsTokenResponse struct {

	// OAuth2 access token with object read/write on the sandbox-logs bucket.
	// Empty when sandbox-log ingestion is not configured on the control plane —
	// the agent then skips ingestion.
	AccessToken string `json:"accessToken,omitempty"`

	// GCS bucket the agent should write sandbox logs to.
	BucketName string `json:"bucketName,omitempty"`

	// When the token expires. The agent refreshes shortly before this.
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expiresAt,omitempty"`
}

V1MintSandboxLogsTokenResponse v1 mint sandbox logs token response

swagger:model v1MintSandboxLogsTokenResponse

func (*V1MintSandboxLogsTokenResponse) ContextValidate ¶

func (m *V1MintSandboxLogsTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 mint sandbox logs token response based on context it is used

func (*V1MintSandboxLogsTokenResponse) MarshalBinary ¶

func (m *V1MintSandboxLogsTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MintSandboxLogsTokenResponse) UnmarshalBinary ¶

func (m *V1MintSandboxLogsTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MintSandboxLogsTokenResponse) Validate ¶

func (m *V1MintSandboxLogsTokenResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 mint sandbox logs token response

type V1MithrilDirectV1 ¶

type V1MithrilDirectV1 struct {

	// Primary region stores user's code and data
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// Mithril project ID
	ProjectID string `json:"projectId,omitempty"`

	// We deploy the bare bones infrastructure into every region
	Regions []string `json:"regions"`

	// Whether to show the cluster as Lightning in the UI
	ShowAsLightning bool `json:"showAsLightning,omitempty"`
}

V1MithrilDirectV1 v1 mithril direct v1

swagger:model v1MithrilDirectV1

func (*V1MithrilDirectV1) ContextValidate ¶

func (m *V1MithrilDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 mithril direct v1 based on context it is used

func (*V1MithrilDirectV1) MarshalBinary ¶

func (m *V1MithrilDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MithrilDirectV1) UnmarshalBinary ¶

func (m *V1MithrilDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MithrilDirectV1) Validate ¶

func (m *V1MithrilDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 mithril direct v1

type V1ModelAPIMemberDailyLimit ¶

type V1ModelAPIMemberDailyLimit struct {

	// daily limit credits
	DailyLimitCredits float64 `json:"dailyLimitCredits,omitempty"`

	// unlimited
	Unlimited bool `json:"unlimited,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1ModelAPIMemberDailyLimit ModelAPIMemberDailyLimit is a single member's per-user Model-API daily spend override. unlimited=true means the member is explicitly uncapped; otherwise daily_limit_credits carries the member's cap in credits.

swagger:model v1ModelAPIMemberDailyLimit

func (*V1ModelAPIMemberDailyLimit) ContextValidate ¶

func (m *V1ModelAPIMemberDailyLimit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 model API member daily limit based on context it is used

func (*V1ModelAPIMemberDailyLimit) MarshalBinary ¶

func (m *V1ModelAPIMemberDailyLimit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ModelAPIMemberDailyLimit) UnmarshalBinary ¶

func (m *V1ModelAPIMemberDailyLimit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ModelAPIMemberDailyLimit) Validate ¶

func (m *V1ModelAPIMemberDailyLimit) Validate(formats strfmt.Registry) error

Validate validates this v1 model API member daily limit

type V1MountTarget ¶

type V1MountTarget struct {

	// Availability zone, e.g. us-east-1d
	AvailabilityZone string `json:"availabilityZone,omitempty"`

	// ID of the mount target
	ID string `json:"id,omitempty"`

	// IP address that can be used for FS mounting
	IPAddress string `json:"ipAddress,omitempty"`

	// Subnet ID of the mount target
	SubnetID string `json:"subnetId,omitempty"`
}

V1MountTarget v1 mount target

swagger:model v1MountTarget

func (*V1MountTarget) ContextValidate ¶

func (m *V1MountTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 mount target based on context it is used

func (*V1MountTarget) MarshalBinary ¶

func (m *V1MountTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MountTarget) UnmarshalBinary ¶

func (m *V1MountTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MountTarget) Validate ¶

func (m *V1MountTarget) Validate(formats strfmt.Registry) error

Validate validates this v1 mount target

type V1MountableDataConnection ¶

type V1MountableDataConnection struct {

	// Whether the mount should be created on the baremetal host instead of the VM
	Baremetal bool `json:"baremetal,omitempty"`

	// Mount options, e.g., "rw,sync,noatime" for NFS
	MountOpts string `json:"mountOpts,omitempty"`

	// NFS version (used if mounted via nfs), default is 4.2
	NfsVersion string `json:"nfsVersion,omitempty"`

	// Optional auth for SMB/S3
	Password string `json:"password,omitempty"`

	// Server port (default depends on protocol)
	Port int64 `json:"port,omitempty"`

	// Optional parameters
	//
	// "nfs", "smb", "s3", etc.
	Protocol string `json:"protocol,omitempty"`

	// Mount as read-only if true
	ReadOnly bool `json:"readOnly,omitempty"`

	// Region this mount lives in; when set, it only mounts on same-region servers. Stamped at creation.
	Region string `json:"region,omitempty"`

	// Remote export/path (NFS export, SMB share, etc.)
	RemotePath string `json:"remotePath,omitempty"`

	// IP or hostname of the storage server
	ServerIP string `json:"serverIp,omitempty"`

	// Source instance of the data connection
	Source string `json:"source,omitempty"`

	// Provider storage volume id, for teardown of Lightning-managed volumes
	StorageID string `json:"storageId,omitempty"`

	// Type of the storage backend
	Type *V1StorageType `json:"type,omitempty"`

	// Optional auth for SMB/S3
	Username string `json:"username,omitempty"`
}

V1MountableDataConnection v1 mountable data connection

swagger:model v1MountableDataConnection

func (*V1MountableDataConnection) ContextValidate ¶

func (m *V1MountableDataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 mountable data connection based on the context it is used

func (*V1MountableDataConnection) MarshalBinary ¶

func (m *V1MountableDataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MountableDataConnection) UnmarshalBinary ¶

func (m *V1MountableDataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MountableDataConnection) Validate ¶

func (m *V1MountableDataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 mountable data connection

type V1MultiMachineJob ¶

type V1MultiMachineJob struct {

	// The id of the Studio if the MultiMachineJob was created from the Studio Plugin
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// Read only
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Current run attempt for this multi-machine job (1-based). First row is 1.
	CurrentRunAttempt int64 `json:"currentRunAttempt,omitempty"`

	// desired state
	DesiredState *V1MultiMachineJobState `json:"desiredState,omitempty"`

	// fault tolerance
	FaultTolerance *V1MultiMachineJobFaultTolerance `json:"faultTolerance,omitempty"`

	// Read only
	ID string `json:"id,omitempty"`

	// Number of machines to use
	Machines int64 `json:"machines,omitempty"`

	// Max number of run attempts for this multi-machine job. 0 means unset (legacy, no retries); 1 means a single attempt (no retries).
	MaxRunAttempts int64 `json:"maxRunAttempts,omitempty"`

	// Human readable message
	Message string `json:"message,omitempty"`

	// Required
	Name string `json:"name,omitempty"`

	// Root multi-machine job id. Children copy the root, not the immediate parent.
	ParentMultiMachineJobID string `json:"parentMultiMachineJobId,omitempty"`

	// The id of the pipeline that this mmt belongs to
	PipelineID string `json:"pipelineId,omitempty"`

	// Required
	ProjectID string `json:"projectId,omitempty"`

	// Whether one of the node requires maintenance
	RequiresMaintenance bool `json:"requiresMaintenance,omitempty"`

	// Compute + run configuration
	Spec *V1JobSpec `json:"spec,omitempty"`

	// Primarily used when the machine goes into quiesce state (stopped, completed, failed)
	State *V1MultiMachineJobState `json:"state,omitempty"`

	// status
	Status *V1MultiMachineJobStatus `json:"status,omitempty"`

	// Total cost of the MultiMachineJob
	TotalCost float32 `json:"totalCost,omitempty"`

	// Read only
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Read only
	UserID string `json:"userId,omitempty"`
}

V1MultiMachineJob v1 multi machine job

swagger:model v1MultiMachineJob

func (*V1MultiMachineJob) ContextValidate ¶

func (m *V1MultiMachineJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 multi machine job based on the context it is used

func (*V1MultiMachineJob) MarshalBinary ¶

func (m *V1MultiMachineJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MultiMachineJob) UnmarshalBinary ¶

func (m *V1MultiMachineJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MultiMachineJob) Validate ¶

func (m *V1MultiMachineJob) Validate(formats strfmt.Registry) error

Validate validates this v1 multi machine job

type V1MultiMachineJobEvent ¶

type V1MultiMachineJobEvent struct {

	// Action taken (create/delete/update)
	Action string `json:"action,omitempty"`

	// Read only
	ID string `json:"id,omitempty"`

	// Job ID
	JobID string `json:"jobId,omitempty"`

	// Message is a human-readable description of the status of this operation
	Message string `json:"message,omitempty"`

	// Read only
	MultiMachineJobID string `json:"multiMachineJobId,omitempty"`

	// Read only
	ProjectID string `json:"projectId,omitempty"`

	// Reason is why the action was taken. It is human-readable.
	Reason string `json:"reason,omitempty"`

	// Is the time when this Event was first observed
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`

	// Type is the type of this event (Info, Warning)
	Type *V1MultiMachineJobEventType `json:"type,omitempty"`
}

V1MultiMachineJobEvent MultiMachineJobEvent is used to track and display multi machine job events such as scaling events, recovery (replica restarts, recreate), etc.

swagger:model v1MultiMachineJobEvent

func (*V1MultiMachineJobEvent) ContextValidate ¶

func (m *V1MultiMachineJobEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 multi machine job event based on the context it is used

func (*V1MultiMachineJobEvent) MarshalBinary ¶

func (m *V1MultiMachineJobEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MultiMachineJobEvent) UnmarshalBinary ¶

func (m *V1MultiMachineJobEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MultiMachineJobEvent) Validate ¶

func (m *V1MultiMachineJobEvent) Validate(formats strfmt.Registry) error

Validate validates this v1 multi machine job event

type V1MultiMachineJobEventType ¶

type V1MultiMachineJobEventType string

V1MultiMachineJobEventType v1 multi machine job event type

swagger:model v1MultiMachineJobEventType

const (

	// V1MultiMachineJobEventTypeMULTIMACHINEJOBEVENTTYPEUNSPECIFIED captures enum value "MULTI_MACHINE_JOB_EVENT_TYPE_UNSPECIFIED"
	V1MultiMachineJobEventTypeMULTIMACHINEJOBEVENTTYPEUNSPECIFIED V1MultiMachineJobEventType = "MULTI_MACHINE_JOB_EVENT_TYPE_UNSPECIFIED"

	// V1MultiMachineJobEventTypeMULTIMACHINEJOBEVENTTYPEINFO captures enum value "MULTI_MACHINE_JOB_EVENT_TYPE_INFO"
	V1MultiMachineJobEventTypeMULTIMACHINEJOBEVENTTYPEINFO V1MultiMachineJobEventType = "MULTI_MACHINE_JOB_EVENT_TYPE_INFO"

	// V1MultiMachineJobEventTypeMULTIMACHINEJOBEVENTTYPEWARNING captures enum value "MULTI_MACHINE_JOB_EVENT_TYPE_WARNING"
	V1MultiMachineJobEventTypeMULTIMACHINEJOBEVENTTYPEWARNING V1MultiMachineJobEventType = "MULTI_MACHINE_JOB_EVENT_TYPE_WARNING"
)

func (V1MultiMachineJobEventType) ContextValidate ¶

func (m V1MultiMachineJobEventType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 multi machine job event type based on context it is used

func (V1MultiMachineJobEventType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1MultiMachineJobEventType.

func (V1MultiMachineJobEventType) Validate ¶

func (m V1MultiMachineJobEventType) Validate(formats strfmt.Registry) error

Validate validates this v1 multi machine job event type

type V1MultiMachineJobFaultTolerance ¶

type V1MultiMachineJobFaultTolerance struct {

	// strategy
	Strategy *V1MultiMachineJobFaultToleranceStrategy `json:"strategy,omitempty"`
}

V1MultiMachineJobFaultTolerance v1 multi machine job fault tolerance

swagger:model v1MultiMachineJobFaultTolerance

func (*V1MultiMachineJobFaultTolerance) ContextValidate ¶

func (m *V1MultiMachineJobFaultTolerance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 multi machine job fault tolerance based on the context it is used

func (*V1MultiMachineJobFaultTolerance) MarshalBinary ¶

func (m *V1MultiMachineJobFaultTolerance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MultiMachineJobFaultTolerance) UnmarshalBinary ¶

func (m *V1MultiMachineJobFaultTolerance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MultiMachineJobFaultTolerance) Validate ¶

Validate validates this v1 multi machine job fault tolerance

type V1MultiMachineJobFaultToleranceStrategy ¶

type V1MultiMachineJobFaultToleranceStrategy string

V1MultiMachineJobFaultToleranceStrategy - MULTI_MACHINE_JOB_FAULT_TOLERANCE_STRATEGY_RECREATE_NODE: Failing node will be recreated, user's code needs to be resilient to this

  • MULTI_MACHINE_JOB_FAULT_TOLERANCE_STRATEGY_RECREATE_NODE_AND_RESTART_ALL_PROCESSES: Failing node will be recreated, all processes will be restarted
  • MULTI_MACHINE_JOB_FAULT_TOLERANCE_STRATEGY_RECREATE_ALL_NODES: Full cluster restart

swagger:model v1MultiMachineJobFaultToleranceStrategy

const (

	// V1MultiMachineJobFaultToleranceStrategyMULTIMACHINEJOBFAULTTOLERANCESTRATEGYUNSPECIFIED captures enum value "MULTI_MACHINE_JOB_FAULT_TOLERANCE_STRATEGY_UNSPECIFIED"
	V1MultiMachineJobFaultToleranceStrategyMULTIMACHINEJOBFAULTTOLERANCESTRATEGYUNSPECIFIED V1MultiMachineJobFaultToleranceStrategy = "MULTI_MACHINE_JOB_FAULT_TOLERANCE_STRATEGY_UNSPECIFIED"

	// V1MultiMachineJobFaultToleranceStrategyMULTIMACHINEJOBFAULTTOLERANCESTRATEGYRECREATENODE captures enum value "MULTI_MACHINE_JOB_FAULT_TOLERANCE_STRATEGY_RECREATE_NODE"
	V1MultiMachineJobFaultToleranceStrategyMULTIMACHINEJOBFAULTTOLERANCESTRATEGYRECREATENODE V1MultiMachineJobFaultToleranceStrategy = "MULTI_MACHINE_JOB_FAULT_TOLERANCE_STRATEGY_RECREATE_NODE"

	// V1MultiMachineJobFaultToleranceStrategyMULTIMACHINEJOBFAULTTOLERANCESTRATEGYRECREATENODEANDRESTARTALLPROCESSES captures enum value "MULTI_MACHINE_JOB_FAULT_TOLERANCE_STRATEGY_RECREATE_NODE_AND_RESTART_ALL_PROCESSES"
	V1MultiMachineJobFaultToleranceStrategyMULTIMACHINEJOBFAULTTOLERANCESTRATEGYRECREATENODEANDRESTARTALLPROCESSES V1MultiMachineJobFaultToleranceStrategy = "MULTI_MACHINE_JOB_FAULT_TOLERANCE_STRATEGY_RECREATE_NODE_AND_RESTART_ALL_PROCESSES"

	// V1MultiMachineJobFaultToleranceStrategyMULTIMACHINEJOBFAULTTOLERANCESTRATEGYRECREATEALLNODES captures enum value "MULTI_MACHINE_JOB_FAULT_TOLERANCE_STRATEGY_RECREATE_ALL_NODES"
	V1MultiMachineJobFaultToleranceStrategyMULTIMACHINEJOBFAULTTOLERANCESTRATEGYRECREATEALLNODES V1MultiMachineJobFaultToleranceStrategy = "MULTI_MACHINE_JOB_FAULT_TOLERANCE_STRATEGY_RECREATE_ALL_NODES"
)

func (V1MultiMachineJobFaultToleranceStrategy) ContextValidate ¶

ContextValidate validates this v1 multi machine job fault tolerance strategy based on context it is used

func (V1MultiMachineJobFaultToleranceStrategy) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1MultiMachineJobFaultToleranceStrategy.

func (V1MultiMachineJobFaultToleranceStrategy) Validate ¶

Validate validates this v1 multi machine job fault tolerance strategy

type V1MultiMachineJobState ¶

type V1MultiMachineJobState string

V1MultiMachineJobState v1 multi machine job state

swagger:model v1MultiMachineJobState

const (

	// V1MultiMachineJobStateMultiMachineJobSTATEUNSPECIFIED captures enum value "MultiMachineJob_STATE_UNSPECIFIED"
	V1MultiMachineJobStateMultiMachineJobSTATEUNSPECIFIED V1MultiMachineJobState = "MultiMachineJob_STATE_UNSPECIFIED"

	// V1MultiMachineJobStateMultiMachineJobSTATEPENDING captures enum value "MultiMachineJob_STATE_PENDING"
	V1MultiMachineJobStateMultiMachineJobSTATEPENDING V1MultiMachineJobState = "MultiMachineJob_STATE_PENDING"

	// V1MultiMachineJobStateMultiMachineJobSTATERUNNING captures enum value "MultiMachineJob_STATE_RUNNING"
	V1MultiMachineJobStateMultiMachineJobSTATERUNNING V1MultiMachineJobState = "MultiMachineJob_STATE_RUNNING"

	// V1MultiMachineJobStateMultiMachineJobSTATESTOPPED captures enum value "MultiMachineJob_STATE_STOPPED"
	V1MultiMachineJobStateMultiMachineJobSTATESTOPPED V1MultiMachineJobState = "MultiMachineJob_STATE_STOPPED"

	// V1MultiMachineJobStateMultiMachineJobSTATEDELETED captures enum value "MultiMachineJob_STATE_DELETED"
	V1MultiMachineJobStateMultiMachineJobSTATEDELETED V1MultiMachineJobState = "MultiMachineJob_STATE_DELETED"

	// V1MultiMachineJobStateMultiMachineJobSTATEFAILED captures enum value "MultiMachineJob_STATE_FAILED"
	V1MultiMachineJobStateMultiMachineJobSTATEFAILED V1MultiMachineJobState = "MultiMachineJob_STATE_FAILED"

	// V1MultiMachineJobStateMultiMachineJobSTATECOMPLETED captures enum value "MultiMachineJob_STATE_COMPLETED"
	V1MultiMachineJobStateMultiMachineJobSTATECOMPLETED V1MultiMachineJobState = "MultiMachineJob_STATE_COMPLETED"

	// V1MultiMachineJobStateMultiMachineJobSTATESTOP captures enum value "MultiMachineJob_STATE_STOP"
	V1MultiMachineJobStateMultiMachineJobSTATESTOP V1MultiMachineJobState = "MultiMachineJob_STATE_STOP"

	// V1MultiMachineJobStateMultiMachineJobSTATEDELETE captures enum value "MultiMachineJob_STATE_DELETE"
	V1MultiMachineJobStateMultiMachineJobSTATEDELETE V1MultiMachineJobState = "MultiMachineJob_STATE_DELETE"
)

func NewV1MultiMachineJobState ¶

func NewV1MultiMachineJobState(value V1MultiMachineJobState) *V1MultiMachineJobState

func (V1MultiMachineJobState) ContextValidate ¶

func (m V1MultiMachineJobState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 multi machine job state based on context it is used

func (V1MultiMachineJobState) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1MultiMachineJobState.

func (V1MultiMachineJobState) Validate ¶

func (m V1MultiMachineJobState) Validate(formats strfmt.Registry) error

Validate validates this v1 multi machine job state

type V1MultiMachineJobStatus ¶

type V1MultiMachineJobStatus struct {

	// deleting machines
	DeletingMachines string `json:"deletingMachines,omitempty"`

	// failing machines
	FailingMachines string `json:"failingMachines,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// pending machines
	PendingMachines string `json:"pendingMachines,omitempty"`

	// ready machines
	ReadyMachines string `json:"readyMachines,omitempty"`

	// requires maintenance
	RequiresMaintenance bool `json:"requiresMaintenance,omitempty"`

	// requires maintenance started at
	// Format: date-time
	RequiresMaintenanceStartedAt strfmt.DateTime `json:"requiresMaintenanceStartedAt,omitempty"`

	// started at
	// Format: date-time
	StartedAt strfmt.DateTime `json:"startedAt,omitempty"`

	// stopped at
	// Format: date-time
	StoppedAt strfmt.DateTime `json:"stoppedAt,omitempty"`
}

V1MultiMachineJobStatus v1 multi machine job status

swagger:model v1MultiMachineJobStatus

func (*V1MultiMachineJobStatus) ContextValidate ¶

func (m *V1MultiMachineJobStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 multi machine job status based on context it is used

func (*V1MultiMachineJobStatus) MarshalBinary ¶

func (m *V1MultiMachineJobStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1MultiMachineJobStatus) UnmarshalBinary ¶

func (m *V1MultiMachineJobStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1MultiMachineJobStatus) Validate ¶

func (m *V1MultiMachineJobStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 multi machine job status

type V1NICFirmware ¶

type V1NICFirmware struct {

	// host PCI address, e.g. "0000:1a:00.0"
	Bdf string `json:"bdf,omitempty"`

	// board Id
	BoardID string `json:"boardId,omitempty"`

	// e.g. "mlx5_0"
	Device string `json:"device,omitempty"`

	// fw version
	FwVersion string `json:"fwVersion,omitempty"`

	// "InfiniBand" | "Ethernet"
	LinkLayer string `json:"linkLayer,omitempty"`
}

V1NICFirmware NICFirmware reports one InfiniBand/RoCE HCA's firmware, keyed by host PCI BDF (the join key used across the API). Only mlx5_ib-bound NICs appear; compute rails that are vfio-bound for guest passthrough are intentionally absent.

swagger:model v1NICFirmware

func (*V1NICFirmware) ContextValidate ¶

func (m *V1NICFirmware) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 n i c firmware based on context it is used

func (*V1NICFirmware) MarshalBinary ¶

func (m *V1NICFirmware) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NICFirmware) UnmarshalBinary ¶

func (m *V1NICFirmware) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NICFirmware) Validate ¶

func (m *V1NICFirmware) Validate(formats strfmt.Registry) error

Validate validates this v1 n i c firmware

type V1NICFitness ¶

type V1NICFitness struct {

	// ats ctl
	AtsCtl string `json:"atsCtl,omitempty"`

	// ats enabled
	AtsEnabled bool `json:"atsEnabled,omitempty"`

	// bdf
	Bdf string `json:"bdf,omitempty"`

	// collected | skipped-nonroot | skipped-tool-missing | error
	CollectionState string `json:"collectionState,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// role
	Role string `json:"role,omitempty"`
}

V1NICFitness NICFitness is one Mellanox NIC's ATS posture, enumerated from lspci (so vfio-bound rail NICs absent from /sys/class/infiniband still appear). role is inferred from the bus prefix: "rail" (CX-7 compute fabric) vs "mgmt" (CX-6 Dx management/storage) vs "unknown". ats_ctl is the raw ATSCtl text; ats_enabled is its Enable+/Enable- bit. ATS enabled on a mgmt NIC has bricked nodes, and ATS off on a rail NIC means the MMT tuning was not applied; both are visible here as raw facts without the backend grading them.

swagger:model v1NICFitness

func (*V1NICFitness) ContextValidate ¶

func (m *V1NICFitness) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 n i c fitness based on context it is used

func (*V1NICFitness) MarshalBinary ¶

func (m *V1NICFitness) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NICFitness) UnmarshalBinary ¶

func (m *V1NICFitness) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NICFitness) Validate ¶

func (m *V1NICFitness) Validate(formats strfmt.Registry) error

Validate validates this v1 n i c fitness

type V1NUMAHugepages ¶

type V1NUMAHugepages struct {

	// free_hugepages on this node
	Free string `json:"free,omitempty"`

	// e.g. "node0"
	Node string `json:"node,omitempty"`

	// nr_hugepages on this node
	Total string `json:"total,omitempty"`
}

V1NUMAHugepages NUMAHugepages reports a single hugepage pool's allocation on one NUMA node. The VM-mode allocator writes hugepages per node (e.g. node4/hugepages/hugepages-2048kB/nr_hugepages), so surfacing per-node totals lets the UI flag NUMA imbalance — a failure mode where one socket can't satisfy its share due to fragmentation and VMs pinned to that node fail to launch.

swagger:model v1NUMAHugepages

func (*V1NUMAHugepages) ContextValidate ¶

func (m *V1NUMAHugepages) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 n u m a hugepages based on context it is used

func (*V1NUMAHugepages) MarshalBinary ¶

func (m *V1NUMAHugepages) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NUMAHugepages) UnmarshalBinary ¶

func (m *V1NUMAHugepages) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NUMAHugepages) Validate ¶

func (m *V1NUMAHugepages) Validate(formats strfmt.Registry) error

Validate validates this v1 n u m a hugepages

type V1NVLinkFMPartition ¶

type V1NVLinkFMPartition struct {

	// active
	Active bool `json:"active,omitempty"`

	// gpu bdfs
	GpuBdfs []string `json:"gpuBdfs"`

	// FM partition id. Firmware-version dependent — debug/ops only.
	PartitionID int64 `json:"partitionId,omitempty"`
}

V1NVLinkFMPartition v1 n v link f m partition

swagger:model v1NVLinkFMPartition

func (*V1NVLinkFMPartition) ContextValidate ¶

func (m *V1NVLinkFMPartition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 n v link f m partition based on context it is used

func (*V1NVLinkFMPartition) MarshalBinary ¶

func (m *V1NVLinkFMPartition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NVLinkFMPartition) UnmarshalBinary ¶

func (m *V1NVLinkFMPartition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NVLinkFMPartition) Validate ¶

func (m *V1NVLinkFMPartition) Validate(formats strfmt.Registry) error

Validate validates this v1 n v link f m partition

type V1NVLinkFMTopology ¶

type V1NVLinkFMTopology struct {

	// Unix seconds when the agent collected this table (ops/debug only).
	CollectedAtUnix string `json:"collectedAtUnix,omitempty"`

	// partitions
	Partitions []*V1NVLinkFMPartition `json:"partitions"`

	// Host class marker. Set true even when partitions is empty so the scheduler
	// can fail-closed on an unusable MMT table instead of skipping.
	SharedNvswitch bool `json:"sharedNvswitch,omitempty"`
}

V1NVLinkFMTopology NVLinkFMTopology is the host's Shared-NVSwitch Fabric Manager partition table as reported by mmt-fmpart. Scheduling uses gpu_bdfs sets only; partition_id is FM-version-dependent and must not be used as a placement key.

swagger:model v1NVLinkFMTopology

func (*V1NVLinkFMTopology) ContextValidate ¶

func (m *V1NVLinkFMTopology) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 n v link f m topology based on the context it is used

func (*V1NVLinkFMTopology) MarshalBinary ¶

func (m *V1NVLinkFMTopology) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NVLinkFMTopology) UnmarshalBinary ¶

func (m *V1NVLinkFMTopology) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NVLinkFMTopology) Validate ¶

func (m *V1NVLinkFMTopology) Validate(formats strfmt.Registry) error

Validate validates this v1 n v link f m topology

type V1NVLinkInfo ¶

type V1NVLinkInfo struct {

	// crc errors
	CrcErrors string `json:"crcErrors,omitempty"`

	// link num
	LinkNum int32 `json:"linkNum,omitempty"`

	// recovery errors
	RecoveryErrors string `json:"recoveryErrors,omitempty"`

	// replay errors
	ReplayErrors string `json:"replayErrors,omitempty"`

	// speed gbps
	SpeedGbps float64 `json:"speedGbps,omitempty"`

	// "Active", "Inactive"
	State string `json:"state,omitempty"`
}

V1NVLinkInfo v1 n v link info

swagger:model v1NVLinkInfo

func (*V1NVLinkInfo) ContextValidate ¶

func (m *V1NVLinkInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 n v link info based on context it is used

func (*V1NVLinkInfo) MarshalBinary ¶

func (m *V1NVLinkInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NVLinkInfo) UnmarshalBinary ¶

func (m *V1NVLinkInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NVLinkInfo) Validate ¶

func (m *V1NVLinkInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 n v link info

type V1NVLinkStatus ¶

type V1NVLinkStatus struct {

	// gpu index
	GpuIndex int32 `json:"gpuIndex,omitempty"`

	// gpu Uuid
	GpuUUID string `json:"gpuUuid,omitempty"`

	// Host-side PCI BDF of the physical GPU these NVLinks belong to.
	// See GPUStatus.host_pci_addr.
	HostPciAddr string `json:"hostPciAddr,omitempty"`

	// links
	Links []*V1NVLinkInfo `json:"links"`

	// links active
	LinksActive int32 `json:"linksActive,omitempty"`

	// links inactive
	LinksInactive int32 `json:"linksInactive,omitempty"`

	// links total
	LinksTotal int32 `json:"linksTotal,omitempty"`

	// total crc errors
	TotalCrcErrors string `json:"totalCrcErrors,omitempty"`

	// total recovery errors
	TotalRecoveryErrors string `json:"totalRecoveryErrors,omitempty"`

	// total replay errors
	TotalReplayErrors string `json:"totalReplayErrors,omitempty"`
}

V1NVLinkStatus NVLinkStatus captures the NVLink state for a single GPU as observed from inside the VM. Only populated for VMs with 2+ GPUs (single-GPU VMs have no NVLink peers).

swagger:model v1NVLinkStatus

func (*V1NVLinkStatus) ContextValidate ¶

func (m *V1NVLinkStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 n v link status based on the context it is used

func (*V1NVLinkStatus) MarshalBinary ¶

func (m *V1NVLinkStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NVLinkStatus) UnmarshalBinary ¶

func (m *V1NVLinkStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NVLinkStatus) Validate ¶

func (m *V1NVLinkStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 n v link status

type V1NVSwitchFatal ¶

type V1NVSwitchFatal struct {

	// affected partition ids
	AffectedPartitionIds []int64 `json:"affectedPartitionIds"`

	// Running GPU VMs whose assigned BDFs intersect the fatal GPUs (or all GPU
	// VMs when mapping is incomplete — the shared fabric cannot be isolated).
	AffectedVms []*V1NVSwitchFatalAffectedVM `json:"affectedVms"`

	// Fatal boots since the last clean boot (this boot included).
	ConsecutiveFatalBoots int32 `json:"consecutiveFatalBoots,omitempty"`

	// Host GPU BDFs for FM-named GPU indexes (via gpu-module-bdf.map).
	GpuBdfs []string `json:"gpuBdfs"`

	// True when FM named GPU indexes but the module map could not translate them.
	GpuMappingIncomplete bool `json:"gpuMappingIncomplete,omitempty"`

	// gpus
	Gpus []string `json:"gpus"`

	// Auto-cycle cap reached; do not racadm again.
	PowercycleStopped bool `json:"powercycleStopped,omitempty"`

	// This boot already issued racadm powercycle for this fault.
	Powercycled bool `json:"powercycled,omitempty"`

	// How many of those boots we auto-powercycled.
	PowercycledBoots int32 `json:"powercycledBoots,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// NVSwitch PCI BDFs that logged SXid 20034 on this boot.
	SwitchBdfs []string `json:"switchBdfs"`
}

V1NVSwitchFatal NVSwitchFatal is a current-boot host NVSwitch SXid 20034. The agent refuses GPU VM creates until a clean boot; after enough consecutive fatal boots it stops auto-powercycling and the node needs operator/RMA.

swagger:model v1NVSwitchFatal

func (*V1NVSwitchFatal) ContextValidate ¶

func (m *V1NVSwitchFatal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 n v switch fatal based on the context it is used

func (*V1NVSwitchFatal) MarshalBinary ¶

func (m *V1NVSwitchFatal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NVSwitchFatal) UnmarshalBinary ¶

func (m *V1NVSwitchFatal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NVSwitchFatal) Validate ¶

func (m *V1NVSwitchFatal) Validate(formats strfmt.Registry) error

Validate validates this v1 n v switch fatal

type V1NVSwitchFatalAffectedVM ¶

type V1NVSwitchFatalAffectedVM struct {

	// gpu bdfs
	GpuBdfs []string `json:"gpuBdfs"`

	// partition Id
	PartitionID int32 `json:"partitionId,omitempty"`

	// vm Id
	VMID string `json:"vmId,omitempty"`
}

V1NVSwitchFatalAffectedVM v1 n v switch fatal affected VM

swagger:model v1NVSwitchFatalAffectedVM

func (*V1NVSwitchFatalAffectedVM) ContextValidate ¶

func (m *V1NVSwitchFatalAffectedVM) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 n v switch fatal affected VM based on context it is used

func (*V1NVSwitchFatalAffectedVM) MarshalBinary ¶

func (m *V1NVSwitchFatalAffectedVM) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NVSwitchFatalAffectedVM) UnmarshalBinary ¶

func (m *V1NVSwitchFatalAffectedVM) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NVSwitchFatalAffectedVM) Validate ¶

func (m *V1NVSwitchFatalAffectedVM) Validate(formats strfmt.Registry) error

Validate validates this v1 n v switch fatal affected VM

type V1NebiusDirectV1 ¶

type V1NebiusDirectV1 struct {

	// Primary region stores user's code and data
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// We deploy the bare bones infrastructure into every region
	Regions []string `json:"regions"`

	// Subnets CIDR ranges to allow inter-node communication in network security rules (done via iptables, Nebius does not support firewalls)
	SubnetCidrRanges []string `json:"subnetCidrRanges"`

	// Tenant credentials for the Nebius cluster => This is used for allowing access to BYOC tenants
	TenantCredentials []*V1TenantCredentials `json:"tenantCredentials"`
}

V1NebiusDirectV1 v1 nebius direct v1

swagger:model v1NebiusDirectV1

func (*V1NebiusDirectV1) ContextValidate ¶

func (m *V1NebiusDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 nebius direct v1 based on the context it is used

func (*V1NebiusDirectV1) MarshalBinary ¶

func (m *V1NebiusDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NebiusDirectV1) UnmarshalBinary ¶

func (m *V1NebiusDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NebiusDirectV1) Validate ¶

func (m *V1NebiusDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 nebius direct v1

type V1NetworkConfig ¶

type V1NetworkConfig struct {

	// Whether to add the network to Ingress
	Enable bool `json:"enable,omitempty"`

	// For example 'name-workId.cluster-2.lightning.ai' (defaults by controlplane)
	Host string `json:"host,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// port
	Port int32 `json:"port,omitempty"`
}

V1NetworkConfig v1 network config

swagger:model v1NetworkConfig

func (*V1NetworkConfig) ContextValidate ¶

func (m *V1NetworkConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 network config based on context it is used

func (*V1NetworkConfig) MarshalBinary ¶

func (m *V1NetworkConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NetworkConfig) UnmarshalBinary ¶

func (m *V1NetworkConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NetworkConfig) Validate ¶

func (m *V1NetworkConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 network config

type V1NetworkInterface ¶

type V1NetworkInterface struct {

	// Gateway IP address of the subnet
	GatewayIPAddress string `json:"gatewayIpAddress,omitempty"`

	// ID of the network interface
	NetworkInterfaceID string `json:"networkInterfaceId,omitempty"`

	// Private IP address of the network interface
	PrivateIPAddress string `json:"privateIpAddress,omitempty"`

	// Public IP address of the network interface
	PublicIPAddress string `json:"publicIpAddress,omitempty"`

	// CIDR block of the subnet
	SubnetCidrBlock string `json:"subnetCidrBlock,omitempty"`
}

V1NetworkInterface v1 network interface

swagger:model v1NetworkInterface

func (*V1NetworkInterface) ContextValidate ¶

func (m *V1NetworkInterface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 network interface based on context it is used

func (*V1NetworkInterface) MarshalBinary ¶

func (m *V1NetworkInterface) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NetworkInterface) UnmarshalBinary ¶

func (m *V1NetworkInterface) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NetworkInterface) Validate ¶

func (m *V1NetworkInterface) Validate(formats strfmt.Registry) error

Validate validates this v1 network interface

type V1NewFeature ¶

type V1NewFeature struct {

	// time to stop showing the banner
	// Format: date-time
	BannerEndTime strfmt.DateTime `json:"bannerEndTime,omitempty"`

	// text to show in the banner
	BannerText string `json:"bannerText,omitempty"`

	// url to copy for the banner
	BannerURLCopy string `json:"bannerUrlCopy,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// text to show in the Dialog CTA button
	CtaText string `json:"ctaText,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// feature name
	FeatureName string `json:"featureName,omitempty"`

	// list of highlights for the feature
	Highlights []string `json:"highlights"`

	// id
	ID string `json:"id,omitempty"`

	// image Url
	ImageURL string `json:"imageUrl,omitempty"`

	// url to learn more about the feature
	LearnMoreURL string `json:"learnMoreUrl,omitempty"`

	// placeholder meanwhile  video is loading
	PosterURL string `json:"posterUrl,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// video Url
	VideoURL string `json:"videoUrl,omitempty"`

	// viewed
	Viewed bool `json:"viewed,omitempty"`
}

V1NewFeature v1 new feature

swagger:model v1NewFeature

func (*V1NewFeature) ContextValidate ¶

func (m *V1NewFeature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 new feature based on context it is used

func (*V1NewFeature) MarshalBinary ¶

func (m *V1NewFeature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NewFeature) UnmarshalBinary ¶

func (m *V1NewFeature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NewFeature) Validate ¶

func (m *V1NewFeature) Validate(formats strfmt.Registry) error

Validate validates this v1 new feature

type V1NodeFitness ¶

type V1NodeFitness struct {

	// List-level collection state for the ACS / ATS sweeps, so an empty
	// pcie_ports / nics list is never mistaken for "nothing wrong". One of
	// collected / skipped-nonroot / skipped-tool-missing / error. ACS/ATS are PCI
	// config facts and are NOT posture-gated (read in vm posture too).
	AcsCollectionState string `json:"acsCollectionState,omitempty"`

	// ats collection state
	AtsCollectionState string `json:"atsCollectionState,omitempty"`

	// Host GPU-driver posture, classified the same way as hgx_healthcheck.py:
	// "baremetal" (all GPUs on nvidia), "vm" (all GPUs vfio-pci, host blind to
	// GPU/fabric health), "mixed" (partial), or "unknown" (no GPUs found).
	// VBIOS and fabric state are only meaningful in baremetal posture.
	CollectionPosture string `json:"collectionPosture,omitempty"`

	// dma entry limit
	DmaEntryLimit *V1DMAEntryLimit `json:"dmaEntryLimit,omitempty"`

	// dmi
	Dmi *V1DMIInfo `json:"dmi,omitempty"`

	// gpu isolation
	GpuIsolation []*V1DeviceIsolationFitness `json:"gpuIsolation"`

	// iommu collection state
	IommuCollectionState string `json:"iommuCollectionState,omitempty"`

	// NVIDIA Fabric Manager client library (libnvfm.so.1) posture (fail-closed).
	Libnvfm *V1LibNVFMFitness `json:"libnvfm,omitempty"`

	// nic firmware
	NicFirmware []*V1NICFirmware `json:"nicFirmware"`

	// Per-NIC ATS posture, keyed by NIC BDF. Sourced from lspci (NOT
	// /sys/class/infiniband) so vfio-bound rail NICs (invisible to the host IB
	// stack but the ones that matter for MMT) still appear.
	Nics []*V1NICFitness `json:"nics"`

	// PEX (PCIe switch) downstream-port ACS posture, keyed by port BDF. ACS lives
	// on the switch ports, not on the GPUs, so it is its own list rather than a
	// GPU field (no reliable GPU-to-upstream-port join is attempted).
	PciePorts []*V1PciePortFitness `json:"pciePorts"`

	// Per-GPU VBIOS + NVLink fabric state, keyed by host PCI BDF. One entry per
	// GPU even when the value is skipped (e.g. vm posture), so the BDF set is
	// always visible.
	PerGpu []*V1GpuFitness `json:"perGpu"`

	// Dell PEX890xx PCIe-switch firmware compliance (fail-open MMT prerequisite).
	PexSwitchFw *V1PexSwitchFWFitness `json:"pexSwitchFw,omitempty"`

	// Idle host GPU BDFs excluded from allocate after repeated guest FOTB /
	// nvidia probe failures. Cleared on host reboot (boot_id) or ClearQuarantine.
	// The scheduler subtracts these from free GPU capacity.
	QuarantinedGpus []string `json:"quarantinedGpus"`

	// rail nic isolation
	RailNicIsolation []*V1DeviceIsolationFitness `json:"railNicIsolation"`
}

V1NodeFitness NodeFitness carries host-level "is this node fit for GPU / multi-node training work" facts that the generic MachineSystemInfo and FabricManagerHealth collectors don't cover: platform identity (DMI/BIOS/board), the vfio dma_entry_limit tunable, and per-NIC InfiniBand firmware. Gathered on the slow (1h) static cadence, not per-sweep.

The already-collected per-GPU numa_node lives on NvidiaInfo.gpus[].numa_node and is rendered from there, not duplicated here.

Fields 1-3 are the cheap, always-collectable sysfs facts (Phase 1). Fields 4-9 are the expensive, posture- and root-gated facts (Phase 2): per-GPU VBIOS and NVLink fabric state (nvidia-smi, baremetal-only), PEX-port ACS posture and NIC ATS posture (lspci -vvv, root-only). Because those are gated, an empty list does NOT mean "healthy": every gated sub-fact carries an explicit collection state (collected / skipped-vm / skipped-nonroot / skipped-tool-missing / error) so a blank value is never silently read as a pass.

swagger:model v1NodeFitness

func (*V1NodeFitness) ContextValidate ¶

func (m *V1NodeFitness) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 node fitness based on the context it is used

func (*V1NodeFitness) MarshalBinary ¶

func (m *V1NodeFitness) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NodeFitness) UnmarshalBinary ¶

func (m *V1NodeFitness) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NodeFitness) Validate ¶

func (m *V1NodeFitness) Validate(formats strfmt.Registry) error

Validate validates this v1 node fitness

type V1NvidiaInfo ¶

type V1NvidiaInfo struct {

	// from nvidia-smi if available
	CudaVersion string `json:"cudaVersion,omitempty"`

	// Driver / library versions
	//
	// from /proc/driver/nvidia/version or modinfo
	DriverVersion string `json:"driverVersion,omitempty"`

	// fabric manager version
	FabricManagerVersion string `json:"fabricManagerVersion,omitempty"`

	// GPUs as seen on the PCI bus (works even when vfio-bound).
	Gpus []*V1PCIDevice `json:"gpus"`

	// Kernel module presence — useful when GPUs are vfio-bound and the
	// driver is intentionally not loaded.
	NvidiaModuleLoaded bool `json:"nvidiaModuleLoaded,omitempty"`

	// nvidia smi version
	NvidiaSmiVersion string `json:"nvidiaSmiVersion,omitempty"`

	// from nvidia-smi if available
	NvmlVersion string `json:"nvmlVersion,omitempty"`

	// vfio pci module loaded
	VfioPciModuleLoaded bool `json:"vfioPciModuleLoaded,omitempty"`
}

V1NvidiaInfo v1 nvidia info

swagger:model v1NvidiaInfo

func (*V1NvidiaInfo) ContextValidate ¶

func (m *V1NvidiaInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 nvidia info based on the context it is used

func (*V1NvidiaInfo) MarshalBinary ¶

func (m *V1NvidiaInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NvidiaInfo) UnmarshalBinary ¶

func (m *V1NvidiaInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NvidiaInfo) Validate ¶

func (m *V1NvidiaInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 nvidia info

type V1NvlinkFMPartitionBinding ¶

type V1NvlinkFMPartitionBinding struct {

	// gpu pci addresses
	GpuPciAddresses []string `json:"gpuPciAddresses"`

	// FM partition id. Firmware-version dependent — debug/ops correlation only.
	PartitionID int64 `json:"partitionId,omitempty"`
}

V1NvlinkFMPartitionBinding NvlinkFMPartitionBinding is the durable per-server Shared-NVSwitch FM binding. gpu_pci_addresses are host BDFs assigned to this VM; partition_id is the FM partition covering that exact set when known (0 if not yet activated).

swagger:model v1NvlinkFMPartitionBinding

func (*V1NvlinkFMPartitionBinding) ContextValidate ¶

func (m *V1NvlinkFMPartitionBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 nvlink f m partition binding based on context it is used

func (*V1NvlinkFMPartitionBinding) MarshalBinary ¶

func (m *V1NvlinkFMPartitionBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NvlinkFMPartitionBinding) UnmarshalBinary ¶

func (m *V1NvlinkFMPartitionBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NvlinkFMPartitionBinding) Validate ¶

func (m *V1NvlinkFMPartitionBinding) Validate(formats strfmt.Registry) error

Validate validates this v1 nvlink f m partition binding

type V1OrgAlertsConfig ¶

type V1OrgAlertsConfig struct {

	// billing
	Billing *OrgAlertsConfigBilling `json:"billing,omitempty"`

	// studios
	Studios *OrgAlertsConfigStudios `json:"studios,omitempty"`
}

V1OrgAlertsConfig v1 org alerts config

swagger:model v1OrgAlertsConfig

func (*V1OrgAlertsConfig) ContextValidate ¶

func (m *V1OrgAlertsConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 org alerts config based on the context it is used

func (*V1OrgAlertsConfig) MarshalBinary ¶

func (m *V1OrgAlertsConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1OrgAlertsConfig) UnmarshalBinary ¶

func (m *V1OrgAlertsConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1OrgAlertsConfig) Validate ¶

func (m *V1OrgAlertsConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 org alerts config

type V1OrgDeploymentVisibility ¶

type V1OrgDeploymentVisibility struct {

	// To specify if this deployment is allowed for specific teamspaces only listed here
	AllowedProjectIds []string `json:"allowedProjectIds"`

	// deployment Id
	DeploymentID string `json:"deploymentId,omitempty"`

	// If 'true', the deployment has no Visibility restrictions
	IsAllowedToAll bool `json:"isAllowedToAll,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

V1OrgDeploymentVisibility v1 org deployment visibility

swagger:model v1OrgDeploymentVisibility

func (*V1OrgDeploymentVisibility) ContextValidate ¶

func (m *V1OrgDeploymentVisibility) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 org deployment visibility based on context it is used

func (*V1OrgDeploymentVisibility) MarshalBinary ¶

func (m *V1OrgDeploymentVisibility) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1OrgDeploymentVisibility) UnmarshalBinary ¶

func (m *V1OrgDeploymentVisibility) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1OrgDeploymentVisibility) Validate ¶

func (m *V1OrgDeploymentVisibility) Validate(formats strfmt.Registry) error

Validate validates this v1 org deployment visibility

type V1OrgMember ¶

type V1OrgMember struct {

	// inactive
	Inactive bool `json:"inactive,omitempty"`

	// roles
	Roles []*V1OrgRole `json:"roles"`

	// user
	User *V1SearchUser `json:"user,omitempty"`
}

V1OrgMember v1 org member

swagger:model v1OrgMember

func (*V1OrgMember) ContextValidate ¶

func (m *V1OrgMember) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 org member based on the context it is used

func (*V1OrgMember) MarshalBinary ¶

func (m *V1OrgMember) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1OrgMember) UnmarshalBinary ¶

func (m *V1OrgMember) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1OrgMember) Validate ¶

func (m *V1OrgMember) Validate(formats strfmt.Registry) error

Validate validates this v1 org member

type V1OrgMemberSortBy ¶

type V1OrgMemberSortBy string

V1OrgMemberSortBy v1 org member sort by

swagger:model v1OrgMemberSortBy

const (

	// V1OrgMemberSortByORGMEMBERSORTBYUNSPECIFIED captures enum value "ORG_MEMBER_SORT_BY_UNSPECIFIED"
	V1OrgMemberSortByORGMEMBERSORTBYUNSPECIFIED V1OrgMemberSortBy = "ORG_MEMBER_SORT_BY_UNSPECIFIED"

	// V1OrgMemberSortByORGMEMBERSORTBYUSERNAME captures enum value "ORG_MEMBER_SORT_BY_USERNAME"
	V1OrgMemberSortByORGMEMBERSORTBYUSERNAME V1OrgMemberSortBy = "ORG_MEMBER_SORT_BY_USERNAME"

	// V1OrgMemberSortByORGMEMBERSORTBYEMAIL captures enum value "ORG_MEMBER_SORT_BY_EMAIL"
	V1OrgMemberSortByORGMEMBERSORTBYEMAIL V1OrgMemberSortBy = "ORG_MEMBER_SORT_BY_EMAIL"

	// V1OrgMemberSortByORGMEMBERSORTBYTITLE captures enum value "ORG_MEMBER_SORT_BY_TITLE"
	V1OrgMemberSortByORGMEMBERSORTBYTITLE V1OrgMemberSortBy = "ORG_MEMBER_SORT_BY_TITLE"

	// V1OrgMemberSortByORGMEMBERSORTBYROLE captures enum value "ORG_MEMBER_SORT_BY_ROLE"
	V1OrgMemberSortByORGMEMBERSORTBYROLE V1OrgMemberSortBy = "ORG_MEMBER_SORT_BY_ROLE"

	// V1OrgMemberSortByORGMEMBERSORTBYFIRSTNAME captures enum value "ORG_MEMBER_SORT_BY_FIRST_NAME"
	V1OrgMemberSortByORGMEMBERSORTBYFIRSTNAME V1OrgMemberSortBy = "ORG_MEMBER_SORT_BY_FIRST_NAME"

	// V1OrgMemberSortByORGMEMBERSORTBYLASTNAME captures enum value "ORG_MEMBER_SORT_BY_LAST_NAME"
	V1OrgMemberSortByORGMEMBERSORTBYLASTNAME V1OrgMemberSortBy = "ORG_MEMBER_SORT_BY_LAST_NAME"
)

func NewV1OrgMemberSortBy ¶

func NewV1OrgMemberSortBy(value V1OrgMemberSortBy) *V1OrgMemberSortBy

func (V1OrgMemberSortBy) ContextValidate ¶

func (m V1OrgMemberSortBy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 org member sort by based on context it is used

func (V1OrgMemberSortBy) Pointer ¶

func (m V1OrgMemberSortBy) Pointer() *V1OrgMemberSortBy

Pointer returns a pointer to a freshly-allocated V1OrgMemberSortBy.

func (V1OrgMemberSortBy) Validate ¶

func (m V1OrgMemberSortBy) Validate(formats strfmt.Registry) error

Validate validates this v1 org member sort by

type V1OrgMemberSortOrder ¶

type V1OrgMemberSortOrder string

V1OrgMemberSortOrder v1 org member sort order

swagger:model v1OrgMemberSortOrder

const (

	// V1OrgMemberSortOrderORGMEMBERSORTORDERUNSPECIFIED captures enum value "ORG_MEMBER_SORT_ORDER_UNSPECIFIED"
	V1OrgMemberSortOrderORGMEMBERSORTORDERUNSPECIFIED V1OrgMemberSortOrder = "ORG_MEMBER_SORT_ORDER_UNSPECIFIED"

	// V1OrgMemberSortOrderORGMEMBERSORTORDERASCENDING captures enum value "ORG_MEMBER_SORT_ORDER_ASCENDING"
	V1OrgMemberSortOrderORGMEMBERSORTORDERASCENDING V1OrgMemberSortOrder = "ORG_MEMBER_SORT_ORDER_ASCENDING"

	// V1OrgMemberSortOrderORGMEMBERSORTORDERDESCENDING captures enum value "ORG_MEMBER_SORT_ORDER_DESCENDING"
	V1OrgMemberSortOrderORGMEMBERSORTORDERDESCENDING V1OrgMemberSortOrder = "ORG_MEMBER_SORT_ORDER_DESCENDING"
)

func NewV1OrgMemberSortOrder ¶

func NewV1OrgMemberSortOrder(value V1OrgMemberSortOrder) *V1OrgMemberSortOrder

func (V1OrgMemberSortOrder) ContextValidate ¶

func (m V1OrgMemberSortOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 org member sort order based on context it is used

func (V1OrgMemberSortOrder) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1OrgMemberSortOrder.

func (V1OrgMemberSortOrder) Validate ¶

func (m V1OrgMemberSortOrder) Validate(formats strfmt.Registry) error

Validate validates this v1 org member sort order

type V1OrgMemberTransferTarget ¶

type V1OrgMemberTransferTarget struct {

	// shared teamspace count
	SharedTeamspaceCount int32 `json:"sharedTeamspaceCount,omitempty"`

	// teamspaces to be granted count
	TeamspacesToBeGrantedCount int32 `json:"teamspacesToBeGrantedCount,omitempty"`

	// user
	User *V1SearchUser `json:"user,omitempty"`
}

V1OrgMemberTransferTarget v1 org member transfer target

swagger:model v1OrgMemberTransferTarget

func (*V1OrgMemberTransferTarget) ContextValidate ¶

func (m *V1OrgMemberTransferTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 org member transfer target based on the context it is used

func (*V1OrgMemberTransferTarget) MarshalBinary ¶

func (m *V1OrgMemberTransferTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1OrgMemberTransferTarget) UnmarshalBinary ¶

func (m *V1OrgMemberTransferTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1OrgMemberTransferTarget) Validate ¶

func (m *V1OrgMemberTransferTarget) Validate(formats strfmt.Registry) error

Validate validates this v1 org member transfer target

type V1OrgMembership ¶

type V1OrgMembership struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Project name
	Name string `json:"name,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// Roles that the current user has in this org
	Roles []*V1OrgRole `json:"roles"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1OrgMembership v1 org membership

swagger:model v1OrgMembership

func (*V1OrgMembership) ContextValidate ¶

func (m *V1OrgMembership) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 org membership based on the context it is used

func (*V1OrgMembership) MarshalBinary ¶

func (m *V1OrgMembership) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1OrgMembership) UnmarshalBinary ¶

func (m *V1OrgMembership) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1OrgMembership) Validate ¶

func (m *V1OrgMembership) Validate(formats strfmt.Registry) error

Validate validates this v1 org membership

type V1OrgMembershipRoleBinding ¶

type V1OrgMembershipRoleBinding struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// role Id
	RoleID string `json:"roleId,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1OrgMembershipRoleBinding v1 org membership role binding

swagger:model v1OrgMembershipRoleBinding

func (*V1OrgMembershipRoleBinding) ContextValidate ¶

func (m *V1OrgMembershipRoleBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 org membership role binding based on context it is used

func (*V1OrgMembershipRoleBinding) MarshalBinary ¶

func (m *V1OrgMembershipRoleBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1OrgMembershipRoleBinding) UnmarshalBinary ¶

func (m *V1OrgMembershipRoleBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1OrgMembershipRoleBinding) Validate ¶

func (m *V1OrgMembershipRoleBinding) Validate(formats strfmt.Registry) error

Validate validates this v1 org membership role binding

type V1OrgRole ¶

type V1OrgRole struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// Only internal users should see this property
	ExcludedFromSeatCount bool `json:"excludedFromSeatCount,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// rules
	Rules []*V1Rule `json:"rules"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

V1OrgRole v1 org role

swagger:model v1OrgRole

func (*V1OrgRole) ContextValidate ¶

func (m *V1OrgRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 org role based on the context it is used

func (*V1OrgRole) MarshalBinary ¶

func (m *V1OrgRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1OrgRole) UnmarshalBinary ¶

func (m *V1OrgRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1OrgRole) Validate ¶

func (m *V1OrgRole) Validate(formats strfmt.Registry) error

Validate validates this v1 org role

type V1Organization ¶

type V1Organization struct {

	// alerts config
	AlertsConfig *V1OrgAlertsConfig `json:"alertsConfig,omitempty"`

	// allow budgeting
	AllowBudgeting bool `json:"allowBudgeting,omitempty"`

	// allow cloud space publish
	AllowCloudSpacePublish bool `json:"allowCloudSpacePublish,omitempty"`

	// allow credits auto replenish
	AllowCreditsAutoReplenish bool `json:"allowCreditsAutoReplenish,omitempty"`

	// This is an org level setting which will allow whether or not studios in a teamspace can be duplicated outside of
	// teamspaces. Enabling this will allow teamspaces in an org to configure their own individual settings.
	AllowExternalProjectDuplication bool `json:"allowExternalProjectDuplication,omitempty"`

	// allow guest
	AllowGuest bool `json:"allowGuest,omitempty"`

	// allow lightning hosted models
	AllowLightningHostedModels bool `json:"allowLightningHostedModels,omitempty"`

	// allow marketplace
	AllowMarketplace bool `json:"allowMarketplace,omitempty"`

	// allow member invitations
	AllowMemberInvitations bool `json:"allowMemberInvitations,omitempty"`

	// allow member teamspace creation
	AllowMemberTeamspaceCreation bool `json:"allowMemberTeamspaceCreation,omitempty"`

	// auto invite by domain
	AutoInviteByDomain bool `json:"autoInviteByDomain,omitempty"`

	// auto join domain validations
	AutoJoinDomainValidations map[string]V1AutoJoinDomainValidation `json:"autoJoinDomainValidations,omitempty"`

	// auto join domains
	AutoJoinDomains []string `json:"autoJoinDomains"`

	// auto replenish amount
	AutoReplenishAmount float32 `json:"autoReplenishAmount,omitempty"`

	// auto replenish threshold
	AutoReplenishThreshold float32 `json:"autoReplenishThreshold,omitempty"`

	// auto switch machine
	AutoSwitchMachine bool `json:"autoSwitchMachine,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// creator Id
	CreatorID string `json:"creatorId,omitempty"`

	// default machine image version
	DefaultMachineImageVersion string `json:"defaultMachineImageVersion,omitempty"`

	// default machine type
	DefaultMachineType string `json:"defaultMachineType,omitempty"`

	// A project to associate org-wide things with it, e.g. to charge for org-wide things
	DefaultProjectID string `json:"defaultProjectId,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// This will disable the coding agents for all users in the org
	DisableCodingAgents bool `json:"disableCodingAgents,omitempty"`

	// This will disable the public templates in the template gallery for all users in the org
	DisablePublicTemplates bool `json:"disablePublicTemplates,omitempty"`

	// disallow aws saas
	DisallowAwsSaas bool `json:"disallowAwsSaas,omitempty"`

	// disallow dgx saas
	DisallowDgxSaas bool `json:"disallowDgxSaas,omitempty"`

	// disallow gcp saas
	DisallowGcpSaas bool `json:"disallowGcpSaas,omitempty"`

	// disallow lambda saas
	DisallowLambdaSaas bool `json:"disallowLambdaSaas,omitempty"`

	// disallow lightning saas
	DisallowLightningSaas bool `json:"disallowLightningSaas,omitempty"`

	// disallow nebius saas
	DisallowNebiusSaas bool `json:"disallowNebiusSaas,omitempty"`

	// disallow voltage park saas
	DisallowVoltageParkSaas bool `json:"disallowVoltageParkSaas,omitempty"`

	// disallow vultr saas
	DisallowVultrSaas bool `json:"disallowVultrSaas,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// Public email
	Email string `json:"email,omitempty"`

	// featured gallery
	FeaturedGallery bool `json:"featuredGallery,omitempty"`

	// full story end date
	// Format: date-time
	FullStoryEndDate strfmt.DateTime `json:"fullStoryEndDate,omitempty"`

	// full story start date
	// Format: date-time
	FullStoryStartDate strfmt.DateTime `json:"fullStoryStartDate,omitempty"`

	// general teamspace
	GeneralTeamspace bool `json:"generalTeamspace,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// is personal org
	IsPersonalOrg bool `json:"isPersonalOrg,omitempty"`

	// last_storage_overuse_notification_sent_at is the time when the organization admins were last notified about storage overuse
	// Format: date-time
	LastStorageOveruseNotificationSentAt strfmt.DateTime `json:"lastStorageOveruseNotificationSentAt,omitempty"`

	// location
	Location string `json:"location,omitempty"`

	// Org name
	Name string `json:"name,omitempty"`

	// preferred cluster
	PreferredCluster string `json:"preferredCluster,omitempty"`

	// preferred deployment provider
	PreferredDeploymentProvider string `json:"preferredDeploymentProvider,omitempty"`

	// preferred studio provider
	PreferredStudioProvider string `json:"preferredStudioProvider,omitempty"`

	// show model apis tab
	ShowModelApisTab bool `json:"showModelApisTab,omitempty"`

	// skip phone verification
	SkipPhoneVerification bool `json:"skipPhoneVerification,omitempty"`

	// start studios on spot instance
	StartStudiosOnSpotInstance bool `json:"startStudiosOnSpotInstance,omitempty"`

	// storage_overuse_bytes is the amount of storage overuse by the organization
	StorageOveruseBytes string `json:"storageOveruseBytes,omitempty"`

	// storage_overuse_deletion_at is the time when the organization's data was deleted due to storage overuse
	// Format: date-time
	StorageOveruseDeletionAt strfmt.DateTime `json:"storageOveruseDeletionAt,omitempty"`

	// storage_overuse_notification_count is the number of times the organization admins have been notified about storage overuse
	StorageOveruseNotificationCount int32 `json:"storageOveruseNotificationCount,omitempty"`

	// switch to default machine on idle
	SwitchToDefaultMachineOnIdle bool `json:"switchToDefaultMachineOnIdle,omitempty"`

	// teamspace default credits
	TeamspaceDefaultCredits float32 `json:"teamspaceDefaultCredits,omitempty"`

	// timezone
	Timezone string `json:"timezone,omitempty"`

	// twitter username
	TwitterUsername string `json:"twitterUsername,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// in hours
	WorkloadMaxRunDuration string `json:"workloadMaxRunDuration,omitempty"`
}

V1Organization v1 organization

swagger:model v1Organization

func (*V1Organization) ContextValidate ¶

func (m *V1Organization) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 organization based on the context it is used

func (*V1Organization) MarshalBinary ¶

func (m *V1Organization) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Organization) UnmarshalBinary ¶

func (m *V1Organization) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Organization) Validate ¶

func (m *V1Organization) Validate(formats strfmt.Registry) error

Validate validates this v1 organization

type V1OwnerType ¶

type V1OwnerType string

V1OwnerType v1 owner type

swagger:model v1OwnerType

const (

	// V1OwnerTypeUnspecifiedOwnerType captures enum value "unspecifiedOwnerType"
	V1OwnerTypeUnspecifiedOwnerType V1OwnerType = "unspecifiedOwnerType"

	// V1OwnerTypeUser captures enum value "user"
	V1OwnerTypeUser V1OwnerType = "user"

	// V1OwnerTypeOrganization captures enum value "organization"
	V1OwnerTypeOrganization V1OwnerType = "organization"
)

func NewV1OwnerType ¶

func NewV1OwnerType(value V1OwnerType) *V1OwnerType

func (V1OwnerType) ContextValidate ¶

func (m V1OwnerType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 owner type based on context it is used

func (V1OwnerType) Pointer ¶

func (m V1OwnerType) Pointer() *V1OwnerType

Pointer returns a pointer to a freshly-allocated V1OwnerType.

func (V1OwnerType) Validate ¶

func (m V1OwnerType) Validate(formats strfmt.Registry) error

Validate validates this v1 owner type

type V1PCIDevice ¶

type V1PCIDevice struct {

	// e.g. "0000:01:00.0"
	Bdf string `json:"bdf,omitempty"`

	// e.g. "2330"
	DeviceID string `json:"deviceId,omitempty"`

	// e.g. "H100 80GB HBM3"
	DeviceName string `json:"deviceName,omitempty"`

	// e.g. "vfio-pci", "nvidia", ""
	Driver string `json:"driver,omitempty"`

	// iommu group
	IommuGroup string `json:"iommuGroup,omitempty"`

	// current_link_speed
	LinkSpeed string `json:"linkSpeed,omitempty"`

	// current_link_width
	LinkWidth string `json:"linkWidth,omitempty"`

	// numa node
	NumaNode string `json:"numaNode,omitempty"`

	// e.g. "10de"
	VendorID string `json:"vendorId,omitempty"`

	// e.g. "NVIDIA Corporation"
	VendorName string `json:"vendorName,omitempty"`
}

V1PCIDevice v1 p c i device

swagger:model v1PCIDevice

func (*V1PCIDevice) ContextValidate ¶

func (m *V1PCIDevice) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 p c i device based on context it is used

func (*V1PCIDevice) MarshalBinary ¶

func (m *V1PCIDevice) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PCIDevice) UnmarshalBinary ¶

func (m *V1PCIDevice) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PCIDevice) Validate ¶

func (m *V1PCIDevice) Validate(formats strfmt.Registry) error

Validate validates this v1 p c i device

type V1PackageManager ¶

type V1PackageManager string

V1PackageManager v1 package manager

swagger:model v1PackageManager

const (

	// V1PackageManagerPACKAGEMANAGERUNSPECIFIED captures enum value "PACKAGE_MANAGER_UNSPECIFIED"
	V1PackageManagerPACKAGEMANAGERUNSPECIFIED V1PackageManager = "PACKAGE_MANAGER_UNSPECIFIED"

	// V1PackageManagerPACKAGEMANAGERPIP captures enum value "PACKAGE_MANAGER_PIP"
	V1PackageManagerPACKAGEMANAGERPIP V1PackageManager = "PACKAGE_MANAGER_PIP"

	// V1PackageManagerPACKAGEMANAGERCONDA captures enum value "PACKAGE_MANAGER_CONDA"
	V1PackageManagerPACKAGEMANAGERCONDA V1PackageManager = "PACKAGE_MANAGER_CONDA"
)

func NewV1PackageManager ¶

func NewV1PackageManager(value V1PackageManager) *V1PackageManager

func (V1PackageManager) ContextValidate ¶

func (m V1PackageManager) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 package manager based on context it is used

func (V1PackageManager) Pointer ¶

func (m V1PackageManager) Pointer() *V1PackageManager

Pointer returns a pointer to a freshly-allocated V1PackageManager.

func (V1PackageManager) Validate ¶

func (m V1PackageManager) Validate(formats strfmt.Registry) error

Validate validates this v1 package manager

type V1ParameterizationSpec ¶

type V1ParameterizationSpec struct {

	// command
	Command string `json:"command,omitempty"`

	// entrypoint
	Entrypoint string `json:"entrypoint,omitempty"`

	// env
	Env []*V1EnvVar `json:"env"`

	// image
	Image string `json:"image,omitempty"`

	// parameters
	Parameters []*V1DeploymentTemplateParameter `json:"parameters"`
}

V1ParameterizationSpec used to configure parameterization for a deployment

swagger:model v1ParameterizationSpec

func (*V1ParameterizationSpec) ContextValidate ¶

func (m *V1ParameterizationSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 parameterization spec based on the context it is used

func (*V1ParameterizationSpec) MarshalBinary ¶

func (m *V1ParameterizationSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ParameterizationSpec) UnmarshalBinary ¶

func (m *V1ParameterizationSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ParameterizationSpec) Validate ¶

func (m *V1ParameterizationSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 parameterization spec

type V1PathMapping ¶

type V1PathMapping struct {

	// connection name
	ConnectionName string `json:"connectionName,omitempty"`

	// connection path
	ConnectionPath string `json:"connectionPath,omitempty"`

	// container path
	ContainerPath string `json:"containerPath,omitempty"`
}

V1PathMapping PathMapping defines a mapping of a data connection (or a path within) to a path inside the container.

swagger:model v1PathMapping

func (*V1PathMapping) ContextValidate ¶

func (m *V1PathMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 path mapping based on context it is used

func (*V1PathMapping) MarshalBinary ¶

func (m *V1PathMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PathMapping) UnmarshalBinary ¶

func (m *V1PathMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PathMapping) Validate ¶

func (m *V1PathMapping) Validate(formats strfmt.Registry) error

Validate validates this v1 path mapping

type V1PathTelemetry ¶

type V1PathTelemetry struct {

	// The key is the timestamp
	TimestampTelemetry map[string]V1TimestampCodeTelemetry `json:"timestampTelemetry,omitempty"`
}

V1PathTelemetry v1 path telemetry

swagger:model v1PathTelemetry

func (*V1PathTelemetry) ContextValidate ¶

func (m *V1PathTelemetry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 path telemetry based on the context it is used

func (*V1PathTelemetry) MarshalBinary ¶

func (m *V1PathTelemetry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PathTelemetry) UnmarshalBinary ¶

func (m *V1PathTelemetry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PathTelemetry) Validate ¶

func (m *V1PathTelemetry) Validate(formats strfmt.Registry) error

Validate validates this v1 path telemetry

type V1PciePortFitness ¶

type V1PciePortFitness struct {

	// acs classification
	AcsClassification string `json:"acsClassification,omitempty"`

	// acs ctl
	AcsCtl string `json:"acsCtl,omitempty"`

	// bdf
	Bdf string `json:"bdf,omitempty"`

	// collected | skipped-nonroot | skipped-tool-missing | error
	CollectionState string `json:"collectionState,omitempty"`

	// e.g. "PCI bridge"
	DeviceClass string `json:"deviceClass,omitempty"`
}

V1PciePortFitness PciePortFitness is one PEX (Broadcom PEX890xx, 1000:c030) downstream switch port's ACS posture, read from lspci -vvv config space (root-only). acs_ctl is the raw ACSCtl bit string; acs_classification distills it the same way hgx_healthcheck.py does:

dt:       DirectTrans+ (P2P + multi-tenant isolation; the MMT target)
disabled: SrcValid-/ReqRedir-/CmpltRedir- (P2P but no isolation)
default:  funnels P2P through the root complex (bandwidth collapse)
unknown:  port exposes no ACS control (e.g. upstream port)

swagger:model v1PciePortFitness

func (*V1PciePortFitness) ContextValidate ¶

func (m *V1PciePortFitness) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 pcie port fitness based on context it is used

func (*V1PciePortFitness) MarshalBinary ¶

func (m *V1PciePortFitness) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PciePortFitness) UnmarshalBinary ¶

func (m *V1PciePortFitness) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PciePortFitness) Validate ¶

func (m *V1PciePortFitness) Validate(formats strfmt.Registry) error

Validate validates this v1 pcie port fitness

type V1PexSwitchFWFitness ¶

type V1PexSwitchFWFitness struct {

	// compliant
	Compliant bool `json:"compliant,omitempty"`

	// collected | error | missing | stale
	State string `json:"state,omitempty"`

	// target
	Target string `json:"target,omitempty"`
}

V1PexSwitchFWFitness PexSwitchFWFitness is the Dell PEX890xx PCIe-switch firmware compliance for MMT, from a boot-time marker (the live version is not readable in-agent). It is the one fail-open MMT prerequisite: a switch behind target only degrades GDR bandwidth, not brick-class, so only a confirmed behind (state == "collected" AND compliant == false) is a hard readiness fault; any other state is unverified.

swagger:model v1PexSwitchFWFitness

func (*V1PexSwitchFWFitness) ContextValidate ¶

func (m *V1PexSwitchFWFitness) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 pex switch f w fitness based on context it is used

func (*V1PexSwitchFWFitness) MarshalBinary ¶

func (m *V1PexSwitchFWFitness) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PexSwitchFWFitness) UnmarshalBinary ¶

func (m *V1PexSwitchFWFitness) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PexSwitchFWFitness) Validate ¶

func (m *V1PexSwitchFWFitness) Validate(formats strfmt.Registry) error

Validate validates this v1 pex switch f w fitness

type V1Pipeline ¶

type V1Pipeline struct {

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// When true, only steps that transitively depend on the failed step are skipped; independent branches keep running.
	ContinueOnStepFailure bool `json:"continueOnStepFailure,omitempty"`

	// Read only
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Whether the pipeline was created by clicking New Run
	CreatedFromUI bool `json:"createdFromUi,omitempty"`

	// Required
	DisplayName string `json:"displayName,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// Read only
	ID string `json:"id,omitempty"`

	// Number of times to retry a step if it fails due to an interruption (e.g. spot instance preemption). Only applies if continue_on_step_failure is true.
	InterruptionRetryLimit int32 `json:"interruptionRetryLimit,omitempty"`

	// Whether the pipeline was published
	IsPublished bool `json:"isPublished,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// Required
	Name string `json:"name,omitempty"`

	// parameters
	Parameters []*V1PipelineParameter `json:"parameters"`

	// Read only
	ParentPipelineID string `json:"parentPipelineId,omitempty"`

	// Required
	ProjectID string `json:"projectId,omitempty"`

	// Read only
	ScheduleID string `json:"scheduleId,omitempty"`

	// shared filesystem
	SharedFilesystem *V1SharedFilesystem `json:"sharedFilesystem,omitempty"`

	// state
	State *V1PipelineState `json:"state,omitempty"`

	// statuses
	Statuses []*V1PipelineStepStatus `json:"statuses"`

	// steps
	Steps []*V1PipelineStep `json:"steps"`

	// Read only
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Read only
	UserID string `json:"userId,omitempty"`
}

V1Pipeline v1 pipeline

swagger:model v1Pipeline

func (*V1Pipeline) ContextValidate ¶

func (m *V1Pipeline) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 pipeline based on the context it is used

func (*V1Pipeline) MarshalBinary ¶

func (m *V1Pipeline) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Pipeline) UnmarshalBinary ¶

func (m *V1Pipeline) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Pipeline) Validate ¶

func (m *V1Pipeline) Validate(formats strfmt.Registry) error

Validate validates this v1 pipeline

type V1PipelineParameter ¶

type V1PipelineParameter struct {

	// checkbox
	Checkbox *V1Checkbox `json:"checkbox,omitempty"`

	// data path
	DataPath *V1DataPath `json:"dataPath,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// input
	Input *V1Input `json:"input,omitempty"`

	// Used for the tooltip
	LongDescription string `json:"longDescription,omitempty"`

	// machines selector
	MachinesSelector *V1MachinesSelector `json:"machinesSelector,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// placements
	Placements []*V1PipelineParameterPlacement `json:"placements"`

	// readonly
	Readonly bool `json:"readonly,omitempty"`

	// required
	Required bool `json:"required,omitempty"`

	// select
	Select *V1Select `json:"select,omitempty"`

	// short description
	ShortDescription string `json:"shortDescription,omitempty"`

	// type
	Type *V1PipelineParameterType `json:"type,omitempty"`
}

V1PipelineParameter v1 pipeline parameter

swagger:model v1PipelineParameter

func (*V1PipelineParameter) ContextValidate ¶

func (m *V1PipelineParameter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 pipeline parameter based on the context it is used

func (*V1PipelineParameter) MarshalBinary ¶

func (m *V1PipelineParameter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PipelineParameter) UnmarshalBinary ¶

func (m *V1PipelineParameter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PipelineParameter) Validate ¶

func (m *V1PipelineParameter) Validate(formats strfmt.Registry) error

Validate validates this v1 pipeline parameter

type V1PipelineParameterPlacement ¶

type V1PipelineParameterPlacement struct {

	// name
	Name string `json:"name,omitempty"`

	// type
	Type *V1PipelineParameterPlacementType `json:"type,omitempty"`
}

V1PipelineParameterPlacement v1 pipeline parameter placement

swagger:model v1PipelineParameterPlacement

func (*V1PipelineParameterPlacement) ContextValidate ¶

func (m *V1PipelineParameterPlacement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 pipeline parameter placement based on the context it is used

func (*V1PipelineParameterPlacement) MarshalBinary ¶

func (m *V1PipelineParameterPlacement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PipelineParameterPlacement) UnmarshalBinary ¶

func (m *V1PipelineParameterPlacement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PipelineParameterPlacement) Validate ¶

func (m *V1PipelineParameterPlacement) Validate(formats strfmt.Registry) error

Validate validates this v1 pipeline parameter placement

type V1PipelineParameterPlacementType ¶

type V1PipelineParameterPlacementType string

V1PipelineParameterPlacementType v1 pipeline parameter placement type

swagger:model v1PipelineParameterPlacementType

const (

	// V1PipelineParameterPlacementTypePLACEMENTUNSPECIFIED captures enum value "PLACEMENT_UNSPECIFIED"
	V1PipelineParameterPlacementTypePLACEMENTUNSPECIFIED V1PipelineParameterPlacementType = "PLACEMENT_UNSPECIFIED"

	// V1PipelineParameterPlacementTypePLACEMENTCOMMAND captures enum value "PLACEMENT_COMMAND"
	V1PipelineParameterPlacementTypePLACEMENTCOMMAND V1PipelineParameterPlacementType = "PLACEMENT_COMMAND"

	// V1PipelineParameterPlacementTypePLACEMENTENV captures enum value "PLACEMENT_ENV"
	V1PipelineParameterPlacementTypePLACEMENTENV V1PipelineParameterPlacementType = "PLACEMENT_ENV"

	// V1PipelineParameterPlacementTypePLACEMENTENTRYPOINT captures enum value "PLACEMENT_ENTRYPOINT"
	V1PipelineParameterPlacementTypePLACEMENTENTRYPOINT V1PipelineParameterPlacementType = "PLACEMENT_ENTRYPOINT"

	// V1PipelineParameterPlacementTypePLACEMENTIMAGE captures enum value "PLACEMENT_IMAGE"
	V1PipelineParameterPlacementTypePLACEMENTIMAGE V1PipelineParameterPlacementType = "PLACEMENT_IMAGE"
)

func (V1PipelineParameterPlacementType) ContextValidate ¶

func (m V1PipelineParameterPlacementType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 pipeline parameter placement type based on context it is used

func (V1PipelineParameterPlacementType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1PipelineParameterPlacementType.

func (V1PipelineParameterPlacementType) Validate ¶

Validate validates this v1 pipeline parameter placement type

type V1PipelineParameterType ¶

type V1PipelineParameterType string

V1PipelineParameterType v1 pipeline parameter type

swagger:model v1PipelineParameterType

const (

	// V1PipelineParameterTypeSELECT captures enum value "SELECT"
	V1PipelineParameterTypeSELECT V1PipelineParameterType = "SELECT"

	// V1PipelineParameterTypeINPUT captures enum value "INPUT"
	V1PipelineParameterTypeINPUT V1PipelineParameterType = "INPUT"

	// V1PipelineParameterTypeDATAPATH captures enum value "DATA_PATH"
	V1PipelineParameterTypeDATAPATH V1PipelineParameterType = "DATA_PATH"

	// V1PipelineParameterTypeCHECKBOX captures enum value "CHECKBOX"
	V1PipelineParameterTypeCHECKBOX V1PipelineParameterType = "CHECKBOX"

	// V1PipelineParameterTypeMACHINESSELECTOR captures enum value "MACHINES_SELECTOR"
	V1PipelineParameterTypeMACHINESSELECTOR V1PipelineParameterType = "MACHINES_SELECTOR"
)

func (V1PipelineParameterType) ContextValidate ¶

func (m V1PipelineParameterType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 pipeline parameter type based on context it is used

func (V1PipelineParameterType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1PipelineParameterType.

func (V1PipelineParameterType) Validate ¶

func (m V1PipelineParameterType) Validate(formats strfmt.Registry) error

Validate validates this v1 pipeline parameter type

type V1PipelineState ¶

type V1PipelineState string

V1PipelineState v1 pipeline state

swagger:model v1PipelineState

const (

	// V1PipelineStatePIPELINESTATEUNSPECIFIED captures enum value "PIPELINE_STATE_UNSPECIFIED"
	V1PipelineStatePIPELINESTATEUNSPECIFIED V1PipelineState = "PIPELINE_STATE_UNSPECIFIED"

	// V1PipelineStatePIPELINESTATEPENDING captures enum value "PIPELINE_STATE_PENDING"
	V1PipelineStatePIPELINESTATEPENDING V1PipelineState = "PIPELINE_STATE_PENDING"

	// V1PipelineStatePIPELINESTATERUNNING captures enum value "PIPELINE_STATE_RUNNING"
	V1PipelineStatePIPELINESTATERUNNING V1PipelineState = "PIPELINE_STATE_RUNNING"

	// V1PipelineStatePIPELINESTATEFAILED captures enum value "PIPELINE_STATE_FAILED"
	V1PipelineStatePIPELINESTATEFAILED V1PipelineState = "PIPELINE_STATE_FAILED"

	// V1PipelineStatePIPELINESTATEDELETED captures enum value "PIPELINE_STATE_DELETED"
	V1PipelineStatePIPELINESTATEDELETED V1PipelineState = "PIPELINE_STATE_DELETED"

	// V1PipelineStatePIPELINESTATESTOPPED captures enum value "PIPELINE_STATE_STOPPED"
	V1PipelineStatePIPELINESTATESTOPPED V1PipelineState = "PIPELINE_STATE_STOPPED"

	// V1PipelineStatePIPELINESTATESUSPENDED captures enum value "PIPELINE_STATE_SUSPENDED"
	V1PipelineStatePIPELINESTATESUSPENDED V1PipelineState = "PIPELINE_STATE_SUSPENDED"

	// V1PipelineStatePIPELINESTATECOMPLETED captures enum value "PIPELINE_STATE_COMPLETED"
	V1PipelineStatePIPELINESTATECOMPLETED V1PipelineState = "PIPELINE_STATE_COMPLETED"

	// V1PipelineStatePIPELINESTATESTOP captures enum value "PIPELINE_STATE_STOP"
	V1PipelineStatePIPELINESTATESTOP V1PipelineState = "PIPELINE_STATE_STOP"

	// V1PipelineStatePIPELINESTATEDELETE captures enum value "PIPELINE_STATE_DELETE"
	V1PipelineStatePIPELINESTATEDELETE V1PipelineState = "PIPELINE_STATE_DELETE"
)

func NewV1PipelineState ¶

func NewV1PipelineState(value V1PipelineState) *V1PipelineState

func (V1PipelineState) ContextValidate ¶

func (m V1PipelineState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 pipeline state based on context it is used

func (V1PipelineState) Pointer ¶

func (m V1PipelineState) Pointer() *V1PipelineState

Pointer returns a pointer to a freshly-allocated V1PipelineState.

func (V1PipelineState) Validate ¶

func (m V1PipelineState) Validate(formats strfmt.Registry) error

Validate validates this v1 pipeline state

type V1PipelineStep ¶

type V1PipelineStep struct {

	// deployment
	Deployment *V1CreateDeploymentRequest `json:"deployment,omitempty"`

	// job
	Job *V1CreateJobRequest `json:"job,omitempty"`

	// mmt
	Mmt *V1CreateMultiMachineJobRequest `json:"mmt,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// type
	Type *V1PipelineStepType `json:"type,omitempty"`

	// Used to determine if the step is ready to run
	WaitFor []string `json:"waitFor"`
}

V1PipelineStep v1 pipeline step

swagger:model v1PipelineStep

func (*V1PipelineStep) ContextValidate ¶

func (m *V1PipelineStep) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 pipeline step based on the context it is used

func (*V1PipelineStep) MarshalBinary ¶

func (m *V1PipelineStep) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PipelineStep) UnmarshalBinary ¶

func (m *V1PipelineStep) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PipelineStep) Validate ¶

func (m *V1PipelineStep) Validate(formats strfmt.Registry) error

Validate validates this v1 pipeline step

type V1PipelineStepStatus ¶

type V1PipelineStepStatus struct {

	// error
	Error string `json:"error,omitempty"`

	// How many times this step has been retried after an interruption
	InterruptionRetryCount int32 `json:"interruptionRetryCount,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// resource Id
	ResourceID string `json:"resourceId,omitempty"`

	// resource name
	ResourceName string `json:"resourceName,omitempty"`

	// When the job started running
	// Format: date-time
	StartedAt strfmt.DateTime `json:"startedAt,omitempty"`

	// Status
	//
	// pending, running, stopped, completed, failed
	State string `json:"state,omitempty"`

	// When the job stopped running (stopped/failed/completed)
	// Format: date-time
	StoppedAt strfmt.DateTime `json:"stoppedAt,omitempty"`

	// type
	Type *V1PipelineStepType `json:"type,omitempty"`
}

V1PipelineStepStatus v1 pipeline step status

swagger:model v1PipelineStepStatus

func (*V1PipelineStepStatus) ContextValidate ¶

func (m *V1PipelineStepStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 pipeline step status based on the context it is used

func (*V1PipelineStepStatus) MarshalBinary ¶

func (m *V1PipelineStepStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PipelineStepStatus) UnmarshalBinary ¶

func (m *V1PipelineStepStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PipelineStepStatus) Validate ¶

func (m *V1PipelineStepStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 pipeline step status

type V1PipelineStepType ¶

type V1PipelineStepType string

V1PipelineStepType v1 pipeline step type

swagger:model v1PipelineStepType

const (

	// V1PipelineStepTypePIPELINESTEPTYPEJOB captures enum value "PIPELINE_STEP_TYPE_JOB"
	V1PipelineStepTypePIPELINESTEPTYPEJOB V1PipelineStepType = "PIPELINE_STEP_TYPE_JOB"

	// V1PipelineStepTypePIPELINESTEPTYPEDEPLOYMENT captures enum value "PIPELINE_STEP_TYPE_DEPLOYMENT"
	V1PipelineStepTypePIPELINESTEPTYPEDEPLOYMENT V1PipelineStepType = "PIPELINE_STEP_TYPE_DEPLOYMENT"

	// V1PipelineStepTypePIPELINESTEPTYPEMMT captures enum value "PIPELINE_STEP_TYPE_MMT"
	V1PipelineStepTypePIPELINESTEPTYPEMMT V1PipelineStepType = "PIPELINE_STEP_TYPE_MMT"
)

func NewV1PipelineStepType ¶

func NewV1PipelineStepType(value V1PipelineStepType) *V1PipelineStepType

func (V1PipelineStepType) ContextValidate ¶

func (m V1PipelineStepType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 pipeline step type based on context it is used

func (V1PipelineStepType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1PipelineStepType.

func (V1PipelineStepType) Validate ¶

func (m V1PipelineStepType) Validate(formats strfmt.Registry) error

Validate validates this v1 pipeline step type

type V1Plugin ¶

type V1Plugin struct {

	// additional info
	AdditionalInfo string `json:"additionalInfo,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// plugin Id
	PluginID string `json:"pluginId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// state
	State string `json:"state,omitempty"`
}

V1Plugin v1 plugin

swagger:model v1Plugin

func (*V1Plugin) ContextValidate ¶

func (m *V1Plugin) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 plugin based on context it is used

func (*V1Plugin) MarshalBinary ¶

func (m *V1Plugin) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Plugin) UnmarshalBinary ¶

func (m *V1Plugin) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Plugin) Validate ¶

func (m *V1Plugin) Validate(formats strfmt.Registry) error

Validate validates this v1 plugin

type V1PluginsListResponse ¶

type V1PluginsListResponse struct {

	// plugins
	Plugins map[string]string `json:"plugins,omitempty"`
}

V1PluginsListResponse v1 plugins list response

swagger:model v1PluginsListResponse

func (*V1PluginsListResponse) ContextValidate ¶

func (m *V1PluginsListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 plugins list response based on context it is used

func (*V1PluginsListResponse) MarshalBinary ¶

func (m *V1PluginsListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PluginsListResponse) UnmarshalBinary ¶

func (m *V1PluginsListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PluginsListResponse) Validate ¶

func (m *V1PluginsListResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 plugins list response

type V1PortForwardRule ¶

type V1PortForwardRule struct {

	// Port on the host (external port)
	HostPort int32 `json:"hostPort,omitempty"`

	// Name of the service (optional, but can be 'docker', 'jupyterlab', 'vscode', etc.)
	Name string `json:"name,omitempty"`

	// Port of the VM (internal port), for example nginx 80
	VMPort int32 `json:"vmPort,omitempty"`
}

V1PortForwardRule PortForwardRule is a service provided by our hypervisor agent that exposes a port of the VM to the host, for example 2 users running nginx on port 80 on their individual VMs would clash in the same baremetal host, so we need to forward the port to the host and expose it to the user. User A nginx 80 could become port 20080 on the host User B nginx 80 could become port 20081 on the host

swagger:model v1PortForwardRule

func (*V1PortForwardRule) ContextValidate ¶

func (m *V1PortForwardRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 port forward rule based on context it is used

func (*V1PortForwardRule) MarshalBinary ¶

func (m *V1PortForwardRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PortForwardRule) UnmarshalBinary ¶

func (m *V1PortForwardRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PortForwardRule) Validate ¶

func (m *V1PortForwardRule) Validate(formats strfmt.Registry) error

Validate validates this v1 port forward rule

type V1PortOverrides ¶

type V1PortOverrides struct {

	// jupyterlab port
	JupyterlabPort int64 `json:"jupyterlabPort,omitempty"`

	// ssh host port
	SSHHostPort int64 `json:"sshHostPort,omitempty"`

	// ssh vscode port external
	SSHVscodePortExternal int64 `json:"sshVscodePortExternal,omitempty"`

	// ssh vscode port internal
	SSHVscodePortInternal int64 `json:"sshVscodePortInternal,omitempty"`

	// vscode port
	VscodePort int64 `json:"vscodePort,omitempty"`
}

V1PortOverrides v1 port overrides

swagger:model v1PortOverrides

func (*V1PortOverrides) ContextValidate ¶

func (m *V1PortOverrides) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 port overrides based on context it is used

func (*V1PortOverrides) MarshalBinary ¶

func (m *V1PortOverrides) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PortOverrides) UnmarshalBinary ¶

func (m *V1PortOverrides) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PortOverrides) Validate ¶

func (m *V1PortOverrides) Validate(formats strfmt.Registry) error

Validate validates this v1 port overrides

type V1Project ¶

type V1Project struct {

	// abac enabled
	AbacEnabled bool `json:"abacEnabled,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// creator Id
	CreatorID string `json:"creatorId,omitempty"`

	// current storage bytes
	CurrentStorageBytes string `json:"currentStorageBytes,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// Free bytes (unbilled) for the project
	FreeStorageBytes string `json:"freeStorageBytes,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// The creator is not allowed to leave or delete the project and can only be removed by leaving / being removed from the organization
	IsDefault bool `json:"isDefault,omitempty"`

	// layout config
	LayoutConfig []*V1ProjectTab `json:"layoutConfig"`

	// Lock out uploads
	LockOutUploads bool `json:"lockOutUploads,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// number of files uploads
	NumberOfFilesUploads string `json:"numberOfFilesUploads,omitempty"`

	// owner Id
	OwnerID string `json:"ownerId,omitempty"`

	// owner type
	OwnerType *V1OwnerType `json:"ownerType,omitempty"`

	// private
	Private bool `json:"private,omitempty"`

	// project settings
	ProjectSettings *V1ProjectSettings `json:"projectSettings,omitempty"`

	// quotas
	Quotas *V1Quotas `json:"quotas,omitempty"`

	// requires uploads sync
	RequiresUploadsSync bool `json:"requiresUploadsSync,omitempty"`

	// total size uploads bytes
	TotalSizeUploadsBytes string `json:"totalSizeUploadsBytes,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

V1Project v1 project

swagger:model v1Project

func (*V1Project) ContextValidate ¶

func (m *V1Project) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 project based on the context it is used

func (*V1Project) MarshalBinary ¶

func (m *V1Project) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Project) UnmarshalBinary ¶

func (m *V1Project) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Project) Validate ¶

func (m *V1Project) Validate(formats strfmt.Registry) error

Validate validates this v1 project

type V1ProjectClusterBinding ¶

type V1ProjectClusterBinding struct {

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// cluster name
	ClusterName string `json:"clusterName,omitempty"`

	// cluster region
	ClusterRegion string `json:"clusterRegion,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// is cluster healthy
	IsClusterHealthy bool `json:"isClusterHealthy,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// key for the storage cluster's service account
	SaKey string `json:"saKey,omitempty"`

	// when the service account key was created
	// Format: date-time
	SaKeyCreatedAt strfmt.DateTime `json:"saKeyCreatedAt,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

V1ProjectClusterBinding v1 project cluster binding

swagger:model v1ProjectClusterBinding

func (*V1ProjectClusterBinding) ContextValidate ¶

func (m *V1ProjectClusterBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 project cluster binding based on context it is used

func (*V1ProjectClusterBinding) MarshalBinary ¶

func (m *V1ProjectClusterBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ProjectClusterBinding) UnmarshalBinary ¶

func (m *V1ProjectClusterBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ProjectClusterBinding) Validate ¶

func (m *V1ProjectClusterBinding) Validate(formats strfmt.Registry) error

Validate validates this v1 project cluster binding

type V1ProjectMembership ¶

type V1ProjectMembership struct {

	// avatar Url
	AvatarURL string `json:"avatarUrl,omitempty"`

	// $
	Balance float64 `json:"balance,omitempty"`

	// Whether or not to charge the project account
	BudgetingEnabled bool `json:"budgetingEnabled,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// creator Id
	CreatorID string `json:"creatorId,omitempty"`

	// current storage bytes
	CurrentStorageBytes string `json:"currentStorageBytes,omitempty"`

	// Project stats
	DatastoreCount string `json:"datastoreCount,omitempty"`

	// Project description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// first name
	FirstName string `json:"firstName,omitempty"`

	// free credits enabled
	FreeCreditsEnabled bool `json:"freeCreditsEnabled,omitempty"`

	// free storage bytes
	FreeStorageBytes string `json:"freeStorageBytes,omitempty"`

	// inactive
	Inactive bool `json:"inactive,omitempty"`

	// The creator is not allowed to leave or delete the project and can only be removed by leaving / being removed from the organization
	IsDefault bool `json:"isDefault,omitempty"`

	// job count
	JobCount string `json:"jobCount,omitempty"`

	// job title
	JobTitle string `json:"jobTitle,omitempty"`

	// last name
	LastName string `json:"lastName,omitempty"`

	// membership count
	MembershipCount string `json:"membershipCount,omitempty"`

	// Project name
	Name string `json:"name,omitempty"`

	// Next free credits granting date (if enabled and all granting confitions are satisfied)
	NextFreeCreditsGrant string `json:"nextFreeCreditsGrant,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`

	// owner Id
	OwnerID string `json:"ownerId,omitempty"`

	// owner type
	OwnerType *V1OwnerType `json:"ownerType,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// quotas
	Quotas *V1Quotas `json:"quotas,omitempty"`

	// Roles that the current user has in this project
	Roles []*V1Role `json:"roles"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

V1ProjectMembership ProjectMembership

swagger:model v1ProjectMembership

func (*V1ProjectMembership) ContextValidate ¶

func (m *V1ProjectMembership) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 project membership based on the context it is used

func (*V1ProjectMembership) MarshalBinary ¶

func (m *V1ProjectMembership) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ProjectMembership) UnmarshalBinary ¶

func (m *V1ProjectMembership) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ProjectMembership) Validate ¶

func (m *V1ProjectMembership) Validate(formats strfmt.Registry) error

Validate validates this v1 project membership

type V1ProjectMembershipRoleBinding ¶

type V1ProjectMembershipRoleBinding struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// inactive
	Inactive bool `json:"inactive,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// role Id
	RoleID string `json:"roleId,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1ProjectMembershipRoleBinding v1 project membership role binding

swagger:model v1ProjectMembershipRoleBinding

func (*V1ProjectMembershipRoleBinding) ContextValidate ¶

func (m *V1ProjectMembershipRoleBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 project membership role binding based on context it is used

func (*V1ProjectMembershipRoleBinding) MarshalBinary ¶

func (m *V1ProjectMembershipRoleBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ProjectMembershipRoleBinding) UnmarshalBinary ¶

func (m *V1ProjectMembershipRoleBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ProjectMembershipRoleBinding) Validate ¶

func (m *V1ProjectMembershipRoleBinding) Validate(formats strfmt.Registry) error

Validate validates this v1 project membership role binding

type V1ProjectMembershipSortBy ¶

type V1ProjectMembershipSortBy string

V1ProjectMembershipSortBy v1 project membership sort by

swagger:model v1ProjectMembershipSortBy

const (

	// V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYUNSPECIFIED captures enum value "PROJECT_MEMBERSHIP_SORT_BY_UNSPECIFIED"
	V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYUNSPECIFIED V1ProjectMembershipSortBy = "PROJECT_MEMBERSHIP_SORT_BY_UNSPECIFIED"

	// V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYUSERNAME captures enum value "PROJECT_MEMBERSHIP_SORT_BY_USERNAME"
	V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYUSERNAME V1ProjectMembershipSortBy = "PROJECT_MEMBERSHIP_SORT_BY_USERNAME"

	// V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYTITLE captures enum value "PROJECT_MEMBERSHIP_SORT_BY_TITLE"
	V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYTITLE V1ProjectMembershipSortBy = "PROJECT_MEMBERSHIP_SORT_BY_TITLE"

	// V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYROLE captures enum value "PROJECT_MEMBERSHIP_SORT_BY_ROLE"
	V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYROLE V1ProjectMembershipSortBy = "PROJECT_MEMBERSHIP_SORT_BY_ROLE"

	// V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYEMAIL captures enum value "PROJECT_MEMBERSHIP_SORT_BY_EMAIL"
	V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYEMAIL V1ProjectMembershipSortBy = "PROJECT_MEMBERSHIP_SORT_BY_EMAIL"

	// V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYFIRSTNAME captures enum value "PROJECT_MEMBERSHIP_SORT_BY_FIRST_NAME"
	V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYFIRSTNAME V1ProjectMembershipSortBy = "PROJECT_MEMBERSHIP_SORT_BY_FIRST_NAME"

	// V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYLASTNAME captures enum value "PROJECT_MEMBERSHIP_SORT_BY_LAST_NAME"
	V1ProjectMembershipSortByPROJECTMEMBERSHIPSORTBYLASTNAME V1ProjectMembershipSortBy = "PROJECT_MEMBERSHIP_SORT_BY_LAST_NAME"
)

func (V1ProjectMembershipSortBy) ContextValidate ¶

func (m V1ProjectMembershipSortBy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 project membership sort by based on context it is used

func (V1ProjectMembershipSortBy) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1ProjectMembershipSortBy.

func (V1ProjectMembershipSortBy) Validate ¶

func (m V1ProjectMembershipSortBy) Validate(formats strfmt.Registry) error

Validate validates this v1 project membership sort by

type V1ProjectMembershipSortOrder ¶

type V1ProjectMembershipSortOrder string

V1ProjectMembershipSortOrder v1 project membership sort order

swagger:model v1ProjectMembershipSortOrder

const (

	// V1ProjectMembershipSortOrderPROJECTMEMBERSHIPSORTORDERUNSPECIFIED captures enum value "PROJECT_MEMBERSHIP_SORT_ORDER_UNSPECIFIED"
	V1ProjectMembershipSortOrderPROJECTMEMBERSHIPSORTORDERUNSPECIFIED V1ProjectMembershipSortOrder = "PROJECT_MEMBERSHIP_SORT_ORDER_UNSPECIFIED"

	// V1ProjectMembershipSortOrderPROJECTMEMBERSHIPSORTORDERASCENDING captures enum value "PROJECT_MEMBERSHIP_SORT_ORDER_ASCENDING"
	V1ProjectMembershipSortOrderPROJECTMEMBERSHIPSORTORDERASCENDING V1ProjectMembershipSortOrder = "PROJECT_MEMBERSHIP_SORT_ORDER_ASCENDING"

	// V1ProjectMembershipSortOrderPROJECTMEMBERSHIPSORTORDERDESCENDING captures enum value "PROJECT_MEMBERSHIP_SORT_ORDER_DESCENDING"
	V1ProjectMembershipSortOrderPROJECTMEMBERSHIPSORTORDERDESCENDING V1ProjectMembershipSortOrder = "PROJECT_MEMBERSHIP_SORT_ORDER_DESCENDING"
)

func (V1ProjectMembershipSortOrder) ContextValidate ¶

func (m V1ProjectMembershipSortOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 project membership sort order based on context it is used

func (V1ProjectMembershipSortOrder) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1ProjectMembershipSortOrder.

func (V1ProjectMembershipSortOrder) Validate ¶

func (m V1ProjectMembershipSortOrder) Validate(formats strfmt.Registry) error

Validate validates this v1 project membership sort order

type V1ProjectResourceTag ¶

type V1ProjectResourceTag struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

V1ProjectResourceTag v1 project resource tag

swagger:model v1ProjectResourceTag

func (*V1ProjectResourceTag) ContextValidate ¶

func (m *V1ProjectResourceTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 project resource tag based on context it is used

func (*V1ProjectResourceTag) MarshalBinary ¶

func (m *V1ProjectResourceTag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ProjectResourceTag) UnmarshalBinary ¶

func (m *V1ProjectResourceTag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ProjectResourceTag) Validate ¶

func (m *V1ProjectResourceTag) Validate(formats strfmt.Registry) error

Validate validates this v1 project resource tag

type V1ProjectSettings ¶

type V1ProjectSettings struct {

	// allow aws saas
	AllowAwsSaas bool `json:"allowAwsSaas,omitempty"`

	// Allows teamspace admins to configure credits auto refill
	AllowCreditsAutoReplenish bool `json:"allowCreditsAutoReplenish,omitempty"`

	// allow dgx saas
	AllowDgxSaas bool `json:"allowDgxSaas,omitempty"`

	// Allows teamspace admins to configure whether or not they want members to be able to duplicate studios
	// without admin intervention.
	AllowExternalProjectDuplication bool `json:"allowExternalProjectDuplication,omitempty"`

	// allow gcp saas
	AllowGcpSaas bool `json:"allowGcpSaas,omitempty"`

	// allow lambda saas
	AllowLambdaSaas bool `json:"allowLambdaSaas,omitempty"`

	// allow lightning saas
	AllowLightningSaas bool `json:"allowLightningSaas,omitempty"`

	// allow nebius saas
	AllowNebiusSaas bool `json:"allowNebiusSaas,omitempty"`

	// allow voltage park saas
	AllowVoltageParkSaas bool `json:"allowVoltageParkSaas,omitempty"`

	// allow vultr saas
	AllowVultrSaas bool `json:"allowVultrSaas,omitempty"`

	// auto replenish amount
	AutoReplenishAmount float32 `json:"autoReplenishAmount,omitempty"`

	// auto replenish threshold
	AutoReplenishThreshold float32 `json:"autoReplenishThreshold,omitempty"`

	// auto switch machine
	AutoSwitchMachine bool `json:"autoSwitchMachine,omitempty"`

	// Whether or not to charge the project account
	BudgetingEnabled bool `json:"budgetingEnabled,omitempty"`

	// User-defined tags applied to all of the teamspace's compute resources.
	// Overrides cluster-level custom tags on key collisions.
	CustomTags []*V1ProjectResourceTag `json:"customTags"`

	// default machine image version
	DefaultMachineImageVersion string `json:"defaultMachineImageVersion,omitempty"`

	// default machine type
	DefaultMachineType string `json:"defaultMachineType,omitempty"`

	// preferred cluster
	PreferredCluster string `json:"preferredCluster,omitempty"`

	// preferred deployment provider
	PreferredDeploymentProvider string `json:"preferredDeploymentProvider,omitempty"`

	// preferred studio provider
	PreferredStudioProvider string `json:"preferredStudioProvider,omitempty"`

	// Defines whether to save a compute config settings for resuming a CloudSpace
	SameComputeOnResume bool `json:"sameComputeOnResume,omitempty"`

	// start studio on spot instance
	StartStudioOnSpotInstance bool `json:"startStudioOnSpotInstance,omitempty"`

	// switch to default machine on idle
	SwitchToDefaultMachineOnIdle bool `json:"switchToDefaultMachineOnIdle,omitempty"`
}

V1ProjectSettings v1 project settings

swagger:model v1ProjectSettings

func (*V1ProjectSettings) ContextValidate ¶

func (m *V1ProjectSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 project settings based on the context it is used

func (*V1ProjectSettings) MarshalBinary ¶

func (m *V1ProjectSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ProjectSettings) UnmarshalBinary ¶

func (m *V1ProjectSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ProjectSettings) Validate ¶

func (m *V1ProjectSettings) Validate(formats strfmt.Registry) error

Validate validates this v1 project settings

type V1ProjectTab ¶

type V1ProjectTab struct {

	// is enabled
	IsEnabled bool `json:"isEnabled,omitempty"`

	// slug
	Slug string `json:"slug,omitempty"`
}

V1ProjectTab ProjectTab represents a tab configuration for project layout

swagger:model v1ProjectTab

func (*V1ProjectTab) ContextValidate ¶

func (m *V1ProjectTab) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 project tab based on context it is used

func (*V1ProjectTab) MarshalBinary ¶

func (m *V1ProjectTab) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ProjectTab) UnmarshalBinary ¶

func (m *V1ProjectTab) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ProjectTab) Validate ¶

func (m *V1ProjectTab) Validate(formats strfmt.Registry) error

Validate validates this v1 project tab

type V1PromoOverlay ¶

type V1PromoOverlay struct {

	// When the promo window closes
	// Format: date-time
	EndsAt strfmt.DateTime `json:"endsAt,omitempty"`

	// Human-readable campaign name, e.g. "GPU Drop"
	Label string `json:"label,omitempty"`

	// billing.promo_prices.id (for analytics)
	PromoID string `json:"promoId,omitempty"`
}

V1PromoOverlay PromoOverlay describes the active GPU promo campaign behind a discounted price. Used by the UI to render the strikethrough catalog price, the promo label, and a countdown to the campaign end.

swagger:model v1PromoOverlay

func (*V1PromoOverlay) ContextValidate ¶

func (m *V1PromoOverlay) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 promo overlay based on context it is used

func (*V1PromoOverlay) MarshalBinary ¶

func (m *V1PromoOverlay) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PromoOverlay) UnmarshalBinary ¶

func (m *V1PromoOverlay) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PromoOverlay) Validate ¶

func (m *V1PromoOverlay) Validate(formats strfmt.Registry) error

Validate validates this v1 promo overlay

type V1PublishCloudSpaceResponse ¶

type V1PublishCloudSpaceResponse any

V1PublishCloudSpaceResponse v1 publish cloud space response

swagger:model v1PublishCloudSpaceResponse

type V1PublishedCloudSpaceResponse ¶

type V1PublishedCloudSpaceResponse struct {

	// about page has content
	AboutPageHasContent bool `json:"aboutPageHasContent,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// creation timestamp
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// engagement counts
	EngagementCounts map[string]string `json:"engagementCounts,omitempty"`

	// featured
	Featured bool `json:"featured,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project owner Id
	ProjectOwnerID string `json:"projectOwnerId,omitempty"`

	// project owner name
	ProjectOwnerName string `json:"projectOwnerName,omitempty"`

	// project owner type
	ProjectOwnerType *V1OwnerType `json:"projectOwnerType,omitempty"`

	// published at
	// Format: date-time
	PublishedAt strfmt.DateTime `json:"publishedAt,omitempty"`

	// studio creator avatar Url
	StudioCreatorAvatarURL string `json:"studioCreatorAvatarUrl,omitempty"`

	// studio creator first name
	StudioCreatorFirstName string `json:"studioCreatorFirstName,omitempty"`

	// studio creator Id
	StudioCreatorID string `json:"studioCreatorId,omitempty"`

	// studio creator last name
	StudioCreatorLastName string `json:"studioCreatorLastName,omitempty"`

	// studio creator username
	StudioCreatorUsername string `json:"studioCreatorUsername,omitempty"`

	// tags
	Tags []*V1ResourceTag `json:"tags"`

	// thumbnail Url
	ThumbnailURL string `json:"thumbnailUrl,omitempty"`
}

V1PublishedCloudSpaceResponse v1 published cloud space response

swagger:model v1PublishedCloudSpaceResponse

func (*V1PublishedCloudSpaceResponse) ContextValidate ¶

func (m *V1PublishedCloudSpaceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 published cloud space response based on the context it is used

func (*V1PublishedCloudSpaceResponse) MarshalBinary ¶

func (m *V1PublishedCloudSpaceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PublishedCloudSpaceResponse) UnmarshalBinary ¶

func (m *V1PublishedCloudSpaceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PublishedCloudSpaceResponse) Validate ¶

func (m *V1PublishedCloudSpaceResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 published cloud space response

type V1PurchaseCapacityBlockResponse ¶

type V1PurchaseCapacityBlockResponse struct {

	// capacity block Id
	CapacityBlockID string `json:"capacityBlockId,omitempty"`

	// fee
	Fee float64 `json:"fee,omitempty"`

	// purchased
	Purchased bool `json:"purchased,omitempty"`
}

V1PurchaseCapacityBlockResponse v1 purchase capacity block response

swagger:model v1PurchaseCapacityBlockResponse

func (*V1PurchaseCapacityBlockResponse) ContextValidate ¶

func (m *V1PurchaseCapacityBlockResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 purchase capacity block response based on context it is used

func (*V1PurchaseCapacityBlockResponse) MarshalBinary ¶

func (m *V1PurchaseCapacityBlockResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PurchaseCapacityBlockResponse) UnmarshalBinary ¶

func (m *V1PurchaseCapacityBlockResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PurchaseCapacityBlockResponse) Validate ¶

Validate validates this v1 purchase capacity block response

type V1PythonDependencyInfo ¶

type V1PythonDependencyInfo struct {

	// Only pip is supported for now
	PackageManager *V1PackageManager `json:"packageManager,omitempty"`

	// all the pip installable packages as a single string - this will
	// be executed as `pip install <this-whole-string>`
	Packages string `json:"packages,omitempty"`
}

V1PythonDependencyInfo v1 python dependency info

swagger:model v1PythonDependencyInfo

func (*V1PythonDependencyInfo) ContextValidate ¶

func (m *V1PythonDependencyInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 python dependency info based on the context it is used

func (*V1PythonDependencyInfo) MarshalBinary ¶

func (m *V1PythonDependencyInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PythonDependencyInfo) UnmarshalBinary ¶

func (m *V1PythonDependencyInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PythonDependencyInfo) Validate ¶

func (m *V1PythonDependencyInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 python dependency info

type V1QueryParam ¶

type V1QueryParam struct {

	// description
	Description string `json:"description,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

V1QueryParam v1 query param

swagger:model v1QueryParam

func (*V1QueryParam) ContextValidate ¶

func (m *V1QueryParam) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 query param based on context it is used

func (*V1QueryParam) MarshalBinary ¶

func (m *V1QueryParam) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1QueryParam) UnmarshalBinary ¶

func (m *V1QueryParam) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1QueryParam) Validate ¶

func (m *V1QueryParam) Validate(formats strfmt.Registry) error

Validate validates this v1 query param

type V1QueueServerType ¶

type V1QueueServerType string

V1QueueServerType - QUEUE_SERVER_TYPE_REDIS: if the Queue server is the Redis deployment per each app

  • QUEUE_SERVER_TYPE_HTTP: if the Queue server is the HTTP server that is centralized

swagger:model v1QueueServerType

const (

	// V1QueueServerTypeQUEUESERVERTYPEUNSPECIFIED captures enum value "QUEUE_SERVER_TYPE_UNSPECIFIED"
	V1QueueServerTypeQUEUESERVERTYPEUNSPECIFIED V1QueueServerType = "QUEUE_SERVER_TYPE_UNSPECIFIED"

	// V1QueueServerTypeQUEUESERVERTYPEREDIS captures enum value "QUEUE_SERVER_TYPE_REDIS"
	V1QueueServerTypeQUEUESERVERTYPEREDIS V1QueueServerType = "QUEUE_SERVER_TYPE_REDIS"

	// V1QueueServerTypeQUEUESERVERTYPEHTTP captures enum value "QUEUE_SERVER_TYPE_HTTP"
	V1QueueServerTypeQUEUESERVERTYPEHTTP V1QueueServerType = "QUEUE_SERVER_TYPE_HTTP"
)

func NewV1QueueServerType ¶

func NewV1QueueServerType(value V1QueueServerType) *V1QueueServerType

func (V1QueueServerType) ContextValidate ¶

func (m V1QueueServerType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 queue server type based on context it is used

func (V1QueueServerType) Pointer ¶

func (m V1QueueServerType) Pointer() *V1QueueServerType

Pointer returns a pointer to a freshly-allocated V1QueueServerType.

func (V1QueueServerType) Validate ¶

func (m V1QueueServerType) Validate(formats strfmt.Registry) error

Validate validates this v1 queue server type

type V1Quotas ¶

type V1Quotas struct {

	// free storage bytes
	FreeStorageBytes string `json:"freeStorageBytes,omitempty"`

	// max frontends per lightning app
	MaxFrontendsPerLightningApp string `json:"maxFrontendsPerLightningApp,omitempty"`

	// max lightning app releases
	MaxLightningAppReleases string `json:"maxLightningAppReleases,omitempty"`

	// max lightning apps
	MaxLightningApps string `json:"maxLightningApps,omitempty"`

	// max lightning works
	MaxLightningWorks string `json:"maxLightningWorks,omitempty"`

	// max running default lightning works per app
	MaxRunningDefaultLightningWorksPerApp string `json:"maxRunningDefaultLightningWorksPerApp,omitempty"`

	// max running lightning apps
	MaxRunningLightningApps string `json:"maxRunningLightningApps,omitempty"`

	// max running lightning works
	MaxRunningLightningWorks string `json:"maxRunningLightningWorks,omitempty"`
}

V1Quotas v1 quotas

swagger:model v1Quotas

func (*V1Quotas) ContextValidate ¶

func (m *V1Quotas) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 quotas based on context it is used

func (*V1Quotas) MarshalBinary ¶

func (m *V1Quotas) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Quotas) UnmarshalBinary ¶

func (m *V1Quotas) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Quotas) Validate ¶

func (m *V1Quotas) Validate(formats strfmt.Registry) error

Validate validates this v1 quotas

type V1R2DataConnection ¶

type V1R2DataConnection struct {

	// Access key ID for S3-compatible clients
	AccessKeyID string `json:"accessKeyId,omitempty"`

	// Cloudflare account ID (needed to get endpoint for S3-compatible clients)
	AccountID string `json:"accountId,omitempty"`

	// ID of the connection access credentials secret (credentials will be stored in secrets)
	CredentialID string `json:"credentialId,omitempty"`

	// Connection endpoint to use in S3-compatible clients, can be passed instead of account ID
	Endpoint string `json:"endpoint,omitempty"`

	// Display name of the data connection
	Name string `json:"name,omitempty"`

	// On creation, either token or secret access key must be provided
	SecretAccessKey string `json:"secretAccessKey,omitempty"`

	// Source (bucket name)
	Source string `json:"source,omitempty"`

	// On creation, either token or secret access key must be provided
	TokenValue string `json:"tokenValue,omitempty"`
}

V1R2DataConnection v1 r2 data connection

swagger:model v1R2DataConnection

func (*V1R2DataConnection) ContextValidate ¶

func (m *V1R2DataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 r2 data connection based on context it is used

func (*V1R2DataConnection) MarshalBinary ¶

func (m *V1R2DataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1R2DataConnection) UnmarshalBinary ¶

func (m *V1R2DataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1R2DataConnection) Validate ¶

func (m *V1R2DataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 r2 data connection

type V1RafayDirectV1 ¶

type V1RafayDirectV1 struct {

	// api key
	APIKey string `json:"apiKey,omitempty"`

	// API URL - is per cluster
	APIURL string `json:"apiUrl,omitempty"`

	// ID of the secret that contains the Rafay API key.
	CredentialsSecretID string `json:"credentialsSecretId,omitempty"`

	// Primary region stores user's code and data
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// Rafay project ID
	ProjectID string `json:"projectId,omitempty"`

	// We deploy the bare bones infrastructure into every region
	Regions []string `json:"regions"`

	// Rafay workspace
	Workspace string `json:"workspace,omitempty"`
}

V1RafayDirectV1 v1 rafay direct v1

swagger:model v1RafayDirectV1

func (*V1RafayDirectV1) ContextValidate ¶

func (m *V1RafayDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 rafay direct v1 based on context it is used

func (*V1RafayDirectV1) MarshalBinary ¶

func (m *V1RafayDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1RafayDirectV1) UnmarshalBinary ¶

func (m *V1RafayDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1RafayDirectV1) Validate ¶

func (m *V1RafayDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 rafay direct v1

type V1RefreshPathResponse ¶

type V1RefreshPathResponse any

V1RefreshPathResponse v1 refresh path response

swagger:model v1RefreshPathResponse

type V1RegionState ¶

type V1RegionState string

V1RegionState v1 region state

swagger:model v1RegionState

const (

	// V1RegionStateREGIONSTATEUNSPECIFIED captures enum value "REGION_STATE_UNSPECIFIED"
	V1RegionStateREGIONSTATEUNSPECIFIED V1RegionState = "REGION_STATE_UNSPECIFIED"

	// V1RegionStateREGIONSTATEPENDING captures enum value "REGION_STATE_PENDING"
	V1RegionStateREGIONSTATEPENDING V1RegionState = "REGION_STATE_PENDING"

	// V1RegionStateREGIONSTATECOMPLETED captures enum value "REGION_STATE_COMPLETED"
	V1RegionStateREGIONSTATECOMPLETED V1RegionState = "REGION_STATE_COMPLETED"

	// V1RegionStateREGIONSTATEFAILED captures enum value "REGION_STATE_FAILED"
	V1RegionStateREGIONSTATEFAILED V1RegionState = "REGION_STATE_FAILED"
)

func NewV1RegionState ¶

func NewV1RegionState(value V1RegionState) *V1RegionState

func (V1RegionState) ContextValidate ¶

func (m V1RegionState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 region state based on context it is used

func (V1RegionState) Pointer ¶

func (m V1RegionState) Pointer() *V1RegionState

Pointer returns a pointer to a freshly-allocated V1RegionState.

func (V1RegionState) Validate ¶

func (m V1RegionState) Validate(formats strfmt.Registry) error

Validate validates this v1 region state

type V1RegionalLoadBalancer ¶

type V1RegionalLoadBalancer struct {

	// dns name
	DNSName string `json:"dnsName,omitempty"`

	// region
	Region string `json:"region,omitempty"`
}

V1RegionalLoadBalancer v1 regional load balancer

swagger:model v1RegionalLoadBalancer

func (*V1RegionalLoadBalancer) ContextValidate ¶

func (m *V1RegionalLoadBalancer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 regional load balancer based on context it is used

func (*V1RegionalLoadBalancer) MarshalBinary ¶

func (m *V1RegionalLoadBalancer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1RegionalLoadBalancer) UnmarshalBinary ¶

func (m *V1RegionalLoadBalancer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1RegionalLoadBalancer) Validate ¶

func (m *V1RegionalLoadBalancer) Validate(formats strfmt.Registry) error

Validate validates this v1 regional load balancer

type V1ReloadDeploymentWeightsResponse ¶

type V1ReloadDeploymentWeightsResponse struct {

	// "in_place" or "restart"
	ReloadType string `json:"reloadType,omitempty"`

	// weight version
	WeightVersion string `json:"weightVersion,omitempty"`
}

V1ReloadDeploymentWeightsResponse v1 reload deployment weights response

swagger:model v1ReloadDeploymentWeightsResponse

func (*V1ReloadDeploymentWeightsResponse) ContextValidate ¶

func (m *V1ReloadDeploymentWeightsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 reload deployment weights response based on context it is used

func (*V1ReloadDeploymentWeightsResponse) MarshalBinary ¶

func (m *V1ReloadDeploymentWeightsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ReloadDeploymentWeightsResponse) UnmarshalBinary ¶

func (m *V1ReloadDeploymentWeightsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ReloadDeploymentWeightsResponse) Validate ¶

Validate validates this v1 reload deployment weights response

type V1RenewSandboxSnapshotCredentialsResponse ¶

type V1RenewSandboxSnapshotCredentialsResponse struct {

	// access key Id
	AccessKeyID string `json:"accessKeyId,omitempty"`

	// blob prefix
	BlobPrefix string `json:"blobPrefix,omitempty"`

	// bucket
	Bucket string `json:"bucket,omitempty"`

	// S3-compatible (R2 today) read credentials scoped to the snapshot's
	// manifest + blob prefix. Same shape the control plane hands the agent at
	// restore time.
	Endpoint string `json:"endpoint,omitempty"`

	// When these credentials expire. The agent refreshes shortly before this.
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expiresAt,omitempty"`

	// manifest key
	ManifestKey string `json:"manifestKey,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// secret access key
	SecretAccessKey string `json:"secretAccessKey,omitempty"`

	// session token
	SessionToken string `json:"sessionToken,omitempty"`
}

V1RenewSandboxSnapshotCredentialsResponse v1 renew sandbox snapshot credentials response

swagger:model v1RenewSandboxSnapshotCredentialsResponse

func (*V1RenewSandboxSnapshotCredentialsResponse) ContextValidate ¶

ContextValidate validates this v1 renew sandbox snapshot credentials response based on context it is used

func (*V1RenewSandboxSnapshotCredentialsResponse) MarshalBinary ¶

func (m *V1RenewSandboxSnapshotCredentialsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1RenewSandboxSnapshotCredentialsResponse) UnmarshalBinary ¶

func (m *V1RenewSandboxSnapshotCredentialsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1RenewSandboxSnapshotCredentialsResponse) Validate ¶

Validate validates this v1 renew sandbox snapshot credentials response

type V1ReportCloudSpaceInstanceIdleStateResponse ¶

type V1ReportCloudSpaceInstanceIdleStateResponse any

V1ReportCloudSpaceInstanceIdleStateResponse v1 report cloud space instance idle state response

swagger:model v1ReportCloudSpaceInstanceIdleStateResponse

type V1ReportCloudSpaceInstanceStopAtResponse ¶

type V1ReportCloudSpaceInstanceStopAtResponse any

V1ReportCloudSpaceInstanceStopAtResponse v1 report cloud space instance stop at response

swagger:model v1ReportCloudSpaceInstanceStopAtResponse

type V1ReportCloudSpaceInstanceSystemMetricsResponse ¶

type V1ReportCloudSpaceInstanceSystemMetricsResponse any

V1ReportCloudSpaceInstanceSystemMetricsResponse v1 report cloud space instance system metrics response

swagger:model v1ReportCloudSpaceInstanceSystemMetricsResponse

type V1ReportDeploymentRoutingTelemetryResponse ¶

type V1ReportDeploymentRoutingTelemetryResponse any

V1ReportDeploymentRoutingTelemetryResponse v1 report deployment routing telemetry response

swagger:model v1ReportDeploymentRoutingTelemetryResponse

type V1ReportJobSystemMetricsResponse ¶

type V1ReportJobSystemMetricsResponse any

V1ReportJobSystemMetricsResponse v1 report job system metrics response

swagger:model v1ReportJobSystemMetricsResponse

type V1ReportLogsActivityResponse ¶

type V1ReportLogsActivityResponse any

V1ReportLogsActivityResponse v1 report logs activity response

swagger:model v1ReportLogsActivityResponse

type V1ReportMachineSystemMetricsResponse ¶

type V1ReportMachineSystemMetricsResponse any

V1ReportMachineSystemMetricsResponse v1 report machine system metrics response

swagger:model v1ReportMachineSystemMetricsResponse

type V1ReportRestartTimingsResponse ¶

type V1ReportRestartTimingsResponse any

V1ReportRestartTimingsResponse v1 report restart timings response

swagger:model v1ReportRestartTimingsResponse

type V1ReportSandboxResourceMetricsResponse ¶

type V1ReportSandboxResourceMetricsResponse any

V1ReportSandboxResourceMetricsResponse v1 report sandbox resource metrics response

swagger:model v1ReportSandboxResourceMetricsResponse

type V1ReportSandboxTerminationResponse ¶

type V1ReportSandboxTerminationResponse any

V1ReportSandboxTerminationResponse v1 report sandbox termination response

swagger:model v1ReportSandboxTerminationResponse

type V1RequestCloudSpaceAccessResponse ¶

type V1RequestCloudSpaceAccessResponse any

V1RequestCloudSpaceAccessResponse v1 request cloud space access response

swagger:model v1RequestCloudSpaceAccessResponse

type V1RequestClusterAccessRequest ¶

type V1RequestClusterAccessRequest struct {

	// cluster IDs to request access
	ClusterIds []string `json:"clusterIds"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`
}

V1RequestClusterAccessRequest v1 request cluster access request

swagger:model v1RequestClusterAccessRequest

func (*V1RequestClusterAccessRequest) ContextValidate ¶

func (m *V1RequestClusterAccessRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 request cluster access request based on context it is used

func (*V1RequestClusterAccessRequest) MarshalBinary ¶

func (m *V1RequestClusterAccessRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1RequestClusterAccessRequest) UnmarshalBinary ¶

func (m *V1RequestClusterAccessRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1RequestClusterAccessRequest) Validate ¶

func (m *V1RequestClusterAccessRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 request cluster access request

type V1RequestClusterAccessResponse ¶

type V1RequestClusterAccessResponse any

V1RequestClusterAccessResponse v1 request cluster access response

swagger:model v1RequestClusterAccessResponse

type V1RequestVerificationCodeResponse ¶

type V1RequestVerificationCodeResponse struct {

	// requested
	Requested bool `json:"requested,omitempty"`
}

V1RequestVerificationCodeResponse v1 request verification code response

swagger:model v1RequestVerificationCodeResponse

func (*V1RequestVerificationCodeResponse) ContextValidate ¶

func (m *V1RequestVerificationCodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 request verification code response based on context it is used

func (*V1RequestVerificationCodeResponse) MarshalBinary ¶

func (m *V1RequestVerificationCodeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1RequestVerificationCodeResponse) UnmarshalBinary ¶

func (m *V1RequestVerificationCodeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1RequestVerificationCodeResponse) Validate ¶

Validate validates this v1 request verification code response

type V1RequiredBalanceReason ¶

type V1RequiredBalanceReason string

V1RequiredBalanceReason v1 required balance reason

swagger:model v1RequiredBalanceReason

const (

	// V1RequiredBalanceReasonREQUIREDBALANCEREASONUNKNOWN captures enum value "REQUIRED_BALANCE_REASON_UNKNOWN"
	V1RequiredBalanceReasonREQUIREDBALANCEREASONUNKNOWN V1RequiredBalanceReason = "REQUIRED_BALANCE_REASON_UNKNOWN"

	// V1RequiredBalanceReasonREQUIREDBALANCEREASONSUFFICIENTFREESTUDIO captures enum value "REQUIRED_BALANCE_REASON_SUFFICIENT_FREE_STUDIO"
	V1RequiredBalanceReasonREQUIREDBALANCEREASONSUFFICIENTFREESTUDIO V1RequiredBalanceReason = "REQUIRED_BALANCE_REASON_SUFFICIENT_FREE_STUDIO"

	// V1RequiredBalanceReasonREQUIREDBALANCEREASONSUFFICIENTCREDITS captures enum value "REQUIRED_BALANCE_REASON_SUFFICIENT_CREDITS"
	V1RequiredBalanceReasonREQUIREDBALANCEREASONSUFFICIENTCREDITS V1RequiredBalanceReason = "REQUIRED_BALANCE_REASON_SUFFICIENT_CREDITS"

	// V1RequiredBalanceReasonREQUIREDBALANCEREASONINSUFFICIENTFREESTUDIORUNNING captures enum value "REQUIRED_BALANCE_REASON_INSUFFICIENT_FREE_STUDIO_RUNNING"
	V1RequiredBalanceReasonREQUIREDBALANCEREASONINSUFFICIENTFREESTUDIORUNNING V1RequiredBalanceReason = "REQUIRED_BALANCE_REASON_INSUFFICIENT_FREE_STUDIO_RUNNING"

	// V1RequiredBalanceReasonREQUIREDBALANCEREASONINSUFFICIENTCREDITS captures enum value "REQUIRED_BALANCE_REASON_INSUFFICIENT_CREDITS"
	V1RequiredBalanceReasonREQUIREDBALANCEREASONINSUFFICIENTCREDITS V1RequiredBalanceReason = "REQUIRED_BALANCE_REASON_INSUFFICIENT_CREDITS"

	// V1RequiredBalanceReasonREQUIREDBALANCEREASONINSUFFICIENTCREDITSSTORAGE captures enum value "REQUIRED_BALANCE_REASON_INSUFFICIENT_CREDITS_STORAGE"
	V1RequiredBalanceReasonREQUIREDBALANCEREASONINSUFFICIENTCREDITSSTORAGE V1RequiredBalanceReason = "REQUIRED_BALANCE_REASON_INSUFFICIENT_CREDITS_STORAGE"
)

func (V1RequiredBalanceReason) ContextValidate ¶

func (m V1RequiredBalanceReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 required balance reason based on context it is used

func (V1RequiredBalanceReason) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1RequiredBalanceReason.

func (V1RequiredBalanceReason) Validate ¶

func (m V1RequiredBalanceReason) Validate(formats strfmt.Registry) error

Validate validates this v1 required balance reason

type V1ReservationDetails ¶

type V1ReservationDetails struct {

	// cost per hour
	CostPerHour float32 `json:"costPerHour,omitempty"`

	// end time
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// display name for the reservation
	Name string `json:"name,omitempty"`

	// start time
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`
}

V1ReservationDetails v1 reservation details

swagger:model v1ReservationDetails

func (*V1ReservationDetails) ContextValidate ¶

func (m *V1ReservationDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 reservation details based on context it is used

func (*V1ReservationDetails) MarshalBinary ¶

func (m *V1ReservationDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ReservationDetails) UnmarshalBinary ¶

func (m *V1ReservationDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ReservationDetails) Validate ¶

func (m *V1ReservationDetails) Validate(formats strfmt.Registry) error

Validate validates this v1 reservation details

type V1ResourceTag ¶

type V1ResourceTag struct {

	// id
	ID string `json:"id,omitempty"`

	// internal
	Internal bool `json:"internal,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

V1ResourceTag v1 resource tag

swagger:model v1ResourceTag

func (*V1ResourceTag) ContextValidate ¶

func (m *V1ResourceTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 resource tag based on context it is used

func (*V1ResourceTag) MarshalBinary ¶

func (m *V1ResourceTag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ResourceTag) UnmarshalBinary ¶

func (m *V1ResourceTag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ResourceTag) Validate ¶

func (m *V1ResourceTag) Validate(formats strfmt.Registry) error

Validate validates this v1 resource tag

type V1ResourceVisibility ¶

type V1ResourceVisibility struct {

	// if true, all users in the org can access
	AllOrgUsers bool `json:"allOrgUsers,omitempty"`

	// if true, all lightning users can access
	AllUsers bool `json:"allUsers,omitempty"`

	// org IDs to share the resource with
	OrgIds []string `json:"orgIds"`

	// list of user IDs that can access the resource
	UserIds []string `json:"userIds"`
}

V1ResourceVisibility v1 resource visibility

swagger:model v1ResourceVisibility

func (*V1ResourceVisibility) ContextValidate ¶

func (m *V1ResourceVisibility) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 resource visibility based on context it is used

func (*V1ResourceVisibility) MarshalBinary ¶

func (m *V1ResourceVisibility) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ResourceVisibility) UnmarshalBinary ¶

func (m *V1ResourceVisibility) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ResourceVisibility) Validate ¶

func (m *V1ResourceVisibility) Validate(formats strfmt.Registry) error

Validate validates this v1 resource visibility

type V1Resources ¶

type V1Resources struct {

	// cpu
	CPU int64 `json:"cpu,omitempty"`

	// deprecated, do not use
	Cpus string `json:"cpus,omitempty"`

	// extra
	Extra map[string]string `json:"extra,omitempty"`

	// gpu
	Gpu int64 `json:"gpu,omitempty"`

	// i.e. nvidia-tesla-t4
	GpuType string `json:"gpuType,omitempty"`

	// disk configuration
	Iops string `json:"iops,omitempty"`

	// memory mb
	MemoryMb string `json:"memoryMb,omitempty"`

	// storage gb
	StorageGb string `json:"storageGb,omitempty"`

	// throughput
	Throughput string `json:"throughput,omitempty"`
}

V1Resources v1 resources

swagger:model v1Resources

func (*V1Resources) ContextValidate ¶

func (m *V1Resources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 resources based on context it is used

func (*V1Resources) MarshalBinary ¶

func (m *V1Resources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Resources) UnmarshalBinary ¶

func (m *V1Resources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Resources) Validate ¶

func (m *V1Resources) Validate(formats strfmt.Registry) error

Validate validates this v1 resources

type V1RestartCloudSpaceInstanceResponse ¶

type V1RestartCloudSpaceInstanceResponse any

V1RestartCloudSpaceInstanceResponse v1 restart cloud space instance response

swagger:model v1RestartCloudSpaceInstanceResponse

type V1RestartTiming ¶

type V1RestartTiming struct {

	// counter
	Counter int64 `json:"counter,omitempty"`

	// The time at which the container has stopped
	// Format: date-time
	End strfmt.DateTime `json:"end,omitempty"`

	// rank
	Rank int64 `json:"rank,omitempty"`

	// The time at which the container has started
	// Format: date-time
	Start strfmt.DateTime `json:"start,omitempty"`
}

V1RestartTiming v1 restart timing

swagger:model v1RestartTiming

func (*V1RestartTiming) ContextValidate ¶

func (m *V1RestartTiming) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 restart timing based on context it is used

func (*V1RestartTiming) MarshalBinary ¶

func (m *V1RestartTiming) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1RestartTiming) UnmarshalBinary ¶

func (m *V1RestartTiming) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1RestartTiming) Validate ¶

func (m *V1RestartTiming) Validate(formats strfmt.Registry) error

Validate validates this v1 restart timing

type V1RestoreDeploymentReleaseResponse ¶

type V1RestoreDeploymentReleaseResponse any

V1RestoreDeploymentReleaseResponse v1 restore deployment release response

swagger:model v1RestoreDeploymentReleaseResponse

type V1Role ¶

type V1Role struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// rules
	Rules []*V1Rule `json:"rules"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

V1Role v1 role

swagger:model v1Role

func (*V1Role) ContextValidate ¶

func (m *V1Role) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 role based on the context it is used

func (*V1Role) MarshalBinary ¶

func (m *V1Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Role) UnmarshalBinary ¶

func (m *V1Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Role) Validate ¶

func (m *V1Role) Validate(formats strfmt.Registry) error

Validate validates this v1 role

type V1RollingUpdateStrategy ¶

type V1RollingUpdateStrategy struct {

	// max surge
	MaxSurge string `json:"maxSurge,omitempty"`

	// max unavailable
	MaxUnavailable string `json:"maxUnavailable,omitempty"`

	// shutdown delay minutes
	ShutdownDelayMinutes int32 `json:"shutdownDelayMinutes,omitempty"`
}

V1RollingUpdateStrategy v1 rolling update strategy

swagger:model v1RollingUpdateStrategy

func (*V1RollingUpdateStrategy) ContextValidate ¶

func (m *V1RollingUpdateStrategy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 rolling update strategy based on context it is used

func (*V1RollingUpdateStrategy) MarshalBinary ¶

func (m *V1RollingUpdateStrategy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1RollingUpdateStrategy) UnmarshalBinary ¶

func (m *V1RollingUpdateStrategy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1RollingUpdateStrategy) Validate ¶

func (m *V1RollingUpdateStrategy) Validate(formats strfmt.Registry) error

Validate validates this v1 rolling update strategy

type V1RoutingTelemetry ¶

type V1RoutingTelemetry struct {

	// Whether the request was captured
	Captured bool `json:"captured,omitempty"`

	// The duration of the request
	Duration float32 `json:"duration,omitempty"`

	// Request ID
	ID string `json:"id,omitempty"`

	// The method of the request
	Method string `json:"method,omitempty"`

	// The path of the request
	Path string `json:"path,omitempty"`

	// When the request was received
	// Format: date-time
	ReceivedAt strfmt.DateTime `json:"receivedAt,omitempty"`

	// The size of the request body
	RequestBodySize float64 `json:"requestBodySize,omitempty"`

	// The resource_id that processed the request
	ResourceID string `json:"resourceId,omitempty"`

	// The size of the response body
	ResponseBodySize float64 `json:"responseBodySize,omitempty"`

	// The status code of the response
	StatusCode int64 `json:"statusCode,omitempty"`
}

V1RoutingTelemetry v1 routing telemetry

swagger:model v1RoutingTelemetry

func (*V1RoutingTelemetry) ContextValidate ¶

func (m *V1RoutingTelemetry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 routing telemetry based on context it is used

func (*V1RoutingTelemetry) MarshalBinary ¶

func (m *V1RoutingTelemetry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1RoutingTelemetry) UnmarshalBinary ¶

func (m *V1RoutingTelemetry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1RoutingTelemetry) Validate ¶

func (m *V1RoutingTelemetry) Validate(formats strfmt.Registry) error

Validate validates this v1 routing telemetry

type V1Rule ¶

type V1Rule struct {

	// actions
	Actions []*V1RuleAction `json:"actions"`

	// condition
	Condition *V1RuleCondition `json:"condition,omitempty"`

	// effect
	Effect *V1RuleEffect `json:"effect,omitempty"`

	// resources
	Resources []*V1RuleResource `json:"resources"`
}

V1Rule Rule defines role permissions

swagger:model v1Rule

func (*V1Rule) ContextValidate ¶

func (m *V1Rule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 rule based on the context it is used

func (*V1Rule) MarshalBinary ¶

func (m *V1Rule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Rule) UnmarshalBinary ¶

func (m *V1Rule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Rule) Validate ¶

func (m *V1Rule) Validate(formats strfmt.Registry) error

Validate validates this v1 rule

type V1RuleAction ¶

type V1RuleAction string

V1RuleAction - unspecifiedAction: option allow_alias = true;

swagger:model v1RuleAction

const (

	// V1RuleActionUnspecifiedAction captures enum value "unspecifiedAction"
	V1RuleActionUnspecifiedAction V1RuleAction = "unspecifiedAction"

	// V1RuleActionGet captures enum value "get"
	V1RuleActionGet V1RuleAction = "get"

	// V1RuleActionList captures enum value "list"
	V1RuleActionList V1RuleAction = "list"

	// V1RuleActionCreate captures enum value "create"
	V1RuleActionCreate V1RuleAction = "create"

	// V1RuleActionUpdate captures enum value "update"
	V1RuleActionUpdate V1RuleAction = "update"

	// V1RuleActionDelete captures enum value "delete"
	V1RuleActionDelete V1RuleAction = "delete"

	// V1RuleActionSSH captures enum value "ssh"
	V1RuleActionSSH V1RuleAction = "ssh"

	// V1RuleActionViewLogs captures enum value "viewLogs"
	V1RuleActionViewLogs V1RuleAction = "viewLogs"

	// V1RuleActionGetNotified captures enum value "getNotified"
	V1RuleActionGetNotified V1RuleAction = "getNotified"
)

func NewV1RuleAction ¶

func NewV1RuleAction(value V1RuleAction) *V1RuleAction

func (V1RuleAction) ContextValidate ¶

func (m V1RuleAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 rule action based on context it is used

func (V1RuleAction) Pointer ¶

func (m V1RuleAction) Pointer() *V1RuleAction

Pointer returns a pointer to a freshly-allocated V1RuleAction.

func (V1RuleAction) Validate ¶

func (m V1RuleAction) Validate(formats strfmt.Registry) error

Validate validates this v1 rule action

type V1RuleCondition ¶

type V1RuleCondition struct {

	// cloudspace Id
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// resource Id
	ResourceID string `json:"resourceId,omitempty"`

	// resource owner
	ResourceOwner bool `json:"resourceOwner,omitempty"`
}

V1RuleCondition v1 rule condition

swagger:model v1RuleCondition

func (*V1RuleCondition) ContextValidate ¶

func (m *V1RuleCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 rule condition based on context it is used

func (*V1RuleCondition) MarshalBinary ¶

func (m *V1RuleCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1RuleCondition) UnmarshalBinary ¶

func (m *V1RuleCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1RuleCondition) Validate ¶

func (m *V1RuleCondition) Validate(formats strfmt.Registry) error

Validate validates this v1 rule condition

type V1RuleEffect ¶

type V1RuleEffect string

V1RuleEffect v1 rule effect

swagger:model v1RuleEffect

const (

	// V1RuleEffectUnspecifiedEffect captures enum value "unspecifiedEffect"
	V1RuleEffectUnspecifiedEffect V1RuleEffect = "unspecifiedEffect"

	// V1RuleEffectAllow captures enum value "allow"
	V1RuleEffectAllow V1RuleEffect = "allow"

	// V1RuleEffectDeny captures enum value "deny"
	V1RuleEffectDeny V1RuleEffect = "deny"
)

func NewV1RuleEffect ¶

func NewV1RuleEffect(value V1RuleEffect) *V1RuleEffect

func (V1RuleEffect) ContextValidate ¶

func (m V1RuleEffect) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 rule effect based on context it is used

func (V1RuleEffect) Pointer ¶

func (m V1RuleEffect) Pointer() *V1RuleEffect

Pointer returns a pointer to a freshly-allocated V1RuleEffect.

func (V1RuleEffect) Validate ¶

func (m V1RuleEffect) Validate(formats strfmt.Registry) error

Validate validates this v1 rule effect

type V1RuleResource ¶

type V1RuleResource string

V1RuleResource v1 rule resource

swagger:model v1RuleResource

const (

	// V1RuleResourceUnspecifiedResource captures enum value "unspecifiedResource"
	V1RuleResourceUnspecifiedResource V1RuleResource = "unspecifiedResource"

	// V1RuleResourceProject captures enum value "project"
	V1RuleResourceProject V1RuleResource = "project"

	// V1RuleResourceProjectBilling captures enum value "projectBilling"
	V1RuleResourceProjectBilling V1RuleResource = "projectBilling"

	// V1RuleResourceProjectRole captures enum value "projectRole"
	V1RuleResourceProjectRole V1RuleResource = "projectRole"

	// V1RuleResourceProjectMembership captures enum value "projectMembership"
	V1RuleResourceProjectMembership V1RuleResource = "projectMembership"

	// V1RuleResourceProjectMembershipRoleBinding captures enum value "projectMembershipRoleBinding"
	V1RuleResourceProjectMembershipRoleBinding V1RuleResource = "projectMembershipRoleBinding"

	// V1RuleResourceProjectClusterBinding captures enum value "projectClusterBinding"
	V1RuleResourceProjectClusterBinding V1RuleResource = "projectClusterBinding"

	// V1RuleResourceSession captures enum value "session"
	V1RuleResourceSession V1RuleResource = "session"

	// V1RuleResourceExperiment captures enum value "experiment"
	V1RuleResourceExperiment V1RuleResource = "experiment"

	// V1RuleResourceRun captures enum value "run"
	V1RuleResourceRun V1RuleResource = "run"

	// V1RuleResourceDatastore captures enum value "datastore"
	V1RuleResourceDatastore V1RuleResource = "datastore"

	// V1RuleResourceCluster captures enum value "cluster"
	V1RuleResourceCluster V1RuleResource = "cluster"

	// V1RuleResourceLightningApp captures enum value "lightningApp"
	V1RuleResourceLightningApp V1RuleResource = "lightningApp"

	// V1RuleResourceAny captures enum value "any"
	V1RuleResourceAny V1RuleResource = "any"

	// V1RuleResourceSSHKey captures enum value "sshKey"
	V1RuleResourceSSHKey V1RuleResource = "sshKey"

	// V1RuleResourceSecret captures enum value "secret"
	V1RuleResourceSecret V1RuleResource = "secret"

	// V1RuleResourceOrg captures enum value "org"
	V1RuleResourceOrg V1RuleResource = "org"

	// V1RuleResourceOrgRole captures enum value "orgRole"
	V1RuleResourceOrgRole V1RuleResource = "orgRole"

	// V1RuleResourceOrgMembership captures enum value "orgMembership"
	V1RuleResourceOrgMembership V1RuleResource = "orgMembership"

	// V1RuleResourceOrgMembershipRoleBinding captures enum value "orgMembershipRoleBinding"
	V1RuleResourceOrgMembershipRoleBinding V1RuleResource = "orgMembershipRoleBinding"

	// V1RuleResourceOrgBilling captures enum value "orgBilling"
	V1RuleResourceOrgBilling V1RuleResource = "orgBilling"

	// V1RuleResourceOrgBillingTopUp captures enum value "orgBillingTopUp"
	V1RuleResourceOrgBillingTopUp V1RuleResource = "orgBillingTopUp"

	// V1RuleResourceDataConnection captures enum value "dataConnection"
	V1RuleResourceDataConnection V1RuleResource = "dataConnection"

	// V1RuleResourceCloudSpacePublication captures enum value "cloudSpacePublication"
	V1RuleResourceCloudSpacePublication V1RuleResource = "cloudSpacePublication"

	// V1RuleResourceAssistant captures enum value "assistant"
	V1RuleResourceAssistant V1RuleResource = "assistant"

	// V1RuleResourceEndpoint captures enum value "endpoint"
	V1RuleResourceEndpoint V1RuleResource = "endpoint"

	// V1RuleResourceOrgClusterBinding captures enum value "orgClusterBinding"
	V1RuleResourceOrgClusterBinding V1RuleResource = "orgClusterBinding"

	// V1RuleResourceOrgClusterEncryptionKeys captures enum value "orgClusterEncryptionKeys"
	V1RuleResourceOrgClusterEncryptionKeys V1RuleResource = "orgClusterEncryptionKeys"

	// V1RuleResourceCloudSpace captures enum value "cloudSpace"
	V1RuleResourceCloudSpace V1RuleResource = "cloudSpace"

	// V1RuleResourceFeaturedOrgStudioGallery captures enum value "featuredOrgStudioGallery"
	V1RuleResourceFeaturedOrgStudioGallery V1RuleResource = "featuredOrgStudioGallery"

	// V1RuleResourceManagedEndpoint captures enum value "managedEndpoint"
	V1RuleResourceManagedEndpoint V1RuleResource = "managedEndpoint"

	// V1RuleResourceJob captures enum value "job"
	V1RuleResourceJob V1RuleResource = "job"

	// V1RuleResourceDeployment captures enum value "deployment"
	V1RuleResourceDeployment V1RuleResource = "deployment"

	// V1RuleResourceModel captures enum value "model"
	V1RuleResourceModel V1RuleResource = "model"

	// V1RuleResourceSlurmJob captures enum value "slurmJob"
	V1RuleResourceSlurmJob V1RuleResource = "slurmJob"

	// V1RuleResourceMultiMachineJob captures enum value "multiMachineJob"
	V1RuleResourceMultiMachineJob V1RuleResource = "multiMachineJob"

	// V1RuleResourceLitLogger captures enum value "litLogger"
	V1RuleResourceLitLogger V1RuleResource = "litLogger"

	// V1RuleResourcePipeline captures enum value "pipeline"
	V1RuleResourcePipeline V1RuleResource = "pipeline"

	// V1RuleResourceCloudSpaceEnvironmentTemplate captures enum value "cloudSpaceEnvironmentTemplate"
	V1RuleResourceCloudSpaceEnvironmentTemplate V1RuleResource = "cloudSpaceEnvironmentTemplate"

	// V1RuleResourceOrgStorage captures enum value "orgStorage"
	V1RuleResourceOrgStorage V1RuleResource = "orgStorage"

	// V1RuleResourceKubernetesCluster captures enum value "kubernetesCluster"
	V1RuleResourceKubernetesCluster V1RuleResource = "kubernetesCluster"

	// V1RuleResourceStorageTransfer captures enum value "storageTransfer"
	V1RuleResourceStorageTransfer V1RuleResource = "storageTransfer"

	// V1RuleResourceLitDataset captures enum value "litDataset"
	V1RuleResourceLitDataset V1RuleResource = "litDataset"

	// V1RuleResourceUpload captures enum value "upload"
	V1RuleResourceUpload V1RuleResource = "upload"

	// V1RuleResourceMachine captures enum value "machine"
	V1RuleResourceMachine V1RuleResource = "machine"

	// V1RuleResourceKubernetesTemplate captures enum value "kubernetesTemplate"
	V1RuleResourceKubernetesTemplate V1RuleResource = "kubernetesTemplate"

	// V1RuleResourceK8sJob captures enum value "k8s_job"
	V1RuleResourceK8sJob V1RuleResource = "k8s_job"

	// V1RuleResourceSandbox captures enum value "sandbox"
	V1RuleResourceSandbox V1RuleResource = "sandbox"
)

func NewV1RuleResource ¶

func NewV1RuleResource(value V1RuleResource) *V1RuleResource

func (V1RuleResource) ContextValidate ¶

func (m V1RuleResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 rule resource based on context it is used

func (V1RuleResource) Pointer ¶

func (m V1RuleResource) Pointer() *V1RuleResource

Pointer returns a pointer to a freshly-allocated V1RuleResource.

func (V1RuleResource) Validate ¶

func (m V1RuleResource) Validate(formats strfmt.Registry) error

Validate validates this v1 rule resource

type V1S3FolderDataConnection ¶

type V1S3FolderDataConnection struct {

	// The full path of the S3 folder
	Source string `json:"source,omitempty"`
}

V1S3FolderDataConnection v1 s3 folder data connection

swagger:model v1S3FolderDataConnection

func (*V1S3FolderDataConnection) ContextValidate ¶

func (m *V1S3FolderDataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 s3 folder data connection based on context it is used

func (*V1S3FolderDataConnection) MarshalBinary ¶

func (m *V1S3FolderDataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1S3FolderDataConnection) UnmarshalBinary ¶

func (m *V1S3FolderDataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1S3FolderDataConnection) Validate ¶

func (m *V1S3FolderDataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 s3 folder data connection

type V1SandboxResourceMetric ¶

type V1SandboxResourceMetric struct {

	// cpu percentage
	CPUPercentage float32 `json:"cpuPercentage,omitempty"`

	// memory limit bytes
	MemoryLimitBytes string `json:"memoryLimitBytes,omitempty"`

	// memory percentage
	MemoryPercentage float32 `json:"memoryPercentage,omitempty"`

	// memory used bytes
	MemoryUsedBytes string `json:"memoryUsedBytes,omitempty"`

	// num cpus
	NumCpus int64 `json:"numCpus,omitempty"`

	// Agent-local sandbox id (sbx-*), used for cgroup lookup on the host.
	SandboxID string `json:"sandboxId,omitempty"`

	// Control-plane server id (used to resolve org/project/user).
	ServerID string `json:"serverId,omitempty"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

V1SandboxResourceMetric v1 sandbox resource metric

swagger:model v1SandboxResourceMetric

func (*V1SandboxResourceMetric) ContextValidate ¶

func (m *V1SandboxResourceMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 sandbox resource metric based on context it is used

func (*V1SandboxResourceMetric) MarshalBinary ¶

func (m *V1SandboxResourceMetric) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SandboxResourceMetric) UnmarshalBinary ¶

func (m *V1SandboxResourceMetric) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SandboxResourceMetric) Validate ¶

func (m *V1SandboxResourceMetric) Validate(formats strfmt.Registry) error

Validate validates this v1 sandbox resource metric

type V1SchedulableAffinity ¶

type V1SchedulableAffinity struct {

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1SchedulableAffinity v1 schedulable affinity

swagger:model v1SchedulableAffinity

func (*V1SchedulableAffinity) ContextValidate ¶

func (m *V1SchedulableAffinity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 schedulable affinity based on context it is used

func (*V1SchedulableAffinity) MarshalBinary ¶

func (m *V1SchedulableAffinity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SchedulableAffinity) UnmarshalBinary ¶

func (m *V1SchedulableAffinity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SchedulableAffinity) Validate ¶

func (m *V1SchedulableAffinity) Validate(formats strfmt.Registry) error

Validate validates this v1 schedulable affinity

type V1SearchJobLogsResponse ¶

type V1SearchJobLogsResponse struct {

	// entries
	Entries []*V1JobLogEntry `json:"entries"`

	// follow Url
	FollowURL string `json:"followUrl,omitempty"`
}

V1SearchJobLogsResponse v1 search job logs response

swagger:model v1SearchJobLogsResponse

func (*V1SearchJobLogsResponse) ContextValidate ¶

func (m *V1SearchJobLogsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 search job logs response based on the context it is used

func (*V1SearchJobLogsResponse) MarshalBinary ¶

func (m *V1SearchJobLogsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SearchJobLogsResponse) UnmarshalBinary ¶

func (m *V1SearchJobLogsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SearchJobLogsResponse) Validate ¶

func (m *V1SearchJobLogsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 search job logs response

type V1SearchUser ¶

type V1SearchUser struct {

	// auth provider
	AuthProvider string `json:"authProvider,omitempty"`

	// country
	Country string `json:"country,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// first name
	FirstName string `json:"firstName,omitempty"`

	// user id
	ID string `json:"id,omitempty"`

	// internal
	Internal bool `json:"internal,omitempty"`

	// last name
	LastName string `json:"lastName,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`

	// profile picture
	PictureURL string `json:"pictureUrl,omitempty"`

	// Project memberships are needed to fetch resources (like Lightning apps) that belong to this user.
	ProjectMemberships []string `json:"projectMemberships"`

	// role
	Role string `json:"role,omitempty"`

	// username will be empty if it is email
	Username string `json:"username,omitempty"`

	// website
	Website string `json:"website,omitempty"`
}

V1SearchUser v1 search user

swagger:model v1SearchUser

func (*V1SearchUser) ContextValidate ¶

func (m *V1SearchUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 search user based on context it is used

func (*V1SearchUser) MarshalBinary ¶

func (m *V1SearchUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SearchUser) UnmarshalBinary ¶

func (m *V1SearchUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SearchUser) Validate ¶

func (m *V1SearchUser) Validate(formats strfmt.Registry) error

Validate validates this v1 search user

type V1SearchUsersResponse ¶

type V1SearchUsersResponse struct {

	// standard pagination schema, but this endpoint doesn't support pagination
	NextPageToken string `json:"nextPageToken,omitempty"`

	// previous page token
	PreviousPageToken string `json:"previousPageToken,omitempty"`

	// total size
	TotalSize string `json:"totalSize,omitempty"`

	// users
	Users []*V1ExternalSearchUser `json:"users"`
}

V1SearchUsersResponse v1 search users response

swagger:model v1SearchUsersResponse

func (*V1SearchUsersResponse) ContextValidate ¶

func (m *V1SearchUsersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 search users response based on the context it is used

func (*V1SearchUsersResponse) MarshalBinary ¶

func (m *V1SearchUsersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SearchUsersResponse) UnmarshalBinary ¶

func (m *V1SearchUsersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SearchUsersResponse) Validate ¶

func (m *V1SearchUsersResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 search users response

type V1Secret ¶

type V1Secret struct {

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// NOTE: We do not return the `value` field to any external clients.
	Type *V1SecretType `json:"type,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1Secret v1 secret

swagger:model v1Secret

func (*V1Secret) ContextValidate ¶

func (m *V1Secret) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 secret based on the context it is used

func (*V1Secret) MarshalBinary ¶

func (m *V1Secret) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Secret) UnmarshalBinary ¶

func (m *V1Secret) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Secret) Validate ¶

func (m *V1Secret) Validate(formats strfmt.Registry) error

Validate validates this v1 secret

type V1SecretType ¶

type V1SecretType string

V1SecretType v1 secret type

swagger:model v1SecretType

const (

	// V1SecretTypeSECRETTYPEUNSPECIFIED captures enum value "SECRET_TYPE_UNSPECIFIED"
	V1SecretTypeSECRETTYPEUNSPECIFIED V1SecretType = "SECRET_TYPE_UNSPECIFIED"

	// V1SecretTypeSECRETTYPEDOCKERREGISTRY captures enum value "SECRET_TYPE_DOCKER_REGISTRY"
	V1SecretTypeSECRETTYPEDOCKERREGISTRY V1SecretType = "SECRET_TYPE_DOCKER_REGISTRY"

	// V1SecretTypeSECRETTYPEGCPCREDENTIALS captures enum value "SECRET_TYPE_GCP_CREDENTIALS"
	V1SecretTypeSECRETTYPEGCPCREDENTIALS V1SecretType = "SECRET_TYPE_GCP_CREDENTIALS"

	// V1SecretTypeSECRETTYPESNOWFLAKECREDENTIALS captures enum value "SECRET_TYPE_SNOWFLAKE_CREDENTIALS"
	V1SecretTypeSECRETTYPESNOWFLAKECREDENTIALS V1SecretType = "SECRET_TYPE_SNOWFLAKE_CREDENTIALS"

	// V1SecretTypeSECRETTYPER2CREDENTIALS captures enum value "SECRET_TYPE_R2_CREDENTIALS"
	V1SecretTypeSECRETTYPER2CREDENTIALS V1SecretType = "SECRET_TYPE_R2_CREDENTIALS"

	// V1SecretTypeSECRETTYPEACCESSCREDENTIALS captures enum value "SECRET_TYPE_ACCESS_CREDENTIALS"
	V1SecretTypeSECRETTYPEACCESSCREDENTIALS V1SecretType = "SECRET_TYPE_ACCESS_CREDENTIALS"

	// V1SecretTypeSECRETTYPESSHPRIVATEKEY captures enum value "SECRET_TYPE_SSH_PRIVATE_KEY"
	V1SecretTypeSECRETTYPESSHPRIVATEKEY V1SecretType = "SECRET_TYPE_SSH_PRIVATE_KEY"

	// V1SecretTypeSECRETTYPEHFTOKEN captures enum value "SECRET_TYPE_HF_TOKEN"
	V1SecretTypeSECRETTYPEHFTOKEN V1SecretType = "SECRET_TYPE_HF_TOKEN"
)

func NewV1SecretType ¶

func NewV1SecretType(value V1SecretType) *V1SecretType

func (V1SecretType) ContextValidate ¶

func (m V1SecretType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 secret type based on context it is used

func (V1SecretType) Pointer ¶

func (m V1SecretType) Pointer() *V1SecretType

Pointer returns a pointer to a freshly-allocated V1SecretType.

func (V1SecretType) Validate ¶

func (m V1SecretType) Validate(formats strfmt.Registry) error

Validate validates this v1 secret type

type V1Select ¶

type V1Select struct {

	// options
	Options []string `json:"options"`

	// value selected by the user
	Value string `json:"value,omitempty"`
}

V1Select v1 select

swagger:model v1Select

func (*V1Select) ContextValidate ¶

func (m *V1Select) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 select based on context it is used

func (*V1Select) MarshalBinary ¶

func (m *V1Select) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Select) UnmarshalBinary ¶

func (m *V1Select) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Select) Validate ¶

func (m *V1Select) Validate(formats strfmt.Registry) error

Validate validates this v1 select

type V1Server ¶

type V1Server struct {

	// metadata
	Metadata *V1Metadata `json:"metadata,omitempty"`

	// spec
	Spec *V1ServerSpec `json:"spec,omitempty"`

	// status
	Status *V1ServerStatus `json:"status,omitempty"`
}

V1Server v1 server

swagger:model v1Server

func (*V1Server) ContextValidate ¶

func (m *V1Server) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 server based on the context it is used

func (*V1Server) MarshalBinary ¶

func (m *V1Server) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Server) UnmarshalBinary ¶

func (m *V1Server) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Server) Validate ¶

func (m *V1Server) Validate(formats strfmt.Registry) error

Validate validates this v1 server

type V1ServerAccelerator ¶

type V1ServerAccelerator struct {

	// count
	Count string `json:"count,omitempty"`

	// i.e. nvidia-tesla-t4
	Type string `json:"type,omitempty"`
}

V1ServerAccelerator v1 server accelerator

swagger:model v1ServerAccelerator

func (*V1ServerAccelerator) ContextValidate ¶

func (m *V1ServerAccelerator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 server accelerator based on context it is used

func (*V1ServerAccelerator) MarshalBinary ¶

func (m *V1ServerAccelerator) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServerAccelerator) UnmarshalBinary ¶

func (m *V1ServerAccelerator) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServerAccelerator) Validate ¶

func (m *V1ServerAccelerator) Validate(formats strfmt.Registry) error

Validate validates this v1 server accelerator

type V1ServerAlert ¶

type V1ServerAlert struct {

	// message
	Message string `json:"message,omitempty"`

	// phase
	Phase *V1ServerAlertPhase `json:"phase,omitempty"`

	// severity
	Severity *V1ServerAlertSeverity `json:"severity,omitempty"`

	// type
	Type *V1ServerAlertType `json:"type,omitempty"`
}

V1ServerAlert v1 server alert

swagger:model v1ServerAlert

func (*V1ServerAlert) ContextValidate ¶

func (m *V1ServerAlert) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 server alert based on the context it is used

func (*V1ServerAlert) MarshalBinary ¶

func (m *V1ServerAlert) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServerAlert) UnmarshalBinary ¶

func (m *V1ServerAlert) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServerAlert) Validate ¶

func (m *V1ServerAlert) Validate(formats strfmt.Registry) error

Validate validates this v1 server alert

type V1ServerAlertPhase ¶

type V1ServerAlertPhase string

V1ServerAlertPhase v1 server alert phase

swagger:model v1ServerAlertPhase

const (

	// V1ServerAlertPhaseSERVERALERTPHASEUNSPECIFIED captures enum value "SERVER_ALERT_PHASE_UNSPECIFIED"
	V1ServerAlertPhaseSERVERALERTPHASEUNSPECIFIED V1ServerAlertPhase = "SERVER_ALERT_PHASE_UNSPECIFIED"

	// V1ServerAlertPhaseSERVERALERTPHASESTARTUP captures enum value "SERVER_ALERT_PHASE_STARTUP"
	V1ServerAlertPhaseSERVERALERTPHASESTARTUP V1ServerAlertPhase = "SERVER_ALERT_PHASE_STARTUP"

	// V1ServerAlertPhaseSERVERALERTPHASESHUTDOWN captures enum value "SERVER_ALERT_PHASE_SHUTDOWN"
	V1ServerAlertPhaseSERVERALERTPHASESHUTDOWN V1ServerAlertPhase = "SERVER_ALERT_PHASE_SHUTDOWN"

	// V1ServerAlertPhaseSERVERALERTPHASERUNTIME captures enum value "SERVER_ALERT_PHASE_RUNTIME"
	V1ServerAlertPhaseSERVERALERTPHASERUNTIME V1ServerAlertPhase = "SERVER_ALERT_PHASE_RUNTIME"
)

func NewV1ServerAlertPhase ¶

func NewV1ServerAlertPhase(value V1ServerAlertPhase) *V1ServerAlertPhase

func (V1ServerAlertPhase) ContextValidate ¶

func (m V1ServerAlertPhase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 server alert phase based on context it is used

func (V1ServerAlertPhase) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1ServerAlertPhase.

func (V1ServerAlertPhase) Validate ¶

func (m V1ServerAlertPhase) Validate(formats strfmt.Registry) error

Validate validates this v1 server alert phase

type V1ServerAlertSeverity ¶

type V1ServerAlertSeverity string

V1ServerAlertSeverity v1 server alert severity

swagger:model v1ServerAlertSeverity

const (

	// V1ServerAlertSeveritySERVERALERTSEVERITYERROR captures enum value "SERVER_ALERT_SEVERITY_ERROR"
	V1ServerAlertSeveritySERVERALERTSEVERITYERROR V1ServerAlertSeverity = "SERVER_ALERT_SEVERITY_ERROR"

	// V1ServerAlertSeveritySERVERALERTSEVERITYWARNING captures enum value "SERVER_ALERT_SEVERITY_WARNING"
	V1ServerAlertSeveritySERVERALERTSEVERITYWARNING V1ServerAlertSeverity = "SERVER_ALERT_SEVERITY_WARNING"

	// V1ServerAlertSeveritySERVERALERTSEVERITYINFO captures enum value "SERVER_ALERT_SEVERITY_INFO"
	V1ServerAlertSeveritySERVERALERTSEVERITYINFO V1ServerAlertSeverity = "SERVER_ALERT_SEVERITY_INFO"
)

func NewV1ServerAlertSeverity ¶

func NewV1ServerAlertSeverity(value V1ServerAlertSeverity) *V1ServerAlertSeverity

func (V1ServerAlertSeverity) ContextValidate ¶

func (m V1ServerAlertSeverity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 server alert severity based on context it is used

func (V1ServerAlertSeverity) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1ServerAlertSeverity.

func (V1ServerAlertSeverity) Validate ¶

func (m V1ServerAlertSeverity) Validate(formats strfmt.Registry) error

Validate validates this v1 server alert severity

type V1ServerAlertType ¶

type V1ServerAlertType string

V1ServerAlertType - SERVER_ALERT_TYPE_INTERNAL: generic alert type for uncategorized errors

  • SERVER_ALERT_TYPE_APT_RESTORE: alert types for specific errors
  • SERVER_ALERT_TYPE_OOM: sandbox oom

swagger:model v1ServerAlertType

const (

	// V1ServerAlertTypeSERVERALERTTYPEINTERNAL captures enum value "SERVER_ALERT_TYPE_INTERNAL"
	V1ServerAlertTypeSERVERALERTTYPEINTERNAL V1ServerAlertType = "SERVER_ALERT_TYPE_INTERNAL"

	// V1ServerAlertTypeSERVERALERTTYPEAPTRESTORE captures enum value "SERVER_ALERT_TYPE_APT_RESTORE"
	V1ServerAlertTypeSERVERALERTTYPEAPTRESTORE V1ServerAlertType = "SERVER_ALERT_TYPE_APT_RESTORE"

	// V1ServerAlertTypeSERVERALERTTYPECONDARESTORE captures enum value "SERVER_ALERT_TYPE_CONDA_RESTORE"
	V1ServerAlertTypeSERVERALERTTYPECONDARESTORE V1ServerAlertType = "SERVER_ALERT_TYPE_CONDA_RESTORE"

	// V1ServerAlertTypeSERVERALERTTYPESETTINGSRESTORE captures enum value "SERVER_ALERT_TYPE_SETTINGS_RESTORE"
	V1ServerAlertTypeSERVERALERTTYPESETTINGSRESTORE V1ServerAlertType = "SERVER_ALERT_TYPE_SETTINGS_RESTORE"

	// V1ServerAlertTypeSERVERALERTTYPEBASESTUDIOSETUP captures enum value "SERVER_ALERT_TYPE_BASE_STUDIO_SETUP"
	V1ServerAlertTypeSERVERALERTTYPEBASESTUDIOSETUP V1ServerAlertType = "SERVER_ALERT_TYPE_BASE_STUDIO_SETUP"

	// V1ServerAlertTypeSERVERALERTTYPEFILESYSTEM captures enum value "SERVER_ALERT_TYPE_FILESYSTEM"
	V1ServerAlertTypeSERVERALERTTYPEFILESYSTEM V1ServerAlertType = "SERVER_ALERT_TYPE_FILESYSTEM"

	// V1ServerAlertTypeSERVERALERTTYPEPROVIDERCAPACITY captures enum value "SERVER_ALERT_TYPE_PROVIDER_CAPACITY"
	V1ServerAlertTypeSERVERALERTTYPEPROVIDERCAPACITY V1ServerAlertType = "SERVER_ALERT_TYPE_PROVIDER_CAPACITY"

	// V1ServerAlertTypeSERVERALERTTYPEOOM captures enum value "SERVER_ALERT_TYPE_OOM"
	V1ServerAlertTypeSERVERALERTTYPEOOM V1ServerAlertType = "SERVER_ALERT_TYPE_OOM"
)

func NewV1ServerAlertType ¶

func NewV1ServerAlertType(value V1ServerAlertType) *V1ServerAlertType

func (V1ServerAlertType) ContextValidate ¶

func (m V1ServerAlertType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 server alert type based on context it is used

func (V1ServerAlertType) Pointer ¶

func (m V1ServerAlertType) Pointer() *V1ServerAlertType

Pointer returns a pointer to a freshly-allocated V1ServerAlertType.

func (V1ServerAlertType) Validate ¶

func (m V1ServerAlertType) Validate(formats strfmt.Registry) error

Validate validates this v1 server alert type

type V1ServerCheckInResponse ¶

type V1ServerCheckInResponse any

V1ServerCheckInResponse v1 server check in response

swagger:model v1ServerCheckInResponse

type V1ServerSpec ¶

type V1ServerSpec struct {

	// Whether the server has a GPU
	AcceleratorType *V1AcceleratorType `json:"acceleratorType,omitempty"`

	// address
	Address string `json:"address,omitempty"`

	// affinity identifier
	AffinityIdentifier string `json:"affinityIdentifier,omitempty"`

	// The version of the agent that created the server
	AgentVersion string `json:"agentVersion,omitempty"`

	// apparent provider
	ApparentProvider string `json:"apparentProvider,omitempty"`

	// i.e. us-east-1a
	AvailabilityZone string `json:"availabilityZone,omitempty"`

	// Unique batch ID if server was created as part of a batch
	BatchID string `json:"batchId,omitempty"`

	// ca cert
	// Format: byte
	CaCert strfmt.Base64 `json:"caCert,omitempty"`

	// ca key
	// Format: byte
	CaKey strfmt.Base64 `json:"caKey,omitempty"`

	// Set if it's part of a capacity reservation
	CapacityReservationID string `json:"capacityReservationId,omitempty"`

	// Used to handle mounting data connections
	CloudInitRunCmds []string `json:"cloudInitRunCmds"`

	// cloud space Id
	CloudSpaceID string `json:"cloudSpaceId,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// Customer network agent ids this VM may reach over the VPN. Granted by the
	// baremetal agent at create; empty means no customer access.
	CustomerNetworkIds []string `json:"customerNetworkIds"`

	// Prevents the server from being deleted, used for debugging
	DeleteProtection bool `json:"deleteProtection,omitempty"`

	// Set if it's part of a deployment
	DeploymentID string `json:"deploymentId,omitempty"`

	// desired machine Id
	DesiredMachineID string `json:"desiredMachineId,omitempty"`

	// dws
	Dws bool `json:"dws,omitempty"`

	// User requested ports for the server (sandbox, plain VM cloud instance)
	ForwardPorts []int64 `json:"forwardPorts"`

	// Indicates that the server is the free default cloudspace
	Free bool `json:"free,omitempty"`

	// GPUs assigned to this server, used for partitioned servers
	GpuAssignments []int64 `json:"gpuAssignments"`

	// gpu uuids
	GpuUuids []string `json:"gpuUuids"`

	// Accelerators that are attached to the server. Only supported in GCP at the moment
	GuestAccelerators []*V1ServerAccelerator `json:"guestAccelerators"`

	// ib device infos
	IbDeviceInfos []*V1IBDeviceInfo `json:"ibDeviceInfos"`

	// Keeps cleanup tied to the gate that admitted IB membership.
	IbMembershipSource string `json:"ibMembershipSource,omitempty"`

	// Per-VM inband /32 (from the host's 10.15.x overlay pool) assigned by the
	// baremetal-agent. Empty for non-inband instances. Read by the VAST
	// client-IP registration hooks; not consumed elsewhere.
	InbandIP string `json:"inbandIp,omitempty"`

	// Managed instance group (MIG) ID used to run the instance (when dynamic workload scheduling is used to run the instance)
	InstanceManagedGroupID string `json:"instanceManagedGroupId,omitempty"`

	// Instance template used to run the instance (when dynamic workload scheduling is used to run the instance)
	InstanceTemplateID string `json:"instanceTemplateId,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// If true, the machine will be left running after its workload is finished (and the machine assumed to be reused)
	KeepAfterStop bool `json:"keepAfterStop,omitempty"`

	// Set if the server was started from the launch template
	LaunchTemplateID string `json:"launchTemplateId,omitempty"`

	// Whether the server can be interrupted by Lightning AI
	LightningInterruptible bool `json:"lightningInterruptible,omitempty"`

	// ID of the machine that the server is running on (when on baremetal)
	MachineID string `json:"machineId,omitempty"`

	// machine image
	MachineImage string `json:"machineImage,omitempty"`

	// Version of the images, ubuntu20.04, etc..
	MachineImageVersion string `json:"machineImageVersion,omitempty"`

	// memory zones
	MemoryZones []*V1MemoryZone `json:"memoryZones"`

	// Set if it's part of a multi machine job
	MultiMachineJobID string `json:"multiMachineJobId,omitempty"`

	// Network interfaces of the server
	NetworkInterfaces []*V1NetworkInterface `json:"networkInterfaces"`

	// Shared-NVSwitch FM GPU binding posted by the baremetal agent after allocate.
	// Scheduling key is gpu_pci_addresses; partition_id is debug/ops only (FM-version-
	// dependent — never use as a placement key). Nil when unset / cleared on teardown.
	NvlinkFmPartition *V1NvlinkFMPartitionBinding `json:"nvlinkFmPartition,omitempty"`

	// To track ID of parent resource to the resource for what the server is created: flow for work servers, cloudspace for cloudspace instances
	ParentResourceID string `json:"parentResourceId,omitempty"`

	// ID of the parent server
	ParentServerID string `json:"parentServerId,omitempty"`

	// ID of the persistent disk used for this server
	PersistentDiskID string `json:"persistentDiskId,omitempty"`

	// placement group Id
	PlacementGroupID string `json:"placementGroupId,omitempty"`

	// Port forwards for the server
	PortForwardingRules []*V1PortForwardRule `json:"portForwardingRules"`

	// Port overrides for the server
	PortOverrides *V1PortOverrides `json:"portOverrides,omitempty"`

	// See address (public address) above
	PrivateAddress string `json:"privateAddress,omitempty"`

	// Full list of private addresses for instances with multiple interfaces
	PrivateAddresses []string `json:"privateAddresses"`

	// provider
	Provider string `json:"provider,omitempty"`

	// Provider config for the instance
	ProviderConfig string `json:"providerConfig,omitempty"`

	// provider instance Id
	ProviderInstanceID string `json:"providerInstanceId,omitempty"`

	// URL to the provider's instance page
	ProviderInstanceURL string `json:"providerInstanceUrl,omitempty"`

	// Rank of the server in the multi-servers job
	Rank int64 `json:"rank,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// Support for multi-region locking
	Regions []string `json:"regions"`

	// Requested run duration for the machine, used to get machines using dynamic workload scheduler (DWS on GCP, non-spot 1/2/4xH100 can be gotten using this way only)
	RequestedRunDurationSeconds string `json:"requestedRunDurationSeconds,omitempty"`

	// Time to keep the machine reserved after its workload is finished (applies if keep_after_stop is true)
	ReservationTimeMinutes string `json:"reservationTimeMinutes,omitempty"`

	// To track ID of resource, for what the server is created: e.g. flow, work or cloudspace instance
	ResourceID string `json:"resourceId,omitempty"`

	// resource type
	ResourceType string `json:"resourceType,omitempty"`

	// server type
	ServerType *V1ServerType `json:"serverType,omitempty"`

	// When true, the collector skips the workload-level drain
	// (gracefulShutdown) when this server transitions to SHUTDOWN and
	// proceeds directly to destroyServer. Intended for callers that need
	// fast termination — preemption / interruption, admin force-kill,
	// GC of unresponsive servers — and accept the loss of any in-flight
	// final-sync work and post-mortem container state.
	SkipGracefulShutdown bool `json:"skipGracefulShutdown,omitempty"`

	// spot
	Spot bool `json:"spot,omitempty"`

	// User SSH public keys to authorize on the instance (ResourceInstance only).
	SSHPublicKeys []string `json:"sshPublicKeys"`

	// pending/created/etc
	State *V1ServerState `json:"state,omitempty"`

	// Until when this server should be able to run
	// Format: date-time
	TerminationTime strfmt.DateTime `json:"terminationTime,omitempty"`

	// tls cert
	// Format: byte
	TLSCert strfmt.Base64 `json:"tlsCert,omitempty"`

	// tls key
	// Format: byte
	TLSKey strfmt.Base64 `json:"tlsKey,omitempty"`

	// Raw user-supplied #cloud-config for plain cloud instances (ResourceInstance only).
	UserCloudInit string `json:"userCloudInit,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`

	// volume size
	VolumeSize string `json:"volumeSize,omitempty"`

	// volume type
	VolumeType string `json:"volumeType,omitempty"`

	// Used to track the additional volumes attached to the server
	Volumes []*V1Volume `json:"volumes"`

	// Workload name that is running on the server (e.g. Studio name)
	WorkloadName string `json:"workloadName,omitempty"`
}

V1ServerSpec v1 server spec

swagger:model v1ServerSpec

func (*V1ServerSpec) ContextValidate ¶

func (m *V1ServerSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 server spec based on the context it is used

func (*V1ServerSpec) MarshalBinary ¶

func (m *V1ServerSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServerSpec) UnmarshalBinary ¶

func (m *V1ServerSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServerSpec) Validate ¶

func (m *V1ServerSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 server spec

type V1ServerState ¶

type V1ServerState string

V1ServerState ServerState defines the states for the state machine

- SERVER_STATE_PENDING: Server creation requested, not yet picked up

  • SERVER_STATE_CREATING: Allocator has begun creating the server
  • SERVER_STATE_CREATED: Server created, we have the IP address
  • SERVER_STATE_STAGING: Server is being prepared (image pull, container creation, etc.)
  • SERVER_STATE_RUNNING: Server is running the workload
  • SERVER_STATE_SHUTDOWN: Requested shutdown
  • SERVER_STATE_STOPPING: Shutdown request received, stopping the workload
  • SERVER_STATE_STOPPED: Workload and server stopped
  • SERVER_STATE_ERROR: Server or workload encountered an error
  • SERVER_STATE_OVERPROVISIONED: Server is overprovisioned: it's ready and can be used to put workloads on it
  • SERVER_STATE_PATCHING: Server is patching: it was overprovisioned before, some Studio took it and it's being patching to be able to serve workloads
  • SERVER_STATE_REPAIR: Server was put to shutdown and we want to reuse it after repairing to the state it can take new specific workloads
  • SERVER_STATE_REPAIRING: Server is being repaired to take new specific workloads (without restarting)
  • SERVER_STATE_REPAIRED: Running server that was used, repaired and can take new specific workloads (within a project)
  • SERVER_STATE_RESTARTING: The server is restarting
  • SERVER_STATE_QUEUED: The server is queued, default state for fair-play enabled clusters
  • SERVER_STATE_PARTITIONED: The server has been partitioned into multiple instances

swagger:model v1ServerState

const (

	// V1ServerStateSERVERSTATEUNSPECIFIED captures enum value "SERVER_STATE_UNSPECIFIED"
	V1ServerStateSERVERSTATEUNSPECIFIED V1ServerState = "SERVER_STATE_UNSPECIFIED"

	// V1ServerStateSERVERSTATEPENDING captures enum value "SERVER_STATE_PENDING"
	V1ServerStateSERVERSTATEPENDING V1ServerState = "SERVER_STATE_PENDING"

	// V1ServerStateSERVERSTATECREATING captures enum value "SERVER_STATE_CREATING"
	V1ServerStateSERVERSTATECREATING V1ServerState = "SERVER_STATE_CREATING"

	// V1ServerStateSERVERSTATECREATED captures enum value "SERVER_STATE_CREATED"
	V1ServerStateSERVERSTATECREATED V1ServerState = "SERVER_STATE_CREATED"

	// V1ServerStateSERVERSTATESTAGING captures enum value "SERVER_STATE_STAGING"
	V1ServerStateSERVERSTATESTAGING V1ServerState = "SERVER_STATE_STAGING"

	// V1ServerStateSERVERSTATERUNNING captures enum value "SERVER_STATE_RUNNING"
	V1ServerStateSERVERSTATERUNNING V1ServerState = "SERVER_STATE_RUNNING"

	// V1ServerStateSERVERSTATESHUTDOWN captures enum value "SERVER_STATE_SHUTDOWN"
	V1ServerStateSERVERSTATESHUTDOWN V1ServerState = "SERVER_STATE_SHUTDOWN"

	// V1ServerStateSERVERSTATESTOPPING captures enum value "SERVER_STATE_STOPPING"
	V1ServerStateSERVERSTATESTOPPING V1ServerState = "SERVER_STATE_STOPPING"

	// V1ServerStateSERVERSTATESTOPPED captures enum value "SERVER_STATE_STOPPED"
	V1ServerStateSERVERSTATESTOPPED V1ServerState = "SERVER_STATE_STOPPED"

	// V1ServerStateSERVERSTATEERROR captures enum value "SERVER_STATE_ERROR"
	V1ServerStateSERVERSTATEERROR V1ServerState = "SERVER_STATE_ERROR"

	// V1ServerStateSERVERSTATEOVERPROVISIONED captures enum value "SERVER_STATE_OVERPROVISIONED"
	V1ServerStateSERVERSTATEOVERPROVISIONED V1ServerState = "SERVER_STATE_OVERPROVISIONED"

	// V1ServerStateSERVERSTATEPATCHING captures enum value "SERVER_STATE_PATCHING"
	V1ServerStateSERVERSTATEPATCHING V1ServerState = "SERVER_STATE_PATCHING"

	// V1ServerStateSERVERSTATEREPAIR captures enum value "SERVER_STATE_REPAIR"
	V1ServerStateSERVERSTATEREPAIR V1ServerState = "SERVER_STATE_REPAIR"

	// V1ServerStateSERVERSTATEREPAIRING captures enum value "SERVER_STATE_REPAIRING"
	V1ServerStateSERVERSTATEREPAIRING V1ServerState = "SERVER_STATE_REPAIRING"

	// V1ServerStateSERVERSTATEREPAIRED captures enum value "SERVER_STATE_REPAIRED"
	V1ServerStateSERVERSTATEREPAIRED V1ServerState = "SERVER_STATE_REPAIRED"

	// V1ServerStateSERVERSTATERESTARTING captures enum value "SERVER_STATE_RESTARTING"
	V1ServerStateSERVERSTATERESTARTING V1ServerState = "SERVER_STATE_RESTARTING"

	// V1ServerStateSERVERSTATEQUEUED captures enum value "SERVER_STATE_QUEUED"
	V1ServerStateSERVERSTATEQUEUED V1ServerState = "SERVER_STATE_QUEUED"

	// V1ServerStateSERVERSTATEPARTITIONED captures enum value "SERVER_STATE_PARTITIONED"
	V1ServerStateSERVERSTATEPARTITIONED V1ServerState = "SERVER_STATE_PARTITIONED"
)

func NewV1ServerState ¶

func NewV1ServerState(value V1ServerState) *V1ServerState

func (V1ServerState) ContextValidate ¶

func (m V1ServerState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 server state based on context it is used

func (V1ServerState) Pointer ¶

func (m V1ServerState) Pointer() *V1ServerState

Pointer returns a pointer to a freshly-allocated V1ServerState.

func (V1ServerState) Validate ¶

func (m V1ServerState) Validate(formats strfmt.Registry) error

Validate validates this v1 server state

type V1ServerStatus ¶

type V1ServerStatus struct {

	// latest alert, if any, received from the server
	Alert *V1ServerAlert `json:"alert,omitempty"`

	// How long it took to allocate the server
	AllocateDurationSeconds string `json:"allocateDurationSeconds,omitempty"`

	// what images is this server running
	ContainerImage []string `json:"containerImage"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// How long it took to install the server dependencies
	InstallDurationSeconds string `json:"installDurationSeconds,omitempty"`

	// Whether we received an interruption warning
	InterruptionNoticeReceived bool `json:"interruptionNoticeReceived,omitempty"`

	// When we received the interruption warning
	// Format: date-time
	InterruptionNoticeReceivedAt strfmt.DateTime `json:"interruptionNoticeReceivedAt,omitempty"`

	// last seen at
	// Format: date-time
	LastSeenAt strfmt.DateTime `json:"lastSeenAt,omitempty"`

	// Timestamp when logs for this server were last uploaded.
	// Format: date-time
	LogsUploadedAt strfmt.DateTime `json:"logsUploadedAt,omitempty"`

	// Whether the machine on which the server is running requires maintenance
	RequiresMaintenance bool `json:"requiresMaintenance,omitempty"`

	// retried at
	// Format: date-time
	RetriedAt strfmt.DateTime `json:"retriedAt,omitempty"`

	// How many retries to create the server
	Retries string `json:"retries,omitempty"`

	// started at
	// Format: date-time
	StartedAt strfmt.DateTime `json:"startedAt,omitempty"`

	// stop retried at
	// Format: date-time
	StopRetriedAt strfmt.DateTime `json:"stopRetriedAt,omitempty"`

	// How many times we tried to stop the server
	StopRetries string `json:"stopRetries,omitempty"`

	// stopped at
	// Format: date-time
	StoppedAt strfmt.DateTime `json:"stoppedAt,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// How many times the workload container has restarted
	WorkloadContainerRestartsCount string `json:"workloadContainerRestartsCount,omitempty"`

	// workload state
	WorkloadState string `json:"workloadState,omitempty"`

	// workload state details
	WorkloadStateDetails string `json:"workloadStateDetails,omitempty"`

	// If the server was overprovisioned, reflect the time when overprovisioning ended and a workload was taken
	// Format: date-time
	WorkloadTakenAt strfmt.DateTime `json:"workloadTakenAt,omitempty"`
}

V1ServerStatus v1 server status

swagger:model v1ServerStatus

func (*V1ServerStatus) ContextValidate ¶

func (m *V1ServerStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 server status based on the context it is used

func (*V1ServerStatus) MarshalBinary ¶

func (m *V1ServerStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServerStatus) UnmarshalBinary ¶

func (m *V1ServerStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServerStatus) Validate ¶

func (m *V1ServerStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 server status

type V1ServerType ¶

type V1ServerType string

V1ServerType v1 server type

swagger:model v1ServerType

const (

	// V1ServerTypeSERVERTYPEUNSPECIFIED captures enum value "SERVER_TYPE_UNSPECIFIED"
	V1ServerTypeSERVERTYPEUNSPECIFIED V1ServerType = "SERVER_TYPE_UNSPECIFIED"

	// V1ServerTypeSERVERTYPEDIRECT captures enum value "SERVER_TYPE_DIRECT"
	V1ServerTypeSERVERTYPEDIRECT V1ServerType = "SERVER_TYPE_DIRECT"
)

func NewV1ServerType ¶

func NewV1ServerType(value V1ServerType) *V1ServerType

func (V1ServerType) ContextValidate ¶

func (m V1ServerType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 server type based on context it is used

func (V1ServerType) Pointer ¶

func (m V1ServerType) Pointer() *V1ServerType

Pointer returns a pointer to a freshly-allocated V1ServerType.

func (V1ServerType) Validate ¶

func (m V1ServerType) Validate(formats strfmt.Registry) error

Validate validates this v1 server type

type V1ServiceHealth ¶

type V1ServiceHealth struct {

	// is fatal
	IsFatal bool `json:"isFatal,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// status
	Status *ServiceHealthServiceStatus `json:"status,omitempty"`
}

V1ServiceHealth v1 service health

swagger:model v1ServiceHealth

func (*V1ServiceHealth) ContextValidate ¶

func (m *V1ServiceHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 service health based on the context it is used

func (*V1ServiceHealth) MarshalBinary ¶

func (m *V1ServiceHealth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServiceHealth) UnmarshalBinary ¶

func (m *V1ServiceHealth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServiceHealth) Validate ¶

func (m *V1ServiceHealth) Validate(formats strfmt.Registry) error

Validate validates this v1 service health

type V1SetOrgMemberModelAPIDailyLimitResponse ¶

type V1SetOrgMemberModelAPIDailyLimitResponse any

V1SetOrgMemberModelAPIDailyLimitResponse v1 set org member model API daily limit response

swagger:model v1SetOrgMemberModelAPIDailyLimitResponse

type V1SetOrgModelAPIDailyLimitDefaultResponse ¶

type V1SetOrgModelAPIDailyLimitDefaultResponse any

V1SetOrgModelAPIDailyLimitDefaultResponse v1 set org model API daily limit default response

swagger:model v1SetOrgModelAPIDailyLimitDefaultResponse

type V1SetupDataConnectionResponse ¶

type V1SetupDataConnectionResponse struct {

	// gcp setup
	GcpSetup *V1GcpDataConnectionSetup `json:"gcpSetup,omitempty"`
}

V1SetupDataConnectionResponse v1 setup data connection response

swagger:model v1SetupDataConnectionResponse

func (*V1SetupDataConnectionResponse) ContextValidate ¶

func (m *V1SetupDataConnectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 setup data connection response based on the context it is used

func (*V1SetupDataConnectionResponse) MarshalBinary ¶

func (m *V1SetupDataConnectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SetupDataConnectionResponse) UnmarshalBinary ¶

func (m *V1SetupDataConnectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SetupDataConnectionResponse) Validate ¶

func (m *V1SetupDataConnectionResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 setup data connection response

type V1SharedFilesystem ¶

type V1SharedFilesystem struct {

	// efs
	Efs bool `json:"efs,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// filestore
	Filestore bool `json:"filestore,omitempty"`

	// gcs folder
	GcsFolder bool `json:"gcsFolder,omitempty"`

	// r2 folder
	R2Folder bool `json:"r2Folder,omitempty"`

	// resource Id
	ResourceID string `json:"resourceId,omitempty"`

	// resource name
	ResourceName string `json:"resourceName,omitempty"`

	// s3 folder
	S3Folder bool `json:"s3Folder,omitempty"`

	// state
	State string `json:"state,omitempty"`
}

V1SharedFilesystem v1 shared filesystem

swagger:model v1SharedFilesystem

func (*V1SharedFilesystem) ContextValidate ¶

func (m *V1SharedFilesystem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 shared filesystem based on context it is used

func (*V1SharedFilesystem) MarshalBinary ¶

func (m *V1SharedFilesystem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SharedFilesystem) UnmarshalBinary ¶

func (m *V1SharedFilesystem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SharedFilesystem) Validate ¶

func (m *V1SharedFilesystem) Validate(formats strfmt.Registry) error

Validate validates this v1 shared filesystem

type V1ShouldStartSyncingResponse ¶

type V1ShouldStartSyncingResponse struct {

	// start syncing
	StartSyncing bool `json:"startSyncing,omitempty"`
}

V1ShouldStartSyncingResponse v1 should start syncing response

swagger:model v1ShouldStartSyncingResponse

func (*V1ShouldStartSyncingResponse) ContextValidate ¶

func (m *V1ShouldStartSyncingResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 should start syncing response based on context it is used

func (*V1ShouldStartSyncingResponse) MarshalBinary ¶

func (m *V1ShouldStartSyncingResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ShouldStartSyncingResponse) UnmarshalBinary ¶

func (m *V1ShouldStartSyncingResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ShouldStartSyncingResponse) Validate ¶

func (m *V1ShouldStartSyncingResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 should start syncing response

type V1SlackNotifier ¶

type V1SlackNotifier struct {

	// api key
	APIKey string `json:"apiKey,omitempty"`

	// channel Id
	ChannelID string `json:"channelId,omitempty"`

	// Disable slack notify when an incident is detected
	DisableIncidentNotification bool `json:"disableIncidentNotification,omitempty"`

	// Disable tagging pod owners in ready for maintenance notifications
	DisableOwnerTaggingInReadyForMaintenanceNotification bool `json:"disableOwnerTaggingInReadyForMaintenanceNotification,omitempty"`

	// Whether to notify when a pod's memory utilization exceeds the configured threshold
	NotifyOnHighMemoryUtilization bool `json:"notifyOnHighMemoryUtilization,omitempty"`

	// Whether to notify when a pod is in a terminal state
	NotifyOnPodTerminalState bool `json:"notifyOnPodTerminalState,omitempty"`

	// Whether to notify when a node is ready for maintenance
	NotifyOnReadyForMaintenance bool `json:"notifyOnReadyForMaintenance,omitempty"`

	// type
	Type *V1SlackNotifierType `json:"type,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

V1SlackNotifier v1 slack notifier

swagger:model v1SlackNotifier

func (*V1SlackNotifier) ContextValidate ¶

func (m *V1SlackNotifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 slack notifier based on the context it is used

func (*V1SlackNotifier) MarshalBinary ¶

func (m *V1SlackNotifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SlackNotifier) UnmarshalBinary ¶

func (m *V1SlackNotifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SlackNotifier) Validate ¶

func (m *V1SlackNotifier) Validate(formats strfmt.Registry) error

Validate validates this v1 slack notifier

type V1SlackNotifierType ¶

type V1SlackNotifierType string

V1SlackNotifierType v1 slack notifier type

swagger:model v1SlackNotifierType

const (

	// V1SlackNotifierTypeSLACKNOTIFIERUNSPECIFIED captures enum value "SLACK_NOTIFIER_UNSPECIFIED"
	V1SlackNotifierTypeSLACKNOTIFIERUNSPECIFIED V1SlackNotifierType = "SLACK_NOTIFIER_UNSPECIFIED"

	// V1SlackNotifierTypeSLACKNOTIFIERCUSTOMER captures enum value "SLACK_NOTIFIER_CUSTOMER"
	V1SlackNotifierTypeSLACKNOTIFIERCUSTOMER V1SlackNotifierType = "SLACK_NOTIFIER_CUSTOMER"

	// V1SlackNotifierTypeSLACKNOTIFIERINTERNAL captures enum value "SLACK_NOTIFIER_INTERNAL"
	V1SlackNotifierTypeSLACKNOTIFIERINTERNAL V1SlackNotifierType = "SLACK_NOTIFIER_INTERNAL"

	// V1SlackNotifierTypeSLACKNOTIFIERPROVIDER captures enum value "SLACK_NOTIFIER_PROVIDER"
	V1SlackNotifierTypeSLACKNOTIFIERPROVIDER V1SlackNotifierType = "SLACK_NOTIFIER_PROVIDER"
)

func NewV1SlackNotifierType ¶

func NewV1SlackNotifierType(value V1SlackNotifierType) *V1SlackNotifierType

func (V1SlackNotifierType) ContextValidate ¶

func (m V1SlackNotifierType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 slack notifier type based on context it is used

func (V1SlackNotifierType) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1SlackNotifierType.

func (V1SlackNotifierType) Validate ¶

func (m V1SlackNotifierType) Validate(formats strfmt.Registry) error

Validate validates this v1 slack notifier type

type V1SleepServerResponse ¶

type V1SleepServerResponse any

V1SleepServerResponse v1 sleep server response

swagger:model v1SleepServerResponse

type V1SlurmNode ¶

type V1SlurmNode struct {

	// count
	Count int64 `json:"count,omitempty"`

	// cpus
	Cpus int64 `json:"cpus,omitempty"`

	// gpus
	Gpus int64 `json:"gpus,omitempty"`

	// memory mb
	MemoryMb int64 `json:"memoryMb,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

V1SlurmNode v1 slurm node

swagger:model v1SlurmNode

func (*V1SlurmNode) ContextValidate ¶

func (m *V1SlurmNode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 slurm node based on context it is used

func (*V1SlurmNode) MarshalBinary ¶

func (m *V1SlurmNode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SlurmNode) UnmarshalBinary ¶

func (m *V1SlurmNode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SlurmNode) Validate ¶

func (m *V1SlurmNode) Validate(formats strfmt.Registry) error

Validate validates this v1 slurm node

type V1SlurmNodeDetail ¶

type V1SlurmNodeDetail struct {

	// cpus
	Cpus int64 `json:"cpus,omitempty"`

	// gpus
	Gpus int64 `json:"gpus,omitempty"`

	// memory mb
	MemoryMb int64 `json:"memoryMb,omitempty"`

	// Node name or nodelist
	NodeName string `json:"nodeName,omitempty"`

	// partition
	Partition string `json:"partition,omitempty"`

	// Reason unavailable (if any)
	Reason string `json:"reason,omitempty"`

	// e.g. idle, alloc, down, drain
	State string `json:"state,omitempty"`
}

V1SlurmNodeDetail SlurmNodeDetail is per-node (or per node+partition) info from sinfo -N.

swagger:model v1SlurmNodeDetail

func (*V1SlurmNodeDetail) ContextValidate ¶

func (m *V1SlurmNodeDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 slurm node detail based on context it is used

func (*V1SlurmNodeDetail) MarshalBinary ¶

func (m *V1SlurmNodeDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SlurmNodeDetail) UnmarshalBinary ¶

func (m *V1SlurmNodeDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SlurmNodeDetail) Validate ¶

func (m *V1SlurmNodeDetail) Validate(formats strfmt.Registry) error

Validate validates this v1 slurm node detail

type V1SlurmV1 ¶

type V1SlurmV1 struct {

	// Where login node is located, this is used for the SSH proxy. Login node must have controlplane's public SSH key installed.
	LoginNodeIP string `json:"loginNodeIp,omitempty"`

	// Port to use for SSH into the cluster, defaults to 22
	SSHPort int64 `json:"sshPort,omitempty"`

	// SSH private key used by controlplane to validate/access the Slurm login node.
	SSHPrivateKey string `json:"sshPrivateKey,omitempty"`

	// Secret ID where the SSH private key is stored.
	SSHPrivateKeySecretID string `json:"sshPrivateKeySecretId,omitempty"`

	// User to use for SSH into the cluster, defaults to "root"
	SSHUser string `json:"sshUser,omitempty"`

	// Where the slurm work dir is located. This should be a shared filesystem (when in a cluster) between the head node and the compute nodes.
	WorkDir string `json:"workDir,omitempty"`
}

V1SlurmV1 v1 slurm v1

swagger:model v1SlurmV1

func (*V1SlurmV1) ContextValidate ¶

func (m *V1SlurmV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 slurm v1 based on context it is used

func (*V1SlurmV1) MarshalBinary ¶

func (m *V1SlurmV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SlurmV1) UnmarshalBinary ¶

func (m *V1SlurmV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SlurmV1) Validate ¶

func (m *V1SlurmV1) Validate(formats strfmt.Registry) error

Validate validates this v1 slurm v1

type V1SlurmV1JobStatus ¶

type V1SlurmV1JobStatus struct {

	// cluster
	Cluster string `json:"cluster,omitempty"`

	// jobs[*].time.end
	// Format: date-time
	End strfmt.DateTime `json:"end,omitempty"`

	// exit code return code
	ExitCodeReturnCode int64 `json:"exitCodeReturnCode,omitempty"`

	// exit code status
	ExitCodeStatus string `json:"exitCodeStatus,omitempty"`

	// nodes
	Nodes string `json:"nodes,omitempty"`

	// jobs[*].time.start
	// Format: date-time
	Start strfmt.DateTime `json:"start,omitempty"`
}

V1SlurmV1JobStatus SlurmV1JobStatus contains slurm job status retrieved from the sacct client

swagger:model v1SlurmV1JobStatus

func (*V1SlurmV1JobStatus) ContextValidate ¶

func (m *V1SlurmV1JobStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 slurm v1 job status based on context it is used

func (*V1SlurmV1JobStatus) MarshalBinary ¶

func (m *V1SlurmV1JobStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SlurmV1JobStatus) UnmarshalBinary ¶

func (m *V1SlurmV1JobStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SlurmV1JobStatus) Validate ¶

func (m *V1SlurmV1JobStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 slurm v1 job status

type V1SlurmV1Status ¶

type V1SlurmV1Status struct {

	// Per-node details (from sinfo -N); one row per node (or per node+partition if node in multiple partitions).
	NodeDetails []*V1SlurmNodeDetail `json:"nodeDetails"`

	// nodes
	Nodes []*V1SlurmNode `json:"nodes"`

	// Domain to use for SSH (i.e. ssh.lightning.ai)
	SSHHost string `json:"sshHost,omitempty"`

	// Port to use for SSH (i.e. 22)
	SSHPort int64 `json:"sshPort,omitempty"`

	// Connection to login node through Lightning AI details:
	//
	// Username to use for SSH (i.e. s_<cluster ID>)
	SSHUsername string `json:"sshUsername,omitempty"`

	// i.e. "21.08.5"
	Version string `json:"version,omitempty"`
}

V1SlurmV1Status v1 slurm v1 status

swagger:model v1SlurmV1Status

func (*V1SlurmV1Status) ContextValidate ¶

func (m *V1SlurmV1Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 slurm v1 status based on the context it is used

func (*V1SlurmV1Status) MarshalBinary ¶

func (m *V1SlurmV1Status) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SlurmV1Status) UnmarshalBinary ¶

func (m *V1SlurmV1Status) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SlurmV1Status) Validate ¶

func (m *V1SlurmV1Status) Validate(formats strfmt.Registry) error

Validate validates this v1 slurm v1 status

type V1SnowflakeDataConnection ¶

type V1SnowflakeDataConnection struct {

	// bucket name
	BucketName string `json:"bucketName,omitempty"`

	// True if the data should be compressed
	Compress bool `json:"compress,omitempty"`

	// credential Id
	CredentialID string `json:"credentialId,omitempty"`

	// format
	Format string `json:"format,omitempty"`

	// True if the first line of the output file should be the column names
	IncludeHeader bool `json:"includeHeader,omitempty"`

	// query
	Query string `json:"query,omitempty"`
}

V1SnowflakeDataConnection v1 snowflake data connection

swagger:model v1SnowflakeDataConnection

func (*V1SnowflakeDataConnection) ContextValidate ¶

func (m *V1SnowflakeDataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 snowflake data connection based on context it is used

func (*V1SnowflakeDataConnection) MarshalBinary ¶

func (m *V1SnowflakeDataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SnowflakeDataConnection) UnmarshalBinary ¶

func (m *V1SnowflakeDataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SnowflakeDataConnection) Validate ¶

func (m *V1SnowflakeDataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 snowflake data connection

type V1SourceType ¶

type V1SourceType string

V1SourceType v1 source type

swagger:model v1SourceType

const (

	// V1SourceTypeSOURCETYPEUNSPECIFIED captures enum value "SOURCE_TYPE_UNSPECIFIED"
	V1SourceTypeSOURCETYPEUNSPECIFIED V1SourceType = "SOURCE_TYPE_UNSPECIFIED"

	// V1SourceTypeSOURCETYPES3 captures enum value "SOURCE_TYPE_S3"
	V1SourceTypeSOURCETYPES3 V1SourceType = "SOURCE_TYPE_S3"
)

func NewV1SourceType ¶

func NewV1SourceType(value V1SourceType) *V1SourceType

func (V1SourceType) ContextValidate ¶

func (m V1SourceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 source type based on context it is used

func (V1SourceType) Pointer ¶

func (m V1SourceType) Pointer() *V1SourceType

Pointer returns a pointer to a freshly-allocated V1SourceType.

func (V1SourceType) Validate ¶

func (m V1SourceType) Validate(formats strfmt.Registry) error

Validate validates this v1 source type

type V1SshfsDataConnection ¶

type V1SshfsDataConnection struct {

	// SSH host (e.g. Slurm login node hostname or IP)
	Host string `json:"host,omitempty"`

	// Path to SSH private key file inside the tired-proxy container
	IdentityFilePath string `json:"identityFilePath,omitempty"`

	// Remote path to mount (e.g. work_dir on the cluster)
	RemotePath string `json:"remotePath,omitempty"`

	// SSH user
	User string `json:"user,omitempty"`
}

V1SshfsDataConnection SshfsDataConnection is used to mount a remote path via SSHFS (e.g. Slurm cluster login node).

swagger:model v1SshfsDataConnection

func (*V1SshfsDataConnection) ContextValidate ¶

func (m *V1SshfsDataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 sshfs data connection based on context it is used

func (*V1SshfsDataConnection) MarshalBinary ¶

func (m *V1SshfsDataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SshfsDataConnection) UnmarshalBinary ¶

func (m *V1SshfsDataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SshfsDataConnection) Validate ¶

func (m *V1SshfsDataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 sshfs data connection

type V1StartCloudSpaceInstanceResponse ¶

type V1StartCloudSpaceInstanceResponse any

V1StartCloudSpaceInstanceResponse v1 start cloud space instance response

swagger:model v1StartCloudSpaceInstanceResponse

type V1StatusCodeTelemetry ¶

type V1StatusCodeTelemetry struct {

	// The key is the resource_id
	ResourceTelemetry map[string]V1Telemetry `json:"resourceTelemetry,omitempty"`

	// Aggregate across all sources for this (path, time, status_code) bucket. Frontend reads this for top-level deployment views; resource_telemetry remains the source for per-resource panels.
	Total *V1Telemetry `json:"total,omitempty"`
}

V1StatusCodeTelemetry v1 status code telemetry

swagger:model v1StatusCodeTelemetry

func (*V1StatusCodeTelemetry) ContextValidate ¶

func (m *V1StatusCodeTelemetry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 status code telemetry based on the context it is used

func (*V1StatusCodeTelemetry) MarshalBinary ¶

func (m *V1StatusCodeTelemetry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1StatusCodeTelemetry) UnmarshalBinary ¶

func (m *V1StatusCodeTelemetry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1StatusCodeTelemetry) Validate ¶

func (m *V1StatusCodeTelemetry) Validate(formats strfmt.Registry) error

Validate validates this v1 status code telemetry

type V1StopCloudSpaceInstanceResponse ¶

type V1StopCloudSpaceInstanceResponse any

V1StopCloudSpaceInstanceResponse v1 stop cloud space instance response

swagger:model v1StopCloudSpaceInstanceResponse

type V1StorageCategory ¶

type V1StorageCategory struct {

	// item count
	ItemCount int32 `json:"itemCount,omitempty"`

	// last scanned
	// Format: date-time
	LastScanned strfmt.DateTime `json:"lastScanned,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// total bytes
	TotalBytes string `json:"totalBytes,omitempty"`
}

V1StorageCategory v1 storage category

swagger:model v1StorageCategory

func (*V1StorageCategory) ContextValidate ¶

func (m *V1StorageCategory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 storage category based on context it is used

func (*V1StorageCategory) MarshalBinary ¶

func (m *V1StorageCategory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1StorageCategory) UnmarshalBinary ¶

func (m *V1StorageCategory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1StorageCategory) Validate ¶

func (m *V1StorageCategory) Validate(formats strfmt.Registry) error

Validate validates this v1 storage category

type V1StorageSystemMetrics ¶

type V1StorageSystemMetrics struct {

	// percentage
	Percentage int64 `json:"percentage,omitempty"`

	// total
	Total int64 `json:"total,omitempty"`

	// used
	Used int64 `json:"used,omitempty"`
}

V1StorageSystemMetrics v1 storage system metrics

swagger:model v1StorageSystemMetrics

func (*V1StorageSystemMetrics) ContextValidate ¶

func (m *V1StorageSystemMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 storage system metrics based on context it is used

func (*V1StorageSystemMetrics) MarshalBinary ¶

func (m *V1StorageSystemMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1StorageSystemMetrics) UnmarshalBinary ¶

func (m *V1StorageSystemMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1StorageSystemMetrics) Validate ¶

func (m *V1StorageSystemMetrics) Validate(formats strfmt.Registry) error

Validate validates this v1 storage system metrics

type V1StorageType ¶

type V1StorageType string

V1StorageType Storage type for MountableDataConnection

swagger:model v1StorageType

const (

	// V1StorageTypeSTORAGEUNKNOWN captures enum value "STORAGE_UNKNOWN"
	V1StorageTypeSTORAGEUNKNOWN V1StorageType = "STORAGE_UNKNOWN"

	// V1StorageTypeSTORAGEVAST captures enum value "STORAGE_VAST"
	V1StorageTypeSTORAGEVAST V1StorageType = "STORAGE_VAST"

	// V1StorageTypeSTORAGENFS captures enum value "STORAGE_NFS"
	V1StorageTypeSTORAGENFS V1StorageType = "STORAGE_NFS"
)

func NewV1StorageType ¶

func NewV1StorageType(value V1StorageType) *V1StorageType

func (V1StorageType) ContextValidate ¶

func (m V1StorageType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 storage type based on context it is used

func (V1StorageType) Pointer ¶

func (m V1StorageType) Pointer() *V1StorageType

Pointer returns a pointer to a freshly-allocated V1StorageType.

func (V1StorageType) Validate ¶

func (m V1StorageType) Validate(formats strfmt.Registry) error

Validate validates this v1 storage type

type V1SubnetSpec ¶

type V1SubnetSpec struct {

	// Subnet CIDR range
	CidrRange string `json:"cidrRange,omitempty"`

	// Subnet region
	Region string `json:"region,omitempty"`
}

V1SubnetSpec v1 subnet spec

swagger:model v1SubnetSpec

func (*V1SubnetSpec) ContextValidate ¶

func (m *V1SubnetSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 subnet spec based on context it is used

func (*V1SubnetSpec) MarshalBinary ¶

func (m *V1SubnetSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SubnetSpec) UnmarshalBinary ¶

func (m *V1SubnetSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SubnetSpec) Validate ¶

func (m *V1SubnetSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 subnet spec

type V1SuggestCloudSpaceNameResponse ¶

type V1SuggestCloudSpaceNameResponse struct {

	// name
	Name string `json:"name,omitempty"`
}

V1SuggestCloudSpaceNameResponse v1 suggest cloud space name response

swagger:model v1SuggestCloudSpaceNameResponse

func (*V1SuggestCloudSpaceNameResponse) ContextValidate ¶

func (m *V1SuggestCloudSpaceNameResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 suggest cloud space name response based on context it is used

func (*V1SuggestCloudSpaceNameResponse) MarshalBinary ¶

func (m *V1SuggestCloudSpaceNameResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SuggestCloudSpaceNameResponse) UnmarshalBinary ¶

func (m *V1SuggestCloudSpaceNameResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SuggestCloudSpaceNameResponse) Validate ¶

Validate validates this v1 suggest cloud space name response

type V1SwitchCloudSpaceInstanceResponse ¶

type V1SwitchCloudSpaceInstanceResponse any

V1SwitchCloudSpaceInstanceResponse v1 switch cloud space instance response

swagger:model v1SwitchCloudSpaceInstanceResponse

type V1SystemMetrics ¶

type V1SystemMetrics struct {

	// cpu
	CPU *V1CPUSystemMetrics `json:"cpu,omitempty"`

	// gpu
	Gpu []*V1GPUSystemMetrics `json:"gpu"`

	// storage
	Storage *V1StorageSystemMetrics `json:"storage,omitempty"`

	// Per-mount-point storage metrics keyed by mount path (e.g. "/", "/scratch").
	StorageByMountpoint map[string]V1StorageSystemMetrics `json:"storageByMountpoint,omitempty"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

V1SystemMetrics v1 system metrics

swagger:model v1SystemMetrics

func (*V1SystemMetrics) ContextValidate ¶

func (m *V1SystemMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 system metrics based on the context it is used

func (*V1SystemMetrics) MarshalBinary ¶

func (m *V1SystemMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SystemMetrics) UnmarshalBinary ¶

func (m *V1SystemMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SystemMetrics) Validate ¶

func (m *V1SystemMetrics) Validate(formats strfmt.Registry) error

Validate validates this v1 system metrics

type V1SystemMetricsAggregated ¶

type V1SystemMetricsAggregated struct {

	// avg Cpu percentage
	AvgCPUPercentage float32 `json:"avgCpuPercentage,omitempty"`

	// avg gpu percentage
	AvgGpuPercentage float32 `json:"avgGpuPercentage,omitempty"`

	// num cpus
	NumCpus float32 `json:"numCpus,omitempty"`

	// num gpus
	NumGpus float32 `json:"numGpus,omitempty"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

V1SystemMetricsAggregated v1 system metrics aggregated

swagger:model v1SystemMetricsAggregated

func (*V1SystemMetricsAggregated) ContextValidate ¶

func (m *V1SystemMetricsAggregated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 system metrics aggregated based on context it is used

func (*V1SystemMetricsAggregated) MarshalBinary ¶

func (m *V1SystemMetricsAggregated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SystemMetricsAggregated) UnmarshalBinary ¶

func (m *V1SystemMetricsAggregated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SystemMetricsAggregated) Validate ¶

func (m *V1SystemMetricsAggregated) Validate(formats strfmt.Registry) error

Validate validates this v1 system metrics aggregated

type V1SystemMetricsList ¶

type V1SystemMetricsList struct {

	// keep fetching
	KeepFetching bool `json:"keepFetching,omitempty"`

	// metrics
	Metrics []*V1SystemMetrics `json:"metrics"`
}

V1SystemMetricsList v1 system metrics list

swagger:model v1SystemMetricsList

func (*V1SystemMetricsList) ContextValidate ¶

func (m *V1SystemMetricsList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 system metrics list based on the context it is used

func (*V1SystemMetricsList) MarshalBinary ¶

func (m *V1SystemMetricsList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SystemMetricsList) UnmarshalBinary ¶

func (m *V1SystemMetricsList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SystemMetricsList) Validate ¶

func (m *V1SystemMetricsList) Validate(formats strfmt.Registry) error

Validate validates this v1 system metrics list

type V1Telemetry ¶

type V1Telemetry struct {

	// count
	Count int32 `json:"count,omitempty"`

	// duration25
	Duration25 float32 `json:"duration25,omitempty"`

	// duration50
	Duration50 float32 `json:"duration50,omitempty"`

	// duration75
	Duration75 float32 `json:"duration75,omitempty"`

	// duration90
	Duration90 float32 `json:"duration90,omitempty"`

	// duration95
	Duration95 float32 `json:"duration95,omitempty"`

	// duration99
	Duration99 float32 `json:"duration99,omitempty"`

	// duration999
	Duration999 float32 `json:"duration999,omitempty"`

	// success count
	SuccessCount int32 `json:"successCount,omitempty"`
}

V1Telemetry v1 telemetry

swagger:model v1Telemetry

func (*V1Telemetry) ContextValidate ¶

func (m *V1Telemetry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 telemetry based on context it is used

func (*V1Telemetry) MarshalBinary ¶

func (m *V1Telemetry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Telemetry) UnmarshalBinary ¶

func (m *V1Telemetry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Telemetry) Validate ¶

func (m *V1Telemetry) Validate(formats strfmt.Registry) error

Validate validates this v1 telemetry

type V1TenantCredentials ¶

type V1TenantCredentials struct {

	// Encoded JSON credentials for the tenant
	CredentialsEncodedJSON string `json:"credentialsEncodedJson,omitempty"`

	// Project ID associated with the region
	ProjectID string `json:"projectId,omitempty"`

	// Region of the tenant
	Region string `json:"region,omitempty"`

	// VPC subnet ID associated with the region
	VpcSubnetID string `json:"vpcSubnetId,omitempty"`
}

V1TenantCredentials TenantCredentials is used for allowing access to BYOC tenants

swagger:model v1TenantCredentials

func (*V1TenantCredentials) ContextValidate ¶

func (m *V1TenantCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 tenant credentials based on context it is used

func (*V1TenantCredentials) MarshalBinary ¶

func (m *V1TenantCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1TenantCredentials) UnmarshalBinary ¶

func (m *V1TenantCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1TenantCredentials) Validate ¶

func (m *V1TenantCredentials) Validate(formats strfmt.Registry) error

Validate validates this v1 tenant credentials

type V1TensorDockDirectV1 ¶

type V1TensorDockDirectV1 struct {

	// ID of the secret that contains the TensorDock API key
	APIKeySecretID string `json:"apiKeySecretId,omitempty"`

	// ID of the secret that contains the TensorDock API token
	APITokenSecretID string `json:"apiTokenSecretId,omitempty"`

	// Primary region stores user's code and data
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// We deploy the bare bones infrastructure into every region
	Regions []string `json:"regions"`
}

V1TensorDockDirectV1 v1 tensor dock direct v1

swagger:model v1TensorDockDirectV1

func (*V1TensorDockDirectV1) ContextValidate ¶

func (m *V1TensorDockDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 tensor dock direct v1 based on context it is used

func (*V1TensorDockDirectV1) MarshalBinary ¶

func (m *V1TensorDockDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1TensorDockDirectV1) UnmarshalBinary ¶

func (m *V1TensorDockDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1TensorDockDirectV1) Validate ¶

func (m *V1TensorDockDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 tensor dock direct v1

type V1ThunderCatDirectV1 ¶

type V1ThunderCatDirectV1 struct {

	// ID of the secret that contains the ThunderCat API key (base64 encoded)
	APIKeySecretID string `json:"apiKeySecretId,omitempty"`

	// ID of the secret that contains the ThunderCat certificate bundle (base64 encoded PEM)
	CertBundleSecretID string `json:"certBundleSecretId,omitempty"`

	// Primary region stores user's code and data
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// We deploy the bare bones infrastructure into every region
	Regions []string `json:"regions"`
}

V1ThunderCatDirectV1 v1 thunder cat direct v1

swagger:model v1ThunderCatDirectV1

func (*V1ThunderCatDirectV1) ContextValidate ¶

func (m *V1ThunderCatDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 thunder cat direct v1 based on context it is used

func (*V1ThunderCatDirectV1) MarshalBinary ¶

func (m *V1ThunderCatDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ThunderCatDirectV1) UnmarshalBinary ¶

func (m *V1ThunderCatDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ThunderCatDirectV1) Validate ¶

func (m *V1ThunderCatDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 thunder cat direct v1

type V1TimestampCodeTelemetry ¶

type V1TimestampCodeTelemetry struct {

	// The key is the status_code
	StatusCodeTelemetry map[string]V1StatusCodeTelemetry `json:"statusCodeTelemetry,omitempty"`
}

V1TimestampCodeTelemetry v1 timestamp code telemetry

swagger:model v1TimestampCodeTelemetry

func (*V1TimestampCodeTelemetry) ContextValidate ¶

func (m *V1TimestampCodeTelemetry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 timestamp code telemetry based on the context it is used

func (*V1TimestampCodeTelemetry) MarshalBinary ¶

func (m *V1TimestampCodeTelemetry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1TimestampCodeTelemetry) UnmarshalBinary ¶

func (m *V1TimestampCodeTelemetry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1TimestampCodeTelemetry) Validate ¶

func (m *V1TimestampCodeTelemetry) Validate(formats strfmt.Registry) error

Validate validates this v1 timestamp code telemetry

type V1TransferCloudSpaceResponse ¶

type V1TransferCloudSpaceResponse any

V1TransferCloudSpaceResponse v1 transfer cloud space response

swagger:model v1TransferCloudSpaceResponse

type V1TransferOrgMemberResourcesResponse ¶

type V1TransferOrgMemberResourcesResponse any

V1TransferOrgMemberResourcesResponse v1 transfer org member resources response

swagger:model v1TransferOrgMemberResourcesResponse

type V1UnpublishCloudSpaceResponse ¶

type V1UnpublishCloudSpaceResponse any

V1UnpublishCloudSpaceResponse v1 unpublish cloud space response

swagger:model v1UnpublishCloudSpaceResponse

type V1UpdateCloudSpaceCollabResponse ¶

type V1UpdateCloudSpaceCollabResponse struct {

	// collab session
	CollabSession *V1CollabSession `json:"collabSession,omitempty"`
}

V1UpdateCloudSpaceCollabResponse v1 update cloud space collab response

swagger:model v1UpdateCloudSpaceCollabResponse

func (*V1UpdateCloudSpaceCollabResponse) ContextValidate ¶

func (m *V1UpdateCloudSpaceCollabResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 update cloud space collab response based on the context it is used

func (*V1UpdateCloudSpaceCollabResponse) MarshalBinary ¶

func (m *V1UpdateCloudSpaceCollabResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpdateCloudSpaceCollabResponse) UnmarshalBinary ¶

func (m *V1UpdateCloudSpaceCollabResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpdateCloudSpaceCollabResponse) Validate ¶

Validate validates this v1 update cloud space collab response

type V1UpdateCloudSpaceInstanceConfigRequest ¶

type V1UpdateCloudSpaceInstanceConfigRequest struct {

	// compute config
	ComputeConfig *V1UserRequestedComputeConfig `json:"computeConfig,omitempty"`

	// data connection mounts
	DataConnectionMounts []*V1DataConnectionMount `json:"dataConnectionMounts"`

	// id
	ID string `json:"id,omitempty"`

	// ide
	Ide string `json:"ide,omitempty"`

	// port plugin port
	PortPluginPort string `json:"portPluginPort,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`
}

V1UpdateCloudSpaceInstanceConfigRequest v1 update cloud space instance config request

swagger:model v1UpdateCloudSpaceInstanceConfigRequest

func (*V1UpdateCloudSpaceInstanceConfigRequest) ContextValidate ¶

ContextValidate validate this v1 update cloud space instance config request based on the context it is used

func (*V1UpdateCloudSpaceInstanceConfigRequest) MarshalBinary ¶

func (m *V1UpdateCloudSpaceInstanceConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpdateCloudSpaceInstanceConfigRequest) UnmarshalBinary ¶

func (m *V1UpdateCloudSpaceInstanceConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpdateCloudSpaceInstanceConfigRequest) Validate ¶

Validate validates this v1 update cloud space instance config request

type V1UpdateCloudSpacePublicationResponse ¶

type V1UpdateCloudSpacePublicationResponse any

V1UpdateCloudSpacePublicationResponse v1 update cloud space publication response

swagger:model v1UpdateCloudSpacePublicationResponse

type V1UpdateCloudSpaceVisibilityResponse ¶

type V1UpdateCloudSpaceVisibilityResponse any

V1UpdateCloudSpaceVisibilityResponse v1 update cloud space visibility response

swagger:model v1UpdateCloudSpaceVisibilityResponse

type V1UpdateClusterAcceleratorsRequest ¶

type V1UpdateClusterAcceleratorsRequest struct {

	// update filters attribute that can't be updated, ie resources, cost
	Accelerator []*V1ClusterAccelerator `json:"accelerator"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`
}

V1UpdateClusterAcceleratorsRequest v1 update cluster accelerators request

swagger:model v1UpdateClusterAcceleratorsRequest

func (*V1UpdateClusterAcceleratorsRequest) ContextValidate ¶

func (m *V1UpdateClusterAcceleratorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 update cluster accelerators request based on the context it is used

func (*V1UpdateClusterAcceleratorsRequest) MarshalBinary ¶

func (m *V1UpdateClusterAcceleratorsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpdateClusterAcceleratorsRequest) UnmarshalBinary ¶

func (m *V1UpdateClusterAcceleratorsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpdateClusterAcceleratorsRequest) Validate ¶

Validate validates this v1 update cluster accelerators request

type V1UpdateClusterAcceleratorsResponse ¶

type V1UpdateClusterAcceleratorsResponse any

V1UpdateClusterAcceleratorsResponse v1 update cluster accelerators response

swagger:model v1UpdateClusterAcceleratorsResponse

type V1UpdateClusterAvailabilityRequest ¶

type V1UpdateClusterAvailabilityRequest struct {

	// To specify if this cluster is allowed for specific teamspaces only listed here
	AllowedProjectIds []string `json:"allowedProjectIds"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// If 'true', the cluster has no availability restrictions
	IsAllowedToAll bool `json:"isAllowedToAll,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`
}

V1UpdateClusterAvailabilityRequest v1 update cluster availability request

swagger:model v1UpdateClusterAvailabilityRequest

func (*V1UpdateClusterAvailabilityRequest) ContextValidate ¶

func (m *V1UpdateClusterAvailabilityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 update cluster availability request based on context it is used

func (*V1UpdateClusterAvailabilityRequest) MarshalBinary ¶

func (m *V1UpdateClusterAvailabilityRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpdateClusterAvailabilityRequest) UnmarshalBinary ¶

func (m *V1UpdateClusterAvailabilityRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpdateClusterAvailabilityRequest) Validate ¶

Validate validates this v1 update cluster availability request

type V1UpdateDeploymentAlertingEventsBulkResponse ¶

type V1UpdateDeploymentAlertingEventsBulkResponse any

V1UpdateDeploymentAlertingEventsBulkResponse v1 update deployment alerting events bulk response

swagger:model v1UpdateDeploymentAlertingEventsBulkResponse

type V1UpdateDeploymentVisibilityResponse ¶

type V1UpdateDeploymentVisibilityResponse any

V1UpdateDeploymentVisibilityResponse v1 update deployment visibility response

swagger:model v1UpdateDeploymentVisibilityResponse

type V1UpdateJobVisibilityResponse ¶

type V1UpdateJobVisibilityResponse any

V1UpdateJobVisibilityResponse v1 update job visibility response

swagger:model v1UpdateJobVisibilityResponse

type V1UpdateMachineAgentResponse ¶

type V1UpdateMachineAgentResponse struct {

	// results
	Results []*V1MachineAgentUpdateResult `json:"results"`
}

V1UpdateMachineAgentResponse v1 update machine agent response

swagger:model v1UpdateMachineAgentResponse

func (*V1UpdateMachineAgentResponse) ContextValidate ¶

func (m *V1UpdateMachineAgentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 update machine agent response based on the context it is used

func (*V1UpdateMachineAgentResponse) MarshalBinary ¶

func (m *V1UpdateMachineAgentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpdateMachineAgentResponse) UnmarshalBinary ¶

func (m *V1UpdateMachineAgentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpdateMachineAgentResponse) Validate ¶

func (m *V1UpdateMachineAgentResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 update machine agent response

type V1UpdateMachineResponse ¶

type V1UpdateMachineResponse struct {

	// machine
	Machine *V1Machine `json:"machine,omitempty"`
}

V1UpdateMachineResponse v1 update machine response

swagger:model v1UpdateMachineResponse

func (*V1UpdateMachineResponse) ContextValidate ¶

func (m *V1UpdateMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 update machine response based on the context it is used

func (*V1UpdateMachineResponse) MarshalBinary ¶

func (m *V1UpdateMachineResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpdateMachineResponse) UnmarshalBinary ¶

func (m *V1UpdateMachineResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpdateMachineResponse) Validate ¶

func (m *V1UpdateMachineResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 update machine response

type V1UpdateMachineServerResponse ¶

type V1UpdateMachineServerResponse any

V1UpdateMachineServerResponse v1 update machine server response

swagger:model v1UpdateMachineServerResponse

type V1UpdateOrganizationCreditsAutoReplenishResponse ¶

type V1UpdateOrganizationCreditsAutoReplenishResponse any

V1UpdateOrganizationCreditsAutoReplenishResponse v1 update organization credits auto replenish response

swagger:model v1UpdateOrganizationCreditsAutoReplenishResponse

type V1UpdateProjectClusterAcceleratorsResponse ¶

type V1UpdateProjectClusterAcceleratorsResponse any

V1UpdateProjectClusterAcceleratorsResponse v1 update project cluster accelerators response

swagger:model v1UpdateProjectClusterAcceleratorsResponse

type V1UpdateProjectTabOrderResponse ¶

type V1UpdateProjectTabOrderResponse struct {

	// tabs
	Tabs []*V1ProjectTab `json:"tabs"`
}

V1UpdateProjectTabOrderResponse v1 update project tab order response

swagger:model v1UpdateProjectTabOrderResponse

func (*V1UpdateProjectTabOrderResponse) ContextValidate ¶

func (m *V1UpdateProjectTabOrderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 update project tab order response based on the context it is used

func (*V1UpdateProjectTabOrderResponse) MarshalBinary ¶

func (m *V1UpdateProjectTabOrderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpdateProjectTabOrderResponse) UnmarshalBinary ¶

func (m *V1UpdateProjectTabOrderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpdateProjectTabOrderResponse) Validate ¶

Validate validates this v1 update project tab order response

type V1UpdateSandboxCommandExitCodeRequest ¶

type V1UpdateSandboxCommandExitCodeRequest struct {

	// Sandbox command id (sbc_*) whose exit code is being reported.
	CmdID string `json:"cmdId,omitempty"`

	// exit code
	ExitCode int32 `json:"exitCode,omitempty"`
}

V1UpdateSandboxCommandExitCodeRequest v1 update sandbox command exit code request

swagger:model v1UpdateSandboxCommandExitCodeRequest

func (*V1UpdateSandboxCommandExitCodeRequest) ContextValidate ¶

func (m *V1UpdateSandboxCommandExitCodeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 update sandbox command exit code request based on context it is used

func (*V1UpdateSandboxCommandExitCodeRequest) MarshalBinary ¶

func (m *V1UpdateSandboxCommandExitCodeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpdateSandboxCommandExitCodeRequest) UnmarshalBinary ¶

func (m *V1UpdateSandboxCommandExitCodeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpdateSandboxCommandExitCodeRequest) Validate ¶

Validate validates this v1 update sandbox command exit code request

type V1UpdateSandboxCommandExitCodeResponse ¶

type V1UpdateSandboxCommandExitCodeResponse any

V1UpdateSandboxCommandExitCodeResponse v1 update sandbox command exit code response

swagger:model v1UpdateSandboxCommandExitCodeResponse

type V1UpdateServerResponse ¶

type V1UpdateServerResponse any

V1UpdateServerResponse v1 update server response

swagger:model v1UpdateServerResponse

type V1UpdateUserViewedNewFeaturesRequest ¶

type V1UpdateUserViewedNewFeaturesRequest struct {

	// features Id
	FeaturesID []string `json:"featuresId"`
}

V1UpdateUserViewedNewFeaturesRequest v1 update user viewed new features request

swagger:model v1UpdateUserViewedNewFeaturesRequest

func (*V1UpdateUserViewedNewFeaturesRequest) ContextValidate ¶

func (m *V1UpdateUserViewedNewFeaturesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 update user viewed new features request based on context it is used

func (*V1UpdateUserViewedNewFeaturesRequest) MarshalBinary ¶

func (m *V1UpdateUserViewedNewFeaturesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpdateUserViewedNewFeaturesRequest) UnmarshalBinary ¶

func (m *V1UpdateUserViewedNewFeaturesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpdateUserViewedNewFeaturesRequest) Validate ¶

Validate validates this v1 update user viewed new features request

type V1UpdateUserViewedNewFeaturesResponse ¶

type V1UpdateUserViewedNewFeaturesResponse any

V1UpdateUserViewedNewFeaturesResponse v1 update user viewed new features response

swagger:model v1UpdateUserViewedNewFeaturesResponse

type V1UploadSettingsResponse ¶

type V1UploadSettingsResponse struct {

	// Upload presigned URL
	URL string `json:"url,omitempty"`
}

V1UploadSettingsResponse v1 upload settings response

swagger:model v1UploadSettingsResponse

func (*V1UploadSettingsResponse) ContextValidate ¶

func (m *V1UploadSettingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 upload settings response based on context it is used

func (*V1UploadSettingsResponse) MarshalBinary ¶

func (m *V1UploadSettingsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UploadSettingsResponse) UnmarshalBinary ¶

func (m *V1UploadSettingsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UploadSettingsResponse) Validate ¶

func (m *V1UploadSettingsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 upload settings response

type V1UpstreamCloudSpace ¶

type V1UpstreamCloudSpace struct {

	// auto start
	AutoStart bool `json:"autoStart,omitempty"`

	// cloudspace Id
	CloudspaceID string `json:"cloudspaceId,omitempty"`

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// command
	Command string `json:"command,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// Optional, only needed if used together with the custom_domain field
	Port string `json:"port,omitempty"`

	// studio job Id
	StudioJobID string `json:"studioJobId,omitempty"`

	// terminal session Id
	TerminalSessionID string `json:"terminalSessionId,omitempty"`

	// type
	Type *V1EndpointType `json:"type,omitempty"`
}

V1UpstreamCloudSpace v1 upstream cloud space

swagger:model v1UpstreamCloudSpace

func (*V1UpstreamCloudSpace) ContextValidate ¶

func (m *V1UpstreamCloudSpace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 upstream cloud space based on the context it is used

func (*V1UpstreamCloudSpace) MarshalBinary ¶

func (m *V1UpstreamCloudSpace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpstreamCloudSpace) UnmarshalBinary ¶

func (m *V1UpstreamCloudSpace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpstreamCloudSpace) Validate ¶

func (m *V1UpstreamCloudSpace) Validate(formats strfmt.Registry) error

Validate validates this v1 upstream cloud space

type V1UpstreamJob ¶

type V1UpstreamJob struct {

	// Start the job when the endpoint receives HTTP request
	AutoStart bool `json:"autoStart,omitempty"`

	// idle shutdown
	IdleShutdown bool `json:"idleShutdown,omitempty"`

	// idle shutdown seconds
	IdleShutdownSeconds string `json:"idleShutdownSeconds,omitempty"`

	// job Id
	JobID string `json:"jobId,omitempty"`

	// Optional, only needed if used together with the custom_domain field
	Port string `json:"port,omitempty"`
}

V1UpstreamJob v1 upstream job

swagger:model v1UpstreamJob

func (*V1UpstreamJob) ContextValidate ¶

func (m *V1UpstreamJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 upstream job based on context it is used

func (*V1UpstreamJob) MarshalBinary ¶

func (m *V1UpstreamJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpstreamJob) UnmarshalBinary ¶

func (m *V1UpstreamJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpstreamJob) Validate ¶

func (m *V1UpstreamJob) Validate(formats strfmt.Registry) error

Validate validates this v1 upstream job

type V1UpstreamManaged ¶

type V1UpstreamManaged struct {

	// ID of the managed domain
	ID string `json:"id,omitempty"`
}

V1UpstreamManaged v1 upstream managed

swagger:model v1UpstreamManaged

func (*V1UpstreamManaged) ContextValidate ¶

func (m *V1UpstreamManaged) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 upstream managed based on context it is used

func (*V1UpstreamManaged) MarshalBinary ¶

func (m *V1UpstreamManaged) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpstreamManaged) UnmarshalBinary ¶

func (m *V1UpstreamManaged) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpstreamManaged) Validate ¶

func (m *V1UpstreamManaged) Validate(formats strfmt.Registry) error

Validate validates this v1 upstream managed

type V1UpstreamOpenAI ¶

type V1UpstreamOpenAI struct {

	// Org ID, API key
	APIKey string `json:"apiKey,omitempty"`

	// base Url
	BaseURL string `json:"baseUrl,omitempty"`
}

V1UpstreamOpenAI v1 upstream open a i

swagger:model v1UpstreamOpenAI

func (*V1UpstreamOpenAI) ContextValidate ¶

func (m *V1UpstreamOpenAI) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 upstream open a i based on context it is used

func (*V1UpstreamOpenAI) MarshalBinary ¶

func (m *V1UpstreamOpenAI) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UpstreamOpenAI) UnmarshalBinary ¶

func (m *V1UpstreamOpenAI) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UpstreamOpenAI) Validate ¶

func (m *V1UpstreamOpenAI) Validate(formats strfmt.Registry) error

Validate validates this v1 upstream open a i

type V1UserRequestedComputeConfig ¶

type V1UserRequestedComputeConfig struct {

	// affinity_identifier is an arbitrary value that is used to co-located different works in the same zone.
	AffinityIdentifier string `json:"affinityIdentifier,omitempty"`

	// If specified, the instance will be run on the specified cluster
	ClusterOverride string `json:"clusterOverride,omitempty"`

	// How many of this configuration machines the user wants for this single work
	Count int32 `json:"count,omitempty"`

	// cpu_image_override is used to specify a custom image used to launch the resource when running on a cpu machine.
	CPUImageOverride string `json:"cpuImageOverride,omitempty"`

	// Workspace size in GB, uses node's storage
	DiskSize int32 `json:"diskSize,omitempty"`

	// gpu_image_override is used to specify a custom image used to launch the resource when running on a cpu machine.
	GpuImageOverride string `json:"gpuImageOverride,omitempty"`

	// The Cloud compute ID
	ID string `json:"id,omitempty"`

	// Can be instance type (t2.medium) or accelerator type 'gpu', 'gpu-fast-single', etc.
	Name string `json:"name,omitempty"`

	// Placement group to co-locate related servers
	PlacementGroupID string `json:"placementGroupId,omitempty"`

	// Requested run duration, used to get the machine using dynamic workload scheduler (DWS)
	RequestedRunDurationSeconds string `json:"requestedRunDurationSeconds,omitempty"`

	// Should start on the compute in the config
	SameComputeOnResume bool `json:"sameComputeOnResume,omitempty"`

	// Shared memory size in MiB, backed by RAM
	ShmSize int32 `json:"shmSize,omitempty"`

	// Whether to use spot instances
	Spot bool `json:"spot,omitempty"`
}

V1UserRequestedComputeConfig user requested compute config is more descriptive and easy for users to fill in. Controlplane takes this config and converts it to ComputeConfig which is what gridlet understands

swagger:model v1UserRequestedComputeConfig

func (*V1UserRequestedComputeConfig) ContextValidate ¶

func (m *V1UserRequestedComputeConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 user requested compute config based on context it is used

func (*V1UserRequestedComputeConfig) MarshalBinary ¶

func (m *V1UserRequestedComputeConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UserRequestedComputeConfig) UnmarshalBinary ¶

func (m *V1UserRequestedComputeConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UserRequestedComputeConfig) Validate ¶

func (m *V1UserRequestedComputeConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 user requested compute config

type V1UserRequestedFlowComputeConfig ¶

type V1UserRequestedFlowComputeConfig struct {

	// optional - can be instance type, ie t2.medium. If not specified it'll default to the smallest available instance type. GPU instance types are not allowed.
	Name string `json:"name,omitempty"`

	// shared memory size in MiB, backed by RAM
	ShmSize int32 `json:"shmSize,omitempty"`

	// spot
	Spot bool `json:"spot,omitempty"`
}

V1UserRequestedFlowComputeConfig user requested compute config is more descriptive and easy for users to fill in. Controlplane takes this config and converts it to ComputeConfig which is what gridlet understands

swagger:model v1UserRequestedFlowComputeConfig

func (*V1UserRequestedFlowComputeConfig) ContextValidate ¶

func (m *V1UserRequestedFlowComputeConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 user requested flow compute config based on context it is used

func (*V1UserRequestedFlowComputeConfig) MarshalBinary ¶

func (m *V1UserRequestedFlowComputeConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1UserRequestedFlowComputeConfig) UnmarshalBinary ¶

func (m *V1UserRequestedFlowComputeConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1UserRequestedFlowComputeConfig) Validate ¶

Validate validates this v1 user requested flow compute config

type V1VMFilesystemUsage ¶

type V1VMFilesystemUsage struct {

	// available bytes
	AvailableBytes string `json:"availableBytes,omitempty"`

	// device
	Device string `json:"device,omitempty"`

	// fstype
	Fstype string `json:"fstype,omitempty"`

	// mountpoint
	Mountpoint string `json:"mountpoint,omitempty"`

	// total bytes
	TotalBytes string `json:"totalBytes,omitempty"`

	// used bytes
	UsedBytes string `json:"usedBytes,omitempty"`
}

V1VMFilesystemUsage v1 VM filesystem usage

swagger:model v1VMFilesystemUsage

func (*V1VMFilesystemUsage) ContextValidate ¶

func (m *V1VMFilesystemUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 VM filesystem usage based on context it is used

func (*V1VMFilesystemUsage) MarshalBinary ¶

func (m *V1VMFilesystemUsage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1VMFilesystemUsage) UnmarshalBinary ¶

func (m *V1VMFilesystemUsage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1VMFilesystemUsage) Validate ¶

func (m *V1VMFilesystemUsage) Validate(formats strfmt.Registry) error

Validate validates this v1 VM filesystem usage

type V1VMHealth ¶

type V1VMHealth struct {

	// Process & Socket level liveness
	Alive bool `json:"alive,omitempty"`

	// ch log failures
	ChLogFailures []string `json:"chLogFailures"`

	// ch log last failure
	ChLogLastFailure string `json:"chLogLastFailure,omitempty"`

	// cloud-hypervisor log scan results.
	ChLogPath string `json:"chLogPath,omitempty"`

	// ch log scan error
	ChLogScanError string `json:"chLogScanError,omitempty"`

	// ch log size bytes
	ChLogSizeBytes string `json:"chLogSizeBytes,omitempty"`

	// checked at
	// Format: date-time
	CheckedAt strfmt.DateTime `json:"checkedAt,omitempty"`

	// filesystems
	Filesystems []*V1VMFilesystemUsage `json:"filesystems"`

	// gpu status
	GpuStatus []*V1GPUStatus `json:"gpuStatus"`

	// gpus
	Gpus []string `json:"gpus"`

	// Why the channel went unused, or how it failed part way through the checks.
	GuestChannelError string `json:"guestChannelError,omitempty"`

	// The in-guest agent answered over vsock. Set with ssh_reachable false, it means
	// the guest is alive and only sshd or its network is broken.
	GuestChannelReachable bool `json:"guestChannelReachable,omitempty"`

	// Primary transport for general in-guest checks, "vsock" or "ssh", while
	// guest-channel health use is enabled. Empty otherwise or when the guest was never reached.
	GuestTransport string `json:"guestTransport,omitempty"`

	// ib pkeys info
	IbPkeysInfo []*V1VMIBPKeyInfo `json:"ibPkeysInfo"`

	// ip
	IP string `json:"ip,omitempty"`

	// Live VM-side resource usage, populated over the selected guest transport.
	Memory *V1VMMemoryUsage `json:"memory,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// nvidia smi error
	NvidiaSmiError string `json:"nvidiaSmiError,omitempty"`

	// NVLink state per GPU. Only populated when the VM has 2+ GPUs.
	Nvlinks []*V1NVLinkStatus `json:"nvlinks"`

	// Running GPU workloads. Used by the host to decide whether to defer
	// fabric manager restarts during active NCCL/CUDA jobs.
	RunningCompute []*V1ComputeApp `json:"runningCompute"`

	// ssh error
	SSHError string `json:"sshError,omitempty"`

	// In-guest checks. ssh_reachable stays literal sshd reachability, which is a
	// health signal in its own right rather than a statement about what was collected.
	SSHReachable bool `json:"sshReachable,omitempty"`

	// status details
	StatusDetails string `json:"statusDetails,omitempty"`

	// vm Id
	VMID string `json:"vmId,omitempty"`

	// xids
	Xids []*V1XidEvent `json:"xids"`
}

V1VMHealth v1 VM health

swagger:model v1VMHealth

func (*V1VMHealth) ContextValidate ¶

func (m *V1VMHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 VM health based on the context it is used

func (*V1VMHealth) MarshalBinary ¶

func (m *V1VMHealth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1VMHealth) UnmarshalBinary ¶

func (m *V1VMHealth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1VMHealth) Validate ¶

func (m *V1VMHealth) Validate(formats strfmt.Registry) error

Validate validates this v1 VM health

type V1VMIBPKeyInfo ¶

type V1VMIBPKeyInfo struct {

	// P_Key values reported by the guest. Interpret all_pkeys[n] as table index n
	// only when pkey_table_format is "indexed-v1". An empty format identifies
	// legacy agents, which emitted a sorted, de-duplicated set instead.
	AllPkeys []string `json:"allPkeys"`

	// Durable host rail assignment matched to the guest device by GUID for
	// correlation only; it is not attestation of guest or fabric state.
	// Empty for unexpected devices and legacy VMs without assignment metadata.
	AssignedDevice *V1IBDeviceInfo `json:"assignedDevice,omitempty"`

	// collection state
	CollectionState string `json:"collectionState,omitempty"`

	// device
	Device string `json:"device,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// guid
	GUID string `json:"guid,omitempty"`

	// lid
	Lid string `json:"lid,omitempty"`

	// link layer
	LinkLayer string `json:"linkLayer,omitempty"`

	// physical state
	PhysicalState string `json:"physicalState,omitempty"`

	// Expected single non-default pool P_Key, e.g. 0x881a.
	Pkey string `json:"pkey,omitempty"`

	// Encoding contract for all_pkeys. Currently empty (legacy set) or indexed-v1.
	PkeyTableFormat string `json:"pkeyTableFormat,omitempty"`

	// port
	Port string `json:"port,omitempty"`

	// state
	State string `json:"state,omitempty"`
}

V1VMIBPKeyInfo v1 VM i b p key info

swagger:model v1VMIBPKeyInfo

func (*V1VMIBPKeyInfo) ContextValidate ¶

func (m *V1VMIBPKeyInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 VM i b p key info based on the context it is used

func (*V1VMIBPKeyInfo) MarshalBinary ¶

func (m *V1VMIBPKeyInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1VMIBPKeyInfo) UnmarshalBinary ¶

func (m *V1VMIBPKeyInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1VMIBPKeyInfo) Validate ¶

func (m *V1VMIBPKeyInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 VM i b p key info

type V1VMImageAsset ¶

type V1VMImageAsset struct {

	// kind
	Kind string `json:"kind,omitempty"`

	// modified at
	// Format: date-time
	ModifiedAt strfmt.DateTime `json:"modifiedAt,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// size bytes
	SizeBytes string `json:"sizeBytes,omitempty"`
}

V1VMImageAsset v1 VM image asset

swagger:model v1VMImageAsset

func (*V1VMImageAsset) ContextValidate ¶

func (m *V1VMImageAsset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 VM image asset based on context it is used

func (*V1VMImageAsset) MarshalBinary ¶

func (m *V1VMImageAsset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1VMImageAsset) UnmarshalBinary ¶

func (m *V1VMImageAsset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1VMImageAsset) Validate ¶

func (m *V1VMImageAsset) Validate(formats strfmt.Registry) error

Validate validates this v1 VM image asset

type V1VMInstance ¶

type V1VMInstance struct {

	// config
	Config string `json:"config,omitempty"`

	// cpus
	Cpus int32 `json:"cpus,omitempty"`

	// debug
	Debug bool `json:"debug,omitempty"`

	// disk gb
	DiskGb int32 `json:"diskGb,omitempty"`

	// enable infiniband
	EnableInfiniband bool `json:"enableInfiniband,omitempty"`

	// extra run cmds
	ExtraRunCmds []string `json:"extraRunCmds"`

	// gpus
	Gpus int32 `json:"gpus,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// image
	Image string `json:"image,omitempty"`

	// memory gb
	MemoryGb int32 `json:"memoryGb,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// ports
	Ports []int32 `json:"ports"`

	// resource type
	ResourceType string `json:"resourceType,omitempty"`

	// server Id
	ServerID string `json:"serverId,omitempty"`

	// ssh authorized keys
	SSHAuthorizedKeys string `json:"sshAuthorizedKeys,omitempty"`

	// user
	User string `json:"user,omitempty"`

	// user data
	UserData string `json:"userData,omitempty"`
}

V1VMInstance v1 VM instance

swagger:model v1VMInstance

func (*V1VMInstance) ContextValidate ¶

func (m *V1VMInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 VM instance based on context it is used

func (*V1VMInstance) MarshalBinary ¶

func (m *V1VMInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1VMInstance) UnmarshalBinary ¶

func (m *V1VMInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1VMInstance) Validate ¶

func (m *V1VMInstance) Validate(formats strfmt.Registry) error

Validate validates this v1 VM instance

type V1VMInstancesConfig ¶

type V1VMInstancesConfig any

V1VMInstancesConfig Empty for now. Future: docker_network_mode, volume_type, etc.

swagger:model v1VMInstancesConfig

type V1VMMemoryUsage ¶

type V1VMMemoryUsage struct {

	// MemAvailable
	AvailableBytes string `json:"availableBytes,omitempty"`

	// buffers bytes
	BuffersBytes string `json:"buffersBytes,omitempty"`

	// cached bytes
	CachedBytes string `json:"cachedBytes,omitempty"`

	// MemFree
	FreeBytes string `json:"freeBytes,omitempty"`

	// MemTotal
	TotalBytes string `json:"totalBytes,omitempty"`

	// derived: total - available
	UsedBytes string `json:"usedBytes,omitempty"`
}

V1VMMemoryUsage v1 VM memory usage

swagger:model v1VMMemoryUsage

func (*V1VMMemoryUsage) ContextValidate ¶

func (m *V1VMMemoryUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 VM memory usage based on context it is used

func (*V1VMMemoryUsage) MarshalBinary ¶

func (m *V1VMMemoryUsage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1VMMemoryUsage) UnmarshalBinary ¶

func (m *V1VMMemoryUsage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1VMMemoryUsage) Validate ¶

func (m *V1VMMemoryUsage) Validate(formats strfmt.Registry) error

Validate validates this v1 VM memory usage

type V1ValidateAutoJoinDomainResponse ¶

type V1ValidateAutoJoinDomainResponse any

V1ValidateAutoJoinDomainResponse v1 validate auto join domain response

swagger:model v1ValidateAutoJoinDomainResponse

type V1ValidateDataConnectionResponse ¶

type V1ValidateDataConnectionResponse struct {

	// aws
	Aws *V1AwsDataConnection `json:"aws,omitempty"`

	// efs
	Efs *V1EfsConfig `json:"efs,omitempty"`

	// gcp
	Gcp *V1GcpDataConnection `json:"gcp,omitempty"`

	// gcs folder
	GcsFolder *V1GCSFolderDataConnection `json:"gcsFolder,omitempty"`

	// r2
	R2 *V1R2DataConnection `json:"r2,omitempty"`

	// s3 folder
	S3Folder *V1S3FolderDataConnection `json:"s3Folder,omitempty"`
}

V1ValidateDataConnectionResponse v1 validate data connection response

swagger:model v1ValidateDataConnectionResponse

func (*V1ValidateDataConnectionResponse) ContextValidate ¶

func (m *V1ValidateDataConnectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 validate data connection response based on the context it is used

func (*V1ValidateDataConnectionResponse) MarshalBinary ¶

func (m *V1ValidateDataConnectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ValidateDataConnectionResponse) UnmarshalBinary ¶

func (m *V1ValidateDataConnectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ValidateDataConnectionResponse) Validate ¶

Validate validates this v1 validate data connection response

type V1ValidateDeploymentImageRequest ¶

type V1ValidateDeploymentImageRequest struct {

	// image to use for the deployment
	Image string `json:"image,omitempty"`

	// ID of project the deployment will run in
	ProjectID string `json:"projectId,omitempty"`

	// secret to use for the deployment
	Secret string `json:"secret,omitempty"`
}

V1ValidateDeploymentImageRequest ValidateDeploymentRequest defines a spec for validating an image and credentials

swagger:model v1ValidateDeploymentImageRequest

func (*V1ValidateDeploymentImageRequest) ContextValidate ¶

func (m *V1ValidateDeploymentImageRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 validate deployment image request based on context it is used

func (*V1ValidateDeploymentImageRequest) MarshalBinary ¶

func (m *V1ValidateDeploymentImageRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ValidateDeploymentImageRequest) UnmarshalBinary ¶

func (m *V1ValidateDeploymentImageRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ValidateDeploymentImageRequest) Validate ¶

Validate validates this v1 validate deployment image request

type V1ValidateDeploymentImageResponse ¶

type V1ValidateDeploymentImageResponse any

V1ValidateDeploymentImageResponse v1 validate deployment image response

swagger:model v1ValidateDeploymentImageResponse

type V1VastDataConnection ¶

type V1VastDataConnection struct {

	// Mount on the baremetal host instead of per-VM
	Baremetal bool `json:"baremetal,omitempty"`

	// Requested capacity, interpreted as GiB (1024^3 bytes) per the storage/cost convention
	SizeGb string `json:"sizeGb,omitempty"`
}

V1VastDataConnection Create-time inputs for a Lightning-managed VAST volume. The mount coordinates (server_ip, remote_path, storage_id) are provisioned asynchronously and are not set by the caller.

swagger:model v1VastDataConnection

func (*V1VastDataConnection) ContextValidate ¶

func (m *V1VastDataConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 vast data connection based on context it is used

func (*V1VastDataConnection) MarshalBinary ¶

func (m *V1VastDataConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1VastDataConnection) UnmarshalBinary ¶

func (m *V1VastDataConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1VastDataConnection) Validate ¶

func (m *V1VastDataConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 vast data connection

type V1VerifyVerificationResponse ¶

type V1VerifyVerificationResponse any

V1VerifyVerificationResponse v1 verify verification response

swagger:model v1VerifyVerificationResponse

type V1VoltageParkDirectV1 ¶

type V1VoltageParkDirectV1 struct {

	// ID of the secret that contains the Vultr API key.
	CredentialsSecretID string `json:"credentialsSecretId,omitempty"`

	// Primary region stores user's code and data
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// We deploy the bare bones infrastructure into every region
	Regions []string `json:"regions"`

	// List of reserved instance IDs assigned to this cluster
	ReservedInstanceIds []string `json:"reservedInstanceIds"`

	// Subnets CIDR ranges to allow inter-node communication in network security rules (done via iptables, until we have provider-side network security setup)
	SubnetCidrRanges []string `json:"subnetCidrRanges"`
}

V1VoltageParkDirectV1 v1 voltage park direct v1

swagger:model v1VoltageParkDirectV1

func (*V1VoltageParkDirectV1) ContextValidate ¶

func (m *V1VoltageParkDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 voltage park direct v1 based on context it is used

func (*V1VoltageParkDirectV1) MarshalBinary ¶

func (m *V1VoltageParkDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1VoltageParkDirectV1) UnmarshalBinary ¶

func (m *V1VoltageParkDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1VoltageParkDirectV1) Validate ¶

func (m *V1VoltageParkDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 voltage park direct v1

type V1Volume ¶

type V1Volume struct {

	// attached at
	// Format: date-time
	AttachedAt strfmt.DateTime `json:"attachedAt,omitempty"`

	// The availability zone of the volume
	AvailabilityZone string `json:"availabilityZone,omitempty"`

	// detached at
	// Format: date-time
	DetachedAt strfmt.DateTime `json:"detachedAt,omitempty"`

	// the device id on the actual instance (e.g. "/dev/sda" or "google-local-nvme-ssd-0")
	DeviceID string `json:"deviceId,omitempty"`

	// Whether the data are protected
	Encrypted bool `json:"encrypted,omitempty"`

	// scratch mounts are ephemeral for transient storage required for data-processing tasks
	Ephemeral bool `json:"ephemeral,omitempty"`

	// The IOPS of the volume
	Iops string `json:"iops,omitempty"`

	// metadata
	Metadata *V1Metadata `json:"metadata,omitempty"`

	// The path where the volume is mounted
	Path string `json:"path,omitempty"`

	// The provider name (aws, azure, etc)
	Provider string `json:"provider,omitempty"`

	// The provider identifier
	ProviderID string `json:"providerId,omitempty"`

	// The region of the volume
	Region string `json:"region,omitempty"`

	// The resource identifier (cloudspace id, job id etc)
	ResourceID string `json:"resourceId,omitempty"`

	// The resource type (cloudspace, job etc)
	ResourceType string `json:"resourceType,omitempty"`

	// retention period
	RetentionPeriod string `json:"retentionPeriod,omitempty"`

	// server Id
	ServerID string `json:"serverId,omitempty"`

	// The size of the volume in GiB
	SizeGb string `json:"sizeGb,omitempty"`

	// state
	State *V1VolumeState `json:"state,omitempty"`

	// The subnet ID of the volume
	SubnetID string `json:"subnetId,omitempty"`

	// The throughput of the volume
	Throughput string `json:"throughput,omitempty"`

	// The type of the volume (gp3, io1, io2, etc)
	Type string `json:"type,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

V1Volume v1 volume

swagger:model v1Volume

func (*V1Volume) ContextValidate ¶

func (m *V1Volume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 volume based on the context it is used

func (*V1Volume) MarshalBinary ¶

func (m *V1Volume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Volume) UnmarshalBinary ¶

func (m *V1Volume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Volume) Validate ¶

func (m *V1Volume) Validate(formats strfmt.Registry) error

Validate validates this v1 volume

type V1VolumeState ¶

type V1VolumeState string

V1VolumeState v1 volume state

swagger:model v1VolumeState

const (

	// V1VolumeStateVOLUMESTATEUNSPECIFIED captures enum value "VOLUME_STATE_UNSPECIFIED"
	V1VolumeStateVOLUMESTATEUNSPECIFIED V1VolumeState = "VOLUME_STATE_UNSPECIFIED"

	// V1VolumeStateVOLUMESTATEATTACHED captures enum value "VOLUME_STATE_ATTACHED"
	V1VolumeStateVOLUMESTATEATTACHED V1VolumeState = "VOLUME_STATE_ATTACHED"

	// V1VolumeStateVOLUMESTATEDETACHED captures enum value "VOLUME_STATE_DETACHED"
	V1VolumeStateVOLUMESTATEDETACHED V1VolumeState = "VOLUME_STATE_DETACHED"

	// V1VolumeStateVOLUMESTATEOVERPROVISIONED captures enum value "VOLUME_STATE_OVERPROVISIONED"
	V1VolumeStateVOLUMESTATEOVERPROVISIONED V1VolumeState = "VOLUME_STATE_OVERPROVISIONED"
)

func NewV1VolumeState ¶

func NewV1VolumeState(value V1VolumeState) *V1VolumeState

func (V1VolumeState) ContextValidate ¶

func (m V1VolumeState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 volume state based on context it is used

func (V1VolumeState) Pointer ¶

func (m V1VolumeState) Pointer() *V1VolumeState

Pointer returns a pointer to a freshly-allocated V1VolumeState.

func (V1VolumeState) Validate ¶

func (m V1VolumeState) Validate(formats strfmt.Registry) error

Validate validates this v1 volume state

type V1VultrDirectV1 ¶

type V1VultrDirectV1 struct {

	// ID of the secret that contains the Vultr API key.
	CredentialsSecretID string `json:"credentialsSecretId,omitempty"`

	// Primary region stores user's code and data
	PrimaryRegion string `json:"primaryRegion,omitempty"`

	// We deploy the bare bones infrastructure into every region
	Regions []string `json:"regions"`
}

V1VultrDirectV1 v1 vultr direct v1

swagger:model v1VultrDirectV1

func (*V1VultrDirectV1) ContextValidate ¶

func (m *V1VultrDirectV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 vultr direct v1 based on context it is used

func (*V1VultrDirectV1) MarshalBinary ¶

func (m *V1VultrDirectV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1VultrDirectV1) UnmarshalBinary ¶

func (m *V1VultrDirectV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1VultrDirectV1) Validate ¶

func (m *V1VultrDirectV1) Validate(formats strfmt.Registry) error

Validate validates this v1 vultr direct v1

type V1WeightSource ¶

type V1WeightSource string

V1WeightSource v1 weight source

swagger:model v1WeightSource

const (

	// V1WeightSourceWEIGHTSOURCEUNSPECIFIED captures enum value "WEIGHT_SOURCE_UNSPECIFIED"
	V1WeightSourceWEIGHTSOURCEUNSPECIFIED V1WeightSource = "WEIGHT_SOURCE_UNSPECIFIED"

	// V1WeightSourceWEIGHTSOURCEHUGGINGFACE captures enum value "WEIGHT_SOURCE_HUGGINGFACE"
	V1WeightSourceWEIGHTSOURCEHUGGINGFACE V1WeightSource = "WEIGHT_SOURCE_HUGGINGFACE"
)

func NewV1WeightSource ¶

func NewV1WeightSource(value V1WeightSource) *V1WeightSource

func (V1WeightSource) ContextValidate ¶

func (m V1WeightSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 weight source based on context it is used

func (V1WeightSource) Pointer ¶

func (m V1WeightSource) Pointer() *V1WeightSource

Pointer returns a pointer to a freshly-allocated V1WeightSource.

func (V1WeightSource) Validate ¶

func (m V1WeightSource) Validate(formats strfmt.Registry) error

Validate validates this v1 weight source

type V1Work ¶

type V1Work struct {

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// spec
	Spec *V1LightningworkSpec `json:"spec,omitempty"`
}

V1Work v1 work

swagger:model v1Work

func (*V1Work) ContextValidate ¶

func (m *V1Work) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 work based on the context it is used

func (*V1Work) MarshalBinary ¶

func (m *V1Work) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Work) UnmarshalBinary ¶

func (m *V1Work) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Work) Validate ¶

func (m *V1Work) Validate(formats strfmt.Registry) error

Validate validates this v1 work

type V1XidErrorBehavior ¶

type V1XidErrorBehavior string

V1XidErrorBehavior XidErrorBehavior enumizes different behaviors for handling XID errors

- XID_ERROR_BEHAVIOR_IGNORE: Ignore the XID error and do nothing

  • XID_ERROR_BEHAVIOR_ALERT: Alert the user about the XID error
  • XID_ERROR_BEHAVIOR_CORDON: Cordon and alert the user about the XID error

swagger:model v1XidErrorBehavior

const (

	// V1XidErrorBehaviorBEHAVIORUNSPECIFIED captures enum value "BEHAVIOR_UNSPECIFIED"
	V1XidErrorBehaviorBEHAVIORUNSPECIFIED V1XidErrorBehavior = "BEHAVIOR_UNSPECIFIED"

	// V1XidErrorBehaviorXIDERRORBEHAVIORIGNORE captures enum value "XID_ERROR_BEHAVIOR_IGNORE"
	V1XidErrorBehaviorXIDERRORBEHAVIORIGNORE V1XidErrorBehavior = "XID_ERROR_BEHAVIOR_IGNORE"

	// V1XidErrorBehaviorXIDERRORBEHAVIORALERT captures enum value "XID_ERROR_BEHAVIOR_ALERT"
	V1XidErrorBehaviorXIDERRORBEHAVIORALERT V1XidErrorBehavior = "XID_ERROR_BEHAVIOR_ALERT"

	// V1XidErrorBehaviorXIDERRORBEHAVIORCORDON captures enum value "XID_ERROR_BEHAVIOR_CORDON"
	V1XidErrorBehaviorXIDERRORBEHAVIORCORDON V1XidErrorBehavior = "XID_ERROR_BEHAVIOR_CORDON"
)

func NewV1XidErrorBehavior ¶

func NewV1XidErrorBehavior(value V1XidErrorBehavior) *V1XidErrorBehavior

func (V1XidErrorBehavior) ContextValidate ¶

func (m V1XidErrorBehavior) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 xid error behavior based on context it is used

func (V1XidErrorBehavior) Pointer ¶

Pointer returns a pointer to a freshly-allocated V1XidErrorBehavior.

func (V1XidErrorBehavior) Validate ¶

func (m V1XidErrorBehavior) Validate(formats strfmt.Registry) error

Validate validates this v1 xid error behavior

type V1XidErrorBehaviorMap ¶

type V1XidErrorBehaviorMap struct {

	// map of xid error codes to their behaviors
	Behaviors map[string]V1XidErrorHandler `json:"behaviors,omitempty"`
}

V1XidErrorBehaviorMap Maps each XID error behavior to the XidErrorHandler struct This allows us to define multiple behaviors with different thresholds and periods for handling the same XID error code

swagger:model v1XidErrorBehaviorMap

func (*V1XidErrorBehaviorMap) ContextValidate ¶

func (m *V1XidErrorBehaviorMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 xid error behavior map based on the context it is used

func (*V1XidErrorBehaviorMap) MarshalBinary ¶

func (m *V1XidErrorBehaviorMap) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1XidErrorBehaviorMap) UnmarshalBinary ¶

func (m *V1XidErrorBehaviorMap) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1XidErrorBehaviorMap) Validate ¶

func (m *V1XidErrorBehaviorMap) Validate(formats strfmt.Registry) error

Validate validates this v1 xid error behavior map

type V1XidErrorHandler ¶

type V1XidErrorHandler struct {

	// behavior to follow when the xid error is detected, e.g. "cordon", "drain", "terminate"
	Behavior *V1XidErrorBehavior `json:"behavior,omitempty"`

	// xid error code
	Code string `json:"code,omitempty"`

	// period for measuring the xid threshold, e.g. "1h", "2h", "3h"
	Period string `json:"period,omitempty"`

	// threshold for the xid error
	Threshold int32 `json:"threshold,omitempty"`
}

V1XidErrorHandler XidErrorHandler defines the behavior to follow when a XID error is detected

swagger:model v1XidErrorHandler

func (*V1XidErrorHandler) ContextValidate ¶

func (m *V1XidErrorHandler) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 xid error handler based on the context it is used

func (*V1XidErrorHandler) MarshalBinary ¶

func (m *V1XidErrorHandler) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1XidErrorHandler) UnmarshalBinary ¶

func (m *V1XidErrorHandler) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1XidErrorHandler) Validate ¶

func (m *V1XidErrorHandler) Validate(formats strfmt.Registry) error

Validate validates this v1 xid error handler

type V1XidEvent ¶

type V1XidEvent struct {

	// host-side, for cross-VM correlation
	HostPciAddr string `json:"hostPciAddr,omitempty"`

	// guest-visible (as reported by NVRM)
	PciAddr string `json:"pciAddr,omitempty"`

	// raw
	Raw string `json:"raw,omitempty"`

	// xid code
	XidCode int32 `json:"xidCode,omitempty"`
}

V1XidEvent v1 xid event

swagger:model v1XidEvent

func (*V1XidEvent) ContextValidate ¶

func (m *V1XidEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 xid event based on context it is used

func (*V1XidEvent) MarshalBinary ¶

func (m *V1XidEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1XidEvent) UnmarshalBinary ¶

func (m *V1XidEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1XidEvent) Validate ¶

func (m *V1XidEvent) Validate(formats strfmt.Registry) error

Validate validates this v1 xid event

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL