Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ActionEnum
- type AnalyzeAPIService
- type AnalyzeGetRequest
- func (o *AnalyzeGetRequest) GetConstraints() Resources
- func (o *AnalyzeGetRequest) GetConstraintsOk() (*Resources, bool)
- func (o *AnalyzeGetRequest) GetCurrentResources() ClusterOffer
- func (o *AnalyzeGetRequest) GetCurrentResourcesOk() (*ClusterOffer, bool)
- func (o *AnalyzeGetRequest) GetWorkload() Workload
- func (o *AnalyzeGetRequest) GetWorkloadOk() (*Workload, bool)
- func (o AnalyzeGetRequest) MarshalJSON() ([]byte, error)
- func (o *AnalyzeGetRequest) SetConstraints(v Resources)
- func (o *AnalyzeGetRequest) SetCurrentResources(v ClusterOffer)
- func (o *AnalyzeGetRequest) SetWorkload(v Workload)
- func (o AnalyzeGetRequest) ToMap() (map[string]interface{}, error)
- func (o *AnalyzeGetRequest) UnmarshalJSON(data []byte) (err error)
- type AnalyzeGetResponse
- func (o *AnalyzeGetResponse) GetResults() []AnalyzerResult
- func (o *AnalyzeGetResponse) GetResultsOk() ([]AnalyzerResult, bool)
- func (o AnalyzeGetResponse) MarshalJSON() ([]byte, error)
- func (o *AnalyzeGetResponse) SetResults(v []AnalyzerResult)
- func (o AnalyzeGetResponse) ToMap() (map[string]interface{}, error)
- func (o *AnalyzeGetResponse) UnmarshalJSON(data []byte) (err error)
- type AnalyzerResult
- func (o *AnalyzerResult) GetOffer() ClusterOffer
- func (o *AnalyzerResult) GetOfferOk() (*ClusterOffer, bool)
- func (o *AnalyzerResult) GetScore() Score
- func (o *AnalyzerResult) GetScoreOk() (*Score, bool)
- func (o AnalyzerResult) MarshalJSON() ([]byte, error)
- func (o *AnalyzerResult) SetOffer(v ClusterOffer)
- func (o *AnalyzerResult) SetScore(v Score)
- func (o AnalyzerResult) ToMap() (map[string]interface{}, error)
- func (o *AnalyzerResult) UnmarshalJSON(data []byte) (err error)
- type ApiAnalyzeCreateRequest
- type ApiClusterActionCreateRequest
- type ApiClustersCreateRequest
- type ApiClustersRetrieveRequest
- type ApiClustersStatusRetrieveRequest
- type ApiConstraintsCreateRequest
- type ApiConstraintsPartialUpdateRequest
- type ApiCreateJobWithoutClusterRequest
- type ApiCreateProjectRequest
- type ApiDeleteProjectRequest
- type ApiDownloadRetrieveRequest
- type ApiJobsCreateRequest
- type ApiJobsDestroyRequest
- type ApiJobsPartialUpdateRequest
- type ApiJobsRetrieveRequest
- type ApiListProjectsRequest
- type ApiProjectsJobsRetrieveRequest
- type ApiProvisionRetrieveRequest
- type ApiRetrieveProjectRequest
- type ApiUsersMePublicKeyCreateRequest
- type ApiUsersMePublicKeyRetrieveRequest
- type ApiUsersMeRetrieveRequest
- type AutoStop
- func (o *AutoStop) GetEnabled() bool
- func (o *AutoStop) GetEnabledOk() (*bool, bool)
- func (o *AutoStop) GetId() int32
- func (o *AutoStop) GetIdOk() (*int32, bool)
- func (o *AutoStop) GetTimeoutMinutes() int32
- func (o *AutoStop) GetTimeoutMinutesOk() (*int32, bool)
- func (o *AutoStop) HasEnabled() bool
- func (o *AutoStop) HasTimeoutMinutes() bool
- func (o AutoStop) MarshalJSON() ([]byte, error)
- func (o *AutoStop) SetEnabled(v bool)
- func (o *AutoStop) SetId(v int32)
- func (o *AutoStop) SetTimeoutMinutes(v int32)
- func (o AutoStop) ToMap() (map[string]interface{}, error)
- func (o *AutoStop) UnmarshalJSON(data []byte) (err error)
- type BasicAuth
- type Bucket
- func (o *Bucket) GetMode() string
- func (o *Bucket) GetModeOk() (*string, bool)
- func (o *Bucket) GetMountLocation() string
- func (o *Bucket) GetMountLocationOk() (*string, bool)
- func (o *Bucket) GetName() string
- func (o *Bucket) GetNameOk() (*string, bool)
- func (o Bucket) MarshalJSON() ([]byte, error)
- func (o *Bucket) SetMode(v string)
- func (o *Bucket) SetMountLocation(v string)
- func (o *Bucket) SetName(v string)
- func (o Bucket) ToMap() (map[string]interface{}, error)
- func (o *Bucket) UnmarshalJSON(data []byte) (err error)
- type Cluster
- func (o *Cluster) GetAutostop() int32
- func (o *Cluster) GetAutostopOk() (*int32, bool)
- func (o *Cluster) GetClusterHash() string
- func (o *Cluster) GetClusterHashOk() (*string, bool)
- func (o *Cluster) GetHandle() PickledHandleField
- func (o *Cluster) GetHandleOk() (*PickledHandleField, bool)
- func (o *Cluster) GetLastUse() string
- func (o *Cluster) GetLastUseOk() (*string, bool)
- func (o *Cluster) GetLaunchedAt() int32
- func (o *Cluster) GetLaunchedAtOk() (*int32, bool)
- func (o *Cluster) GetMetadata() string
- func (o *Cluster) GetMetadataOk() (*string, bool)
- func (o *Cluster) GetName() string
- func (o *Cluster) GetNameOk() (*string, bool)
- func (o *Cluster) GetStatus() ClusterStatusEnum
- func (o *Cluster) GetStatusOk() (*ClusterStatusEnum, bool)
- func (o *Cluster) GetToDown() bool
- func (o *Cluster) GetToDownOk() (*bool, bool)
- func (o *Cluster) GetUser() User
- func (o *Cluster) GetUserOk() (*User, bool)
- func (o *Cluster) HasAutostop() bool
- func (o *Cluster) HasClusterHash() bool
- func (o *Cluster) HasLastUse() bool
- func (o *Cluster) HasLaunchedAt() bool
- func (o *Cluster) HasMetadata() bool
- func (o *Cluster) HasStatus() bool
- func (o *Cluster) HasToDown() bool
- func (o Cluster) MarshalJSON() ([]byte, error)
- func (o *Cluster) SetAutostop(v int32)
- func (o *Cluster) SetClusterHash(v string)
- func (o *Cluster) SetClusterHashNil()
- func (o *Cluster) SetHandle(v PickledHandleField)
- func (o *Cluster) SetLastUse(v string)
- func (o *Cluster) SetLastUseNil()
- func (o *Cluster) SetLaunchedAt(v int32)
- func (o *Cluster) SetLaunchedAtNil()
- func (o *Cluster) SetMetadata(v string)
- func (o *Cluster) SetName(v string)
- func (o *Cluster) SetStatus(v ClusterStatusEnum)
- func (o *Cluster) SetToDown(v bool)
- func (o *Cluster) SetUser(v User)
- func (o Cluster) ToMap() (map[string]interface{}, error)
- func (o *Cluster) UnmarshalJSON(data []byte) (err error)
- func (o *Cluster) UnsetClusterHash()
- func (o *Cluster) UnsetLastUse()
- func (o *Cluster) UnsetLaunchedAt()
- type ClusterActionRequest
- func (o *ClusterActionRequest) GetAction() ActionEnum
- func (o *ClusterActionRequest) GetActionOk() (*ActionEnum, bool)
- func (o *ClusterActionRequest) GetClusterName() string
- func (o *ClusterActionRequest) GetClusterNameOk() (*string, bool)
- func (o *ClusterActionRequest) GetWait() bool
- func (o *ClusterActionRequest) GetWaitOk() (*bool, bool)
- func (o *ClusterActionRequest) HasWait() bool
- func (o ClusterActionRequest) MarshalJSON() ([]byte, error)
- func (o *ClusterActionRequest) SetAction(v ActionEnum)
- func (o *ClusterActionRequest) SetClusterName(v string)
- func (o *ClusterActionRequest) SetWait(v bool)
- func (o ClusterActionRequest) ToMap() (map[string]interface{}, error)
- func (o *ClusterActionRequest) UnmarshalJSON(data []byte) (err error)
- type ClusterActionResponse
- func (o *ClusterActionResponse) GetClusterName() string
- func (o *ClusterActionResponse) GetClusterNameOk() (*string, bool)
- func (o *ClusterActionResponse) GetMessage() string
- func (o *ClusterActionResponse) GetMessageOk() (*string, bool)
- func (o *ClusterActionResponse) GetStatus() string
- func (o *ClusterActionResponse) GetStatusOk() (*string, bool)
- func (o ClusterActionResponse) MarshalJSON() ([]byte, error)
- func (o *ClusterActionResponse) SetClusterName(v string)
- func (o *ClusterActionResponse) SetMessage(v string)
- func (o *ClusterActionResponse) SetStatus(v string)
- func (o ClusterActionResponse) ToMap() (map[string]interface{}, error)
- func (o *ClusterActionResponse) UnmarshalJSON(data []byte) (err error)
- type ClusterListResponse
- func (o *ClusterListResponse) GetClusters() []Cluster
- func (o *ClusterListResponse) GetClustersOk() ([]Cluster, bool)
- func (o ClusterListResponse) MarshalJSON() ([]byte, error)
- func (o *ClusterListResponse) SetClusters(v []Cluster)
- func (o ClusterListResponse) ToMap() (map[string]interface{}, error)
- func (o *ClusterListResponse) UnmarshalJSON(data []byte) (err error)
- type ClusterOffer
- func (o *ClusterOffer) GetAcceleratorArgs() interface{}
- func (o *ClusterOffer) GetAcceleratorArgsOk() (*interface{}, bool)
- func (o *ClusterOffer) GetAcceleratorCount() interface{}
- func (o *ClusterOffer) GetAcceleratorCountOk() (*interface{}, bool)
- func (o *ClusterOffer) GetAccelerators() interface{}
- func (o *ClusterOffer) GetAcceleratorsOk() (*interface{}, bool)
- func (o *ClusterOffer) GetCloud() string
- func (o *ClusterOffer) GetCloudOk() (*string, bool)
- func (o *ClusterOffer) GetCpus() int32
- func (o *ClusterOffer) GetCpusOk() (*int32, bool)
- func (o *ClusterOffer) GetDiskSize() int32
- func (o *ClusterOffer) GetDiskSizeOk() (*int32, bool)
- func (o *ClusterOffer) GetDiskTier() string
- func (o *ClusterOffer) GetDiskTierOk() (*string, bool)
- func (o *ClusterOffer) GetImageId() interface{}
- func (o *ClusterOffer) GetImageIdOk() (*interface{}, bool)
- func (o *ClusterOffer) GetInstanceType() string
- func (o *ClusterOffer) GetInstanceTypeOk() (*string, bool)
- func (o *ClusterOffer) GetJobRecovery() string
- func (o *ClusterOffer) GetJobRecoveryOk() (*string, bool)
- func (o *ClusterOffer) GetLabels() interface{}
- func (o *ClusterOffer) GetLabelsOk() (*interface{}, bool)
- func (o *ClusterOffer) GetMemory() int32
- func (o *ClusterOffer) GetMemoryOk() (*int32, bool)
- func (o *ClusterOffer) GetPorts() interface{}
- func (o *ClusterOffer) GetPortsOk() (*interface{}, bool)
- func (o *ClusterOffer) GetPrice() float64
- func (o *ClusterOffer) GetPriceOk() (*float64, bool)
- func (o *ClusterOffer) GetRegion() string
- func (o *ClusterOffer) GetRegionOk() (*string, bool)
- func (o *ClusterOffer) GetRegions() interface{}
- func (o *ClusterOffer) GetRegionsOk() (*interface{}, bool)
- func (o *ClusterOffer) GetStorage() string
- func (o *ClusterOffer) GetStorageOk() (*string, bool)
- func (o *ClusterOffer) GetUseSpot() bool
- func (o *ClusterOffer) GetUseSpotOk() (*bool, bool)
- func (o *ClusterOffer) GetZone() string
- func (o *ClusterOffer) GetZoneOk() (*string, bool)
- func (o *ClusterOffer) HasAcceleratorArgs() bool
- func (o *ClusterOffer) HasAcceleratorCount() bool
- func (o *ClusterOffer) HasAccelerators() bool
- func (o *ClusterOffer) HasCloud() bool
- func (o *ClusterOffer) HasCpus() bool
- func (o *ClusterOffer) HasDiskSize() bool
- func (o *ClusterOffer) HasDiskTier() bool
- func (o *ClusterOffer) HasImageId() bool
- func (o *ClusterOffer) HasInstanceType() bool
- func (o *ClusterOffer) HasJobRecovery() bool
- func (o *ClusterOffer) HasLabels() bool
- func (o *ClusterOffer) HasMemory() bool
- func (o *ClusterOffer) HasPorts() bool
- func (o *ClusterOffer) HasPrice() bool
- func (o *ClusterOffer) HasRegion() bool
- func (o *ClusterOffer) HasRegions() bool
- func (o *ClusterOffer) HasStorage() bool
- func (o *ClusterOffer) HasUseSpot() bool
- func (o *ClusterOffer) HasZone() bool
- func (o ClusterOffer) MarshalJSON() ([]byte, error)
- func (o *ClusterOffer) SetAcceleratorArgs(v interface{})
- func (o *ClusterOffer) SetAcceleratorCount(v interface{})
- func (o *ClusterOffer) SetAccelerators(v interface{})
- func (o *ClusterOffer) SetCloud(v string)
- func (o *ClusterOffer) SetCloudNil()
- func (o *ClusterOffer) SetCpus(v int32)
- func (o *ClusterOffer) SetCpusNil()
- func (o *ClusterOffer) SetDiskSize(v int32)
- func (o *ClusterOffer) SetDiskSizeNil()
- func (o *ClusterOffer) SetDiskTier(v string)
- func (o *ClusterOffer) SetDiskTierNil()
- func (o *ClusterOffer) SetImageId(v interface{})
- func (o *ClusterOffer) SetInstanceType(v string)
- func (o *ClusterOffer) SetInstanceTypeNil()
- func (o *ClusterOffer) SetJobRecovery(v string)
- func (o *ClusterOffer) SetJobRecoveryNil()
- func (o *ClusterOffer) SetLabels(v interface{})
- func (o *ClusterOffer) SetMemory(v int32)
- func (o *ClusterOffer) SetMemoryNil()
- func (o *ClusterOffer) SetPorts(v interface{})
- func (o *ClusterOffer) SetPrice(v float64)
- func (o *ClusterOffer) SetPriceNil()
- func (o *ClusterOffer) SetRegion(v string)
- func (o *ClusterOffer) SetRegionNil()
- func (o *ClusterOffer) SetRegions(v interface{})
- func (o *ClusterOffer) SetStorage(v string)
- func (o *ClusterOffer) SetStorageNil()
- func (o *ClusterOffer) SetUseSpot(v bool)
- func (o *ClusterOffer) SetUseSpotNil()
- func (o *ClusterOffer) SetZone(v string)
- func (o *ClusterOffer) SetZoneNil()
- func (o ClusterOffer) ToMap() (map[string]interface{}, error)
- func (o *ClusterOffer) UnsetCloud()
- func (o *ClusterOffer) UnsetCpus()
- func (o *ClusterOffer) UnsetDiskSize()
- func (o *ClusterOffer) UnsetDiskTier()
- func (o *ClusterOffer) UnsetInstanceType()
- func (o *ClusterOffer) UnsetJobRecovery()
- func (o *ClusterOffer) UnsetMemory()
- func (o *ClusterOffer) UnsetPrice()
- func (o *ClusterOffer) UnsetRegion()
- func (o *ClusterOffer) UnsetStorage()
- func (o *ClusterOffer) UnsetUseSpot()
- func (o *ClusterOffer) UnsetZone()
- type ClusterPostRequest
- func (o *ClusterPostRequest) GetChoice() ClusterOffer
- func (o *ClusterPostRequest) GetChoiceOk() (*ClusterOffer, bool)
- func (o *ClusterPostRequest) GetConfig() ConstrainRequest
- func (o *ClusterPostRequest) GetConfigOk() (*ConstrainRequest, bool)
- func (o *ClusterPostRequest) GetProject() Project
- func (o *ClusterPostRequest) GetProjectOk() (*Project, bool)
- func (o ClusterPostRequest) MarshalJSON() ([]byte, error)
- func (o *ClusterPostRequest) SetChoice(v ClusterOffer)
- func (o *ClusterPostRequest) SetConfig(v ConstrainRequest)
- func (o *ClusterPostRequest) SetProject(v Project)
- func (o ClusterPostRequest) ToMap() (map[string]interface{}, error)
- func (o *ClusterPostRequest) UnmarshalJSON(data []byte) (err error)
- type ClusterPostResponse
- func (o *ClusterPostResponse) GetProvisionLogId() string
- func (o *ClusterPostResponse) GetProvisionLogIdOk() (*string, bool)
- func (o ClusterPostResponse) MarshalJSON() ([]byte, error)
- func (o *ClusterPostResponse) SetProvisionLogId(v string)
- func (o ClusterPostResponse) ToMap() (map[string]interface{}, error)
- func (o *ClusterPostResponse) UnmarshalJSON(data []byte) (err error)
- type ClusterStatusEnum
- type ClusterStatusResponse
- func (o *ClusterStatusResponse) GetClusterName() string
- func (o *ClusterStatusResponse) GetClusterNameOk() (*string, bool)
- func (o *ClusterStatusResponse) GetStatus() string
- func (o *ClusterStatusResponse) GetStatusOk() (*string, bool)
- func (o ClusterStatusResponse) MarshalJSON() ([]byte, error)
- func (o *ClusterStatusResponse) SetClusterName(v string)
- func (o *ClusterStatusResponse) SetStatus(v string)
- func (o ClusterStatusResponse) ToMap() (map[string]interface{}, error)
- func (o *ClusterStatusResponse) UnmarshalJSON(data []byte) (err error)
- type ClustersAPIService
- func (a *ClustersAPIService) ClusterActionCreate(ctx context.Context, action string, clusterName string) ApiClusterActionCreateRequest
- func (a *ClustersAPIService) ClusterActionCreateExecute(r ApiClusterActionCreateRequest) (*ClusterActionResponse, *http.Response, error)
- func (a *ClustersAPIService) ClustersCreate(ctx context.Context) ApiClustersCreateRequest
- func (a *ClustersAPIService) ClustersCreateExecute(r ApiClustersCreateRequest) (*ClusterPostResponse, *http.Response, error)
- func (a *ClustersAPIService) ClustersRetrieve(ctx context.Context) ApiClustersRetrieveRequest
- func (a *ClustersAPIService) ClustersRetrieveExecute(r ApiClustersRetrieveRequest) (*ClusterListResponse, *http.Response, error)
- func (a *ClustersAPIService) ClustersStatusRetrieve(ctx context.Context, clusterName string) ApiClustersStatusRetrieveRequest
- func (a *ClustersAPIService) ClustersStatusRetrieveExecute(r ApiClustersStatusRetrieveRequest) (*ClusterStatusResponse, *http.Response, error)
- type Configuration
- type ConstrainRequest
- func (o *ConstrainRequest) GetFlags() map[string]interface{}
- func (o *ConstrainRequest) GetFlagsOk() (map[string]interface{}, bool)
- func (o *ConstrainRequest) GetIo() IO
- func (o *ConstrainRequest) GetIoOk() (*IO, bool)
- func (o *ConstrainRequest) GetJobConfig() JobConfig
- func (o *ConstrainRequest) GetJobConfigOk() (*JobConfig, bool)
- func (o *ConstrainRequest) GetProject() Project
- func (o *ConstrainRequest) GetProjectOk() (*Project, bool)
- func (o *ConstrainRequest) GetResources() Resources
- func (o *ConstrainRequest) GetResourcesOk() (*Resources, bool)
- func (o *ConstrainRequest) GetRun() Script
- func (o *ConstrainRequest) GetRunOk() (*Script, bool)
- func (o *ConstrainRequest) GetSetup() Script
- func (o *ConstrainRequest) GetSetupOk() (*Script, bool)
- func (o *ConstrainRequest) GetTeardown() Script
- func (o *ConstrainRequest) GetTeardownOk() (*Script, bool)
- func (o *ConstrainRequest) HasFlags() bool
- func (o *ConstrainRequest) HasRun() bool
- func (o *ConstrainRequest) HasSetup() bool
- func (o *ConstrainRequest) HasTeardown() bool
- func (o ConstrainRequest) MarshalJSON() ([]byte, error)
- func (o *ConstrainRequest) SetFlags(v map[string]interface{})
- func (o *ConstrainRequest) SetIo(v IO)
- func (o *ConstrainRequest) SetJobConfig(v JobConfig)
- func (o *ConstrainRequest) SetProject(v Project)
- func (o *ConstrainRequest) SetResources(v Resources)
- func (o *ConstrainRequest) SetRun(v Script)
- func (o *ConstrainRequest) SetRunNil()
- func (o *ConstrainRequest) SetSetup(v Script)
- func (o *ConstrainRequest) SetSetupNil()
- func (o *ConstrainRequest) SetTeardown(v Script)
- func (o *ConstrainRequest) SetTeardownNil()
- func (o ConstrainRequest) ToMap() (map[string]interface{}, error)
- func (o *ConstrainRequest) UnmarshalJSON(data []byte) (err error)
- func (o *ConstrainRequest) UnsetRun()
- func (o *ConstrainRequest) UnsetSetup()
- func (o *ConstrainRequest) UnsetTeardown()
- type ConstrainResponse
- func (o *ConstrainResponse) GetChoice() []ClusterOffer
- func (o *ConstrainResponse) GetChoiceOk() ([]ClusterOffer, bool)
- func (o ConstrainResponse) MarshalJSON() ([]byte, error)
- func (o *ConstrainResponse) SetChoice(v []ClusterOffer)
- func (o ConstrainResponse) ToMap() (map[string]interface{}, error)
- func (o *ConstrainResponse) UnmarshalJSON(data []byte) (err error)
- type ConstraintsAPIService
- func (a *ConstraintsAPIService) ConstraintsCreate(ctx context.Context) ApiConstraintsCreateRequest
- func (a *ConstraintsAPIService) ConstraintsCreateExecute(r ApiConstraintsCreateRequest) (*ConstrainResponse, *http.Response, error)
- func (a *ConstraintsAPIService) ConstraintsPartialUpdate(ctx context.Context) ApiConstraintsPartialUpdateRequest
- func (a *ConstraintsAPIService) ConstraintsPartialUpdateExecute(r ApiConstraintsPartialUpdateRequest) (*ConstrainRequest, *http.Response, error)
- type DownloadAPIService
- type DownloadResponse
- func (o *DownloadResponse) GetBinary() string
- func (o *DownloadResponse) GetBinaryOk() (*string, bool)
- func (o *DownloadResponse) GetUrl() string
- func (o *DownloadResponse) GetUrlOk() (*string, bool)
- func (o DownloadResponse) MarshalJSON() ([]byte, error)
- func (o *DownloadResponse) SetBinary(v string)
- func (o *DownloadResponse) SetUrl(v string)
- func (o DownloadResponse) ToMap() (map[string]interface{}, error)
- func (o *DownloadResponse) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type IO
- func (o *IO) GetInputs() Inputs
- func (o *IO) GetInputsOk() (*Inputs, bool)
- func (o *IO) GetOutputs() Outputs
- func (o *IO) GetOutputsOk() (*Outputs, bool)
- func (o *IO) HasInputs() bool
- func (o *IO) HasOutputs() bool
- func (o IO) MarshalJSON() ([]byte, error)
- func (o *IO) SetInputs(v Inputs)
- func (o *IO) SetInputsNil()
- func (o *IO) SetOutputs(v Outputs)
- func (o *IO) SetOutputsNil()
- func (o IO) ToMap() (map[string]interface{}, error)
- func (o *IO) UnsetInputs()
- func (o *IO) UnsetOutputs()
- type Inputs
- type Job
- func (o *Job) GetCluster() Cluster
- func (o *Job) GetClusterOk() (*Cluster, bool)
- func (o *Job) GetConfiguration() string
- func (o *Job) GetConfigurationOk() (*string, bool)
- func (o *Job) GetCreatedAt() time.Time
- func (o *Job) GetCreatedAtOk() (*time.Time, bool)
- func (o *Job) GetFinishedAt() time.Time
- func (o *Job) GetFinishedAtOk() (*time.Time, bool)
- func (o *Job) GetJobId() string
- func (o *Job) GetJobIdOk() (*string, bool)
- func (o *Job) GetLogs() string
- func (o *Job) GetLogsOk() (*string, bool)
- func (o *Job) GetName() string
- func (o *Job) GetNameOk() (*string, bool)
- func (o *Job) GetStartedAt() time.Time
- func (o *Job) GetStartedAtOk() (*time.Time, bool)
- func (o *Job) GetUpdatedAt() time.Time
- func (o *Job) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Job) HasFinishedAt() bool
- func (o *Job) HasStartedAt() bool
- func (o Job) MarshalJSON() ([]byte, error)
- func (o *Job) SetCluster(v Cluster)
- func (o *Job) SetConfiguration(v string)
- func (o *Job) SetCreatedAt(v time.Time)
- func (o *Job) SetFinishedAt(v time.Time)
- func (o *Job) SetFinishedAtNil()
- func (o *Job) SetJobId(v string)
- func (o *Job) SetLogs(v string)
- func (o *Job) SetName(v string)
- func (o *Job) SetStartedAt(v time.Time)
- func (o *Job) SetStartedAtNil()
- func (o *Job) SetUpdatedAt(v time.Time)
- func (o Job) ToMap() (map[string]interface{}, error)
- func (o *Job) UnmarshalJSON(data []byte) (err error)
- func (o *Job) UnsetFinishedAt()
- func (o *Job) UnsetStartedAt()
- type JobAPIService
- type JobConfig
- func (o *JobConfig) GetAutostop() AutoStop
- func (o *JobConfig) GetAutostopOk() (*AutoStop, bool)
- func (o *JobConfig) GetId() int32
- func (o *JobConfig) GetIdOk() (*int32, bool)
- func (o *JobConfig) GetNotifications() NotificationConfig
- func (o *JobConfig) GetNotificationsOk() (*NotificationConfig, bool)
- func (o JobConfig) MarshalJSON() ([]byte, error)
- func (o *JobConfig) SetAutostop(v AutoStop)
- func (o *JobConfig) SetId(v int32)
- func (o *JobConfig) SetNotifications(v NotificationConfig)
- func (o JobConfig) ToMap() (map[string]interface{}, error)
- func (o *JobConfig) UnmarshalJSON(data []byte) (err error)
- type JobGetResponse
- func (o *JobGetResponse) GetJob() Job
- func (o *JobGetResponse) GetJobOk() (*Job, bool)
- func (o *JobGetResponse) GetLatestClusterLog() LatestClusterLog
- func (o *JobGetResponse) GetLatestClusterLogOk() (*LatestClusterLog, bool)
- func (o JobGetResponse) MarshalJSON() ([]byte, error)
- func (o *JobGetResponse) SetJob(v Job)
- func (o *JobGetResponse) SetLatestClusterLog(v LatestClusterLog)
- func (o JobGetResponse) ToMap() (map[string]interface{}, error)
- func (o *JobGetResponse) UnmarshalJSON(data []byte) (err error)
- type JobListResponse
- func (o *JobListResponse) GetJobs() []Job
- func (o *JobListResponse) GetJobsOk() ([]Job, bool)
- func (o JobListResponse) MarshalJSON() ([]byte, error)
- func (o *JobListResponse) SetJobs(v []Job)
- func (o JobListResponse) ToMap() (map[string]interface{}, error)
- func (o *JobListResponse) UnmarshalJSON(data []byte) (err error)
- type JobPostRequest
- func (o *JobPostRequest) GetChoice() ClusterOffer
- func (o *JobPostRequest) GetChoiceOk() (*ClusterOffer, bool)
- func (o *JobPostRequest) GetConfig() ConstrainRequest
- func (o *JobPostRequest) GetConfigOk() (*ConstrainRequest, bool)
- func (o *JobPostRequest) GetProject() Project
- func (o *JobPostRequest) GetProjectOk() (*Project, bool)
- func (o JobPostRequest) MarshalJSON() ([]byte, error)
- func (o *JobPostRequest) SetChoice(v ClusterOffer)
- func (o *JobPostRequest) SetConfig(v ConstrainRequest)
- func (o *JobPostRequest) SetProject(v Project)
- func (o JobPostRequest) ToMap() (map[string]interface{}, error)
- func (o *JobPostRequest) UnmarshalJSON(data []byte) (err error)
- type JobUpdateResponse
- func (o *JobUpdateResponse) GetMessage() string
- func (o *JobUpdateResponse) GetMessageOk() (*string, bool)
- func (o JobUpdateResponse) MarshalJSON() ([]byte, error)
- func (o *JobUpdateResponse) SetMessage(v string)
- func (o JobUpdateResponse) ToMap() (map[string]interface{}, error)
- func (o *JobUpdateResponse) UnmarshalJSON(data []byte) (err error)
- type JobsAPIService
- func (a *JobsAPIService) JobsCreate(ctx context.Context) ApiJobsCreateRequest
- func (a *JobsAPIService) JobsCreateExecute(r ApiJobsCreateRequest) (*JobGetResponse, *http.Response, error)
- func (a *JobsAPIService) JobsDestroy(ctx context.Context, jobId string) ApiJobsDestroyRequest
- func (a *JobsAPIService) JobsDestroyExecute(r ApiJobsDestroyRequest) (*http.Response, error)
- func (a *JobsAPIService) JobsPartialUpdate(ctx context.Context, jobId string) ApiJobsPartialUpdateRequest
- func (a *JobsAPIService) JobsPartialUpdateExecute(r ApiJobsPartialUpdateRequest) (*JobUpdateResponse, *http.Response, error)
- func (a *JobsAPIService) JobsRetrieve(ctx context.Context, jobId string) ApiJobsRetrieveRequest
- func (a *JobsAPIService) JobsRetrieveExecute(r ApiJobsRetrieveRequest) (*JobGetResponse, *http.Response, error)
- type LatestClusterLog
- func (o *LatestClusterLog) GetMessage() string
- func (o *LatestClusterLog) GetMessageOk() (*string, bool)
- func (o *LatestClusterLog) GetStatus() LatestClusterLogStatusEnum
- func (o *LatestClusterLog) GetStatusOk() (*LatestClusterLogStatusEnum, bool)
- func (o *LatestClusterLog) GetTimestamp() time.Time
- func (o *LatestClusterLog) GetTimestampOk() (*time.Time, bool)
- func (o LatestClusterLog) MarshalJSON() ([]byte, error)
- func (o *LatestClusterLog) SetMessage(v string)
- func (o *LatestClusterLog) SetStatus(v LatestClusterLogStatusEnum)
- func (o *LatestClusterLog) SetTimestamp(v time.Time)
- func (o LatestClusterLog) ToMap() (map[string]interface{}, error)
- func (o *LatestClusterLog) UnmarshalJSON(data []byte) (err error)
- type LatestClusterLogStatusEnum
- type MappedNullable
- type NotificationConfig
- func (o *NotificationConfig) GetEmailOnFailure() bool
- func (o *NotificationConfig) GetEmailOnFailureOk() (*bool, bool)
- func (o *NotificationConfig) GetEmailOnSuccess() bool
- func (o *NotificationConfig) GetEmailOnSuccessOk() (*bool, bool)
- func (o *NotificationConfig) GetEmailRecipient() string
- func (o *NotificationConfig) GetEmailRecipientOk() (*string, bool)
- func (o *NotificationConfig) GetId() int32
- func (o *NotificationConfig) GetIdOk() (*int32, bool)
- func (o *NotificationConfig) HasEmailOnFailure() bool
- func (o *NotificationConfig) HasEmailOnSuccess() bool
- func (o *NotificationConfig) HasEmailRecipient() bool
- func (o NotificationConfig) MarshalJSON() ([]byte, error)
- func (o *NotificationConfig) SetEmailOnFailure(v bool)
- func (o *NotificationConfig) SetEmailOnSuccess(v bool)
- func (o *NotificationConfig) SetEmailRecipient(v string)
- func (o *NotificationConfig) SetId(v int32)
- func (o NotificationConfig) ToMap() (map[string]interface{}, error)
- func (o *NotificationConfig) UnmarshalJSON(data []byte) (err error)
- type NullableActionEnum
- type NullableAnalyzeGetRequest
- func (v NullableAnalyzeGetRequest) Get() *AnalyzeGetRequest
- func (v NullableAnalyzeGetRequest) IsSet() bool
- func (v NullableAnalyzeGetRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAnalyzeGetRequest) Set(val *AnalyzeGetRequest)
- func (v *NullableAnalyzeGetRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAnalyzeGetRequest) Unset()
- type NullableAnalyzeGetResponse
- func (v NullableAnalyzeGetResponse) Get() *AnalyzeGetResponse
- func (v NullableAnalyzeGetResponse) IsSet() bool
- func (v NullableAnalyzeGetResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAnalyzeGetResponse) Set(val *AnalyzeGetResponse)
- func (v *NullableAnalyzeGetResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAnalyzeGetResponse) Unset()
- type NullableAnalyzerResult
- func (v NullableAnalyzerResult) Get() *AnalyzerResult
- func (v NullableAnalyzerResult) IsSet() bool
- func (v NullableAnalyzerResult) MarshalJSON() ([]byte, error)
- func (v *NullableAnalyzerResult) Set(val *AnalyzerResult)
- func (v *NullableAnalyzerResult) UnmarshalJSON(src []byte) error
- func (v *NullableAnalyzerResult) Unset()
- type NullableAutoStop
- type NullableBool
- type NullableBucket
- type NullableCluster
- type NullableClusterActionRequest
- func (v NullableClusterActionRequest) Get() *ClusterActionRequest
- func (v NullableClusterActionRequest) IsSet() bool
- func (v NullableClusterActionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableClusterActionRequest) Set(val *ClusterActionRequest)
- func (v *NullableClusterActionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableClusterActionRequest) Unset()
- type NullableClusterActionResponse
- func (v NullableClusterActionResponse) Get() *ClusterActionResponse
- func (v NullableClusterActionResponse) IsSet() bool
- func (v NullableClusterActionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClusterActionResponse) Set(val *ClusterActionResponse)
- func (v *NullableClusterActionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClusterActionResponse) Unset()
- type NullableClusterListResponse
- func (v NullableClusterListResponse) Get() *ClusterListResponse
- func (v NullableClusterListResponse) IsSet() bool
- func (v NullableClusterListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClusterListResponse) Set(val *ClusterListResponse)
- func (v *NullableClusterListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClusterListResponse) Unset()
- type NullableClusterOffer
- func (v NullableClusterOffer) Get() *ClusterOffer
- func (v NullableClusterOffer) IsSet() bool
- func (v NullableClusterOffer) MarshalJSON() ([]byte, error)
- func (v *NullableClusterOffer) Set(val *ClusterOffer)
- func (v *NullableClusterOffer) UnmarshalJSON(src []byte) error
- func (v *NullableClusterOffer) Unset()
- type NullableClusterPostRequest
- func (v NullableClusterPostRequest) Get() *ClusterPostRequest
- func (v NullableClusterPostRequest) IsSet() bool
- func (v NullableClusterPostRequest) MarshalJSON() ([]byte, error)
- func (v *NullableClusterPostRequest) Set(val *ClusterPostRequest)
- func (v *NullableClusterPostRequest) UnmarshalJSON(src []byte) error
- func (v *NullableClusterPostRequest) Unset()
- type NullableClusterPostResponse
- func (v NullableClusterPostResponse) Get() *ClusterPostResponse
- func (v NullableClusterPostResponse) IsSet() bool
- func (v NullableClusterPostResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClusterPostResponse) Set(val *ClusterPostResponse)
- func (v *NullableClusterPostResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClusterPostResponse) Unset()
- type NullableClusterStatusEnum
- func (v NullableClusterStatusEnum) Get() *ClusterStatusEnum
- func (v NullableClusterStatusEnum) IsSet() bool
- func (v NullableClusterStatusEnum) MarshalJSON() ([]byte, error)
- func (v *NullableClusterStatusEnum) Set(val *ClusterStatusEnum)
- func (v *NullableClusterStatusEnum) UnmarshalJSON(src []byte) error
- func (v *NullableClusterStatusEnum) Unset()
- type NullableClusterStatusResponse
- func (v NullableClusterStatusResponse) Get() *ClusterStatusResponse
- func (v NullableClusterStatusResponse) IsSet() bool
- func (v NullableClusterStatusResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClusterStatusResponse) Set(val *ClusterStatusResponse)
- func (v *NullableClusterStatusResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClusterStatusResponse) Unset()
- type NullableConstrainRequest
- func (v NullableConstrainRequest) Get() *ConstrainRequest
- func (v NullableConstrainRequest) IsSet() bool
- func (v NullableConstrainRequest) MarshalJSON() ([]byte, error)
- func (v *NullableConstrainRequest) Set(val *ConstrainRequest)
- func (v *NullableConstrainRequest) UnmarshalJSON(src []byte) error
- func (v *NullableConstrainRequest) Unset()
- type NullableConstrainResponse
- func (v NullableConstrainResponse) Get() *ConstrainResponse
- func (v NullableConstrainResponse) IsSet() bool
- func (v NullableConstrainResponse) MarshalJSON() ([]byte, error)
- func (v *NullableConstrainResponse) Set(val *ConstrainResponse)
- func (v *NullableConstrainResponse) UnmarshalJSON(src []byte) error
- func (v *NullableConstrainResponse) Unset()
- type NullableDownloadResponse
- func (v NullableDownloadResponse) Get() *DownloadResponse
- func (v NullableDownloadResponse) IsSet() bool
- func (v NullableDownloadResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDownloadResponse) Set(val *DownloadResponse)
- func (v *NullableDownloadResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDownloadResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableIO
- type NullableInputs
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableJob
- type NullableJobConfig
- type NullableJobGetResponse
- func (v NullableJobGetResponse) Get() *JobGetResponse
- func (v NullableJobGetResponse) IsSet() bool
- func (v NullableJobGetResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJobGetResponse) Set(val *JobGetResponse)
- func (v *NullableJobGetResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJobGetResponse) Unset()
- type NullableJobListResponse
- func (v NullableJobListResponse) Get() *JobListResponse
- func (v NullableJobListResponse) IsSet() bool
- func (v NullableJobListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJobListResponse) Set(val *JobListResponse)
- func (v *NullableJobListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJobListResponse) Unset()
- type NullableJobPostRequest
- func (v NullableJobPostRequest) Get() *JobPostRequest
- func (v NullableJobPostRequest) IsSet() bool
- func (v NullableJobPostRequest) MarshalJSON() ([]byte, error)
- func (v *NullableJobPostRequest) Set(val *JobPostRequest)
- func (v *NullableJobPostRequest) UnmarshalJSON(src []byte) error
- func (v *NullableJobPostRequest) Unset()
- type NullableJobUpdateResponse
- func (v NullableJobUpdateResponse) Get() *JobUpdateResponse
- func (v NullableJobUpdateResponse) IsSet() bool
- func (v NullableJobUpdateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJobUpdateResponse) Set(val *JobUpdateResponse)
- func (v *NullableJobUpdateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJobUpdateResponse) Unset()
- type NullableLatestClusterLog
- func (v NullableLatestClusterLog) Get() *LatestClusterLog
- func (v NullableLatestClusterLog) IsSet() bool
- func (v NullableLatestClusterLog) MarshalJSON() ([]byte, error)
- func (v *NullableLatestClusterLog) Set(val *LatestClusterLog)
- func (v *NullableLatestClusterLog) UnmarshalJSON(src []byte) error
- func (v *NullableLatestClusterLog) Unset()
- type NullableLatestClusterLogStatusEnum
- func (v NullableLatestClusterLogStatusEnum) Get() *LatestClusterLogStatusEnum
- func (v NullableLatestClusterLogStatusEnum) IsSet() bool
- func (v NullableLatestClusterLogStatusEnum) MarshalJSON() ([]byte, error)
- func (v *NullableLatestClusterLogStatusEnum) Set(val *LatestClusterLogStatusEnum)
- func (v *NullableLatestClusterLogStatusEnum) UnmarshalJSON(src []byte) error
- func (v *NullableLatestClusterLogStatusEnum) Unset()
- type NullableNotificationConfig
- func (v NullableNotificationConfig) Get() *NotificationConfig
- func (v NullableNotificationConfig) IsSet() bool
- func (v NullableNotificationConfig) MarshalJSON() ([]byte, error)
- func (v *NullableNotificationConfig) Set(val *NotificationConfig)
- func (v *NullableNotificationConfig) UnmarshalJSON(src []byte) error
- func (v *NullableNotificationConfig) Unset()
- type NullableOutputs
- type NullablePatchedConstrainPatchRequest
- func (v NullablePatchedConstrainPatchRequest) Get() *PatchedConstrainPatchRequest
- func (v NullablePatchedConstrainPatchRequest) IsSet() bool
- func (v NullablePatchedConstrainPatchRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchedConstrainPatchRequest) Set(val *PatchedConstrainPatchRequest)
- func (v *NullablePatchedConstrainPatchRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchedConstrainPatchRequest) Unset()
- type NullablePatchedJobUpdateRequest
- func (v NullablePatchedJobUpdateRequest) Get() *PatchedJobUpdateRequest
- func (v NullablePatchedJobUpdateRequest) IsSet() bool
- func (v NullablePatchedJobUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchedJobUpdateRequest) Set(val *PatchedJobUpdateRequest)
- func (v *NullablePatchedJobUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchedJobUpdateRequest) Unset()
- type NullablePickledHandleField
- func (v NullablePickledHandleField) Get() *PickledHandleField
- func (v NullablePickledHandleField) IsSet() bool
- func (v NullablePickledHandleField) MarshalJSON() ([]byte, error)
- func (v *NullablePickledHandleField) Set(val *PickledHandleField)
- func (v *NullablePickledHandleField) UnmarshalJSON(src []byte) error
- func (v *NullablePickledHandleField) Unset()
- type NullableProject
- type NullableProjectCreateRequest
- func (v NullableProjectCreateRequest) Get() *ProjectCreateRequest
- func (v NullableProjectCreateRequest) IsSet() bool
- func (v NullableProjectCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableProjectCreateRequest) Set(val *ProjectCreateRequest)
- func (v *NullableProjectCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableProjectCreateRequest) Unset()
- type NullableProjectsGetResponse
- func (v NullableProjectsGetResponse) Get() *ProjectsGetResponse
- func (v NullableProjectsGetResponse) IsSet() bool
- func (v NullableProjectsGetResponse) MarshalJSON() ([]byte, error)
- func (v *NullableProjectsGetResponse) Set(val *ProjectsGetResponse)
- func (v *NullableProjectsGetResponse) UnmarshalJSON(src []byte) error
- func (v *NullableProjectsGetResponse) Unset()
- type NullableProvisionLog
- func (v NullableProvisionLog) Get() *ProvisionLog
- func (v NullableProvisionLog) IsSet() bool
- func (v NullableProvisionLog) MarshalJSON() ([]byte, error)
- func (v *NullableProvisionLog) Set(val *ProvisionLog)
- func (v *NullableProvisionLog) UnmarshalJSON(src []byte) error
- func (v *NullableProvisionLog) Unset()
- type NullableProvisionLogStatusEnum
- func (v NullableProvisionLogStatusEnum) Get() *ProvisionLogStatusEnum
- func (v NullableProvisionLogStatusEnum) IsSet() bool
- func (v NullableProvisionLogStatusEnum) MarshalJSON() ([]byte, error)
- func (v *NullableProvisionLogStatusEnum) Set(val *ProvisionLogStatusEnum)
- func (v *NullableProvisionLogStatusEnum) UnmarshalJSON(src []byte) error
- func (v *NullableProvisionLogStatusEnum) Unset()
- type NullableResources
- type NullableScore
- type NullableScript
- type NullableString
- type NullableTempJobPostRequest
- func (v NullableTempJobPostRequest) Get() *TempJobPostRequest
- func (v NullableTempJobPostRequest) IsSet() bool
- func (v NullableTempJobPostRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTempJobPostRequest) Set(val *TempJobPostRequest)
- func (v *NullableTempJobPostRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTempJobPostRequest) Unset()
- type NullableTime
- type NullableTypeEnum
- type NullableUser
- type NullableUserPublicKeyRequest
- func (v NullableUserPublicKeyRequest) Get() *UserPublicKeyRequest
- func (v NullableUserPublicKeyRequest) IsSet() bool
- func (v NullableUserPublicKeyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUserPublicKeyRequest) Set(val *UserPublicKeyRequest)
- func (v *NullableUserPublicKeyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUserPublicKeyRequest) Unset()
- type NullableUserPublicKeyResponse
- func (v NullableUserPublicKeyResponse) Get() *UserPublicKeyResponse
- func (v NullableUserPublicKeyResponse) IsSet() bool
- func (v NullableUserPublicKeyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUserPublicKeyResponse) Set(val *UserPublicKeyResponse)
- func (v *NullableUserPublicKeyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUserPublicKeyResponse) Unset()
- type NullableUserResponse
- func (v NullableUserResponse) Get() *UserResponse
- func (v NullableUserResponse) IsSet() bool
- func (v NullableUserResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUserResponse) Set(val *UserResponse)
- func (v *NullableUserResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUserResponse) Unset()
- type NullableWorkload
- type NullableWorkloadTypeEnum
- func (v NullableWorkloadTypeEnum) Get() *WorkloadTypeEnum
- func (v NullableWorkloadTypeEnum) IsSet() bool
- func (v NullableWorkloadTypeEnum) MarshalJSON() ([]byte, error)
- func (v *NullableWorkloadTypeEnum) Set(val *WorkloadTypeEnum)
- func (v *NullableWorkloadTypeEnum) UnmarshalJSON(src []byte) error
- func (v *NullableWorkloadTypeEnum) Unset()
- type Outputs
- type PatchedConstrainPatchRequest
- func (o *PatchedConstrainPatchRequest) GetConfig() ConstrainRequest
- func (o *PatchedConstrainPatchRequest) GetConfigOk() (*ConstrainRequest, bool)
- func (o *PatchedConstrainPatchRequest) GetJobId() string
- func (o *PatchedConstrainPatchRequest) GetJobIdOk() (*string, bool)
- func (o *PatchedConstrainPatchRequest) HasConfig() bool
- func (o *PatchedConstrainPatchRequest) HasJobId() bool
- func (o PatchedConstrainPatchRequest) MarshalJSON() ([]byte, error)
- func (o *PatchedConstrainPatchRequest) SetConfig(v ConstrainRequest)
- func (o *PatchedConstrainPatchRequest) SetJobId(v string)
- func (o PatchedConstrainPatchRequest) ToMap() (map[string]interface{}, error)
- type PatchedJobUpdateRequest
- func (o *PatchedJobUpdateRequest) GetExitCode() int32
- func (o *PatchedJobUpdateRequest) GetExitCodeOk() (*int32, bool)
- func (o *PatchedJobUpdateRequest) GetFinishedAt() time.Time
- func (o *PatchedJobUpdateRequest) GetFinishedAtOk() (*time.Time, bool)
- func (o *PatchedJobUpdateRequest) GetLogs() string
- func (o *PatchedJobUpdateRequest) GetLogsOk() (*string, bool)
- func (o *PatchedJobUpdateRequest) HasExitCode() bool
- func (o *PatchedJobUpdateRequest) HasFinishedAt() bool
- func (o *PatchedJobUpdateRequest) HasLogs() bool
- func (o PatchedJobUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *PatchedJobUpdateRequest) SetExitCode(v int32)
- func (o *PatchedJobUpdateRequest) SetFinishedAt(v time.Time)
- func (o *PatchedJobUpdateRequest) SetLogs(v string)
- func (o PatchedJobUpdateRequest) ToMap() (map[string]interface{}, error)
- type PickledHandleField
- func (o *PickledHandleField) GetDockerUser() string
- func (o *PickledHandleField) GetDockerUserOk() (*string, bool)
- func (o *PickledHandleField) GetSshUser() string
- func (o *PickledHandleField) GetSshUserOk() (*string, bool)
- func (o *PickledHandleField) GetStableExternalIp() string
- func (o *PickledHandleField) GetStableExternalIpOk() (*string, bool)
- func (o *PickledHandleField) GetStableInternalIp() string
- func (o *PickledHandleField) GetStableInternalIpOk() (*string, bool)
- func (o *PickledHandleField) GetStableSshPorts() []int32
- func (o *PickledHandleField) GetStableSshPortsOk() ([]int32, bool)
- func (o *PickledHandleField) HasDockerUser() bool
- func (o *PickledHandleField) HasSshUser() bool
- func (o *PickledHandleField) HasStableExternalIp() bool
- func (o *PickledHandleField) HasStableInternalIp() bool
- func (o *PickledHandleField) HasStableSshPorts() bool
- func (o PickledHandleField) MarshalJSON() ([]byte, error)
- func (o *PickledHandleField) SetDockerUser(v string)
- func (o *PickledHandleField) SetDockerUserNil()
- func (o *PickledHandleField) SetSshUser(v string)
- func (o *PickledHandleField) SetSshUserNil()
- func (o *PickledHandleField) SetStableExternalIp(v string)
- func (o *PickledHandleField) SetStableExternalIpNil()
- func (o *PickledHandleField) SetStableInternalIp(v string)
- func (o *PickledHandleField) SetStableInternalIpNil()
- func (o *PickledHandleField) SetStableSshPorts(v []int32)
- func (o PickledHandleField) ToMap() (map[string]interface{}, error)
- func (o *PickledHandleField) UnsetDockerUser()
- func (o *PickledHandleField) UnsetSshUser()
- func (o *PickledHandleField) UnsetStableExternalIp()
- func (o *PickledHandleField) UnsetStableInternalIp()
- type Project
- func (o *Project) GetCreatedAt() time.Time
- func (o *Project) GetCreatedAtOk() (*time.Time, bool)
- func (o *Project) GetEnv() map[string]interface{}
- func (o *Project) GetEnvOk() (map[string]interface{}, bool)
- func (o *Project) GetName() string
- func (o *Project) GetNameOk() (*string, bool)
- func (o *Project) GetProjectId() string
- func (o *Project) GetProjectIdOk() (*string, bool)
- func (o *Project) GetType() string
- func (o *Project) GetTypeOk() (*string, bool)
- func (o *Project) GetUpdatedAt() time.Time
- func (o *Project) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Project) HasEnv() bool
- func (o Project) MarshalJSON() ([]byte, error)
- func (o *Project) SetCreatedAt(v time.Time)
- func (o *Project) SetEnv(v map[string]interface{})
- func (o *Project) SetName(v string)
- func (o *Project) SetProjectId(v string)
- func (o *Project) SetType(v string)
- func (o *Project) SetUpdatedAt(v time.Time)
- func (o Project) ToMap() (map[string]interface{}, error)
- func (o *Project) UnmarshalJSON(data []byte) (err error)
- type ProjectCreateRequest
- func (o *ProjectCreateRequest) GetName() string
- func (o *ProjectCreateRequest) GetNameOk() (*string, bool)
- func (o ProjectCreateRequest) MarshalJSON() ([]byte, error)
- func (o *ProjectCreateRequest) SetName(v string)
- func (o ProjectCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *ProjectCreateRequest) UnmarshalJSON(data []byte) (err error)
- type ProjectsAPIService
- func (a *ProjectsAPIService) CreateProject(ctx context.Context) ApiCreateProjectRequest
- func (a *ProjectsAPIService) CreateProjectExecute(r ApiCreateProjectRequest) (*Project, *http.Response, error)
- func (a *ProjectsAPIService) DeleteProject(ctx context.Context, projectId string) ApiDeleteProjectRequest
- func (a *ProjectsAPIService) DeleteProjectExecute(r ApiDeleteProjectRequest) (*http.Response, error)
- func (a *ProjectsAPIService) ListProjects(ctx context.Context) ApiListProjectsRequest
- func (a *ProjectsAPIService) ListProjectsExecute(r ApiListProjectsRequest) (*ProjectsGetResponse, *http.Response, error)
- func (a *ProjectsAPIService) ProjectsJobsRetrieve(ctx context.Context, projectId string) ApiProjectsJobsRetrieveRequest
- func (a *ProjectsAPIService) ProjectsJobsRetrieveExecute(r ApiProjectsJobsRetrieveRequest) (*JobListResponse, *http.Response, error)
- func (a *ProjectsAPIService) RetrieveProject(ctx context.Context, projectId string) ApiRetrieveProjectRequest
- func (a *ProjectsAPIService) RetrieveProjectExecute(r ApiRetrieveProjectRequest) (*Project, *http.Response, error)
- type ProjectsGetResponse
- func (o *ProjectsGetResponse) GetProjects() []Project
- func (o *ProjectsGetResponse) GetProjectsOk() ([]Project, bool)
- func (o ProjectsGetResponse) MarshalJSON() ([]byte, error)
- func (o *ProjectsGetResponse) SetProjects(v []Project)
- func (o ProjectsGetResponse) ToMap() (map[string]interface{}, error)
- func (o *ProjectsGetResponse) UnmarshalJSON(data []byte) (err error)
- type ProvisionAPIService
- type ProvisionLog
- func (o *ProvisionLog) GetCluster() Cluster
- func (o *ProvisionLog) GetClusterOk() (*Cluster, bool)
- func (o *ProvisionLog) GetMessage() string
- func (o *ProvisionLog) GetMessageOk() (*string, bool)
- func (o *ProvisionLog) GetProvisionId() string
- func (o *ProvisionLog) GetProvisionIdOk() (*string, bool)
- func (o *ProvisionLog) GetStartedAt() time.Time
- func (o *ProvisionLog) GetStartedAtOk() (*time.Time, bool)
- func (o *ProvisionLog) GetStatus() ProvisionLogStatusEnum
- func (o *ProvisionLog) GetStatusOk() (*ProvisionLogStatusEnum, bool)
- func (o *ProvisionLog) GetStepName() string
- func (o *ProvisionLog) GetStepNameOk() (*string, bool)
- func (o *ProvisionLog) GetUpdatedAt() time.Time
- func (o *ProvisionLog) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ProvisionLog) HasMessage() bool
- func (o *ProvisionLog) HasStatus() bool
- func (o ProvisionLog) MarshalJSON() ([]byte, error)
- func (o *ProvisionLog) SetCluster(v Cluster)
- func (o *ProvisionLog) SetMessage(v string)
- func (o *ProvisionLog) SetMessageNil()
- func (o *ProvisionLog) SetProvisionId(v string)
- func (o *ProvisionLog) SetStartedAt(v time.Time)
- func (o *ProvisionLog) SetStatus(v ProvisionLogStatusEnum)
- func (o *ProvisionLog) SetStepName(v string)
- func (o *ProvisionLog) SetUpdatedAt(v time.Time)
- func (o ProvisionLog) ToMap() (map[string]interface{}, error)
- func (o *ProvisionLog) UnmarshalJSON(data []byte) (err error)
- func (o *ProvisionLog) UnsetMessage()
- type ProvisionLogStatusEnum
- type Resources
- func (o *Resources) GetAcceleratorCount() int32
- func (o *Resources) GetAcceleratorCountOk() (*int32, bool)
- func (o *Resources) GetAccelerators() []*string
- func (o *Resources) GetAcceleratorsOk() ([]*string, bool)
- func (o *Resources) GetAreas() []*string
- func (o *Resources) GetAreasOk() ([]*string, bool)
- func (o *Resources) GetClouds() []*string
- func (o *Resources) GetCloudsOk() ([]*string, bool)
- func (o *Resources) GetComputeCapability() string
- func (o *Resources) GetComputeCapabilityOk() (*string, bool)
- func (o *Resources) GetCpus() int32
- func (o *Resources) GetCpusOk() (*int32, bool)
- func (o *Resources) GetDockerImage() string
- func (o *Resources) GetDockerImageOk() (*string, bool)
- func (o *Resources) GetInstanceTypes() []*string
- func (o *Resources) GetInstanceTypesOk() ([]*string, bool)
- func (o *Resources) GetMemory() int32
- func (o *Resources) GetMemoryOk() (*int32, bool)
- func (o *Resources) GetPersistentDisk() int32
- func (o *Resources) GetPersistentDiskOk() (*int32, bool)
- func (o *Resources) GetPlatform() string
- func (o *Resources) GetPlatformOk() (*string, bool)
- func (o *Resources) GetRegions() []*string
- func (o *Resources) GetRegionsOk() ([]*string, bool)
- func (o *Resources) GetStorage() int32
- func (o *Resources) GetStorageOk() (*int32, bool)
- func (o *Resources) GetVram() int32
- func (o *Resources) GetVramOk() (*int32, bool)
- func (o *Resources) HasAcceleratorCount() bool
- func (o *Resources) HasAreas() bool
- func (o *Resources) HasClouds() bool
- func (o *Resources) HasComputeCapability() bool
- func (o *Resources) HasCpus() bool
- func (o *Resources) HasDockerImage() bool
- func (o *Resources) HasInstanceTypes() bool
- func (o *Resources) HasMemory() bool
- func (o *Resources) HasPersistentDisk() bool
- func (o *Resources) HasPlatform() bool
- func (o *Resources) HasRegions() bool
- func (o *Resources) HasStorage() bool
- func (o *Resources) HasVram() bool
- func (o Resources) MarshalJSON() ([]byte, error)
- func (o *Resources) SetAcceleratorCount(v int32)
- func (o *Resources) SetAcceleratorCountNil()
- func (o *Resources) SetAccelerators(v []*string)
- func (o *Resources) SetAreas(v []*string)
- func (o *Resources) SetClouds(v []*string)
- func (o *Resources) SetComputeCapability(v string)
- func (o *Resources) SetComputeCapabilityNil()
- func (o *Resources) SetCpus(v int32)
- func (o *Resources) SetCpusNil()
- func (o *Resources) SetDockerImage(v string)
- func (o *Resources) SetDockerImageNil()
- func (o *Resources) SetInstanceTypes(v []*string)
- func (o *Resources) SetMemory(v int32)
- func (o *Resources) SetMemoryNil()
- func (o *Resources) SetPersistentDisk(v int32)
- func (o *Resources) SetPersistentDiskNil()
- func (o *Resources) SetPlatform(v string)
- func (o *Resources) SetPlatformNil()
- func (o *Resources) SetRegions(v []*string)
- func (o *Resources) SetStorage(v int32)
- func (o *Resources) SetStorageNil()
- func (o *Resources) SetVram(v int32)
- func (o *Resources) SetVramNil()
- func (o Resources) ToMap() (map[string]interface{}, error)
- func (o *Resources) UnmarshalJSON(data []byte) (err error)
- func (o *Resources) UnsetAcceleratorCount()
- func (o *Resources) UnsetComputeCapability()
- func (o *Resources) UnsetCpus()
- func (o *Resources) UnsetDockerImage()
- func (o *Resources) UnsetMemory()
- func (o *Resources) UnsetPersistentDisk()
- func (o *Resources) UnsetPlatform()
- func (o *Resources) UnsetStorage()
- func (o *Resources) UnsetVram()
- type Score
- func (o *Score) GetRelPerf() float64
- func (o *Score) GetRelPerfOk() (*float64, bool)
- func (o *Score) GetRelPrice() float64
- func (o *Score) GetRelPriceOk() (*float64, bool)
- func (o *Score) GetWeightedScore() float64
- func (o *Score) GetWeightedScoreOk() (*float64, bool)
- func (o Score) MarshalJSON() ([]byte, error)
- func (o *Score) SetRelPerf(v float64)
- func (o *Score) SetRelPrice(v float64)
- func (o *Score) SetWeightedScore(v float64)
- func (o Score) ToMap() (map[string]interface{}, error)
- func (o *Score) UnmarshalJSON(data []byte) (err error)
- type Script
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TempJobPostRequest
- func (o *TempJobPostRequest) GetCluster() Cluster
- func (o *TempJobPostRequest) GetClusterOk() (*Cluster, bool)
- func (o *TempJobPostRequest) GetConfig() ConstrainRequest
- func (o *TempJobPostRequest) GetConfigOk() (*ConstrainRequest, bool)
- func (o *TempJobPostRequest) GetProject() Project
- func (o *TempJobPostRequest) GetProjectOk() (*Project, bool)
- func (o TempJobPostRequest) MarshalJSON() ([]byte, error)
- func (o *TempJobPostRequest) SetCluster(v Cluster)
- func (o *TempJobPostRequest) SetConfig(v ConstrainRequest)
- func (o *TempJobPostRequest) SetProject(v Project)
- func (o TempJobPostRequest) ToMap() (map[string]interface{}, error)
- func (o *TempJobPostRequest) UnmarshalJSON(data []byte) (err error)
- type TypeEnum
- type User
- type UserPublicKeyRequest
- func (o *UserPublicKeyRequest) GetPublicKey() string
- func (o *UserPublicKeyRequest) GetPublicKeyOk() (*string, bool)
- func (o UserPublicKeyRequest) MarshalJSON() ([]byte, error)
- func (o *UserPublicKeyRequest) SetPublicKey(v string)
- func (o UserPublicKeyRequest) ToMap() (map[string]interface{}, error)
- func (o *UserPublicKeyRequest) UnmarshalJSON(data []byte) (err error)
- type UserPublicKeyResponse
- func (o *UserPublicKeyResponse) GetPublicKey() string
- func (o *UserPublicKeyResponse) GetPublicKeyOk() (*string, bool)
- func (o UserPublicKeyResponse) MarshalJSON() ([]byte, error)
- func (o *UserPublicKeyResponse) SetPublicKey(v string)
- func (o UserPublicKeyResponse) ToMap() (map[string]interface{}, error)
- func (o *UserPublicKeyResponse) UnmarshalJSON(data []byte) (err error)
- type UserResponse
- func (o *UserResponse) GetEmail() string
- func (o *UserResponse) GetEmailOk() (*string, bool)
- func (o UserResponse) MarshalJSON() ([]byte, error)
- func (o *UserResponse) SetEmail(v string)
- func (o UserResponse) ToMap() (map[string]interface{}, error)
- func (o *UserResponse) UnmarshalJSON(data []byte) (err error)
- type UsersAPIService
- func (a *UsersAPIService) UsersMePublicKeyCreate(ctx context.Context) ApiUsersMePublicKeyCreateRequest
- func (a *UsersAPIService) UsersMePublicKeyCreateExecute(r ApiUsersMePublicKeyCreateRequest) (*http.Response, error)
- func (a *UsersAPIService) UsersMePublicKeyRetrieve(ctx context.Context) ApiUsersMePublicKeyRetrieveRequest
- func (a *UsersAPIService) UsersMePublicKeyRetrieveExecute(r ApiUsersMePublicKeyRetrieveRequest) (*UserPublicKeyResponse, *http.Response, error)
- func (a *UsersAPIService) UsersMeRetrieve(ctx context.Context) ApiUsersMeRetrieveRequest
- func (a *UsersAPIService) UsersMeRetrieveExecute(r ApiUsersMeRetrieveRequest) (*UserResponse, *http.Response, error)
- type Workload
- func (o *Workload) GetCostPerfWeight() float64
- func (o *Workload) GetCostPerfWeightOk() (*float64, bool)
- func (o *Workload) GetWorkloadPrompt() string
- func (o *Workload) GetWorkloadPromptOk() (*string, bool)
- func (o *Workload) GetWorkloadType() WorkloadTypeEnum
- func (o *Workload) GetWorkloadTypeOk() (*WorkloadTypeEnum, bool)
- func (o Workload) MarshalJSON() ([]byte, error)
- func (o *Workload) SetCostPerfWeight(v float64)
- func (o *Workload) SetWorkloadPrompt(v string)
- func (o *Workload) SetWorkloadType(v WorkloadTypeEnum)
- func (o Workload) ToMap() (map[string]interface{}, error)
- func (o *Workload) UnmarshalJSON(data []byte) (err error)
- type WorkloadTypeEnum
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedActionEnumEnumValues = []ActionEnum{
"start",
"stop",
"delete",
}
All allowed values of ActionEnum enum
var AllowedClusterStatusEnumEnumValues = []ClusterStatusEnum{
"INIT",
"UP",
"STOPPED",
"ERROR",
}
All allowed values of ClusterStatusEnum enum
var AllowedLatestClusterLogStatusEnumEnumValues = []LatestClusterLogStatusEnum{
"UPDATING",
"DONE",
"CLUSTER_ERROR",
}
All allowed values of LatestClusterLogStatusEnum enum
var AllowedProvisionLogStatusEnumEnumValues = []ProvisionLogStatusEnum{
"PENDING",
"IN_PROGRESS",
"TRANSFER_SSH",
"SETUP_BUCKETS",
"SYNC_FILE_MOUNTS",
"COMPLETED",
"FAILED",
}
All allowed values of ProvisionLogStatusEnum enum
var AllowedTypeEnumEnumValues = []TypeEnum{
"local",
"git",
"docker",
}
All allowed values of TypeEnum enum
var AllowedWorkloadTypeEnumEnumValues = []WorkloadTypeEnum{
"batch",
"serving",
}
All allowed values of WorkloadTypeEnum enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AnalyzeAPI *AnalyzeAPIService ClustersAPI *ClustersAPIService ConstraintsAPI *ConstraintsAPIService DownloadAPI *DownloadAPIService JobsAPI *JobsAPIService ProjectsAPI *ProjectsAPIService ProvisionAPI *ProvisionAPIService UsersAPI *UsersAPIService // contains filtered or unexported fields }
APIClient manages communication with the Wisp API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ActionEnum ¶ added in v0.0.6
type ActionEnum string
ActionEnum * `start` - start * `stop` - stop * `delete` - delete
const ( START ActionEnum = "start" STOP ActionEnum = "stop" DELETE ActionEnum = "delete" )
List of ActionEnum
func NewActionEnumFromValue ¶ added in v0.0.6
func NewActionEnumFromValue(v string) (*ActionEnum, error)
NewActionEnumFromValue returns a pointer to a valid ActionEnum for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ActionEnum) IsValid ¶ added in v0.0.6
func (v ActionEnum) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ActionEnum) Ptr ¶ added in v0.0.6
func (v ActionEnum) Ptr() *ActionEnum
Ptr returns reference to ActionEnum value
func (*ActionEnum) UnmarshalJSON ¶ added in v0.0.6
func (v *ActionEnum) UnmarshalJSON(src []byte) error
type AnalyzeAPIService ¶ added in v0.0.11
type AnalyzeAPIService service
AnalyzeAPIService AnalyzeAPI service
func (*AnalyzeAPIService) AnalyzeCreate ¶ added in v0.0.11
func (a *AnalyzeAPIService) AnalyzeCreate(ctx context.Context) ApiAnalyzeCreateRequest
AnalyzeCreate Method for AnalyzeCreate
Estimate optimal cloud resources based on workload metadata
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAnalyzeCreateRequest
func (*AnalyzeAPIService) AnalyzeCreateExecute ¶ added in v0.0.11
func (a *AnalyzeAPIService) AnalyzeCreateExecute(r ApiAnalyzeCreateRequest) (*AnalyzeGetResponse, *http.Response, error)
Execute executes the request
@return AnalyzeGetResponse
type AnalyzeGetRequest ¶ added in v0.0.11
type AnalyzeGetRequest struct { Workload Workload `json:"workload"` CurrentResources ClusterOffer `json:"current_resources"` Constraints Resources `json:"constraints"` }
AnalyzeGetRequest struct for AnalyzeGetRequest
func NewAnalyzeGetRequest ¶ added in v0.0.11
func NewAnalyzeGetRequest(workload Workload, currentResources ClusterOffer, constraints Resources) *AnalyzeGetRequest
NewAnalyzeGetRequest instantiates a new AnalyzeGetRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnalyzeGetRequestWithDefaults ¶ added in v0.0.11
func NewAnalyzeGetRequestWithDefaults() *AnalyzeGetRequest
NewAnalyzeGetRequestWithDefaults instantiates a new AnalyzeGetRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnalyzeGetRequest) GetConstraints ¶ added in v0.0.11
func (o *AnalyzeGetRequest) GetConstraints() Resources
GetConstraints returns the Constraints field value
func (*AnalyzeGetRequest) GetConstraintsOk ¶ added in v0.0.11
func (o *AnalyzeGetRequest) GetConstraintsOk() (*Resources, bool)
GetConstraintsOk returns a tuple with the Constraints field value and a boolean to check if the value has been set.
func (*AnalyzeGetRequest) GetCurrentResources ¶ added in v0.0.11
func (o *AnalyzeGetRequest) GetCurrentResources() ClusterOffer
GetCurrentResources returns the CurrentResources field value
func (*AnalyzeGetRequest) GetCurrentResourcesOk ¶ added in v0.0.11
func (o *AnalyzeGetRequest) GetCurrentResourcesOk() (*ClusterOffer, bool)
GetCurrentResourcesOk returns a tuple with the CurrentResources field value and a boolean to check if the value has been set.
func (*AnalyzeGetRequest) GetWorkload ¶ added in v0.0.11
func (o *AnalyzeGetRequest) GetWorkload() Workload
GetWorkload returns the Workload field value
func (*AnalyzeGetRequest) GetWorkloadOk ¶ added in v0.0.11
func (o *AnalyzeGetRequest) GetWorkloadOk() (*Workload, bool)
GetWorkloadOk returns a tuple with the Workload field value and a boolean to check if the value has been set.
func (AnalyzeGetRequest) MarshalJSON ¶ added in v0.0.11
func (o AnalyzeGetRequest) MarshalJSON() ([]byte, error)
func (*AnalyzeGetRequest) SetConstraints ¶ added in v0.0.11
func (o *AnalyzeGetRequest) SetConstraints(v Resources)
SetConstraints sets field value
func (*AnalyzeGetRequest) SetCurrentResources ¶ added in v0.0.11
func (o *AnalyzeGetRequest) SetCurrentResources(v ClusterOffer)
SetCurrentResources sets field value
func (*AnalyzeGetRequest) SetWorkload ¶ added in v0.0.11
func (o *AnalyzeGetRequest) SetWorkload(v Workload)
SetWorkload sets field value
func (AnalyzeGetRequest) ToMap ¶ added in v0.0.11
func (o AnalyzeGetRequest) ToMap() (map[string]interface{}, error)
func (*AnalyzeGetRequest) UnmarshalJSON ¶ added in v0.0.11
func (o *AnalyzeGetRequest) UnmarshalJSON(data []byte) (err error)
type AnalyzeGetResponse ¶ added in v0.0.11
type AnalyzeGetResponse struct {
Results []AnalyzerResult `json:"results"`
}
AnalyzeGetResponse Serializer for cluster analyzer response.
func NewAnalyzeGetResponse ¶ added in v0.0.11
func NewAnalyzeGetResponse(results []AnalyzerResult) *AnalyzeGetResponse
NewAnalyzeGetResponse instantiates a new AnalyzeGetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnalyzeGetResponseWithDefaults ¶ added in v0.0.11
func NewAnalyzeGetResponseWithDefaults() *AnalyzeGetResponse
NewAnalyzeGetResponseWithDefaults instantiates a new AnalyzeGetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnalyzeGetResponse) GetResults ¶ added in v0.0.11
func (o *AnalyzeGetResponse) GetResults() []AnalyzerResult
GetResults returns the Results field value
func (*AnalyzeGetResponse) GetResultsOk ¶ added in v0.0.11
func (o *AnalyzeGetResponse) GetResultsOk() ([]AnalyzerResult, bool)
GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.
func (AnalyzeGetResponse) MarshalJSON ¶ added in v0.0.11
func (o AnalyzeGetResponse) MarshalJSON() ([]byte, error)
func (*AnalyzeGetResponse) SetResults ¶ added in v0.0.11
func (o *AnalyzeGetResponse) SetResults(v []AnalyzerResult)
SetResults sets field value
func (AnalyzeGetResponse) ToMap ¶ added in v0.0.11
func (o AnalyzeGetResponse) ToMap() (map[string]interface{}, error)
func (*AnalyzeGetResponse) UnmarshalJSON ¶ added in v0.0.11
func (o *AnalyzeGetResponse) UnmarshalJSON(data []byte) (err error)
type AnalyzerResult ¶ added in v0.0.11
type AnalyzerResult struct { Offer ClusterOffer `json:"offer"` Score Score `json:"score"` }
AnalyzerResult struct for AnalyzerResult
func NewAnalyzerResult ¶ added in v0.0.11
func NewAnalyzerResult(offer ClusterOffer, score Score) *AnalyzerResult
NewAnalyzerResult instantiates a new AnalyzerResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnalyzerResultWithDefaults ¶ added in v0.0.11
func NewAnalyzerResultWithDefaults() *AnalyzerResult
NewAnalyzerResultWithDefaults instantiates a new AnalyzerResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnalyzerResult) GetOffer ¶ added in v0.0.11
func (o *AnalyzerResult) GetOffer() ClusterOffer
GetOffer returns the Offer field value
func (*AnalyzerResult) GetOfferOk ¶ added in v0.0.11
func (o *AnalyzerResult) GetOfferOk() (*ClusterOffer, bool)
GetOfferOk returns a tuple with the Offer field value and a boolean to check if the value has been set.
func (*AnalyzerResult) GetScore ¶ added in v0.0.11
func (o *AnalyzerResult) GetScore() Score
GetScore returns the Score field value
func (*AnalyzerResult) GetScoreOk ¶ added in v0.0.11
func (o *AnalyzerResult) GetScoreOk() (*Score, bool)
GetScoreOk returns a tuple with the Score field value and a boolean to check if the value has been set.
func (AnalyzerResult) MarshalJSON ¶ added in v0.0.11
func (o AnalyzerResult) MarshalJSON() ([]byte, error)
func (*AnalyzerResult) SetOffer ¶ added in v0.0.11
func (o *AnalyzerResult) SetOffer(v ClusterOffer)
SetOffer sets field value
func (*AnalyzerResult) SetScore ¶ added in v0.0.11
func (o *AnalyzerResult) SetScore(v Score)
SetScore sets field value
func (AnalyzerResult) ToMap ¶ added in v0.0.11
func (o AnalyzerResult) ToMap() (map[string]interface{}, error)
func (*AnalyzerResult) UnmarshalJSON ¶ added in v0.0.11
func (o *AnalyzerResult) UnmarshalJSON(data []byte) (err error)
type ApiAnalyzeCreateRequest ¶ added in v0.0.11
type ApiAnalyzeCreateRequest struct { ApiService *AnalyzeAPIService // contains filtered or unexported fields }
func (ApiAnalyzeCreateRequest) AnalyzeGetRequest ¶ added in v0.0.11
func (r ApiAnalyzeCreateRequest) AnalyzeGetRequest(analyzeGetRequest AnalyzeGetRequest) ApiAnalyzeCreateRequest
func (ApiAnalyzeCreateRequest) Execute ¶ added in v0.0.11
func (r ApiAnalyzeCreateRequest) Execute() (*AnalyzeGetResponse, *http.Response, error)
type ApiClusterActionCreateRequest ¶ added in v0.0.8
type ApiClusterActionCreateRequest struct { ApiService *ClustersAPIService // contains filtered or unexported fields }
func (ApiClusterActionCreateRequest) Execute ¶ added in v0.0.8
func (r ApiClusterActionCreateRequest) Execute() (*ClusterActionResponse, *http.Response, error)
func (ApiClusterActionCreateRequest) Wait ¶ added in v0.0.8
func (r ApiClusterActionCreateRequest) Wait(wait bool) ApiClusterActionCreateRequest
type ApiClustersCreateRequest ¶ added in v0.0.6
type ApiClustersCreateRequest struct { ApiService *ClustersAPIService // contains filtered or unexported fields }
func (ApiClustersCreateRequest) ClusterPostRequest ¶ added in v0.0.8
func (r ApiClustersCreateRequest) ClusterPostRequest(clusterPostRequest ClusterPostRequest) ApiClustersCreateRequest
func (ApiClustersCreateRequest) Execute ¶ added in v0.0.6
func (r ApiClustersCreateRequest) Execute() (*ClusterPostResponse, *http.Response, error)
type ApiClustersRetrieveRequest ¶ added in v0.0.6
type ApiClustersRetrieveRequest struct { ApiService *ClustersAPIService // contains filtered or unexported fields }
func (ApiClustersRetrieveRequest) Constraints ¶ added in v0.0.7
func (r ApiClustersRetrieveRequest) Constraints(constraints ConstrainRequest) ApiClustersRetrieveRequest
func (ApiClustersRetrieveRequest) Execute ¶ added in v0.0.6
func (r ApiClustersRetrieveRequest) Execute() (*ClusterListResponse, *http.Response, error)
type ApiClustersStatusRetrieveRequest ¶ added in v0.0.6
type ApiClustersStatusRetrieveRequest struct { ApiService *ClustersAPIService // contains filtered or unexported fields }
func (ApiClustersStatusRetrieveRequest) Execute ¶ added in v0.0.6
func (r ApiClustersStatusRetrieveRequest) Execute() (*ClusterStatusResponse, *http.Response, error)
type ApiConstraintsCreateRequest ¶
type ApiConstraintsCreateRequest struct { ApiService *ConstraintsAPIService // contains filtered or unexported fields }
func (ApiConstraintsCreateRequest) ConstrainRequest ¶
func (r ApiConstraintsCreateRequest) ConstrainRequest(constrainRequest ConstrainRequest) ApiConstraintsCreateRequest
func (ApiConstraintsCreateRequest) Execute ¶
func (r ApiConstraintsCreateRequest) Execute() (*ConstrainResponse, *http.Response, error)
type ApiConstraintsPartialUpdateRequest ¶
type ApiConstraintsPartialUpdateRequest struct { ApiService *ConstraintsAPIService // contains filtered or unexported fields }
func (ApiConstraintsPartialUpdateRequest) Execute ¶
func (r ApiConstraintsPartialUpdateRequest) Execute() (*ConstrainRequest, *http.Response, error)
func (ApiConstraintsPartialUpdateRequest) PatchedConstrainPatchRequest ¶
func (r ApiConstraintsPartialUpdateRequest) PatchedConstrainPatchRequest(patchedConstrainPatchRequest PatchedConstrainPatchRequest) ApiConstraintsPartialUpdateRequest
type ApiCreateJobWithoutClusterRequest ¶ added in v0.0.7
type ApiCreateJobWithoutClusterRequest struct { ApiService *JobAPIService // contains filtered or unexported fields }
func (ApiCreateJobWithoutClusterRequest) Execute ¶ added in v0.0.7
func (r ApiCreateJobWithoutClusterRequest) Execute() (*JobGetResponse, *http.Response, error)
func (ApiCreateJobWithoutClusterRequest) TempJobPostRequest ¶ added in v0.0.7
func (r ApiCreateJobWithoutClusterRequest) TempJobPostRequest(tempJobPostRequest TempJobPostRequest) ApiCreateJobWithoutClusterRequest
type ApiCreateProjectRequest ¶
type ApiCreateProjectRequest struct { ApiService *ProjectsAPIService // contains filtered or unexported fields }
func (ApiCreateProjectRequest) Execute ¶
func (r ApiCreateProjectRequest) Execute() (*Project, *http.Response, error)
func (ApiCreateProjectRequest) ProjectCreateRequest ¶
func (r ApiCreateProjectRequest) ProjectCreateRequest(projectCreateRequest ProjectCreateRequest) ApiCreateProjectRequest
type ApiDeleteProjectRequest ¶
type ApiDeleteProjectRequest struct { ApiService *ProjectsAPIService // contains filtered or unexported fields }
type ApiDownloadRetrieveRequest ¶
type ApiDownloadRetrieveRequest struct { ApiService *DownloadAPIService // contains filtered or unexported fields }
func (ApiDownloadRetrieveRequest) Execute ¶
func (r ApiDownloadRetrieveRequest) Execute() (*DownloadResponse, *http.Response, error)
func (ApiDownloadRetrieveRequest) Name ¶
func (r ApiDownloadRetrieveRequest) Name(name string) ApiDownloadRetrieveRequest
The name of the binary to download
type ApiJobsCreateRequest ¶ added in v0.0.8
type ApiJobsCreateRequest struct { ApiService *JobsAPIService // contains filtered or unexported fields }
func (ApiJobsCreateRequest) Execute ¶ added in v0.0.8
func (r ApiJobsCreateRequest) Execute() (*JobGetResponse, *http.Response, error)
func (ApiJobsCreateRequest) TempJobPostRequest ¶ added in v0.0.8
func (r ApiJobsCreateRequest) TempJobPostRequest(tempJobPostRequest TempJobPostRequest) ApiJobsCreateRequest
type ApiJobsDestroyRequest ¶
type ApiJobsDestroyRequest struct { ApiService *JobsAPIService // contains filtered or unexported fields }
type ApiJobsPartialUpdateRequest ¶ added in v0.0.10
type ApiJobsPartialUpdateRequest struct { ApiService *JobsAPIService // contains filtered or unexported fields }
func (ApiJobsPartialUpdateRequest) Execute ¶ added in v0.0.10
func (r ApiJobsPartialUpdateRequest) Execute() (*JobUpdateResponse, *http.Response, error)
func (ApiJobsPartialUpdateRequest) PatchedJobUpdateRequest ¶ added in v0.0.10
func (r ApiJobsPartialUpdateRequest) PatchedJobUpdateRequest(patchedJobUpdateRequest PatchedJobUpdateRequest) ApiJobsPartialUpdateRequest
type ApiJobsRetrieveRequest ¶
type ApiJobsRetrieveRequest struct { ApiService *JobsAPIService // contains filtered or unexported fields }
func (ApiJobsRetrieveRequest) Execute ¶
func (r ApiJobsRetrieveRequest) Execute() (*JobGetResponse, *http.Response, error)
type ApiListProjectsRequest ¶
type ApiListProjectsRequest struct { ApiService *ProjectsAPIService // contains filtered or unexported fields }
func (ApiListProjectsRequest) Execute ¶
func (r ApiListProjectsRequest) Execute() (*ProjectsGetResponse, *http.Response, error)
type ApiProjectsJobsRetrieveRequest ¶
type ApiProjectsJobsRetrieveRequest struct { ApiService *ProjectsAPIService // contains filtered or unexported fields }
func (ApiProjectsJobsRetrieveRequest) Execute ¶
func (r ApiProjectsJobsRetrieveRequest) Execute() (*JobListResponse, *http.Response, error)
type ApiProvisionRetrieveRequest ¶ added in v0.0.8
type ApiProvisionRetrieveRequest struct { ApiService *ProvisionAPIService // contains filtered or unexported fields }
func (ApiProvisionRetrieveRequest) Execute ¶ added in v0.0.8
func (r ApiProvisionRetrieveRequest) Execute() (*ProvisionLog, *http.Response, error)
type ApiRetrieveProjectRequest ¶
type ApiRetrieveProjectRequest struct { ApiService *ProjectsAPIService // contains filtered or unexported fields }
type ApiUsersMePublicKeyCreateRequest ¶
type ApiUsersMePublicKeyCreateRequest struct { ApiService *UsersAPIService // contains filtered or unexported fields }
func (ApiUsersMePublicKeyCreateRequest) Execute ¶
func (r ApiUsersMePublicKeyCreateRequest) Execute() (*http.Response, error)
func (ApiUsersMePublicKeyCreateRequest) UserPublicKeyRequest ¶
func (r ApiUsersMePublicKeyCreateRequest) UserPublicKeyRequest(userPublicKeyRequest UserPublicKeyRequest) ApiUsersMePublicKeyCreateRequest
type ApiUsersMePublicKeyRetrieveRequest ¶
type ApiUsersMePublicKeyRetrieveRequest struct { ApiService *UsersAPIService // contains filtered or unexported fields }
func (ApiUsersMePublicKeyRetrieveRequest) Execute ¶
func (r ApiUsersMePublicKeyRetrieveRequest) Execute() (*UserPublicKeyResponse, *http.Response, error)
type ApiUsersMeRetrieveRequest ¶
type ApiUsersMeRetrieveRequest struct { ApiService *UsersAPIService // contains filtered or unexported fields }
func (ApiUsersMeRetrieveRequest) Execute ¶
func (r ApiUsersMeRetrieveRequest) Execute() (*UserResponse, *http.Response, error)
type AutoStop ¶ added in v0.0.9
type AutoStop struct { Id int32 `json:"id"` Enabled *bool `json:"enabled,omitempty"` TimeoutMinutes *int32 `json:"timeout_minutes,omitempty"` }
AutoStop struct for AutoStop
func NewAutoStop ¶ added in v0.0.9
NewAutoStop instantiates a new AutoStop object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAutoStopWithDefaults ¶ added in v0.0.9
func NewAutoStopWithDefaults() *AutoStop
NewAutoStopWithDefaults instantiates a new AutoStop object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AutoStop) GetEnabled ¶ added in v0.0.9
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*AutoStop) GetEnabledOk ¶ added in v0.0.9
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoStop) GetIdOk ¶ added in v0.0.9
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AutoStop) GetTimeoutMinutes ¶ added in v0.0.9
GetTimeoutMinutes returns the TimeoutMinutes field value if set, zero value otherwise.
func (*AutoStop) GetTimeoutMinutesOk ¶ added in v0.0.9
GetTimeoutMinutesOk returns a tuple with the TimeoutMinutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoStop) HasEnabled ¶ added in v0.0.9
HasEnabled returns a boolean if a field has been set.
func (*AutoStop) HasTimeoutMinutes ¶ added in v0.0.9
HasTimeoutMinutes returns a boolean if a field has been set.
func (AutoStop) MarshalJSON ¶ added in v0.0.9
func (*AutoStop) SetEnabled ¶ added in v0.0.9
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*AutoStop) SetTimeoutMinutes ¶ added in v0.0.9
SetTimeoutMinutes gets a reference to the given int32 and assigns it to the TimeoutMinutes field.
func (*AutoStop) UnmarshalJSON ¶ added in v0.0.9
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Bucket ¶
type Bucket struct { Name NullableString `json:"name"` Mode NullableString `json:"mode"` MountLocation NullableString `json:"mount_location"` }
Bucket Bucket configuration serializer.
func NewBucket ¶
func NewBucket(name NullableString, mode NullableString, mountLocation NullableString) *Bucket
NewBucket instantiates a new Bucket object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBucketWithDefaults ¶
func NewBucketWithDefaults() *Bucket
NewBucketWithDefaults instantiates a new Bucket object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Bucket) GetMode ¶
GetMode returns the Mode field value If the value is explicit nil, the zero value for string will be returned
func (*Bucket) GetModeOk ¶
GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Bucket) GetMountLocation ¶
GetMountLocation returns the MountLocation field value If the value is explicit nil, the zero value for string will be returned
func (*Bucket) GetMountLocationOk ¶
GetMountLocationOk returns a tuple with the MountLocation field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Bucket) GetName ¶
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*Bucket) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Bucket) MarshalJSON ¶
func (*Bucket) SetMountLocation ¶
SetMountLocation sets field value
func (*Bucket) UnmarshalJSON ¶ added in v0.0.5
type Cluster ¶
type Cluster struct { User User `json:"user"` Name string `json:"name"` LaunchedAt NullableInt32 `json:"launched_at,omitempty"` LastUse NullableString `json:"last_use,omitempty"` Status *ClusterStatusEnum `json:"status,omitempty"` Autostop *int32 `json:"autostop,omitempty"` Metadata *string `json:"metadata,omitempty"` ToDown *bool `json:"to_down,omitempty"` ClusterHash NullableString `json:"cluster_hash,omitempty"` Handle NullablePickledHandleField `json:"handle"` }
Cluster Cluster serializer.
func NewCluster ¶
func NewCluster(user User, name string, handle NullablePickledHandleField) *Cluster
NewCluster instantiates a new Cluster object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterWithDefaults ¶
func NewClusterWithDefaults() *Cluster
NewClusterWithDefaults instantiates a new Cluster object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Cluster) GetAutostop ¶
GetAutostop returns the Autostop field value if set, zero value otherwise.
func (*Cluster) GetAutostopOk ¶
GetAutostopOk returns a tuple with the Autostop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetClusterHash ¶
GetClusterHash returns the ClusterHash field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Cluster) GetClusterHashOk ¶
GetClusterHashOk returns a tuple with the ClusterHash field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Cluster) GetHandle ¶
func (o *Cluster) GetHandle() PickledHandleField
GetHandle returns the Handle field value If the value is explicit nil, the zero value for PickledHandleField will be returned
func (*Cluster) GetHandleOk ¶
func (o *Cluster) GetHandleOk() (*PickledHandleField, bool)
GetHandleOk returns a tuple with the Handle field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Cluster) GetLastUse ¶
GetLastUse returns the LastUse field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Cluster) GetLastUseOk ¶
GetLastUseOk returns a tuple with the LastUse field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Cluster) GetLaunchedAt ¶
GetLaunchedAt returns the LaunchedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Cluster) GetLaunchedAtOk ¶
GetLaunchedAtOk returns a tuple with the LaunchedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Cluster) GetMetadata ¶
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Cluster) GetMetadataOk ¶
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Cluster) GetStatus ¶
func (o *Cluster) GetStatus() ClusterStatusEnum
GetStatus returns the Status field value if set, zero value otherwise.
func (*Cluster) GetStatusOk ¶
func (o *Cluster) GetStatusOk() (*ClusterStatusEnum, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetToDownOk ¶
GetToDownOk returns a tuple with the ToDown field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetUserOk ¶
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (*Cluster) HasAutostop ¶
HasAutostop returns a boolean if a field has been set.
func (*Cluster) HasClusterHash ¶
HasClusterHash returns a boolean if a field has been set.
func (*Cluster) HasLastUse ¶
HasLastUse returns a boolean if a field has been set.
func (*Cluster) HasLaunchedAt ¶
HasLaunchedAt returns a boolean if a field has been set.
func (*Cluster) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (Cluster) MarshalJSON ¶
func (*Cluster) SetAutostop ¶
SetAutostop gets a reference to the given int32 and assigns it to the Autostop field.
func (*Cluster) SetClusterHash ¶
SetClusterHash gets a reference to the given NullableString and assigns it to the ClusterHash field.
func (*Cluster) SetClusterHashNil ¶
func (o *Cluster) SetClusterHashNil()
SetClusterHashNil sets the value for ClusterHash to be an explicit nil
func (*Cluster) SetHandle ¶
func (o *Cluster) SetHandle(v PickledHandleField)
SetHandle sets field value
func (*Cluster) SetLastUse ¶
SetLastUse gets a reference to the given NullableString and assigns it to the LastUse field.
func (*Cluster) SetLastUseNil ¶
func (o *Cluster) SetLastUseNil()
SetLastUseNil sets the value for LastUse to be an explicit nil
func (*Cluster) SetLaunchedAt ¶
SetLaunchedAt gets a reference to the given NullableInt32 and assigns it to the LaunchedAt field.
func (*Cluster) SetLaunchedAtNil ¶
func (o *Cluster) SetLaunchedAtNil()
SetLaunchedAtNil sets the value for LaunchedAt to be an explicit nil
func (*Cluster) SetMetadata ¶
SetMetadata gets a reference to the given string and assigns it to the Metadata field.
func (*Cluster) SetStatus ¶
func (o *Cluster) SetStatus(v ClusterStatusEnum)
SetStatus gets a reference to the given ClusterStatusEnum and assigns it to the Status field.
func (*Cluster) SetToDown ¶
SetToDown gets a reference to the given bool and assigns it to the ToDown field.
func (*Cluster) UnmarshalJSON ¶ added in v0.0.5
func (*Cluster) UnsetClusterHash ¶
func (o *Cluster) UnsetClusterHash()
UnsetClusterHash ensures that no value is present for ClusterHash, not even an explicit nil
func (*Cluster) UnsetLastUse ¶
func (o *Cluster) UnsetLastUse()
UnsetLastUse ensures that no value is present for LastUse, not even an explicit nil
func (*Cluster) UnsetLaunchedAt ¶
func (o *Cluster) UnsetLaunchedAt()
UnsetLaunchedAt ensures that no value is present for LaunchedAt, not even an explicit nil
type ClusterActionRequest ¶ added in v0.0.6
type ClusterActionRequest struct { ClusterName string `json:"cluster_name"` Action ActionEnum `json:"action"` Wait *bool `json:"wait,omitempty"` }
ClusterActionRequest Cluster action request serializer.
func NewClusterActionRequest ¶ added in v0.0.6
func NewClusterActionRequest(clusterName string, action ActionEnum) *ClusterActionRequest
NewClusterActionRequest instantiates a new ClusterActionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterActionRequestWithDefaults ¶ added in v0.0.6
func NewClusterActionRequestWithDefaults() *ClusterActionRequest
NewClusterActionRequestWithDefaults instantiates a new ClusterActionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterActionRequest) GetAction ¶ added in v0.0.6
func (o *ClusterActionRequest) GetAction() ActionEnum
GetAction returns the Action field value
func (*ClusterActionRequest) GetActionOk ¶ added in v0.0.6
func (o *ClusterActionRequest) GetActionOk() (*ActionEnum, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*ClusterActionRequest) GetClusterName ¶ added in v0.0.6
func (o *ClusterActionRequest) GetClusterName() string
GetClusterName returns the ClusterName field value
func (*ClusterActionRequest) GetClusterNameOk ¶ added in v0.0.6
func (o *ClusterActionRequest) GetClusterNameOk() (*string, bool)
GetClusterNameOk returns a tuple with the ClusterName field value and a boolean to check if the value has been set.
func (*ClusterActionRequest) GetWait ¶ added in v0.0.6
func (o *ClusterActionRequest) GetWait() bool
GetWait returns the Wait field value if set, zero value otherwise.
func (*ClusterActionRequest) GetWaitOk ¶ added in v0.0.6
func (o *ClusterActionRequest) GetWaitOk() (*bool, bool)
GetWaitOk returns a tuple with the Wait field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterActionRequest) HasWait ¶ added in v0.0.6
func (o *ClusterActionRequest) HasWait() bool
HasWait returns a boolean if a field has been set.
func (ClusterActionRequest) MarshalJSON ¶ added in v0.0.6
func (o ClusterActionRequest) MarshalJSON() ([]byte, error)
func (*ClusterActionRequest) SetAction ¶ added in v0.0.6
func (o *ClusterActionRequest) SetAction(v ActionEnum)
SetAction sets field value
func (*ClusterActionRequest) SetClusterName ¶ added in v0.0.6
func (o *ClusterActionRequest) SetClusterName(v string)
SetClusterName sets field value
func (*ClusterActionRequest) SetWait ¶ added in v0.0.6
func (o *ClusterActionRequest) SetWait(v bool)
SetWait gets a reference to the given bool and assigns it to the Wait field.
func (ClusterActionRequest) ToMap ¶ added in v0.0.6
func (o ClusterActionRequest) ToMap() (map[string]interface{}, error)
func (*ClusterActionRequest) UnmarshalJSON ¶ added in v0.0.6
func (o *ClusterActionRequest) UnmarshalJSON(data []byte) (err error)
type ClusterActionResponse ¶ added in v0.0.6
type ClusterActionResponse struct { ClusterName string `json:"cluster_name"` Status string `json:"status"` Message string `json:"message"` }
ClusterActionResponse Cluster action response serializer.
func NewClusterActionResponse ¶ added in v0.0.6
func NewClusterActionResponse(clusterName string, status string, message string) *ClusterActionResponse
NewClusterActionResponse instantiates a new ClusterActionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterActionResponseWithDefaults ¶ added in v0.0.6
func NewClusterActionResponseWithDefaults() *ClusterActionResponse
NewClusterActionResponseWithDefaults instantiates a new ClusterActionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterActionResponse) GetClusterName ¶ added in v0.0.6
func (o *ClusterActionResponse) GetClusterName() string
GetClusterName returns the ClusterName field value
func (*ClusterActionResponse) GetClusterNameOk ¶ added in v0.0.6
func (o *ClusterActionResponse) GetClusterNameOk() (*string, bool)
GetClusterNameOk returns a tuple with the ClusterName field value and a boolean to check if the value has been set.
func (*ClusterActionResponse) GetMessage ¶ added in v0.0.6
func (o *ClusterActionResponse) GetMessage() string
GetMessage returns the Message field value
func (*ClusterActionResponse) GetMessageOk ¶ added in v0.0.6
func (o *ClusterActionResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ClusterActionResponse) GetStatus ¶ added in v0.0.6
func (o *ClusterActionResponse) GetStatus() string
GetStatus returns the Status field value
func (*ClusterActionResponse) GetStatusOk ¶ added in v0.0.6
func (o *ClusterActionResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (ClusterActionResponse) MarshalJSON ¶ added in v0.0.6
func (o ClusterActionResponse) MarshalJSON() ([]byte, error)
func (*ClusterActionResponse) SetClusterName ¶ added in v0.0.6
func (o *ClusterActionResponse) SetClusterName(v string)
SetClusterName sets field value
func (*ClusterActionResponse) SetMessage ¶ added in v0.0.6
func (o *ClusterActionResponse) SetMessage(v string)
SetMessage sets field value
func (*ClusterActionResponse) SetStatus ¶ added in v0.0.6
func (o *ClusterActionResponse) SetStatus(v string)
SetStatus sets field value
func (ClusterActionResponse) ToMap ¶ added in v0.0.6
func (o ClusterActionResponse) ToMap() (map[string]interface{}, error)
func (*ClusterActionResponse) UnmarshalJSON ¶ added in v0.0.6
func (o *ClusterActionResponse) UnmarshalJSON(data []byte) (err error)
type ClusterListResponse ¶ added in v0.0.6
type ClusterListResponse struct {
Clusters []Cluster `json:"clusters"`
}
ClusterListResponse Cluster list response serializer.
func NewClusterListResponse ¶ added in v0.0.6
func NewClusterListResponse(clusters []Cluster) *ClusterListResponse
NewClusterListResponse instantiates a new ClusterListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterListResponseWithDefaults ¶ added in v0.0.6
func NewClusterListResponseWithDefaults() *ClusterListResponse
NewClusterListResponseWithDefaults instantiates a new ClusterListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterListResponse) GetClusters ¶ added in v0.0.6
func (o *ClusterListResponse) GetClusters() []Cluster
GetClusters returns the Clusters field value
func (*ClusterListResponse) GetClustersOk ¶ added in v0.0.6
func (o *ClusterListResponse) GetClustersOk() ([]Cluster, bool)
GetClustersOk returns a tuple with the Clusters field value and a boolean to check if the value has been set.
func (ClusterListResponse) MarshalJSON ¶ added in v0.0.6
func (o ClusterListResponse) MarshalJSON() ([]byte, error)
func (*ClusterListResponse) SetClusters ¶ added in v0.0.6
func (o *ClusterListResponse) SetClusters(v []Cluster)
SetClusters sets field value
func (ClusterListResponse) ToMap ¶ added in v0.0.6
func (o ClusterListResponse) ToMap() (map[string]interface{}, error)
func (*ClusterListResponse) UnmarshalJSON ¶ added in v0.0.6
func (o *ClusterListResponse) UnmarshalJSON(data []byte) (err error)
type ClusterOffer ¶
type ClusterOffer struct { DiskSize NullableInt32 `json:"disk_size,omitempty"` Cloud NullableString `json:"cloud,omitempty"` JobRecovery NullableString `json:"job_recovery,omitempty"` DiskTier NullableString `json:"disk_tier,omitempty"` Memory NullableInt32 `json:"memory,omitempty"` AcceleratorArgs interface{} `json:"accelerator_args,omitempty"` Region NullableString `json:"region,omitempty"` Price NullableFloat64 `json:"price,omitempty"` Storage NullableString `json:"storage,omitempty"` InstanceType NullableString `json:"instance_type,omitempty"` Cpus NullableInt32 `json:"cpus,omitempty"` Accelerators interface{} `json:"accelerators,omitempty"` UseSpot NullableBool `json:"use_spot,omitempty"` Zone NullableString `json:"zone,omitempty"` ImageId interface{} `json:"image_id,omitempty"` Ports interface{} `json:"ports,omitempty"` Labels interface{} `json:"labels,omitempty"` AcceleratorCount interface{} `json:"accelerator_count,omitempty"` Regions interface{} `json:"regions,omitempty"` }
ClusterOffer struct for ClusterOffer
func NewClusterOffer ¶
func NewClusterOffer() *ClusterOffer
NewClusterOffer instantiates a new ClusterOffer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterOfferWithDefaults ¶
func NewClusterOfferWithDefaults() *ClusterOffer
NewClusterOfferWithDefaults instantiates a new ClusterOffer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterOffer) GetAcceleratorArgs ¶
func (o *ClusterOffer) GetAcceleratorArgs() interface{}
GetAcceleratorArgs returns the AcceleratorArgs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetAcceleratorArgsOk ¶
func (o *ClusterOffer) GetAcceleratorArgsOk() (*interface{}, bool)
GetAcceleratorArgsOk returns a tuple with the AcceleratorArgs field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetAcceleratorCount ¶
func (o *ClusterOffer) GetAcceleratorCount() interface{}
GetAcceleratorCount returns the AcceleratorCount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetAcceleratorCountOk ¶
func (o *ClusterOffer) GetAcceleratorCountOk() (*interface{}, bool)
GetAcceleratorCountOk returns a tuple with the AcceleratorCount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetAccelerators ¶
func (o *ClusterOffer) GetAccelerators() interface{}
GetAccelerators returns the Accelerators field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetAcceleratorsOk ¶
func (o *ClusterOffer) GetAcceleratorsOk() (*interface{}, bool)
GetAcceleratorsOk returns a tuple with the Accelerators field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetCloud ¶
func (o *ClusterOffer) GetCloud() string
GetCloud returns the Cloud field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetCloudOk ¶
func (o *ClusterOffer) GetCloudOk() (*string, bool)
GetCloudOk returns a tuple with the Cloud field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetCpus ¶
func (o *ClusterOffer) GetCpus() int32
GetCpus returns the Cpus field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetCpusOk ¶
func (o *ClusterOffer) GetCpusOk() (*int32, bool)
GetCpusOk returns a tuple with the Cpus field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetDiskSize ¶
func (o *ClusterOffer) GetDiskSize() int32
GetDiskSize returns the DiskSize field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetDiskSizeOk ¶
func (o *ClusterOffer) GetDiskSizeOk() (*int32, bool)
GetDiskSizeOk returns a tuple with the DiskSize field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetDiskTier ¶
func (o *ClusterOffer) GetDiskTier() string
GetDiskTier returns the DiskTier field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetDiskTierOk ¶
func (o *ClusterOffer) GetDiskTierOk() (*string, bool)
GetDiskTierOk returns a tuple with the DiskTier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetImageId ¶
func (o *ClusterOffer) GetImageId() interface{}
GetImageId returns the ImageId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetImageIdOk ¶
func (o *ClusterOffer) GetImageIdOk() (*interface{}, bool)
GetImageIdOk returns a tuple with the ImageId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetInstanceType ¶
func (o *ClusterOffer) GetInstanceType() string
GetInstanceType returns the InstanceType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetInstanceTypeOk ¶
func (o *ClusterOffer) GetInstanceTypeOk() (*string, bool)
GetInstanceTypeOk returns a tuple with the InstanceType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetJobRecovery ¶
func (o *ClusterOffer) GetJobRecovery() string
GetJobRecovery returns the JobRecovery field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetJobRecoveryOk ¶
func (o *ClusterOffer) GetJobRecoveryOk() (*string, bool)
GetJobRecoveryOk returns a tuple with the JobRecovery field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetLabels ¶
func (o *ClusterOffer) GetLabels() interface{}
GetLabels returns the Labels field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetLabelsOk ¶
func (o *ClusterOffer) GetLabelsOk() (*interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetMemory ¶
func (o *ClusterOffer) GetMemory() int32
GetMemory returns the Memory field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetMemoryOk ¶
func (o *ClusterOffer) GetMemoryOk() (*int32, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetPorts ¶
func (o *ClusterOffer) GetPorts() interface{}
GetPorts returns the Ports field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetPortsOk ¶
func (o *ClusterOffer) GetPortsOk() (*interface{}, bool)
GetPortsOk returns a tuple with the Ports field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetPrice ¶
func (o *ClusterOffer) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetPriceOk ¶
func (o *ClusterOffer) GetPriceOk() (*float64, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetRegion ¶
func (o *ClusterOffer) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetRegionOk ¶
func (o *ClusterOffer) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetRegions ¶
func (o *ClusterOffer) GetRegions() interface{}
GetRegions returns the Regions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetRegionsOk ¶
func (o *ClusterOffer) GetRegionsOk() (*interface{}, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetStorage ¶
func (o *ClusterOffer) GetStorage() string
GetStorage returns the Storage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetStorageOk ¶
func (o *ClusterOffer) GetStorageOk() (*string, bool)
GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetUseSpot ¶
func (o *ClusterOffer) GetUseSpot() bool
GetUseSpot returns the UseSpot field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetUseSpotOk ¶
func (o *ClusterOffer) GetUseSpotOk() (*bool, bool)
GetUseSpotOk returns a tuple with the UseSpot field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) GetZone ¶
func (o *ClusterOffer) GetZone() string
GetZone returns the Zone field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterOffer) GetZoneOk ¶
func (o *ClusterOffer) GetZoneOk() (*string, bool)
GetZoneOk returns a tuple with the Zone field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterOffer) HasAcceleratorArgs ¶
func (o *ClusterOffer) HasAcceleratorArgs() bool
HasAcceleratorArgs returns a boolean if a field has been set.
func (*ClusterOffer) HasAcceleratorCount ¶
func (o *ClusterOffer) HasAcceleratorCount() bool
HasAcceleratorCount returns a boolean if a field has been set.
func (*ClusterOffer) HasAccelerators ¶
func (o *ClusterOffer) HasAccelerators() bool
HasAccelerators returns a boolean if a field has been set.
func (*ClusterOffer) HasCloud ¶
func (o *ClusterOffer) HasCloud() bool
HasCloud returns a boolean if a field has been set.
func (*ClusterOffer) HasCpus ¶
func (o *ClusterOffer) HasCpus() bool
HasCpus returns a boolean if a field has been set.
func (*ClusterOffer) HasDiskSize ¶
func (o *ClusterOffer) HasDiskSize() bool
HasDiskSize returns a boolean if a field has been set.
func (*ClusterOffer) HasDiskTier ¶
func (o *ClusterOffer) HasDiskTier() bool
HasDiskTier returns a boolean if a field has been set.
func (*ClusterOffer) HasImageId ¶
func (o *ClusterOffer) HasImageId() bool
HasImageId returns a boolean if a field has been set.
func (*ClusterOffer) HasInstanceType ¶
func (o *ClusterOffer) HasInstanceType() bool
HasInstanceType returns a boolean if a field has been set.
func (*ClusterOffer) HasJobRecovery ¶
func (o *ClusterOffer) HasJobRecovery() bool
HasJobRecovery returns a boolean if a field has been set.
func (*ClusterOffer) HasLabels ¶
func (o *ClusterOffer) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*ClusterOffer) HasMemory ¶
func (o *ClusterOffer) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (*ClusterOffer) HasPorts ¶
func (o *ClusterOffer) HasPorts() bool
HasPorts returns a boolean if a field has been set.
func (*ClusterOffer) HasPrice ¶
func (o *ClusterOffer) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ClusterOffer) HasRegion ¶
func (o *ClusterOffer) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*ClusterOffer) HasRegions ¶
func (o *ClusterOffer) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (*ClusterOffer) HasStorage ¶
func (o *ClusterOffer) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (*ClusterOffer) HasUseSpot ¶
func (o *ClusterOffer) HasUseSpot() bool
HasUseSpot returns a boolean if a field has been set.
func (*ClusterOffer) HasZone ¶
func (o *ClusterOffer) HasZone() bool
HasZone returns a boolean if a field has been set.
func (ClusterOffer) MarshalJSON ¶
func (o ClusterOffer) MarshalJSON() ([]byte, error)
func (*ClusterOffer) SetAcceleratorArgs ¶
func (o *ClusterOffer) SetAcceleratorArgs(v interface{})
SetAcceleratorArgs gets a reference to the given interface{} and assigns it to the AcceleratorArgs field.
func (*ClusterOffer) SetAcceleratorCount ¶
func (o *ClusterOffer) SetAcceleratorCount(v interface{})
SetAcceleratorCount gets a reference to the given interface{} and assigns it to the AcceleratorCount field.
func (*ClusterOffer) SetAccelerators ¶
func (o *ClusterOffer) SetAccelerators(v interface{})
SetAccelerators gets a reference to the given interface{} and assigns it to the Accelerators field.
func (*ClusterOffer) SetCloud ¶
func (o *ClusterOffer) SetCloud(v string)
SetCloud gets a reference to the given NullableString and assigns it to the Cloud field.
func (*ClusterOffer) SetCloudNil ¶
func (o *ClusterOffer) SetCloudNil()
SetCloudNil sets the value for Cloud to be an explicit nil
func (*ClusterOffer) SetCpus ¶
func (o *ClusterOffer) SetCpus(v int32)
SetCpus gets a reference to the given NullableInt32 and assigns it to the Cpus field.
func (*ClusterOffer) SetCpusNil ¶
func (o *ClusterOffer) SetCpusNil()
SetCpusNil sets the value for Cpus to be an explicit nil
func (*ClusterOffer) SetDiskSize ¶
func (o *ClusterOffer) SetDiskSize(v int32)
SetDiskSize gets a reference to the given NullableInt32 and assigns it to the DiskSize field.
func (*ClusterOffer) SetDiskSizeNil ¶
func (o *ClusterOffer) SetDiskSizeNil()
SetDiskSizeNil sets the value for DiskSize to be an explicit nil
func (*ClusterOffer) SetDiskTier ¶
func (o *ClusterOffer) SetDiskTier(v string)
SetDiskTier gets a reference to the given NullableString and assigns it to the DiskTier field.
func (*ClusterOffer) SetDiskTierNil ¶
func (o *ClusterOffer) SetDiskTierNil()
SetDiskTierNil sets the value for DiskTier to be an explicit nil
func (*ClusterOffer) SetImageId ¶
func (o *ClusterOffer) SetImageId(v interface{})
SetImageId gets a reference to the given interface{} and assigns it to the ImageId field.
func (*ClusterOffer) SetInstanceType ¶
func (o *ClusterOffer) SetInstanceType(v string)
SetInstanceType gets a reference to the given NullableString and assigns it to the InstanceType field.
func (*ClusterOffer) SetInstanceTypeNil ¶
func (o *ClusterOffer) SetInstanceTypeNil()
SetInstanceTypeNil sets the value for InstanceType to be an explicit nil
func (*ClusterOffer) SetJobRecovery ¶
func (o *ClusterOffer) SetJobRecovery(v string)
SetJobRecovery gets a reference to the given NullableString and assigns it to the JobRecovery field.
func (*ClusterOffer) SetJobRecoveryNil ¶
func (o *ClusterOffer) SetJobRecoveryNil()
SetJobRecoveryNil sets the value for JobRecovery to be an explicit nil
func (*ClusterOffer) SetLabels ¶
func (o *ClusterOffer) SetLabels(v interface{})
SetLabels gets a reference to the given interface{} and assigns it to the Labels field.
func (*ClusterOffer) SetMemory ¶
func (o *ClusterOffer) SetMemory(v int32)
SetMemory gets a reference to the given NullableInt32 and assigns it to the Memory field.
func (*ClusterOffer) SetMemoryNil ¶
func (o *ClusterOffer) SetMemoryNil()
SetMemoryNil sets the value for Memory to be an explicit nil
func (*ClusterOffer) SetPorts ¶
func (o *ClusterOffer) SetPorts(v interface{})
SetPorts gets a reference to the given interface{} and assigns it to the Ports field.
func (*ClusterOffer) SetPrice ¶
func (o *ClusterOffer) SetPrice(v float64)
SetPrice gets a reference to the given NullableFloat64 and assigns it to the Price field.
func (*ClusterOffer) SetPriceNil ¶
func (o *ClusterOffer) SetPriceNil()
SetPriceNil sets the value for Price to be an explicit nil
func (*ClusterOffer) SetRegion ¶
func (o *ClusterOffer) SetRegion(v string)
SetRegion gets a reference to the given NullableString and assigns it to the Region field.
func (*ClusterOffer) SetRegionNil ¶
func (o *ClusterOffer) SetRegionNil()
SetRegionNil sets the value for Region to be an explicit nil
func (*ClusterOffer) SetRegions ¶
func (o *ClusterOffer) SetRegions(v interface{})
SetRegions gets a reference to the given interface{} and assigns it to the Regions field.
func (*ClusterOffer) SetStorage ¶
func (o *ClusterOffer) SetStorage(v string)
SetStorage gets a reference to the given NullableString and assigns it to the Storage field.
func (*ClusterOffer) SetStorageNil ¶
func (o *ClusterOffer) SetStorageNil()
SetStorageNil sets the value for Storage to be an explicit nil
func (*ClusterOffer) SetUseSpot ¶
func (o *ClusterOffer) SetUseSpot(v bool)
SetUseSpot gets a reference to the given NullableBool and assigns it to the UseSpot field.
func (*ClusterOffer) SetUseSpotNil ¶
func (o *ClusterOffer) SetUseSpotNil()
SetUseSpotNil sets the value for UseSpot to be an explicit nil
func (*ClusterOffer) SetZone ¶
func (o *ClusterOffer) SetZone(v string)
SetZone gets a reference to the given NullableString and assigns it to the Zone field.
func (*ClusterOffer) SetZoneNil ¶
func (o *ClusterOffer) SetZoneNil()
SetZoneNil sets the value for Zone to be an explicit nil
func (ClusterOffer) ToMap ¶ added in v0.0.5
func (o ClusterOffer) ToMap() (map[string]interface{}, error)
func (*ClusterOffer) UnsetCloud ¶
func (o *ClusterOffer) UnsetCloud()
UnsetCloud ensures that no value is present for Cloud, not even an explicit nil
func (*ClusterOffer) UnsetCpus ¶
func (o *ClusterOffer) UnsetCpus()
UnsetCpus ensures that no value is present for Cpus, not even an explicit nil
func (*ClusterOffer) UnsetDiskSize ¶
func (o *ClusterOffer) UnsetDiskSize()
UnsetDiskSize ensures that no value is present for DiskSize, not even an explicit nil
func (*ClusterOffer) UnsetDiskTier ¶
func (o *ClusterOffer) UnsetDiskTier()
UnsetDiskTier ensures that no value is present for DiskTier, not even an explicit nil
func (*ClusterOffer) UnsetInstanceType ¶
func (o *ClusterOffer) UnsetInstanceType()
UnsetInstanceType ensures that no value is present for InstanceType, not even an explicit nil
func (*ClusterOffer) UnsetJobRecovery ¶
func (o *ClusterOffer) UnsetJobRecovery()
UnsetJobRecovery ensures that no value is present for JobRecovery, not even an explicit nil
func (*ClusterOffer) UnsetMemory ¶
func (o *ClusterOffer) UnsetMemory()
UnsetMemory ensures that no value is present for Memory, not even an explicit nil
func (*ClusterOffer) UnsetPrice ¶
func (o *ClusterOffer) UnsetPrice()
UnsetPrice ensures that no value is present for Price, not even an explicit nil
func (*ClusterOffer) UnsetRegion ¶
func (o *ClusterOffer) UnsetRegion()
UnsetRegion ensures that no value is present for Region, not even an explicit nil
func (*ClusterOffer) UnsetStorage ¶
func (o *ClusterOffer) UnsetStorage()
UnsetStorage ensures that no value is present for Storage, not even an explicit nil
func (*ClusterOffer) UnsetUseSpot ¶
func (o *ClusterOffer) UnsetUseSpot()
UnsetUseSpot ensures that no value is present for UseSpot, not even an explicit nil
func (*ClusterOffer) UnsetZone ¶
func (o *ClusterOffer) UnsetZone()
UnsetZone ensures that no value is present for Zone, not even an explicit nil
type ClusterPostRequest ¶ added in v0.0.8
type ClusterPostRequest struct { Choice ClusterOffer `json:"choice"` Config ConstrainRequest `json:"config"` Project Project `json:"project"` }
ClusterPostRequest Clister post request serializer.
func NewClusterPostRequest ¶ added in v0.0.8
func NewClusterPostRequest(choice ClusterOffer, config ConstrainRequest, project Project) *ClusterPostRequest
NewClusterPostRequest instantiates a new ClusterPostRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterPostRequestWithDefaults ¶ added in v0.0.8
func NewClusterPostRequestWithDefaults() *ClusterPostRequest
NewClusterPostRequestWithDefaults instantiates a new ClusterPostRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterPostRequest) GetChoice ¶ added in v0.0.8
func (o *ClusterPostRequest) GetChoice() ClusterOffer
GetChoice returns the Choice field value
func (*ClusterPostRequest) GetChoiceOk ¶ added in v0.0.8
func (o *ClusterPostRequest) GetChoiceOk() (*ClusterOffer, bool)
GetChoiceOk returns a tuple with the Choice field value and a boolean to check if the value has been set.
func (*ClusterPostRequest) GetConfig ¶ added in v0.0.8
func (o *ClusterPostRequest) GetConfig() ConstrainRequest
GetConfig returns the Config field value
func (*ClusterPostRequest) GetConfigOk ¶ added in v0.0.8
func (o *ClusterPostRequest) GetConfigOk() (*ConstrainRequest, bool)
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (*ClusterPostRequest) GetProject ¶ added in v0.0.8
func (o *ClusterPostRequest) GetProject() Project
GetProject returns the Project field value
func (*ClusterPostRequest) GetProjectOk ¶ added in v0.0.8
func (o *ClusterPostRequest) GetProjectOk() (*Project, bool)
GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.
func (ClusterPostRequest) MarshalJSON ¶ added in v0.0.8
func (o ClusterPostRequest) MarshalJSON() ([]byte, error)
func (*ClusterPostRequest) SetChoice ¶ added in v0.0.8
func (o *ClusterPostRequest) SetChoice(v ClusterOffer)
SetChoice sets field value
func (*ClusterPostRequest) SetConfig ¶ added in v0.0.8
func (o *ClusterPostRequest) SetConfig(v ConstrainRequest)
SetConfig sets field value
func (*ClusterPostRequest) SetProject ¶ added in v0.0.8
func (o *ClusterPostRequest) SetProject(v Project)
SetProject sets field value
func (ClusterPostRequest) ToMap ¶ added in v0.0.8
func (o ClusterPostRequest) ToMap() (map[string]interface{}, error)
func (*ClusterPostRequest) UnmarshalJSON ¶ added in v0.0.8
func (o *ClusterPostRequest) UnmarshalJSON(data []byte) (err error)
type ClusterPostResponse ¶ added in v0.0.8
type ClusterPostResponse struct {
ProvisionLogId string `json:"provision_log_id"`
}
ClusterPostResponse struct for ClusterPostResponse
func NewClusterPostResponse ¶ added in v0.0.8
func NewClusterPostResponse(provisionLogId string) *ClusterPostResponse
NewClusterPostResponse instantiates a new ClusterPostResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterPostResponseWithDefaults ¶ added in v0.0.8
func NewClusterPostResponseWithDefaults() *ClusterPostResponse
NewClusterPostResponseWithDefaults instantiates a new ClusterPostResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterPostResponse) GetProvisionLogId ¶ added in v0.0.8
func (o *ClusterPostResponse) GetProvisionLogId() string
GetProvisionLogId returns the ProvisionLogId field value
func (*ClusterPostResponse) GetProvisionLogIdOk ¶ added in v0.0.8
func (o *ClusterPostResponse) GetProvisionLogIdOk() (*string, bool)
GetProvisionLogIdOk returns a tuple with the ProvisionLogId field value and a boolean to check if the value has been set.
func (ClusterPostResponse) MarshalJSON ¶ added in v0.0.8
func (o ClusterPostResponse) MarshalJSON() ([]byte, error)
func (*ClusterPostResponse) SetProvisionLogId ¶ added in v0.0.8
func (o *ClusterPostResponse) SetProvisionLogId(v string)
SetProvisionLogId sets field value
func (ClusterPostResponse) ToMap ¶ added in v0.0.8
func (o ClusterPostResponse) ToMap() (map[string]interface{}, error)
func (*ClusterPostResponse) UnmarshalJSON ¶ added in v0.0.8
func (o *ClusterPostResponse) UnmarshalJSON(data []byte) (err error)
type ClusterStatusEnum ¶
type ClusterStatusEnum string
ClusterStatusEnum * `INIT` - INIT * `UP` - UP * `STOPPED` - STOPPED * `ERROR` - ERROR
const ( INIT ClusterStatusEnum = "INIT" UP ClusterStatusEnum = "UP" STOPPED ClusterStatusEnum = "STOPPED" ERROR ClusterStatusEnum = "ERROR" )
List of ClusterStatusEnum
func NewClusterStatusEnumFromValue ¶
func NewClusterStatusEnumFromValue(v string) (*ClusterStatusEnum, error)
NewClusterStatusEnumFromValue returns a pointer to a valid ClusterStatusEnum for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ClusterStatusEnum) IsValid ¶
func (v ClusterStatusEnum) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ClusterStatusEnum) Ptr ¶
func (v ClusterStatusEnum) Ptr() *ClusterStatusEnum
Ptr returns reference to ClusterStatusEnum value
func (*ClusterStatusEnum) UnmarshalJSON ¶
func (v *ClusterStatusEnum) UnmarshalJSON(src []byte) error
type ClusterStatusResponse ¶ added in v0.0.6
type ClusterStatusResponse struct { ClusterName string `json:"cluster_name"` Status string `json:"status"` }
ClusterStatusResponse Cluster status response serializer.
func NewClusterStatusResponse ¶ added in v0.0.6
func NewClusterStatusResponse(clusterName string, status string) *ClusterStatusResponse
NewClusterStatusResponse instantiates a new ClusterStatusResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterStatusResponseWithDefaults ¶ added in v0.0.6
func NewClusterStatusResponseWithDefaults() *ClusterStatusResponse
NewClusterStatusResponseWithDefaults instantiates a new ClusterStatusResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterStatusResponse) GetClusterName ¶ added in v0.0.6
func (o *ClusterStatusResponse) GetClusterName() string
GetClusterName returns the ClusterName field value
func (*ClusterStatusResponse) GetClusterNameOk ¶ added in v0.0.6
func (o *ClusterStatusResponse) GetClusterNameOk() (*string, bool)
GetClusterNameOk returns a tuple with the ClusterName field value and a boolean to check if the value has been set.
func (*ClusterStatusResponse) GetStatus ¶ added in v0.0.6
func (o *ClusterStatusResponse) GetStatus() string
GetStatus returns the Status field value
func (*ClusterStatusResponse) GetStatusOk ¶ added in v0.0.6
func (o *ClusterStatusResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (ClusterStatusResponse) MarshalJSON ¶ added in v0.0.6
func (o ClusterStatusResponse) MarshalJSON() ([]byte, error)
func (*ClusterStatusResponse) SetClusterName ¶ added in v0.0.6
func (o *ClusterStatusResponse) SetClusterName(v string)
SetClusterName sets field value
func (*ClusterStatusResponse) SetStatus ¶ added in v0.0.6
func (o *ClusterStatusResponse) SetStatus(v string)
SetStatus sets field value
func (ClusterStatusResponse) ToMap ¶ added in v0.0.6
func (o ClusterStatusResponse) ToMap() (map[string]interface{}, error)
func (*ClusterStatusResponse) UnmarshalJSON ¶ added in v0.0.6
func (o *ClusterStatusResponse) UnmarshalJSON(data []byte) (err error)
type ClustersAPIService ¶ added in v0.0.6
type ClustersAPIService service
ClustersAPIService ClustersAPI service
func (*ClustersAPIService) ClusterActionCreate ¶ added in v0.0.8
func (a *ClustersAPIService) ClusterActionCreate(ctx context.Context, action string, clusterName string) ApiClusterActionCreateRequest
ClusterActionCreate Method for ClusterActionCreate
Perform an action (start, stop, pause, resume) on a Cluster.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param action @param clusterName @return ApiClusterActionCreateRequest
func (*ClustersAPIService) ClusterActionCreateExecute ¶ added in v0.0.8
func (a *ClustersAPIService) ClusterActionCreateExecute(r ApiClusterActionCreateRequest) (*ClusterActionResponse, *http.Response, error)
Execute executes the request
@return ClusterActionResponse
func (*ClustersAPIService) ClustersCreate ¶ added in v0.0.6
func (a *ClustersAPIService) ClustersCreate(ctx context.Context) ApiClustersCreateRequest
ClustersCreate Method for ClustersCreate
Launch a cluster configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiClustersCreateRequest
func (*ClustersAPIService) ClustersCreateExecute ¶ added in v0.0.6
func (a *ClustersAPIService) ClustersCreateExecute(r ApiClustersCreateRequest) (*ClusterPostResponse, *http.Response, error)
Execute executes the request
@return ClusterPostResponse
func (*ClustersAPIService) ClustersRetrieve ¶ added in v0.0.6
func (a *ClustersAPIService) ClustersRetrieve(ctx context.Context) ApiClustersRetrieveRequest
ClustersRetrieve Method for ClustersRetrieve
Retrieve a list of all Clusters for the whole organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiClustersRetrieveRequest
func (*ClustersAPIService) ClustersRetrieveExecute ¶ added in v0.0.6
func (a *ClustersAPIService) ClustersRetrieveExecute(r ApiClustersRetrieveRequest) (*ClusterListResponse, *http.Response, error)
Execute executes the request
@return ClusterListResponse
func (*ClustersAPIService) ClustersStatusRetrieve ¶ added in v0.0.6
func (a *ClustersAPIService) ClustersStatusRetrieve(ctx context.Context, clusterName string) ApiClustersStatusRetrieveRequest
ClustersStatusRetrieve Method for ClustersStatusRetrieve
Retrieve the current status of a Cluster.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterName @return ApiClustersStatusRetrieveRequest
func (*ClustersAPIService) ClustersStatusRetrieveExecute ¶ added in v0.0.6
func (a *ClustersAPIService) ClustersStatusRetrieveExecute(r ApiClustersStatusRetrieveRequest) (*ClusterStatusResponse, *http.Response, error)
Execute executes the request
@return ClusterStatusResponse
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConstrainRequest ¶
type ConstrainRequest struct { Project Project `json:"project"` Setup NullableScript `json:"setup,omitempty"` Run NullableScript `json:"run,omitempty"` Teardown NullableScript `json:"teardown,omitempty"` Resources Resources `json:"resources"` JobConfig NullableJobConfig `json:"job_config"` Io NullableIO `json:"io"` Flags map[string]interface{} `json:"flags,omitempty"` }
ConstrainRequest Configuration serializer for cluster constraints. Validates the full configuration schema including project details, scripts, resource requirements, and IO specifications.
func NewConstrainRequest ¶
func NewConstrainRequest(project Project, resources Resources, jobConfig NullableJobConfig, io NullableIO) *ConstrainRequest
NewConstrainRequest instantiates a new ConstrainRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConstrainRequestWithDefaults ¶
func NewConstrainRequestWithDefaults() *ConstrainRequest
NewConstrainRequestWithDefaults instantiates a new ConstrainRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConstrainRequest) GetFlags ¶ added in v0.0.12
func (o *ConstrainRequest) GetFlags() map[string]interface{}
GetFlags returns the Flags field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConstrainRequest) GetFlagsOk ¶ added in v0.0.12
func (o *ConstrainRequest) GetFlagsOk() (map[string]interface{}, bool)
GetFlagsOk returns a tuple with the Flags field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ConstrainRequest) GetIo ¶
func (o *ConstrainRequest) GetIo() IO
GetIo returns the Io field value If the value is explicit nil, the zero value for IO will be returned
func (*ConstrainRequest) GetIoOk ¶
func (o *ConstrainRequest) GetIoOk() (*IO, bool)
GetIoOk returns a tuple with the Io field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ConstrainRequest) GetJobConfig ¶ added in v0.0.10
func (o *ConstrainRequest) GetJobConfig() JobConfig
GetJobConfig returns the JobConfig field value If the value is explicit nil, the zero value for JobConfig will be returned
func (*ConstrainRequest) GetJobConfigOk ¶ added in v0.0.10
func (o *ConstrainRequest) GetJobConfigOk() (*JobConfig, bool)
GetJobConfigOk returns a tuple with the JobConfig field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ConstrainRequest) GetProject ¶
func (o *ConstrainRequest) GetProject() Project
GetProject returns the Project field value
func (*ConstrainRequest) GetProjectOk ¶
func (o *ConstrainRequest) GetProjectOk() (*Project, bool)
GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.
func (*ConstrainRequest) GetResources ¶
func (o *ConstrainRequest) GetResources() Resources
GetResources returns the Resources field value
func (*ConstrainRequest) GetResourcesOk ¶
func (o *ConstrainRequest) GetResourcesOk() (*Resources, bool)
GetResourcesOk returns a tuple with the Resources field value and a boolean to check if the value has been set.
func (*ConstrainRequest) GetRun ¶
func (o *ConstrainRequest) GetRun() Script
GetRun returns the Run field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConstrainRequest) GetRunOk ¶
func (o *ConstrainRequest) GetRunOk() (*Script, bool)
GetRunOk returns a tuple with the Run field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ConstrainRequest) GetSetup ¶
func (o *ConstrainRequest) GetSetup() Script
GetSetup returns the Setup field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConstrainRequest) GetSetupOk ¶
func (o *ConstrainRequest) GetSetupOk() (*Script, bool)
GetSetupOk returns a tuple with the Setup field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ConstrainRequest) GetTeardown ¶
func (o *ConstrainRequest) GetTeardown() Script
GetTeardown returns the Teardown field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConstrainRequest) GetTeardownOk ¶
func (o *ConstrainRequest) GetTeardownOk() (*Script, bool)
GetTeardownOk returns a tuple with the Teardown field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ConstrainRequest) HasFlags ¶ added in v0.0.13
func (o *ConstrainRequest) HasFlags() bool
HasFlags returns a boolean if a field has been set.
func (*ConstrainRequest) HasRun ¶
func (o *ConstrainRequest) HasRun() bool
HasRun returns a boolean if a field has been set.
func (*ConstrainRequest) HasSetup ¶
func (o *ConstrainRequest) HasSetup() bool
HasSetup returns a boolean if a field has been set.
func (*ConstrainRequest) HasTeardown ¶
func (o *ConstrainRequest) HasTeardown() bool
HasTeardown returns a boolean if a field has been set.
func (ConstrainRequest) MarshalJSON ¶
func (o ConstrainRequest) MarshalJSON() ([]byte, error)
func (*ConstrainRequest) SetFlags ¶ added in v0.0.12
func (o *ConstrainRequest) SetFlags(v map[string]interface{})
SetFlags gets a reference to the given map[string]interface{} and assigns it to the Flags field.
func (*ConstrainRequest) SetJobConfig ¶ added in v0.0.10
func (o *ConstrainRequest) SetJobConfig(v JobConfig)
SetJobConfig sets field value
func (*ConstrainRequest) SetProject ¶
func (o *ConstrainRequest) SetProject(v Project)
SetProject sets field value
func (*ConstrainRequest) SetResources ¶
func (o *ConstrainRequest) SetResources(v Resources)
SetResources sets field value
func (*ConstrainRequest) SetRun ¶
func (o *ConstrainRequest) SetRun(v Script)
SetRun gets a reference to the given NullableScript and assigns it to the Run field.
func (*ConstrainRequest) SetRunNil ¶ added in v0.0.5
func (o *ConstrainRequest) SetRunNil()
SetRunNil sets the value for Run to be an explicit nil
func (*ConstrainRequest) SetSetup ¶
func (o *ConstrainRequest) SetSetup(v Script)
SetSetup gets a reference to the given NullableScript and assigns it to the Setup field.
func (*ConstrainRequest) SetSetupNil ¶ added in v0.0.5
func (o *ConstrainRequest) SetSetupNil()
SetSetupNil sets the value for Setup to be an explicit nil
func (*ConstrainRequest) SetTeardown ¶
func (o *ConstrainRequest) SetTeardown(v Script)
SetTeardown gets a reference to the given NullableScript and assigns it to the Teardown field.
func (*ConstrainRequest) SetTeardownNil ¶ added in v0.0.5
func (o *ConstrainRequest) SetTeardownNil()
SetTeardownNil sets the value for Teardown to be an explicit nil
func (ConstrainRequest) ToMap ¶ added in v0.0.5
func (o ConstrainRequest) ToMap() (map[string]interface{}, error)
func (*ConstrainRequest) UnmarshalJSON ¶ added in v0.0.5
func (o *ConstrainRequest) UnmarshalJSON(data []byte) (err error)
func (*ConstrainRequest) UnsetRun ¶ added in v0.0.5
func (o *ConstrainRequest) UnsetRun()
UnsetRun ensures that no value is present for Run, not even an explicit nil
func (*ConstrainRequest) UnsetSetup ¶ added in v0.0.5
func (o *ConstrainRequest) UnsetSetup()
UnsetSetup ensures that no value is present for Setup, not even an explicit nil
func (*ConstrainRequest) UnsetTeardown ¶ added in v0.0.5
func (o *ConstrainRequest) UnsetTeardown()
UnsetTeardown ensures that no value is present for Teardown, not even an explicit nil
type ConstrainResponse ¶
type ConstrainResponse struct {
Choice []ClusterOffer `json:"choice"`
}
ConstrainResponse Serializer for cluster constraint response. Fields: choice (list): List of cluster offers matching the constraints
func NewConstrainResponse ¶
func NewConstrainResponse(choice []ClusterOffer) *ConstrainResponse
NewConstrainResponse instantiates a new ConstrainResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConstrainResponseWithDefaults ¶
func NewConstrainResponseWithDefaults() *ConstrainResponse
NewConstrainResponseWithDefaults instantiates a new ConstrainResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConstrainResponse) GetChoice ¶
func (o *ConstrainResponse) GetChoice() []ClusterOffer
GetChoice returns the Choice field value
func (*ConstrainResponse) GetChoiceOk ¶
func (o *ConstrainResponse) GetChoiceOk() ([]ClusterOffer, bool)
GetChoiceOk returns a tuple with the Choice field value and a boolean to check if the value has been set.
func (ConstrainResponse) MarshalJSON ¶
func (o ConstrainResponse) MarshalJSON() ([]byte, error)
func (*ConstrainResponse) SetChoice ¶
func (o *ConstrainResponse) SetChoice(v []ClusterOffer)
SetChoice sets field value
func (ConstrainResponse) ToMap ¶ added in v0.0.5
func (o ConstrainResponse) ToMap() (map[string]interface{}, error)
func (*ConstrainResponse) UnmarshalJSON ¶ added in v0.0.5
func (o *ConstrainResponse) UnmarshalJSON(data []byte) (err error)
type ConstraintsAPIService ¶ added in v0.0.5
type ConstraintsAPIService service
ConstraintsAPIService ConstraintsAPI service
func (*ConstraintsAPIService) ConstraintsCreate ¶ added in v0.0.5
func (a *ConstraintsAPIService) ConstraintsCreate(ctx context.Context) ApiConstraintsCreateRequest
ConstraintsCreate Method for ConstraintsCreate
Constrain clusters based on resource specification.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiConstraintsCreateRequest
func (*ConstraintsAPIService) ConstraintsCreateExecute ¶ added in v0.0.5
func (a *ConstraintsAPIService) ConstraintsCreateExecute(r ApiConstraintsCreateRequest) (*ConstrainResponse, *http.Response, error)
Execute executes the request
@return ConstrainResponse
func (*ConstraintsAPIService) ConstraintsPartialUpdate ¶ added in v0.0.5
func (a *ConstraintsAPIService) ConstraintsPartialUpdate(ctx context.Context) ApiConstraintsPartialUpdateRequest
ConstraintsPartialUpdate Method for ConstraintsPartialUpdate
Validate the configuration if the cluster is already running.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiConstraintsPartialUpdateRequest
func (*ConstraintsAPIService) ConstraintsPartialUpdateExecute ¶ added in v0.0.5
func (a *ConstraintsAPIService) ConstraintsPartialUpdateExecute(r ApiConstraintsPartialUpdateRequest) (*ConstrainRequest, *http.Response, error)
Execute executes the request
@return ConstrainRequest
type DownloadAPIService ¶ added in v0.0.5
type DownloadAPIService service
DownloadAPIService DownloadAPI service
func (*DownloadAPIService) DownloadRetrieve ¶ added in v0.0.5
func (a *DownloadAPIService) DownloadRetrieve(ctx context.Context) ApiDownloadRetrieveRequest
DownloadRetrieve Method for DownloadRetrieve
Generate a signed download URL for the requested Wisp CLI binary.
Args:
request: The HTTP request object containing the binary name in query params.
Returns:
Response: Contains either the signed URL or an error message. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDownloadRetrieveRequest
func (*DownloadAPIService) DownloadRetrieveExecute ¶ added in v0.0.5
func (a *DownloadAPIService) DownloadRetrieveExecute(r ApiDownloadRetrieveRequest) (*DownloadResponse, *http.Response, error)
Execute executes the request
@return DownloadResponse
type DownloadResponse ¶
DownloadResponse Download response serializer.
func NewDownloadResponse ¶
func NewDownloadResponse(url string, binary string) *DownloadResponse
NewDownloadResponse instantiates a new DownloadResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDownloadResponseWithDefaults ¶
func NewDownloadResponseWithDefaults() *DownloadResponse
NewDownloadResponseWithDefaults instantiates a new DownloadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DownloadResponse) GetBinary ¶
func (o *DownloadResponse) GetBinary() string
GetBinary returns the Binary field value
func (*DownloadResponse) GetBinaryOk ¶
func (o *DownloadResponse) GetBinaryOk() (*string, bool)
GetBinaryOk returns a tuple with the Binary field value and a boolean to check if the value has been set.
func (*DownloadResponse) GetUrl ¶
func (o *DownloadResponse) GetUrl() string
GetUrl returns the Url field value
func (*DownloadResponse) GetUrlOk ¶
func (o *DownloadResponse) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (DownloadResponse) MarshalJSON ¶
func (o DownloadResponse) MarshalJSON() ([]byte, error)
func (*DownloadResponse) SetBinary ¶
func (o *DownloadResponse) SetBinary(v string)
SetBinary sets field value
func (*DownloadResponse) SetUrl ¶
func (o *DownloadResponse) SetUrl(v string)
SetUrl sets field value
func (DownloadResponse) ToMap ¶ added in v0.0.5
func (o DownloadResponse) ToMap() (map[string]interface{}, error)
func (*DownloadResponse) UnmarshalJSON ¶ added in v0.0.5
func (o *DownloadResponse) UnmarshalJSON(data []byte) (err error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type IO ¶
type IO struct { Inputs NullableInputs `json:"inputs,omitempty"` Outputs NullableOutputs `json:"outputs,omitempty"` }
IO IO configuration serializer.
func NewIO ¶
func NewIO() *IO
NewIO instantiates a new IO object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIOWithDefaults ¶
func NewIOWithDefaults() *IO
NewIOWithDefaults instantiates a new IO object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IO) GetInputs ¶
GetInputs returns the Inputs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IO) GetInputsOk ¶
GetInputsOk returns a tuple with the Inputs field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IO) GetOutputs ¶
GetOutputs returns the Outputs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IO) GetOutputsOk ¶
GetOutputsOk returns a tuple with the Outputs field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*IO) HasOutputs ¶
HasOutputs returns a boolean if a field has been set.
func (IO) MarshalJSON ¶
func (*IO) SetInputs ¶
SetInputs gets a reference to the given NullableInputs and assigns it to the Inputs field.
func (*IO) SetInputsNil ¶ added in v0.0.5
func (o *IO) SetInputsNil()
SetInputsNil sets the value for Inputs to be an explicit nil
func (*IO) SetOutputs ¶
SetOutputs gets a reference to the given NullableOutputs and assigns it to the Outputs field.
func (*IO) SetOutputsNil ¶ added in v0.0.5
func (o *IO) SetOutputsNil()
SetOutputsNil sets the value for Outputs to be an explicit nil
func (*IO) UnsetInputs ¶ added in v0.0.5
func (o *IO) UnsetInputs()
UnsetInputs ensures that no value is present for Inputs, not even an explicit nil
func (*IO) UnsetOutputs ¶ added in v0.0.5
func (o *IO) UnsetOutputs()
UnsetOutputs ensures that no value is present for Outputs, not even an explicit nil
type Inputs ¶
type Inputs struct {
Buckets []Bucket `json:"buckets,omitempty"`
}
Inputs Inputs configuration serializer.
func NewInputs ¶
func NewInputs() *Inputs
NewInputs instantiates a new Inputs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInputsWithDefaults ¶
func NewInputsWithDefaults() *Inputs
NewInputsWithDefaults instantiates a new Inputs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Inputs) GetBuckets ¶
GetBuckets returns the Buckets field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Inputs) GetBucketsOk ¶
GetBucketsOk returns a tuple with the Buckets field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Inputs) HasBuckets ¶
HasBuckets returns a boolean if a field has been set.
func (Inputs) MarshalJSON ¶
func (*Inputs) SetBuckets ¶
SetBuckets gets a reference to the given []Bucket and assigns it to the Buckets field.
type Job ¶
type Job struct { Name string `json:"name"` JobId string `json:"job_id"` Configuration string `json:"configuration"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` StartedAt NullableTime `json:"started_at,omitempty"` FinishedAt NullableTime `json:"finished_at,omitempty"` Logs string `json:"logs"` Cluster NullableCluster `json:"cluster"` }
Job Job serializer.
func NewJob ¶
func NewJob(name string, jobId string, configuration string, createdAt time.Time, updatedAt time.Time, logs string, cluster NullableCluster) *Job
NewJob instantiates a new Job object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobWithDefaults ¶
func NewJobWithDefaults() *Job
NewJobWithDefaults instantiates a new Job object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Job) GetCluster ¶
GetCluster returns the Cluster field value If the value is explicit nil, the zero value for Cluster will be returned
func (*Job) GetClusterOk ¶
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Job) GetConfiguration ¶
GetConfiguration returns the Configuration field value
func (*Job) GetConfigurationOk ¶
GetConfigurationOk returns a tuple with the Configuration field value and a boolean to check if the value has been set.
func (*Job) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Job) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Job) GetFinishedAt ¶
GetFinishedAt returns the FinishedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Job) GetFinishedAtOk ¶
GetFinishedAtOk returns a tuple with the FinishedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Job) GetJobIdOk ¶
GetJobIdOk returns a tuple with the JobId field value and a boolean to check if the value has been set.
func (*Job) GetLogsOk ¶
GetLogsOk returns a tuple with the Logs field value and a boolean to check if the value has been set.
func (*Job) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Job) GetStartedAt ¶
GetStartedAt returns the StartedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Job) GetStartedAtOk ¶
GetStartedAtOk returns a tuple with the StartedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Job) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Job) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Job) HasFinishedAt ¶
HasFinishedAt returns a boolean if a field has been set.
func (*Job) HasStartedAt ¶
HasStartedAt returns a boolean if a field has been set.
func (Job) MarshalJSON ¶
func (*Job) SetConfiguration ¶
SetConfiguration sets field value
func (*Job) SetFinishedAt ¶
SetFinishedAt gets a reference to the given NullableTime and assigns it to the FinishedAt field.
func (*Job) SetFinishedAtNil ¶
func (o *Job) SetFinishedAtNil()
SetFinishedAtNil sets the value for FinishedAt to be an explicit nil
func (*Job) SetStartedAt ¶
SetStartedAt gets a reference to the given NullableTime and assigns it to the StartedAt field.
func (*Job) SetStartedAtNil ¶
func (o *Job) SetStartedAtNil()
SetStartedAtNil sets the value for StartedAt to be an explicit nil
func (*Job) UnmarshalJSON ¶ added in v0.0.5
func (*Job) UnsetFinishedAt ¶
func (o *Job) UnsetFinishedAt()
UnsetFinishedAt ensures that no value is present for FinishedAt, not even an explicit nil
func (*Job) UnsetStartedAt ¶
func (o *Job) UnsetStartedAt()
UnsetStartedAt ensures that no value is present for StartedAt, not even an explicit nil
type JobAPIService ¶ added in v0.0.7
type JobAPIService service
JobAPIService JobAPI service
func (*JobAPIService) CreateJobWithoutCluster ¶ added in v0.0.7
func (a *JobAPIService) CreateJobWithoutCluster(ctx context.Context) ApiCreateJobWithoutClusterRequest
CreateJobWithoutCluster Method for CreateJobWithoutCluster
Create a new job on the specified cluster.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateJobWithoutClusterRequest
func (*JobAPIService) CreateJobWithoutClusterExecute ¶ added in v0.0.7
func (a *JobAPIService) CreateJobWithoutClusterExecute(r ApiCreateJobWithoutClusterRequest) (*JobGetResponse, *http.Response, error)
Execute executes the request
@return JobGetResponse
type JobConfig ¶ added in v0.0.9
type JobConfig struct { Id int32 `json:"id"` Autostop AutoStop `json:"autostop"` Notifications NotificationConfig `json:"notifications"` }
JobConfig Config for the job. Not to be confused with the job itself.
func NewJobConfig ¶ added in v0.0.9
func NewJobConfig(id int32, autostop AutoStop, notifications NotificationConfig) *JobConfig
NewJobConfig instantiates a new JobConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobConfigWithDefaults ¶ added in v0.0.9
func NewJobConfigWithDefaults() *JobConfig
NewJobConfigWithDefaults instantiates a new JobConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobConfig) GetAutostop ¶ added in v0.0.9
GetAutostop returns the Autostop field value
func (*JobConfig) GetAutostopOk ¶ added in v0.0.9
GetAutostopOk returns a tuple with the Autostop field value and a boolean to check if the value has been set.
func (*JobConfig) GetIdOk ¶ added in v0.0.9
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*JobConfig) GetNotifications ¶ added in v0.0.9
func (o *JobConfig) GetNotifications() NotificationConfig
GetNotifications returns the Notifications field value
func (*JobConfig) GetNotificationsOk ¶ added in v0.0.9
func (o *JobConfig) GetNotificationsOk() (*NotificationConfig, bool)
GetNotificationsOk returns a tuple with the Notifications field value and a boolean to check if the value has been set.
func (JobConfig) MarshalJSON ¶ added in v0.0.9
func (*JobConfig) SetAutostop ¶ added in v0.0.9
SetAutostop sets field value
func (*JobConfig) SetNotifications ¶ added in v0.0.9
func (o *JobConfig) SetNotifications(v NotificationConfig)
SetNotifications sets field value
func (*JobConfig) UnmarshalJSON ¶ added in v0.0.9
type JobGetResponse ¶
type JobGetResponse struct { Job Job `json:"job"` LatestClusterLog NullableLatestClusterLog `json:"latest_cluster_log"` }
JobGetResponse Job get response serializer.
func NewJobGetResponse ¶
func NewJobGetResponse(job Job, latestClusterLog NullableLatestClusterLog) *JobGetResponse
NewJobGetResponse instantiates a new JobGetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobGetResponseWithDefaults ¶
func NewJobGetResponseWithDefaults() *JobGetResponse
NewJobGetResponseWithDefaults instantiates a new JobGetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobGetResponse) GetJob ¶
func (o *JobGetResponse) GetJob() Job
GetJob returns the Job field value
func (*JobGetResponse) GetJobOk ¶
func (o *JobGetResponse) GetJobOk() (*Job, bool)
GetJobOk returns a tuple with the Job field value and a boolean to check if the value has been set.
func (*JobGetResponse) GetLatestClusterLog ¶
func (o *JobGetResponse) GetLatestClusterLog() LatestClusterLog
GetLatestClusterLog returns the LatestClusterLog field value If the value is explicit nil, the zero value for LatestClusterLog will be returned
func (*JobGetResponse) GetLatestClusterLogOk ¶
func (o *JobGetResponse) GetLatestClusterLogOk() (*LatestClusterLog, bool)
GetLatestClusterLogOk returns a tuple with the LatestClusterLog field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (JobGetResponse) MarshalJSON ¶
func (o JobGetResponse) MarshalJSON() ([]byte, error)
func (*JobGetResponse) SetLatestClusterLog ¶
func (o *JobGetResponse) SetLatestClusterLog(v LatestClusterLog)
SetLatestClusterLog sets field value
func (JobGetResponse) ToMap ¶ added in v0.0.5
func (o JobGetResponse) ToMap() (map[string]interface{}, error)
func (*JobGetResponse) UnmarshalJSON ¶ added in v0.0.5
func (o *JobGetResponse) UnmarshalJSON(data []byte) (err error)
type JobListResponse ¶
type JobListResponse struct {
Jobs []Job `json:"jobs"`
}
JobListResponse Job list response serializer.
func NewJobListResponse ¶
func NewJobListResponse(jobs []Job) *JobListResponse
NewJobListResponse instantiates a new JobListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobListResponseWithDefaults ¶
func NewJobListResponseWithDefaults() *JobListResponse
NewJobListResponseWithDefaults instantiates a new JobListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobListResponse) GetJobs ¶
func (o *JobListResponse) GetJobs() []Job
GetJobs returns the Jobs field value
func (*JobListResponse) GetJobsOk ¶
func (o *JobListResponse) GetJobsOk() ([]Job, bool)
GetJobsOk returns a tuple with the Jobs field value and a boolean to check if the value has been set.
func (JobListResponse) MarshalJSON ¶
func (o JobListResponse) MarshalJSON() ([]byte, error)
func (*JobListResponse) SetJobs ¶
func (o *JobListResponse) SetJobs(v []Job)
SetJobs sets field value
func (JobListResponse) ToMap ¶ added in v0.0.5
func (o JobListResponse) ToMap() (map[string]interface{}, error)
func (*JobListResponse) UnmarshalJSON ¶ added in v0.0.5
func (o *JobListResponse) UnmarshalJSON(data []byte) (err error)
type JobPostRequest ¶
type JobPostRequest struct { Choice ClusterOffer `json:"choice"` Config ConstrainRequest `json:"config"` Project Project `json:"project"` }
JobPostRequest Job post request serializer.
func NewJobPostRequest ¶
func NewJobPostRequest(choice ClusterOffer, config ConstrainRequest, project Project) *JobPostRequest
NewJobPostRequest instantiates a new JobPostRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobPostRequestWithDefaults ¶
func NewJobPostRequestWithDefaults() *JobPostRequest
NewJobPostRequestWithDefaults instantiates a new JobPostRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobPostRequest) GetChoice ¶
func (o *JobPostRequest) GetChoice() ClusterOffer
GetChoice returns the Choice field value
func (*JobPostRequest) GetChoiceOk ¶
func (o *JobPostRequest) GetChoiceOk() (*ClusterOffer, bool)
GetChoiceOk returns a tuple with the Choice field value and a boolean to check if the value has been set.
func (*JobPostRequest) GetConfig ¶
func (o *JobPostRequest) GetConfig() ConstrainRequest
GetConfig returns the Config field value
func (*JobPostRequest) GetConfigOk ¶
func (o *JobPostRequest) GetConfigOk() (*ConstrainRequest, bool)
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (*JobPostRequest) GetProject ¶
func (o *JobPostRequest) GetProject() Project
GetProject returns the Project field value
func (*JobPostRequest) GetProjectOk ¶
func (o *JobPostRequest) GetProjectOk() (*Project, bool)
GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.
func (JobPostRequest) MarshalJSON ¶
func (o JobPostRequest) MarshalJSON() ([]byte, error)
func (*JobPostRequest) SetChoice ¶
func (o *JobPostRequest) SetChoice(v ClusterOffer)
SetChoice sets field value
func (*JobPostRequest) SetConfig ¶
func (o *JobPostRequest) SetConfig(v ConstrainRequest)
SetConfig sets field value
func (*JobPostRequest) SetProject ¶
func (o *JobPostRequest) SetProject(v Project)
SetProject sets field value
func (JobPostRequest) ToMap ¶ added in v0.0.5
func (o JobPostRequest) ToMap() (map[string]interface{}, error)
func (*JobPostRequest) UnmarshalJSON ¶ added in v0.0.5
func (o *JobPostRequest) UnmarshalJSON(data []byte) (err error)
type JobUpdateResponse ¶ added in v0.0.9
type JobUpdateResponse struct {
Message string `json:"message"`
}
JobUpdateResponse Job update response serializer.
func NewJobUpdateResponse ¶ added in v0.0.9
func NewJobUpdateResponse(message string) *JobUpdateResponse
NewJobUpdateResponse instantiates a new JobUpdateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobUpdateResponseWithDefaults ¶ added in v0.0.9
func NewJobUpdateResponseWithDefaults() *JobUpdateResponse
NewJobUpdateResponseWithDefaults instantiates a new JobUpdateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobUpdateResponse) GetMessage ¶ added in v0.0.9
func (o *JobUpdateResponse) GetMessage() string
GetMessage returns the Message field value
func (*JobUpdateResponse) GetMessageOk ¶ added in v0.0.9
func (o *JobUpdateResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (JobUpdateResponse) MarshalJSON ¶ added in v0.0.9
func (o JobUpdateResponse) MarshalJSON() ([]byte, error)
func (*JobUpdateResponse) SetMessage ¶ added in v0.0.9
func (o *JobUpdateResponse) SetMessage(v string)
SetMessage sets field value
func (JobUpdateResponse) ToMap ¶ added in v0.0.9
func (o JobUpdateResponse) ToMap() (map[string]interface{}, error)
func (*JobUpdateResponse) UnmarshalJSON ¶ added in v0.0.9
func (o *JobUpdateResponse) UnmarshalJSON(data []byte) (err error)
type JobsAPIService ¶ added in v0.0.5
type JobsAPIService service
JobsAPIService JobsAPI service
func (*JobsAPIService) JobsCreate ¶ added in v0.0.8
func (a *JobsAPIService) JobsCreate(ctx context.Context) ApiJobsCreateRequest
JobsCreate Method for JobsCreate
Create a new job on the specified cluster.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiJobsCreateRequest
func (*JobsAPIService) JobsCreateExecute ¶ added in v0.0.8
func (a *JobsAPIService) JobsCreateExecute(r ApiJobsCreateRequest) (*JobGetResponse, *http.Response, error)
Execute executes the request
@return JobGetResponse
func (*JobsAPIService) JobsDestroy ¶ added in v0.0.5
func (a *JobsAPIService) JobsDestroy(ctx context.Context, jobId string) ApiJobsDestroyRequest
JobsDestroy Method for JobsDestroy
Delete a job
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param jobId @return ApiJobsDestroyRequest
func (*JobsAPIService) JobsDestroyExecute ¶ added in v0.0.5
func (a *JobsAPIService) JobsDestroyExecute(r ApiJobsDestroyRequest) (*http.Response, error)
Execute executes the request
func (*JobsAPIService) JobsPartialUpdate ¶ added in v0.0.10
func (a *JobsAPIService) JobsPartialUpdate(ctx context.Context, jobId string) ApiJobsPartialUpdateRequest
JobsPartialUpdate Method for JobsPartialUpdate
Update job status with logs, exit code and finished time
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param jobId @return ApiJobsPartialUpdateRequest
func (*JobsAPIService) JobsPartialUpdateExecute ¶ added in v0.0.10
func (a *JobsAPIService) JobsPartialUpdateExecute(r ApiJobsPartialUpdateRequest) (*JobUpdateResponse, *http.Response, error)
Execute executes the request
@return JobUpdateResponse
func (*JobsAPIService) JobsRetrieve ¶ added in v0.0.5
func (a *JobsAPIService) JobsRetrieve(ctx context.Context, jobId string) ApiJobsRetrieveRequest
JobsRetrieve Method for JobsRetrieve
Get the job for the user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param jobId @return ApiJobsRetrieveRequest
func (*JobsAPIService) JobsRetrieveExecute ¶ added in v0.0.5
func (a *JobsAPIService) JobsRetrieveExecute(r ApiJobsRetrieveRequest) (*JobGetResponse, *http.Response, error)
Execute executes the request
@return JobGetResponse
type LatestClusterLog ¶
type LatestClusterLog struct { Timestamp time.Time `json:"timestamp"` Status LatestClusterLogStatusEnum `json:"status"` Message string `json:"message"` }
LatestClusterLog Latest cluster log serializer.
func NewLatestClusterLog ¶
func NewLatestClusterLog(timestamp time.Time, status LatestClusterLogStatusEnum, message string) *LatestClusterLog
NewLatestClusterLog instantiates a new LatestClusterLog object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLatestClusterLogWithDefaults ¶
func NewLatestClusterLogWithDefaults() *LatestClusterLog
NewLatestClusterLogWithDefaults instantiates a new LatestClusterLog object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LatestClusterLog) GetMessage ¶
func (o *LatestClusterLog) GetMessage() string
GetMessage returns the Message field value
func (*LatestClusterLog) GetMessageOk ¶
func (o *LatestClusterLog) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*LatestClusterLog) GetStatus ¶
func (o *LatestClusterLog) GetStatus() LatestClusterLogStatusEnum
GetStatus returns the Status field value
func (*LatestClusterLog) GetStatusOk ¶
func (o *LatestClusterLog) GetStatusOk() (*LatestClusterLogStatusEnum, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*LatestClusterLog) GetTimestamp ¶
func (o *LatestClusterLog) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value
func (*LatestClusterLog) GetTimestampOk ¶
func (o *LatestClusterLog) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.
func (LatestClusterLog) MarshalJSON ¶
func (o LatestClusterLog) MarshalJSON() ([]byte, error)
func (*LatestClusterLog) SetMessage ¶
func (o *LatestClusterLog) SetMessage(v string)
SetMessage sets field value
func (*LatestClusterLog) SetStatus ¶
func (o *LatestClusterLog) SetStatus(v LatestClusterLogStatusEnum)
SetStatus sets field value
func (*LatestClusterLog) SetTimestamp ¶
func (o *LatestClusterLog) SetTimestamp(v time.Time)
SetTimestamp sets field value
func (LatestClusterLog) ToMap ¶ added in v0.0.5
func (o LatestClusterLog) ToMap() (map[string]interface{}, error)
func (*LatestClusterLog) UnmarshalJSON ¶ added in v0.0.5
func (o *LatestClusterLog) UnmarshalJSON(data []byte) (err error)
type LatestClusterLogStatusEnum ¶
type LatestClusterLogStatusEnum string
LatestClusterLogStatusEnum * `UPDATING` - UPDATING * `DONE` - DONE * `CLUSTER_ERROR` - CLUSTER_ERROR
const ( UPDATING LatestClusterLogStatusEnum = "UPDATING" DONE LatestClusterLogStatusEnum = "DONE" CLUSTER_ERROR LatestClusterLogStatusEnum = "CLUSTER_ERROR" )
List of LatestClusterLogStatusEnum
func NewLatestClusterLogStatusEnumFromValue ¶
func NewLatestClusterLogStatusEnumFromValue(v string) (*LatestClusterLogStatusEnum, error)
NewLatestClusterLogStatusEnumFromValue returns a pointer to a valid LatestClusterLogStatusEnum for the value passed as argument, or an error if the value passed is not allowed by the enum
func (LatestClusterLogStatusEnum) IsValid ¶
func (v LatestClusterLogStatusEnum) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (LatestClusterLogStatusEnum) Ptr ¶
func (v LatestClusterLogStatusEnum) Ptr() *LatestClusterLogStatusEnum
Ptr returns reference to LatestClusterLogStatusEnum value
func (*LatestClusterLogStatusEnum) UnmarshalJSON ¶
func (v *LatestClusterLogStatusEnum) UnmarshalJSON(src []byte) error
type MappedNullable ¶ added in v0.0.5
type NotificationConfig ¶ added in v0.0.9
type NotificationConfig struct { Id int32 `json:"id"` EmailOnSuccess *bool `json:"email_on_success,omitempty"` EmailOnFailure *bool `json:"email_on_failure,omitempty"` EmailRecipient *string `json:"email_recipient,omitempty"` }
NotificationConfig struct for NotificationConfig
func NewNotificationConfig ¶ added in v0.0.9
func NewNotificationConfig(id int32) *NotificationConfig
NewNotificationConfig instantiates a new NotificationConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNotificationConfigWithDefaults ¶ added in v0.0.9
func NewNotificationConfigWithDefaults() *NotificationConfig
NewNotificationConfigWithDefaults instantiates a new NotificationConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NotificationConfig) GetEmailOnFailure ¶ added in v0.0.9
func (o *NotificationConfig) GetEmailOnFailure() bool
GetEmailOnFailure returns the EmailOnFailure field value if set, zero value otherwise.
func (*NotificationConfig) GetEmailOnFailureOk ¶ added in v0.0.9
func (o *NotificationConfig) GetEmailOnFailureOk() (*bool, bool)
GetEmailOnFailureOk returns a tuple with the EmailOnFailure field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotificationConfig) GetEmailOnSuccess ¶ added in v0.0.9
func (o *NotificationConfig) GetEmailOnSuccess() bool
GetEmailOnSuccess returns the EmailOnSuccess field value if set, zero value otherwise.
func (*NotificationConfig) GetEmailOnSuccessOk ¶ added in v0.0.9
func (o *NotificationConfig) GetEmailOnSuccessOk() (*bool, bool)
GetEmailOnSuccessOk returns a tuple with the EmailOnSuccess field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotificationConfig) GetEmailRecipient ¶ added in v0.0.9
func (o *NotificationConfig) GetEmailRecipient() string
GetEmailRecipient returns the EmailRecipient field value if set, zero value otherwise.
func (*NotificationConfig) GetEmailRecipientOk ¶ added in v0.0.9
func (o *NotificationConfig) GetEmailRecipientOk() (*string, bool)
GetEmailRecipientOk returns a tuple with the EmailRecipient field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotificationConfig) GetId ¶ added in v0.0.9
func (o *NotificationConfig) GetId() int32
GetId returns the Id field value
func (*NotificationConfig) GetIdOk ¶ added in v0.0.9
func (o *NotificationConfig) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*NotificationConfig) HasEmailOnFailure ¶ added in v0.0.9
func (o *NotificationConfig) HasEmailOnFailure() bool
HasEmailOnFailure returns a boolean if a field has been set.
func (*NotificationConfig) HasEmailOnSuccess ¶ added in v0.0.9
func (o *NotificationConfig) HasEmailOnSuccess() bool
HasEmailOnSuccess returns a boolean if a field has been set.
func (*NotificationConfig) HasEmailRecipient ¶ added in v0.0.9
func (o *NotificationConfig) HasEmailRecipient() bool
HasEmailRecipient returns a boolean if a field has been set.
func (NotificationConfig) MarshalJSON ¶ added in v0.0.9
func (o NotificationConfig) MarshalJSON() ([]byte, error)
func (*NotificationConfig) SetEmailOnFailure ¶ added in v0.0.9
func (o *NotificationConfig) SetEmailOnFailure(v bool)
SetEmailOnFailure gets a reference to the given bool and assigns it to the EmailOnFailure field.
func (*NotificationConfig) SetEmailOnSuccess ¶ added in v0.0.9
func (o *NotificationConfig) SetEmailOnSuccess(v bool)
SetEmailOnSuccess gets a reference to the given bool and assigns it to the EmailOnSuccess field.
func (*NotificationConfig) SetEmailRecipient ¶ added in v0.0.9
func (o *NotificationConfig) SetEmailRecipient(v string)
SetEmailRecipient gets a reference to the given string and assigns it to the EmailRecipient field.
func (*NotificationConfig) SetId ¶ added in v0.0.9
func (o *NotificationConfig) SetId(v int32)
SetId sets field value
func (NotificationConfig) ToMap ¶ added in v0.0.9
func (o NotificationConfig) ToMap() (map[string]interface{}, error)
func (*NotificationConfig) UnmarshalJSON ¶ added in v0.0.9
func (o *NotificationConfig) UnmarshalJSON(data []byte) (err error)
type NullableActionEnum ¶ added in v0.0.6
type NullableActionEnum struct {
// contains filtered or unexported fields
}
func NewNullableActionEnum ¶ added in v0.0.6
func NewNullableActionEnum(val *ActionEnum) *NullableActionEnum
func (NullableActionEnum) Get ¶ added in v0.0.6
func (v NullableActionEnum) Get() *ActionEnum
func (NullableActionEnum) IsSet ¶ added in v0.0.6
func (v NullableActionEnum) IsSet() bool
func (NullableActionEnum) MarshalJSON ¶ added in v0.0.6
func (v NullableActionEnum) MarshalJSON() ([]byte, error)
func (*NullableActionEnum) Set ¶ added in v0.0.6
func (v *NullableActionEnum) Set(val *ActionEnum)
func (*NullableActionEnum) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableActionEnum) UnmarshalJSON(src []byte) error
func (*NullableActionEnum) Unset ¶ added in v0.0.6
func (v *NullableActionEnum) Unset()
type NullableAnalyzeGetRequest ¶ added in v0.0.11
type NullableAnalyzeGetRequest struct {
// contains filtered or unexported fields
}
func NewNullableAnalyzeGetRequest ¶ added in v0.0.11
func NewNullableAnalyzeGetRequest(val *AnalyzeGetRequest) *NullableAnalyzeGetRequest
func (NullableAnalyzeGetRequest) Get ¶ added in v0.0.11
func (v NullableAnalyzeGetRequest) Get() *AnalyzeGetRequest
func (NullableAnalyzeGetRequest) IsSet ¶ added in v0.0.11
func (v NullableAnalyzeGetRequest) IsSet() bool
func (NullableAnalyzeGetRequest) MarshalJSON ¶ added in v0.0.11
func (v NullableAnalyzeGetRequest) MarshalJSON() ([]byte, error)
func (*NullableAnalyzeGetRequest) Set ¶ added in v0.0.11
func (v *NullableAnalyzeGetRequest) Set(val *AnalyzeGetRequest)
func (*NullableAnalyzeGetRequest) UnmarshalJSON ¶ added in v0.0.11
func (v *NullableAnalyzeGetRequest) UnmarshalJSON(src []byte) error
func (*NullableAnalyzeGetRequest) Unset ¶ added in v0.0.11
func (v *NullableAnalyzeGetRequest) Unset()
type NullableAnalyzeGetResponse ¶ added in v0.0.11
type NullableAnalyzeGetResponse struct {
// contains filtered or unexported fields
}
func NewNullableAnalyzeGetResponse ¶ added in v0.0.11
func NewNullableAnalyzeGetResponse(val *AnalyzeGetResponse) *NullableAnalyzeGetResponse
func (NullableAnalyzeGetResponse) Get ¶ added in v0.0.11
func (v NullableAnalyzeGetResponse) Get() *AnalyzeGetResponse
func (NullableAnalyzeGetResponse) IsSet ¶ added in v0.0.11
func (v NullableAnalyzeGetResponse) IsSet() bool
func (NullableAnalyzeGetResponse) MarshalJSON ¶ added in v0.0.11
func (v NullableAnalyzeGetResponse) MarshalJSON() ([]byte, error)
func (*NullableAnalyzeGetResponse) Set ¶ added in v0.0.11
func (v *NullableAnalyzeGetResponse) Set(val *AnalyzeGetResponse)
func (*NullableAnalyzeGetResponse) UnmarshalJSON ¶ added in v0.0.11
func (v *NullableAnalyzeGetResponse) UnmarshalJSON(src []byte) error
func (*NullableAnalyzeGetResponse) Unset ¶ added in v0.0.11
func (v *NullableAnalyzeGetResponse) Unset()
type NullableAnalyzerResult ¶ added in v0.0.11
type NullableAnalyzerResult struct {
// contains filtered or unexported fields
}
func NewNullableAnalyzerResult ¶ added in v0.0.11
func NewNullableAnalyzerResult(val *AnalyzerResult) *NullableAnalyzerResult
func (NullableAnalyzerResult) Get ¶ added in v0.0.11
func (v NullableAnalyzerResult) Get() *AnalyzerResult
func (NullableAnalyzerResult) IsSet ¶ added in v0.0.11
func (v NullableAnalyzerResult) IsSet() bool
func (NullableAnalyzerResult) MarshalJSON ¶ added in v0.0.11
func (v NullableAnalyzerResult) MarshalJSON() ([]byte, error)
func (*NullableAnalyzerResult) Set ¶ added in v0.0.11
func (v *NullableAnalyzerResult) Set(val *AnalyzerResult)
func (*NullableAnalyzerResult) UnmarshalJSON ¶ added in v0.0.11
func (v *NullableAnalyzerResult) UnmarshalJSON(src []byte) error
func (*NullableAnalyzerResult) Unset ¶ added in v0.0.11
func (v *NullableAnalyzerResult) Unset()
type NullableAutoStop ¶ added in v0.0.9
type NullableAutoStop struct {
// contains filtered or unexported fields
}
func NewNullableAutoStop ¶ added in v0.0.9
func NewNullableAutoStop(val *AutoStop) *NullableAutoStop
func (NullableAutoStop) Get ¶ added in v0.0.9
func (v NullableAutoStop) Get() *AutoStop
func (NullableAutoStop) IsSet ¶ added in v0.0.9
func (v NullableAutoStop) IsSet() bool
func (NullableAutoStop) MarshalJSON ¶ added in v0.0.9
func (v NullableAutoStop) MarshalJSON() ([]byte, error)
func (*NullableAutoStop) Set ¶ added in v0.0.9
func (v *NullableAutoStop) Set(val *AutoStop)
func (*NullableAutoStop) UnmarshalJSON ¶ added in v0.0.9
func (v *NullableAutoStop) UnmarshalJSON(src []byte) error
func (*NullableAutoStop) Unset ¶ added in v0.0.9
func (v *NullableAutoStop) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableBucket ¶
type NullableBucket struct {
// contains filtered or unexported fields
}
func NewNullableBucket ¶
func NewNullableBucket(val *Bucket) *NullableBucket
func (NullableBucket) Get ¶
func (v NullableBucket) Get() *Bucket
func (NullableBucket) IsSet ¶
func (v NullableBucket) IsSet() bool
func (NullableBucket) MarshalJSON ¶
func (v NullableBucket) MarshalJSON() ([]byte, error)
func (*NullableBucket) Set ¶
func (v *NullableBucket) Set(val *Bucket)
func (*NullableBucket) UnmarshalJSON ¶
func (v *NullableBucket) UnmarshalJSON(src []byte) error
func (*NullableBucket) Unset ¶
func (v *NullableBucket) Unset()
type NullableCluster ¶
type NullableCluster struct {
// contains filtered or unexported fields
}
func NewNullableCluster ¶
func NewNullableCluster(val *Cluster) *NullableCluster
func (NullableCluster) Get ¶
func (v NullableCluster) Get() *Cluster
func (NullableCluster) IsSet ¶
func (v NullableCluster) IsSet() bool
func (NullableCluster) MarshalJSON ¶
func (v NullableCluster) MarshalJSON() ([]byte, error)
func (*NullableCluster) Set ¶
func (v *NullableCluster) Set(val *Cluster)
func (*NullableCluster) UnmarshalJSON ¶
func (v *NullableCluster) UnmarshalJSON(src []byte) error
func (*NullableCluster) Unset ¶
func (v *NullableCluster) Unset()
type NullableClusterActionRequest ¶ added in v0.0.6
type NullableClusterActionRequest struct {
// contains filtered or unexported fields
}
func NewNullableClusterActionRequest ¶ added in v0.0.6
func NewNullableClusterActionRequest(val *ClusterActionRequest) *NullableClusterActionRequest
func (NullableClusterActionRequest) Get ¶ added in v0.0.6
func (v NullableClusterActionRequest) Get() *ClusterActionRequest
func (NullableClusterActionRequest) IsSet ¶ added in v0.0.6
func (v NullableClusterActionRequest) IsSet() bool
func (NullableClusterActionRequest) MarshalJSON ¶ added in v0.0.6
func (v NullableClusterActionRequest) MarshalJSON() ([]byte, error)
func (*NullableClusterActionRequest) Set ¶ added in v0.0.6
func (v *NullableClusterActionRequest) Set(val *ClusterActionRequest)
func (*NullableClusterActionRequest) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableClusterActionRequest) UnmarshalJSON(src []byte) error
func (*NullableClusterActionRequest) Unset ¶ added in v0.0.6
func (v *NullableClusterActionRequest) Unset()
type NullableClusterActionResponse ¶ added in v0.0.6
type NullableClusterActionResponse struct {
// contains filtered or unexported fields
}
func NewNullableClusterActionResponse ¶ added in v0.0.6
func NewNullableClusterActionResponse(val *ClusterActionResponse) *NullableClusterActionResponse
func (NullableClusterActionResponse) Get ¶ added in v0.0.6
func (v NullableClusterActionResponse) Get() *ClusterActionResponse
func (NullableClusterActionResponse) IsSet ¶ added in v0.0.6
func (v NullableClusterActionResponse) IsSet() bool
func (NullableClusterActionResponse) MarshalJSON ¶ added in v0.0.6
func (v NullableClusterActionResponse) MarshalJSON() ([]byte, error)
func (*NullableClusterActionResponse) Set ¶ added in v0.0.6
func (v *NullableClusterActionResponse) Set(val *ClusterActionResponse)
func (*NullableClusterActionResponse) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableClusterActionResponse) UnmarshalJSON(src []byte) error
func (*NullableClusterActionResponse) Unset ¶ added in v0.0.6
func (v *NullableClusterActionResponse) Unset()
type NullableClusterListResponse ¶ added in v0.0.6
type NullableClusterListResponse struct {
// contains filtered or unexported fields
}
func NewNullableClusterListResponse ¶ added in v0.0.6
func NewNullableClusterListResponse(val *ClusterListResponse) *NullableClusterListResponse
func (NullableClusterListResponse) Get ¶ added in v0.0.6
func (v NullableClusterListResponse) Get() *ClusterListResponse
func (NullableClusterListResponse) IsSet ¶ added in v0.0.6
func (v NullableClusterListResponse) IsSet() bool
func (NullableClusterListResponse) MarshalJSON ¶ added in v0.0.6
func (v NullableClusterListResponse) MarshalJSON() ([]byte, error)
func (*NullableClusterListResponse) Set ¶ added in v0.0.6
func (v *NullableClusterListResponse) Set(val *ClusterListResponse)
func (*NullableClusterListResponse) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableClusterListResponse) UnmarshalJSON(src []byte) error
func (*NullableClusterListResponse) Unset ¶ added in v0.0.6
func (v *NullableClusterListResponse) Unset()
type NullableClusterOffer ¶
type NullableClusterOffer struct {
// contains filtered or unexported fields
}
func NewNullableClusterOffer ¶
func NewNullableClusterOffer(val *ClusterOffer) *NullableClusterOffer
func (NullableClusterOffer) Get ¶
func (v NullableClusterOffer) Get() *ClusterOffer
func (NullableClusterOffer) IsSet ¶
func (v NullableClusterOffer) IsSet() bool
func (NullableClusterOffer) MarshalJSON ¶
func (v NullableClusterOffer) MarshalJSON() ([]byte, error)
func (*NullableClusterOffer) Set ¶
func (v *NullableClusterOffer) Set(val *ClusterOffer)
func (*NullableClusterOffer) UnmarshalJSON ¶
func (v *NullableClusterOffer) UnmarshalJSON(src []byte) error
func (*NullableClusterOffer) Unset ¶
func (v *NullableClusterOffer) Unset()
type NullableClusterPostRequest ¶ added in v0.0.8
type NullableClusterPostRequest struct {
// contains filtered or unexported fields
}
func NewNullableClusterPostRequest ¶ added in v0.0.8
func NewNullableClusterPostRequest(val *ClusterPostRequest) *NullableClusterPostRequest
func (NullableClusterPostRequest) Get ¶ added in v0.0.8
func (v NullableClusterPostRequest) Get() *ClusterPostRequest
func (NullableClusterPostRequest) IsSet ¶ added in v0.0.8
func (v NullableClusterPostRequest) IsSet() bool
func (NullableClusterPostRequest) MarshalJSON ¶ added in v0.0.8
func (v NullableClusterPostRequest) MarshalJSON() ([]byte, error)
func (*NullableClusterPostRequest) Set ¶ added in v0.0.8
func (v *NullableClusterPostRequest) Set(val *ClusterPostRequest)
func (*NullableClusterPostRequest) UnmarshalJSON ¶ added in v0.0.8
func (v *NullableClusterPostRequest) UnmarshalJSON(src []byte) error
func (*NullableClusterPostRequest) Unset ¶ added in v0.0.8
func (v *NullableClusterPostRequest) Unset()
type NullableClusterPostResponse ¶ added in v0.0.8
type NullableClusterPostResponse struct {
// contains filtered or unexported fields
}
func NewNullableClusterPostResponse ¶ added in v0.0.8
func NewNullableClusterPostResponse(val *ClusterPostResponse) *NullableClusterPostResponse
func (NullableClusterPostResponse) Get ¶ added in v0.0.8
func (v NullableClusterPostResponse) Get() *ClusterPostResponse
func (NullableClusterPostResponse) IsSet ¶ added in v0.0.8
func (v NullableClusterPostResponse) IsSet() bool
func (NullableClusterPostResponse) MarshalJSON ¶ added in v0.0.8
func (v NullableClusterPostResponse) MarshalJSON() ([]byte, error)
func (*NullableClusterPostResponse) Set ¶ added in v0.0.8
func (v *NullableClusterPostResponse) Set(val *ClusterPostResponse)
func (*NullableClusterPostResponse) UnmarshalJSON ¶ added in v0.0.8
func (v *NullableClusterPostResponse) UnmarshalJSON(src []byte) error
func (*NullableClusterPostResponse) Unset ¶ added in v0.0.8
func (v *NullableClusterPostResponse) Unset()
type NullableClusterStatusEnum ¶
type NullableClusterStatusEnum struct {
// contains filtered or unexported fields
}
func NewNullableClusterStatusEnum ¶
func NewNullableClusterStatusEnum(val *ClusterStatusEnum) *NullableClusterStatusEnum
func (NullableClusterStatusEnum) Get ¶
func (v NullableClusterStatusEnum) Get() *ClusterStatusEnum
func (NullableClusterStatusEnum) IsSet ¶
func (v NullableClusterStatusEnum) IsSet() bool
func (NullableClusterStatusEnum) MarshalJSON ¶
func (v NullableClusterStatusEnum) MarshalJSON() ([]byte, error)
func (*NullableClusterStatusEnum) Set ¶
func (v *NullableClusterStatusEnum) Set(val *ClusterStatusEnum)
func (*NullableClusterStatusEnum) UnmarshalJSON ¶
func (v *NullableClusterStatusEnum) UnmarshalJSON(src []byte) error
func (*NullableClusterStatusEnum) Unset ¶
func (v *NullableClusterStatusEnum) Unset()
type NullableClusterStatusResponse ¶ added in v0.0.6
type NullableClusterStatusResponse struct {
// contains filtered or unexported fields
}
func NewNullableClusterStatusResponse ¶ added in v0.0.6
func NewNullableClusterStatusResponse(val *ClusterStatusResponse) *NullableClusterStatusResponse
func (NullableClusterStatusResponse) Get ¶ added in v0.0.6
func (v NullableClusterStatusResponse) Get() *ClusterStatusResponse
func (NullableClusterStatusResponse) IsSet ¶ added in v0.0.6
func (v NullableClusterStatusResponse) IsSet() bool
func (NullableClusterStatusResponse) MarshalJSON ¶ added in v0.0.6
func (v NullableClusterStatusResponse) MarshalJSON() ([]byte, error)
func (*NullableClusterStatusResponse) Set ¶ added in v0.0.6
func (v *NullableClusterStatusResponse) Set(val *ClusterStatusResponse)
func (*NullableClusterStatusResponse) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableClusterStatusResponse) UnmarshalJSON(src []byte) error
func (*NullableClusterStatusResponse) Unset ¶ added in v0.0.6
func (v *NullableClusterStatusResponse) Unset()
type NullableConstrainRequest ¶
type NullableConstrainRequest struct {
// contains filtered or unexported fields
}
func NewNullableConstrainRequest ¶
func NewNullableConstrainRequest(val *ConstrainRequest) *NullableConstrainRequest
func (NullableConstrainRequest) Get ¶
func (v NullableConstrainRequest) Get() *ConstrainRequest
func (NullableConstrainRequest) IsSet ¶
func (v NullableConstrainRequest) IsSet() bool
func (NullableConstrainRequest) MarshalJSON ¶
func (v NullableConstrainRequest) MarshalJSON() ([]byte, error)
func (*NullableConstrainRequest) Set ¶
func (v *NullableConstrainRequest) Set(val *ConstrainRequest)
func (*NullableConstrainRequest) UnmarshalJSON ¶
func (v *NullableConstrainRequest) UnmarshalJSON(src []byte) error
func (*NullableConstrainRequest) Unset ¶
func (v *NullableConstrainRequest) Unset()
type NullableConstrainResponse ¶
type NullableConstrainResponse struct {
// contains filtered or unexported fields
}
func NewNullableConstrainResponse ¶
func NewNullableConstrainResponse(val *ConstrainResponse) *NullableConstrainResponse
func (NullableConstrainResponse) Get ¶
func (v NullableConstrainResponse) Get() *ConstrainResponse
func (NullableConstrainResponse) IsSet ¶
func (v NullableConstrainResponse) IsSet() bool
func (NullableConstrainResponse) MarshalJSON ¶
func (v NullableConstrainResponse) MarshalJSON() ([]byte, error)
func (*NullableConstrainResponse) Set ¶
func (v *NullableConstrainResponse) Set(val *ConstrainResponse)
func (*NullableConstrainResponse) UnmarshalJSON ¶
func (v *NullableConstrainResponse) UnmarshalJSON(src []byte) error
func (*NullableConstrainResponse) Unset ¶
func (v *NullableConstrainResponse) Unset()
type NullableDownloadResponse ¶
type NullableDownloadResponse struct {
// contains filtered or unexported fields
}
func NewNullableDownloadResponse ¶
func NewNullableDownloadResponse(val *DownloadResponse) *NullableDownloadResponse
func (NullableDownloadResponse) Get ¶
func (v NullableDownloadResponse) Get() *DownloadResponse
func (NullableDownloadResponse) IsSet ¶
func (v NullableDownloadResponse) IsSet() bool
func (NullableDownloadResponse) MarshalJSON ¶
func (v NullableDownloadResponse) MarshalJSON() ([]byte, error)
func (*NullableDownloadResponse) Set ¶
func (v *NullableDownloadResponse) Set(val *DownloadResponse)
func (*NullableDownloadResponse) UnmarshalJSON ¶
func (v *NullableDownloadResponse) UnmarshalJSON(src []byte) error
func (*NullableDownloadResponse) Unset ¶
func (v *NullableDownloadResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableIO ¶
type NullableIO struct {
// contains filtered or unexported fields
}
func NewNullableIO ¶
func NewNullableIO(val *IO) *NullableIO
func (NullableIO) Get ¶
func (v NullableIO) Get() *IO
func (NullableIO) IsSet ¶
func (v NullableIO) IsSet() bool
func (NullableIO) MarshalJSON ¶
func (v NullableIO) MarshalJSON() ([]byte, error)
func (*NullableIO) Set ¶
func (v *NullableIO) Set(val *IO)
func (*NullableIO) UnmarshalJSON ¶
func (v *NullableIO) UnmarshalJSON(src []byte) error
func (*NullableIO) Unset ¶
func (v *NullableIO) Unset()
type NullableInputs ¶
type NullableInputs struct {
// contains filtered or unexported fields
}
func NewNullableInputs ¶
func NewNullableInputs(val *Inputs) *NullableInputs
func (NullableInputs) Get ¶
func (v NullableInputs) Get() *Inputs
func (NullableInputs) IsSet ¶
func (v NullableInputs) IsSet() bool
func (NullableInputs) MarshalJSON ¶
func (v NullableInputs) MarshalJSON() ([]byte, error)
func (*NullableInputs) Set ¶
func (v *NullableInputs) Set(val *Inputs)
func (*NullableInputs) UnmarshalJSON ¶
func (v *NullableInputs) UnmarshalJSON(src []byte) error
func (*NullableInputs) Unset ¶
func (v *NullableInputs) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableJob ¶
type NullableJob struct {
// contains filtered or unexported fields
}
func NewNullableJob ¶
func NewNullableJob(val *Job) *NullableJob
func (NullableJob) Get ¶
func (v NullableJob) Get() *Job
func (NullableJob) IsSet ¶
func (v NullableJob) IsSet() bool
func (NullableJob) MarshalJSON ¶
func (v NullableJob) MarshalJSON() ([]byte, error)
func (*NullableJob) Set ¶
func (v *NullableJob) Set(val *Job)
func (*NullableJob) UnmarshalJSON ¶
func (v *NullableJob) UnmarshalJSON(src []byte) error
func (*NullableJob) Unset ¶
func (v *NullableJob) Unset()
type NullableJobConfig ¶ added in v0.0.9
type NullableJobConfig struct {
// contains filtered or unexported fields
}
func NewNullableJobConfig ¶ added in v0.0.9
func NewNullableJobConfig(val *JobConfig) *NullableJobConfig
func (NullableJobConfig) Get ¶ added in v0.0.9
func (v NullableJobConfig) Get() *JobConfig
func (NullableJobConfig) IsSet ¶ added in v0.0.9
func (v NullableJobConfig) IsSet() bool
func (NullableJobConfig) MarshalJSON ¶ added in v0.0.9
func (v NullableJobConfig) MarshalJSON() ([]byte, error)
func (*NullableJobConfig) Set ¶ added in v0.0.9
func (v *NullableJobConfig) Set(val *JobConfig)
func (*NullableJobConfig) UnmarshalJSON ¶ added in v0.0.9
func (v *NullableJobConfig) UnmarshalJSON(src []byte) error
func (*NullableJobConfig) Unset ¶ added in v0.0.9
func (v *NullableJobConfig) Unset()
type NullableJobGetResponse ¶
type NullableJobGetResponse struct {
// contains filtered or unexported fields
}
func NewNullableJobGetResponse ¶
func NewNullableJobGetResponse(val *JobGetResponse) *NullableJobGetResponse
func (NullableJobGetResponse) Get ¶
func (v NullableJobGetResponse) Get() *JobGetResponse
func (NullableJobGetResponse) IsSet ¶
func (v NullableJobGetResponse) IsSet() bool
func (NullableJobGetResponse) MarshalJSON ¶
func (v NullableJobGetResponse) MarshalJSON() ([]byte, error)
func (*NullableJobGetResponse) Set ¶
func (v *NullableJobGetResponse) Set(val *JobGetResponse)
func (*NullableJobGetResponse) UnmarshalJSON ¶
func (v *NullableJobGetResponse) UnmarshalJSON(src []byte) error
func (*NullableJobGetResponse) Unset ¶
func (v *NullableJobGetResponse) Unset()
type NullableJobListResponse ¶
type NullableJobListResponse struct {
// contains filtered or unexported fields
}
func NewNullableJobListResponse ¶
func NewNullableJobListResponse(val *JobListResponse) *NullableJobListResponse
func (NullableJobListResponse) Get ¶
func (v NullableJobListResponse) Get() *JobListResponse
func (NullableJobListResponse) IsSet ¶
func (v NullableJobListResponse) IsSet() bool
func (NullableJobListResponse) MarshalJSON ¶
func (v NullableJobListResponse) MarshalJSON() ([]byte, error)
func (*NullableJobListResponse) Set ¶
func (v *NullableJobListResponse) Set(val *JobListResponse)
func (*NullableJobListResponse) UnmarshalJSON ¶
func (v *NullableJobListResponse) UnmarshalJSON(src []byte) error
func (*NullableJobListResponse) Unset ¶
func (v *NullableJobListResponse) Unset()
type NullableJobPostRequest ¶
type NullableJobPostRequest struct {
// contains filtered or unexported fields
}
func NewNullableJobPostRequest ¶
func NewNullableJobPostRequest(val *JobPostRequest) *NullableJobPostRequest
func (NullableJobPostRequest) Get ¶
func (v NullableJobPostRequest) Get() *JobPostRequest
func (NullableJobPostRequest) IsSet ¶
func (v NullableJobPostRequest) IsSet() bool
func (NullableJobPostRequest) MarshalJSON ¶
func (v NullableJobPostRequest) MarshalJSON() ([]byte, error)
func (*NullableJobPostRequest) Set ¶
func (v *NullableJobPostRequest) Set(val *JobPostRequest)
func (*NullableJobPostRequest) UnmarshalJSON ¶
func (v *NullableJobPostRequest) UnmarshalJSON(src []byte) error
func (*NullableJobPostRequest) Unset ¶
func (v *NullableJobPostRequest) Unset()
type NullableJobUpdateResponse ¶ added in v0.0.9
type NullableJobUpdateResponse struct {
// contains filtered or unexported fields
}
func NewNullableJobUpdateResponse ¶ added in v0.0.9
func NewNullableJobUpdateResponse(val *JobUpdateResponse) *NullableJobUpdateResponse
func (NullableJobUpdateResponse) Get ¶ added in v0.0.9
func (v NullableJobUpdateResponse) Get() *JobUpdateResponse
func (NullableJobUpdateResponse) IsSet ¶ added in v0.0.9
func (v NullableJobUpdateResponse) IsSet() bool
func (NullableJobUpdateResponse) MarshalJSON ¶ added in v0.0.9
func (v NullableJobUpdateResponse) MarshalJSON() ([]byte, error)
func (*NullableJobUpdateResponse) Set ¶ added in v0.0.9
func (v *NullableJobUpdateResponse) Set(val *JobUpdateResponse)
func (*NullableJobUpdateResponse) UnmarshalJSON ¶ added in v0.0.9
func (v *NullableJobUpdateResponse) UnmarshalJSON(src []byte) error
func (*NullableJobUpdateResponse) Unset ¶ added in v0.0.9
func (v *NullableJobUpdateResponse) Unset()
type NullableLatestClusterLog ¶
type NullableLatestClusterLog struct {
// contains filtered or unexported fields
}
func NewNullableLatestClusterLog ¶
func NewNullableLatestClusterLog(val *LatestClusterLog) *NullableLatestClusterLog
func (NullableLatestClusterLog) Get ¶
func (v NullableLatestClusterLog) Get() *LatestClusterLog
func (NullableLatestClusterLog) IsSet ¶
func (v NullableLatestClusterLog) IsSet() bool
func (NullableLatestClusterLog) MarshalJSON ¶
func (v NullableLatestClusterLog) MarshalJSON() ([]byte, error)
func (*NullableLatestClusterLog) Set ¶
func (v *NullableLatestClusterLog) Set(val *LatestClusterLog)
func (*NullableLatestClusterLog) UnmarshalJSON ¶
func (v *NullableLatestClusterLog) UnmarshalJSON(src []byte) error
func (*NullableLatestClusterLog) Unset ¶
func (v *NullableLatestClusterLog) Unset()
type NullableLatestClusterLogStatusEnum ¶
type NullableLatestClusterLogStatusEnum struct {
// contains filtered or unexported fields
}
func NewNullableLatestClusterLogStatusEnum ¶
func NewNullableLatestClusterLogStatusEnum(val *LatestClusterLogStatusEnum) *NullableLatestClusterLogStatusEnum
func (NullableLatestClusterLogStatusEnum) Get ¶
func (v NullableLatestClusterLogStatusEnum) Get() *LatestClusterLogStatusEnum
func (NullableLatestClusterLogStatusEnum) IsSet ¶
func (v NullableLatestClusterLogStatusEnum) IsSet() bool
func (NullableLatestClusterLogStatusEnum) MarshalJSON ¶
func (v NullableLatestClusterLogStatusEnum) MarshalJSON() ([]byte, error)
func (*NullableLatestClusterLogStatusEnum) Set ¶
func (v *NullableLatestClusterLogStatusEnum) Set(val *LatestClusterLogStatusEnum)
func (*NullableLatestClusterLogStatusEnum) UnmarshalJSON ¶
func (v *NullableLatestClusterLogStatusEnum) UnmarshalJSON(src []byte) error
func (*NullableLatestClusterLogStatusEnum) Unset ¶
func (v *NullableLatestClusterLogStatusEnum) Unset()
type NullableNotificationConfig ¶ added in v0.0.9
type NullableNotificationConfig struct {
// contains filtered or unexported fields
}
func NewNullableNotificationConfig ¶ added in v0.0.9
func NewNullableNotificationConfig(val *NotificationConfig) *NullableNotificationConfig
func (NullableNotificationConfig) Get ¶ added in v0.0.9
func (v NullableNotificationConfig) Get() *NotificationConfig
func (NullableNotificationConfig) IsSet ¶ added in v0.0.9
func (v NullableNotificationConfig) IsSet() bool
func (NullableNotificationConfig) MarshalJSON ¶ added in v0.0.9
func (v NullableNotificationConfig) MarshalJSON() ([]byte, error)
func (*NullableNotificationConfig) Set ¶ added in v0.0.9
func (v *NullableNotificationConfig) Set(val *NotificationConfig)
func (*NullableNotificationConfig) UnmarshalJSON ¶ added in v0.0.9
func (v *NullableNotificationConfig) UnmarshalJSON(src []byte) error
func (*NullableNotificationConfig) Unset ¶ added in v0.0.9
func (v *NullableNotificationConfig) Unset()
type NullableOutputs ¶
type NullableOutputs struct {
// contains filtered or unexported fields
}
func NewNullableOutputs ¶
func NewNullableOutputs(val *Outputs) *NullableOutputs
func (NullableOutputs) Get ¶
func (v NullableOutputs) Get() *Outputs
func (NullableOutputs) IsSet ¶
func (v NullableOutputs) IsSet() bool
func (NullableOutputs) MarshalJSON ¶
func (v NullableOutputs) MarshalJSON() ([]byte, error)
func (*NullableOutputs) Set ¶
func (v *NullableOutputs) Set(val *Outputs)
func (*NullableOutputs) UnmarshalJSON ¶
func (v *NullableOutputs) UnmarshalJSON(src []byte) error
func (*NullableOutputs) Unset ¶
func (v *NullableOutputs) Unset()
type NullablePatchedConstrainPatchRequest ¶
type NullablePatchedConstrainPatchRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchedConstrainPatchRequest ¶
func NewNullablePatchedConstrainPatchRequest(val *PatchedConstrainPatchRequest) *NullablePatchedConstrainPatchRequest
func (NullablePatchedConstrainPatchRequest) Get ¶
func (v NullablePatchedConstrainPatchRequest) Get() *PatchedConstrainPatchRequest
func (NullablePatchedConstrainPatchRequest) IsSet ¶
func (v NullablePatchedConstrainPatchRequest) IsSet() bool
func (NullablePatchedConstrainPatchRequest) MarshalJSON ¶
func (v NullablePatchedConstrainPatchRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchedConstrainPatchRequest) Set ¶
func (v *NullablePatchedConstrainPatchRequest) Set(val *PatchedConstrainPatchRequest)
func (*NullablePatchedConstrainPatchRequest) UnmarshalJSON ¶
func (v *NullablePatchedConstrainPatchRequest) UnmarshalJSON(src []byte) error
func (*NullablePatchedConstrainPatchRequest) Unset ¶
func (v *NullablePatchedConstrainPatchRequest) Unset()
type NullablePatchedJobUpdateRequest ¶ added in v0.0.9
type NullablePatchedJobUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchedJobUpdateRequest ¶ added in v0.0.9
func NewNullablePatchedJobUpdateRequest(val *PatchedJobUpdateRequest) *NullablePatchedJobUpdateRequest
func (NullablePatchedJobUpdateRequest) Get ¶ added in v0.0.9
func (v NullablePatchedJobUpdateRequest) Get() *PatchedJobUpdateRequest
func (NullablePatchedJobUpdateRequest) IsSet ¶ added in v0.0.9
func (v NullablePatchedJobUpdateRequest) IsSet() bool
func (NullablePatchedJobUpdateRequest) MarshalJSON ¶ added in v0.0.9
func (v NullablePatchedJobUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchedJobUpdateRequest) Set ¶ added in v0.0.9
func (v *NullablePatchedJobUpdateRequest) Set(val *PatchedJobUpdateRequest)
func (*NullablePatchedJobUpdateRequest) UnmarshalJSON ¶ added in v0.0.9
func (v *NullablePatchedJobUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullablePatchedJobUpdateRequest) Unset ¶ added in v0.0.9
func (v *NullablePatchedJobUpdateRequest) Unset()
type NullablePickledHandleField ¶
type NullablePickledHandleField struct {
// contains filtered or unexported fields
}
func NewNullablePickledHandleField ¶
func NewNullablePickledHandleField(val *PickledHandleField) *NullablePickledHandleField
func (NullablePickledHandleField) Get ¶
func (v NullablePickledHandleField) Get() *PickledHandleField
func (NullablePickledHandleField) IsSet ¶
func (v NullablePickledHandleField) IsSet() bool
func (NullablePickledHandleField) MarshalJSON ¶
func (v NullablePickledHandleField) MarshalJSON() ([]byte, error)
func (*NullablePickledHandleField) Set ¶
func (v *NullablePickledHandleField) Set(val *PickledHandleField)
func (*NullablePickledHandleField) UnmarshalJSON ¶
func (v *NullablePickledHandleField) UnmarshalJSON(src []byte) error
func (*NullablePickledHandleField) Unset ¶
func (v *NullablePickledHandleField) Unset()
type NullableProject ¶
type NullableProject struct {
// contains filtered or unexported fields
}
func NewNullableProject ¶
func NewNullableProject(val *Project) *NullableProject
func (NullableProject) Get ¶
func (v NullableProject) Get() *Project
func (NullableProject) IsSet ¶
func (v NullableProject) IsSet() bool
func (NullableProject) MarshalJSON ¶
func (v NullableProject) MarshalJSON() ([]byte, error)
func (*NullableProject) Set ¶
func (v *NullableProject) Set(val *Project)
func (*NullableProject) UnmarshalJSON ¶
func (v *NullableProject) UnmarshalJSON(src []byte) error
func (*NullableProject) Unset ¶
func (v *NullableProject) Unset()
type NullableProjectCreateRequest ¶
type NullableProjectCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableProjectCreateRequest ¶
func NewNullableProjectCreateRequest(val *ProjectCreateRequest) *NullableProjectCreateRequest
func (NullableProjectCreateRequest) Get ¶
func (v NullableProjectCreateRequest) Get() *ProjectCreateRequest
func (NullableProjectCreateRequest) IsSet ¶
func (v NullableProjectCreateRequest) IsSet() bool
func (NullableProjectCreateRequest) MarshalJSON ¶
func (v NullableProjectCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableProjectCreateRequest) Set ¶
func (v *NullableProjectCreateRequest) Set(val *ProjectCreateRequest)
func (*NullableProjectCreateRequest) UnmarshalJSON ¶
func (v *NullableProjectCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableProjectCreateRequest) Unset ¶
func (v *NullableProjectCreateRequest) Unset()
type NullableProjectsGetResponse ¶
type NullableProjectsGetResponse struct {
// contains filtered or unexported fields
}
func NewNullableProjectsGetResponse ¶
func NewNullableProjectsGetResponse(val *ProjectsGetResponse) *NullableProjectsGetResponse
func (NullableProjectsGetResponse) Get ¶
func (v NullableProjectsGetResponse) Get() *ProjectsGetResponse
func (NullableProjectsGetResponse) IsSet ¶
func (v NullableProjectsGetResponse) IsSet() bool
func (NullableProjectsGetResponse) MarshalJSON ¶
func (v NullableProjectsGetResponse) MarshalJSON() ([]byte, error)
func (*NullableProjectsGetResponse) Set ¶
func (v *NullableProjectsGetResponse) Set(val *ProjectsGetResponse)
func (*NullableProjectsGetResponse) UnmarshalJSON ¶
func (v *NullableProjectsGetResponse) UnmarshalJSON(src []byte) error
func (*NullableProjectsGetResponse) Unset ¶
func (v *NullableProjectsGetResponse) Unset()
type NullableProvisionLog ¶ added in v0.0.8
type NullableProvisionLog struct {
// contains filtered or unexported fields
}
func NewNullableProvisionLog ¶ added in v0.0.8
func NewNullableProvisionLog(val *ProvisionLog) *NullableProvisionLog
func (NullableProvisionLog) Get ¶ added in v0.0.8
func (v NullableProvisionLog) Get() *ProvisionLog
func (NullableProvisionLog) IsSet ¶ added in v0.0.8
func (v NullableProvisionLog) IsSet() bool
func (NullableProvisionLog) MarshalJSON ¶ added in v0.0.8
func (v NullableProvisionLog) MarshalJSON() ([]byte, error)
func (*NullableProvisionLog) Set ¶ added in v0.0.8
func (v *NullableProvisionLog) Set(val *ProvisionLog)
func (*NullableProvisionLog) UnmarshalJSON ¶ added in v0.0.8
func (v *NullableProvisionLog) UnmarshalJSON(src []byte) error
func (*NullableProvisionLog) Unset ¶ added in v0.0.8
func (v *NullableProvisionLog) Unset()
type NullableProvisionLogStatusEnum ¶ added in v0.0.8
type NullableProvisionLogStatusEnum struct {
// contains filtered or unexported fields
}
func NewNullableProvisionLogStatusEnum ¶ added in v0.0.8
func NewNullableProvisionLogStatusEnum(val *ProvisionLogStatusEnum) *NullableProvisionLogStatusEnum
func (NullableProvisionLogStatusEnum) Get ¶ added in v0.0.8
func (v NullableProvisionLogStatusEnum) Get() *ProvisionLogStatusEnum
func (NullableProvisionLogStatusEnum) IsSet ¶ added in v0.0.8
func (v NullableProvisionLogStatusEnum) IsSet() bool
func (NullableProvisionLogStatusEnum) MarshalJSON ¶ added in v0.0.8
func (v NullableProvisionLogStatusEnum) MarshalJSON() ([]byte, error)
func (*NullableProvisionLogStatusEnum) Set ¶ added in v0.0.8
func (v *NullableProvisionLogStatusEnum) Set(val *ProvisionLogStatusEnum)
func (*NullableProvisionLogStatusEnum) UnmarshalJSON ¶ added in v0.0.8
func (v *NullableProvisionLogStatusEnum) UnmarshalJSON(src []byte) error
func (*NullableProvisionLogStatusEnum) Unset ¶ added in v0.0.8
func (v *NullableProvisionLogStatusEnum) Unset()
type NullableResources ¶
type NullableResources struct {
// contains filtered or unexported fields
}
func NewNullableResources ¶
func NewNullableResources(val *Resources) *NullableResources
func (NullableResources) Get ¶
func (v NullableResources) Get() *Resources
func (NullableResources) IsSet ¶
func (v NullableResources) IsSet() bool
func (NullableResources) MarshalJSON ¶
func (v NullableResources) MarshalJSON() ([]byte, error)
func (*NullableResources) Set ¶
func (v *NullableResources) Set(val *Resources)
func (*NullableResources) UnmarshalJSON ¶
func (v *NullableResources) UnmarshalJSON(src []byte) error
func (*NullableResources) Unset ¶
func (v *NullableResources) Unset()
type NullableScore ¶ added in v0.0.11
type NullableScore struct {
// contains filtered or unexported fields
}
func NewNullableScore ¶ added in v0.0.11
func NewNullableScore(val *Score) *NullableScore
func (NullableScore) Get ¶ added in v0.0.11
func (v NullableScore) Get() *Score
func (NullableScore) IsSet ¶ added in v0.0.11
func (v NullableScore) IsSet() bool
func (NullableScore) MarshalJSON ¶ added in v0.0.11
func (v NullableScore) MarshalJSON() ([]byte, error)
func (*NullableScore) Set ¶ added in v0.0.11
func (v *NullableScore) Set(val *Score)
func (*NullableScore) UnmarshalJSON ¶ added in v0.0.11
func (v *NullableScore) UnmarshalJSON(src []byte) error
func (*NullableScore) Unset ¶ added in v0.0.11
func (v *NullableScore) Unset()
type NullableScript ¶
type NullableScript struct {
// contains filtered or unexported fields
}
func NewNullableScript ¶
func NewNullableScript(val *Script) *NullableScript
func (NullableScript) Get ¶
func (v NullableScript) Get() *Script
func (NullableScript) IsSet ¶
func (v NullableScript) IsSet() bool
func (NullableScript) MarshalJSON ¶
func (v NullableScript) MarshalJSON() ([]byte, error)
func (*NullableScript) Set ¶
func (v *NullableScript) Set(val *Script)
func (*NullableScript) UnmarshalJSON ¶
func (v *NullableScript) UnmarshalJSON(src []byte) error
func (*NullableScript) Unset ¶
func (v *NullableScript) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTempJobPostRequest ¶ added in v0.0.7
type NullableTempJobPostRequest struct {
// contains filtered or unexported fields
}
func NewNullableTempJobPostRequest ¶ added in v0.0.7
func NewNullableTempJobPostRequest(val *TempJobPostRequest) *NullableTempJobPostRequest
func (NullableTempJobPostRequest) Get ¶ added in v0.0.7
func (v NullableTempJobPostRequest) Get() *TempJobPostRequest
func (NullableTempJobPostRequest) IsSet ¶ added in v0.0.7
func (v NullableTempJobPostRequest) IsSet() bool
func (NullableTempJobPostRequest) MarshalJSON ¶ added in v0.0.7
func (v NullableTempJobPostRequest) MarshalJSON() ([]byte, error)
func (*NullableTempJobPostRequest) Set ¶ added in v0.0.7
func (v *NullableTempJobPostRequest) Set(val *TempJobPostRequest)
func (*NullableTempJobPostRequest) UnmarshalJSON ¶ added in v0.0.7
func (v *NullableTempJobPostRequest) UnmarshalJSON(src []byte) error
func (*NullableTempJobPostRequest) Unset ¶ added in v0.0.7
func (v *NullableTempJobPostRequest) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTypeEnum ¶
type NullableTypeEnum struct {
// contains filtered or unexported fields
}
func NewNullableTypeEnum ¶
func NewNullableTypeEnum(val *TypeEnum) *NullableTypeEnum
func (NullableTypeEnum) Get ¶
func (v NullableTypeEnum) Get() *TypeEnum
func (NullableTypeEnum) IsSet ¶
func (v NullableTypeEnum) IsSet() bool
func (NullableTypeEnum) MarshalJSON ¶
func (v NullableTypeEnum) MarshalJSON() ([]byte, error)
func (*NullableTypeEnum) Set ¶
func (v *NullableTypeEnum) Set(val *TypeEnum)
func (*NullableTypeEnum) UnmarshalJSON ¶
func (v *NullableTypeEnum) UnmarshalJSON(src []byte) error
func (*NullableTypeEnum) Unset ¶
func (v *NullableTypeEnum) Unset()
type NullableUser ¶ added in v0.0.6
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶ added in v0.0.6
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶ added in v0.0.6
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶ added in v0.0.6
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶ added in v0.0.6
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶ added in v0.0.6
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶ added in v0.0.6
func (v *NullableUser) Unset()
type NullableUserPublicKeyRequest ¶
type NullableUserPublicKeyRequest struct {
// contains filtered or unexported fields
}
func NewNullableUserPublicKeyRequest ¶
func NewNullableUserPublicKeyRequest(val *UserPublicKeyRequest) *NullableUserPublicKeyRequest
func (NullableUserPublicKeyRequest) Get ¶
func (v NullableUserPublicKeyRequest) Get() *UserPublicKeyRequest
func (NullableUserPublicKeyRequest) IsSet ¶
func (v NullableUserPublicKeyRequest) IsSet() bool
func (NullableUserPublicKeyRequest) MarshalJSON ¶
func (v NullableUserPublicKeyRequest) MarshalJSON() ([]byte, error)
func (*NullableUserPublicKeyRequest) Set ¶
func (v *NullableUserPublicKeyRequest) Set(val *UserPublicKeyRequest)
func (*NullableUserPublicKeyRequest) UnmarshalJSON ¶
func (v *NullableUserPublicKeyRequest) UnmarshalJSON(src []byte) error
func (*NullableUserPublicKeyRequest) Unset ¶
func (v *NullableUserPublicKeyRequest) Unset()
type NullableUserPublicKeyResponse ¶
type NullableUserPublicKeyResponse struct {
// contains filtered or unexported fields
}
func NewNullableUserPublicKeyResponse ¶
func NewNullableUserPublicKeyResponse(val *UserPublicKeyResponse) *NullableUserPublicKeyResponse
func (NullableUserPublicKeyResponse) Get ¶
func (v NullableUserPublicKeyResponse) Get() *UserPublicKeyResponse
func (NullableUserPublicKeyResponse) IsSet ¶
func (v NullableUserPublicKeyResponse) IsSet() bool
func (NullableUserPublicKeyResponse) MarshalJSON ¶
func (v NullableUserPublicKeyResponse) MarshalJSON() ([]byte, error)
func (*NullableUserPublicKeyResponse) Set ¶
func (v *NullableUserPublicKeyResponse) Set(val *UserPublicKeyResponse)
func (*NullableUserPublicKeyResponse) UnmarshalJSON ¶
func (v *NullableUserPublicKeyResponse) UnmarshalJSON(src []byte) error
func (*NullableUserPublicKeyResponse) Unset ¶
func (v *NullableUserPublicKeyResponse) Unset()
type NullableUserResponse ¶
type NullableUserResponse struct {
// contains filtered or unexported fields
}
func NewNullableUserResponse ¶
func NewNullableUserResponse(val *UserResponse) *NullableUserResponse
func (NullableUserResponse) Get ¶
func (v NullableUserResponse) Get() *UserResponse
func (NullableUserResponse) IsSet ¶
func (v NullableUserResponse) IsSet() bool
func (NullableUserResponse) MarshalJSON ¶
func (v NullableUserResponse) MarshalJSON() ([]byte, error)
func (*NullableUserResponse) Set ¶
func (v *NullableUserResponse) Set(val *UserResponse)
func (*NullableUserResponse) UnmarshalJSON ¶
func (v *NullableUserResponse) UnmarshalJSON(src []byte) error
func (*NullableUserResponse) Unset ¶
func (v *NullableUserResponse) Unset()
type NullableWorkload ¶ added in v0.0.11
type NullableWorkload struct {
// contains filtered or unexported fields
}
func NewNullableWorkload ¶ added in v0.0.11
func NewNullableWorkload(val *Workload) *NullableWorkload
func (NullableWorkload) Get ¶ added in v0.0.11
func (v NullableWorkload) Get() *Workload
func (NullableWorkload) IsSet ¶ added in v0.0.11
func (v NullableWorkload) IsSet() bool
func (NullableWorkload) MarshalJSON ¶ added in v0.0.11
func (v NullableWorkload) MarshalJSON() ([]byte, error)
func (*NullableWorkload) Set ¶ added in v0.0.11
func (v *NullableWorkload) Set(val *Workload)
func (*NullableWorkload) UnmarshalJSON ¶ added in v0.0.11
func (v *NullableWorkload) UnmarshalJSON(src []byte) error
func (*NullableWorkload) Unset ¶ added in v0.0.11
func (v *NullableWorkload) Unset()
type NullableWorkloadTypeEnum ¶ added in v0.0.11
type NullableWorkloadTypeEnum struct {
// contains filtered or unexported fields
}
func NewNullableWorkloadTypeEnum ¶ added in v0.0.11
func NewNullableWorkloadTypeEnum(val *WorkloadTypeEnum) *NullableWorkloadTypeEnum
func (NullableWorkloadTypeEnum) Get ¶ added in v0.0.11
func (v NullableWorkloadTypeEnum) Get() *WorkloadTypeEnum
func (NullableWorkloadTypeEnum) IsSet ¶ added in v0.0.11
func (v NullableWorkloadTypeEnum) IsSet() bool
func (NullableWorkloadTypeEnum) MarshalJSON ¶ added in v0.0.11
func (v NullableWorkloadTypeEnum) MarshalJSON() ([]byte, error)
func (*NullableWorkloadTypeEnum) Set ¶ added in v0.0.11
func (v *NullableWorkloadTypeEnum) Set(val *WorkloadTypeEnum)
func (*NullableWorkloadTypeEnum) UnmarshalJSON ¶ added in v0.0.11
func (v *NullableWorkloadTypeEnum) UnmarshalJSON(src []byte) error
func (*NullableWorkloadTypeEnum) Unset ¶ added in v0.0.11
func (v *NullableWorkloadTypeEnum) Unset()
type Outputs ¶
type Outputs struct {
Buckets []Bucket `json:"buckets,omitempty"`
}
Outputs Outputs configuration serializer.
func NewOutputs ¶
func NewOutputs() *Outputs
NewOutputs instantiates a new Outputs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOutputsWithDefaults ¶
func NewOutputsWithDefaults() *Outputs
NewOutputsWithDefaults instantiates a new Outputs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Outputs) GetBuckets ¶
GetBuckets returns the Buckets field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Outputs) GetBucketsOk ¶
GetBucketsOk returns a tuple with the Buckets field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Outputs) HasBuckets ¶
HasBuckets returns a boolean if a field has been set.
func (Outputs) MarshalJSON ¶
func (*Outputs) SetBuckets ¶
SetBuckets gets a reference to the given []Bucket and assigns it to the Buckets field.
type PatchedConstrainPatchRequest ¶
type PatchedConstrainPatchRequest struct { JobId *string `json:"job_id,omitempty"` Config *ConstrainRequest `json:"config,omitempty"` }
PatchedConstrainPatchRequest Serializer for cluster constraint patch request.
func NewPatchedConstrainPatchRequest ¶
func NewPatchedConstrainPatchRequest() *PatchedConstrainPatchRequest
NewPatchedConstrainPatchRequest instantiates a new PatchedConstrainPatchRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchedConstrainPatchRequestWithDefaults ¶
func NewPatchedConstrainPatchRequestWithDefaults() *PatchedConstrainPatchRequest
NewPatchedConstrainPatchRequestWithDefaults instantiates a new PatchedConstrainPatchRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PatchedConstrainPatchRequest) GetConfig ¶
func (o *PatchedConstrainPatchRequest) GetConfig() ConstrainRequest
GetConfig returns the Config field value if set, zero value otherwise.
func (*PatchedConstrainPatchRequest) GetConfigOk ¶
func (o *PatchedConstrainPatchRequest) GetConfigOk() (*ConstrainRequest, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedConstrainPatchRequest) GetJobId ¶
func (o *PatchedConstrainPatchRequest) GetJobId() string
GetJobId returns the JobId field value if set, zero value otherwise.
func (*PatchedConstrainPatchRequest) GetJobIdOk ¶
func (o *PatchedConstrainPatchRequest) GetJobIdOk() (*string, bool)
GetJobIdOk returns a tuple with the JobId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedConstrainPatchRequest) HasConfig ¶
func (o *PatchedConstrainPatchRequest) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*PatchedConstrainPatchRequest) HasJobId ¶
func (o *PatchedConstrainPatchRequest) HasJobId() bool
HasJobId returns a boolean if a field has been set.
func (PatchedConstrainPatchRequest) MarshalJSON ¶
func (o PatchedConstrainPatchRequest) MarshalJSON() ([]byte, error)
func (*PatchedConstrainPatchRequest) SetConfig ¶
func (o *PatchedConstrainPatchRequest) SetConfig(v ConstrainRequest)
SetConfig gets a reference to the given ConstrainRequest and assigns it to the Config field.
func (*PatchedConstrainPatchRequest) SetJobId ¶
func (o *PatchedConstrainPatchRequest) SetJobId(v string)
SetJobId gets a reference to the given string and assigns it to the JobId field.
func (PatchedConstrainPatchRequest) ToMap ¶ added in v0.0.5
func (o PatchedConstrainPatchRequest) ToMap() (map[string]interface{}, error)
type PatchedJobUpdateRequest ¶ added in v0.0.9
type PatchedJobUpdateRequest struct { Logs *string `json:"logs,omitempty"` ExitCode *int32 `json:"exit_code,omitempty"` FinishedAt *time.Time `json:"finished_at,omitempty"` }
PatchedJobUpdateRequest Job update request serializer.
func NewPatchedJobUpdateRequest ¶ added in v0.0.9
func NewPatchedJobUpdateRequest() *PatchedJobUpdateRequest
NewPatchedJobUpdateRequest instantiates a new PatchedJobUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchedJobUpdateRequestWithDefaults ¶ added in v0.0.9
func NewPatchedJobUpdateRequestWithDefaults() *PatchedJobUpdateRequest
NewPatchedJobUpdateRequestWithDefaults instantiates a new PatchedJobUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PatchedJobUpdateRequest) GetExitCode ¶ added in v0.0.9
func (o *PatchedJobUpdateRequest) GetExitCode() int32
GetExitCode returns the ExitCode field value if set, zero value otherwise.
func (*PatchedJobUpdateRequest) GetExitCodeOk ¶ added in v0.0.9
func (o *PatchedJobUpdateRequest) GetExitCodeOk() (*int32, bool)
GetExitCodeOk returns a tuple with the ExitCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedJobUpdateRequest) GetFinishedAt ¶ added in v0.0.9
func (o *PatchedJobUpdateRequest) GetFinishedAt() time.Time
GetFinishedAt returns the FinishedAt field value if set, zero value otherwise.
func (*PatchedJobUpdateRequest) GetFinishedAtOk ¶ added in v0.0.9
func (o *PatchedJobUpdateRequest) GetFinishedAtOk() (*time.Time, bool)
GetFinishedAtOk returns a tuple with the FinishedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedJobUpdateRequest) GetLogs ¶ added in v0.0.9
func (o *PatchedJobUpdateRequest) GetLogs() string
GetLogs returns the Logs field value if set, zero value otherwise.
func (*PatchedJobUpdateRequest) GetLogsOk ¶ added in v0.0.9
func (o *PatchedJobUpdateRequest) GetLogsOk() (*string, bool)
GetLogsOk returns a tuple with the Logs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedJobUpdateRequest) HasExitCode ¶ added in v0.0.9
func (o *PatchedJobUpdateRequest) HasExitCode() bool
HasExitCode returns a boolean if a field has been set.
func (*PatchedJobUpdateRequest) HasFinishedAt ¶ added in v0.0.9
func (o *PatchedJobUpdateRequest) HasFinishedAt() bool
HasFinishedAt returns a boolean if a field has been set.
func (*PatchedJobUpdateRequest) HasLogs ¶ added in v0.0.9
func (o *PatchedJobUpdateRequest) HasLogs() bool
HasLogs returns a boolean if a field has been set.
func (PatchedJobUpdateRequest) MarshalJSON ¶ added in v0.0.9
func (o PatchedJobUpdateRequest) MarshalJSON() ([]byte, error)
func (*PatchedJobUpdateRequest) SetExitCode ¶ added in v0.0.9
func (o *PatchedJobUpdateRequest) SetExitCode(v int32)
SetExitCode gets a reference to the given int32 and assigns it to the ExitCode field.
func (*PatchedJobUpdateRequest) SetFinishedAt ¶ added in v0.0.9
func (o *PatchedJobUpdateRequest) SetFinishedAt(v time.Time)
SetFinishedAt gets a reference to the given time.Time and assigns it to the FinishedAt field.
func (*PatchedJobUpdateRequest) SetLogs ¶ added in v0.0.9
func (o *PatchedJobUpdateRequest) SetLogs(v string)
SetLogs gets a reference to the given string and assigns it to the Logs field.
func (PatchedJobUpdateRequest) ToMap ¶ added in v0.0.9
func (o PatchedJobUpdateRequest) ToMap() (map[string]interface{}, error)
type PickledHandleField ¶
type PickledHandleField struct { DockerUser NullableString `json:"docker_user,omitempty"` StableInternalIp NullableString `json:"stable_internal_ip,omitempty"` StableExternalIp NullableString `json:"stable_external_ip,omitempty"` StableSshPorts []int32 `json:"stable_ssh_ports,omitempty"` SshUser NullableString `json:"ssh_user,omitempty"` }
PickledHandleField Custom field serializer for pickled handle data.
func NewPickledHandleField ¶
func NewPickledHandleField() *PickledHandleField
NewPickledHandleField instantiates a new PickledHandleField object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPickledHandleFieldWithDefaults ¶
func NewPickledHandleFieldWithDefaults() *PickledHandleField
NewPickledHandleFieldWithDefaults instantiates a new PickledHandleField object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PickledHandleField) GetDockerUser ¶ added in v0.0.14
func (o *PickledHandleField) GetDockerUser() string
GetDockerUser returns the DockerUser field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PickledHandleField) GetDockerUserOk ¶ added in v0.0.14
func (o *PickledHandleField) GetDockerUserOk() (*string, bool)
GetDockerUserOk returns a tuple with the DockerUser field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PickledHandleField) GetSshUser ¶
func (o *PickledHandleField) GetSshUser() string
GetSshUser returns the SshUser field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PickledHandleField) GetSshUserOk ¶
func (o *PickledHandleField) GetSshUserOk() (*string, bool)
GetSshUserOk returns a tuple with the SshUser field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PickledHandleField) GetStableExternalIp ¶
func (o *PickledHandleField) GetStableExternalIp() string
GetStableExternalIp returns the StableExternalIp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PickledHandleField) GetStableExternalIpOk ¶
func (o *PickledHandleField) GetStableExternalIpOk() (*string, bool)
GetStableExternalIpOk returns a tuple with the StableExternalIp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PickledHandleField) GetStableInternalIp ¶
func (o *PickledHandleField) GetStableInternalIp() string
GetStableInternalIp returns the StableInternalIp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PickledHandleField) GetStableInternalIpOk ¶
func (o *PickledHandleField) GetStableInternalIpOk() (*string, bool)
GetStableInternalIpOk returns a tuple with the StableInternalIp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PickledHandleField) GetStableSshPorts ¶
func (o *PickledHandleField) GetStableSshPorts() []int32
GetStableSshPorts returns the StableSshPorts field value if set, zero value otherwise.
func (*PickledHandleField) GetStableSshPortsOk ¶
func (o *PickledHandleField) GetStableSshPortsOk() ([]int32, bool)
GetStableSshPortsOk returns a tuple with the StableSshPorts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PickledHandleField) HasDockerUser ¶ added in v0.0.14
func (o *PickledHandleField) HasDockerUser() bool
HasDockerUser returns a boolean if a field has been set.
func (*PickledHandleField) HasSshUser ¶ added in v0.0.5
func (o *PickledHandleField) HasSshUser() bool
HasSshUser returns a boolean if a field has been set.
func (*PickledHandleField) HasStableExternalIp ¶ added in v0.0.5
func (o *PickledHandleField) HasStableExternalIp() bool
HasStableExternalIp returns a boolean if a field has been set.
func (*PickledHandleField) HasStableInternalIp ¶ added in v0.0.5
func (o *PickledHandleField) HasStableInternalIp() bool
HasStableInternalIp returns a boolean if a field has been set.
func (*PickledHandleField) HasStableSshPorts ¶ added in v0.0.5
func (o *PickledHandleField) HasStableSshPorts() bool
HasStableSshPorts returns a boolean if a field has been set.
func (PickledHandleField) MarshalJSON ¶
func (o PickledHandleField) MarshalJSON() ([]byte, error)
func (*PickledHandleField) SetDockerUser ¶ added in v0.0.14
func (o *PickledHandleField) SetDockerUser(v string)
SetDockerUser gets a reference to the given NullableString and assigns it to the DockerUser field.
func (*PickledHandleField) SetDockerUserNil ¶ added in v0.0.14
func (o *PickledHandleField) SetDockerUserNil()
SetDockerUserNil sets the value for DockerUser to be an explicit nil
func (*PickledHandleField) SetSshUser ¶
func (o *PickledHandleField) SetSshUser(v string)
SetSshUser gets a reference to the given NullableString and assigns it to the SshUser field.
func (*PickledHandleField) SetSshUserNil ¶ added in v0.0.5
func (o *PickledHandleField) SetSshUserNil()
SetSshUserNil sets the value for SshUser to be an explicit nil
func (*PickledHandleField) SetStableExternalIp ¶
func (o *PickledHandleField) SetStableExternalIp(v string)
SetStableExternalIp gets a reference to the given NullableString and assigns it to the StableExternalIp field.
func (*PickledHandleField) SetStableExternalIpNil ¶ added in v0.0.5
func (o *PickledHandleField) SetStableExternalIpNil()
SetStableExternalIpNil sets the value for StableExternalIp to be an explicit nil
func (*PickledHandleField) SetStableInternalIp ¶
func (o *PickledHandleField) SetStableInternalIp(v string)
SetStableInternalIp gets a reference to the given NullableString and assigns it to the StableInternalIp field.
func (*PickledHandleField) SetStableInternalIpNil ¶ added in v0.0.5
func (o *PickledHandleField) SetStableInternalIpNil()
SetStableInternalIpNil sets the value for StableInternalIp to be an explicit nil
func (*PickledHandleField) SetStableSshPorts ¶
func (o *PickledHandleField) SetStableSshPorts(v []int32)
SetStableSshPorts gets a reference to the given []int32 and assigns it to the StableSshPorts field.
func (PickledHandleField) ToMap ¶ added in v0.0.5
func (o PickledHandleField) ToMap() (map[string]interface{}, error)
func (*PickledHandleField) UnsetDockerUser ¶ added in v0.0.14
func (o *PickledHandleField) UnsetDockerUser()
UnsetDockerUser ensures that no value is present for DockerUser, not even an explicit nil
func (*PickledHandleField) UnsetSshUser ¶ added in v0.0.5
func (o *PickledHandleField) UnsetSshUser()
UnsetSshUser ensures that no value is present for SshUser, not even an explicit nil
func (*PickledHandleField) UnsetStableExternalIp ¶ added in v0.0.5
func (o *PickledHandleField) UnsetStableExternalIp()
UnsetStableExternalIp ensures that no value is present for StableExternalIp, not even an explicit nil
func (*PickledHandleField) UnsetStableInternalIp ¶ added in v0.0.5
func (o *PickledHandleField) UnsetStableInternalIp()
UnsetStableInternalIp ensures that no value is present for StableInternalIp, not even an explicit nil
type Project ¶
type Project struct { Name string `json:"name"` ProjectId string `json:"project_id"` Type string `json:"type"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Env map[string]interface{} `json:"env,omitempty"` }
Project Project serializer.
func NewProject ¶
func NewProject(name string, projectId string, type_ string, createdAt time.Time, updatedAt time.Time) *Project
NewProject instantiates a new Project object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProjectWithDefaults ¶
func NewProjectWithDefaults() *Project
NewProjectWithDefaults instantiates a new Project object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Project) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Project) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Project) GetEnv ¶ added in v0.0.16
GetEnv returns the Env field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Project) GetEnvOk ¶ added in v0.0.16
GetEnvOk returns a tuple with the Env field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Project) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Project) GetProjectId ¶
GetProjectId returns the ProjectId field value
func (*Project) GetProjectIdOk ¶
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (*Project) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Project) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Project) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (Project) MarshalJSON ¶
func (*Project) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Project) SetEnv ¶ added in v0.0.16
SetEnv gets a reference to the given map[string]interface{} and assigns it to the Env field.
func (*Project) SetProjectId ¶
SetProjectId sets field value
func (*Project) SetUpdatedAt ¶
SetUpdatedAt sets field value
func (*Project) UnmarshalJSON ¶ added in v0.0.5
type ProjectCreateRequest ¶
type ProjectCreateRequest struct {
Name string `json:"name"`
}
ProjectCreateRequest Project create request serializer.
func NewProjectCreateRequest ¶
func NewProjectCreateRequest(name string) *ProjectCreateRequest
NewProjectCreateRequest instantiates a new ProjectCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProjectCreateRequestWithDefaults ¶
func NewProjectCreateRequestWithDefaults() *ProjectCreateRequest
NewProjectCreateRequestWithDefaults instantiates a new ProjectCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProjectCreateRequest) GetName ¶
func (o *ProjectCreateRequest) GetName() string
GetName returns the Name field value
func (*ProjectCreateRequest) GetNameOk ¶
func (o *ProjectCreateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (ProjectCreateRequest) MarshalJSON ¶
func (o ProjectCreateRequest) MarshalJSON() ([]byte, error)
func (*ProjectCreateRequest) SetName ¶
func (o *ProjectCreateRequest) SetName(v string)
SetName sets field value
func (ProjectCreateRequest) ToMap ¶ added in v0.0.5
func (o ProjectCreateRequest) ToMap() (map[string]interface{}, error)
func (*ProjectCreateRequest) UnmarshalJSON ¶ added in v0.0.5
func (o *ProjectCreateRequest) UnmarshalJSON(data []byte) (err error)
type ProjectsAPIService ¶ added in v0.0.5
type ProjectsAPIService service
ProjectsAPIService ProjectsAPI service
func (*ProjectsAPIService) CreateProject ¶ added in v0.0.5
func (a *ProjectsAPIService) CreateProject(ctx context.Context) ApiCreateProjectRequest
CreateProject Method for CreateProject
Create a new project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateProjectRequest
func (*ProjectsAPIService) CreateProjectExecute ¶ added in v0.0.5
func (a *ProjectsAPIService) CreateProjectExecute(r ApiCreateProjectRequest) (*Project, *http.Response, error)
Execute executes the request
@return Project
func (*ProjectsAPIService) DeleteProject ¶ added in v0.0.5
func (a *ProjectsAPIService) DeleteProject(ctx context.Context, projectId string) ApiDeleteProjectRequest
DeleteProject Method for DeleteProject
Delete a specific project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @return ApiDeleteProjectRequest
func (*ProjectsAPIService) DeleteProjectExecute ¶ added in v0.0.5
func (a *ProjectsAPIService) DeleteProjectExecute(r ApiDeleteProjectRequest) (*http.Response, error)
Execute executes the request
func (*ProjectsAPIService) ListProjects ¶ added in v0.0.5
func (a *ProjectsAPIService) ListProjects(ctx context.Context) ApiListProjectsRequest
ListProjects Method for ListProjects
List all projects for the authenticated user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListProjectsRequest
func (*ProjectsAPIService) ListProjectsExecute ¶ added in v0.0.5
func (a *ProjectsAPIService) ListProjectsExecute(r ApiListProjectsRequest) (*ProjectsGetResponse, *http.Response, error)
Execute executes the request
@return ProjectsGetResponse
func (*ProjectsAPIService) ProjectsJobsRetrieve ¶ added in v0.0.5
func (a *ProjectsAPIService) ProjectsJobsRetrieve(ctx context.Context, projectId string) ApiProjectsJobsRetrieveRequest
ProjectsJobsRetrieve Method for ProjectsJobsRetrieve
Get the jobs for the user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @return ApiProjectsJobsRetrieveRequest
func (*ProjectsAPIService) ProjectsJobsRetrieveExecute ¶ added in v0.0.5
func (a *ProjectsAPIService) ProjectsJobsRetrieveExecute(r ApiProjectsJobsRetrieveRequest) (*JobListResponse, *http.Response, error)
Execute executes the request
@return JobListResponse
func (*ProjectsAPIService) RetrieveProject ¶ added in v0.0.5
func (a *ProjectsAPIService) RetrieveProject(ctx context.Context, projectId string) ApiRetrieveProjectRequest
RetrieveProject Method for RetrieveProject
Retrieve a specific project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @return ApiRetrieveProjectRequest
func (*ProjectsAPIService) RetrieveProjectExecute ¶ added in v0.0.5
func (a *ProjectsAPIService) RetrieveProjectExecute(r ApiRetrieveProjectRequest) (*Project, *http.Response, error)
Execute executes the request
@return Project
type ProjectsGetResponse ¶
type ProjectsGetResponse struct {
Projects []Project `json:"projects"`
}
ProjectsGetResponse Projects serializer.
func NewProjectsGetResponse ¶
func NewProjectsGetResponse(projects []Project) *ProjectsGetResponse
NewProjectsGetResponse instantiates a new ProjectsGetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProjectsGetResponseWithDefaults ¶
func NewProjectsGetResponseWithDefaults() *ProjectsGetResponse
NewProjectsGetResponseWithDefaults instantiates a new ProjectsGetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProjectsGetResponse) GetProjects ¶
func (o *ProjectsGetResponse) GetProjects() []Project
GetProjects returns the Projects field value
func (*ProjectsGetResponse) GetProjectsOk ¶
func (o *ProjectsGetResponse) GetProjectsOk() ([]Project, bool)
GetProjectsOk returns a tuple with the Projects field value and a boolean to check if the value has been set.
func (ProjectsGetResponse) MarshalJSON ¶
func (o ProjectsGetResponse) MarshalJSON() ([]byte, error)
func (*ProjectsGetResponse) SetProjects ¶
func (o *ProjectsGetResponse) SetProjects(v []Project)
SetProjects sets field value
func (ProjectsGetResponse) ToMap ¶ added in v0.0.5
func (o ProjectsGetResponse) ToMap() (map[string]interface{}, error)
func (*ProjectsGetResponse) UnmarshalJSON ¶ added in v0.0.5
func (o *ProjectsGetResponse) UnmarshalJSON(data []byte) (err error)
type ProvisionAPIService ¶ added in v0.0.8
type ProvisionAPIService service
ProvisionAPIService ProvisionAPI service
func (*ProvisionAPIService) ProvisionRetrieve ¶ added in v0.0.8
func (a *ProvisionAPIService) ProvisionRetrieve(ctx context.Context, provisionId string) ApiProvisionRetrieveRequest
ProvisionRetrieve Method for ProvisionRetrieve
Retrieve the current status of a Cluster.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provisionId @return ApiProvisionRetrieveRequest
func (*ProvisionAPIService) ProvisionRetrieveExecute ¶ added in v0.0.8
func (a *ProvisionAPIService) ProvisionRetrieveExecute(r ApiProvisionRetrieveRequest) (*ProvisionLog, *http.Response, error)
Execute executes the request
@return ProvisionLog
type ProvisionLog ¶ added in v0.0.8
type ProvisionLog struct { Cluster Cluster `json:"cluster"` ProvisionId string `json:"provision_id"` StepName string `json:"step_name"` Status *ProvisionLogStatusEnum `json:"status,omitempty"` Message NullableString `json:"message,omitempty"` StartedAt time.Time `json:"started_at"` UpdatedAt time.Time `json:"updated_at"` }
ProvisionLog struct for ProvisionLog
func NewProvisionLog ¶ added in v0.0.8
func NewProvisionLog(cluster Cluster, provisionId string, stepName string, startedAt time.Time, updatedAt time.Time) *ProvisionLog
NewProvisionLog instantiates a new ProvisionLog object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProvisionLogWithDefaults ¶ added in v0.0.8
func NewProvisionLogWithDefaults() *ProvisionLog
NewProvisionLogWithDefaults instantiates a new ProvisionLog object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProvisionLog) GetCluster ¶ added in v0.0.8
func (o *ProvisionLog) GetCluster() Cluster
GetCluster returns the Cluster field value
func (*ProvisionLog) GetClusterOk ¶ added in v0.0.8
func (o *ProvisionLog) GetClusterOk() (*Cluster, bool)
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*ProvisionLog) GetMessage ¶ added in v0.0.8
func (o *ProvisionLog) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ProvisionLog) GetMessageOk ¶ added in v0.0.8
func (o *ProvisionLog) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ProvisionLog) GetProvisionId ¶ added in v0.0.8
func (o *ProvisionLog) GetProvisionId() string
GetProvisionId returns the ProvisionId field value
func (*ProvisionLog) GetProvisionIdOk ¶ added in v0.0.8
func (o *ProvisionLog) GetProvisionIdOk() (*string, bool)
GetProvisionIdOk returns a tuple with the ProvisionId field value and a boolean to check if the value has been set.
func (*ProvisionLog) GetStartedAt ¶ added in v0.0.8
func (o *ProvisionLog) GetStartedAt() time.Time
GetStartedAt returns the StartedAt field value
func (*ProvisionLog) GetStartedAtOk ¶ added in v0.0.8
func (o *ProvisionLog) GetStartedAtOk() (*time.Time, bool)
GetStartedAtOk returns a tuple with the StartedAt field value and a boolean to check if the value has been set.
func (*ProvisionLog) GetStatus ¶ added in v0.0.8
func (o *ProvisionLog) GetStatus() ProvisionLogStatusEnum
GetStatus returns the Status field value if set, zero value otherwise.
func (*ProvisionLog) GetStatusOk ¶ added in v0.0.8
func (o *ProvisionLog) GetStatusOk() (*ProvisionLogStatusEnum, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProvisionLog) GetStepName ¶ added in v0.0.8
func (o *ProvisionLog) GetStepName() string
GetStepName returns the StepName field value
func (*ProvisionLog) GetStepNameOk ¶ added in v0.0.8
func (o *ProvisionLog) GetStepNameOk() (*string, bool)
GetStepNameOk returns a tuple with the StepName field value and a boolean to check if the value has been set.
func (*ProvisionLog) GetUpdatedAt ¶ added in v0.0.8
func (o *ProvisionLog) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*ProvisionLog) GetUpdatedAtOk ¶ added in v0.0.8
func (o *ProvisionLog) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*ProvisionLog) HasMessage ¶ added in v0.0.8
func (o *ProvisionLog) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ProvisionLog) HasStatus ¶ added in v0.0.8
func (o *ProvisionLog) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ProvisionLog) MarshalJSON ¶ added in v0.0.8
func (o ProvisionLog) MarshalJSON() ([]byte, error)
func (*ProvisionLog) SetCluster ¶ added in v0.0.8
func (o *ProvisionLog) SetCluster(v Cluster)
SetCluster sets field value
func (*ProvisionLog) SetMessage ¶ added in v0.0.8
func (o *ProvisionLog) SetMessage(v string)
SetMessage gets a reference to the given NullableString and assigns it to the Message field.
func (*ProvisionLog) SetMessageNil ¶ added in v0.0.8
func (o *ProvisionLog) SetMessageNil()
SetMessageNil sets the value for Message to be an explicit nil
func (*ProvisionLog) SetProvisionId ¶ added in v0.0.8
func (o *ProvisionLog) SetProvisionId(v string)
SetProvisionId sets field value
func (*ProvisionLog) SetStartedAt ¶ added in v0.0.8
func (o *ProvisionLog) SetStartedAt(v time.Time)
SetStartedAt sets field value
func (*ProvisionLog) SetStatus ¶ added in v0.0.8
func (o *ProvisionLog) SetStatus(v ProvisionLogStatusEnum)
SetStatus gets a reference to the given ProvisionLogStatusEnum and assigns it to the Status field.
func (*ProvisionLog) SetStepName ¶ added in v0.0.8
func (o *ProvisionLog) SetStepName(v string)
SetStepName sets field value
func (*ProvisionLog) SetUpdatedAt ¶ added in v0.0.8
func (o *ProvisionLog) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
func (ProvisionLog) ToMap ¶ added in v0.0.8
func (o ProvisionLog) ToMap() (map[string]interface{}, error)
func (*ProvisionLog) UnmarshalJSON ¶ added in v0.0.8
func (o *ProvisionLog) UnmarshalJSON(data []byte) (err error)
func (*ProvisionLog) UnsetMessage ¶ added in v0.0.8
func (o *ProvisionLog) UnsetMessage()
UnsetMessage ensures that no value is present for Message, not even an explicit nil
type ProvisionLogStatusEnum ¶ added in v0.0.8
type ProvisionLogStatusEnum string
ProvisionLogStatusEnum * `PENDING` - PROVISION_PENDING * `IN_PROGRESS` - PROVISION_IN_PROGRESS * `TRANSFER_SSH` - PROVISION_TRANSFER_SSH * `SETUP_BUCKETS` - PROVISION_SETUP_BUCKETS * `SYNC_FILE_MOUNTS` - PROVISION_SYNC_FILE_MOUNTS * `COMPLETED` - PROVISION_COMPLETED * `FAILED` - PROVISION_FAILED
const ( PENDING ProvisionLogStatusEnum = "PENDING" IN_PROGRESS ProvisionLogStatusEnum = "IN_PROGRESS" TRANSFER_SSH ProvisionLogStatusEnum = "TRANSFER_SSH" SETUP_BUCKETS ProvisionLogStatusEnum = "SETUP_BUCKETS" SYNC_FILE_MOUNTS ProvisionLogStatusEnum = "SYNC_FILE_MOUNTS" COMPLETED ProvisionLogStatusEnum = "COMPLETED" FAILED ProvisionLogStatusEnum = "FAILED" )
List of ProvisionLogStatusEnum
func NewProvisionLogStatusEnumFromValue ¶ added in v0.0.8
func NewProvisionLogStatusEnumFromValue(v string) (*ProvisionLogStatusEnum, error)
NewProvisionLogStatusEnumFromValue returns a pointer to a valid ProvisionLogStatusEnum for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ProvisionLogStatusEnum) IsValid ¶ added in v0.0.8
func (v ProvisionLogStatusEnum) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ProvisionLogStatusEnum) Ptr ¶ added in v0.0.8
func (v ProvisionLogStatusEnum) Ptr() *ProvisionLogStatusEnum
Ptr returns reference to ProvisionLogStatusEnum value
func (*ProvisionLogStatusEnum) UnmarshalJSON ¶ added in v0.0.8
func (v *ProvisionLogStatusEnum) UnmarshalJSON(src []byte) error
type Resources ¶
type Resources struct { Clouds []*string `json:"clouds,omitempty"` InstanceTypes []*string `json:"instance_types,omitempty"` DockerImage NullableString `json:"docker_image,omitempty"` Regions []*string `json:"regions,omitempty"` Areas []*string `json:"areas,omitempty"` Memory NullableInt32 `json:"memory,omitempty"` Cpus NullableInt32 `json:"cpus,omitempty"` Storage NullableInt32 `json:"storage,omitempty"` PersistentDisk NullableInt32 `json:"persistent_disk,omitempty"` Accelerators []*string `json:"accelerators"` ComputeCapability NullableString `json:"compute_capability,omitempty"` Vram NullableInt32 `json:"vram,omitempty"` AcceleratorCount NullableInt32 `json:"accelerator_count,omitempty"` Platform NullableString `json:"platform,omitempty"` }
Resources Resource configuration serializer.
func NewResources ¶
NewResources instantiates a new Resources object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResourcesWithDefaults ¶
func NewResourcesWithDefaults() *Resources
NewResourcesWithDefaults instantiates a new Resources object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Resources) GetAcceleratorCount ¶
GetAcceleratorCount returns the AcceleratorCount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Resources) GetAcceleratorCountOk ¶
GetAcceleratorCountOk returns a tuple with the AcceleratorCount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) GetAccelerators ¶
GetAccelerators returns the Accelerators field value If the value is explicit nil, the zero value for []*string will be returned
func (*Resources) GetAcceleratorsOk ¶
GetAcceleratorsOk returns a tuple with the Accelerators field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) GetAreasOk ¶
GetAreasOk returns a tuple with the Areas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resources) GetClouds ¶
GetClouds returns the Clouds field value if set, zero value otherwise.
func (*Resources) GetCloudsOk ¶
GetCloudsOk returns a tuple with the Clouds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resources) GetComputeCapability ¶
GetComputeCapability returns the ComputeCapability field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Resources) GetComputeCapabilityOk ¶
GetComputeCapabilityOk returns a tuple with the ComputeCapability field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) GetCpus ¶
GetCpus returns the Cpus field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Resources) GetCpusOk ¶
GetCpusOk returns a tuple with the Cpus field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) GetDockerImage ¶ added in v0.0.13
GetDockerImage returns the DockerImage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Resources) GetDockerImageOk ¶ added in v0.0.13
GetDockerImageOk returns a tuple with the DockerImage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) GetInstanceTypes ¶ added in v0.0.15
GetInstanceTypes returns the InstanceTypes field value if set, zero value otherwise.
func (*Resources) GetInstanceTypesOk ¶ added in v0.0.15
GetInstanceTypesOk returns a tuple with the InstanceTypes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resources) GetMemory ¶
GetMemory returns the Memory field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Resources) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) GetPersistentDisk ¶
GetPersistentDisk returns the PersistentDisk field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Resources) GetPersistentDiskOk ¶
GetPersistentDiskOk returns a tuple with the PersistentDisk field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) GetPlatform ¶
GetPlatform returns the Platform field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Resources) GetPlatformOk ¶
GetPlatformOk returns a tuple with the Platform field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) GetRegions ¶
GetRegions returns the Regions field value if set, zero value otherwise.
func (*Resources) GetRegionsOk ¶
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resources) GetStorage ¶
GetStorage returns the Storage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Resources) GetStorageOk ¶
GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) GetVram ¶
GetVram returns the Vram field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Resources) GetVramOk ¶
GetVramOk returns a tuple with the Vram field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Resources) HasAcceleratorCount ¶
HasAcceleratorCount returns a boolean if a field has been set.
func (*Resources) HasComputeCapability ¶
HasComputeCapability returns a boolean if a field has been set.
func (*Resources) HasDockerImage ¶ added in v0.0.13
HasDockerImage returns a boolean if a field has been set.
func (*Resources) HasInstanceTypes ¶ added in v0.0.15
HasInstanceTypes returns a boolean if a field has been set.
func (*Resources) HasPersistentDisk ¶
HasPersistentDisk returns a boolean if a field has been set.
func (*Resources) HasPlatform ¶
HasPlatform returns a boolean if a field has been set.
func (*Resources) HasRegions ¶
HasRegions returns a boolean if a field has been set.
func (*Resources) HasStorage ¶
HasStorage returns a boolean if a field has been set.
func (Resources) MarshalJSON ¶
func (*Resources) SetAcceleratorCount ¶
SetAcceleratorCount gets a reference to the given NullableInt32 and assigns it to the AcceleratorCount field.
func (*Resources) SetAcceleratorCountNil ¶
func (o *Resources) SetAcceleratorCountNil()
SetAcceleratorCountNil sets the value for AcceleratorCount to be an explicit nil
func (*Resources) SetAccelerators ¶
SetAccelerators sets field value
func (*Resources) SetAreas ¶
SetAreas gets a reference to the given []*string and assigns it to the Areas field.
func (*Resources) SetClouds ¶
SetClouds gets a reference to the given []*string and assigns it to the Clouds field.
func (*Resources) SetComputeCapability ¶
SetComputeCapability gets a reference to the given NullableString and assigns it to the ComputeCapability field.
func (*Resources) SetComputeCapabilityNil ¶
func (o *Resources) SetComputeCapabilityNil()
SetComputeCapabilityNil sets the value for ComputeCapability to be an explicit nil
func (*Resources) SetCpus ¶
SetCpus gets a reference to the given NullableInt32 and assigns it to the Cpus field.
func (*Resources) SetCpusNil ¶
func (o *Resources) SetCpusNil()
SetCpusNil sets the value for Cpus to be an explicit nil
func (*Resources) SetDockerImage ¶ added in v0.0.13
SetDockerImage gets a reference to the given NullableString and assigns it to the DockerImage field.
func (*Resources) SetDockerImageNil ¶ added in v0.0.13
func (o *Resources) SetDockerImageNil()
SetDockerImageNil sets the value for DockerImage to be an explicit nil
func (*Resources) SetInstanceTypes ¶ added in v0.0.15
SetInstanceTypes gets a reference to the given []*string and assigns it to the InstanceTypes field.
func (*Resources) SetMemory ¶
SetMemory gets a reference to the given NullableInt32 and assigns it to the Memory field.
func (*Resources) SetMemoryNil ¶
func (o *Resources) SetMemoryNil()
SetMemoryNil sets the value for Memory to be an explicit nil
func (*Resources) SetPersistentDisk ¶
SetPersistentDisk gets a reference to the given NullableInt32 and assigns it to the PersistentDisk field.
func (*Resources) SetPersistentDiskNil ¶
func (o *Resources) SetPersistentDiskNil()
SetPersistentDiskNil sets the value for PersistentDisk to be an explicit nil
func (*Resources) SetPlatform ¶
SetPlatform gets a reference to the given NullableString and assigns it to the Platform field.
func (*Resources) SetPlatformNil ¶
func (o *Resources) SetPlatformNil()
SetPlatformNil sets the value for Platform to be an explicit nil
func (*Resources) SetRegions ¶
SetRegions gets a reference to the given []*string and assigns it to the Regions field.
func (*Resources) SetStorage ¶
SetStorage gets a reference to the given NullableInt32 and assigns it to the Storage field.
func (*Resources) SetStorageNil ¶
func (o *Resources) SetStorageNil()
SetStorageNil sets the value for Storage to be an explicit nil
func (*Resources) SetVram ¶
SetVram gets a reference to the given NullableInt32 and assigns it to the Vram field.
func (*Resources) SetVramNil ¶
func (o *Resources) SetVramNil()
SetVramNil sets the value for Vram to be an explicit nil
func (*Resources) UnmarshalJSON ¶ added in v0.0.5
func (*Resources) UnsetAcceleratorCount ¶
func (o *Resources) UnsetAcceleratorCount()
UnsetAcceleratorCount ensures that no value is present for AcceleratorCount, not even an explicit nil
func (*Resources) UnsetComputeCapability ¶
func (o *Resources) UnsetComputeCapability()
UnsetComputeCapability ensures that no value is present for ComputeCapability, not even an explicit nil
func (*Resources) UnsetCpus ¶
func (o *Resources) UnsetCpus()
UnsetCpus ensures that no value is present for Cpus, not even an explicit nil
func (*Resources) UnsetDockerImage ¶ added in v0.0.13
func (o *Resources) UnsetDockerImage()
UnsetDockerImage ensures that no value is present for DockerImage, not even an explicit nil
func (*Resources) UnsetMemory ¶
func (o *Resources) UnsetMemory()
UnsetMemory ensures that no value is present for Memory, not even an explicit nil
func (*Resources) UnsetPersistentDisk ¶
func (o *Resources) UnsetPersistentDisk()
UnsetPersistentDisk ensures that no value is present for PersistentDisk, not even an explicit nil
func (*Resources) UnsetPlatform ¶
func (o *Resources) UnsetPlatform()
UnsetPlatform ensures that no value is present for Platform, not even an explicit nil
func (*Resources) UnsetStorage ¶
func (o *Resources) UnsetStorage()
UnsetStorage ensures that no value is present for Storage, not even an explicit nil
type Score ¶ added in v0.0.11
type Score struct { // Relative performance of the offer compared to the current configuration. A float value describing estimated proportional performance of the resource with the given workload. A value of 1 is equal performance, 2 is double performance and 0.5 is half performance. RelPerf float64 `json:"rel_perf"` // Relative price of the offer compared to the current configuration. A float value describing estimated proportional price of the resource with the given workload. A value of 1 is equal price, 2 is double price and 0.5 is half price. RelPrice float64 `json:"rel_price"` // Weighted score of the configuration taking into consideration the workload type, cost to performance weighting and more. Higher is better. WeightedScore float64 `json:"weighted_score"` }
Score struct for Score
func NewScore ¶ added in v0.0.11
NewScore instantiates a new Score object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewScoreWithDefaults ¶ added in v0.0.11
func NewScoreWithDefaults() *Score
NewScoreWithDefaults instantiates a new Score object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Score) GetRelPerf ¶ added in v0.0.11
GetRelPerf returns the RelPerf field value
func (*Score) GetRelPerfOk ¶ added in v0.0.11
GetRelPerfOk returns a tuple with the RelPerf field value and a boolean to check if the value has been set.
func (*Score) GetRelPrice ¶ added in v0.0.11
GetRelPrice returns the RelPrice field value
func (*Score) GetRelPriceOk ¶ added in v0.0.11
GetRelPriceOk returns a tuple with the RelPrice field value and a boolean to check if the value has been set.
func (*Score) GetWeightedScore ¶ added in v0.0.11
GetWeightedScore returns the WeightedScore field value
func (*Score) GetWeightedScoreOk ¶ added in v0.0.11
GetWeightedScoreOk returns a tuple with the WeightedScore field value and a boolean to check if the value has been set.
func (Score) MarshalJSON ¶ added in v0.0.11
func (*Score) SetRelPerf ¶ added in v0.0.11
SetRelPerf sets field value
func (*Score) SetRelPrice ¶ added in v0.0.11
SetRelPrice sets field value
func (*Score) SetWeightedScore ¶ added in v0.0.11
SetWeightedScore sets field value
func (*Score) UnmarshalJSON ¶ added in v0.0.11
type Script ¶
type Script struct {
Script []string `json:"script"`
}
Script Script configuration serializer.
func NewScript ¶
NewScript instantiates a new Script object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewScriptWithDefaults ¶
func NewScriptWithDefaults() *Script
NewScriptWithDefaults instantiates a new Script object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Script) GetScriptOk ¶
GetScriptOk returns a tuple with the Script field value and a boolean to check if the value has been set.
func (Script) MarshalJSON ¶
func (*Script) UnmarshalJSON ¶ added in v0.0.5
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type TempJobPostRequest ¶ added in v0.0.7
type TempJobPostRequest struct { Cluster Cluster `json:"cluster"` Config ConstrainRequest `json:"config"` Project Project `json:"project"` }
TempJobPostRequest Job detail post request serialier
func NewTempJobPostRequest ¶ added in v0.0.7
func NewTempJobPostRequest(cluster Cluster, config ConstrainRequest, project Project) *TempJobPostRequest
NewTempJobPostRequest instantiates a new TempJobPostRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTempJobPostRequestWithDefaults ¶ added in v0.0.7
func NewTempJobPostRequestWithDefaults() *TempJobPostRequest
NewTempJobPostRequestWithDefaults instantiates a new TempJobPostRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TempJobPostRequest) GetCluster ¶ added in v0.0.7
func (o *TempJobPostRequest) GetCluster() Cluster
GetCluster returns the Cluster field value
func (*TempJobPostRequest) GetClusterOk ¶ added in v0.0.7
func (o *TempJobPostRequest) GetClusterOk() (*Cluster, bool)
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*TempJobPostRequest) GetConfig ¶ added in v0.0.7
func (o *TempJobPostRequest) GetConfig() ConstrainRequest
GetConfig returns the Config field value
func (*TempJobPostRequest) GetConfigOk ¶ added in v0.0.7
func (o *TempJobPostRequest) GetConfigOk() (*ConstrainRequest, bool)
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (*TempJobPostRequest) GetProject ¶ added in v0.0.7
func (o *TempJobPostRequest) GetProject() Project
GetProject returns the Project field value
func (*TempJobPostRequest) GetProjectOk ¶ added in v0.0.7
func (o *TempJobPostRequest) GetProjectOk() (*Project, bool)
GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.
func (TempJobPostRequest) MarshalJSON ¶ added in v0.0.7
func (o TempJobPostRequest) MarshalJSON() ([]byte, error)
func (*TempJobPostRequest) SetCluster ¶ added in v0.0.7
func (o *TempJobPostRequest) SetCluster(v Cluster)
SetCluster sets field value
func (*TempJobPostRequest) SetConfig ¶ added in v0.0.7
func (o *TempJobPostRequest) SetConfig(v ConstrainRequest)
SetConfig sets field value
func (*TempJobPostRequest) SetProject ¶ added in v0.0.7
func (o *TempJobPostRequest) SetProject(v Project)
SetProject sets field value
func (TempJobPostRequest) ToMap ¶ added in v0.0.7
func (o TempJobPostRequest) ToMap() (map[string]interface{}, error)
func (*TempJobPostRequest) UnmarshalJSON ¶ added in v0.0.7
func (o *TempJobPostRequest) UnmarshalJSON(data []byte) (err error)
type TypeEnum ¶
type TypeEnum string
TypeEnum * `local` - local * `git` - git * `docker` - docker
func NewTypeEnumFromValue ¶
NewTypeEnumFromValue returns a pointer to a valid TypeEnum for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*TypeEnum) UnmarshalJSON ¶
type User ¶ added in v0.0.6
type User struct {
Email string `json:"email"`
}
User User serializer.
func NewUser ¶ added in v0.0.6
NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserWithDefaults ¶ added in v0.0.6
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*User) GetEmailOk ¶ added in v0.0.6
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (User) MarshalJSON ¶ added in v0.0.6
func (*User) UnmarshalJSON ¶ added in v0.0.6
type UserPublicKeyRequest ¶
type UserPublicKeyRequest struct {
PublicKey string `json:"public_key"`
}
UserPublicKeyRequest struct for UserPublicKeyRequest
func NewUserPublicKeyRequest ¶
func NewUserPublicKeyRequest(publicKey string) *UserPublicKeyRequest
NewUserPublicKeyRequest instantiates a new UserPublicKeyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserPublicKeyRequestWithDefaults ¶
func NewUserPublicKeyRequestWithDefaults() *UserPublicKeyRequest
NewUserPublicKeyRequestWithDefaults instantiates a new UserPublicKeyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserPublicKeyRequest) GetPublicKey ¶
func (o *UserPublicKeyRequest) GetPublicKey() string
GetPublicKey returns the PublicKey field value
func (*UserPublicKeyRequest) GetPublicKeyOk ¶
func (o *UserPublicKeyRequest) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.
func (UserPublicKeyRequest) MarshalJSON ¶
func (o UserPublicKeyRequest) MarshalJSON() ([]byte, error)
func (*UserPublicKeyRequest) SetPublicKey ¶
func (o *UserPublicKeyRequest) SetPublicKey(v string)
SetPublicKey sets field value
func (UserPublicKeyRequest) ToMap ¶ added in v0.0.5
func (o UserPublicKeyRequest) ToMap() (map[string]interface{}, error)
func (*UserPublicKeyRequest) UnmarshalJSON ¶ added in v0.0.5
func (o *UserPublicKeyRequest) UnmarshalJSON(data []byte) (err error)
type UserPublicKeyResponse ¶
type UserPublicKeyResponse struct {
PublicKey string `json:"public_key"`
}
UserPublicKeyResponse struct for UserPublicKeyResponse
func NewUserPublicKeyResponse ¶
func NewUserPublicKeyResponse(publicKey string) *UserPublicKeyResponse
NewUserPublicKeyResponse instantiates a new UserPublicKeyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserPublicKeyResponseWithDefaults ¶
func NewUserPublicKeyResponseWithDefaults() *UserPublicKeyResponse
NewUserPublicKeyResponseWithDefaults instantiates a new UserPublicKeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserPublicKeyResponse) GetPublicKey ¶
func (o *UserPublicKeyResponse) GetPublicKey() string
GetPublicKey returns the PublicKey field value
func (*UserPublicKeyResponse) GetPublicKeyOk ¶
func (o *UserPublicKeyResponse) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.
func (UserPublicKeyResponse) MarshalJSON ¶
func (o UserPublicKeyResponse) MarshalJSON() ([]byte, error)
func (*UserPublicKeyResponse) SetPublicKey ¶
func (o *UserPublicKeyResponse) SetPublicKey(v string)
SetPublicKey sets field value
func (UserPublicKeyResponse) ToMap ¶ added in v0.0.5
func (o UserPublicKeyResponse) ToMap() (map[string]interface{}, error)
func (*UserPublicKeyResponse) UnmarshalJSON ¶ added in v0.0.5
func (o *UserPublicKeyResponse) UnmarshalJSON(data []byte) (err error)
type UserResponse ¶
type UserResponse struct {
Email string `json:"email"`
}
UserResponse struct for UserResponse
func NewUserResponse ¶
func NewUserResponse(email string) *UserResponse
NewUserResponse instantiates a new UserResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserResponseWithDefaults ¶
func NewUserResponseWithDefaults() *UserResponse
NewUserResponseWithDefaults instantiates a new UserResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserResponse) GetEmail ¶
func (o *UserResponse) GetEmail() string
GetEmail returns the Email field value
func (*UserResponse) GetEmailOk ¶
func (o *UserResponse) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (UserResponse) MarshalJSON ¶
func (o UserResponse) MarshalJSON() ([]byte, error)
func (UserResponse) ToMap ¶ added in v0.0.5
func (o UserResponse) ToMap() (map[string]interface{}, error)
func (*UserResponse) UnmarshalJSON ¶ added in v0.0.5
func (o *UserResponse) UnmarshalJSON(data []byte) (err error)
type UsersAPIService ¶ added in v0.0.5
type UsersAPIService service
UsersAPIService UsersAPI service
func (*UsersAPIService) UsersMePublicKeyCreate ¶ added in v0.0.5
func (a *UsersAPIService) UsersMePublicKeyCreate(ctx context.Context) ApiUsersMePublicKeyCreateRequest
UsersMePublicKeyCreate Method for UsersMePublicKeyCreate
Set the user's public key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUsersMePublicKeyCreateRequest
func (*UsersAPIService) UsersMePublicKeyCreateExecute ¶ added in v0.0.5
func (a *UsersAPIService) UsersMePublicKeyCreateExecute(r ApiUsersMePublicKeyCreateRequest) (*http.Response, error)
Execute executes the request
func (*UsersAPIService) UsersMePublicKeyRetrieve ¶ added in v0.0.5
func (a *UsersAPIService) UsersMePublicKeyRetrieve(ctx context.Context) ApiUsersMePublicKeyRetrieveRequest
UsersMePublicKeyRetrieve Method for UsersMePublicKeyRetrieve
Get the user's public key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUsersMePublicKeyRetrieveRequest
func (*UsersAPIService) UsersMePublicKeyRetrieveExecute ¶ added in v0.0.5
func (a *UsersAPIService) UsersMePublicKeyRetrieveExecute(r ApiUsersMePublicKeyRetrieveRequest) (*UserPublicKeyResponse, *http.Response, error)
Execute executes the request
@return UserPublicKeyResponse
func (*UsersAPIService) UsersMeRetrieve ¶ added in v0.0.5
func (a *UsersAPIService) UsersMeRetrieve(ctx context.Context) ApiUsersMeRetrieveRequest
UsersMeRetrieve Method for UsersMeRetrieve
Get the user information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUsersMeRetrieveRequest
func (*UsersAPIService) UsersMeRetrieveExecute ¶ added in v0.0.5
func (a *UsersAPIService) UsersMeRetrieveExecute(r ApiUsersMeRetrieveRequest) (*UserResponse, *http.Response, error)
Execute executes the request
@return UserResponse
type Workload ¶ added in v0.0.11
type Workload struct { WorkloadType WorkloadTypeEnum `json:"workload_type"` // A prompt describing the workload type you're running. Can be a LLM model name with precision, web hosting and more. WorkloadPrompt string `json:"workload_prompt"` // Weight factor balancing cost vs performance. -1 prioritizes cost, 1 prioritizes performance. For a balanced result, select 0. CostPerfWeight float64 `json:"cost_perf_weight"` }
Workload struct for Workload
func NewWorkload ¶ added in v0.0.11
func NewWorkload(workloadType WorkloadTypeEnum, workloadPrompt string, costPerfWeight float64) *Workload
NewWorkload instantiates a new Workload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWorkloadWithDefaults ¶ added in v0.0.11
func NewWorkloadWithDefaults() *Workload
NewWorkloadWithDefaults instantiates a new Workload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Workload) GetCostPerfWeight ¶ added in v0.0.11
GetCostPerfWeight returns the CostPerfWeight field value
func (*Workload) GetCostPerfWeightOk ¶ added in v0.0.11
GetCostPerfWeightOk returns a tuple with the CostPerfWeight field value and a boolean to check if the value has been set.
func (*Workload) GetWorkloadPrompt ¶ added in v0.0.11
GetWorkloadPrompt returns the WorkloadPrompt field value
func (*Workload) GetWorkloadPromptOk ¶ added in v0.0.11
GetWorkloadPromptOk returns a tuple with the WorkloadPrompt field value and a boolean to check if the value has been set.
func (*Workload) GetWorkloadType ¶ added in v0.0.11
func (o *Workload) GetWorkloadType() WorkloadTypeEnum
GetWorkloadType returns the WorkloadType field value
func (*Workload) GetWorkloadTypeOk ¶ added in v0.0.11
func (o *Workload) GetWorkloadTypeOk() (*WorkloadTypeEnum, bool)
GetWorkloadTypeOk returns a tuple with the WorkloadType field value and a boolean to check if the value has been set.
func (Workload) MarshalJSON ¶ added in v0.0.11
func (*Workload) SetCostPerfWeight ¶ added in v0.0.11
SetCostPerfWeight sets field value
func (*Workload) SetWorkloadPrompt ¶ added in v0.0.11
SetWorkloadPrompt sets field value
func (*Workload) SetWorkloadType ¶ added in v0.0.11
func (o *Workload) SetWorkloadType(v WorkloadTypeEnum)
SetWorkloadType sets field value
func (*Workload) UnmarshalJSON ¶ added in v0.0.11
type WorkloadTypeEnum ¶ added in v0.0.11
type WorkloadTypeEnum string
WorkloadTypeEnum * `batch` - batch * `serving` - serving
const ( BATCH WorkloadTypeEnum = "batch" SERVING WorkloadTypeEnum = "serving" )
List of WorkloadTypeEnum
func NewWorkloadTypeEnumFromValue ¶ added in v0.0.11
func NewWorkloadTypeEnumFromValue(v string) (*WorkloadTypeEnum, error)
NewWorkloadTypeEnumFromValue returns a pointer to a valid WorkloadTypeEnum for the value passed as argument, or an error if the value passed is not allowed by the enum
func (WorkloadTypeEnum) IsValid ¶ added in v0.0.11
func (v WorkloadTypeEnum) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (WorkloadTypeEnum) Ptr ¶ added in v0.0.11
func (v WorkloadTypeEnum) Ptr() *WorkloadTypeEnum
Ptr returns reference to WorkloadTypeEnum value
func (*WorkloadTypeEnum) UnmarshalJSON ¶ added in v0.0.11
func (v *WorkloadTypeEnum) UnmarshalJSON(src []byte) error
Source Files
¶
- api_analyze.go
- api_clusters.go
- api_constraints.go
- api_download.go
- api_job.go
- api_jobs.go
- api_projects.go
- api_provision.go
- api_users.go
- client.go
- configuration.go
- model_action_enum.go
- model_analyze_get_request.go
- model_analyze_get_response.go
- model_analyzer_result.go
- model_auto_stop.go
- model_bucket.go
- model_cluster.go
- model_cluster_action_request.go
- model_cluster_action_response.go
- model_cluster_list_response.go
- model_cluster_offer.go
- model_cluster_post_request.go
- model_cluster_post_response.go
- model_cluster_status_enum.go
- model_cluster_status_response.go
- model_constrain_request.go
- model_constrain_response.go
- model_download_response.go
- model_inputs.go
- model_io.go
- model_job.go
- model_job_config.go
- model_job_get_response.go
- model_job_list_response.go
- model_job_post_request.go
- model_job_update_response.go
- model_latest_cluster_log.go
- model_latest_cluster_log_status_enum.go
- model_notification_config.go
- model_outputs.go
- model_patched_constrain_patch_request.go
- model_patched_job_update_request.go
- model_pickled_handle_field.go
- model_project.go
- model_project_create_request.go
- model_projects_get_response.go
- model_provision_log.go
- model_provision_log_status_enum.go
- model_resources.go
- model_score.go
- model_script.go
- model_temp_job_post_request.go
- model_type_enum.go
- model_user.go
- model_user_public_key_request.go
- model_user_public_key_response.go
- model_user_response.go
- model_workload.go
- model_workload_type_enum.go
- response.go
- utils.go