Documentation
¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type CancelExecutionJobBadRequest
- type CancelExecutionJobForbidden
- type CancelExecutionJobInternalServerError
- func (s *CancelExecutionJobInternalServerError) Decode(d *jx.Decoder) error
- func (s *CancelExecutionJobInternalServerError) Encode(e *jx.Encoder)
- func (s *CancelExecutionJobInternalServerError) MarshalJSON() ([]byte, error)
- func (s *CancelExecutionJobInternalServerError) UnmarshalJSON(data []byte) error
- type CancelExecutionJobOK
- func (s *CancelExecutionJobOK) Decode(d *jx.Decoder) error
- func (s *CancelExecutionJobOK) Encode(e *jx.Encoder)
- func (s *CancelExecutionJobOK) GetMessage() string
- func (s *CancelExecutionJobOK) MarshalJSON() ([]byte, error)
- func (s *CancelExecutionJobOK) SetMessage(val string)
- func (s *CancelExecutionJobOK) UnmarshalJSON(data []byte) error
- type CancelExecutionJobParams
- type CancelExecutionJobRes
- type Client
- func (c *Client) CancelExecutionJob(ctx context.Context, params CancelExecutionJobParams) (CancelExecutionJobRes, error)
- func (c *Client) CreateSandbox(ctx context.Context, request OptCreateSandbox, params CreateSandboxParams) (CreateSandboxRes, error)
- func (c *Client) DeleteExecutionJob(ctx context.Context, params DeleteExecutionJobParams) (DeleteExecutionJobRes, error)
- func (c *Client) Execute(ctx context.Context, request *ExecutionRequest, params ExecuteParams) (ExecuteRes, error)
- func (c *Client) FetchFlake(ctx context.Context, params FetchFlakeParams) (FetchFlakeRes, error)
- func (c *Client) FetchLanguagePackages(ctx context.Context, params FetchLanguagePackagesParams) (FetchLanguagePackagesRes, error)
- func (c *Client) FetchSystemPackages(ctx context.Context, params FetchSystemPackagesParams) (FetchSystemPackagesRes, error)
- func (c *Client) GetAllExecutionJobs(ctx context.Context, params GetAllExecutionJobsParams) (GetAllExecutionJobsRes, error)
- func (c *Client) GetAllExecutions(ctx context.Context, params GetAllExecutionsParams) (GetAllExecutionsRes, error)
- func (c *Client) GetAllLanguageVersions(ctx context.Context, params GetAllLanguageVersionsParams) (GetAllLanguageVersionsRes, error)
- func (c *Client) GetAllLanguages(ctx context.Context, params GetAllLanguagesParams) (GetAllLanguagesRes, error)
- func (c *Client) GetAllVersions(ctx context.Context, params GetAllVersionsParams) (GetAllVersionsRes, error)
- func (c *Client) GetExecutionConfig(ctx context.Context, params GetExecutionConfigParams) (GetExecutionConfigRes, error)
- func (c *Client) GetExecutionJobById(ctx context.Context, params GetExecutionJobByIdParams) (GetExecutionJobByIdRes, error)
- func (c *Client) GetExecutionResultById(ctx context.Context, params GetExecutionResultByIdParams) (GetExecutionResultByIdRes, error)
- func (c *Client) GetExecutionsForJob(ctx context.Context, params GetExecutionsForJobParams) (GetExecutionsForJobRes, error)
- func (c *Client) GetLanguageById(ctx context.Context, params GetLanguageByIdParams) (GetLanguageByIdRes, error)
- func (c *Client) GetLanguageVersionById(ctx context.Context, params GetLanguageVersionByIdParams) (GetLanguageVersionByIdRes, error)
- func (c *Client) GetSandbox(ctx context.Context, params GetSandboxParams) (GetSandboxRes, error)
- func (c *Client) GetVersion(ctx context.Context, params GetVersionParams) (GetVersionRes, error)
- func (c *Client) Health(ctx context.Context) error
- func (c *Client) PackagesExist(ctx context.Context, request *PackageExistRequest, params PackagesExistParams) (PackagesExistRes, error)
- func (c *Client) SearchLanguagePackages(ctx context.Context, params SearchLanguagePackagesParams) (SearchLanguagePackagesRes, error)
- func (c *Client) SearchSystemPackages(ctx context.Context, params SearchSystemPackagesParams) (SearchSystemPackagesRes, error)
- type ClientOption
- type CreateSandbox
- func (s *CreateSandbox) Decode(d *jx.Decoder) error
- func (s *CreateSandbox) Encode(e *jx.Encoder)
- func (s *CreateSandbox) GetLanguages() []string
- func (s *CreateSandbox) GetNixFlake() OptString
- func (s *CreateSandbox) GetServices() []string
- func (s *CreateSandbox) GetSystemDependencies() []string
- func (s *CreateSandbox) MarshalJSON() ([]byte, error)
- func (s *CreateSandbox) SetLanguages(val []string)
- func (s *CreateSandbox) SetNixFlake(val OptString)
- func (s *CreateSandbox) SetServices(val []string)
- func (s *CreateSandbox) SetSystemDependencies(val []string)
- func (s *CreateSandbox) UnmarshalJSON(data []byte) error
- type CreateSandboxBadRequest
- type CreateSandboxForbidden
- type CreateSandboxInternalServerError
- type CreateSandboxOK
- func (s *CreateSandboxOK) Decode(d *jx.Decoder) error
- func (s *CreateSandboxOK) Encode(e *jx.Encoder)
- func (s *CreateSandboxOK) GetResult() string
- func (s *CreateSandboxOK) GetSandboxId() int64
- func (s *CreateSandboxOK) GetSandboxStatusSSE() OptString
- func (s *CreateSandboxOK) GetSandboxStatusWS() OptString
- func (s *CreateSandboxOK) MarshalJSON() ([]byte, error)
- func (s *CreateSandboxOK) SetResult(val string)
- func (s *CreateSandboxOK) SetSandboxId(val int64)
- func (s *CreateSandboxOK) SetSandboxStatusSSE(val OptString)
- func (s *CreateSandboxOK) SetSandboxStatusWS(val OptString)
- func (s *CreateSandboxOK) UnmarshalJSON(data []byte) error
- type CreateSandboxParams
- type CreateSandboxRes
- type DeleteExecutionJobBadRequest
- type DeleteExecutionJobForbidden
- type DeleteExecutionJobInternalServerError
- func (s *DeleteExecutionJobInternalServerError) Decode(d *jx.Decoder) error
- func (s *DeleteExecutionJobInternalServerError) Encode(e *jx.Encoder)
- func (s *DeleteExecutionJobInternalServerError) MarshalJSON() ([]byte, error)
- func (s *DeleteExecutionJobInternalServerError) UnmarshalJSON(data []byte) error
- type DeleteExecutionJobNotFound
- type DeleteExecutionJobOK
- type DeleteExecutionJobParams
- type DeleteExecutionJobRes
- type EnvironmentVariable
- func (s *EnvironmentVariable) Decode(d *jx.Decoder) error
- func (s *EnvironmentVariable) Encode(e *jx.Encoder)
- func (s *EnvironmentVariable) GetKey() OptString
- func (s *EnvironmentVariable) GetValue() OptString
- func (s *EnvironmentVariable) MarshalJSON() ([]byte, error)
- func (s *EnvironmentVariable) SetKey(val OptString)
- func (s *EnvironmentVariable) SetValue(val OptString)
- func (s *EnvironmentVariable) UnmarshalJSON(data []byte) error
- type Error
- type ErrorHandler
- type ExecuteBadRequest
- type ExecuteInternalServerError
- type ExecuteOK
- func (s *ExecuteOK) Decode(d *jx.Decoder) error
- func (s *ExecuteOK) Encode(e *jx.Encoder)
- func (s *ExecuteOK) GetEvents() string
- func (s *ExecuteOK) GetJobId() int64
- func (s *ExecuteOK) GetWebsocket() string
- func (s *ExecuteOK) MarshalJSON() ([]byte, error)
- func (s *ExecuteOK) SetEvents(val string)
- func (s *ExecuteOK) SetJobId(val int64)
- func (s *ExecuteOK) SetWebsocket(val string)
- func (s *ExecuteOK) UnmarshalJSON(data []byte) error
- type ExecuteParams
- type ExecuteRes
- type ExecutionConfig
- func (s *ExecutionConfig) Decode(d *jx.Decoder) error
- func (s *ExecutionConfig) Encode(e *jx.Encoder)
- func (s *ExecutionConfig) GetLOGLEVEL() string
- func (s *ExecutionConfig) GetSYSTEMPROVIDERBASEDIR() OptString
- func (s *ExecutionConfig) GetSYSTEMPROVIDERCLEANUP() OptBool
- func (s *ExecutionConfig) GetWORKERBUFFERSIZE() int32
- func (s *ExecutionConfig) GetWORKERCONCURRENCY() int32
- func (s *ExecutionConfig) GetWORKERPOLLFREQ() int
- func (s *ExecutionConfig) GetWORKERPROVIDER() string
- func (s *ExecutionConfig) GetWORKERRUNTIME() string
- func (s *ExecutionConfig) GetWORKERTASKTIMEOUT() int
- func (s *ExecutionConfig) MarshalJSON() ([]byte, error)
- func (s *ExecutionConfig) SetLOGLEVEL(val string)
- func (s *ExecutionConfig) SetSYSTEMPROVIDERBASEDIR(val OptString)
- func (s *ExecutionConfig) SetSYSTEMPROVIDERCLEANUP(val OptBool)
- func (s *ExecutionConfig) SetWORKERBUFFERSIZE(val int32)
- func (s *ExecutionConfig) SetWORKERCONCURRENCY(val int32)
- func (s *ExecutionConfig) SetWORKERPOLLFREQ(val int)
- func (s *ExecutionConfig) SetWORKERPROVIDER(val string)
- func (s *ExecutionConfig) SetWORKERRUNTIME(val string)
- func (s *ExecutionConfig) SetWORKERTASKTIMEOUT(val int)
- func (s *ExecutionConfig) UnmarshalJSON(data []byte) error
- type ExecutionEnvironmentSpec
- func (s *ExecutionEnvironmentSpec) Decode(d *jx.Decoder) error
- func (s *ExecutionEnvironmentSpec) Encode(e *jx.Encoder)
- func (s *ExecutionEnvironmentSpec) GetEnvironmentVariables() []EnvironmentVariable
- func (s *ExecutionEnvironmentSpec) GetLanguageDependencies() []string
- func (s *ExecutionEnvironmentSpec) GetSetup() OptString
- func (s *ExecutionEnvironmentSpec) GetSystemDependencies() []string
- func (s *ExecutionEnvironmentSpec) MarshalJSON() ([]byte, error)
- func (s *ExecutionEnvironmentSpec) SetEnvironmentVariables(val []EnvironmentVariable)
- func (s *ExecutionEnvironmentSpec) SetLanguageDependencies(val []string)
- func (s *ExecutionEnvironmentSpec) SetSetup(val OptString)
- func (s *ExecutionEnvironmentSpec) SetSystemDependencies(val []string)
- func (s *ExecutionEnvironmentSpec) UnmarshalJSON(data []byte) error
- type ExecutionRequest
- func (s *ExecutionRequest) Decode(d *jx.Decoder) error
- func (s *ExecutionRequest) Encode(e *jx.Encoder)
- func (s *ExecutionRequest) GetCmdLineArgs() OptString
- func (s *ExecutionRequest) GetCode() OptString
- func (s *ExecutionRequest) GetCommand() OptString
- func (s *ExecutionRequest) GetCompilerArgs() OptString
- func (s *ExecutionRequest) GetEnvironment() OptExecutionEnvironmentSpec
- func (s *ExecutionRequest) GetFiles() []byte
- func (s *ExecutionRequest) GetInput() OptString
- func (s *ExecutionRequest) GetLanguage() OptString
- func (s *ExecutionRequest) GetMaxRetries() OptInt
- func (s *ExecutionRequest) GetTimeout() OptInt32
- func (s *ExecutionRequest) GetVersion() OptString
- func (s *ExecutionRequest) MarshalJSON() ([]byte, error)
- func (s *ExecutionRequest) SetCmdLineArgs(val OptString)
- func (s *ExecutionRequest) SetCode(val OptString)
- func (s *ExecutionRequest) SetCommand(val OptString)
- func (s *ExecutionRequest) SetCompilerArgs(val OptString)
- func (s *ExecutionRequest) SetEnvironment(val OptExecutionEnvironmentSpec)
- func (s *ExecutionRequest) SetFiles(val []byte)
- func (s *ExecutionRequest) SetInput(val OptString)
- func (s *ExecutionRequest) SetLanguage(val OptString)
- func (s *ExecutionRequest) SetMaxRetries(val OptInt)
- func (s *ExecutionRequest) SetTimeout(val OptInt32)
- func (s *ExecutionRequest) SetVersion(val OptString)
- func (s *ExecutionRequest) UnmarshalJSON(data []byte) error
- type ExecutionResult
- func (s *ExecutionResult) Decode(d *jx.Decoder) error
- func (s *ExecutionResult) Encode(e *jx.Encoder)
- func (s *ExecutionResult) GetCreatedAt() time.Time
- func (s *ExecutionResult) GetExecId() int64
- func (s *ExecutionResult) GetExecLogs() string
- func (s *ExecutionResult) GetFinishedAt() time.Time
- func (s *ExecutionResult) GetFlake() string
- func (s *ExecutionResult) GetJobId() int64
- func (s *ExecutionResult) GetNixLogs() OptString
- func (s *ExecutionResult) GetScript() string
- func (s *ExecutionResult) GetStartedAt() time.Time
- func (s *ExecutionResult) GetUpdatedAt() OptDateTime
- func (s *ExecutionResult) MarshalJSON() ([]byte, error)
- func (s *ExecutionResult) SetCreatedAt(val time.Time)
- func (s *ExecutionResult) SetExecId(val int64)
- func (s *ExecutionResult) SetExecLogs(val string)
- func (s *ExecutionResult) SetFinishedAt(val time.Time)
- func (s *ExecutionResult) SetFlake(val string)
- func (s *ExecutionResult) SetJobId(val int64)
- func (s *ExecutionResult) SetNixLogs(val OptString)
- func (s *ExecutionResult) SetScript(val string)
- func (s *ExecutionResult) SetStartedAt(val time.Time)
- func (s *ExecutionResult) SetUpdatedAt(val OptDateTime)
- func (s *ExecutionResult) UnmarshalJSON(data []byte) error
- type FetchFlakeForbidden
- type FetchFlakeInternalServerError
- type FetchFlakeOK
- type FetchFlakeParams
- type FetchFlakeRes
- type FetchLanguagePackagesBadRequest
- type FetchLanguagePackagesForbidden
- type FetchLanguagePackagesInternalServerError
- func (s *FetchLanguagePackagesInternalServerError) Decode(d *jx.Decoder) error
- func (s *FetchLanguagePackagesInternalServerError) Encode(e *jx.Encoder)
- func (s *FetchLanguagePackagesInternalServerError) MarshalJSON() ([]byte, error)
- func (s *FetchLanguagePackagesInternalServerError) UnmarshalJSON(data []byte) error
- type FetchLanguagePackagesOK
- func (s *FetchLanguagePackagesOK) Decode(d *jx.Decoder) error
- func (s *FetchLanguagePackagesOK) Encode(e *jx.Encoder)
- func (s *FetchLanguagePackagesOK) GetPackages() []Package
- func (s *FetchLanguagePackagesOK) MarshalJSON() ([]byte, error)
- func (s *FetchLanguagePackagesOK) SetPackages(val []Package)
- func (s *FetchLanguagePackagesOK) UnmarshalJSON(data []byte) error
- func (s *FetchLanguagePackagesOK) Validate() error
- type FetchLanguagePackagesParams
- type FetchLanguagePackagesRes
- type FetchSystemPackagesBadRequest
- type FetchSystemPackagesForbidden
- type FetchSystemPackagesInternalServerError
- func (s *FetchSystemPackagesInternalServerError) Decode(d *jx.Decoder) error
- func (s *FetchSystemPackagesInternalServerError) Encode(e *jx.Encoder)
- func (s *FetchSystemPackagesInternalServerError) MarshalJSON() ([]byte, error)
- func (s *FetchSystemPackagesInternalServerError) UnmarshalJSON(data []byte) error
- type FetchSystemPackagesOK
- func (s *FetchSystemPackagesOK) Decode(d *jx.Decoder) error
- func (s *FetchSystemPackagesOK) Encode(e *jx.Encoder)
- func (s *FetchSystemPackagesOK) GetPackages() []Package
- func (s *FetchSystemPackagesOK) MarshalJSON() ([]byte, error)
- func (s *FetchSystemPackagesOK) SetPackages(val []Package)
- func (s *FetchSystemPackagesOK) UnmarshalJSON(data []byte) error
- func (s *FetchSystemPackagesOK) Validate() error
- type FetchSystemPackagesParams
- type FetchSystemPackagesRes
- type GetAllExecutionJobsBadRequest
- type GetAllExecutionJobsForbidden
- type GetAllExecutionJobsInternalServerError
- func (s *GetAllExecutionJobsInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetAllExecutionJobsInternalServerError) Encode(e *jx.Encoder)
- func (s *GetAllExecutionJobsInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetAllExecutionJobsInternalServerError) UnmarshalJSON(data []byte) error
- type GetAllExecutionJobsOK
- func (s *GetAllExecutionJobsOK) Decode(d *jx.Decoder) error
- func (s *GetAllExecutionJobsOK) Encode(e *jx.Encoder)
- func (s *GetAllExecutionJobsOK) GetJobs() []Job
- func (s *GetAllExecutionJobsOK) GetPagination() PaginationResponse
- func (s *GetAllExecutionJobsOK) MarshalJSON() ([]byte, error)
- func (s *GetAllExecutionJobsOK) SetJobs(val []Job)
- func (s *GetAllExecutionJobsOK) SetPagination(val PaginationResponse)
- func (s *GetAllExecutionJobsOK) UnmarshalJSON(data []byte) error
- func (s *GetAllExecutionJobsOK) Validate() error
- type GetAllExecutionJobsParams
- type GetAllExecutionJobsRes
- type GetAllExecutionsBadRequest
- type GetAllExecutionsForbidden
- type GetAllExecutionsInternalServerError
- type GetAllExecutionsOK
- func (s *GetAllExecutionsOK) Decode(d *jx.Decoder) error
- func (s *GetAllExecutionsOK) Encode(e *jx.Encoder)
- func (s *GetAllExecutionsOK) GetExecutions() []ExecutionResult
- func (s *GetAllExecutionsOK) GetPagination() PaginationResponse
- func (s *GetAllExecutionsOK) MarshalJSON() ([]byte, error)
- func (s *GetAllExecutionsOK) SetExecutions(val []ExecutionResult)
- func (s *GetAllExecutionsOK) SetPagination(val PaginationResponse)
- func (s *GetAllExecutionsOK) UnmarshalJSON(data []byte) error
- func (s *GetAllExecutionsOK) Validate() error
- type GetAllExecutionsParams
- type GetAllExecutionsRes
- type GetAllLanguageVersionsForbidden
- type GetAllLanguageVersionsInternalServerError
- func (s *GetAllLanguageVersionsInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetAllLanguageVersionsInternalServerError) Encode(e *jx.Encoder)
- func (s *GetAllLanguageVersionsInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetAllLanguageVersionsInternalServerError) UnmarshalJSON(data []byte) error
- type GetAllLanguageVersionsOK
- func (s *GetAllLanguageVersionsOK) Decode(d *jx.Decoder) error
- func (s *GetAllLanguageVersionsOK) Encode(e *jx.Encoder)
- func (s *GetAllLanguageVersionsOK) GetLanguageVersions() []LanguageVersionResponse
- func (s *GetAllLanguageVersionsOK) MarshalJSON() ([]byte, error)
- func (s *GetAllLanguageVersionsOK) SetLanguageVersions(val []LanguageVersionResponse)
- func (s *GetAllLanguageVersionsOK) UnmarshalJSON(data []byte) error
- func (s *GetAllLanguageVersionsOK) Validate() error
- type GetAllLanguageVersionsParams
- type GetAllLanguageVersionsRes
- type GetAllLanguagesForbidden
- type GetAllLanguagesInternalServerError
- type GetAllLanguagesOK
- func (s *GetAllLanguagesOK) Decode(d *jx.Decoder) error
- func (s *GetAllLanguagesOK) Encode(e *jx.Encoder)
- func (s *GetAllLanguagesOK) GetLanguages() []LanguageResponse
- func (s *GetAllLanguagesOK) MarshalJSON() ([]byte, error)
- func (s *GetAllLanguagesOK) SetLanguages(val []LanguageResponse)
- func (s *GetAllLanguagesOK) UnmarshalJSON(data []byte) error
- func (s *GetAllLanguagesOK) Validate() error
- type GetAllLanguagesParams
- type GetAllLanguagesRes
- type GetAllVersionsForbidden
- type GetAllVersionsInternalServerError
- type GetAllVersionsOK
- func (s *GetAllVersionsOK) Decode(d *jx.Decoder) error
- func (s *GetAllVersionsOK) Encode(e *jx.Encoder)
- func (s *GetAllVersionsOK) GetLanguageVersions() []LanguageVersionResponse
- func (s *GetAllVersionsOK) MarshalJSON() ([]byte, error)
- func (s *GetAllVersionsOK) SetLanguageVersions(val []LanguageVersionResponse)
- func (s *GetAllVersionsOK) UnmarshalJSON(data []byte) error
- func (s *GetAllVersionsOK) Validate() error
- type GetAllVersionsParams
- type GetAllVersionsRes
- type GetExecutionConfigForbidden
- type GetExecutionConfigInternalServerError
- func (s *GetExecutionConfigInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetExecutionConfigInternalServerError) Encode(e *jx.Encoder)
- func (s *GetExecutionConfigInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetExecutionConfigInternalServerError) UnmarshalJSON(data []byte) error
- type GetExecutionConfigParams
- type GetExecutionConfigRes
- type GetExecutionJobByIdBadRequest
- type GetExecutionJobByIdInternalServerError
- func (s *GetExecutionJobByIdInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetExecutionJobByIdInternalServerError) Encode(e *jx.Encoder)
- func (s *GetExecutionJobByIdInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetExecutionJobByIdInternalServerError) UnmarshalJSON(data []byte) error
- type GetExecutionJobByIdNotFound
- type GetExecutionJobByIdParams
- type GetExecutionJobByIdRes
- type GetExecutionResultByIdBadRequest
- type GetExecutionResultByIdInternalServerError
- func (s *GetExecutionResultByIdInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetExecutionResultByIdInternalServerError) Encode(e *jx.Encoder)
- func (s *GetExecutionResultByIdInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetExecutionResultByIdInternalServerError) UnmarshalJSON(data []byte) error
- type GetExecutionResultByIdNotFound
- type GetExecutionResultByIdParams
- type GetExecutionResultByIdRes
- type GetExecutionsForJobBadRequest
- type GetExecutionsForJobInternalServerError
- func (s *GetExecutionsForJobInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetExecutionsForJobInternalServerError) Encode(e *jx.Encoder)
- func (s *GetExecutionsForJobInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetExecutionsForJobInternalServerError) UnmarshalJSON(data []byte) error
- type GetExecutionsForJobNotFound
- type GetExecutionsForJobOK
- func (s *GetExecutionsForJobOK) Decode(d *jx.Decoder) error
- func (s *GetExecutionsForJobOK) Encode(e *jx.Encoder)
- func (s *GetExecutionsForJobOK) GetExecutions() []ExecutionResult
- func (s *GetExecutionsForJobOK) GetPagination() PaginationResponse
- func (s *GetExecutionsForJobOK) MarshalJSON() ([]byte, error)
- func (s *GetExecutionsForJobOK) SetExecutions(val []ExecutionResult)
- func (s *GetExecutionsForJobOK) SetPagination(val PaginationResponse)
- func (s *GetExecutionsForJobOK) UnmarshalJSON(data []byte) error
- func (s *GetExecutionsForJobOK) Validate() error
- type GetExecutionsForJobParams
- type GetExecutionsForJobRes
- type GetLanguageByIdForbidden
- type GetLanguageByIdInternalServerError
- type GetLanguageByIdNotFound
- type GetLanguageByIdOK
- func (s *GetLanguageByIdOK) Decode(d *jx.Decoder) error
- func (s *GetLanguageByIdOK) Encode(e *jx.Encoder)
- func (s *GetLanguageByIdOK) GetLanguage() LanguageResponse
- func (s *GetLanguageByIdOK) MarshalJSON() ([]byte, error)
- func (s *GetLanguageByIdOK) SetLanguage(val LanguageResponse)
- func (s *GetLanguageByIdOK) UnmarshalJSON(data []byte) error
- type GetLanguageByIdParams
- type GetLanguageByIdRes
- type GetLanguageVersionByIdForbidden
- type GetLanguageVersionByIdInternalServerError
- func (s *GetLanguageVersionByIdInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetLanguageVersionByIdInternalServerError) Encode(e *jx.Encoder)
- func (s *GetLanguageVersionByIdInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetLanguageVersionByIdInternalServerError) UnmarshalJSON(data []byte) error
- type GetLanguageVersionByIdNotFound
- type GetLanguageVersionByIdOK
- func (s *GetLanguageVersionByIdOK) Decode(d *jx.Decoder) error
- func (s *GetLanguageVersionByIdOK) Encode(e *jx.Encoder)
- func (s *GetLanguageVersionByIdOK) GetLanguage() LanguageVersionResponse
- func (s *GetLanguageVersionByIdOK) MarshalJSON() ([]byte, error)
- func (s *GetLanguageVersionByIdOK) SetLanguage(val LanguageVersionResponse)
- func (s *GetLanguageVersionByIdOK) UnmarshalJSON(data []byte) error
- type GetLanguageVersionByIdParams
- type GetLanguageVersionByIdRes
- type GetSandboxOK
- func (s *GetSandboxOK) Decode(d *jx.Decoder) error
- func (s GetSandboxOK) Encode(e *jx.Encoder)
- func (s GetSandboxOK) GetSandbox() (v Sandbox, ok bool)
- func (s GetSandboxOK) GetSandboxState() (v SandboxState, ok bool)
- func (s GetSandboxOK) IsSandbox() bool
- func (s GetSandboxOK) IsSandboxState() bool
- func (s GetSandboxOK) MarshalJSON() ([]byte, error)
- func (s *GetSandboxOK) SetSandbox(v Sandbox)
- func (s *GetSandboxOK) SetSandboxState(v SandboxState)
- func (s *GetSandboxOK) UnmarshalJSON(data []byte) error
- type GetSandboxOKType
- type GetSandboxParams
- type GetSandboxRes
- type GetVersionOK
- type GetVersionParams
- type GetVersionRes
- type Handler
- type HealthOK
- type Invoker
- type Job
- func (s *Job) Decode(d *jx.Decoder) error
- func (s *Job) Encode(e *jx.Encoder)
- func (s *Job) GetCreatedAt() time.Time
- func (s *Job) GetFlake() string
- func (s *Job) GetJobId() int64
- func (s *Job) GetScript() string
- func (s *Job) GetStartedAt() OptDateTime
- func (s *Job) GetUpdatedAt() OptDateTime
- func (s *Job) MarshalJSON() ([]byte, error)
- func (s *Job) SetCreatedAt(val time.Time)
- func (s *Job) SetFlake(val string)
- func (s *Job) SetJobId(val int64)
- func (s *Job) SetScript(val string)
- func (s *Job) SetStartedAt(val OptDateTime)
- func (s *Job) SetUpdatedAt(val OptDateTime)
- func (s *Job) UnmarshalJSON(data []byte) error
- type Labeler
- type LanguageResponse
- func (s *LanguageResponse) Decode(d *jx.Decoder) error
- func (s *LanguageResponse) Encode(e *jx.Encoder)
- func (s *LanguageResponse) GetDefaultCode() string
- func (s *LanguageResponse) GetExtension() string
- func (s *LanguageResponse) GetID() int64
- func (s *LanguageResponse) GetMonacoLanguage() string
- func (s *LanguageResponse) GetName() string
- func (s *LanguageResponse) GetTemplate() string
- func (s *LanguageResponse) MarshalJSON() ([]byte, error)
- func (s *LanguageResponse) SetDefaultCode(val string)
- func (s *LanguageResponse) SetExtension(val string)
- func (s *LanguageResponse) SetID(val int64)
- func (s *LanguageResponse) SetMonacoLanguage(val string)
- func (s *LanguageResponse) SetName(val string)
- func (s *LanguageResponse) SetTemplate(val string)
- func (s *LanguageResponse) UnmarshalJSON(data []byte) error
- type LanguageVersionResponse
- func (s *LanguageVersionResponse) Decode(d *jx.Decoder) error
- func (s *LanguageVersionResponse) Encode(e *jx.Encoder)
- func (s *LanguageVersionResponse) GetDefaultVersion() bool
- func (s *LanguageVersionResponse) GetID() int64
- func (s *LanguageVersionResponse) GetLanguageID() int64
- func (s *LanguageVersionResponse) GetNixPackageName() string
- func (s *LanguageVersionResponse) GetSearchQuery() string
- func (s *LanguageVersionResponse) GetTemplate() string
- func (s *LanguageVersionResponse) GetVersion() string
- func (s *LanguageVersionResponse) MarshalJSON() ([]byte, error)
- func (s *LanguageVersionResponse) SetDefaultVersion(val bool)
- func (s *LanguageVersionResponse) SetID(val int64)
- func (s *LanguageVersionResponse) SetLanguageID(val int64)
- func (s *LanguageVersionResponse) SetNixPackageName(val string)
- func (s *LanguageVersionResponse) SetSearchQuery(val string)
- func (s *LanguageVersionResponse) SetTemplate(val string)
- func (s *LanguageVersionResponse) SetVersion(val string)
- func (s *LanguageVersionResponse) UnmarshalJSON(data []byte) error
- type Middleware
- type OperationName
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptCreateSandbox
- func (o *OptCreateSandbox) Decode(d *jx.Decoder) error
- func (o OptCreateSandbox) Encode(e *jx.Encoder)
- func (o OptCreateSandbox) Get() (v CreateSandbox, ok bool)
- func (o OptCreateSandbox) IsSet() bool
- func (s OptCreateSandbox) MarshalJSON() ([]byte, error)
- func (o OptCreateSandbox) Or(d CreateSandbox) CreateSandbox
- func (o *OptCreateSandbox) Reset()
- func (o *OptCreateSandbox) SetTo(v CreateSandbox)
- func (s *OptCreateSandbox) UnmarshalJSON(data []byte) error
- type OptDateTime
- func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDateTime) Get() (v time.Time, ok bool)
- func (o OptDateTime) IsSet() bool
- func (s OptDateTime) MarshalJSON() ([]byte, error)
- func (o OptDateTime) Or(d time.Time) time.Time
- func (o *OptDateTime) Reset()
- func (o *OptDateTime) SetTo(v time.Time)
- func (s *OptDateTime) UnmarshalJSON(data []byte) error
- type OptExecutionEnvironmentSpec
- func (o *OptExecutionEnvironmentSpec) Decode(d *jx.Decoder) error
- func (o OptExecutionEnvironmentSpec) Encode(e *jx.Encoder)
- func (o OptExecutionEnvironmentSpec) Get() (v ExecutionEnvironmentSpec, ok bool)
- func (o OptExecutionEnvironmentSpec) IsSet() bool
- func (s OptExecutionEnvironmentSpec) MarshalJSON() ([]byte, error)
- func (o OptExecutionEnvironmentSpec) Or(d ExecutionEnvironmentSpec) ExecutionEnvironmentSpec
- func (o *OptExecutionEnvironmentSpec) Reset()
- func (o *OptExecutionEnvironmentSpec) SetTo(v ExecutionEnvironmentSpec)
- func (s *OptExecutionEnvironmentSpec) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptInt32
- func (o *OptInt32) Decode(d *jx.Decoder) error
- func (o OptInt32) Encode(e *jx.Encoder)
- func (o OptInt32) Get() (v int32, ok bool)
- func (o OptInt32) IsSet() bool
- func (s OptInt32) MarshalJSON() ([]byte, error)
- func (o OptInt32) Or(d int32) int32
- func (o *OptInt32) Reset()
- func (o *OptInt32) SetTo(v int32)
- func (s *OptInt32) UnmarshalJSON(data []byte) error
- type OptInt64
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type Option
- type Package
- func (s *Package) Decode(d *jx.Decoder) error
- func (s *Package) Encode(e *jx.Encoder)
- func (s *Package) GetName() string
- func (s *Package) GetVersion() string
- func (s *Package) MarshalJSON() ([]byte, error)
- func (s *Package) SetName(val string)
- func (s *Package) SetVersion(val string)
- func (s *Package) UnmarshalJSON(data []byte) error
- type PackageExistRequest
- func (s *PackageExistRequest) Decode(d *jx.Decoder) error
- func (s *PackageExistRequest) Encode(e *jx.Encoder)
- func (s *PackageExistRequest) GetLanguage() string
- func (s *PackageExistRequest) GetPackages() []string
- func (s *PackageExistRequest) MarshalJSON() ([]byte, error)
- func (s *PackageExistRequest) SetLanguage(val string)
- func (s *PackageExistRequest) SetPackages(val []string)
- func (s *PackageExistRequest) UnmarshalJSON(data []byte) error
- func (s *PackageExistRequest) Validate() error
- type PackagesExistBadRequest
- type PackagesExistForbidden
- type PackagesExistInternalServerError
- type PackagesExistOK
- func (s *PackagesExistOK) Decode(d *jx.Decoder) error
- func (s *PackagesExistOK) Encode(e *jx.Encoder)
- func (s *PackagesExistOK) GetExists() bool
- func (s *PackagesExistOK) GetNonExistingPackages() []string
- func (s *PackagesExistOK) MarshalJSON() ([]byte, error)
- func (s *PackagesExistOK) SetExists(val bool)
- func (s *PackagesExistOK) SetNonExistingPackages(val []string)
- func (s *PackagesExistOK) UnmarshalJSON(data []byte) error
- type PackagesExistParams
- type PackagesExistRes
- type PaginationResponse
- func (s *PaginationResponse) Decode(d *jx.Decoder) error
- func (s *PaginationResponse) Encode(e *jx.Encoder)
- func (s *PaginationResponse) GetCursor() int64
- func (s *PaginationResponse) GetLimit() int64
- func (s *PaginationResponse) GetTotal() int64
- func (s *PaginationResponse) MarshalJSON() ([]byte, error)
- func (s *PaginationResponse) SetCursor(val int64)
- func (s *PaginationResponse) SetLimit(val int64)
- func (s *PaginationResponse) SetTotal(val int64)
- func (s *PaginationResponse) UnmarshalJSON(data []byte) error
- type Route
- type Sandbox
- func (s *Sandbox) Decode(d *jx.Decoder) error
- func (s *Sandbox) Encode(e *jx.Encoder)
- func (s *Sandbox) GetAgentURL() string
- func (s *Sandbox) GetCreatedAt() time.Time
- func (s *Sandbox) GetSandboxId() int64
- func (s *Sandbox) GetState() string
- func (s *Sandbox) GetURL() string
- func (s *Sandbox) MarshalJSON() ([]byte, error)
- func (s *Sandbox) SetAgentURL(val string)
- func (s *Sandbox) SetCreatedAt(val time.Time)
- func (s *Sandbox) SetSandboxId(val int64)
- func (s *Sandbox) SetState(val string)
- func (s *Sandbox) SetURL(val string)
- func (s *Sandbox) UnmarshalJSON(data []byte) error
- type SandboxState
- func (s *SandboxState) Decode(d *jx.Decoder) error
- func (s *SandboxState) Encode(e *jx.Encoder)
- func (s *SandboxState) GetSandboxId() int64
- func (s *SandboxState) GetState() string
- func (s *SandboxState) MarshalJSON() ([]byte, error)
- func (s *SandboxState) SetSandboxId(val int64)
- func (s *SandboxState) SetState(val string)
- func (s *SandboxState) UnmarshalJSON(data []byte) error
- type SearchLanguagePackagesBadRequest
- type SearchLanguagePackagesForbidden
- type SearchLanguagePackagesOK
- func (s *SearchLanguagePackagesOK) Decode(d *jx.Decoder) error
- func (s *SearchLanguagePackagesOK) Encode(e *jx.Encoder)
- func (s *SearchLanguagePackagesOK) GetPackages() []Package
- func (s *SearchLanguagePackagesOK) MarshalJSON() ([]byte, error)
- func (s *SearchLanguagePackagesOK) SetPackages(val []Package)
- func (s *SearchLanguagePackagesOK) UnmarshalJSON(data []byte) error
- func (s *SearchLanguagePackagesOK) Validate() error
- type SearchLanguagePackagesParams
- type SearchLanguagePackagesRes
- type SearchSystemPackagesBadRequest
- type SearchSystemPackagesForbidden
- type SearchSystemPackagesOK
- func (s *SearchSystemPackagesOK) Decode(d *jx.Decoder) error
- func (s *SearchSystemPackagesOK) Encode(e *jx.Encoder)
- func (s *SearchSystemPackagesOK) GetPackages() []Package
- func (s *SearchSystemPackagesOK) MarshalJSON() ([]byte, error)
- func (s *SearchSystemPackagesOK) SetPackages(val []Package)
- func (s *SearchSystemPackagesOK) UnmarshalJSON(data []byte) error
- func (s *SearchSystemPackagesOK) Validate() error
- type SearchSystemPackagesParams
- type SearchSystemPackagesRes
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type UnimplementedHandler
- func (UnimplementedHandler) CancelExecutionJob(ctx context.Context, params CancelExecutionJobParams) (r CancelExecutionJobRes, _ error)
- func (UnimplementedHandler) CreateSandbox(ctx context.Context, req OptCreateSandbox, params CreateSandboxParams) (r CreateSandboxRes, _ error)
- func (UnimplementedHandler) DeleteExecutionJob(ctx context.Context, params DeleteExecutionJobParams) (r DeleteExecutionJobRes, _ error)
- func (UnimplementedHandler) Execute(ctx context.Context, req *ExecutionRequest, params ExecuteParams) (r ExecuteRes, _ error)
- func (UnimplementedHandler) FetchFlake(ctx context.Context, params FetchFlakeParams) (r FetchFlakeRes, _ error)
- func (UnimplementedHandler) FetchLanguagePackages(ctx context.Context, params FetchLanguagePackagesParams) (r FetchLanguagePackagesRes, _ error)
- func (UnimplementedHandler) FetchSystemPackages(ctx context.Context, params FetchSystemPackagesParams) (r FetchSystemPackagesRes, _ error)
- func (UnimplementedHandler) GetAllExecutionJobs(ctx context.Context, params GetAllExecutionJobsParams) (r GetAllExecutionJobsRes, _ error)
- func (UnimplementedHandler) GetAllExecutions(ctx context.Context, params GetAllExecutionsParams) (r GetAllExecutionsRes, _ error)
- func (UnimplementedHandler) GetAllLanguageVersions(ctx context.Context, params GetAllLanguageVersionsParams) (r GetAllLanguageVersionsRes, _ error)
- func (UnimplementedHandler) GetAllLanguages(ctx context.Context, params GetAllLanguagesParams) (r GetAllLanguagesRes, _ error)
- func (UnimplementedHandler) GetAllVersions(ctx context.Context, params GetAllVersionsParams) (r GetAllVersionsRes, _ error)
- func (UnimplementedHandler) GetExecutionConfig(ctx context.Context, params GetExecutionConfigParams) (r GetExecutionConfigRes, _ error)
- func (UnimplementedHandler) GetExecutionJobById(ctx context.Context, params GetExecutionJobByIdParams) (r GetExecutionJobByIdRes, _ error)
- func (UnimplementedHandler) GetExecutionResultById(ctx context.Context, params GetExecutionResultByIdParams) (r GetExecutionResultByIdRes, _ error)
- func (UnimplementedHandler) GetExecutionsForJob(ctx context.Context, params GetExecutionsForJobParams) (r GetExecutionsForJobRes, _ error)
- func (UnimplementedHandler) GetLanguageById(ctx context.Context, params GetLanguageByIdParams) (r GetLanguageByIdRes, _ error)
- func (UnimplementedHandler) GetLanguageVersionById(ctx context.Context, params GetLanguageVersionByIdParams) (r GetLanguageVersionByIdRes, _ error)
- func (UnimplementedHandler) GetSandbox(ctx context.Context, params GetSandboxParams) (r GetSandboxRes, _ error)
- func (UnimplementedHandler) GetVersion(ctx context.Context, params GetVersionParams) (r GetVersionRes, _ error)
- func (UnimplementedHandler) Health(ctx context.Context) error
- func (UnimplementedHandler) PackagesExist(ctx context.Context, req *PackageExistRequest, params PackagesExistParams) (r PackagesExistRes, _ error)
- func (UnimplementedHandler) SearchLanguagePackages(ctx context.Context, params SearchLanguagePackagesParams) (r SearchLanguagePackagesRes, _ error)
- func (UnimplementedHandler) SearchSystemPackages(ctx context.Context, params SearchSystemPackagesParams) (r SearchSystemPackagesRes, _ error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CancelExecutionJobBadRequest ¶
type CancelExecutionJobBadRequest Error
func (*CancelExecutionJobBadRequest) Decode ¶
func (s *CancelExecutionJobBadRequest) Decode(d *jx.Decoder) error
Decode decodes CancelExecutionJobBadRequest from json.
func (*CancelExecutionJobBadRequest) Encode ¶
func (s *CancelExecutionJobBadRequest) Encode(e *jx.Encoder)
Encode encodes CancelExecutionJobBadRequest as json.
func (*CancelExecutionJobBadRequest) MarshalJSON ¶
func (s *CancelExecutionJobBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CancelExecutionJobBadRequest) UnmarshalJSON ¶
func (s *CancelExecutionJobBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CancelExecutionJobForbidden ¶
type CancelExecutionJobForbidden Error
func (*CancelExecutionJobForbidden) Decode ¶
func (s *CancelExecutionJobForbidden) Decode(d *jx.Decoder) error
Decode decodes CancelExecutionJobForbidden from json.
func (*CancelExecutionJobForbidden) Encode ¶
func (s *CancelExecutionJobForbidden) Encode(e *jx.Encoder)
Encode encodes CancelExecutionJobForbidden as json.
func (*CancelExecutionJobForbidden) MarshalJSON ¶
func (s *CancelExecutionJobForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CancelExecutionJobForbidden) UnmarshalJSON ¶
func (s *CancelExecutionJobForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CancelExecutionJobInternalServerError ¶
type CancelExecutionJobInternalServerError Error
func (*CancelExecutionJobInternalServerError) Decode ¶
func (s *CancelExecutionJobInternalServerError) Decode(d *jx.Decoder) error
Decode decodes CancelExecutionJobInternalServerError from json.
func (*CancelExecutionJobInternalServerError) Encode ¶
func (s *CancelExecutionJobInternalServerError) Encode(e *jx.Encoder)
Encode encodes CancelExecutionJobInternalServerError as json.
func (*CancelExecutionJobInternalServerError) MarshalJSON ¶
func (s *CancelExecutionJobInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CancelExecutionJobInternalServerError) UnmarshalJSON ¶
func (s *CancelExecutionJobInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CancelExecutionJobOK ¶
type CancelExecutionJobOK struct {
Message string `json:"message"`
}
func (*CancelExecutionJobOK) Decode ¶
func (s *CancelExecutionJobOK) Decode(d *jx.Decoder) error
Decode decodes CancelExecutionJobOK from json.
func (*CancelExecutionJobOK) Encode ¶
func (s *CancelExecutionJobOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CancelExecutionJobOK) GetMessage ¶
func (s *CancelExecutionJobOK) GetMessage() string
GetMessage returns the value of Message.
func (*CancelExecutionJobOK) MarshalJSON ¶
func (s *CancelExecutionJobOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CancelExecutionJobOK) SetMessage ¶
func (s *CancelExecutionJobOK) SetMessage(val string)
SetMessage sets the value of Message.
func (*CancelExecutionJobOK) UnmarshalJSON ¶
func (s *CancelExecutionJobOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CancelExecutionJobParams ¶
CancelExecutionJobParams is parameters of cancelExecutionJob operation.
type CancelExecutionJobRes ¶
type CancelExecutionJobRes interface {
// contains filtered or unexported methods
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func NewClient ¶
func NewClient(serverURL string, opts ...ClientOption) (*Client, error)
NewClient initializes new Client defined by OAS.
func (*Client) CancelExecutionJob ¶
func (c *Client) CancelExecutionJob(ctx context.Context, params CancelExecutionJobParams) (CancelExecutionJobRes, error)
CancelExecutionJob invokes cancelExecutionJob operation.
Cancel Execution Job.
PUT /executions/jobs/{JobId}
func (*Client) CreateSandbox ¶
func (c *Client) CreateSandbox(ctx context.Context, request OptCreateSandbox, params CreateSandboxParams) (CreateSandboxRes, error)
CreateSandbox invokes createSandbox operation.
Create a sandbox.
POST /sandbox
func (*Client) DeleteExecutionJob ¶
func (c *Client) DeleteExecutionJob(ctx context.Context, params DeleteExecutionJobParams) (DeleteExecutionJobRes, error)
DeleteExecutionJob invokes deleteExecutionJob operation.
Delete execution job.
DELETE /executions/jobs/{JobId}
func (*Client) Execute ¶
func (c *Client) Execute(ctx context.Context, request *ExecutionRequest, params ExecuteParams) (ExecuteRes, error)
Execute invokes execute operation.
Execute a script.
POST /executions/execute
func (*Client) FetchFlake ¶
func (c *Client) FetchFlake(ctx context.Context, params FetchFlakeParams) (FetchFlakeRes, error)
FetchFlake invokes fetchFlake operation.
Fetches flake of a given job.
GET /flake/{jobId}
func (*Client) FetchLanguagePackages ¶
func (c *Client) FetchLanguagePackages(ctx context.Context, params FetchLanguagePackagesParams) (FetchLanguagePackagesRes, error)
FetchLanguagePackages invokes FetchLanguagePackages operation.
Initialize the search results content with a default set of language specific packages.
GET /fetch/language
func (*Client) FetchSystemPackages ¶
func (c *Client) FetchSystemPackages(ctx context.Context, params FetchSystemPackagesParams) (FetchSystemPackagesRes, error)
FetchSystemPackages invokes FetchSystemPackages operation.
Initialize the search results content with a default set of system packages.
GET /fetch/system
func (*Client) GetAllExecutionJobs ¶
func (c *Client) GetAllExecutionJobs(ctx context.Context, params GetAllExecutionJobsParams) (GetAllExecutionJobsRes, error)
GetAllExecutionJobs invokes getAllExecutionJobs operation.
Get all execution jobs.
GET /jobs/execution
func (*Client) GetAllExecutions ¶
func (c *Client) GetAllExecutions(ctx context.Context, params GetAllExecutionsParams) (GetAllExecutionsRes, error)
GetAllExecutions invokes getAllExecutions operation.
Get all executions.
GET /executions
func (*Client) GetAllLanguageVersions ¶
func (c *Client) GetAllLanguageVersions(ctx context.Context, params GetAllLanguageVersionsParams) (GetAllLanguageVersionsRes, error)
GetAllLanguageVersions invokes getAllLanguageVersions operation.
Retrieve a list of all language versions from the database.
GET /language-versions
func (*Client) GetAllLanguages ¶
func (c *Client) GetAllLanguages(ctx context.Context, params GetAllLanguagesParams) (GetAllLanguagesRes, error)
GetAllLanguages invokes getAllLanguages operation.
Retrieve a list of all languages from the database.
GET /languages
func (*Client) GetAllVersions ¶
func (c *Client) GetAllVersions(ctx context.Context, params GetAllVersionsParams) (GetAllVersionsRes, error)
GetAllVersions invokes getAllVersions operation.
Retrieve a list of all language versions from the database.
GET /languages/{id}/versions
func (*Client) GetExecutionConfig ¶
func (c *Client) GetExecutionConfig(ctx context.Context, params GetExecutionConfigParams) (GetExecutionConfigRes, error)
GetExecutionConfig invokes getExecutionConfig operation.
Get execution config.
GET /execution/config
func (*Client) GetExecutionJobById ¶
func (c *Client) GetExecutionJobById(ctx context.Context, params GetExecutionJobByIdParams) (GetExecutionJobByIdRes, error)
GetExecutionJobById invokes getExecutionJobById operation.
Get execution job.
GET /executions/jobs/{JobId}
func (*Client) GetExecutionResultById ¶
func (c *Client) GetExecutionResultById(ctx context.Context, params GetExecutionResultByIdParams) (GetExecutionResultByIdRes, error)
GetExecutionResultById invokes getExecutionResultById operation.
Get execution result by id.
GET /executions/{execId}
func (*Client) GetExecutionsForJob ¶
func (c *Client) GetExecutionsForJob(ctx context.Context, params GetExecutionsForJobParams) (GetExecutionsForJobRes, error)
GetExecutionsForJob invokes getExecutionsForJob operation.
Get executions of given job.
GET /jobs/{JobId}/executions
func (*Client) GetLanguageById ¶
func (c *Client) GetLanguageById(ctx context.Context, params GetLanguageByIdParams) (GetLanguageByIdRes, error)
GetLanguageById invokes getLanguageById operation.
Retrieve a language entry from the database using its ID.
GET /languages/{id}
func (*Client) GetLanguageVersionById ¶
func (c *Client) GetLanguageVersionById(ctx context.Context, params GetLanguageVersionByIdParams) (GetLanguageVersionByIdRes, error)
GetLanguageVersionById invokes getLanguageVersionById operation.
Retrieve a language version entry from the database using its ID.
GET /language-versions/{id}
func (*Client) GetSandbox ¶
func (c *Client) GetSandbox(ctx context.Context, params GetSandboxParams) (GetSandboxRes, error)
GetSandbox invokes getSandbox operation.
Retrieve Sandbox details.
GET /sandbox/{sandboxId}
func (*Client) GetVersion ¶
func (c *Client) GetVersion(ctx context.Context, params GetVersionParams) (GetVersionRes, error)
GetVersion invokes getVersion operation.
Get version.
GET /version
func (*Client) PackagesExist ¶
func (c *Client) PackagesExist(ctx context.Context, request *PackageExistRequest, params PackagesExistParams) (PackagesExistRes, error)
PackagesExist invokes PackagesExist operation.
Verify the package list is available for the language version while switching between language versions.
POST /packages/exist
func (*Client) SearchLanguagePackages ¶
func (c *Client) SearchLanguagePackages(ctx context.Context, params SearchLanguagePackagesParams) (SearchLanguagePackagesRes, error)
SearchLanguagePackages invokes SearchLanguagePackages operation.
Search for language specific packages.
GET /search/language
func (*Client) SearchSystemPackages ¶
func (c *Client) SearchSystemPackages(ctx context.Context, params SearchSystemPackagesParams) (SearchSystemPackagesRes, error)
SearchSystemPackages invokes SearchSystemPackages operation.
Search for system packages.
GET /search/system
type ClientOption ¶
type ClientOption interface {
// contains filtered or unexported methods
}
ClientOption is client config option.
func WithClient ¶
func WithClient(client ht.Client) ClientOption
WithClient specifies http client to use.
type CreateSandbox ¶
type CreateSandbox struct {
// Nix flake configuration for the sandbox environment.
NixFlake OptString `json:"nix_flake"`
// List of programming languages required in the sandbox.
Languages []string `json:"languages"`
// List of system-level dependencies needed in the sandbox.
SystemDependencies []string `json:"system_dependencies"`
// List of services to be added to the sandbox.
Services []string `json:"services"`
}
Configuration for a sandbox environment request. Ref: #/components/schemas/CreateSandbox
func (*CreateSandbox) Decode ¶
func (s *CreateSandbox) Decode(d *jx.Decoder) error
Decode decodes CreateSandbox from json.
func (*CreateSandbox) Encode ¶
func (s *CreateSandbox) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateSandbox) GetLanguages ¶
func (s *CreateSandbox) GetLanguages() []string
GetLanguages returns the value of Languages.
func (*CreateSandbox) GetNixFlake ¶
func (s *CreateSandbox) GetNixFlake() OptString
GetNixFlake returns the value of NixFlake.
func (*CreateSandbox) GetServices ¶
func (s *CreateSandbox) GetServices() []string
GetServices returns the value of Services.
func (*CreateSandbox) GetSystemDependencies ¶
func (s *CreateSandbox) GetSystemDependencies() []string
GetSystemDependencies returns the value of SystemDependencies.
func (*CreateSandbox) MarshalJSON ¶
func (s *CreateSandbox) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSandbox) SetLanguages ¶
func (s *CreateSandbox) SetLanguages(val []string)
SetLanguages sets the value of Languages.
func (*CreateSandbox) SetNixFlake ¶
func (s *CreateSandbox) SetNixFlake(val OptString)
SetNixFlake sets the value of NixFlake.
func (*CreateSandbox) SetServices ¶
func (s *CreateSandbox) SetServices(val []string)
SetServices sets the value of Services.
func (*CreateSandbox) SetSystemDependencies ¶
func (s *CreateSandbox) SetSystemDependencies(val []string)
SetSystemDependencies sets the value of SystemDependencies.
func (*CreateSandbox) UnmarshalJSON ¶
func (s *CreateSandbox) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateSandboxBadRequest ¶
type CreateSandboxBadRequest Error
func (*CreateSandboxBadRequest) Decode ¶
func (s *CreateSandboxBadRequest) Decode(d *jx.Decoder) error
Decode decodes CreateSandboxBadRequest from json.
func (*CreateSandboxBadRequest) Encode ¶
func (s *CreateSandboxBadRequest) Encode(e *jx.Encoder)
Encode encodes CreateSandboxBadRequest as json.
func (*CreateSandboxBadRequest) MarshalJSON ¶
func (s *CreateSandboxBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSandboxBadRequest) UnmarshalJSON ¶
func (s *CreateSandboxBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateSandboxForbidden ¶
type CreateSandboxForbidden Error
func (*CreateSandboxForbidden) Decode ¶
func (s *CreateSandboxForbidden) Decode(d *jx.Decoder) error
Decode decodes CreateSandboxForbidden from json.
func (*CreateSandboxForbidden) Encode ¶
func (s *CreateSandboxForbidden) Encode(e *jx.Encoder)
Encode encodes CreateSandboxForbidden as json.
func (*CreateSandboxForbidden) MarshalJSON ¶
func (s *CreateSandboxForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSandboxForbidden) UnmarshalJSON ¶
func (s *CreateSandboxForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateSandboxInternalServerError ¶
type CreateSandboxInternalServerError Error
func (*CreateSandboxInternalServerError) Decode ¶
func (s *CreateSandboxInternalServerError) Decode(d *jx.Decoder) error
Decode decodes CreateSandboxInternalServerError from json.
func (*CreateSandboxInternalServerError) Encode ¶
func (s *CreateSandboxInternalServerError) Encode(e *jx.Encoder)
Encode encodes CreateSandboxInternalServerError as json.
func (*CreateSandboxInternalServerError) MarshalJSON ¶
func (s *CreateSandboxInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSandboxInternalServerError) UnmarshalJSON ¶
func (s *CreateSandboxInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateSandboxOK ¶
type CreateSandboxOK struct {
Result string `json:"result"`
SandboxId int64 `json:"sandboxId"`
SandboxStatusSSE OptString `json:"sandboxStatusSSE"`
SandboxStatusWS OptString `json:"sandboxStatusWS"`
}
func (*CreateSandboxOK) Decode ¶
func (s *CreateSandboxOK) Decode(d *jx.Decoder) error
Decode decodes CreateSandboxOK from json.
func (*CreateSandboxOK) Encode ¶
func (s *CreateSandboxOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateSandboxOK) GetResult ¶
func (s *CreateSandboxOK) GetResult() string
GetResult returns the value of Result.
func (*CreateSandboxOK) GetSandboxId ¶
func (s *CreateSandboxOK) GetSandboxId() int64
GetSandboxId returns the value of SandboxId.
func (*CreateSandboxOK) GetSandboxStatusSSE ¶
func (s *CreateSandboxOK) GetSandboxStatusSSE() OptString
GetSandboxStatusSSE returns the value of SandboxStatusSSE.
func (*CreateSandboxOK) GetSandboxStatusWS ¶
func (s *CreateSandboxOK) GetSandboxStatusWS() OptString
GetSandboxStatusWS returns the value of SandboxStatusWS.
func (*CreateSandboxOK) MarshalJSON ¶
func (s *CreateSandboxOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSandboxOK) SetResult ¶
func (s *CreateSandboxOK) SetResult(val string)
SetResult sets the value of Result.
func (*CreateSandboxOK) SetSandboxId ¶
func (s *CreateSandboxOK) SetSandboxId(val int64)
SetSandboxId sets the value of SandboxId.
func (*CreateSandboxOK) SetSandboxStatusSSE ¶
func (s *CreateSandboxOK) SetSandboxStatusSSE(val OptString)
SetSandboxStatusSSE sets the value of SandboxStatusSSE.
func (*CreateSandboxOK) SetSandboxStatusWS ¶
func (s *CreateSandboxOK) SetSandboxStatusWS(val OptString)
SetSandboxStatusWS sets the value of SandboxStatusWS.
func (*CreateSandboxOK) UnmarshalJSON ¶
func (s *CreateSandboxOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateSandboxParams ¶
type CreateSandboxParams struct {
// Authentication token.
XAuthToken OptString
}
CreateSandboxParams is parameters of createSandbox operation.
type CreateSandboxRes ¶
type CreateSandboxRes interface {
// contains filtered or unexported methods
}
type DeleteExecutionJobBadRequest ¶
type DeleteExecutionJobBadRequest Error
func (*DeleteExecutionJobBadRequest) Decode ¶
func (s *DeleteExecutionJobBadRequest) Decode(d *jx.Decoder) error
Decode decodes DeleteExecutionJobBadRequest from json.
func (*DeleteExecutionJobBadRequest) Encode ¶
func (s *DeleteExecutionJobBadRequest) Encode(e *jx.Encoder)
Encode encodes DeleteExecutionJobBadRequest as json.
func (*DeleteExecutionJobBadRequest) MarshalJSON ¶
func (s *DeleteExecutionJobBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeleteExecutionJobBadRequest) UnmarshalJSON ¶
func (s *DeleteExecutionJobBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeleteExecutionJobForbidden ¶
type DeleteExecutionJobForbidden Error
func (*DeleteExecutionJobForbidden) Decode ¶
func (s *DeleteExecutionJobForbidden) Decode(d *jx.Decoder) error
Decode decodes DeleteExecutionJobForbidden from json.
func (*DeleteExecutionJobForbidden) Encode ¶
func (s *DeleteExecutionJobForbidden) Encode(e *jx.Encoder)
Encode encodes DeleteExecutionJobForbidden as json.
func (*DeleteExecutionJobForbidden) MarshalJSON ¶
func (s *DeleteExecutionJobForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeleteExecutionJobForbidden) UnmarshalJSON ¶
func (s *DeleteExecutionJobForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeleteExecutionJobInternalServerError ¶
type DeleteExecutionJobInternalServerError Error
func (*DeleteExecutionJobInternalServerError) Decode ¶
func (s *DeleteExecutionJobInternalServerError) Decode(d *jx.Decoder) error
Decode decodes DeleteExecutionJobInternalServerError from json.
func (*DeleteExecutionJobInternalServerError) Encode ¶
func (s *DeleteExecutionJobInternalServerError) Encode(e *jx.Encoder)
Encode encodes DeleteExecutionJobInternalServerError as json.
func (*DeleteExecutionJobInternalServerError) MarshalJSON ¶
func (s *DeleteExecutionJobInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeleteExecutionJobInternalServerError) UnmarshalJSON ¶
func (s *DeleteExecutionJobInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeleteExecutionJobNotFound ¶
type DeleteExecutionJobNotFound struct{}
DeleteExecutionJobNotFound is response for DeleteExecutionJob operation.
type DeleteExecutionJobOK ¶
type DeleteExecutionJobOK struct{}
DeleteExecutionJobOK is response for DeleteExecutionJob operation.
type DeleteExecutionJobParams ¶
DeleteExecutionJobParams is parameters of deleteExecutionJob operation.
type DeleteExecutionJobRes ¶
type DeleteExecutionJobRes interface {
// contains filtered or unexported methods
}
type EnvironmentVariable ¶
Ref: #/components/schemas/EnvironmentVariable
func (*EnvironmentVariable) Decode ¶
func (s *EnvironmentVariable) Decode(d *jx.Decoder) error
Decode decodes EnvironmentVariable from json.
func (*EnvironmentVariable) Encode ¶
func (s *EnvironmentVariable) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EnvironmentVariable) GetKey ¶
func (s *EnvironmentVariable) GetKey() OptString
GetKey returns the value of Key.
func (*EnvironmentVariable) GetValue ¶
func (s *EnvironmentVariable) GetValue() OptString
GetValue returns the value of Value.
func (*EnvironmentVariable) MarshalJSON ¶
func (s *EnvironmentVariable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EnvironmentVariable) SetKey ¶
func (s *EnvironmentVariable) SetKey(val OptString)
SetKey sets the value of Key.
func (*EnvironmentVariable) SetValue ¶
func (s *EnvironmentVariable) SetValue(val OptString)
SetValue sets the value of Value.
func (*EnvironmentVariable) UnmarshalJSON ¶
func (s *EnvironmentVariable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Error ¶
type Error struct {
Message string `json:"message"`
}
Ref: #/components/schemas/Error
func (*Error) GetMessage ¶
GetMessage returns the value of Message.
func (*Error) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Error) SetMessage ¶
SetMessage sets the value of Message.
func (*Error) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ExecuteBadRequest ¶
type ExecuteBadRequest Error
func (*ExecuteBadRequest) Decode ¶
func (s *ExecuteBadRequest) Decode(d *jx.Decoder) error
Decode decodes ExecuteBadRequest from json.
func (*ExecuteBadRequest) Encode ¶
func (s *ExecuteBadRequest) Encode(e *jx.Encoder)
Encode encodes ExecuteBadRequest as json.
func (*ExecuteBadRequest) MarshalJSON ¶
func (s *ExecuteBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExecuteBadRequest) UnmarshalJSON ¶
func (s *ExecuteBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExecuteInternalServerError ¶
type ExecuteInternalServerError Error
func (*ExecuteInternalServerError) Decode ¶
func (s *ExecuteInternalServerError) Decode(d *jx.Decoder) error
Decode decodes ExecuteInternalServerError from json.
func (*ExecuteInternalServerError) Encode ¶
func (s *ExecuteInternalServerError) Encode(e *jx.Encoder)
Encode encodes ExecuteInternalServerError as json.
func (*ExecuteInternalServerError) MarshalJSON ¶
func (s *ExecuteInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExecuteInternalServerError) UnmarshalJSON ¶
func (s *ExecuteInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExecuteOK ¶
type ExecuteOK struct {
JobId int64 `json:"jobId"`
Events string `json:"events"`
Websocket string `json:"websocket"`
}
func (*ExecuteOK) GetWebsocket ¶
GetWebsocket returns the value of Websocket.
func (*ExecuteOK) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ExecuteOK) SetWebsocket ¶
SetWebsocket sets the value of Websocket.
func (*ExecuteOK) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ExecuteParams ¶
type ExecuteParams struct {
// Authentication token.
XAuthToken OptString
}
ExecuteParams is parameters of execute operation.
type ExecuteRes ¶
type ExecuteRes interface {
// contains filtered or unexported methods
}
type ExecutionConfig ¶
type ExecutionConfig struct {
// Represents the worker provider.
WORKERPROVIDER string `json:"WORKER_PROVIDER"`
// Represents the concurrency level for the worker.
WORKERCONCURRENCY int32 `json:"WORKER_CONCURRENCY"`
// Represents the buffer size for the worker.
WORKERBUFFERSIZE int32 `json:"WORKER_BUFFER_SIZE"`
// Represents the task timeout.
WORKERTASKTIMEOUT int `json:"WORKER_TASK_TIMEOUT"`
// Represents the polling frequency for the worker in seconds.
WORKERPOLLFREQ int `json:"WORKER_POLL_FREQ"`
// Represents the runtime for the worker in seconds.
WORKERRUNTIME string `json:"WORKER_RUNTIME"`
// Represents the log level.
LOGLEVEL string `json:"LOG_LEVEL"`
// Represents the base directory for the system provider.
SYSTEMPROVIDERBASEDIR OptString `json:"SYSTEM_PROVIDER_BASE_DIR"`
// Represents whether to clean up directories created by the system provider.
SYSTEMPROVIDERCLEANUP OptBool `json:"SYSTEM_PROVIDER_CLEAN_UP"`
}
Ref: #/components/schemas/ExecutionConfig
func (*ExecutionConfig) Decode ¶
func (s *ExecutionConfig) Decode(d *jx.Decoder) error
Decode decodes ExecutionConfig from json.
func (*ExecutionConfig) Encode ¶
func (s *ExecutionConfig) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExecutionConfig) GetLOGLEVEL ¶
func (s *ExecutionConfig) GetLOGLEVEL() string
GetLOGLEVEL returns the value of LOGLEVEL.
func (*ExecutionConfig) GetSYSTEMPROVIDERBASEDIR ¶
func (s *ExecutionConfig) GetSYSTEMPROVIDERBASEDIR() OptString
GetSYSTEMPROVIDERBASEDIR returns the value of SYSTEMPROVIDERBASEDIR.
func (*ExecutionConfig) GetSYSTEMPROVIDERCLEANUP ¶
func (s *ExecutionConfig) GetSYSTEMPROVIDERCLEANUP() OptBool
GetSYSTEMPROVIDERCLEANUP returns the value of SYSTEMPROVIDERCLEANUP.
func (*ExecutionConfig) GetWORKERBUFFERSIZE ¶
func (s *ExecutionConfig) GetWORKERBUFFERSIZE() int32
GetWORKERBUFFERSIZE returns the value of WORKERBUFFERSIZE.
func (*ExecutionConfig) GetWORKERCONCURRENCY ¶
func (s *ExecutionConfig) GetWORKERCONCURRENCY() int32
GetWORKERCONCURRENCY returns the value of WORKERCONCURRENCY.
func (*ExecutionConfig) GetWORKERPOLLFREQ ¶
func (s *ExecutionConfig) GetWORKERPOLLFREQ() int
GetWORKERPOLLFREQ returns the value of WORKERPOLLFREQ.
func (*ExecutionConfig) GetWORKERPROVIDER ¶
func (s *ExecutionConfig) GetWORKERPROVIDER() string
GetWORKERPROVIDER returns the value of WORKERPROVIDER.
func (*ExecutionConfig) GetWORKERRUNTIME ¶
func (s *ExecutionConfig) GetWORKERRUNTIME() string
GetWORKERRUNTIME returns the value of WORKERRUNTIME.
func (*ExecutionConfig) GetWORKERTASKTIMEOUT ¶
func (s *ExecutionConfig) GetWORKERTASKTIMEOUT() int
GetWORKERTASKTIMEOUT returns the value of WORKERTASKTIMEOUT.
func (*ExecutionConfig) MarshalJSON ¶
func (s *ExecutionConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExecutionConfig) SetLOGLEVEL ¶
func (s *ExecutionConfig) SetLOGLEVEL(val string)
SetLOGLEVEL sets the value of LOGLEVEL.
func (*ExecutionConfig) SetSYSTEMPROVIDERBASEDIR ¶
func (s *ExecutionConfig) SetSYSTEMPROVIDERBASEDIR(val OptString)
SetSYSTEMPROVIDERBASEDIR sets the value of SYSTEMPROVIDERBASEDIR.
func (*ExecutionConfig) SetSYSTEMPROVIDERCLEANUP ¶
func (s *ExecutionConfig) SetSYSTEMPROVIDERCLEANUP(val OptBool)
SetSYSTEMPROVIDERCLEANUP sets the value of SYSTEMPROVIDERCLEANUP.
func (*ExecutionConfig) SetWORKERBUFFERSIZE ¶
func (s *ExecutionConfig) SetWORKERBUFFERSIZE(val int32)
SetWORKERBUFFERSIZE sets the value of WORKERBUFFERSIZE.
func (*ExecutionConfig) SetWORKERCONCURRENCY ¶
func (s *ExecutionConfig) SetWORKERCONCURRENCY(val int32)
SetWORKERCONCURRENCY sets the value of WORKERCONCURRENCY.
func (*ExecutionConfig) SetWORKERPOLLFREQ ¶
func (s *ExecutionConfig) SetWORKERPOLLFREQ(val int)
SetWORKERPOLLFREQ sets the value of WORKERPOLLFREQ.
func (*ExecutionConfig) SetWORKERPROVIDER ¶
func (s *ExecutionConfig) SetWORKERPROVIDER(val string)
SetWORKERPROVIDER sets the value of WORKERPROVIDER.
func (*ExecutionConfig) SetWORKERRUNTIME ¶
func (s *ExecutionConfig) SetWORKERRUNTIME(val string)
SetWORKERRUNTIME sets the value of WORKERRUNTIME.
func (*ExecutionConfig) SetWORKERTASKTIMEOUT ¶
func (s *ExecutionConfig) SetWORKERTASKTIMEOUT(val int)
SetWORKERTASKTIMEOUT sets the value of WORKERTASKTIMEOUT.
func (*ExecutionConfig) UnmarshalJSON ¶
func (s *ExecutionConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExecutionEnvironmentSpec ¶
type ExecutionEnvironmentSpec struct {
EnvironmentVariables []EnvironmentVariable `json:"environment_variables"`
LanguageDependencies []string `json:"languageDependencies"`
SystemDependencies []string `json:"systemDependencies"`
Setup OptString `json:"setup"`
}
Ref: #/components/schemas/ExecutionEnvironmentSpec
func (*ExecutionEnvironmentSpec) Decode ¶
func (s *ExecutionEnvironmentSpec) Decode(d *jx.Decoder) error
Decode decodes ExecutionEnvironmentSpec from json.
func (*ExecutionEnvironmentSpec) Encode ¶
func (s *ExecutionEnvironmentSpec) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExecutionEnvironmentSpec) GetEnvironmentVariables ¶
func (s *ExecutionEnvironmentSpec) GetEnvironmentVariables() []EnvironmentVariable
GetEnvironmentVariables returns the value of EnvironmentVariables.
func (*ExecutionEnvironmentSpec) GetLanguageDependencies ¶
func (s *ExecutionEnvironmentSpec) GetLanguageDependencies() []string
GetLanguageDependencies returns the value of LanguageDependencies.
func (*ExecutionEnvironmentSpec) GetSetup ¶
func (s *ExecutionEnvironmentSpec) GetSetup() OptString
GetSetup returns the value of Setup.
func (*ExecutionEnvironmentSpec) GetSystemDependencies ¶
func (s *ExecutionEnvironmentSpec) GetSystemDependencies() []string
GetSystemDependencies returns the value of SystemDependencies.
func (*ExecutionEnvironmentSpec) MarshalJSON ¶
func (s *ExecutionEnvironmentSpec) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExecutionEnvironmentSpec) SetEnvironmentVariables ¶
func (s *ExecutionEnvironmentSpec) SetEnvironmentVariables(val []EnvironmentVariable)
SetEnvironmentVariables sets the value of EnvironmentVariables.
func (*ExecutionEnvironmentSpec) SetLanguageDependencies ¶
func (s *ExecutionEnvironmentSpec) SetLanguageDependencies(val []string)
SetLanguageDependencies sets the value of LanguageDependencies.
func (*ExecutionEnvironmentSpec) SetSetup ¶
func (s *ExecutionEnvironmentSpec) SetSetup(val OptString)
SetSetup sets the value of Setup.
func (*ExecutionEnvironmentSpec) SetSystemDependencies ¶
func (s *ExecutionEnvironmentSpec) SetSystemDependencies(val []string)
SetSystemDependencies sets the value of SystemDependencies.
func (*ExecutionEnvironmentSpec) UnmarshalJSON ¶
func (s *ExecutionEnvironmentSpec) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExecutionRequest ¶
type ExecutionRequest struct {
Environment OptExecutionEnvironmentSpec `json:"environment"`
Code OptString `json:"code"`
Language OptString `json:"language"`
Version OptString `json:"version"`
MaxRetries OptInt `json:"max_retries"`
Timeout OptInt32 `json:"timeout"`
CmdLineArgs OptString `json:"cmdLineArgs"`
CompilerArgs OptString `json:"compilerArgs"`
Command OptString `json:"command"`
Files []byte `json:"files"`
Input OptString `json:"input"`
}
Ref: #/components/schemas/ExecutionRequest
func (*ExecutionRequest) Decode ¶
func (s *ExecutionRequest) Decode(d *jx.Decoder) error
Decode decodes ExecutionRequest from json.
func (*ExecutionRequest) Encode ¶
func (s *ExecutionRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExecutionRequest) GetCmdLineArgs ¶
func (s *ExecutionRequest) GetCmdLineArgs() OptString
GetCmdLineArgs returns the value of CmdLineArgs.
func (*ExecutionRequest) GetCode ¶
func (s *ExecutionRequest) GetCode() OptString
GetCode returns the value of Code.
func (*ExecutionRequest) GetCommand ¶
func (s *ExecutionRequest) GetCommand() OptString
GetCommand returns the value of Command.
func (*ExecutionRequest) GetCompilerArgs ¶
func (s *ExecutionRequest) GetCompilerArgs() OptString
GetCompilerArgs returns the value of CompilerArgs.
func (*ExecutionRequest) GetEnvironment ¶
func (s *ExecutionRequest) GetEnvironment() OptExecutionEnvironmentSpec
GetEnvironment returns the value of Environment.
func (*ExecutionRequest) GetFiles ¶
func (s *ExecutionRequest) GetFiles() []byte
GetFiles returns the value of Files.
func (*ExecutionRequest) GetInput ¶
func (s *ExecutionRequest) GetInput() OptString
GetInput returns the value of Input.
func (*ExecutionRequest) GetLanguage ¶
func (s *ExecutionRequest) GetLanguage() OptString
GetLanguage returns the value of Language.
func (*ExecutionRequest) GetMaxRetries ¶
func (s *ExecutionRequest) GetMaxRetries() OptInt
GetMaxRetries returns the value of MaxRetries.
func (*ExecutionRequest) GetTimeout ¶
func (s *ExecutionRequest) GetTimeout() OptInt32
GetTimeout returns the value of Timeout.
func (*ExecutionRequest) GetVersion ¶
func (s *ExecutionRequest) GetVersion() OptString
GetVersion returns the value of Version.
func (*ExecutionRequest) MarshalJSON ¶
func (s *ExecutionRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExecutionRequest) SetCmdLineArgs ¶
func (s *ExecutionRequest) SetCmdLineArgs(val OptString)
SetCmdLineArgs sets the value of CmdLineArgs.
func (*ExecutionRequest) SetCode ¶
func (s *ExecutionRequest) SetCode(val OptString)
SetCode sets the value of Code.
func (*ExecutionRequest) SetCommand ¶
func (s *ExecutionRequest) SetCommand(val OptString)
SetCommand sets the value of Command.
func (*ExecutionRequest) SetCompilerArgs ¶
func (s *ExecutionRequest) SetCompilerArgs(val OptString)
SetCompilerArgs sets the value of CompilerArgs.
func (*ExecutionRequest) SetEnvironment ¶
func (s *ExecutionRequest) SetEnvironment(val OptExecutionEnvironmentSpec)
SetEnvironment sets the value of Environment.
func (*ExecutionRequest) SetFiles ¶
func (s *ExecutionRequest) SetFiles(val []byte)
SetFiles sets the value of Files.
func (*ExecutionRequest) SetInput ¶
func (s *ExecutionRequest) SetInput(val OptString)
SetInput sets the value of Input.
func (*ExecutionRequest) SetLanguage ¶
func (s *ExecutionRequest) SetLanguage(val OptString)
SetLanguage sets the value of Language.
func (*ExecutionRequest) SetMaxRetries ¶
func (s *ExecutionRequest) SetMaxRetries(val OptInt)
SetMaxRetries sets the value of MaxRetries.
func (*ExecutionRequest) SetTimeout ¶
func (s *ExecutionRequest) SetTimeout(val OptInt32)
SetTimeout sets the value of Timeout.
func (*ExecutionRequest) SetVersion ¶
func (s *ExecutionRequest) SetVersion(val OptString)
SetVersion sets the value of Version.
func (*ExecutionRequest) UnmarshalJSON ¶
func (s *ExecutionRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExecutionResult ¶
type ExecutionResult struct {
JobId int64 `json:"jobId"`
Script string `json:"script"`
// Merged property.
Flake string `json:"flake"`
CreatedAt time.Time `json:"created_at"`
// Merged property.
StartedAt time.Time `json:"started_at"`
UpdatedAt OptDateTime `json:"updated_at"`
ExecId int64 `json:"execId"`
FinishedAt time.Time `json:"finished_at"`
ExecLogs string `json:"exec_logs"`
NixLogs OptString `json:"nix_logs"`
}
Merged schema. Ref: #/components/schemas/ExecutionResult
func (*ExecutionResult) Decode ¶
func (s *ExecutionResult) Decode(d *jx.Decoder) error
Decode decodes ExecutionResult from json.
func (*ExecutionResult) Encode ¶
func (s *ExecutionResult) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExecutionResult) GetCreatedAt ¶
func (s *ExecutionResult) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*ExecutionResult) GetExecId ¶
func (s *ExecutionResult) GetExecId() int64
GetExecId returns the value of ExecId.
func (*ExecutionResult) GetExecLogs ¶
func (s *ExecutionResult) GetExecLogs() string
GetExecLogs returns the value of ExecLogs.
func (*ExecutionResult) GetFinishedAt ¶
func (s *ExecutionResult) GetFinishedAt() time.Time
GetFinishedAt returns the value of FinishedAt.
func (*ExecutionResult) GetFlake ¶
func (s *ExecutionResult) GetFlake() string
GetFlake returns the value of Flake.
func (*ExecutionResult) GetJobId ¶
func (s *ExecutionResult) GetJobId() int64
GetJobId returns the value of JobId.
func (*ExecutionResult) GetNixLogs ¶
func (s *ExecutionResult) GetNixLogs() OptString
GetNixLogs returns the value of NixLogs.
func (*ExecutionResult) GetScript ¶
func (s *ExecutionResult) GetScript() string
GetScript returns the value of Script.
func (*ExecutionResult) GetStartedAt ¶
func (s *ExecutionResult) GetStartedAt() time.Time
GetStartedAt returns the value of StartedAt.
func (*ExecutionResult) GetUpdatedAt ¶
func (s *ExecutionResult) GetUpdatedAt() OptDateTime
GetUpdatedAt returns the value of UpdatedAt.
func (*ExecutionResult) MarshalJSON ¶
func (s *ExecutionResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExecutionResult) SetCreatedAt ¶
func (s *ExecutionResult) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*ExecutionResult) SetExecId ¶
func (s *ExecutionResult) SetExecId(val int64)
SetExecId sets the value of ExecId.
func (*ExecutionResult) SetExecLogs ¶
func (s *ExecutionResult) SetExecLogs(val string)
SetExecLogs sets the value of ExecLogs.
func (*ExecutionResult) SetFinishedAt ¶
func (s *ExecutionResult) SetFinishedAt(val time.Time)
SetFinishedAt sets the value of FinishedAt.
func (*ExecutionResult) SetFlake ¶
func (s *ExecutionResult) SetFlake(val string)
SetFlake sets the value of Flake.
func (*ExecutionResult) SetJobId ¶
func (s *ExecutionResult) SetJobId(val int64)
SetJobId sets the value of JobId.
func (*ExecutionResult) SetNixLogs ¶
func (s *ExecutionResult) SetNixLogs(val OptString)
SetNixLogs sets the value of NixLogs.
func (*ExecutionResult) SetScript ¶
func (s *ExecutionResult) SetScript(val string)
SetScript sets the value of Script.
func (*ExecutionResult) SetStartedAt ¶
func (s *ExecutionResult) SetStartedAt(val time.Time)
SetStartedAt sets the value of StartedAt.
func (*ExecutionResult) SetUpdatedAt ¶
func (s *ExecutionResult) SetUpdatedAt(val OptDateTime)
SetUpdatedAt sets the value of UpdatedAt.
func (*ExecutionResult) UnmarshalJSON ¶
func (s *ExecutionResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FetchFlakeForbidden ¶
type FetchFlakeForbidden Error
func (*FetchFlakeForbidden) Decode ¶
func (s *FetchFlakeForbidden) Decode(d *jx.Decoder) error
Decode decodes FetchFlakeForbidden from json.
func (*FetchFlakeForbidden) Encode ¶
func (s *FetchFlakeForbidden) Encode(e *jx.Encoder)
Encode encodes FetchFlakeForbidden as json.
func (*FetchFlakeForbidden) MarshalJSON ¶
func (s *FetchFlakeForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FetchFlakeForbidden) UnmarshalJSON ¶
func (s *FetchFlakeForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FetchFlakeInternalServerError ¶
type FetchFlakeInternalServerError Error
func (*FetchFlakeInternalServerError) Decode ¶
func (s *FetchFlakeInternalServerError) Decode(d *jx.Decoder) error
Decode decodes FetchFlakeInternalServerError from json.
func (*FetchFlakeInternalServerError) Encode ¶
func (s *FetchFlakeInternalServerError) Encode(e *jx.Encoder)
Encode encodes FetchFlakeInternalServerError as json.
func (*FetchFlakeInternalServerError) MarshalJSON ¶
func (s *FetchFlakeInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FetchFlakeInternalServerError) UnmarshalJSON ¶
func (s *FetchFlakeInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FetchFlakeOK ¶
type FetchFlakeOK struct {
Flake string `json:"flake"`
}
func (*FetchFlakeOK) Decode ¶
func (s *FetchFlakeOK) Decode(d *jx.Decoder) error
Decode decodes FetchFlakeOK from json.
func (*FetchFlakeOK) Encode ¶
func (s *FetchFlakeOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FetchFlakeOK) GetFlake ¶
func (s *FetchFlakeOK) GetFlake() string
GetFlake returns the value of Flake.
func (*FetchFlakeOK) MarshalJSON ¶
func (s *FetchFlakeOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FetchFlakeOK) SetFlake ¶
func (s *FetchFlakeOK) SetFlake(val string)
SetFlake sets the value of Flake.
func (*FetchFlakeOK) UnmarshalJSON ¶
func (s *FetchFlakeOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FetchFlakeParams ¶
type FetchFlakeParams struct {
// Job ID.
JobId int64
}
FetchFlakeParams is parameters of fetchFlake operation.
type FetchFlakeRes ¶
type FetchFlakeRes interface {
// contains filtered or unexported methods
}
type FetchLanguagePackagesBadRequest ¶
type FetchLanguagePackagesBadRequest Error
func (*FetchLanguagePackagesBadRequest) Decode ¶
func (s *FetchLanguagePackagesBadRequest) Decode(d *jx.Decoder) error
Decode decodes FetchLanguagePackagesBadRequest from json.
func (*FetchLanguagePackagesBadRequest) Encode ¶
func (s *FetchLanguagePackagesBadRequest) Encode(e *jx.Encoder)
Encode encodes FetchLanguagePackagesBadRequest as json.
func (*FetchLanguagePackagesBadRequest) MarshalJSON ¶
func (s *FetchLanguagePackagesBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FetchLanguagePackagesBadRequest) UnmarshalJSON ¶
func (s *FetchLanguagePackagesBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FetchLanguagePackagesForbidden ¶
type FetchLanguagePackagesForbidden Error
func (*FetchLanguagePackagesForbidden) Decode ¶
func (s *FetchLanguagePackagesForbidden) Decode(d *jx.Decoder) error
Decode decodes FetchLanguagePackagesForbidden from json.
func (*FetchLanguagePackagesForbidden) Encode ¶
func (s *FetchLanguagePackagesForbidden) Encode(e *jx.Encoder)
Encode encodes FetchLanguagePackagesForbidden as json.
func (*FetchLanguagePackagesForbidden) MarshalJSON ¶
func (s *FetchLanguagePackagesForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FetchLanguagePackagesForbidden) UnmarshalJSON ¶
func (s *FetchLanguagePackagesForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FetchLanguagePackagesInternalServerError ¶
type FetchLanguagePackagesInternalServerError Error
func (*FetchLanguagePackagesInternalServerError) Decode ¶
func (s *FetchLanguagePackagesInternalServerError) Decode(d *jx.Decoder) error
Decode decodes FetchLanguagePackagesInternalServerError from json.
func (*FetchLanguagePackagesInternalServerError) Encode ¶
func (s *FetchLanguagePackagesInternalServerError) Encode(e *jx.Encoder)
Encode encodes FetchLanguagePackagesInternalServerError as json.
func (*FetchLanguagePackagesInternalServerError) MarshalJSON ¶
func (s *FetchLanguagePackagesInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FetchLanguagePackagesInternalServerError) UnmarshalJSON ¶
func (s *FetchLanguagePackagesInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FetchLanguagePackagesOK ¶
type FetchLanguagePackagesOK struct {
Packages []Package `json:"packages"`
}
func (*FetchLanguagePackagesOK) Decode ¶
func (s *FetchLanguagePackagesOK) Decode(d *jx.Decoder) error
Decode decodes FetchLanguagePackagesOK from json.
func (*FetchLanguagePackagesOK) Encode ¶
func (s *FetchLanguagePackagesOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FetchLanguagePackagesOK) GetPackages ¶
func (s *FetchLanguagePackagesOK) GetPackages() []Package
GetPackages returns the value of Packages.
func (*FetchLanguagePackagesOK) MarshalJSON ¶
func (s *FetchLanguagePackagesOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FetchLanguagePackagesOK) SetPackages ¶
func (s *FetchLanguagePackagesOK) SetPackages(val []Package)
SetPackages sets the value of Packages.
func (*FetchLanguagePackagesOK) UnmarshalJSON ¶
func (s *FetchLanguagePackagesOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FetchLanguagePackagesOK) Validate ¶
func (s *FetchLanguagePackagesOK) Validate() error
type FetchLanguagePackagesParams ¶
type FetchLanguagePackagesParams struct {
// Authentication token.
XAuthToken OptString
// The language for which the package is searched.
Language string
}
FetchLanguagePackagesParams is parameters of FetchLanguagePackages operation.
type FetchLanguagePackagesRes ¶
type FetchLanguagePackagesRes interface {
// contains filtered or unexported methods
}
type FetchSystemPackagesBadRequest ¶
type FetchSystemPackagesBadRequest Error
func (*FetchSystemPackagesBadRequest) Decode ¶
func (s *FetchSystemPackagesBadRequest) Decode(d *jx.Decoder) error
Decode decodes FetchSystemPackagesBadRequest from json.
func (*FetchSystemPackagesBadRequest) Encode ¶
func (s *FetchSystemPackagesBadRequest) Encode(e *jx.Encoder)
Encode encodes FetchSystemPackagesBadRequest as json.
func (*FetchSystemPackagesBadRequest) MarshalJSON ¶
func (s *FetchSystemPackagesBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FetchSystemPackagesBadRequest) UnmarshalJSON ¶
func (s *FetchSystemPackagesBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FetchSystemPackagesForbidden ¶
type FetchSystemPackagesForbidden Error
func (*FetchSystemPackagesForbidden) Decode ¶
func (s *FetchSystemPackagesForbidden) Decode(d *jx.Decoder) error
Decode decodes FetchSystemPackagesForbidden from json.
func (*FetchSystemPackagesForbidden) Encode ¶
func (s *FetchSystemPackagesForbidden) Encode(e *jx.Encoder)
Encode encodes FetchSystemPackagesForbidden as json.
func (*FetchSystemPackagesForbidden) MarshalJSON ¶
func (s *FetchSystemPackagesForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FetchSystemPackagesForbidden) UnmarshalJSON ¶
func (s *FetchSystemPackagesForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FetchSystemPackagesInternalServerError ¶
type FetchSystemPackagesInternalServerError Error
func (*FetchSystemPackagesInternalServerError) Decode ¶
func (s *FetchSystemPackagesInternalServerError) Decode(d *jx.Decoder) error
Decode decodes FetchSystemPackagesInternalServerError from json.
func (*FetchSystemPackagesInternalServerError) Encode ¶
func (s *FetchSystemPackagesInternalServerError) Encode(e *jx.Encoder)
Encode encodes FetchSystemPackagesInternalServerError as json.
func (*FetchSystemPackagesInternalServerError) MarshalJSON ¶
func (s *FetchSystemPackagesInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FetchSystemPackagesInternalServerError) UnmarshalJSON ¶
func (s *FetchSystemPackagesInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FetchSystemPackagesOK ¶
type FetchSystemPackagesOK struct {
Packages []Package `json:"packages"`
}
func (*FetchSystemPackagesOK) Decode ¶
func (s *FetchSystemPackagesOK) Decode(d *jx.Decoder) error
Decode decodes FetchSystemPackagesOK from json.
func (*FetchSystemPackagesOK) Encode ¶
func (s *FetchSystemPackagesOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FetchSystemPackagesOK) GetPackages ¶
func (s *FetchSystemPackagesOK) GetPackages() []Package
GetPackages returns the value of Packages.
func (*FetchSystemPackagesOK) MarshalJSON ¶
func (s *FetchSystemPackagesOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FetchSystemPackagesOK) SetPackages ¶
func (s *FetchSystemPackagesOK) SetPackages(val []Package)
SetPackages sets the value of Packages.
func (*FetchSystemPackagesOK) UnmarshalJSON ¶
func (s *FetchSystemPackagesOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FetchSystemPackagesOK) Validate ¶
func (s *FetchSystemPackagesOK) Validate() error
type FetchSystemPackagesParams ¶
type FetchSystemPackagesParams struct {
// Authentication token.
XAuthToken OptString
}
FetchSystemPackagesParams is parameters of FetchSystemPackages operation.
type FetchSystemPackagesRes ¶
type FetchSystemPackagesRes interface {
// contains filtered or unexported methods
}
type GetAllExecutionJobsBadRequest ¶
type GetAllExecutionJobsBadRequest Error
func (*GetAllExecutionJobsBadRequest) Decode ¶
func (s *GetAllExecutionJobsBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetAllExecutionJobsBadRequest from json.
func (*GetAllExecutionJobsBadRequest) Encode ¶
func (s *GetAllExecutionJobsBadRequest) Encode(e *jx.Encoder)
Encode encodes GetAllExecutionJobsBadRequest as json.
func (*GetAllExecutionJobsBadRequest) MarshalJSON ¶
func (s *GetAllExecutionJobsBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllExecutionJobsBadRequest) UnmarshalJSON ¶
func (s *GetAllExecutionJobsBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllExecutionJobsForbidden ¶
type GetAllExecutionJobsForbidden Error
func (*GetAllExecutionJobsForbidden) Decode ¶
func (s *GetAllExecutionJobsForbidden) Decode(d *jx.Decoder) error
Decode decodes GetAllExecutionJobsForbidden from json.
func (*GetAllExecutionJobsForbidden) Encode ¶
func (s *GetAllExecutionJobsForbidden) Encode(e *jx.Encoder)
Encode encodes GetAllExecutionJobsForbidden as json.
func (*GetAllExecutionJobsForbidden) MarshalJSON ¶
func (s *GetAllExecutionJobsForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllExecutionJobsForbidden) UnmarshalJSON ¶
func (s *GetAllExecutionJobsForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllExecutionJobsInternalServerError ¶
type GetAllExecutionJobsInternalServerError Error
func (*GetAllExecutionJobsInternalServerError) Decode ¶
func (s *GetAllExecutionJobsInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetAllExecutionJobsInternalServerError from json.
func (*GetAllExecutionJobsInternalServerError) Encode ¶
func (s *GetAllExecutionJobsInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetAllExecutionJobsInternalServerError as json.
func (*GetAllExecutionJobsInternalServerError) MarshalJSON ¶
func (s *GetAllExecutionJobsInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllExecutionJobsInternalServerError) UnmarshalJSON ¶
func (s *GetAllExecutionJobsInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllExecutionJobsOK ¶
type GetAllExecutionJobsOK struct {
Jobs []Job `json:"jobs"`
Pagination PaginationResponse `json:"pagination"`
}
func (*GetAllExecutionJobsOK) Decode ¶
func (s *GetAllExecutionJobsOK) Decode(d *jx.Decoder) error
Decode decodes GetAllExecutionJobsOK from json.
func (*GetAllExecutionJobsOK) Encode ¶
func (s *GetAllExecutionJobsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAllExecutionJobsOK) GetJobs ¶
func (s *GetAllExecutionJobsOK) GetJobs() []Job
GetJobs returns the value of Jobs.
func (*GetAllExecutionJobsOK) GetPagination ¶
func (s *GetAllExecutionJobsOK) GetPagination() PaginationResponse
GetPagination returns the value of Pagination.
func (*GetAllExecutionJobsOK) MarshalJSON ¶
func (s *GetAllExecutionJobsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllExecutionJobsOK) SetJobs ¶
func (s *GetAllExecutionJobsOK) SetJobs(val []Job)
SetJobs sets the value of Jobs.
func (*GetAllExecutionJobsOK) SetPagination ¶
func (s *GetAllExecutionJobsOK) SetPagination(val PaginationResponse)
SetPagination sets the value of Pagination.
func (*GetAllExecutionJobsOK) UnmarshalJSON ¶
func (s *GetAllExecutionJobsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetAllExecutionJobsOK) Validate ¶
func (s *GetAllExecutionJobsOK) Validate() error
type GetAllExecutionJobsParams ¶
type GetAllExecutionJobsParams struct {
// The current position of the cursor.
Cursor OptInt64
// The limit for the records.
Limit OptInt64
// Authentication token.
XAuthToken OptString
}
GetAllExecutionJobsParams is parameters of getAllExecutionJobs operation.
type GetAllExecutionJobsRes ¶
type GetAllExecutionJobsRes interface {
// contains filtered or unexported methods
}
type GetAllExecutionsBadRequest ¶
type GetAllExecutionsBadRequest Error
func (*GetAllExecutionsBadRequest) Decode ¶
func (s *GetAllExecutionsBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetAllExecutionsBadRequest from json.
func (*GetAllExecutionsBadRequest) Encode ¶
func (s *GetAllExecutionsBadRequest) Encode(e *jx.Encoder)
Encode encodes GetAllExecutionsBadRequest as json.
func (*GetAllExecutionsBadRequest) MarshalJSON ¶
func (s *GetAllExecutionsBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllExecutionsBadRequest) UnmarshalJSON ¶
func (s *GetAllExecutionsBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllExecutionsForbidden ¶
type GetAllExecutionsForbidden Error
func (*GetAllExecutionsForbidden) Decode ¶
func (s *GetAllExecutionsForbidden) Decode(d *jx.Decoder) error
Decode decodes GetAllExecutionsForbidden from json.
func (*GetAllExecutionsForbidden) Encode ¶
func (s *GetAllExecutionsForbidden) Encode(e *jx.Encoder)
Encode encodes GetAllExecutionsForbidden as json.
func (*GetAllExecutionsForbidden) MarshalJSON ¶
func (s *GetAllExecutionsForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllExecutionsForbidden) UnmarshalJSON ¶
func (s *GetAllExecutionsForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllExecutionsInternalServerError ¶
type GetAllExecutionsInternalServerError Error
func (*GetAllExecutionsInternalServerError) Decode ¶
func (s *GetAllExecutionsInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetAllExecutionsInternalServerError from json.
func (*GetAllExecutionsInternalServerError) Encode ¶
func (s *GetAllExecutionsInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetAllExecutionsInternalServerError as json.
func (*GetAllExecutionsInternalServerError) MarshalJSON ¶
func (s *GetAllExecutionsInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllExecutionsInternalServerError) UnmarshalJSON ¶
func (s *GetAllExecutionsInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllExecutionsOK ¶
type GetAllExecutionsOK struct {
Executions []ExecutionResult `json:"executions"`
Pagination PaginationResponse `json:"pagination"`
}
func (*GetAllExecutionsOK) Decode ¶
func (s *GetAllExecutionsOK) Decode(d *jx.Decoder) error
Decode decodes GetAllExecutionsOK from json.
func (*GetAllExecutionsOK) Encode ¶
func (s *GetAllExecutionsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAllExecutionsOK) GetExecutions ¶
func (s *GetAllExecutionsOK) GetExecutions() []ExecutionResult
GetExecutions returns the value of Executions.
func (*GetAllExecutionsOK) GetPagination ¶
func (s *GetAllExecutionsOK) GetPagination() PaginationResponse
GetPagination returns the value of Pagination.
func (*GetAllExecutionsOK) MarshalJSON ¶
func (s *GetAllExecutionsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllExecutionsOK) SetExecutions ¶
func (s *GetAllExecutionsOK) SetExecutions(val []ExecutionResult)
SetExecutions sets the value of Executions.
func (*GetAllExecutionsOK) SetPagination ¶
func (s *GetAllExecutionsOK) SetPagination(val PaginationResponse)
SetPagination sets the value of Pagination.
func (*GetAllExecutionsOK) UnmarshalJSON ¶
func (s *GetAllExecutionsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetAllExecutionsOK) Validate ¶
func (s *GetAllExecutionsOK) Validate() error
type GetAllExecutionsParams ¶
type GetAllExecutionsParams struct {
// The current position of the cursor.
Cursor OptInt64
// The limit for the records.
Limit OptInt64
// Authentication token.
XAuthToken OptString
}
GetAllExecutionsParams is parameters of getAllExecutions operation.
type GetAllExecutionsRes ¶
type GetAllExecutionsRes interface {
// contains filtered or unexported methods
}
type GetAllLanguageVersionsForbidden ¶
type GetAllLanguageVersionsForbidden Error
func (*GetAllLanguageVersionsForbidden) Decode ¶
func (s *GetAllLanguageVersionsForbidden) Decode(d *jx.Decoder) error
Decode decodes GetAllLanguageVersionsForbidden from json.
func (*GetAllLanguageVersionsForbidden) Encode ¶
func (s *GetAllLanguageVersionsForbidden) Encode(e *jx.Encoder)
Encode encodes GetAllLanguageVersionsForbidden as json.
func (*GetAllLanguageVersionsForbidden) MarshalJSON ¶
func (s *GetAllLanguageVersionsForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllLanguageVersionsForbidden) UnmarshalJSON ¶
func (s *GetAllLanguageVersionsForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllLanguageVersionsInternalServerError ¶
type GetAllLanguageVersionsInternalServerError Error
func (*GetAllLanguageVersionsInternalServerError) Decode ¶
func (s *GetAllLanguageVersionsInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetAllLanguageVersionsInternalServerError from json.
func (*GetAllLanguageVersionsInternalServerError) Encode ¶
func (s *GetAllLanguageVersionsInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetAllLanguageVersionsInternalServerError as json.
func (*GetAllLanguageVersionsInternalServerError) MarshalJSON ¶
func (s *GetAllLanguageVersionsInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllLanguageVersionsInternalServerError) UnmarshalJSON ¶
func (s *GetAllLanguageVersionsInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllLanguageVersionsOK ¶
type GetAllLanguageVersionsOK struct {
LanguageVersions []LanguageVersionResponse `json:"languageVersions"`
}
func (*GetAllLanguageVersionsOK) Decode ¶
func (s *GetAllLanguageVersionsOK) Decode(d *jx.Decoder) error
Decode decodes GetAllLanguageVersionsOK from json.
func (*GetAllLanguageVersionsOK) Encode ¶
func (s *GetAllLanguageVersionsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAllLanguageVersionsOK) GetLanguageVersions ¶
func (s *GetAllLanguageVersionsOK) GetLanguageVersions() []LanguageVersionResponse
GetLanguageVersions returns the value of LanguageVersions.
func (*GetAllLanguageVersionsOK) MarshalJSON ¶
func (s *GetAllLanguageVersionsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllLanguageVersionsOK) SetLanguageVersions ¶
func (s *GetAllLanguageVersionsOK) SetLanguageVersions(val []LanguageVersionResponse)
SetLanguageVersions sets the value of LanguageVersions.
func (*GetAllLanguageVersionsOK) UnmarshalJSON ¶
func (s *GetAllLanguageVersionsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetAllLanguageVersionsOK) Validate ¶
func (s *GetAllLanguageVersionsOK) Validate() error
type GetAllLanguageVersionsParams ¶
type GetAllLanguageVersionsParams struct {
// Authentication token.
XAuthToken OptString
}
GetAllLanguageVersionsParams is parameters of getAllLanguageVersions operation.
type GetAllLanguageVersionsRes ¶
type GetAllLanguageVersionsRes interface {
// contains filtered or unexported methods
}
type GetAllLanguagesForbidden ¶
type GetAllLanguagesForbidden Error
func (*GetAllLanguagesForbidden) Decode ¶
func (s *GetAllLanguagesForbidden) Decode(d *jx.Decoder) error
Decode decodes GetAllLanguagesForbidden from json.
func (*GetAllLanguagesForbidden) Encode ¶
func (s *GetAllLanguagesForbidden) Encode(e *jx.Encoder)
Encode encodes GetAllLanguagesForbidden as json.
func (*GetAllLanguagesForbidden) MarshalJSON ¶
func (s *GetAllLanguagesForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllLanguagesForbidden) UnmarshalJSON ¶
func (s *GetAllLanguagesForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllLanguagesInternalServerError ¶
type GetAllLanguagesInternalServerError Error
func (*GetAllLanguagesInternalServerError) Decode ¶
func (s *GetAllLanguagesInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetAllLanguagesInternalServerError from json.
func (*GetAllLanguagesInternalServerError) Encode ¶
func (s *GetAllLanguagesInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetAllLanguagesInternalServerError as json.
func (*GetAllLanguagesInternalServerError) MarshalJSON ¶
func (s *GetAllLanguagesInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllLanguagesInternalServerError) UnmarshalJSON ¶
func (s *GetAllLanguagesInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllLanguagesOK ¶
type GetAllLanguagesOK struct {
Languages []LanguageResponse `json:"languages"`
}
func (*GetAllLanguagesOK) Decode ¶
func (s *GetAllLanguagesOK) Decode(d *jx.Decoder) error
Decode decodes GetAllLanguagesOK from json.
func (*GetAllLanguagesOK) Encode ¶
func (s *GetAllLanguagesOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAllLanguagesOK) GetLanguages ¶
func (s *GetAllLanguagesOK) GetLanguages() []LanguageResponse
GetLanguages returns the value of Languages.
func (*GetAllLanguagesOK) MarshalJSON ¶
func (s *GetAllLanguagesOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllLanguagesOK) SetLanguages ¶
func (s *GetAllLanguagesOK) SetLanguages(val []LanguageResponse)
SetLanguages sets the value of Languages.
func (*GetAllLanguagesOK) UnmarshalJSON ¶
func (s *GetAllLanguagesOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetAllLanguagesOK) Validate ¶
func (s *GetAllLanguagesOK) Validate() error
type GetAllLanguagesParams ¶
type GetAllLanguagesParams struct {
// Authentication token.
XAuthToken OptString
}
GetAllLanguagesParams is parameters of getAllLanguages operation.
type GetAllLanguagesRes ¶
type GetAllLanguagesRes interface {
// contains filtered or unexported methods
}
type GetAllVersionsForbidden ¶
type GetAllVersionsForbidden Error
func (*GetAllVersionsForbidden) Decode ¶
func (s *GetAllVersionsForbidden) Decode(d *jx.Decoder) error
Decode decodes GetAllVersionsForbidden from json.
func (*GetAllVersionsForbidden) Encode ¶
func (s *GetAllVersionsForbidden) Encode(e *jx.Encoder)
Encode encodes GetAllVersionsForbidden as json.
func (*GetAllVersionsForbidden) MarshalJSON ¶
func (s *GetAllVersionsForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllVersionsForbidden) UnmarshalJSON ¶
func (s *GetAllVersionsForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllVersionsInternalServerError ¶
type GetAllVersionsInternalServerError Error
func (*GetAllVersionsInternalServerError) Decode ¶
func (s *GetAllVersionsInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetAllVersionsInternalServerError from json.
func (*GetAllVersionsInternalServerError) Encode ¶
func (s *GetAllVersionsInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetAllVersionsInternalServerError as json.
func (*GetAllVersionsInternalServerError) MarshalJSON ¶
func (s *GetAllVersionsInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllVersionsInternalServerError) UnmarshalJSON ¶
func (s *GetAllVersionsInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllVersionsOK ¶
type GetAllVersionsOK struct {
LanguageVersions []LanguageVersionResponse `json:"languageVersions"`
}
func (*GetAllVersionsOK) Decode ¶
func (s *GetAllVersionsOK) Decode(d *jx.Decoder) error
Decode decodes GetAllVersionsOK from json.
func (*GetAllVersionsOK) Encode ¶
func (s *GetAllVersionsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAllVersionsOK) GetLanguageVersions ¶
func (s *GetAllVersionsOK) GetLanguageVersions() []LanguageVersionResponse
GetLanguageVersions returns the value of LanguageVersions.
func (*GetAllVersionsOK) MarshalJSON ¶
func (s *GetAllVersionsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllVersionsOK) SetLanguageVersions ¶
func (s *GetAllVersionsOK) SetLanguageVersions(val []LanguageVersionResponse)
SetLanguageVersions sets the value of LanguageVersions.
func (*GetAllVersionsOK) UnmarshalJSON ¶
func (s *GetAllVersionsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetAllVersionsOK) Validate ¶
func (s *GetAllVersionsOK) Validate() error
type GetAllVersionsParams ¶
type GetAllVersionsParams struct {
// The ID of the language to retrieve versions.
ID int64
// Authentication token.
XAuthToken OptString
}
GetAllVersionsParams is parameters of getAllVersions operation.
type GetAllVersionsRes ¶
type GetAllVersionsRes interface {
// contains filtered or unexported methods
}
type GetExecutionConfigForbidden ¶
type GetExecutionConfigForbidden Error
func (*GetExecutionConfigForbidden) Decode ¶
func (s *GetExecutionConfigForbidden) Decode(d *jx.Decoder) error
Decode decodes GetExecutionConfigForbidden from json.
func (*GetExecutionConfigForbidden) Encode ¶
func (s *GetExecutionConfigForbidden) Encode(e *jx.Encoder)
Encode encodes GetExecutionConfigForbidden as json.
func (*GetExecutionConfigForbidden) MarshalJSON ¶
func (s *GetExecutionConfigForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetExecutionConfigForbidden) UnmarshalJSON ¶
func (s *GetExecutionConfigForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetExecutionConfigInternalServerError ¶
type GetExecutionConfigInternalServerError Error
func (*GetExecutionConfigInternalServerError) Decode ¶
func (s *GetExecutionConfigInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetExecutionConfigInternalServerError from json.
func (*GetExecutionConfigInternalServerError) Encode ¶
func (s *GetExecutionConfigInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetExecutionConfigInternalServerError as json.
func (*GetExecutionConfigInternalServerError) MarshalJSON ¶
func (s *GetExecutionConfigInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetExecutionConfigInternalServerError) UnmarshalJSON ¶
func (s *GetExecutionConfigInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetExecutionConfigParams ¶
type GetExecutionConfigParams struct {
// Authentication token.
XAuthToken OptString
}
GetExecutionConfigParams is parameters of getExecutionConfig operation.
type GetExecutionConfigRes ¶
type GetExecutionConfigRes interface {
// contains filtered or unexported methods
}
type GetExecutionJobByIdBadRequest ¶
type GetExecutionJobByIdBadRequest Error
func (*GetExecutionJobByIdBadRequest) Decode ¶
func (s *GetExecutionJobByIdBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetExecutionJobByIdBadRequest from json.
func (*GetExecutionJobByIdBadRequest) Encode ¶
func (s *GetExecutionJobByIdBadRequest) Encode(e *jx.Encoder)
Encode encodes GetExecutionJobByIdBadRequest as json.
func (*GetExecutionJobByIdBadRequest) MarshalJSON ¶
func (s *GetExecutionJobByIdBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetExecutionJobByIdBadRequest) UnmarshalJSON ¶
func (s *GetExecutionJobByIdBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetExecutionJobByIdInternalServerError ¶
type GetExecutionJobByIdInternalServerError Error
func (*GetExecutionJobByIdInternalServerError) Decode ¶
func (s *GetExecutionJobByIdInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetExecutionJobByIdInternalServerError from json.
func (*GetExecutionJobByIdInternalServerError) Encode ¶
func (s *GetExecutionJobByIdInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetExecutionJobByIdInternalServerError as json.
func (*GetExecutionJobByIdInternalServerError) MarshalJSON ¶
func (s *GetExecutionJobByIdInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetExecutionJobByIdInternalServerError) UnmarshalJSON ¶
func (s *GetExecutionJobByIdInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetExecutionJobByIdNotFound ¶
type GetExecutionJobByIdNotFound struct{}
GetExecutionJobByIdNotFound is response for GetExecutionJobById operation.
type GetExecutionJobByIdParams ¶
GetExecutionJobByIdParams is parameters of getExecutionJobById operation.
type GetExecutionJobByIdRes ¶
type GetExecutionJobByIdRes interface {
// contains filtered or unexported methods
}
type GetExecutionResultByIdBadRequest ¶
type GetExecutionResultByIdBadRequest Error
func (*GetExecutionResultByIdBadRequest) Decode ¶
func (s *GetExecutionResultByIdBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetExecutionResultByIdBadRequest from json.
func (*GetExecutionResultByIdBadRequest) Encode ¶
func (s *GetExecutionResultByIdBadRequest) Encode(e *jx.Encoder)
Encode encodes GetExecutionResultByIdBadRequest as json.
func (*GetExecutionResultByIdBadRequest) MarshalJSON ¶
func (s *GetExecutionResultByIdBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetExecutionResultByIdBadRequest) UnmarshalJSON ¶
func (s *GetExecutionResultByIdBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetExecutionResultByIdInternalServerError ¶
type GetExecutionResultByIdInternalServerError Error
func (*GetExecutionResultByIdInternalServerError) Decode ¶
func (s *GetExecutionResultByIdInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetExecutionResultByIdInternalServerError from json.
func (*GetExecutionResultByIdInternalServerError) Encode ¶
func (s *GetExecutionResultByIdInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetExecutionResultByIdInternalServerError as json.
func (*GetExecutionResultByIdInternalServerError) MarshalJSON ¶
func (s *GetExecutionResultByIdInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetExecutionResultByIdInternalServerError) UnmarshalJSON ¶
func (s *GetExecutionResultByIdInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetExecutionResultByIdNotFound ¶
type GetExecutionResultByIdNotFound struct{}
GetExecutionResultByIdNotFound is response for GetExecutionResultById operation.
type GetExecutionResultByIdParams ¶
type GetExecutionResultByIdParams struct {
ExecId int64
// Authentication token.
XAuthToken OptString
}
GetExecutionResultByIdParams is parameters of getExecutionResultById operation.
type GetExecutionResultByIdRes ¶
type GetExecutionResultByIdRes interface {
// contains filtered or unexported methods
}
type GetExecutionsForJobBadRequest ¶
type GetExecutionsForJobBadRequest Error
func (*GetExecutionsForJobBadRequest) Decode ¶
func (s *GetExecutionsForJobBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetExecutionsForJobBadRequest from json.
func (*GetExecutionsForJobBadRequest) Encode ¶
func (s *GetExecutionsForJobBadRequest) Encode(e *jx.Encoder)
Encode encodes GetExecutionsForJobBadRequest as json.
func (*GetExecutionsForJobBadRequest) MarshalJSON ¶
func (s *GetExecutionsForJobBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetExecutionsForJobBadRequest) UnmarshalJSON ¶
func (s *GetExecutionsForJobBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetExecutionsForJobInternalServerError ¶
type GetExecutionsForJobInternalServerError Error
func (*GetExecutionsForJobInternalServerError) Decode ¶
func (s *GetExecutionsForJobInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetExecutionsForJobInternalServerError from json.
func (*GetExecutionsForJobInternalServerError) Encode ¶
func (s *GetExecutionsForJobInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetExecutionsForJobInternalServerError as json.
func (*GetExecutionsForJobInternalServerError) MarshalJSON ¶
func (s *GetExecutionsForJobInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetExecutionsForJobInternalServerError) UnmarshalJSON ¶
func (s *GetExecutionsForJobInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetExecutionsForJobNotFound ¶
type GetExecutionsForJobNotFound struct{}
GetExecutionsForJobNotFound is response for GetExecutionsForJob operation.
type GetExecutionsForJobOK ¶
type GetExecutionsForJobOK struct {
Executions []ExecutionResult `json:"executions"`
Pagination PaginationResponse `json:"pagination"`
}
func (*GetExecutionsForJobOK) Decode ¶
func (s *GetExecutionsForJobOK) Decode(d *jx.Decoder) error
Decode decodes GetExecutionsForJobOK from json.
func (*GetExecutionsForJobOK) Encode ¶
func (s *GetExecutionsForJobOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetExecutionsForJobOK) GetExecutions ¶
func (s *GetExecutionsForJobOK) GetExecutions() []ExecutionResult
GetExecutions returns the value of Executions.
func (*GetExecutionsForJobOK) GetPagination ¶
func (s *GetExecutionsForJobOK) GetPagination() PaginationResponse
GetPagination returns the value of Pagination.
func (*GetExecutionsForJobOK) MarshalJSON ¶
func (s *GetExecutionsForJobOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetExecutionsForJobOK) SetExecutions ¶
func (s *GetExecutionsForJobOK) SetExecutions(val []ExecutionResult)
SetExecutions sets the value of Executions.
func (*GetExecutionsForJobOK) SetPagination ¶
func (s *GetExecutionsForJobOK) SetPagination(val PaginationResponse)
SetPagination sets the value of Pagination.
func (*GetExecutionsForJobOK) UnmarshalJSON ¶
func (s *GetExecutionsForJobOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetExecutionsForJobOK) Validate ¶
func (s *GetExecutionsForJobOK) Validate() error
type GetExecutionsForJobParams ¶
type GetExecutionsForJobParams struct {
JobId int64
// The current position of the cursor.
Cursor OptInt64
// The limit for the records.
Limit OptInt64
// Authentication token.
XAuthToken OptString
}
GetExecutionsForJobParams is parameters of getExecutionsForJob operation.
type GetExecutionsForJobRes ¶
type GetExecutionsForJobRes interface {
// contains filtered or unexported methods
}
type GetLanguageByIdForbidden ¶
type GetLanguageByIdForbidden Error
func (*GetLanguageByIdForbidden) Decode ¶
func (s *GetLanguageByIdForbidden) Decode(d *jx.Decoder) error
Decode decodes GetLanguageByIdForbidden from json.
func (*GetLanguageByIdForbidden) Encode ¶
func (s *GetLanguageByIdForbidden) Encode(e *jx.Encoder)
Encode encodes GetLanguageByIdForbidden as json.
func (*GetLanguageByIdForbidden) MarshalJSON ¶
func (s *GetLanguageByIdForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLanguageByIdForbidden) UnmarshalJSON ¶
func (s *GetLanguageByIdForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLanguageByIdInternalServerError ¶
type GetLanguageByIdInternalServerError Error
func (*GetLanguageByIdInternalServerError) Decode ¶
func (s *GetLanguageByIdInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetLanguageByIdInternalServerError from json.
func (*GetLanguageByIdInternalServerError) Encode ¶
func (s *GetLanguageByIdInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetLanguageByIdInternalServerError as json.
func (*GetLanguageByIdInternalServerError) MarshalJSON ¶
func (s *GetLanguageByIdInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLanguageByIdInternalServerError) UnmarshalJSON ¶
func (s *GetLanguageByIdInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLanguageByIdNotFound ¶
type GetLanguageByIdNotFound Error
func (*GetLanguageByIdNotFound) Decode ¶
func (s *GetLanguageByIdNotFound) Decode(d *jx.Decoder) error
Decode decodes GetLanguageByIdNotFound from json.
func (*GetLanguageByIdNotFound) Encode ¶
func (s *GetLanguageByIdNotFound) Encode(e *jx.Encoder)
Encode encodes GetLanguageByIdNotFound as json.
func (*GetLanguageByIdNotFound) MarshalJSON ¶
func (s *GetLanguageByIdNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLanguageByIdNotFound) UnmarshalJSON ¶
func (s *GetLanguageByIdNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLanguageByIdOK ¶
type GetLanguageByIdOK struct {
Language LanguageResponse `json:"language"`
}
func (*GetLanguageByIdOK) Decode ¶
func (s *GetLanguageByIdOK) Decode(d *jx.Decoder) error
Decode decodes GetLanguageByIdOK from json.
func (*GetLanguageByIdOK) Encode ¶
func (s *GetLanguageByIdOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetLanguageByIdOK) GetLanguage ¶
func (s *GetLanguageByIdOK) GetLanguage() LanguageResponse
GetLanguage returns the value of Language.
func (*GetLanguageByIdOK) MarshalJSON ¶
func (s *GetLanguageByIdOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLanguageByIdOK) SetLanguage ¶
func (s *GetLanguageByIdOK) SetLanguage(val LanguageResponse)
SetLanguage sets the value of Language.
func (*GetLanguageByIdOK) UnmarshalJSON ¶
func (s *GetLanguageByIdOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLanguageByIdParams ¶
type GetLanguageByIdParams struct {
// The ID of the language to retrieve.
ID int64
// Authentication token.
XAuthToken OptString
}
GetLanguageByIdParams is parameters of getLanguageById operation.
type GetLanguageByIdRes ¶
type GetLanguageByIdRes interface {
// contains filtered or unexported methods
}
type GetLanguageVersionByIdForbidden ¶
type GetLanguageVersionByIdForbidden Error
func (*GetLanguageVersionByIdForbidden) Decode ¶
func (s *GetLanguageVersionByIdForbidden) Decode(d *jx.Decoder) error
Decode decodes GetLanguageVersionByIdForbidden from json.
func (*GetLanguageVersionByIdForbidden) Encode ¶
func (s *GetLanguageVersionByIdForbidden) Encode(e *jx.Encoder)
Encode encodes GetLanguageVersionByIdForbidden as json.
func (*GetLanguageVersionByIdForbidden) MarshalJSON ¶
func (s *GetLanguageVersionByIdForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLanguageVersionByIdForbidden) UnmarshalJSON ¶
func (s *GetLanguageVersionByIdForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLanguageVersionByIdInternalServerError ¶
type GetLanguageVersionByIdInternalServerError Error
func (*GetLanguageVersionByIdInternalServerError) Decode ¶
func (s *GetLanguageVersionByIdInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetLanguageVersionByIdInternalServerError from json.
func (*GetLanguageVersionByIdInternalServerError) Encode ¶
func (s *GetLanguageVersionByIdInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetLanguageVersionByIdInternalServerError as json.
func (*GetLanguageVersionByIdInternalServerError) MarshalJSON ¶
func (s *GetLanguageVersionByIdInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLanguageVersionByIdInternalServerError) UnmarshalJSON ¶
func (s *GetLanguageVersionByIdInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLanguageVersionByIdNotFound ¶
type GetLanguageVersionByIdNotFound Error
func (*GetLanguageVersionByIdNotFound) Decode ¶
func (s *GetLanguageVersionByIdNotFound) Decode(d *jx.Decoder) error
Decode decodes GetLanguageVersionByIdNotFound from json.
func (*GetLanguageVersionByIdNotFound) Encode ¶
func (s *GetLanguageVersionByIdNotFound) Encode(e *jx.Encoder)
Encode encodes GetLanguageVersionByIdNotFound as json.
func (*GetLanguageVersionByIdNotFound) MarshalJSON ¶
func (s *GetLanguageVersionByIdNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLanguageVersionByIdNotFound) UnmarshalJSON ¶
func (s *GetLanguageVersionByIdNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLanguageVersionByIdOK ¶
type GetLanguageVersionByIdOK struct {
Language LanguageVersionResponse `json:"language"`
}
func (*GetLanguageVersionByIdOK) Decode ¶
func (s *GetLanguageVersionByIdOK) Decode(d *jx.Decoder) error
Decode decodes GetLanguageVersionByIdOK from json.
func (*GetLanguageVersionByIdOK) Encode ¶
func (s *GetLanguageVersionByIdOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetLanguageVersionByIdOK) GetLanguage ¶
func (s *GetLanguageVersionByIdOK) GetLanguage() LanguageVersionResponse
GetLanguage returns the value of Language.
func (*GetLanguageVersionByIdOK) MarshalJSON ¶
func (s *GetLanguageVersionByIdOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLanguageVersionByIdOK) SetLanguage ¶
func (s *GetLanguageVersionByIdOK) SetLanguage(val LanguageVersionResponse)
SetLanguage sets the value of Language.
func (*GetLanguageVersionByIdOK) UnmarshalJSON ¶
func (s *GetLanguageVersionByIdOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLanguageVersionByIdParams ¶
type GetLanguageVersionByIdParams struct {
// The ID of the language version to retrieve.
ID int64
// Authentication token.
XAuthToken OptString
}
GetLanguageVersionByIdParams is parameters of getLanguageVersionById operation.
type GetLanguageVersionByIdRes ¶
type GetLanguageVersionByIdRes interface {
// contains filtered or unexported methods
}
type GetSandboxOK ¶
type GetSandboxOK struct {
Type GetSandboxOKType // switch on this field
Sandbox Sandbox
SandboxState SandboxState
}
GetSandboxOK represents sum type.
func NewSandboxGetSandboxOK ¶
func NewSandboxGetSandboxOK(v Sandbox) GetSandboxOK
NewSandboxGetSandboxOK returns new GetSandboxOK from Sandbox.
func NewSandboxStateGetSandboxOK ¶
func NewSandboxStateGetSandboxOK(v SandboxState) GetSandboxOK
NewSandboxStateGetSandboxOK returns new GetSandboxOK from SandboxState.
func (*GetSandboxOK) Decode ¶
func (s *GetSandboxOK) Decode(d *jx.Decoder) error
Decode decodes GetSandboxOK from json.
func (GetSandboxOK) Encode ¶
func (s GetSandboxOK) Encode(e *jx.Encoder)
Encode encodes GetSandboxOK as json.
func (GetSandboxOK) GetSandbox ¶
func (s GetSandboxOK) GetSandbox() (v Sandbox, ok bool)
GetSandbox returns Sandbox and true boolean if GetSandboxOK is Sandbox.
func (GetSandboxOK) GetSandboxState ¶
func (s GetSandboxOK) GetSandboxState() (v SandboxState, ok bool)
GetSandboxState returns SandboxState and true boolean if GetSandboxOK is SandboxState.
func (GetSandboxOK) IsSandbox ¶
func (s GetSandboxOK) IsSandbox() bool
IsSandbox reports whether GetSandboxOK is Sandbox.
func (GetSandboxOK) IsSandboxState ¶
func (s GetSandboxOK) IsSandboxState() bool
IsSandboxState reports whether GetSandboxOK is SandboxState.
func (GetSandboxOK) MarshalJSON ¶
func (s GetSandboxOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSandboxOK) SetSandbox ¶
func (s *GetSandboxOK) SetSandbox(v Sandbox)
SetSandbox sets GetSandboxOK to Sandbox.
func (*GetSandboxOK) SetSandboxState ¶
func (s *GetSandboxOK) SetSandboxState(v SandboxState)
SetSandboxState sets GetSandboxOK to SandboxState.
func (*GetSandboxOK) UnmarshalJSON ¶
func (s *GetSandboxOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetSandboxOKType ¶
type GetSandboxOKType string
GetSandboxOKType is oneOf type of GetSandboxOK.
const ( SandboxGetSandboxOK GetSandboxOKType = "Sandbox" SandboxStateGetSandboxOK GetSandboxOKType = "SandboxState" )
Possible values for GetSandboxOKType.
type GetSandboxParams ¶
GetSandboxParams is parameters of getSandbox operation.
type GetSandboxRes ¶
type GetSandboxRes interface {
// contains filtered or unexported methods
}
type GetVersionOK ¶
type GetVersionOK struct {
Version string `json:"version"`
}
func (*GetVersionOK) Decode ¶
func (s *GetVersionOK) Decode(d *jx.Decoder) error
Decode decodes GetVersionOK from json.
func (*GetVersionOK) Encode ¶
func (s *GetVersionOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetVersionOK) GetVersion ¶
func (s *GetVersionOK) GetVersion() string
GetVersion returns the value of Version.
func (*GetVersionOK) MarshalJSON ¶
func (s *GetVersionOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionOK) SetVersion ¶
func (s *GetVersionOK) SetVersion(val string)
SetVersion sets the value of Version.
func (*GetVersionOK) UnmarshalJSON ¶
func (s *GetVersionOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionParams ¶
type GetVersionParams struct {
// Authentication token.
XAuthToken OptString
}
GetVersionParams is parameters of getVersion operation.
type GetVersionRes ¶
type GetVersionRes interface {
// contains filtered or unexported methods
}
type Handler ¶
type Handler interface {
// CancelExecutionJob implements cancelExecutionJob operation.
//
// Cancel Execution Job.
//
// PUT /executions/jobs/{JobId}
CancelExecutionJob(ctx context.Context, params CancelExecutionJobParams) (CancelExecutionJobRes, error)
// CreateSandbox implements createSandbox operation.
//
// Create a sandbox.
//
// POST /sandbox
CreateSandbox(ctx context.Context, req OptCreateSandbox, params CreateSandboxParams) (CreateSandboxRes, error)
// DeleteExecutionJob implements deleteExecutionJob operation.
//
// Delete execution job.
//
// DELETE /executions/jobs/{JobId}
DeleteExecutionJob(ctx context.Context, params DeleteExecutionJobParams) (DeleteExecutionJobRes, error)
// Execute implements execute operation.
//
// Execute a script.
//
// POST /executions/execute
Execute(ctx context.Context, req *ExecutionRequest, params ExecuteParams) (ExecuteRes, error)
// FetchFlake implements fetchFlake operation.
//
// Fetches flake of a given job.
//
// GET /flake/{jobId}
FetchFlake(ctx context.Context, params FetchFlakeParams) (FetchFlakeRes, error)
// FetchLanguagePackages implements FetchLanguagePackages operation.
//
// Initialize the search results content with a default set of language specific packages.
//
// GET /fetch/language
FetchLanguagePackages(ctx context.Context, params FetchLanguagePackagesParams) (FetchLanguagePackagesRes, error)
// FetchSystemPackages implements FetchSystemPackages operation.
//
// Initialize the search results content with a default set of system packages.
//
// GET /fetch/system
FetchSystemPackages(ctx context.Context, params FetchSystemPackagesParams) (FetchSystemPackagesRes, error)
// GetAllExecutionJobs implements getAllExecutionJobs operation.
//
// Get all execution jobs.
//
// GET /jobs/execution
GetAllExecutionJobs(ctx context.Context, params GetAllExecutionJobsParams) (GetAllExecutionJobsRes, error)
// GetAllExecutions implements getAllExecutions operation.
//
// Get all executions.
//
// GET /executions
GetAllExecutions(ctx context.Context, params GetAllExecutionsParams) (GetAllExecutionsRes, error)
// GetAllLanguageVersions implements getAllLanguageVersions operation.
//
// Retrieve a list of all language versions from the database.
//
// GET /language-versions
GetAllLanguageVersions(ctx context.Context, params GetAllLanguageVersionsParams) (GetAllLanguageVersionsRes, error)
// GetAllLanguages implements getAllLanguages operation.
//
// Retrieve a list of all languages from the database.
//
// GET /languages
GetAllLanguages(ctx context.Context, params GetAllLanguagesParams) (GetAllLanguagesRes, error)
// GetAllVersions implements getAllVersions operation.
//
// Retrieve a list of all language versions from the database.
//
// GET /languages/{id}/versions
GetAllVersions(ctx context.Context, params GetAllVersionsParams) (GetAllVersionsRes, error)
// GetExecutionConfig implements getExecutionConfig operation.
//
// Get execution config.
//
// GET /execution/config
GetExecutionConfig(ctx context.Context, params GetExecutionConfigParams) (GetExecutionConfigRes, error)
// GetExecutionJobById implements getExecutionJobById operation.
//
// Get execution job.
//
// GET /executions/jobs/{JobId}
GetExecutionJobById(ctx context.Context, params GetExecutionJobByIdParams) (GetExecutionJobByIdRes, error)
// GetExecutionResultById implements getExecutionResultById operation.
//
// Get execution result by id.
//
// GET /executions/{execId}
GetExecutionResultById(ctx context.Context, params GetExecutionResultByIdParams) (GetExecutionResultByIdRes, error)
// GetExecutionsForJob implements getExecutionsForJob operation.
//
// Get executions of given job.
//
// GET /jobs/{JobId}/executions
GetExecutionsForJob(ctx context.Context, params GetExecutionsForJobParams) (GetExecutionsForJobRes, error)
// GetLanguageById implements getLanguageById operation.
//
// Retrieve a language entry from the database using its ID.
//
// GET /languages/{id}
GetLanguageById(ctx context.Context, params GetLanguageByIdParams) (GetLanguageByIdRes, error)
// GetLanguageVersionById implements getLanguageVersionById operation.
//
// Retrieve a language version entry from the database using its ID.
//
// GET /language-versions/{id}
GetLanguageVersionById(ctx context.Context, params GetLanguageVersionByIdParams) (GetLanguageVersionByIdRes, error)
// GetSandbox implements getSandbox operation.
//
// Retrieve Sandbox details.
//
// GET /sandbox/{sandboxId}
GetSandbox(ctx context.Context, params GetSandboxParams) (GetSandboxRes, error)
// GetVersion implements getVersion operation.
//
// Get version.
//
// GET /version
GetVersion(ctx context.Context, params GetVersionParams) (GetVersionRes, error)
// Health implements health operation.
//
// Health Check.
//
// GET /health
Health(ctx context.Context) error
// PackagesExist implements PackagesExist operation.
//
// Verify the package list is available for the language version while switching between language
// versions.
//
// POST /packages/exist
PackagesExist(ctx context.Context, req *PackageExistRequest, params PackagesExistParams) (PackagesExistRes, error)
// SearchLanguagePackages implements SearchLanguagePackages operation.
//
// Search for language specific packages.
//
// GET /search/language
SearchLanguagePackages(ctx context.Context, params SearchLanguagePackagesParams) (SearchLanguagePackagesRes, error)
// SearchSystemPackages implements SearchSystemPackages operation.
//
// Search for system packages.
//
// GET /search/system
SearchSystemPackages(ctx context.Context, params SearchSystemPackagesParams) (SearchSystemPackagesRes, error)
}
Handler handles operations described by OpenAPI v3 specification.
type Invoker ¶
type Invoker interface {
// CancelExecutionJob invokes cancelExecutionJob operation.
//
// Cancel Execution Job.
//
// PUT /executions/jobs/{JobId}
CancelExecutionJob(ctx context.Context, params CancelExecutionJobParams) (CancelExecutionJobRes, error)
// CreateSandbox invokes createSandbox operation.
//
// Create a sandbox.
//
// POST /sandbox
CreateSandbox(ctx context.Context, request OptCreateSandbox, params CreateSandboxParams) (CreateSandboxRes, error)
// DeleteExecutionJob invokes deleteExecutionJob operation.
//
// Delete execution job.
//
// DELETE /executions/jobs/{JobId}
DeleteExecutionJob(ctx context.Context, params DeleteExecutionJobParams) (DeleteExecutionJobRes, error)
// Execute invokes execute operation.
//
// Execute a script.
//
// POST /executions/execute
Execute(ctx context.Context, request *ExecutionRequest, params ExecuteParams) (ExecuteRes, error)
// FetchFlake invokes fetchFlake operation.
//
// Fetches flake of a given job.
//
// GET /flake/{jobId}
FetchFlake(ctx context.Context, params FetchFlakeParams) (FetchFlakeRes, error)
// FetchLanguagePackages invokes FetchLanguagePackages operation.
//
// Initialize the search results content with a default set of language specific packages.
//
// GET /fetch/language
FetchLanguagePackages(ctx context.Context, params FetchLanguagePackagesParams) (FetchLanguagePackagesRes, error)
// FetchSystemPackages invokes FetchSystemPackages operation.
//
// Initialize the search results content with a default set of system packages.
//
// GET /fetch/system
FetchSystemPackages(ctx context.Context, params FetchSystemPackagesParams) (FetchSystemPackagesRes, error)
// GetAllExecutionJobs invokes getAllExecutionJobs operation.
//
// Get all execution jobs.
//
// GET /jobs/execution
GetAllExecutionJobs(ctx context.Context, params GetAllExecutionJobsParams) (GetAllExecutionJobsRes, error)
// GetAllExecutions invokes getAllExecutions operation.
//
// Get all executions.
//
// GET /executions
GetAllExecutions(ctx context.Context, params GetAllExecutionsParams) (GetAllExecutionsRes, error)
// GetAllLanguageVersions invokes getAllLanguageVersions operation.
//
// Retrieve a list of all language versions from the database.
//
// GET /language-versions
GetAllLanguageVersions(ctx context.Context, params GetAllLanguageVersionsParams) (GetAllLanguageVersionsRes, error)
// GetAllLanguages invokes getAllLanguages operation.
//
// Retrieve a list of all languages from the database.
//
// GET /languages
GetAllLanguages(ctx context.Context, params GetAllLanguagesParams) (GetAllLanguagesRes, error)
// GetAllVersions invokes getAllVersions operation.
//
// Retrieve a list of all language versions from the database.
//
// GET /languages/{id}/versions
GetAllVersions(ctx context.Context, params GetAllVersionsParams) (GetAllVersionsRes, error)
// GetExecutionConfig invokes getExecutionConfig operation.
//
// Get execution config.
//
// GET /execution/config
GetExecutionConfig(ctx context.Context, params GetExecutionConfigParams) (GetExecutionConfigRes, error)
// GetExecutionJobById invokes getExecutionJobById operation.
//
// Get execution job.
//
// GET /executions/jobs/{JobId}
GetExecutionJobById(ctx context.Context, params GetExecutionJobByIdParams) (GetExecutionJobByIdRes, error)
// GetExecutionResultById invokes getExecutionResultById operation.
//
// Get execution result by id.
//
// GET /executions/{execId}
GetExecutionResultById(ctx context.Context, params GetExecutionResultByIdParams) (GetExecutionResultByIdRes, error)
// GetExecutionsForJob invokes getExecutionsForJob operation.
//
// Get executions of given job.
//
// GET /jobs/{JobId}/executions
GetExecutionsForJob(ctx context.Context, params GetExecutionsForJobParams) (GetExecutionsForJobRes, error)
// GetLanguageById invokes getLanguageById operation.
//
// Retrieve a language entry from the database using its ID.
//
// GET /languages/{id}
GetLanguageById(ctx context.Context, params GetLanguageByIdParams) (GetLanguageByIdRes, error)
// GetLanguageVersionById invokes getLanguageVersionById operation.
//
// Retrieve a language version entry from the database using its ID.
//
// GET /language-versions/{id}
GetLanguageVersionById(ctx context.Context, params GetLanguageVersionByIdParams) (GetLanguageVersionByIdRes, error)
// GetSandbox invokes getSandbox operation.
//
// Retrieve Sandbox details.
//
// GET /sandbox/{sandboxId}
GetSandbox(ctx context.Context, params GetSandboxParams) (GetSandboxRes, error)
// GetVersion invokes getVersion operation.
//
// Get version.
//
// GET /version
GetVersion(ctx context.Context, params GetVersionParams) (GetVersionRes, error)
// Health invokes health operation.
//
// Health Check.
//
// GET /health
Health(ctx context.Context) error
// PackagesExist invokes PackagesExist operation.
//
// Verify the package list is available for the language version while switching between language
// versions.
//
// POST /packages/exist
PackagesExist(ctx context.Context, request *PackageExistRequest, params PackagesExistParams) (PackagesExistRes, error)
// SearchLanguagePackages invokes SearchLanguagePackages operation.
//
// Search for language specific packages.
//
// GET /search/language
SearchLanguagePackages(ctx context.Context, params SearchLanguagePackagesParams) (SearchLanguagePackagesRes, error)
// SearchSystemPackages invokes SearchSystemPackages operation.
//
// Search for system packages.
//
// GET /search/system
SearchSystemPackages(ctx context.Context, params SearchSystemPackagesParams) (SearchSystemPackagesRes, error)
}
Invoker invokes operations described by OpenAPI v3 specification.
type Job ¶
type Job struct {
JobId int64 `json:"jobId"`
Script string `json:"script"`
Flake string `json:"flake"`
CreatedAt time.Time `json:"created_at"`
StartedAt OptDateTime `json:"started_at"`
UpdatedAt OptDateTime `json:"updated_at"`
}
Ref: #/components/schemas/Job
func (*Job) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Job) GetStartedAt ¶
func (s *Job) GetStartedAt() OptDateTime
GetStartedAt returns the value of StartedAt.
func (*Job) GetUpdatedAt ¶
func (s *Job) GetUpdatedAt() OptDateTime
GetUpdatedAt returns the value of UpdatedAt.
func (*Job) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Job) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Job) SetStartedAt ¶
func (s *Job) SetStartedAt(val OptDateTime)
SetStartedAt sets the value of StartedAt.
func (*Job) SetUpdatedAt ¶
func (s *Job) SetUpdatedAt(val OptDateTime)
SetUpdatedAt sets the value of UpdatedAt.
func (*Job) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Labeler ¶
type Labeler struct {
// contains filtered or unexported fields
}
Labeler is used to allow adding custom attributes to the server request metrics.
func LabelerFromContext ¶
LabelerFromContext retrieves the Labeler from the provided context, if present.
If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.
func (*Labeler) AttributeSet ¶
AttributeSet returns the attributes added to the Labeler as an attribute.Set.
type LanguageResponse ¶
type LanguageResponse struct {
// Merged property.
Name string `json:"name"`
// Merged property.
Extension string `json:"extension"`
// Merged property.
MonacoLanguage string `json:"monaco_language"`
// Merged property.
DefaultCode string `json:"default_code"`
// The default template for the language.
Template string `json:"template"`
// Unique identifier for the language version.
ID int64 `json:"id"`
}
Merged schema. Ref: #/components/schemas/LanguageResponse
func (*LanguageResponse) Decode ¶
func (s *LanguageResponse) Decode(d *jx.Decoder) error
Decode decodes LanguageResponse from json.
func (*LanguageResponse) Encode ¶
func (s *LanguageResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LanguageResponse) GetDefaultCode ¶
func (s *LanguageResponse) GetDefaultCode() string
GetDefaultCode returns the value of DefaultCode.
func (*LanguageResponse) GetExtension ¶
func (s *LanguageResponse) GetExtension() string
GetExtension returns the value of Extension.
func (*LanguageResponse) GetID ¶
func (s *LanguageResponse) GetID() int64
GetID returns the value of ID.
func (*LanguageResponse) GetMonacoLanguage ¶
func (s *LanguageResponse) GetMonacoLanguage() string
GetMonacoLanguage returns the value of MonacoLanguage.
func (*LanguageResponse) GetName ¶
func (s *LanguageResponse) GetName() string
GetName returns the value of Name.
func (*LanguageResponse) GetTemplate ¶
func (s *LanguageResponse) GetTemplate() string
GetTemplate returns the value of Template.
func (*LanguageResponse) MarshalJSON ¶
func (s *LanguageResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LanguageResponse) SetDefaultCode ¶
func (s *LanguageResponse) SetDefaultCode(val string)
SetDefaultCode sets the value of DefaultCode.
func (*LanguageResponse) SetExtension ¶
func (s *LanguageResponse) SetExtension(val string)
SetExtension sets the value of Extension.
func (*LanguageResponse) SetID ¶
func (s *LanguageResponse) SetID(val int64)
SetID sets the value of ID.
func (*LanguageResponse) SetMonacoLanguage ¶
func (s *LanguageResponse) SetMonacoLanguage(val string)
SetMonacoLanguage sets the value of MonacoLanguage.
func (*LanguageResponse) SetName ¶
func (s *LanguageResponse) SetName(val string)
SetName sets the value of Name.
func (*LanguageResponse) SetTemplate ¶
func (s *LanguageResponse) SetTemplate(val string)
SetTemplate sets the value of Template.
func (*LanguageResponse) UnmarshalJSON ¶
func (s *LanguageResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type LanguageVersionResponse ¶
type LanguageVersionResponse struct {
// Reference to the parent language.
LanguageID int64 `json:"language_id"`
// Version identifier of the language.
Version string `json:"version"`
// Name of the Nix package.
NixPackageName string `json:"nix_package_name"`
Template string `json:"template"`
// Search query string.
SearchQuery string `json:"search_query"`
// Whether this is the default version of the language.
DefaultVersion bool `json:"default_version"`
// Unique identifier for the language version.
ID int64 `json:"id"`
}
Merged schema. Ref: #/components/schemas/LanguageVersionResponse
func (*LanguageVersionResponse) Decode ¶
func (s *LanguageVersionResponse) Decode(d *jx.Decoder) error
Decode decodes LanguageVersionResponse from json.
func (*LanguageVersionResponse) Encode ¶
func (s *LanguageVersionResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LanguageVersionResponse) GetDefaultVersion ¶
func (s *LanguageVersionResponse) GetDefaultVersion() bool
GetDefaultVersion returns the value of DefaultVersion.
func (*LanguageVersionResponse) GetID ¶
func (s *LanguageVersionResponse) GetID() int64
GetID returns the value of ID.
func (*LanguageVersionResponse) GetLanguageID ¶
func (s *LanguageVersionResponse) GetLanguageID() int64
GetLanguageID returns the value of LanguageID.
func (*LanguageVersionResponse) GetNixPackageName ¶
func (s *LanguageVersionResponse) GetNixPackageName() string
GetNixPackageName returns the value of NixPackageName.
func (*LanguageVersionResponse) GetSearchQuery ¶
func (s *LanguageVersionResponse) GetSearchQuery() string
GetSearchQuery returns the value of SearchQuery.
func (*LanguageVersionResponse) GetTemplate ¶
func (s *LanguageVersionResponse) GetTemplate() string
GetTemplate returns the value of Template.
func (*LanguageVersionResponse) GetVersion ¶
func (s *LanguageVersionResponse) GetVersion() string
GetVersion returns the value of Version.
func (*LanguageVersionResponse) MarshalJSON ¶
func (s *LanguageVersionResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LanguageVersionResponse) SetDefaultVersion ¶
func (s *LanguageVersionResponse) SetDefaultVersion(val bool)
SetDefaultVersion sets the value of DefaultVersion.
func (*LanguageVersionResponse) SetID ¶
func (s *LanguageVersionResponse) SetID(val int64)
SetID sets the value of ID.
func (*LanguageVersionResponse) SetLanguageID ¶
func (s *LanguageVersionResponse) SetLanguageID(val int64)
SetLanguageID sets the value of LanguageID.
func (*LanguageVersionResponse) SetNixPackageName ¶
func (s *LanguageVersionResponse) SetNixPackageName(val string)
SetNixPackageName sets the value of NixPackageName.
func (*LanguageVersionResponse) SetSearchQuery ¶
func (s *LanguageVersionResponse) SetSearchQuery(val string)
SetSearchQuery sets the value of SearchQuery.
func (*LanguageVersionResponse) SetTemplate ¶
func (s *LanguageVersionResponse) SetTemplate(val string)
SetTemplate sets the value of Template.
func (*LanguageVersionResponse) SetVersion ¶
func (s *LanguageVersionResponse) SetVersion(val string)
SetVersion sets the value of Version.
func (*LanguageVersionResponse) UnmarshalJSON ¶
func (s *LanguageVersionResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OperationName ¶
type OperationName = string
OperationName is the ogen operation name
const ( CancelExecutionJobOperation OperationName = "CancelExecutionJob" CreateSandboxOperation OperationName = "CreateSandbox" DeleteExecutionJobOperation OperationName = "DeleteExecutionJob" ExecuteOperation OperationName = "Execute" FetchFlakeOperation OperationName = "FetchFlake" FetchLanguagePackagesOperation OperationName = "FetchLanguagePackages" FetchSystemPackagesOperation OperationName = "FetchSystemPackages" GetAllExecutionJobsOperation OperationName = "GetAllExecutionJobs" GetAllExecutionsOperation OperationName = "GetAllExecutions" GetAllLanguageVersionsOperation OperationName = "GetAllLanguageVersions" GetAllLanguagesOperation OperationName = "GetAllLanguages" GetAllVersionsOperation OperationName = "GetAllVersions" GetExecutionConfigOperation OperationName = "GetExecutionConfig" GetExecutionJobByIdOperation OperationName = "GetExecutionJobById" GetExecutionResultByIdOperation OperationName = "GetExecutionResultById" GetExecutionsForJobOperation OperationName = "GetExecutionsForJob" GetLanguageByIdOperation OperationName = "GetLanguageById" GetLanguageVersionByIdOperation OperationName = "GetLanguageVersionById" GetSandboxOperation OperationName = "GetSandbox" GetVersionOperation OperationName = "GetVersion" HealthOperation OperationName = "Health" PackagesExistOperation OperationName = "PackagesExist" SearchLanguagePackagesOperation OperationName = "SearchLanguagePackages" SearchSystemPackagesOperation OperationName = "SearchSystemPackages" )
type OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateSandbox ¶
type OptCreateSandbox struct {
Value CreateSandbox
Set bool
}
OptCreateSandbox is optional CreateSandbox.
func NewOptCreateSandbox ¶
func NewOptCreateSandbox(v CreateSandbox) OptCreateSandbox
NewOptCreateSandbox returns new OptCreateSandbox with value set to v.
func (*OptCreateSandbox) Decode ¶
func (o *OptCreateSandbox) Decode(d *jx.Decoder) error
Decode decodes CreateSandbox from json.
func (OptCreateSandbox) Encode ¶
func (o OptCreateSandbox) Encode(e *jx.Encoder)
Encode encodes CreateSandbox as json.
func (OptCreateSandbox) Get ¶
func (o OptCreateSandbox) Get() (v CreateSandbox, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateSandbox) IsSet ¶
func (o OptCreateSandbox) IsSet() bool
IsSet returns true if OptCreateSandbox was set.
func (OptCreateSandbox) MarshalJSON ¶
func (s OptCreateSandbox) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateSandbox) Or ¶
func (o OptCreateSandbox) Or(d CreateSandbox) CreateSandbox
Or returns value if set, or given parameter if does not.
func (*OptCreateSandbox) SetTo ¶
func (o *OptCreateSandbox) SetTo(v CreateSandbox)
SetTo sets value to v.
func (*OptCreateSandbox) UnmarshalJSON ¶
func (s *OptCreateSandbox) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDateTime ¶
OptDateTime is optional time.Time.
func NewOptDateTime ¶
func NewOptDateTime(v time.Time) OptDateTime
NewOptDateTime returns new OptDateTime with value set to v.
func (OptDateTime) Get ¶
func (o OptDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDateTime) IsSet ¶
func (o OptDateTime) IsSet() bool
IsSet returns true if OptDateTime was set.
func (OptDateTime) MarshalJSON ¶
func (s OptDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDateTime) Or ¶
func (o OptDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptDateTime) UnmarshalJSON ¶
func (s *OptDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptExecutionEnvironmentSpec ¶
type OptExecutionEnvironmentSpec struct {
Value ExecutionEnvironmentSpec
Set bool
}
OptExecutionEnvironmentSpec is optional ExecutionEnvironmentSpec.
func NewOptExecutionEnvironmentSpec ¶
func NewOptExecutionEnvironmentSpec(v ExecutionEnvironmentSpec) OptExecutionEnvironmentSpec
NewOptExecutionEnvironmentSpec returns new OptExecutionEnvironmentSpec with value set to v.
func (*OptExecutionEnvironmentSpec) Decode ¶
func (o *OptExecutionEnvironmentSpec) Decode(d *jx.Decoder) error
Decode decodes ExecutionEnvironmentSpec from json.
func (OptExecutionEnvironmentSpec) Encode ¶
func (o OptExecutionEnvironmentSpec) Encode(e *jx.Encoder)
Encode encodes ExecutionEnvironmentSpec as json.
func (OptExecutionEnvironmentSpec) Get ¶
func (o OptExecutionEnvironmentSpec) Get() (v ExecutionEnvironmentSpec, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptExecutionEnvironmentSpec) IsSet ¶
func (o OptExecutionEnvironmentSpec) IsSet() bool
IsSet returns true if OptExecutionEnvironmentSpec was set.
func (OptExecutionEnvironmentSpec) MarshalJSON ¶
func (s OptExecutionEnvironmentSpec) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptExecutionEnvironmentSpec) Reset ¶
func (o *OptExecutionEnvironmentSpec) Reset()
Reset unsets value.
func (*OptExecutionEnvironmentSpec) SetTo ¶
func (o *OptExecutionEnvironmentSpec) SetTo(v ExecutionEnvironmentSpec)
SetTo sets value to v.
func (*OptExecutionEnvironmentSpec) UnmarshalJSON ¶
func (s *OptExecutionEnvironmentSpec) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt32 ¶
OptInt32 is optional int32.
func NewOptInt32 ¶
NewOptInt32 returns new OptInt32 with value set to v.
func (OptInt32) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt32) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt64 ¶
OptInt64 is optional int64.
func NewOptInt64 ¶
NewOptInt64 returns new OptInt64 with value set to v.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Option ¶
type Option interface {
ServerOption
ClientOption
}
Option is config option.
func WithMeterProvider ¶
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider specifies a meter provider to use for creating a meter.
If none is specified, the otel.GetMeterProvider() is used.
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
type Package ¶
type Package struct {
// Name of the package.
Name string `json:"name"`
// Version of the package.
Version string `json:"version"`
}
Ref: #/components/schemas/Package
func (*Package) GetVersion ¶
GetVersion returns the value of Version.
func (*Package) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Package) SetVersion ¶
SetVersion sets the value of Version.
func (*Package) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type PackageExistRequest ¶
type PackageExistRequest struct {
// The language to check the packages against.
Language string `json:"language"`
// List of packages to verify.
Packages []string `json:"packages"`
}
Ref: #/components/schemas/PackageExistRequest
func (*PackageExistRequest) Decode ¶
func (s *PackageExistRequest) Decode(d *jx.Decoder) error
Decode decodes PackageExistRequest from json.
func (*PackageExistRequest) Encode ¶
func (s *PackageExistRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PackageExistRequest) GetLanguage ¶
func (s *PackageExistRequest) GetLanguage() string
GetLanguage returns the value of Language.
func (*PackageExistRequest) GetPackages ¶
func (s *PackageExistRequest) GetPackages() []string
GetPackages returns the value of Packages.
func (*PackageExistRequest) MarshalJSON ¶
func (s *PackageExistRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PackageExistRequest) SetLanguage ¶
func (s *PackageExistRequest) SetLanguage(val string)
SetLanguage sets the value of Language.
func (*PackageExistRequest) SetPackages ¶
func (s *PackageExistRequest) SetPackages(val []string)
SetPackages sets the value of Packages.
func (*PackageExistRequest) UnmarshalJSON ¶
func (s *PackageExistRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PackageExistRequest) Validate ¶
func (s *PackageExistRequest) Validate() error
type PackagesExistBadRequest ¶
type PackagesExistBadRequest Error
func (*PackagesExistBadRequest) Decode ¶
func (s *PackagesExistBadRequest) Decode(d *jx.Decoder) error
Decode decodes PackagesExistBadRequest from json.
func (*PackagesExistBadRequest) Encode ¶
func (s *PackagesExistBadRequest) Encode(e *jx.Encoder)
Encode encodes PackagesExistBadRequest as json.
func (*PackagesExistBadRequest) MarshalJSON ¶
func (s *PackagesExistBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PackagesExistBadRequest) UnmarshalJSON ¶
func (s *PackagesExistBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PackagesExistForbidden ¶
type PackagesExistForbidden Error
func (*PackagesExistForbidden) Decode ¶
func (s *PackagesExistForbidden) Decode(d *jx.Decoder) error
Decode decodes PackagesExistForbidden from json.
func (*PackagesExistForbidden) Encode ¶
func (s *PackagesExistForbidden) Encode(e *jx.Encoder)
Encode encodes PackagesExistForbidden as json.
func (*PackagesExistForbidden) MarshalJSON ¶
func (s *PackagesExistForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PackagesExistForbidden) UnmarshalJSON ¶
func (s *PackagesExistForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PackagesExistInternalServerError ¶
type PackagesExistInternalServerError Error
func (*PackagesExistInternalServerError) Decode ¶
func (s *PackagesExistInternalServerError) Decode(d *jx.Decoder) error
Decode decodes PackagesExistInternalServerError from json.
func (*PackagesExistInternalServerError) Encode ¶
func (s *PackagesExistInternalServerError) Encode(e *jx.Encoder)
Encode encodes PackagesExistInternalServerError as json.
func (*PackagesExistInternalServerError) MarshalJSON ¶
func (s *PackagesExistInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PackagesExistInternalServerError) UnmarshalJSON ¶
func (s *PackagesExistInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PackagesExistOK ¶
type PackagesExistOK struct {
// Indicate all packages' existance for given language.
Exists bool `json:"exists"`
// List of packages that do not exist for the language.
NonExistingPackages []string `json:"nonExistingPackages"`
}
func (*PackagesExistOK) Decode ¶
func (s *PackagesExistOK) Decode(d *jx.Decoder) error
Decode decodes PackagesExistOK from json.
func (*PackagesExistOK) Encode ¶
func (s *PackagesExistOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PackagesExistOK) GetExists ¶
func (s *PackagesExistOK) GetExists() bool
GetExists returns the value of Exists.
func (*PackagesExistOK) GetNonExistingPackages ¶
func (s *PackagesExistOK) GetNonExistingPackages() []string
GetNonExistingPackages returns the value of NonExistingPackages.
func (*PackagesExistOK) MarshalJSON ¶
func (s *PackagesExistOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PackagesExistOK) SetExists ¶
func (s *PackagesExistOK) SetExists(val bool)
SetExists sets the value of Exists.
func (*PackagesExistOK) SetNonExistingPackages ¶
func (s *PackagesExistOK) SetNonExistingPackages(val []string)
SetNonExistingPackages sets the value of NonExistingPackages.
func (*PackagesExistOK) UnmarshalJSON ¶
func (s *PackagesExistOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PackagesExistParams ¶
type PackagesExistParams struct {
// Authentication token.
XAuthToken OptString
}
PackagesExistParams is parameters of PackagesExist operation.
type PackagesExistRes ¶
type PackagesExistRes interface {
// contains filtered or unexported methods
}
type PaginationResponse ¶
type PaginationResponse struct {
// Represents the total number of items.
Total int64 `json:"total"`
// Represents the number of items per page.
Limit int64 `json:"limit"`
// Represents the start of the cursor.
Cursor int64 `json:"cursor"`
}
Ref: #/components/schemas/PaginationResponse
func (*PaginationResponse) Decode ¶
func (s *PaginationResponse) Decode(d *jx.Decoder) error
Decode decodes PaginationResponse from json.
func (*PaginationResponse) Encode ¶
func (s *PaginationResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PaginationResponse) GetCursor ¶
func (s *PaginationResponse) GetCursor() int64
GetCursor returns the value of Cursor.
func (*PaginationResponse) GetLimit ¶
func (s *PaginationResponse) GetLimit() int64
GetLimit returns the value of Limit.
func (*PaginationResponse) GetTotal ¶
func (s *PaginationResponse) GetTotal() int64
GetTotal returns the value of Total.
func (*PaginationResponse) MarshalJSON ¶
func (s *PaginationResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PaginationResponse) SetCursor ¶
func (s *PaginationResponse) SetCursor(val int64)
SetCursor sets the value of Cursor.
func (*PaginationResponse) SetLimit ¶
func (s *PaginationResponse) SetLimit(val int64)
SetLimit sets the value of Limit.
func (*PaginationResponse) SetTotal ¶
func (s *PaginationResponse) SetTotal(val int64)
SetTotal sets the value of Total.
func (*PaginationResponse) UnmarshalJSON ¶
func (s *PaginationResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Route is route object.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
type Sandbox ¶
type Sandbox struct {
SandboxId int64 `json:"sandboxId"`
State string `json:"state"`
URL string `json:"URL"`
AgentURL string `json:"agentURL"`
CreatedAt time.Time `json:"created_at"`
}
Ref: #/components/schemas/Sandbox
func (*Sandbox) GetAgentURL ¶
GetAgentURL returns the value of AgentURL.
func (*Sandbox) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Sandbox) GetSandboxId ¶
GetSandboxId returns the value of SandboxId.
func (*Sandbox) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Sandbox) SetAgentURL ¶
SetAgentURL sets the value of AgentURL.
func (*Sandbox) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Sandbox) SetSandboxId ¶
SetSandboxId sets the value of SandboxId.
func (*Sandbox) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type SandboxState ¶
Ref: #/components/schemas/SandboxState
func (*SandboxState) Decode ¶
func (s *SandboxState) Decode(d *jx.Decoder) error
Decode decodes SandboxState from json.
func (*SandboxState) Encode ¶
func (s *SandboxState) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SandboxState) GetSandboxId ¶
func (s *SandboxState) GetSandboxId() int64
GetSandboxId returns the value of SandboxId.
func (*SandboxState) GetState ¶
func (s *SandboxState) GetState() string
GetState returns the value of State.
func (*SandboxState) MarshalJSON ¶
func (s *SandboxState) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SandboxState) SetSandboxId ¶
func (s *SandboxState) SetSandboxId(val int64)
SetSandboxId sets the value of SandboxId.
func (*SandboxState) SetState ¶
func (s *SandboxState) SetState(val string)
SetState sets the value of State.
func (*SandboxState) UnmarshalJSON ¶
func (s *SandboxState) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SearchLanguagePackagesBadRequest ¶
type SearchLanguagePackagesBadRequest Error
func (*SearchLanguagePackagesBadRequest) Decode ¶
func (s *SearchLanguagePackagesBadRequest) Decode(d *jx.Decoder) error
Decode decodes SearchLanguagePackagesBadRequest from json.
func (*SearchLanguagePackagesBadRequest) Encode ¶
func (s *SearchLanguagePackagesBadRequest) Encode(e *jx.Encoder)
Encode encodes SearchLanguagePackagesBadRequest as json.
func (*SearchLanguagePackagesBadRequest) MarshalJSON ¶
func (s *SearchLanguagePackagesBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SearchLanguagePackagesBadRequest) UnmarshalJSON ¶
func (s *SearchLanguagePackagesBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SearchLanguagePackagesForbidden ¶
type SearchLanguagePackagesForbidden Error
func (*SearchLanguagePackagesForbidden) Decode ¶
func (s *SearchLanguagePackagesForbidden) Decode(d *jx.Decoder) error
Decode decodes SearchLanguagePackagesForbidden from json.
func (*SearchLanguagePackagesForbidden) Encode ¶
func (s *SearchLanguagePackagesForbidden) Encode(e *jx.Encoder)
Encode encodes SearchLanguagePackagesForbidden as json.
func (*SearchLanguagePackagesForbidden) MarshalJSON ¶
func (s *SearchLanguagePackagesForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SearchLanguagePackagesForbidden) UnmarshalJSON ¶
func (s *SearchLanguagePackagesForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SearchLanguagePackagesOK ¶
type SearchLanguagePackagesOK struct {
Packages []Package `json:"packages"`
}
func (*SearchLanguagePackagesOK) Decode ¶
func (s *SearchLanguagePackagesOK) Decode(d *jx.Decoder) error
Decode decodes SearchLanguagePackagesOK from json.
func (*SearchLanguagePackagesOK) Encode ¶
func (s *SearchLanguagePackagesOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SearchLanguagePackagesOK) GetPackages ¶
func (s *SearchLanguagePackagesOK) GetPackages() []Package
GetPackages returns the value of Packages.
func (*SearchLanguagePackagesOK) MarshalJSON ¶
func (s *SearchLanguagePackagesOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SearchLanguagePackagesOK) SetPackages ¶
func (s *SearchLanguagePackagesOK) SetPackages(val []Package)
SetPackages sets the value of Packages.
func (*SearchLanguagePackagesOK) UnmarshalJSON ¶
func (s *SearchLanguagePackagesOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SearchLanguagePackagesOK) Validate ¶
func (s *SearchLanguagePackagesOK) Validate() error
type SearchLanguagePackagesParams ¶
type SearchLanguagePackagesParams struct {
// Authentication token.
XAuthToken OptString
// The language for which the package is searched.
Language string
// The string to be searched.
SearchString string
}
SearchLanguagePackagesParams is parameters of SearchLanguagePackages operation.
type SearchLanguagePackagesRes ¶
type SearchLanguagePackagesRes interface {
// contains filtered or unexported methods
}
type SearchSystemPackagesBadRequest ¶
type SearchSystemPackagesBadRequest Error
func (*SearchSystemPackagesBadRequest) Decode ¶
func (s *SearchSystemPackagesBadRequest) Decode(d *jx.Decoder) error
Decode decodes SearchSystemPackagesBadRequest from json.
func (*SearchSystemPackagesBadRequest) Encode ¶
func (s *SearchSystemPackagesBadRequest) Encode(e *jx.Encoder)
Encode encodes SearchSystemPackagesBadRequest as json.
func (*SearchSystemPackagesBadRequest) MarshalJSON ¶
func (s *SearchSystemPackagesBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SearchSystemPackagesBadRequest) UnmarshalJSON ¶
func (s *SearchSystemPackagesBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SearchSystemPackagesForbidden ¶
type SearchSystemPackagesForbidden Error
func (*SearchSystemPackagesForbidden) Decode ¶
func (s *SearchSystemPackagesForbidden) Decode(d *jx.Decoder) error
Decode decodes SearchSystemPackagesForbidden from json.
func (*SearchSystemPackagesForbidden) Encode ¶
func (s *SearchSystemPackagesForbidden) Encode(e *jx.Encoder)
Encode encodes SearchSystemPackagesForbidden as json.
func (*SearchSystemPackagesForbidden) MarshalJSON ¶
func (s *SearchSystemPackagesForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SearchSystemPackagesForbidden) UnmarshalJSON ¶
func (s *SearchSystemPackagesForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SearchSystemPackagesOK ¶
type SearchSystemPackagesOK struct {
Packages []Package `json:"packages"`
}
func (*SearchSystemPackagesOK) Decode ¶
func (s *SearchSystemPackagesOK) Decode(d *jx.Decoder) error
Decode decodes SearchSystemPackagesOK from json.
func (*SearchSystemPackagesOK) Encode ¶
func (s *SearchSystemPackagesOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SearchSystemPackagesOK) GetPackages ¶
func (s *SearchSystemPackagesOK) GetPackages() []Package
GetPackages returns the value of Packages.
func (*SearchSystemPackagesOK) MarshalJSON ¶
func (s *SearchSystemPackagesOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SearchSystemPackagesOK) SetPackages ¶
func (s *SearchSystemPackagesOK) SetPackages(val []Package)
SetPackages sets the value of Packages.
func (*SearchSystemPackagesOK) UnmarshalJSON ¶
func (s *SearchSystemPackagesOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SearchSystemPackagesOK) Validate ¶
func (s *SearchSystemPackagesOK) Validate() error
type SearchSystemPackagesParams ¶
type SearchSystemPackagesParams struct {
// Authentication token.
XAuthToken OptString
// The string to be searched.
SearchString string
}
SearchSystemPackagesParams is parameters of SearchSystemPackages operation.
type SearchSystemPackagesRes ¶
type SearchSystemPackagesRes interface {
// contains filtered or unexported methods
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
func NewServer ¶
func NewServer(h Handler, opts ...ServerOption) (*Server, error)
NewServer creates new Server.
type ServerOption ¶
type ServerOption interface {
// contains filtered or unexported methods
}
ServerOption is server config option.
func WithErrorHandler ¶
func WithErrorHandler(h ErrorHandler) ServerOption
WithErrorHandler specifies error handler to use.
func WithMaxMultipartMemory ¶
func WithMaxMultipartMemory(max int64) ServerOption
WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.
func WithMethodNotAllowed ¶
func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
WithMethodNotAllowed specifies Method Not Allowed handler to use.
func WithMiddleware ¶
func WithMiddleware(m ...Middleware) ServerOption
WithMiddleware specifies middlewares to use.
func WithNotFound ¶
func WithNotFound(notFound http.HandlerFunc) ServerOption
WithNotFound specifies Not Found handler to use.
func WithPathPrefix ¶
func WithPathPrefix(prefix string) ServerOption
WithPathPrefix specifies server path prefix.
type UnimplementedHandler ¶
type UnimplementedHandler struct{}
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
func (UnimplementedHandler) CancelExecutionJob ¶
func (UnimplementedHandler) CancelExecutionJob(ctx context.Context, params CancelExecutionJobParams) (r CancelExecutionJobRes, _ error)
CancelExecutionJob implements cancelExecutionJob operation.
Cancel Execution Job.
PUT /executions/jobs/{JobId}
func (UnimplementedHandler) CreateSandbox ¶
func (UnimplementedHandler) CreateSandbox(ctx context.Context, req OptCreateSandbox, params CreateSandboxParams) (r CreateSandboxRes, _ error)
CreateSandbox implements createSandbox operation.
Create a sandbox.
POST /sandbox
func (UnimplementedHandler) DeleteExecutionJob ¶
func (UnimplementedHandler) DeleteExecutionJob(ctx context.Context, params DeleteExecutionJobParams) (r DeleteExecutionJobRes, _ error)
DeleteExecutionJob implements deleteExecutionJob operation.
Delete execution job.
DELETE /executions/jobs/{JobId}
func (UnimplementedHandler) Execute ¶
func (UnimplementedHandler) Execute(ctx context.Context, req *ExecutionRequest, params ExecuteParams) (r ExecuteRes, _ error)
Execute implements execute operation.
Execute a script.
POST /executions/execute
func (UnimplementedHandler) FetchFlake ¶
func (UnimplementedHandler) FetchFlake(ctx context.Context, params FetchFlakeParams) (r FetchFlakeRes, _ error)
FetchFlake implements fetchFlake operation.
Fetches flake of a given job.
GET /flake/{jobId}
func (UnimplementedHandler) FetchLanguagePackages ¶
func (UnimplementedHandler) FetchLanguagePackages(ctx context.Context, params FetchLanguagePackagesParams) (r FetchLanguagePackagesRes, _ error)
FetchLanguagePackages implements FetchLanguagePackages operation.
Initialize the search results content with a default set of language specific packages.
GET /fetch/language
func (UnimplementedHandler) FetchSystemPackages ¶
func (UnimplementedHandler) FetchSystemPackages(ctx context.Context, params FetchSystemPackagesParams) (r FetchSystemPackagesRes, _ error)
FetchSystemPackages implements FetchSystemPackages operation.
Initialize the search results content with a default set of system packages.
GET /fetch/system
func (UnimplementedHandler) GetAllExecutionJobs ¶
func (UnimplementedHandler) GetAllExecutionJobs(ctx context.Context, params GetAllExecutionJobsParams) (r GetAllExecutionJobsRes, _ error)
GetAllExecutionJobs implements getAllExecutionJobs operation.
Get all execution jobs.
GET /jobs/execution
func (UnimplementedHandler) GetAllExecutions ¶
func (UnimplementedHandler) GetAllExecutions(ctx context.Context, params GetAllExecutionsParams) (r GetAllExecutionsRes, _ error)
GetAllExecutions implements getAllExecutions operation.
Get all executions.
GET /executions
func (UnimplementedHandler) GetAllLanguageVersions ¶
func (UnimplementedHandler) GetAllLanguageVersions(ctx context.Context, params GetAllLanguageVersionsParams) (r GetAllLanguageVersionsRes, _ error)
GetAllLanguageVersions implements getAllLanguageVersions operation.
Retrieve a list of all language versions from the database.
GET /language-versions
func (UnimplementedHandler) GetAllLanguages ¶
func (UnimplementedHandler) GetAllLanguages(ctx context.Context, params GetAllLanguagesParams) (r GetAllLanguagesRes, _ error)
GetAllLanguages implements getAllLanguages operation.
Retrieve a list of all languages from the database.
GET /languages
func (UnimplementedHandler) GetAllVersions ¶
func (UnimplementedHandler) GetAllVersions(ctx context.Context, params GetAllVersionsParams) (r GetAllVersionsRes, _ error)
GetAllVersions implements getAllVersions operation.
Retrieve a list of all language versions from the database.
GET /languages/{id}/versions
func (UnimplementedHandler) GetExecutionConfig ¶
func (UnimplementedHandler) GetExecutionConfig(ctx context.Context, params GetExecutionConfigParams) (r GetExecutionConfigRes, _ error)
GetExecutionConfig implements getExecutionConfig operation.
Get execution config.
GET /execution/config
func (UnimplementedHandler) GetExecutionJobById ¶
func (UnimplementedHandler) GetExecutionJobById(ctx context.Context, params GetExecutionJobByIdParams) (r GetExecutionJobByIdRes, _ error)
GetExecutionJobById implements getExecutionJobById operation.
Get execution job.
GET /executions/jobs/{JobId}
func (UnimplementedHandler) GetExecutionResultById ¶
func (UnimplementedHandler) GetExecutionResultById(ctx context.Context, params GetExecutionResultByIdParams) (r GetExecutionResultByIdRes, _ error)
GetExecutionResultById implements getExecutionResultById operation.
Get execution result by id.
GET /executions/{execId}
func (UnimplementedHandler) GetExecutionsForJob ¶
func (UnimplementedHandler) GetExecutionsForJob(ctx context.Context, params GetExecutionsForJobParams) (r GetExecutionsForJobRes, _ error)
GetExecutionsForJob implements getExecutionsForJob operation.
Get executions of given job.
GET /jobs/{JobId}/executions
func (UnimplementedHandler) GetLanguageById ¶
func (UnimplementedHandler) GetLanguageById(ctx context.Context, params GetLanguageByIdParams) (r GetLanguageByIdRes, _ error)
GetLanguageById implements getLanguageById operation.
Retrieve a language entry from the database using its ID.
GET /languages/{id}
func (UnimplementedHandler) GetLanguageVersionById ¶
func (UnimplementedHandler) GetLanguageVersionById(ctx context.Context, params GetLanguageVersionByIdParams) (r GetLanguageVersionByIdRes, _ error)
GetLanguageVersionById implements getLanguageVersionById operation.
Retrieve a language version entry from the database using its ID.
GET /language-versions/{id}
func (UnimplementedHandler) GetSandbox ¶
func (UnimplementedHandler) GetSandbox(ctx context.Context, params GetSandboxParams) (r GetSandboxRes, _ error)
GetSandbox implements getSandbox operation.
Retrieve Sandbox details.
GET /sandbox/{sandboxId}
func (UnimplementedHandler) GetVersion ¶
func (UnimplementedHandler) GetVersion(ctx context.Context, params GetVersionParams) (r GetVersionRes, _ error)
GetVersion implements getVersion operation.
Get version.
GET /version
func (UnimplementedHandler) Health ¶
func (UnimplementedHandler) Health(ctx context.Context) error
Health implements health operation.
Health Check.
GET /health
func (UnimplementedHandler) PackagesExist ¶
func (UnimplementedHandler) PackagesExist(ctx context.Context, req *PackageExistRequest, params PackagesExistParams) (r PackagesExistRes, _ error)
PackagesExist implements PackagesExist operation.
Verify the package list is available for the language version while switching between language versions.
POST /packages/exist
func (UnimplementedHandler) SearchLanguagePackages ¶
func (UnimplementedHandler) SearchLanguagePackages(ctx context.Context, params SearchLanguagePackagesParams) (r SearchLanguagePackagesRes, _ error)
SearchLanguagePackages implements SearchLanguagePackages operation.
Search for language specific packages.
GET /search/language
func (UnimplementedHandler) SearchSystemPackages ¶
func (UnimplementedHandler) SearchSystemPackages(ctx context.Context, params SearchSystemPackagesParams) (r SearchSystemPackagesRes, _ error)
SearchSystemPackages implements SearchSystemPackages operation.
Search for system packages.
GET /search/system
Source Files
¶
- oas_cfg_gen.go
- oas_client_gen.go
- oas_defaults_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_labeler_gen.go
- oas_middleware_gen.go
- oas_operations_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go