models

package
v0.0.0-...-dc6c3cb Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ConfigurationMustSignedInYes captures enum value "yes"
	ConfigurationMustSignedInYes string = "yes"

	// ConfigurationMustSignedInNo captures enum value "no"
	ConfigurationMustSignedInNo string = "no"
)
View Source
const (

	// ConfigurationRescalePlatformHTTPSPlatformRescaleCom captures enum value "https://platform.rescale.com"
	ConfigurationRescalePlatformHTTPSPlatformRescaleCom string = "https://platform.rescale.com"

	// ConfigurationRescalePlatformHTTPSPlatformRescaleJp captures enum value "https://platform.rescale.jp"
	ConfigurationRescalePlatformHTTPSPlatformRescaleJp string = "https://platform.rescale.jp"

	// ConfigurationRescalePlatformHTTPSKrRescaleCom captures enum value "https://kr.rescale.com"
	ConfigurationRescalePlatformHTTPSKrRescaleCom string = "https://kr.rescale.com"

	// ConfigurationRescalePlatformHTTPSEuRescaleCom captures enum value "https://eu.rescale.com"
	ConfigurationRescalePlatformHTTPSEuRescaleCom string = "https://eu.rescale.com"
)
View Source
const (

	// ConfigurationUseK8sYes captures enum value "yes"
	ConfigurationUseK8sYes string = "yes"

	// ConfigurationUseK8sNo captures enum value "no"
	ConfigurationUseK8sNo string = "no"
)
View Source
const (

	// ConfigurationUseNgcYes captures enum value "yes"
	ConfigurationUseNgcYes string = "yes"

	// ConfigurationUseNgcNo captures enum value "no"
	ConfigurationUseNgcNo string = "no"
)
View Source
const (

	// ConfigurationUsePrivateRegistryYes captures enum value "yes"
	ConfigurationUsePrivateRegistryYes string = "yes"

	// ConfigurationUsePrivateRegistryNo captures enum value "no"
	ConfigurationUsePrivateRegistryNo string = "no"
)
View Source
const (

	// ConfigurationUseRescaleYes captures enum value "yes"
	ConfigurationUseRescaleYes string = "yes"

	// ConfigurationUseRescaleNo captures enum value "no"
	ConfigurationUseRescaleNo string = "no"
)
View Source
const (

	// JobPlatformKubernetes captures enum value "kubernetes"
	JobPlatformKubernetes string = "kubernetes"

	// JobPlatformRescale captures enum value "rescale"
	JobPlatformRescale string = "rescale"
)
View Source
const (

	// ModifyNotebookParamsBodyStatusStarted captures enum value "started"
	ModifyNotebookParamsBodyStatusStarted string = "started"

	// ModifyNotebookParamsBodyStatusStopped captures enum value "stopped"
	ModifyNotebookParamsBodyStatusStopped string = "stopped"
)
View Source
const (

	// PostConfigurationsParamsBodyRescalePlatformHTTPSPlatformRescaleCom captures enum value "https://platform.rescale.com"
	PostConfigurationsParamsBodyRescalePlatformHTTPSPlatformRescaleCom string = "https://platform.rescale.com"

	// PostConfigurationsParamsBodyRescalePlatformHTTPSPlatformRescaleJp captures enum value "https://platform.rescale.jp"
	PostConfigurationsParamsBodyRescalePlatformHTTPSPlatformRescaleJp string = "https://platform.rescale.jp"

	// PostConfigurationsParamsBodyRescalePlatformHTTPSKrRescaleCom captures enum value "https://kr.rescale.com"
	PostConfigurationsParamsBodyRescalePlatformHTTPSKrRescaleCom string = "https://kr.rescale.com"

	// PostConfigurationsParamsBodyRescalePlatformHTTPSEuRescaleCom captures enum value "https://eu.rescale.com"
	PostConfigurationsParamsBodyRescalePlatformHTTPSEuRescaleCom string = "https://eu.rescale.com"
)
View Source
const (

	// PostNewJobParamsBodyPlatformIDKubernetes captures enum value "kubernetes"
	PostNewJobParamsBodyPlatformIDKubernetes string = "kubernetes"

	// PostNewJobParamsBodyPlatformIDRescale captures enum value "rescale"
	PostNewJobParamsBodyPlatformIDRescale string = "rescale"
)
View Source
const (

	// ModifyJobParamsBodyStatusStopped captures enum value "stopped"
	ModifyJobParamsBodyStatusStopped string = "stopped"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppError

type AppError struct {

	// caption
	// Required: true
	Caption *string `json:"caption"`

	// condition
	Condition string `json:"condition,omitempty"`

	// detail
	Detail string `json:"detail,omitempty"`

	// when it happened
	// Format: date-time
	OccursAt strfmt.DateTime `json:"occursAt,omitempty"`

	// owner
	Owner string `json:"owner,omitempty"`
}

AppError Application Error swagger:model AppError

func (*AppError) MarshalBinary

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

MarshalBinary interface implementation

func (*AppError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AppError) Validate

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

Validate validates this app error

type Application

type Application struct {

	// code
	// Required: true
	Code *string `json:"code"`

	// versions
	Versions []*ApplicationVersion `json:"versions"`
}

Application Rescale Application swagger:model Application

func (*Application) MarshalBinary

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

MarshalBinary interface implementation

func (*Application) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Application) Validate

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

Validate validates this application

type ApplicationVersion

type ApplicationVersion struct {

	// code
	// Required: true
	Code *string `json:"code"`

	// supported CoreTypes
	Coretypes []string `json:"coretypes"`

	// id
	// Required: true
	ID *string `json:"id"`

	// version
	// Required: true
	Version *string `json:"version"`
}

ApplicationVersion version of Rescale Applications swagger:model ApplicationVersion

func (*ApplicationVersion) MarshalBinary

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

MarshalBinary interface implementation

func (*ApplicationVersion) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ApplicationVersion) Validate

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

Validate validates this application version

type Configuration

type Configuration struct {

	// Hostname for the private Docker registry
	DockerHostname string `json:"docker_hostname,omitempty"`

	// Fist 3 chars of the password of the private Docker registry
	DockerPassword string `json:"docker_password,omitempty"`

	// Docker Registry endpoint
	DockerRegistry string `json:"docker_registry,omitempty"`

	// Username for the private Docker registry
	DockerUsername string `json:"docker_username,omitempty"`

	// kubecfg
	K8sConfig string `json:"k8s_config,omitempty"`

	// Users should be signed in
	// Required: true
	// Enum: [yes no]
	MustSignedIn *string `json:"must_signed_in"`

	// Fist 5 chars of NGC API Key
	NgcApikey string `json:"ngc_apikey,omitempty"`

	// E-mail address for NGC console
	// Format: email
	NgcEmail strfmt.Email `json:"ngc_email,omitempty"`

	// Fist 3 chars of the password for NGC console
	NgcPassword string `json:"ngc_password,omitempty"`

	// Fist 5 chars of Rescal API Key
	RescaleKey string `json:"rescale_key,omitempty"`

	// rescale platform
	// Enum: [https://platform.rescale.com https://platform.rescale.jp https://kr.rescale.com https://eu.rescale.com]
	RescalePlatform string `json:"rescale_platform,omitempty"`

	// Kubernetes will be used or not
	// Enum: [yes no]
	UseK8s string `json:"use_k8s,omitempty"`

	// NGC will be used or not
	// Enum: [yes no]
	UseNgc string `json:"use_ngc,omitempty"`

	// Private registry will be used or not
	// Enum: [yes no]
	UsePrivateRegistry string `json:"use_private_registry,omitempty"`

	// Rescale will be used or not
	// Enum: [yes no]
	UseRescale string `json:"use_rescale,omitempty"`
}

Configuration app's configurations swagger:model Configuration

func (*Configuration) MarshalBinary

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

MarshalBinary interface implementation

func (*Configuration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Configuration) Validate

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

Validate validates this configuration

type CoreType

type CoreType struct {

	// base clock
	BaseClock string `json:"baseClock,omitempty"`

	// code
	// Required: true
	Code *string `json:"code"`

	// interconnect
	Interconnect string `json:"interconnect,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// processor
	Processor string `json:"processor,omitempty"`

	// resources
	Resources []*CoreTypeResources `json:"resources"`
}

CoreType Rescale CoreType swagger:model CoreType

func (*CoreType) MarshalBinary

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

MarshalBinary interface implementation

func (*CoreType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CoreType) Validate

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

Validate validates this core type

type CoreTypeResources

type CoreTypeResources struct {

	// the number of CPU cores
	// Required: true
	Cores *int64 `json:"cores"`

	// the number of GPUs
	// Required: true
	Gpus *int64 `json:"gpus"`
}

CoreTypeResources CPU/GPU cores swagger:model CoreTypeResources

func (*CoreTypeResources) MarshalBinary

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

MarshalBinary interface implementation

func (*CoreTypeResources) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CoreTypeResources) Validate

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

Validate validates this core type resources

type DeleteImageParamsBody

type DeleteImageParamsBody struct {

	// Docker image name
	// Required: true
	Image *string `json:"image"`
}

DeleteImageParamsBody ImageName swagger:model deleteImageParamsBody

func (*DeleteImageParamsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteImageParamsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteImageParamsBody) Validate

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

Validate validates this delete image params body

type DeleteWorkspaceParamsBody

type DeleteWorkspaceParamsBody struct {

	// path
	// Required: true
	Path *string `json:"path"`
}

DeleteWorkspaceParamsBody workspace swagger:model deleteWorkspaceParamsBody

func (*DeleteWorkspaceParamsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteWorkspaceParamsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteWorkspaceParamsBody) Validate

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

Validate validates this delete workspace params body

type Endpoints

type Endpoints struct {

	// The endpoint for private docker registry
	DockerRegistry string `json:"docker_registry,omitempty"`

	// The endpoint for Kubernetes API
	KubernetesAPI string `json:"kubernetes_api,omitempty"`

	// The endpoint for NGC registry
	NgcRegistry string `json:"ngc_registry,omitempty"`

	// The endpoint for Rescale API
	RescaleAPI string `json:"rescale_api,omitempty"`
}

Endpoints third-party endpoints swagger:model Endpoints

func (*Endpoints) MarshalBinary

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

MarshalBinary interface implementation

func (*Endpoints) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Endpoints) Validate

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

Validate validates this endpoints

type Error

type Error struct {

	// code
	// Required: true
	Code *string `json:"code"`

	// message
	// Required: true
	Message *string `json:"message"`
}

Error error swagger:model Error

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type GetJobLogsOKBody

type GetJobLogsOKBody struct {

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

	// logs
	Logs []*JobLog `json:"logs"`
}

GetJobLogsOKBody JobLogs swagger:model getJobLogsOKBody

func (*GetJobLogsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetJobLogsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetJobLogsOKBody) Validate

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

Validate validates this get job logs o k body

type Image

type Image struct {

	// created unix timestamp
	Created string `json:"created,omitempty"`

	// the image ID
	// Required: true
	ID *string `json:"id"`

	// the image parent ID
	ParentID string `json:"parentID,omitempty"`

	// the image digests
	RepoDigests []string `json:"repoDigests"`

	// the image name/tag
	// Required: true
	RepoTags []string `json:"repoTags"`

	// size of the image
	Size int64 `json:"size,omitempty"`

	// status of the image
	Status string `json:"status,omitempty"`

	// virtual size of the image
	VirtualSize int64 `json:"virtualSize,omitempty"`
}

Image docker image information swagger:model Image

func (*Image) MarshalBinary

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

MarshalBinary interface implementation

func (*Image) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Image) Validate

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

Validate validates this image

type IpythonNotebook

type IpythonNotebook struct {

	// file name
	// Required: true
	Name *string `json:"name"`
}

IpythonNotebook .ipynb file attributes swagger:model IPythonNotebook

func (*IpythonNotebook) MarshalBinary

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

MarshalBinary interface implementation

func (*IpythonNotebook) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IpythonNotebook) Validate

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

Validate validates this ipython notebook

type Job

type Job struct {

	// the container labels
	Commands []string `json:"commands"`

	// ended unix timestamp
	// Format: date-time
	Ended strfmt.DateTime `json:"ended,omitempty"`

	// A link to an external status page
	ExternalLink string `json:"external_link,omitempty"`

	// Job ID
	// Required: true
	ID *string `json:"id"`

	// the image ID
	Image string `json:"image,omitempty"`

	// the container labels
	Mounts []string `json:"mounts"`

	// platform
	// Enum: [kubernetes rescale]
	Platform string `json:"platform,omitempty"`

	// started unix timestamp
	// Format: date-time
	Started strfmt.DateTime `json:"started,omitempty"`

	// the status of the job
	Status string `json:"status,omitempty"`
}

Job Rescale Job information swagger:model Job

func (*Job) MarshalBinary

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

MarshalBinary interface implementation

func (*Job) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Job) Validate

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

Validate validates this job

type JobDetail

type JobDetail struct {
	Job

	JobLogs

	JobFiles
}

JobDetail the details of a job swagger:model JobDetail

func (*JobDetail) MarshalBinary

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

MarshalBinary interface implementation

func (JobDetail) MarshalJSON

func (m JobDetail) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*JobDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*JobDetail) UnmarshalJSON

func (m *JobDetail) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*JobDetail) Validate

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

Validate validates this job detail

type JobDetailAllOf1

type JobDetailAllOf1 struct {

	// logs
	// Required: true
	Logs []*JobLog `json:"logs"`
}

JobDetailAllOf1 Finished swagger:model jobDetailAllOf1

func (*JobDetailAllOf1) MarshalBinary

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

MarshalBinary interface implementation

func (*JobDetailAllOf1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*JobDetailAllOf1) Validate

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

Validate validates this job detail all of1

type JobFile

type JobFile struct {

	// download URL
	DownloadURL string `json:"downloadURL,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// size
	// Required: true
	Size *int64 `json:"size"`
}

JobFile the output file swagger:model JobFile

func (*JobFile) MarshalBinary

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

MarshalBinary interface implementation

func (*JobFile) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*JobFile) Validate

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

Validate validates this job file

type JobFiles

type JobFiles struct {

	// api token
	APIToken string `json:"apiToken,omitempty"`

	// files
	// Required: true
	Files []*JobFile `json:"files"`
}

JobFiles the output files swagger:model JobFiles

func (*JobFiles) MarshalBinary

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

MarshalBinary interface implementation

func (*JobFiles) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*JobFiles) Validate

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

Validate validates this job files

type JobLog

type JobLog struct {

	// log
	// Required: true
	Log *string `json:"log"`

	// time
	// Format: date-time
	Time strfmt.DateTime `json:"time,omitempty"`
}

JobLog the log structure swagger:model JobLog

func (*JobLog) MarshalBinary

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

MarshalBinary interface implementation

func (*JobLog) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*JobLog) Validate

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

Validate validates this job log

type JobLogs

type JobLogs struct {

	// logs
	// Required: true
	Logs []*JobLog `json:"logs"`
}

JobLogs the log structure swagger:model JobLogs

func (*JobLogs) MarshalBinary

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

MarshalBinary interface implementation

func (*JobLogs) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*JobLogs) Validate

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

Validate validates this job logs

type ModifyJobParamsBody

type ModifyJobParamsBody struct {

	// status
	// Enum: [stopped]
	Status string `json:"status,omitempty"`
}

ModifyJobParamsBody JobAttrs swagger:model modifyJobParamsBody

func (*ModifyJobParamsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ModifyJobParamsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModifyJobParamsBody) Validate

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

Validate validates this modify job params body

type ModifyNotebookParamsBody

type ModifyNotebookParamsBody struct {

	// status
	// Enum: [started stopped]
	Status string `json:"status,omitempty"`
}

ModifyNotebookParamsBody NotebookAttrs swagger:model modifyNotebookParamsBody

func (*ModifyNotebookParamsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ModifyNotebookParamsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModifyNotebookParamsBody) Validate

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

Validate validates this modify notebook params body

type NgcImage

type NgcImage struct {

	// the image size
	// Required: true
	Size *int64 `json:"size"`

	// the image tag
	// Required: true
	Tag *string `json:"tag"`

	// updated unix timestamp
	// Required: true
	// Format: date-time
	Updated *strfmt.DateTime `json:"updated"`
}

NgcImage NGC docker image information swagger:model NgcImage

func (*NgcImage) MarshalBinary

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

MarshalBinary interface implementation

func (*NgcImage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NgcImage) Validate

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

Validate validates this ngc image

type Notebook

type Notebook struct {

	// the container ID
	// Required: true
	ID *string `json:"id"`

	// the image ID
	// Required: true
	Image *string `json:"image"`

	// the container name
	// Required: true
	Name *string `json:"name"`

	// the container published port
	Port int64 `json:"port,omitempty"`

	// started unix timestamp
	// Format: date-time
	Started strfmt.DateTime `json:"started,omitempty"`

	// state of the container
	State string `json:"state,omitempty"`
}

Notebook Jupyter notebook information swagger:model Notebook

func (*Notebook) MarshalBinary

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

MarshalBinary interface implementation

func (*Notebook) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Notebook) Validate

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

Validate validates this notebook

type NotebookDetail

type NotebookDetail struct {

	// ended unix timestamp
	// Format: date-time
	Ended strfmt.DateTime `json:"ended,omitempty"`

	// the container ID
	// Required: true
	ID *string `json:"id"`

	// the container labels
	Mounts []string `json:"mounts"`

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

	// the container published port
	Port int64 `json:"port,omitempty"`

	// started unix timestamp
	// Format: date-time
	Started strfmt.DateTime `json:"started,omitempty"`

	// state of the container
	State string `json:"state,omitempty"`

	// Jupyter notebook's login token
	// Required: true
	Token *string `json:"token"`
}

NotebookDetail Rescale Job information swagger:model NotebookDetail

func (*NotebookDetail) MarshalBinary

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

MarshalBinary interface implementation

func (*NotebookDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NotebookDetail) Validate

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

Validate validates this notebook detail

type PostConfigurationsParamsBody

type PostConfigurationsParamsBody struct {

	// Hostname for the private Docker registry
	DockerHostname string `json:"docker_hostname,omitempty"`

	// Password for the private Docker registry
	// Format: password
	DockerPassword strfmt.Password `json:"docker_password,omitempty"`

	// Docker Registry endpoint
	DockerRegistry string `json:"docker_registry,omitempty"`

	// Username for the private Docker registry
	DockerUsername string `json:"docker_username,omitempty"`

	// kubecfg
	K8sConfig string `json:"k8s_config,omitempty"`

	// NGC - API Key
	NgcApikey string `json:"ngc_apikey,omitempty"`

	// E-mail address for NGC console
	// Format: email
	NgcEmail strfmt.Email `json:"ngc_email,omitempty"`

	// Password for NGC console
	// Format: password
	NgcPassword strfmt.Password `json:"ngc_password,omitempty"`

	// Rescale - API Key
	RescaleKey string `json:"rescale_key,omitempty"`

	// Rescale platform endopoint
	// Enum: [https://platform.rescale.com https://platform.rescale.jp https://kr.rescale.com https://eu.rescale.com]
	RescalePlatform string `json:"rescale_platform,omitempty"`
}

PostConfigurationsParamsBody AccountInfo swagger:model postConfigurationsParamsBody

func (*PostConfigurationsParamsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostConfigurationsParamsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostConfigurationsParamsBody) Validate

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

Validate validates this post configurations params body

type PostNewImageParamsBody

type PostNewImageParamsBody struct {

	// Docker image name
	// Required: true
	Image *string `json:"image"`
}

PostNewImageParamsBody ImageName swagger:model postNewImageParamsBody

func (*PostNewImageParamsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostNewImageParamsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostNewImageParamsBody) Validate

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

Validate validates this post new image params body

type PostNewJobCreatedBody

type PostNewJobCreatedBody struct {

	// ID of the new job
	ID string `json:"id,omitempty"`
}

PostNewJobCreatedBody newJobID swagger:model postNewJobCreatedBody

func (*PostNewJobCreatedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostNewJobCreatedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostNewJobCreatedBody) Validate

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

Validate validates this post new job created body

type PostNewJobParamsBody

type PostNewJobParamsBody struct {

	// commands to be excuted after the entrypoint
	Commands []string `json:"commands"`

	// The number of CPU cores
	Cores int64 `json:"cores,omitempty"`

	// Rescale CoreType as its infrastructure
	Coretype string `json:"coretype,omitempty"`

	// Requesting millicores of CPU
	CPU int64 `json:"cpu,omitempty"`

	// The entrypoint file of the job
	EntrypointFile string `json:"entrypoint_file,omitempty"`

	// Requesting number of GPU
	Gpu int64 `json:"gpu,omitempty"`

	// Requesting bytes of memory
	Mem int64 `json:"mem,omitempty"`

	// Notebook container ID
	NotebookID string `json:"notebook_id,omitempty"`

	// Platform ID
	// Enum: [kubernetes rescale]
	PlatformID string `json:"platform_id,omitempty"`
}

PostNewJobParamsBody JobAttrs swagger:model postNewJobParamsBody

func (*PostNewJobParamsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostNewJobParamsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostNewJobParamsBody) Validate

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

Validate validates this post new job params body

type PostNewNotebookParamsBody

type PostNewNotebookParamsBody struct {

	// Docker image name
	// Required: true
	Image *string `json:"image"`

	// workspace to be mounted
	Workspace string `json:"workspace,omitempty"`
}

PostNewNotebookParamsBody ImageName swagger:model postNewNotebookParamsBody

func (*PostNewNotebookParamsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostNewNotebookParamsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostNewNotebookParamsBody) Validate

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

Validate validates this post new notebook params body

type PostNewSessionParamsBody

type PostNewSessionParamsBody struct {

	// Password for the private Docker registry
	// Required: true
	// Format: password
	DockerPassword *strfmt.Password `json:"docker_password"`

	// Username for the private Docker registry
	// Required: true
	DockerUsername *string `json:"docker_username"`
}

PostNewSessionParamsBody AccountInfo swagger:model postNewSessionParamsBody

func (*PostNewSessionParamsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostNewSessionParamsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostNewSessionParamsBody) Validate

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

Validate validates this post new session params body

type Repository

type Repository struct {

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

	// the image name
	// Required: true
	Name *string `json:"name"`

	// the repositry's namespace
	// Required: true
	Namespace *string `json:"namespace"`
}

Repository docker image information swagger:model Repository

func (*Repository) MarshalBinary

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

MarshalBinary interface implementation

func (*Repository) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Repository) Validate

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

Validate validates this repository

type RescaleApplication

type RescaleApplication struct {

	// code
	// Required: true
	Code *string `json:"code"`

	// versions
	Versions []*RescaleApplicationVersion `json:"versions"`
}

RescaleApplication Rescale Application swagger:model RescaleApplication

func (*RescaleApplication) MarshalBinary

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

MarshalBinary interface implementation

func (*RescaleApplication) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RescaleApplication) Validate

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

Validate validates this rescale application

type RescaleApplicationVersion

type RescaleApplicationVersion struct {

	// code
	// Required: true
	Code *string `json:"code"`

	// supported CoreTypes
	Coretypes []string `json:"coretypes"`

	// id
	// Required: true
	ID *string `json:"id"`

	// version
	// Required: true
	Version *string `json:"version"`
}

RescaleApplicationVersion version of Rescale Applications swagger:model RescaleApplicationVersion

func (*RescaleApplicationVersion) MarshalBinary

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

MarshalBinary interface implementation

func (*RescaleApplicationVersion) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RescaleApplicationVersion) Validate

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

Validate validates this rescale application version

type RescaleCoreType

type RescaleCoreType struct {

	// base clock
	BaseClock string `json:"baseClock,omitempty"`

	// code
	// Required: true
	Code *string `json:"code"`

	// interconnect
	Interconnect string `json:"interconnect,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// processor
	Processor string `json:"processor,omitempty"`

	// resources
	Resources []*RescaleCoreTypeResources `json:"resources"`
}

RescaleCoreType Rescale CoreType swagger:model RescaleCoreType

func (*RescaleCoreType) MarshalBinary

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

MarshalBinary interface implementation

func (*RescaleCoreType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RescaleCoreType) Validate

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

Validate validates this rescale core type

type RescaleCoreTypeResources

type RescaleCoreTypeResources struct {

	// the number of CPU cores
	// Required: true
	Cores *int64 `json:"cores"`

	// the number of GPUs
	// Required: true
	Gpus *int64 `json:"gpus"`
}

RescaleCoreTypeResources CPU/GPU cores swagger:model RescaleCoreTypeResources

func (*RescaleCoreTypeResources) MarshalBinary

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

MarshalBinary interface implementation

func (*RescaleCoreTypeResources) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RescaleCoreTypeResources) Validate

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

Validate validates this rescale core type resources

type Session

type Session struct {

	// API Token
	// Required: true
	Token *string `json:"token"`
}

Session docker image information swagger:model Session

func (*Session) MarshalBinary

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

MarshalBinary interface implementation

func (*Session) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Session) Validate

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

Validate validates this session

type Version

type Version struct {

	// date which this app was built at
	BuildDate string `json:"build_date,omitempty"`

	// version name
	// Required: true
	Version *string `json:"version"`
}

Version application version swagger:model Version

func (*Version) MarshalBinary

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

MarshalBinary interface implementation

func (*Version) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Version) Validate

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

Validate validates this version

type Versions

type Versions struct {

	// Current running service version
	// Required: true
	Current *Version `json:"current"`

	// The latest application version which can be installed
	// Required: true
	Latest *Version `json:"latest"`
}

Versions application versions swagger:model Versions

func (*Versions) MarshalBinary

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

MarshalBinary interface implementation

func (*Versions) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Versions) Validate

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

Validate validates this versions

type Workspace

type Workspace struct {

	// absolute path
	AbsolutePath string `json:"absolute_path,omitempty"`

	// Jobs which are mounting the workspace
	Jobs []string `json:"jobs"`

	// Notebooks which are mounting the workspace
	Notebooks []string `json:"notebooks"`

	// path
	// Required: true
	Path *string `json:"path"`
}

Workspace User's workspace swagger:model Workspace

func (*Workspace) MarshalBinary

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

MarshalBinary interface implementation

func (*Workspace) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Workspace) Validate

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

Validate validates this workspace

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL