Documentation
¶
Overview ¶
Package gen provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.
Index ¶
- Constants
- func GetSwagger() (swagger *openapi3.T, err error)
- func NewAdminCreateSandboxTemplateRequest(server string, body AdminCreateSandboxTemplateJSONRequestBody) (*http.Request, error)
- func NewAdminCreateSandboxTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAdminDeleteSandboxTemplateRequest(server string, name PathTemplateName) (*http.Request, error)
- func NewAdminGetSandboxPoolStatisticsRequest(server string) (*http.Request, error)
- func NewAdminGetSandboxStatisticsRequest(server string) (*http.Request, error)
- func NewAdminListSandboxTemplatesRequest(server string, params *AdminListSandboxTemplatesParams) (*http.Request, error)
- func NewAdminUpdateSandboxTemplateRequest(server string, name PathTemplateName, ...) (*http.Request, error)
- func NewAdminUpdateSandboxTemplateRequestWithBody(server string, name PathTemplateName, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAPIKeyRequest(server string, body CreateAPIKeyJSONRequestBody) (*http.Request, error)
- func NewCreateAPIKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSandboxExecTokenRequest(server string, sandboxId PathSandboxId) (*http.Request, error)
- func NewCreateSandboxPoolRequest(server string, body CreateSandboxPoolJSONRequestBody) (*http.Request, error)
- func NewCreateSandboxPoolRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSandboxRequest(server string, body CreateSandboxJSONRequestBody) (*http.Request, error)
- func NewCreateSandboxRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAPIKeyRequest(server string, name PathAPIKeyName) (*http.Request, error)
- func NewDeleteSandboxPoolRequest(server string, name PathPoolName) (*http.Request, error)
- func NewDeleteSandboxRequest(server string, sandboxId PathSandboxId) (*http.Request, error)
- func NewExecSandboxCommandRequest(server string, sandboxId PathSandboxId, body ExecSandboxCommandJSONRequestBody) (*http.Request, error)
- func NewExecSandboxCommandRequestWithBody(server string, sandboxId PathSandboxId, contentType string, body io.Reader) (*http.Request, error)
- func NewGetFeatureGatesRequest(server string) (*http.Request, error)
- func NewGetSandboxLogsRequest(server string, sandboxId PathSandboxId, params *GetSandboxLogsParams) (*http.Request, error)
- func NewGetSandboxPoolRequest(server string, name PathPoolName) (*http.Request, error)
- func NewGetSandboxRequest(server string, sandboxId PathSandboxId) (*http.Request, error)
- func NewGetSandboxTemplateRequest(server string, name PathTemplateName) (*http.Request, error)
- func NewGetUserSandboxStatisticsRequest(server string) (*http.Request, error)
- func NewGetWhoAmIRequest(server string) (*http.Request, error)
- func NewIsSandboxReadyRequest(server string, sandboxId PathSandboxId) (*http.Request, error)
- func NewListAPIKeysRequest(server string, params *ListAPIKeysParams) (*http.Request, error)
- func NewListClustersRequest(server string) (*http.Request, error)
- func NewListNamespacesRequest(server string) (*http.Request, error)
- func NewListQuotasRequest(server string) (*http.Request, error)
- func NewListSandboxPoolsRequest(server string) (*http.Request, error)
- func NewListSandboxTemplatesRequest(server string) (*http.Request, error)
- func NewListSandboxesRequest(server string, params *ListSandboxesParams) (*http.Request, error)
- func NewListTeamsRequest(server string) (*http.Request, error)
- func NewListUsersByTeamRequest(server string, team PathTeam) (*http.Request, error)
- func NewPreviewSyncSandboxPoolTemplateRequest(server string, name PathPoolName) (*http.Request, error)
- func NewPromoteAPIKeyRequest(server string, name PathAPIKeyName) (*http.Request, error)
- func NewSelfCreateAPIKeyRequest(server string, body SelfCreateAPIKeyJSONRequestBody) (*http.Request, error)
- func NewSelfCreateAPIKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSelfDeleteAPIKeyRequest(server string, name PathAPIKeyName) (*http.Request, error)
- func NewSelfListAPIKeysRequest(server string) (*http.Request, error)
- func NewSetSandboxTimeoutRequest(server string, sandboxId PathSandboxId, body SetSandboxTimeoutJSONRequestBody) (*http.Request, error)
- func NewSetSandboxTimeoutRequestWithBody(server string, sandboxId PathSandboxId, contentType string, body io.Reader) (*http.Request, error)
- func NewSyncSandboxPoolTemplateRequest(server string, name PathPoolName) (*http.Request, error)
- func NewUpdateSandboxPoolRequest(server string, name PathPoolName, body UpdateSandboxPoolJSONRequestBody) (*http.Request, error)
- func NewUpdateSandboxPoolRequestWithBody(server string, name PathPoolName, contentType string, body io.Reader) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- func RegisterHandlers(router gin.IRouter, si ServerInterface)
- func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)
- type APIKeyItem
- type AdminCreateSandboxTemplate201JSONResponse
- type AdminCreateSandboxTemplate400JSONResponse
- type AdminCreateSandboxTemplate401JSONResponse
- type AdminCreateSandboxTemplate403JSONResponse
- type AdminCreateSandboxTemplate409JSONResponse
- type AdminCreateSandboxTemplate500JSONResponse
- type AdminCreateSandboxTemplateJSONRequestBody
- type AdminCreateSandboxTemplateRequestObject
- type AdminCreateSandboxTemplateResponse
- type AdminCreateSandboxTemplateResponseObject
- type AdminDeleteSandboxTemplate202JSONResponse
- type AdminDeleteSandboxTemplate401JSONResponse
- type AdminDeleteSandboxTemplate403JSONResponse
- type AdminDeleteSandboxTemplate404JSONResponse
- type AdminDeleteSandboxTemplate500JSONResponse
- type AdminDeleteSandboxTemplateRequestObject
- type AdminDeleteSandboxTemplateResponse
- type AdminDeleteSandboxTemplateResponseObject
- type AdminGetSandboxPoolStatistics200JSONResponse
- type AdminGetSandboxPoolStatistics401JSONResponse
- type AdminGetSandboxPoolStatistics403JSONResponse
- type AdminGetSandboxPoolStatistics500JSONResponse
- type AdminGetSandboxPoolStatisticsRequestObject
- type AdminGetSandboxPoolStatisticsResponse
- type AdminGetSandboxPoolStatisticsResponseObject
- type AdminGetSandboxStatistics200JSONResponse
- type AdminGetSandboxStatistics401JSONResponse
- type AdminGetSandboxStatistics403JSONResponse
- type AdminGetSandboxStatistics500JSONResponse
- type AdminGetSandboxStatisticsRequestObject
- type AdminGetSandboxStatisticsResponse
- type AdminGetSandboxStatisticsResponseObject
- type AdminListSandboxTemplates200JSONResponse
- type AdminListSandboxTemplates401JSONResponse
- type AdminListSandboxTemplates403JSONResponse
- type AdminListSandboxTemplates500JSONResponse
- type AdminListSandboxTemplatesParams
- type AdminListSandboxTemplatesRequestObject
- type AdminListSandboxTemplatesResponse
- type AdminListSandboxTemplatesResponseObject
- type AdminUpdateSandboxTemplate200JSONResponse
- type AdminUpdateSandboxTemplate400JSONResponse
- type AdminUpdateSandboxTemplate401JSONResponse
- type AdminUpdateSandboxTemplate403JSONResponse
- type AdminUpdateSandboxTemplate404JSONResponse
- type AdminUpdateSandboxTemplate409JSONResponse
- type AdminUpdateSandboxTemplate500JSONResponse
- type AdminUpdateSandboxTemplateJSONRequestBody
- type AdminUpdateSandboxTemplateRequestObject
- type AdminUpdateSandboxTemplateResponse
- type AdminUpdateSandboxTemplateResponseObject
- type Client
- func (c *Client) AdminCreateSandboxTemplate(ctx context.Context, body AdminCreateSandboxTemplateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AdminCreateSandboxTemplateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AdminDeleteSandboxTemplate(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AdminGetSandboxPoolStatistics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AdminGetSandboxStatistics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AdminListSandboxTemplates(ctx context.Context, params *AdminListSandboxTemplatesParams, ...) (*http.Response, error)
- func (c *Client) AdminUpdateSandboxTemplate(ctx context.Context, name PathTemplateName, ...) (*http.Response, error)
- func (c *Client) AdminUpdateSandboxTemplateWithBody(ctx context.Context, name PathTemplateName, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateAPIKey(ctx context.Context, body CreateAPIKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAPIKeyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSandbox(ctx context.Context, body CreateSandboxJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSandboxExecToken(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateSandboxPool(ctx context.Context, body CreateSandboxPoolJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSandboxPoolWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSandboxWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteAPIKey(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSandbox(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSandboxPool(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ExecSandboxCommand(ctx context.Context, sandboxId PathSandboxId, ...) (*http.Response, error)
- func (c *Client) ExecSandboxCommandWithBody(ctx context.Context, sandboxId PathSandboxId, contentType string, ...) (*http.Response, error)
- func (c *Client) GetFeatureGates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSandbox(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSandboxLogs(ctx context.Context, sandboxId PathSandboxId, params *GetSandboxLogsParams, ...) (*http.Response, error)
- func (c *Client) GetSandboxPool(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSandboxTemplate(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserSandboxStatistics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWhoAmI(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IsSandboxReady(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAPIKeys(ctx context.Context, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListQuotas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSandboxPools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSandboxTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSandboxes(ctx context.Context, params *ListSandboxesParams, ...) (*http.Response, error)
- func (c *Client) ListTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListUsersByTeam(ctx context.Context, team PathTeam, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PreviewSyncSandboxPoolTemplate(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PromoteAPIKey(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SelfCreateAPIKey(ctx context.Context, body SelfCreateAPIKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SelfCreateAPIKeyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SelfDeleteAPIKey(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SelfListAPIKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SetSandboxTimeout(ctx context.Context, sandboxId PathSandboxId, ...) (*http.Response, error)
- func (c *Client) SetSandboxTimeoutWithBody(ctx context.Context, sandboxId PathSandboxId, contentType string, ...) (*http.Response, error)
- func (c *Client) SyncSandboxPoolTemplate(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateSandboxPool(ctx context.Context, name PathPoolName, body UpdateSandboxPoolJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateSandboxPoolWithBody(ctx context.Context, name PathPoolName, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AdminCreateSandboxTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AdminCreateSandboxTemplateResponse, error)
- func (c *ClientWithResponses) AdminCreateSandboxTemplateWithResponse(ctx context.Context, body AdminCreateSandboxTemplateJSONRequestBody, ...) (*AdminCreateSandboxTemplateResponse, error)
- func (c *ClientWithResponses) AdminDeleteSandboxTemplateWithResponse(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*AdminDeleteSandboxTemplateResponse, error)
- func (c *ClientWithResponses) AdminGetSandboxPoolStatisticsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminGetSandboxPoolStatisticsResponse, error)
- func (c *ClientWithResponses) AdminGetSandboxStatisticsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminGetSandboxStatisticsResponse, error)
- func (c *ClientWithResponses) AdminListSandboxTemplatesWithResponse(ctx context.Context, params *AdminListSandboxTemplatesParams, ...) (*AdminListSandboxTemplatesResponse, error)
- func (c *ClientWithResponses) AdminUpdateSandboxTemplateWithBodyWithResponse(ctx context.Context, name PathTemplateName, contentType string, body io.Reader, ...) (*AdminUpdateSandboxTemplateResponse, error)
- func (c *ClientWithResponses) AdminUpdateSandboxTemplateWithResponse(ctx context.Context, name PathTemplateName, ...) (*AdminUpdateSandboxTemplateResponse, error)
- func (c *ClientWithResponses) CreateAPIKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAPIKeyResponse, error)
- func (c *ClientWithResponses) CreateAPIKeyWithResponse(ctx context.Context, body CreateAPIKeyJSONRequestBody, ...) (*CreateAPIKeyResponse, error)
- func (c *ClientWithResponses) CreateSandboxExecTokenWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*CreateSandboxExecTokenResponse, error)
- func (c *ClientWithResponses) CreateSandboxPoolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSandboxPoolResponse, error)
- func (c *ClientWithResponses) CreateSandboxPoolWithResponse(ctx context.Context, body CreateSandboxPoolJSONRequestBody, ...) (*CreateSandboxPoolResponse, error)
- func (c *ClientWithResponses) CreateSandboxWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSandboxResponse, error)
- func (c *ClientWithResponses) CreateSandboxWithResponse(ctx context.Context, body CreateSandboxJSONRequestBody, ...) (*CreateSandboxResponse, error)
- func (c *ClientWithResponses) DeleteAPIKeyWithResponse(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*DeleteAPIKeyResponse, error)
- func (c *ClientWithResponses) DeleteSandboxPoolWithResponse(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*DeleteSandboxPoolResponse, error)
- func (c *ClientWithResponses) DeleteSandboxWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*DeleteSandboxResponse, error)
- func (c *ClientWithResponses) ExecSandboxCommandWithBodyWithResponse(ctx context.Context, sandboxId PathSandboxId, contentType string, ...) (*ExecSandboxCommandResponse, error)
- func (c *ClientWithResponses) ExecSandboxCommandWithResponse(ctx context.Context, sandboxId PathSandboxId, ...) (*ExecSandboxCommandResponse, error)
- func (c *ClientWithResponses) GetFeatureGatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFeatureGatesResponse, error)
- func (c *ClientWithResponses) GetSandboxLogsWithResponse(ctx context.Context, sandboxId PathSandboxId, params *GetSandboxLogsParams, ...) (*GetSandboxLogsResponse, error)
- func (c *ClientWithResponses) GetSandboxPoolWithResponse(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*GetSandboxPoolResponse, error)
- func (c *ClientWithResponses) GetSandboxTemplateWithResponse(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*GetSandboxTemplateResponse, error)
- func (c *ClientWithResponses) GetSandboxWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*GetSandboxResponse, error)
- func (c *ClientWithResponses) GetUserSandboxStatisticsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserSandboxStatisticsResponse, error)
- func (c *ClientWithResponses) GetWhoAmIWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWhoAmIResponse, error)
- func (c *ClientWithResponses) IsSandboxReadyWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*IsSandboxReadyResponse, error)
- func (c *ClientWithResponses) ListAPIKeysWithResponse(ctx context.Context, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)
- func (c *ClientWithResponses) ListClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListClustersResponse, error)
- func (c *ClientWithResponses) ListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNamespacesResponse, error)
- func (c *ClientWithResponses) ListQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListQuotasResponse, error)
- func (c *ClientWithResponses) ListSandboxPoolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSandboxPoolsResponse, error)
- func (c *ClientWithResponses) ListSandboxTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSandboxTemplatesResponse, error)
- func (c *ClientWithResponses) ListSandboxesWithResponse(ctx context.Context, params *ListSandboxesParams, ...) (*ListSandboxesResponse, error)
- func (c *ClientWithResponses) ListTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)
- func (c *ClientWithResponses) ListUsersByTeamWithResponse(ctx context.Context, team PathTeam, reqEditors ...RequestEditorFn) (*ListUsersByTeamResponse, error)
- func (c *ClientWithResponses) PreviewSyncSandboxPoolTemplateWithResponse(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*PreviewSyncSandboxPoolTemplateResponse, error)
- func (c *ClientWithResponses) PromoteAPIKeyWithResponse(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*PromoteAPIKeyResponse, error)
- func (c *ClientWithResponses) SelfCreateAPIKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SelfCreateAPIKeyResponse, error)
- func (c *ClientWithResponses) SelfCreateAPIKeyWithResponse(ctx context.Context, body SelfCreateAPIKeyJSONRequestBody, ...) (*SelfCreateAPIKeyResponse, error)
- func (c *ClientWithResponses) SelfDeleteAPIKeyWithResponse(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*SelfDeleteAPIKeyResponse, error)
- func (c *ClientWithResponses) SelfListAPIKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SelfListAPIKeysResponse, error)
- func (c *ClientWithResponses) SetSandboxTimeoutWithBodyWithResponse(ctx context.Context, sandboxId PathSandboxId, contentType string, ...) (*SetSandboxTimeoutResponse, error)
- func (c *ClientWithResponses) SetSandboxTimeoutWithResponse(ctx context.Context, sandboxId PathSandboxId, ...) (*SetSandboxTimeoutResponse, error)
- func (c *ClientWithResponses) SyncSandboxPoolTemplateWithResponse(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*SyncSandboxPoolTemplateResponse, error)
- func (c *ClientWithResponses) UpdateSandboxPoolWithBodyWithResponse(ctx context.Context, name PathPoolName, contentType string, body io.Reader, ...) (*UpdateSandboxPoolResponse, error)
- func (c *ClientWithResponses) UpdateSandboxPoolWithResponse(ctx context.Context, name PathPoolName, body UpdateSandboxPoolJSONRequestBody, ...) (*UpdateSandboxPoolResponse, error)
- type ClientWithResponsesInterface
- type ClusterSummary
- type CreateAPIKey201JSONResponse
- type CreateAPIKey400JSONResponse
- type CreateAPIKey401JSONResponse
- type CreateAPIKey403JSONResponse
- type CreateAPIKey503JSONResponse
- type CreateAPIKeyJSONRequestBody
- type CreateAPIKeyRequest
- type CreateAPIKeyRequestObject
- type CreateAPIKeyResponse
- type CreateAPIKeyResponseObject
- type CreateAPIKeyResult
- type CreateSandbox201JSONResponse
- type CreateSandbox400JSONResponse
- type CreateSandbox401JSONResponse
- type CreateSandbox404JSONResponse
- type CreateSandbox409JSONResponse
- type CreateSandbox429JSONResponse
- type CreateSandbox500JSONResponse
- type CreateSandboxExecToken200JSONResponse
- type CreateSandboxExecToken400JSONResponse
- type CreateSandboxExecToken401JSONResponse
- type CreateSandboxExecToken404JSONResponse
- type CreateSandboxExecToken500JSONResponse
- type CreateSandboxExecTokenRequestObject
- type CreateSandboxExecTokenResponse
- type CreateSandboxExecTokenResponseObject
- type CreateSandboxJSONRequestBody
- type CreateSandboxPool201JSONResponse
- type CreateSandboxPool400JSONResponse
- type CreateSandboxPool401JSONResponse
- type CreateSandboxPool409JSONResponse
- type CreateSandboxPool422JSONResponse
- type CreateSandboxPool429JSONResponse
- type CreateSandboxPool500JSONResponse
- type CreateSandboxPoolJSONRequestBody
- type CreateSandboxPoolRequest
- type CreateSandboxPoolRequestObject
- type CreateSandboxPoolResponse
- type CreateSandboxPoolResponseObject
- type CreateSandboxRequest
- type CreateSandboxRequestObject
- type CreateSandboxResponse
- type CreateSandboxResponseObject
- type DeleteAPIKey200JSONResponse
- type DeleteAPIKey401JSONResponse
- type DeleteAPIKey403JSONResponse
- type DeleteAPIKey404JSONResponse
- type DeleteAPIKey503JSONResponse
- type DeleteAPIKeyRequestObject
- type DeleteAPIKeyResponse
- type DeleteAPIKeyResponseObject
- type DeleteAPIKeyResult
- type DeleteSandbox202JSONResponse
- type DeleteSandbox401JSONResponse
- type DeleteSandbox404JSONResponse
- type DeleteSandbox500JSONResponse
- type DeleteSandboxPool202JSONResponse
- type DeleteSandboxPool401JSONResponse
- type DeleteSandboxPool404JSONResponse
- type DeleteSandboxPool500JSONResponse
- type DeleteSandboxPoolRequestObject
- type DeleteSandboxPoolResponse
- type DeleteSandboxPoolResponseObject
- type DeleteSandboxPoolResult
- type DeleteSandboxRequestObject
- type DeleteSandboxResponse
- type DeleteSandboxResponseObject
- type DeleteSandboxResult
- type DeleteSandboxTemplateResult
- type ErrorResponse
- type ExecCommandRequest
- type ExecCommandResult
- type ExecSandboxCommand200JSONResponse
- type ExecSandboxCommand400JSONResponse
- type ExecSandboxCommand401JSONResponse
- type ExecSandboxCommand404JSONResponse
- type ExecSandboxCommand500JSONResponse
- type ExecSandboxCommandJSONRequestBody
- type ExecSandboxCommandRequestObject
- type ExecSandboxCommandResponse
- type ExecSandboxCommandResponseObject
- type ExecTokenResponse
- type FeatureGates
- type GetFeatureGates200JSONResponse
- type GetFeatureGates401JSONResponse
- type GetFeatureGates500JSONResponse
- type GetFeatureGatesRequestObject
- type GetFeatureGatesResponse
- type GetFeatureGatesResponseObject
- type GetSandbox200JSONResponse
- type GetSandbox401JSONResponse
- type GetSandbox404JSONResponse
- type GetSandbox500JSONResponse
- type GetSandboxLogs200JSONResponse
- type GetSandboxLogs400JSONResponse
- type GetSandboxLogs401JSONResponse
- type GetSandboxLogs404JSONResponse
- type GetSandboxLogs500JSONResponse
- type GetSandboxLogsParams
- type GetSandboxLogsRequestObject
- type GetSandboxLogsResponse
- type GetSandboxLogsResponseObject
- type GetSandboxPool200JSONResponse
- type GetSandboxPool401JSONResponse
- type GetSandboxPool404JSONResponse
- type GetSandboxPool422JSONResponse
- type GetSandboxPool500JSONResponse
- type GetSandboxPoolRequestObject
- type GetSandboxPoolResponse
- type GetSandboxPoolResponseObject
- type GetSandboxRequestObject
- type GetSandboxResponse
- type GetSandboxResponseObject
- type GetSandboxTemplate200JSONResponse
- type GetSandboxTemplate401JSONResponse
- type GetSandboxTemplate404JSONResponse
- type GetSandboxTemplate500JSONResponse
- type GetSandboxTemplateRequestObject
- type GetSandboxTemplateResponse
- type GetSandboxTemplateResponseObject
- type GetUserSandboxStatistics200JSONResponse
- type GetUserSandboxStatistics401JSONResponse
- type GetUserSandboxStatistics500JSONResponse
- type GetUserSandboxStatisticsRequestObject
- type GetUserSandboxStatisticsResponse
- type GetUserSandboxStatisticsResponseObject
- type GetWhoAmI200JSONResponse
- type GetWhoAmI401JSONResponse
- type GetWhoAmIRequestObject
- type GetWhoAmIResponse
- type GetWhoAmIResponseObject
- type GinServerOptions
- type HttpRequestDoer
- type ImagePullSecretInput
- type IsSandboxReady200JSONResponse
- type IsSandboxReady404JSONResponse
- type IsSandboxReady500JSONResponse
- type IsSandboxReady503JSONResponse
- type IsSandboxReadyRequestObject
- type IsSandboxReadyResponse
- type IsSandboxReadyResponseObject
- type ListAPIKeys200JSONResponse
- type ListAPIKeys401JSONResponse
- type ListAPIKeys403JSONResponse
- type ListAPIKeys503JSONResponse
- type ListAPIKeysParams
- type ListAPIKeysRequestObject
- type ListAPIKeysResponse
- type ListAPIKeysResponseObject
- type ListAPIKeysResult
- type ListClusters200JSONResponse
- type ListClusters401JSONResponse
- type ListClusters500JSONResponse
- type ListClustersRequestObject
- type ListClustersResponse
- type ListClustersResponseObject
- type ListClustersResult
- type ListNamespaces200JSONResponse
- type ListNamespaces401JSONResponse
- type ListNamespaces403JSONResponse
- type ListNamespaces500JSONResponse
- type ListNamespacesRequestObject
- type ListNamespacesResponse
- type ListNamespacesResponseObject
- type ListQuotas200JSONResponse
- type ListQuotas401JSONResponse
- type ListQuotas403JSONResponse
- type ListQuotas500JSONResponse
- type ListQuotasRequestObject
- type ListQuotasResponse
- type ListQuotasResponseObject
- type ListQuotasResult
- type ListSandboxPools200JSONResponse
- type ListSandboxPools401JSONResponse
- type ListSandboxPools500JSONResponse
- type ListSandboxPoolsRequestObject
- type ListSandboxPoolsResponse
- type ListSandboxPoolsResponseObject
- type ListSandboxPoolsResult
- type ListSandboxTemplates200JSONResponse
- type ListSandboxTemplates401JSONResponse
- type ListSandboxTemplates500JSONResponse
- type ListSandboxTemplatesRequestObject
- type ListSandboxTemplatesResponse
- type ListSandboxTemplatesResponseObject
- type ListSandboxTemplatesResult
- type ListSandboxes200JSONResponse
- type ListSandboxes401JSONResponse
- type ListSandboxes500JSONResponse
- type ListSandboxesParams
- type ListSandboxesRequestObject
- type ListSandboxesResponse
- type ListSandboxesResponseObject
- type ListSandboxesResult
- type ListTeams200JSONResponse
- type ListTeams401JSONResponse
- type ListTeams403JSONResponse
- type ListTeams500JSONResponse
- type ListTeamsRequestObject
- type ListTeamsResponse
- type ListTeamsResponseObject
- type ListUsersByTeam200JSONResponse
- type ListUsersByTeam400JSONResponse
- type ListUsersByTeam401JSONResponse
- type ListUsersByTeam403JSONResponse
- type ListUsersByTeam500JSONResponse
- type ListUsersByTeamRequestObject
- type ListUsersByTeamResponse
- type ListUsersByTeamResponseObject
- type MiddlewareFunc
- type NamespacesResult
- type PathAPIKeyName
- type PathPoolName
- type PathSandboxId
- type PathTeam
- type PathTemplateName
- type PoolAutoscalingSpec
- type PoolScaleDownPolicy
- type PoolScaleUpPolicy
- type PoolScaleUpPolicyMode
- type PoolTemplateOverrides
- type PreviewSyncSandboxPoolTemplate200JSONResponse
- type PreviewSyncSandboxPoolTemplate400JSONResponse
- type PreviewSyncSandboxPoolTemplate404JSONResponse
- type PreviewSyncSandboxPoolTemplate500JSONResponse
- type PreviewSyncSandboxPoolTemplateRequestObject
- type PreviewSyncSandboxPoolTemplateResponse
- type PreviewSyncSandboxPoolTemplateResponseObject
- type PromoteAPIKey200JSONResponse
- type PromoteAPIKey401JSONResponse
- type PromoteAPIKey403JSONResponse
- type PromoteAPIKey404JSONResponse
- type PromoteAPIKey409JSONResponse
- type PromoteAPIKey503JSONResponse
- type PromoteAPIKeyRequestObject
- type PromoteAPIKeyResponse
- type PromoteAPIKeyResponseObject
- type PromoteAPIKeyResult
- type QueryLimit
- type QueryNamespace
- type QueryOffset
- type QueryPoolName
- type QuerySandboxStatus
- type Quota
- type RegistryCredential
- type RequestEditorFn
- type Sandbox
- type SandboxEndpoint
- type SandboxEnvelope
- type SandboxLogEntry
- type SandboxLogsResult
- type SandboxLogsResultSource
- type SandboxPool
- type SandboxPoolEnvelope
- type SandboxPoolSpec
- type SandboxPoolSpecPodCreationImagePolicy
- type SandboxPoolStatistics
- type SandboxPoolStatisticsEnvelope
- type SandboxPoolStatus
- type SandboxPoolStatusPhase
- type SandboxReadinessResult
- type SandboxStatistics
- type SandboxStatisticsEnvelope
- type SandboxStatus
- type SandboxStatusDetail
- type SandboxTemplate
- type SandboxTemplateEnvelope
- type SandboxTemplateSummary
- type SelfCreateAPIKey201JSONResponse
- type SelfCreateAPIKey400JSONResponse
- type SelfCreateAPIKey503JSONResponse
- type SelfCreateAPIKeyJSONRequestBody
- type SelfCreateAPIKeyRequest
- type SelfCreateAPIKeyRequestObject
- type SelfCreateAPIKeyResponse
- type SelfCreateAPIKeyResponseObject
- type SelfDeleteAPIKey200JSONResponse
- type SelfDeleteAPIKey403JSONResponse
- type SelfDeleteAPIKey404JSONResponse
- type SelfDeleteAPIKey503JSONResponse
- type SelfDeleteAPIKeyRequestObject
- type SelfDeleteAPIKeyResponse
- type SelfDeleteAPIKeyResponseObject
- type SelfListAPIKeys200JSONResponse
- type SelfListAPIKeys503JSONResponse
- type SelfListAPIKeysRequestObject
- type SelfListAPIKeysResponse
- type SelfListAPIKeysResponseObject
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) AdminCreateSandboxTemplate(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminDeleteSandboxTemplate(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetSandboxPoolStatistics(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetSandboxStatistics(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminListSandboxTemplates(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminUpdateSandboxTemplate(c *gin.Context)
- func (siw *ServerInterfaceWrapper) CreateAPIKey(c *gin.Context)
- func (siw *ServerInterfaceWrapper) CreateSandbox(c *gin.Context)
- func (siw *ServerInterfaceWrapper) CreateSandboxExecToken(c *gin.Context)
- func (siw *ServerInterfaceWrapper) CreateSandboxPool(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteAPIKey(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteSandbox(c *gin.Context)
- func (siw *ServerInterfaceWrapper) DeleteSandboxPool(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ExecSandboxCommand(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetFeatureGates(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetSandbox(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetSandboxLogs(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetSandboxPool(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetSandboxTemplate(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetUserSandboxStatistics(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetWhoAmI(c *gin.Context)
- func (siw *ServerInterfaceWrapper) IsSandboxReady(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ListAPIKeys(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ListClusters(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ListNamespaces(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ListQuotas(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ListSandboxPools(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ListSandboxTemplates(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ListSandboxes(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ListTeams(c *gin.Context)
- func (siw *ServerInterfaceWrapper) ListUsersByTeam(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PreviewSyncSandboxPoolTemplate(c *gin.Context)
- func (siw *ServerInterfaceWrapper) PromoteAPIKey(c *gin.Context)
- func (siw *ServerInterfaceWrapper) SelfCreateAPIKey(c *gin.Context)
- func (siw *ServerInterfaceWrapper) SelfDeleteAPIKey(c *gin.Context)
- func (siw *ServerInterfaceWrapper) SelfListAPIKeys(c *gin.Context)
- func (siw *ServerInterfaceWrapper) SetSandboxTimeout(c *gin.Context)
- func (siw *ServerInterfaceWrapper) SyncSandboxPoolTemplate(c *gin.Context)
- func (siw *ServerInterfaceWrapper) UpdateSandboxPool(c *gin.Context)
- type SetSandboxTimeout204Response
- type SetSandboxTimeout401JSONResponse
- type SetSandboxTimeout404JSONResponse
- type SetSandboxTimeout500JSONResponse
- type SetSandboxTimeoutJSONRequestBody
- type SetSandboxTimeoutRequest
- type SetSandboxTimeoutRequestObject
- type SetSandboxTimeoutResponse
- type SetSandboxTimeoutResponseObject
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type SyncSandboxPoolTemplate200JSONResponse
- type SyncSandboxPoolTemplate400JSONResponse
- type SyncSandboxPoolTemplate404JSONResponse
- type SyncSandboxPoolTemplate500JSONResponse
- type SyncSandboxPoolTemplateRequestObject
- type SyncSandboxPoolTemplateResponse
- type SyncSandboxPoolTemplateResponseObject
- type SyncTemplatePreviewResult
- type TeamsResult
- type UpdateSandboxPool200JSONResponse
- type UpdateSandboxPool400JSONResponse
- type UpdateSandboxPool401JSONResponse
- type UpdateSandboxPool404JSONResponse
- type UpdateSandboxPool429JSONResponse
- type UpdateSandboxPool500JSONResponse
- type UpdateSandboxPoolJSONRequestBody
- type UpdateSandboxPoolRequest
- type UpdateSandboxPoolRequestObject
- type UpdateSandboxPoolRequestPodCreationImagePolicy
- type UpdateSandboxPoolResponse
- type UpdateSandboxPoolResponseObject
- type UpsertSandboxTemplateRequest
- type UserSandboxStatistics
- type UserSandboxStatisticsEnvelope
- type UsersResult
- type WhoAmIResult
Constants ¶
const ( AdminKeyAuthScopes = "AdminKeyAuth.Scopes" ApiKeyAuthScopes = "ApiKeyAuth.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func NewAdminCreateSandboxTemplateRequest ¶
func NewAdminCreateSandboxTemplateRequest(server string, body AdminCreateSandboxTemplateJSONRequestBody) (*http.Request, error)
NewAdminCreateSandboxTemplateRequest calls the generic AdminCreateSandboxTemplate builder with application/json body
func NewAdminCreateSandboxTemplateRequestWithBody ¶
func NewAdminCreateSandboxTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAdminCreateSandboxTemplateRequestWithBody generates requests for AdminCreateSandboxTemplate with any type of body
func NewAdminDeleteSandboxTemplateRequest ¶
func NewAdminDeleteSandboxTemplateRequest(server string, name PathTemplateName) (*http.Request, error)
NewAdminDeleteSandboxTemplateRequest generates requests for AdminDeleteSandboxTemplate
func NewAdminGetSandboxPoolStatisticsRequest ¶
NewAdminGetSandboxPoolStatisticsRequest generates requests for AdminGetSandboxPoolStatistics
func NewAdminGetSandboxStatisticsRequest ¶
NewAdminGetSandboxStatisticsRequest generates requests for AdminGetSandboxStatistics
func NewAdminListSandboxTemplatesRequest ¶ added in v0.0.2
func NewAdminListSandboxTemplatesRequest(server string, params *AdminListSandboxTemplatesParams) (*http.Request, error)
NewAdminListSandboxTemplatesRequest generates requests for AdminListSandboxTemplates
func NewAdminUpdateSandboxTemplateRequest ¶
func NewAdminUpdateSandboxTemplateRequest(server string, name PathTemplateName, body AdminUpdateSandboxTemplateJSONRequestBody) (*http.Request, error)
NewAdminUpdateSandboxTemplateRequest calls the generic AdminUpdateSandboxTemplate builder with application/json body
func NewAdminUpdateSandboxTemplateRequestWithBody ¶
func NewAdminUpdateSandboxTemplateRequestWithBody(server string, name PathTemplateName, contentType string, body io.Reader) (*http.Request, error)
NewAdminUpdateSandboxTemplateRequestWithBody generates requests for AdminUpdateSandboxTemplate with any type of body
func NewCreateAPIKeyRequest ¶
func NewCreateAPIKeyRequest(server string, body CreateAPIKeyJSONRequestBody) (*http.Request, error)
NewCreateAPIKeyRequest calls the generic CreateAPIKey builder with application/json body
func NewCreateAPIKeyRequestWithBody ¶
func NewCreateAPIKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAPIKeyRequestWithBody generates requests for CreateAPIKey with any type of body
func NewCreateSandboxExecTokenRequest ¶
func NewCreateSandboxExecTokenRequest(server string, sandboxId PathSandboxId) (*http.Request, error)
NewCreateSandboxExecTokenRequest generates requests for CreateSandboxExecToken
func NewCreateSandboxPoolRequest ¶
func NewCreateSandboxPoolRequest(server string, body CreateSandboxPoolJSONRequestBody) (*http.Request, error)
NewCreateSandboxPoolRequest calls the generic CreateSandboxPool builder with application/json body
func NewCreateSandboxPoolRequestWithBody ¶
func NewCreateSandboxPoolRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSandboxPoolRequestWithBody generates requests for CreateSandboxPool with any type of body
func NewCreateSandboxRequest ¶
func NewCreateSandboxRequest(server string, body CreateSandboxJSONRequestBody) (*http.Request, error)
NewCreateSandboxRequest calls the generic CreateSandbox builder with application/json body
func NewCreateSandboxRequestWithBody ¶
func NewCreateSandboxRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSandboxRequestWithBody generates requests for CreateSandbox with any type of body
func NewDeleteAPIKeyRequest ¶
func NewDeleteAPIKeyRequest(server string, name PathAPIKeyName) (*http.Request, error)
NewDeleteAPIKeyRequest generates requests for DeleteAPIKey
func NewDeleteSandboxPoolRequest ¶
func NewDeleteSandboxPoolRequest(server string, name PathPoolName) (*http.Request, error)
NewDeleteSandboxPoolRequest generates requests for DeleteSandboxPool
func NewDeleteSandboxRequest ¶
func NewDeleteSandboxRequest(server string, sandboxId PathSandboxId) (*http.Request, error)
NewDeleteSandboxRequest generates requests for DeleteSandbox
func NewExecSandboxCommandRequest ¶
func NewExecSandboxCommandRequest(server string, sandboxId PathSandboxId, body ExecSandboxCommandJSONRequestBody) (*http.Request, error)
NewExecSandboxCommandRequest calls the generic ExecSandboxCommand builder with application/json body
func NewExecSandboxCommandRequestWithBody ¶
func NewExecSandboxCommandRequestWithBody(server string, sandboxId PathSandboxId, contentType string, body io.Reader) (*http.Request, error)
NewExecSandboxCommandRequestWithBody generates requests for ExecSandboxCommand with any type of body
func NewGetFeatureGatesRequest ¶
NewGetFeatureGatesRequest generates requests for GetFeatureGates
func NewGetSandboxLogsRequest ¶
func NewGetSandboxLogsRequest(server string, sandboxId PathSandboxId, params *GetSandboxLogsParams) (*http.Request, error)
NewGetSandboxLogsRequest generates requests for GetSandboxLogs
func NewGetSandboxPoolRequest ¶
func NewGetSandboxPoolRequest(server string, name PathPoolName) (*http.Request, error)
NewGetSandboxPoolRequest generates requests for GetSandboxPool
func NewGetSandboxRequest ¶
func NewGetSandboxRequest(server string, sandboxId PathSandboxId) (*http.Request, error)
NewGetSandboxRequest generates requests for GetSandbox
func NewGetSandboxTemplateRequest ¶
func NewGetSandboxTemplateRequest(server string, name PathTemplateName) (*http.Request, error)
NewGetSandboxTemplateRequest generates requests for GetSandboxTemplate
func NewGetUserSandboxStatisticsRequest ¶
NewGetUserSandboxStatisticsRequest generates requests for GetUserSandboxStatistics
func NewGetWhoAmIRequest ¶
NewGetWhoAmIRequest generates requests for GetWhoAmI
func NewIsSandboxReadyRequest ¶
func NewIsSandboxReadyRequest(server string, sandboxId PathSandboxId) (*http.Request, error)
NewIsSandboxReadyRequest generates requests for IsSandboxReady
func NewListAPIKeysRequest ¶
func NewListAPIKeysRequest(server string, params *ListAPIKeysParams) (*http.Request, error)
NewListAPIKeysRequest generates requests for ListAPIKeys
func NewListClustersRequest ¶
NewListClustersRequest generates requests for ListClusters
func NewListNamespacesRequest ¶
NewListNamespacesRequest generates requests for ListNamespaces
func NewListQuotasRequest ¶
NewListQuotasRequest generates requests for ListQuotas
func NewListSandboxPoolsRequest ¶
NewListSandboxPoolsRequest generates requests for ListSandboxPools
func NewListSandboxTemplatesRequest ¶
NewListSandboxTemplatesRequest generates requests for ListSandboxTemplates
func NewListSandboxesRequest ¶
func NewListSandboxesRequest(server string, params *ListSandboxesParams) (*http.Request, error)
NewListSandboxesRequest generates requests for ListSandboxes
func NewListTeamsRequest ¶
NewListTeamsRequest generates requests for ListTeams
func NewListUsersByTeamRequest ¶
NewListUsersByTeamRequest generates requests for ListUsersByTeam
func NewPreviewSyncSandboxPoolTemplateRequest ¶
func NewPreviewSyncSandboxPoolTemplateRequest(server string, name PathPoolName) (*http.Request, error)
NewPreviewSyncSandboxPoolTemplateRequest generates requests for PreviewSyncSandboxPoolTemplate
func NewPromoteAPIKeyRequest ¶
func NewPromoteAPIKeyRequest(server string, name PathAPIKeyName) (*http.Request, error)
NewPromoteAPIKeyRequest generates requests for PromoteAPIKey
func NewSelfCreateAPIKeyRequest ¶
func NewSelfCreateAPIKeyRequest(server string, body SelfCreateAPIKeyJSONRequestBody) (*http.Request, error)
NewSelfCreateAPIKeyRequest calls the generic SelfCreateAPIKey builder with application/json body
func NewSelfCreateAPIKeyRequestWithBody ¶
func NewSelfCreateAPIKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSelfCreateAPIKeyRequestWithBody generates requests for SelfCreateAPIKey with any type of body
func NewSelfDeleteAPIKeyRequest ¶
func NewSelfDeleteAPIKeyRequest(server string, name PathAPIKeyName) (*http.Request, error)
NewSelfDeleteAPIKeyRequest generates requests for SelfDeleteAPIKey
func NewSelfListAPIKeysRequest ¶
NewSelfListAPIKeysRequest generates requests for SelfListAPIKeys
func NewSetSandboxTimeoutRequest ¶
func NewSetSandboxTimeoutRequest(server string, sandboxId PathSandboxId, body SetSandboxTimeoutJSONRequestBody) (*http.Request, error)
NewSetSandboxTimeoutRequest calls the generic SetSandboxTimeout builder with application/json body
func NewSetSandboxTimeoutRequestWithBody ¶
func NewSetSandboxTimeoutRequestWithBody(server string, sandboxId PathSandboxId, contentType string, body io.Reader) (*http.Request, error)
NewSetSandboxTimeoutRequestWithBody generates requests for SetSandboxTimeout with any type of body
func NewSyncSandboxPoolTemplateRequest ¶
func NewSyncSandboxPoolTemplateRequest(server string, name PathPoolName) (*http.Request, error)
NewSyncSandboxPoolTemplateRequest generates requests for SyncSandboxPoolTemplate
func NewUpdateSandboxPoolRequest ¶
func NewUpdateSandboxPoolRequest(server string, name PathPoolName, body UpdateSandboxPoolJSONRequestBody) (*http.Request, error)
NewUpdateSandboxPoolRequest calls the generic UpdateSandboxPool builder with application/json body
func NewUpdateSandboxPoolRequestWithBody ¶
func NewUpdateSandboxPoolRequestWithBody(server string, name PathPoolName, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSandboxPoolRequestWithBody generates requests for UpdateSandboxPool with any type of body
func PathToRawSpec ¶
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
func RegisterHandlers ¶
func RegisterHandlers(router gin.IRouter, si ServerInterface)
RegisterHandlers creates http.Handler with routing matching OpenAPI spec.
func RegisterHandlersWithOptions ¶
func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)
RegisterHandlersWithOptions creates http.Handler with additional options
Types ¶
type APIKeyItem ¶
type APIKeyItem struct {
// Description Human-readable description of the key.
Description *string `json:"description,omitempty"`
// ExpiresAt RFC 3339 expiry timestamp, or absent if the key never expires.
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// IssuedAt RFC 3339 timestamp when the key was created.
IssuedAt time.Time `json:"issuedAt"`
// KeyId Unique identifier for this API key.
KeyId string `json:"keyId"`
// QuotaURL Quota URL associated with the key (populated in import mode).
QuotaURL *string `json:"quotaURL,omitempty"`
// RawToken The full raw API key value (agbx_...), present only for keys created after plaintext storage was introduced. Absent for legacy keys. Displayed masked in UI; the full value is returned here for recovery by authorised callers.
RawToken *string `json:"rawToken,omitempty"`
// Role Role granted by this key (e.g. tenant, admin).
Role string `json:"role"`
// SyncSource Resource origin: 'global' (synced via ws-proxy) or 'local' (created directly on worker). Empty for legacy resources.
SyncSource *string `json:"syncSource,omitempty"`
// Team Team associated with the key.
Team *string `json:"team,omitempty"`
// User Username associated with the key.
User *string `json:"user,omitempty"`
}
APIKeyItem defines model for APIKeyItem.
type AdminCreateSandboxTemplate201JSONResponse ¶
type AdminCreateSandboxTemplate201JSONResponse SandboxTemplateEnvelope
func (AdminCreateSandboxTemplate201JSONResponse) VisitAdminCreateSandboxTemplateResponse ¶
func (response AdminCreateSandboxTemplate201JSONResponse) VisitAdminCreateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminCreateSandboxTemplate400JSONResponse ¶
type AdminCreateSandboxTemplate400JSONResponse ErrorResponse
func (AdminCreateSandboxTemplate400JSONResponse) VisitAdminCreateSandboxTemplateResponse ¶
func (response AdminCreateSandboxTemplate400JSONResponse) VisitAdminCreateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminCreateSandboxTemplate401JSONResponse ¶
type AdminCreateSandboxTemplate401JSONResponse ErrorResponse
func (AdminCreateSandboxTemplate401JSONResponse) VisitAdminCreateSandboxTemplateResponse ¶
func (response AdminCreateSandboxTemplate401JSONResponse) VisitAdminCreateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminCreateSandboxTemplate403JSONResponse ¶
type AdminCreateSandboxTemplate403JSONResponse ErrorResponse
func (AdminCreateSandboxTemplate403JSONResponse) VisitAdminCreateSandboxTemplateResponse ¶
func (response AdminCreateSandboxTemplate403JSONResponse) VisitAdminCreateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminCreateSandboxTemplate409JSONResponse ¶
type AdminCreateSandboxTemplate409JSONResponse ErrorResponse
func (AdminCreateSandboxTemplate409JSONResponse) VisitAdminCreateSandboxTemplateResponse ¶
func (response AdminCreateSandboxTemplate409JSONResponse) VisitAdminCreateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminCreateSandboxTemplate500JSONResponse ¶
type AdminCreateSandboxTemplate500JSONResponse ErrorResponse
func (AdminCreateSandboxTemplate500JSONResponse) VisitAdminCreateSandboxTemplateResponse ¶
func (response AdminCreateSandboxTemplate500JSONResponse) VisitAdminCreateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminCreateSandboxTemplateJSONRequestBody ¶
type AdminCreateSandboxTemplateJSONRequestBody = UpsertSandboxTemplateRequest
AdminCreateSandboxTemplateJSONRequestBody defines body for AdminCreateSandboxTemplate for application/json ContentType.
type AdminCreateSandboxTemplateRequestObject ¶
type AdminCreateSandboxTemplateRequestObject struct {
Body *AdminCreateSandboxTemplateJSONRequestBody
}
type AdminCreateSandboxTemplateResponse ¶
type AdminCreateSandboxTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *SandboxTemplateEnvelope
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON409 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseAdminCreateSandboxTemplateResponse ¶
func ParseAdminCreateSandboxTemplateResponse(rsp *http.Response) (*AdminCreateSandboxTemplateResponse, error)
ParseAdminCreateSandboxTemplateResponse parses an HTTP response from a AdminCreateSandboxTemplateWithResponse call
func (AdminCreateSandboxTemplateResponse) Status ¶
func (r AdminCreateSandboxTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (AdminCreateSandboxTemplateResponse) StatusCode ¶
func (r AdminCreateSandboxTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdminCreateSandboxTemplateResponseObject ¶
type AdminCreateSandboxTemplateResponseObject interface {
VisitAdminCreateSandboxTemplateResponse(w http.ResponseWriter) error
}
type AdminDeleteSandboxTemplate202JSONResponse ¶
type AdminDeleteSandboxTemplate202JSONResponse DeleteSandboxTemplateResult
func (AdminDeleteSandboxTemplate202JSONResponse) VisitAdminDeleteSandboxTemplateResponse ¶
func (response AdminDeleteSandboxTemplate202JSONResponse) VisitAdminDeleteSandboxTemplateResponse(w http.ResponseWriter) error
type AdminDeleteSandboxTemplate401JSONResponse ¶
type AdminDeleteSandboxTemplate401JSONResponse ErrorResponse
func (AdminDeleteSandboxTemplate401JSONResponse) VisitAdminDeleteSandboxTemplateResponse ¶
func (response AdminDeleteSandboxTemplate401JSONResponse) VisitAdminDeleteSandboxTemplateResponse(w http.ResponseWriter) error
type AdminDeleteSandboxTemplate403JSONResponse ¶
type AdminDeleteSandboxTemplate403JSONResponse ErrorResponse
func (AdminDeleteSandboxTemplate403JSONResponse) VisitAdminDeleteSandboxTemplateResponse ¶
func (response AdminDeleteSandboxTemplate403JSONResponse) VisitAdminDeleteSandboxTemplateResponse(w http.ResponseWriter) error
type AdminDeleteSandboxTemplate404JSONResponse ¶
type AdminDeleteSandboxTemplate404JSONResponse ErrorResponse
func (AdminDeleteSandboxTemplate404JSONResponse) VisitAdminDeleteSandboxTemplateResponse ¶
func (response AdminDeleteSandboxTemplate404JSONResponse) VisitAdminDeleteSandboxTemplateResponse(w http.ResponseWriter) error
type AdminDeleteSandboxTemplate500JSONResponse ¶
type AdminDeleteSandboxTemplate500JSONResponse ErrorResponse
func (AdminDeleteSandboxTemplate500JSONResponse) VisitAdminDeleteSandboxTemplateResponse ¶
func (response AdminDeleteSandboxTemplate500JSONResponse) VisitAdminDeleteSandboxTemplateResponse(w http.ResponseWriter) error
type AdminDeleteSandboxTemplateRequestObject ¶
type AdminDeleteSandboxTemplateRequestObject struct {
Name PathTemplateName `json:"name"`
}
type AdminDeleteSandboxTemplateResponse ¶
type AdminDeleteSandboxTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DeleteSandboxTemplateResult
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseAdminDeleteSandboxTemplateResponse ¶
func ParseAdminDeleteSandboxTemplateResponse(rsp *http.Response) (*AdminDeleteSandboxTemplateResponse, error)
ParseAdminDeleteSandboxTemplateResponse parses an HTTP response from a AdminDeleteSandboxTemplateWithResponse call
func (AdminDeleteSandboxTemplateResponse) Status ¶
func (r AdminDeleteSandboxTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (AdminDeleteSandboxTemplateResponse) StatusCode ¶
func (r AdminDeleteSandboxTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdminDeleteSandboxTemplateResponseObject ¶
type AdminDeleteSandboxTemplateResponseObject interface {
VisitAdminDeleteSandboxTemplateResponse(w http.ResponseWriter) error
}
type AdminGetSandboxPoolStatistics200JSONResponse ¶
type AdminGetSandboxPoolStatistics200JSONResponse SandboxPoolStatisticsEnvelope
func (AdminGetSandboxPoolStatistics200JSONResponse) VisitAdminGetSandboxPoolStatisticsResponse ¶
func (response AdminGetSandboxPoolStatistics200JSONResponse) VisitAdminGetSandboxPoolStatisticsResponse(w http.ResponseWriter) error
type AdminGetSandboxPoolStatistics401JSONResponse ¶
type AdminGetSandboxPoolStatistics401JSONResponse ErrorResponse
func (AdminGetSandboxPoolStatistics401JSONResponse) VisitAdminGetSandboxPoolStatisticsResponse ¶
func (response AdminGetSandboxPoolStatistics401JSONResponse) VisitAdminGetSandboxPoolStatisticsResponse(w http.ResponseWriter) error
type AdminGetSandboxPoolStatistics403JSONResponse ¶
type AdminGetSandboxPoolStatistics403JSONResponse ErrorResponse
func (AdminGetSandboxPoolStatistics403JSONResponse) VisitAdminGetSandboxPoolStatisticsResponse ¶
func (response AdminGetSandboxPoolStatistics403JSONResponse) VisitAdminGetSandboxPoolStatisticsResponse(w http.ResponseWriter) error
type AdminGetSandboxPoolStatistics500JSONResponse ¶
type AdminGetSandboxPoolStatistics500JSONResponse ErrorResponse
func (AdminGetSandboxPoolStatistics500JSONResponse) VisitAdminGetSandboxPoolStatisticsResponse ¶
func (response AdminGetSandboxPoolStatistics500JSONResponse) VisitAdminGetSandboxPoolStatisticsResponse(w http.ResponseWriter) error
type AdminGetSandboxPoolStatisticsRequestObject ¶
type AdminGetSandboxPoolStatisticsRequestObject struct {
}
type AdminGetSandboxPoolStatisticsResponse ¶
type AdminGetSandboxPoolStatisticsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SandboxPoolStatisticsEnvelope
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseAdminGetSandboxPoolStatisticsResponse ¶
func ParseAdminGetSandboxPoolStatisticsResponse(rsp *http.Response) (*AdminGetSandboxPoolStatisticsResponse, error)
ParseAdminGetSandboxPoolStatisticsResponse parses an HTTP response from a AdminGetSandboxPoolStatisticsWithResponse call
func (AdminGetSandboxPoolStatisticsResponse) Status ¶
func (r AdminGetSandboxPoolStatisticsResponse) Status() string
Status returns HTTPResponse.Status
func (AdminGetSandboxPoolStatisticsResponse) StatusCode ¶
func (r AdminGetSandboxPoolStatisticsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdminGetSandboxPoolStatisticsResponseObject ¶
type AdminGetSandboxPoolStatisticsResponseObject interface {
VisitAdminGetSandboxPoolStatisticsResponse(w http.ResponseWriter) error
}
type AdminGetSandboxStatistics200JSONResponse ¶
type AdminGetSandboxStatistics200JSONResponse SandboxStatisticsEnvelope
func (AdminGetSandboxStatistics200JSONResponse) VisitAdminGetSandboxStatisticsResponse ¶
func (response AdminGetSandboxStatistics200JSONResponse) VisitAdminGetSandboxStatisticsResponse(w http.ResponseWriter) error
type AdminGetSandboxStatistics401JSONResponse ¶
type AdminGetSandboxStatistics401JSONResponse ErrorResponse
func (AdminGetSandboxStatistics401JSONResponse) VisitAdminGetSandboxStatisticsResponse ¶
func (response AdminGetSandboxStatistics401JSONResponse) VisitAdminGetSandboxStatisticsResponse(w http.ResponseWriter) error
type AdminGetSandboxStatistics403JSONResponse ¶
type AdminGetSandboxStatistics403JSONResponse ErrorResponse
func (AdminGetSandboxStatistics403JSONResponse) VisitAdminGetSandboxStatisticsResponse ¶
func (response AdminGetSandboxStatistics403JSONResponse) VisitAdminGetSandboxStatisticsResponse(w http.ResponseWriter) error
type AdminGetSandboxStatistics500JSONResponse ¶
type AdminGetSandboxStatistics500JSONResponse ErrorResponse
func (AdminGetSandboxStatistics500JSONResponse) VisitAdminGetSandboxStatisticsResponse ¶
func (response AdminGetSandboxStatistics500JSONResponse) VisitAdminGetSandboxStatisticsResponse(w http.ResponseWriter) error
type AdminGetSandboxStatisticsRequestObject ¶
type AdminGetSandboxStatisticsRequestObject struct {
}
type AdminGetSandboxStatisticsResponse ¶
type AdminGetSandboxStatisticsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SandboxStatisticsEnvelope
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseAdminGetSandboxStatisticsResponse ¶
func ParseAdminGetSandboxStatisticsResponse(rsp *http.Response) (*AdminGetSandboxStatisticsResponse, error)
ParseAdminGetSandboxStatisticsResponse parses an HTTP response from a AdminGetSandboxStatisticsWithResponse call
func (AdminGetSandboxStatisticsResponse) Status ¶
func (r AdminGetSandboxStatisticsResponse) Status() string
Status returns HTTPResponse.Status
func (AdminGetSandboxStatisticsResponse) StatusCode ¶
func (r AdminGetSandboxStatisticsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdminGetSandboxStatisticsResponseObject ¶
type AdminGetSandboxStatisticsResponseObject interface {
VisitAdminGetSandboxStatisticsResponse(w http.ResponseWriter) error
}
type AdminListSandboxTemplates200JSONResponse ¶ added in v0.0.2
type AdminListSandboxTemplates200JSONResponse ListSandboxTemplatesResult
func (AdminListSandboxTemplates200JSONResponse) VisitAdminListSandboxTemplatesResponse ¶ added in v0.0.2
func (response AdminListSandboxTemplates200JSONResponse) VisitAdminListSandboxTemplatesResponse(w http.ResponseWriter) error
type AdminListSandboxTemplates401JSONResponse ¶ added in v0.0.2
type AdminListSandboxTemplates401JSONResponse ErrorResponse
func (AdminListSandboxTemplates401JSONResponse) VisitAdminListSandboxTemplatesResponse ¶ added in v0.0.2
func (response AdminListSandboxTemplates401JSONResponse) VisitAdminListSandboxTemplatesResponse(w http.ResponseWriter) error
type AdminListSandboxTemplates403JSONResponse ¶ added in v0.0.2
type AdminListSandboxTemplates403JSONResponse ErrorResponse
func (AdminListSandboxTemplates403JSONResponse) VisitAdminListSandboxTemplatesResponse ¶ added in v0.0.2
func (response AdminListSandboxTemplates403JSONResponse) VisitAdminListSandboxTemplatesResponse(w http.ResponseWriter) error
type AdminListSandboxTemplates500JSONResponse ¶ added in v0.0.2
type AdminListSandboxTemplates500JSONResponse ErrorResponse
func (AdminListSandboxTemplates500JSONResponse) VisitAdminListSandboxTemplatesResponse ¶ added in v0.0.2
func (response AdminListSandboxTemplates500JSONResponse) VisitAdminListSandboxTemplatesResponse(w http.ResponseWriter) error
type AdminListSandboxTemplatesParams ¶ added in v0.0.2
type AdminListSandboxTemplatesParams struct {
// Team Filter by team.
Team *string `form:"team,omitempty" json:"team,omitempty"`
// User Filter by user.
User *string `form:"user,omitempty" json:"user,omitempty"`
}
AdminListSandboxTemplatesParams defines parameters for AdminListSandboxTemplates.
type AdminListSandboxTemplatesRequestObject ¶ added in v0.0.2
type AdminListSandboxTemplatesRequestObject struct {
Params AdminListSandboxTemplatesParams
}
type AdminListSandboxTemplatesResponse ¶ added in v0.0.2
type AdminListSandboxTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListSandboxTemplatesResult
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseAdminListSandboxTemplatesResponse ¶ added in v0.0.2
func ParseAdminListSandboxTemplatesResponse(rsp *http.Response) (*AdminListSandboxTemplatesResponse, error)
ParseAdminListSandboxTemplatesResponse parses an HTTP response from a AdminListSandboxTemplatesWithResponse call
func (AdminListSandboxTemplatesResponse) Status ¶ added in v0.0.2
func (r AdminListSandboxTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (AdminListSandboxTemplatesResponse) StatusCode ¶ added in v0.0.2
func (r AdminListSandboxTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdminListSandboxTemplatesResponseObject ¶ added in v0.0.2
type AdminListSandboxTemplatesResponseObject interface {
VisitAdminListSandboxTemplatesResponse(w http.ResponseWriter) error
}
type AdminUpdateSandboxTemplate200JSONResponse ¶
type AdminUpdateSandboxTemplate200JSONResponse SandboxTemplateEnvelope
func (AdminUpdateSandboxTemplate200JSONResponse) VisitAdminUpdateSandboxTemplateResponse ¶
func (response AdminUpdateSandboxTemplate200JSONResponse) VisitAdminUpdateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminUpdateSandboxTemplate400JSONResponse ¶
type AdminUpdateSandboxTemplate400JSONResponse ErrorResponse
func (AdminUpdateSandboxTemplate400JSONResponse) VisitAdminUpdateSandboxTemplateResponse ¶
func (response AdminUpdateSandboxTemplate400JSONResponse) VisitAdminUpdateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminUpdateSandboxTemplate401JSONResponse ¶
type AdminUpdateSandboxTemplate401JSONResponse ErrorResponse
func (AdminUpdateSandboxTemplate401JSONResponse) VisitAdminUpdateSandboxTemplateResponse ¶
func (response AdminUpdateSandboxTemplate401JSONResponse) VisitAdminUpdateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminUpdateSandboxTemplate403JSONResponse ¶
type AdminUpdateSandboxTemplate403JSONResponse ErrorResponse
func (AdminUpdateSandboxTemplate403JSONResponse) VisitAdminUpdateSandboxTemplateResponse ¶
func (response AdminUpdateSandboxTemplate403JSONResponse) VisitAdminUpdateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminUpdateSandboxTemplate404JSONResponse ¶
type AdminUpdateSandboxTemplate404JSONResponse ErrorResponse
func (AdminUpdateSandboxTemplate404JSONResponse) VisitAdminUpdateSandboxTemplateResponse ¶
func (response AdminUpdateSandboxTemplate404JSONResponse) VisitAdminUpdateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminUpdateSandboxTemplate409JSONResponse ¶
type AdminUpdateSandboxTemplate409JSONResponse ErrorResponse
func (AdminUpdateSandboxTemplate409JSONResponse) VisitAdminUpdateSandboxTemplateResponse ¶
func (response AdminUpdateSandboxTemplate409JSONResponse) VisitAdminUpdateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminUpdateSandboxTemplate500JSONResponse ¶
type AdminUpdateSandboxTemplate500JSONResponse ErrorResponse
func (AdminUpdateSandboxTemplate500JSONResponse) VisitAdminUpdateSandboxTemplateResponse ¶
func (response AdminUpdateSandboxTemplate500JSONResponse) VisitAdminUpdateSandboxTemplateResponse(w http.ResponseWriter) error
type AdminUpdateSandboxTemplateJSONRequestBody ¶
type AdminUpdateSandboxTemplateJSONRequestBody = UpsertSandboxTemplateRequest
AdminUpdateSandboxTemplateJSONRequestBody defines body for AdminUpdateSandboxTemplate for application/json ContentType.
type AdminUpdateSandboxTemplateRequestObject ¶
type AdminUpdateSandboxTemplateRequestObject struct {
Name PathTemplateName `json:"name"`
Body *AdminUpdateSandboxTemplateJSONRequestBody
}
type AdminUpdateSandboxTemplateResponse ¶
type AdminUpdateSandboxTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SandboxTemplateEnvelope
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON409 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseAdminUpdateSandboxTemplateResponse ¶
func ParseAdminUpdateSandboxTemplateResponse(rsp *http.Response) (*AdminUpdateSandboxTemplateResponse, error)
ParseAdminUpdateSandboxTemplateResponse parses an HTTP response from a AdminUpdateSandboxTemplateWithResponse call
func (AdminUpdateSandboxTemplateResponse) Status ¶
func (r AdminUpdateSandboxTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (AdminUpdateSandboxTemplateResponse) StatusCode ¶
func (r AdminUpdateSandboxTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdminUpdateSandboxTemplateResponseObject ¶
type AdminUpdateSandboxTemplateResponseObject interface {
VisitAdminUpdateSandboxTemplateResponse(w http.ResponseWriter) error
}
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AdminCreateSandboxTemplate ¶
func (c *Client) AdminCreateSandboxTemplate(ctx context.Context, body AdminCreateSandboxTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AdminCreateSandboxTemplateWithBody ¶
func (*Client) AdminDeleteSandboxTemplate ¶
func (c *Client) AdminDeleteSandboxTemplate(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AdminGetSandboxPoolStatistics ¶
func (*Client) AdminGetSandboxStatistics ¶
func (*Client) AdminListSandboxTemplates ¶ added in v0.0.2
func (c *Client) AdminListSandboxTemplates(ctx context.Context, params *AdminListSandboxTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AdminUpdateSandboxTemplate ¶
func (c *Client) AdminUpdateSandboxTemplate(ctx context.Context, name PathTemplateName, body AdminUpdateSandboxTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AdminUpdateSandboxTemplateWithBody ¶
func (*Client) CreateAPIKey ¶
func (c *Client) CreateAPIKey(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAPIKeyWithBody ¶
func (*Client) CreateSandbox ¶
func (c *Client) CreateSandbox(ctx context.Context, body CreateSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSandboxExecToken ¶
func (c *Client) CreateSandboxExecToken(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSandboxPool ¶
func (c *Client) CreateSandboxPool(ctx context.Context, body CreateSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSandboxPoolWithBody ¶
func (*Client) CreateSandboxWithBody ¶
func (*Client) DeleteAPIKey ¶
func (c *Client) DeleteAPIKey(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSandbox ¶
func (c *Client) DeleteSandbox(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSandboxPool ¶
func (c *Client) DeleteSandboxPool(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExecSandboxCommand ¶
func (c *Client) ExecSandboxCommand(ctx context.Context, sandboxId PathSandboxId, body ExecSandboxCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExecSandboxCommandWithBody ¶
func (*Client) GetFeatureGates ¶
func (*Client) GetSandbox ¶
func (c *Client) GetSandbox(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSandboxLogs ¶
func (c *Client) GetSandboxLogs(ctx context.Context, sandboxId PathSandboxId, params *GetSandboxLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSandboxPool ¶
func (c *Client) GetSandboxPool(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSandboxTemplate ¶
func (c *Client) GetSandboxTemplate(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUserSandboxStatistics ¶
func (*Client) IsSandboxReady ¶
func (c *Client) IsSandboxReady(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAPIKeys ¶
func (c *Client) ListAPIKeys(ctx context.Context, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListClusters ¶
func (*Client) ListNamespaces ¶
func (*Client) ListQuotas ¶
func (*Client) ListSandboxPools ¶
func (*Client) ListSandboxTemplates ¶
func (*Client) ListSandboxes ¶
func (c *Client) ListSandboxes(ctx context.Context, params *ListSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListUsersByTeam ¶
func (*Client) PreviewSyncSandboxPoolTemplate ¶
func (c *Client) PreviewSyncSandboxPoolTemplate(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PromoteAPIKey ¶
func (c *Client) PromoteAPIKey(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SelfCreateAPIKey ¶
func (c *Client) SelfCreateAPIKey(ctx context.Context, body SelfCreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SelfCreateAPIKeyWithBody ¶
func (*Client) SelfDeleteAPIKey ¶
func (c *Client) SelfDeleteAPIKey(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SelfListAPIKeys ¶
func (*Client) SetSandboxTimeout ¶
func (c *Client) SetSandboxTimeout(ctx context.Context, sandboxId PathSandboxId, body SetSandboxTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetSandboxTimeoutWithBody ¶
func (*Client) SyncSandboxPoolTemplate ¶
func (c *Client) SyncSandboxPoolTemplate(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSandboxPool ¶
func (c *Client) UpdateSandboxPool(ctx context.Context, name PathPoolName, body UpdateSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSandboxPoolWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// ListAPIKeys request
ListAPIKeys(ctx context.Context, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAPIKeyWithBody request with any body
CreateAPIKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAPIKey(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAPIKey request
DeleteAPIKey(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PromoteAPIKey request
PromoteAPIKey(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListNamespaces request
ListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AdminListSandboxTemplates request
AdminListSandboxTemplates(ctx context.Context, params *AdminListSandboxTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AdminCreateSandboxTemplateWithBody request with any body
AdminCreateSandboxTemplateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AdminCreateSandboxTemplate(ctx context.Context, body AdminCreateSandboxTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AdminDeleteSandboxTemplate request
AdminDeleteSandboxTemplate(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*http.Response, error)
// AdminUpdateSandboxTemplateWithBody request with any body
AdminUpdateSandboxTemplateWithBody(ctx context.Context, name PathTemplateName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AdminUpdateSandboxTemplate(ctx context.Context, name PathTemplateName, body AdminUpdateSandboxTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AdminGetSandboxStatistics request
AdminGetSandboxStatistics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AdminGetSandboxPoolStatistics request
AdminGetSandboxPoolStatistics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTeams request
ListTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUsersByTeam request
ListUsersByTeam(ctx context.Context, team PathTeam, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelfListAPIKeys request
SelfListAPIKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelfCreateAPIKeyWithBody request with any body
SelfCreateAPIKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SelfCreateAPIKey(ctx context.Context, body SelfCreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelfDeleteAPIKey request
SelfDeleteAPIKey(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWhoAmI request
GetWhoAmI(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListClusters request
ListClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFeatureGates request
GetFeatureGates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListQuotas request
ListQuotas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSandboxTemplates request
ListSandboxTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandboxTemplate request
GetSandboxTemplate(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSandboxes request
ListSandboxes(ctx context.Context, params *ListSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSandboxWithBody request with any body
CreateSandboxWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSandbox(ctx context.Context, body CreateSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSandbox request
DeleteSandbox(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandbox request
GetSandbox(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExecSandboxCommandWithBody request with any body
ExecSandboxCommandWithBody(ctx context.Context, sandboxId PathSandboxId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExecSandboxCommand(ctx context.Context, sandboxId PathSandboxId, body ExecSandboxCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSandboxExecToken request
CreateSandboxExecToken(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)
// IsSandboxReady request
IsSandboxReady(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandboxLogs request
GetSandboxLogs(ctx context.Context, sandboxId PathSandboxId, params *GetSandboxLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetSandboxTimeoutWithBody request with any body
SetSandboxTimeoutWithBody(ctx context.Context, sandboxId PathSandboxId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetSandboxTimeout(ctx context.Context, sandboxId PathSandboxId, body SetSandboxTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSandboxPools request
ListSandboxPools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSandboxPoolWithBody request with any body
CreateSandboxPoolWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSandboxPool(ctx context.Context, body CreateSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSandboxPool request
DeleteSandboxPool(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSandboxPool request
GetSandboxPool(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSandboxPoolWithBody request with any body
UpdateSandboxPoolWithBody(ctx context.Context, name PathPoolName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSandboxPool(ctx context.Context, name PathPoolName, body UpdateSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyncSandboxPoolTemplate request
SyncSandboxPoolTemplate(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreviewSyncSandboxPoolTemplate request
PreviewSyncSandboxPoolTemplate(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUserSandboxStatistics request
GetUserSandboxStatistics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AdminCreateSandboxTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) AdminCreateSandboxTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminCreateSandboxTemplateResponse, error)
AdminCreateSandboxTemplateWithBodyWithResponse request with arbitrary body returning *AdminCreateSandboxTemplateResponse
func (*ClientWithResponses) AdminCreateSandboxTemplateWithResponse ¶
func (c *ClientWithResponses) AdminCreateSandboxTemplateWithResponse(ctx context.Context, body AdminCreateSandboxTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateSandboxTemplateResponse, error)
func (*ClientWithResponses) AdminDeleteSandboxTemplateWithResponse ¶
func (c *ClientWithResponses) AdminDeleteSandboxTemplateWithResponse(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*AdminDeleteSandboxTemplateResponse, error)
AdminDeleteSandboxTemplateWithResponse request returning *AdminDeleteSandboxTemplateResponse
func (*ClientWithResponses) AdminGetSandboxPoolStatisticsWithResponse ¶
func (c *ClientWithResponses) AdminGetSandboxPoolStatisticsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminGetSandboxPoolStatisticsResponse, error)
AdminGetSandboxPoolStatisticsWithResponse request returning *AdminGetSandboxPoolStatisticsResponse
func (*ClientWithResponses) AdminGetSandboxStatisticsWithResponse ¶
func (c *ClientWithResponses) AdminGetSandboxStatisticsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminGetSandboxStatisticsResponse, error)
AdminGetSandboxStatisticsWithResponse request returning *AdminGetSandboxStatisticsResponse
func (*ClientWithResponses) AdminListSandboxTemplatesWithResponse ¶ added in v0.0.2
func (c *ClientWithResponses) AdminListSandboxTemplatesWithResponse(ctx context.Context, params *AdminListSandboxTemplatesParams, reqEditors ...RequestEditorFn) (*AdminListSandboxTemplatesResponse, error)
AdminListSandboxTemplatesWithResponse request returning *AdminListSandboxTemplatesResponse
func (*ClientWithResponses) AdminUpdateSandboxTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) AdminUpdateSandboxTemplateWithBodyWithResponse(ctx context.Context, name PathTemplateName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminUpdateSandboxTemplateResponse, error)
AdminUpdateSandboxTemplateWithBodyWithResponse request with arbitrary body returning *AdminUpdateSandboxTemplateResponse
func (*ClientWithResponses) AdminUpdateSandboxTemplateWithResponse ¶
func (c *ClientWithResponses) AdminUpdateSandboxTemplateWithResponse(ctx context.Context, name PathTemplateName, body AdminUpdateSandboxTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminUpdateSandboxTemplateResponse, error)
func (*ClientWithResponses) CreateAPIKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAPIKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)
CreateAPIKeyWithBodyWithResponse request with arbitrary body returning *CreateAPIKeyResponse
func (*ClientWithResponses) CreateAPIKeyWithResponse ¶
func (c *ClientWithResponses) CreateAPIKeyWithResponse(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)
func (*ClientWithResponses) CreateSandboxExecTokenWithResponse ¶
func (c *ClientWithResponses) CreateSandboxExecTokenWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*CreateSandboxExecTokenResponse, error)
CreateSandboxExecTokenWithResponse request returning *CreateSandboxExecTokenResponse
func (*ClientWithResponses) CreateSandboxPoolWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSandboxPoolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSandboxPoolResponse, error)
CreateSandboxPoolWithBodyWithResponse request with arbitrary body returning *CreateSandboxPoolResponse
func (*ClientWithResponses) CreateSandboxPoolWithResponse ¶
func (c *ClientWithResponses) CreateSandboxPoolWithResponse(ctx context.Context, body CreateSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSandboxPoolResponse, error)
func (*ClientWithResponses) CreateSandboxWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSandboxWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSandboxResponse, error)
CreateSandboxWithBodyWithResponse request with arbitrary body returning *CreateSandboxResponse
func (*ClientWithResponses) CreateSandboxWithResponse ¶
func (c *ClientWithResponses) CreateSandboxWithResponse(ctx context.Context, body CreateSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSandboxResponse, error)
func (*ClientWithResponses) DeleteAPIKeyWithResponse ¶
func (c *ClientWithResponses) DeleteAPIKeyWithResponse(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*DeleteAPIKeyResponse, error)
DeleteAPIKeyWithResponse request returning *DeleteAPIKeyResponse
func (*ClientWithResponses) DeleteSandboxPoolWithResponse ¶
func (c *ClientWithResponses) DeleteSandboxPoolWithResponse(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*DeleteSandboxPoolResponse, error)
DeleteSandboxPoolWithResponse request returning *DeleteSandboxPoolResponse
func (*ClientWithResponses) DeleteSandboxWithResponse ¶
func (c *ClientWithResponses) DeleteSandboxWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*DeleteSandboxResponse, error)
DeleteSandboxWithResponse request returning *DeleteSandboxResponse
func (*ClientWithResponses) ExecSandboxCommandWithBodyWithResponse ¶
func (c *ClientWithResponses) ExecSandboxCommandWithBodyWithResponse(ctx context.Context, sandboxId PathSandboxId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecSandboxCommandResponse, error)
ExecSandboxCommandWithBodyWithResponse request with arbitrary body returning *ExecSandboxCommandResponse
func (*ClientWithResponses) ExecSandboxCommandWithResponse ¶
func (c *ClientWithResponses) ExecSandboxCommandWithResponse(ctx context.Context, sandboxId PathSandboxId, body ExecSandboxCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecSandboxCommandResponse, error)
func (*ClientWithResponses) GetFeatureGatesWithResponse ¶
func (c *ClientWithResponses) GetFeatureGatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFeatureGatesResponse, error)
GetFeatureGatesWithResponse request returning *GetFeatureGatesResponse
func (*ClientWithResponses) GetSandboxLogsWithResponse ¶
func (c *ClientWithResponses) GetSandboxLogsWithResponse(ctx context.Context, sandboxId PathSandboxId, params *GetSandboxLogsParams, reqEditors ...RequestEditorFn) (*GetSandboxLogsResponse, error)
GetSandboxLogsWithResponse request returning *GetSandboxLogsResponse
func (*ClientWithResponses) GetSandboxPoolWithResponse ¶
func (c *ClientWithResponses) GetSandboxPoolWithResponse(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*GetSandboxPoolResponse, error)
GetSandboxPoolWithResponse request returning *GetSandboxPoolResponse
func (*ClientWithResponses) GetSandboxTemplateWithResponse ¶
func (c *ClientWithResponses) GetSandboxTemplateWithResponse(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*GetSandboxTemplateResponse, error)
GetSandboxTemplateWithResponse request returning *GetSandboxTemplateResponse
func (*ClientWithResponses) GetSandboxWithResponse ¶
func (c *ClientWithResponses) GetSandboxWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*GetSandboxResponse, error)
GetSandboxWithResponse request returning *GetSandboxResponse
func (*ClientWithResponses) GetUserSandboxStatisticsWithResponse ¶
func (c *ClientWithResponses) GetUserSandboxStatisticsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserSandboxStatisticsResponse, error)
GetUserSandboxStatisticsWithResponse request returning *GetUserSandboxStatisticsResponse
func (*ClientWithResponses) GetWhoAmIWithResponse ¶
func (c *ClientWithResponses) GetWhoAmIWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWhoAmIResponse, error)
GetWhoAmIWithResponse request returning *GetWhoAmIResponse
func (*ClientWithResponses) IsSandboxReadyWithResponse ¶
func (c *ClientWithResponses) IsSandboxReadyWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*IsSandboxReadyResponse, error)
IsSandboxReadyWithResponse request returning *IsSandboxReadyResponse
func (*ClientWithResponses) ListAPIKeysWithResponse ¶
func (c *ClientWithResponses) ListAPIKeysWithResponse(ctx context.Context, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)
ListAPIKeysWithResponse request returning *ListAPIKeysResponse
func (*ClientWithResponses) ListClustersWithResponse ¶
func (c *ClientWithResponses) ListClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListClustersResponse, error)
ListClustersWithResponse request returning *ListClustersResponse
func (*ClientWithResponses) ListNamespacesWithResponse ¶
func (c *ClientWithResponses) ListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNamespacesResponse, error)
ListNamespacesWithResponse request returning *ListNamespacesResponse
func (*ClientWithResponses) ListQuotasWithResponse ¶
func (c *ClientWithResponses) ListQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListQuotasResponse, error)
ListQuotasWithResponse request returning *ListQuotasResponse
func (*ClientWithResponses) ListSandboxPoolsWithResponse ¶
func (c *ClientWithResponses) ListSandboxPoolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSandboxPoolsResponse, error)
ListSandboxPoolsWithResponse request returning *ListSandboxPoolsResponse
func (*ClientWithResponses) ListSandboxTemplatesWithResponse ¶
func (c *ClientWithResponses) ListSandboxTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSandboxTemplatesResponse, error)
ListSandboxTemplatesWithResponse request returning *ListSandboxTemplatesResponse
func (*ClientWithResponses) ListSandboxesWithResponse ¶
func (c *ClientWithResponses) ListSandboxesWithResponse(ctx context.Context, params *ListSandboxesParams, reqEditors ...RequestEditorFn) (*ListSandboxesResponse, error)
ListSandboxesWithResponse request returning *ListSandboxesResponse
func (*ClientWithResponses) ListTeamsWithResponse ¶
func (c *ClientWithResponses) ListTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)
ListTeamsWithResponse request returning *ListTeamsResponse
func (*ClientWithResponses) ListUsersByTeamWithResponse ¶
func (c *ClientWithResponses) ListUsersByTeamWithResponse(ctx context.Context, team PathTeam, reqEditors ...RequestEditorFn) (*ListUsersByTeamResponse, error)
ListUsersByTeamWithResponse request returning *ListUsersByTeamResponse
func (*ClientWithResponses) PreviewSyncSandboxPoolTemplateWithResponse ¶
func (c *ClientWithResponses) PreviewSyncSandboxPoolTemplateWithResponse(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*PreviewSyncSandboxPoolTemplateResponse, error)
PreviewSyncSandboxPoolTemplateWithResponse request returning *PreviewSyncSandboxPoolTemplateResponse
func (*ClientWithResponses) PromoteAPIKeyWithResponse ¶
func (c *ClientWithResponses) PromoteAPIKeyWithResponse(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*PromoteAPIKeyResponse, error)
PromoteAPIKeyWithResponse request returning *PromoteAPIKeyResponse
func (*ClientWithResponses) SelfCreateAPIKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) SelfCreateAPIKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelfCreateAPIKeyResponse, error)
SelfCreateAPIKeyWithBodyWithResponse request with arbitrary body returning *SelfCreateAPIKeyResponse
func (*ClientWithResponses) SelfCreateAPIKeyWithResponse ¶
func (c *ClientWithResponses) SelfCreateAPIKeyWithResponse(ctx context.Context, body SelfCreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*SelfCreateAPIKeyResponse, error)
func (*ClientWithResponses) SelfDeleteAPIKeyWithResponse ¶
func (c *ClientWithResponses) SelfDeleteAPIKeyWithResponse(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*SelfDeleteAPIKeyResponse, error)
SelfDeleteAPIKeyWithResponse request returning *SelfDeleteAPIKeyResponse
func (*ClientWithResponses) SelfListAPIKeysWithResponse ¶
func (c *ClientWithResponses) SelfListAPIKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SelfListAPIKeysResponse, error)
SelfListAPIKeysWithResponse request returning *SelfListAPIKeysResponse
func (*ClientWithResponses) SetSandboxTimeoutWithBodyWithResponse ¶
func (c *ClientWithResponses) SetSandboxTimeoutWithBodyWithResponse(ctx context.Context, sandboxId PathSandboxId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSandboxTimeoutResponse, error)
SetSandboxTimeoutWithBodyWithResponse request with arbitrary body returning *SetSandboxTimeoutResponse
func (*ClientWithResponses) SetSandboxTimeoutWithResponse ¶
func (c *ClientWithResponses) SetSandboxTimeoutWithResponse(ctx context.Context, sandboxId PathSandboxId, body SetSandboxTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*SetSandboxTimeoutResponse, error)
func (*ClientWithResponses) SyncSandboxPoolTemplateWithResponse ¶
func (c *ClientWithResponses) SyncSandboxPoolTemplateWithResponse(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*SyncSandboxPoolTemplateResponse, error)
SyncSandboxPoolTemplateWithResponse request returning *SyncSandboxPoolTemplateResponse
func (*ClientWithResponses) UpdateSandboxPoolWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSandboxPoolWithBodyWithResponse(ctx context.Context, name PathPoolName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSandboxPoolResponse, error)
UpdateSandboxPoolWithBodyWithResponse request with arbitrary body returning *UpdateSandboxPoolResponse
func (*ClientWithResponses) UpdateSandboxPoolWithResponse ¶
func (c *ClientWithResponses) UpdateSandboxPoolWithResponse(ctx context.Context, name PathPoolName, body UpdateSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSandboxPoolResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListAPIKeysWithResponse request
ListAPIKeysWithResponse(ctx context.Context, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)
// CreateAPIKeyWithBodyWithResponse request with any body
CreateAPIKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)
CreateAPIKeyWithResponse(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)
// DeleteAPIKeyWithResponse request
DeleteAPIKeyWithResponse(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*DeleteAPIKeyResponse, error)
// PromoteAPIKeyWithResponse request
PromoteAPIKeyWithResponse(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*PromoteAPIKeyResponse, error)
// ListNamespacesWithResponse request
ListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNamespacesResponse, error)
// AdminListSandboxTemplatesWithResponse request
AdminListSandboxTemplatesWithResponse(ctx context.Context, params *AdminListSandboxTemplatesParams, reqEditors ...RequestEditorFn) (*AdminListSandboxTemplatesResponse, error)
// AdminCreateSandboxTemplateWithBodyWithResponse request with any body
AdminCreateSandboxTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminCreateSandboxTemplateResponse, error)
AdminCreateSandboxTemplateWithResponse(ctx context.Context, body AdminCreateSandboxTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateSandboxTemplateResponse, error)
// AdminDeleteSandboxTemplateWithResponse request
AdminDeleteSandboxTemplateWithResponse(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*AdminDeleteSandboxTemplateResponse, error)
// AdminUpdateSandboxTemplateWithBodyWithResponse request with any body
AdminUpdateSandboxTemplateWithBodyWithResponse(ctx context.Context, name PathTemplateName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminUpdateSandboxTemplateResponse, error)
AdminUpdateSandboxTemplateWithResponse(ctx context.Context, name PathTemplateName, body AdminUpdateSandboxTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminUpdateSandboxTemplateResponse, error)
// AdminGetSandboxStatisticsWithResponse request
AdminGetSandboxStatisticsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminGetSandboxStatisticsResponse, error)
// AdminGetSandboxPoolStatisticsWithResponse request
AdminGetSandboxPoolStatisticsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminGetSandboxPoolStatisticsResponse, error)
// ListTeamsWithResponse request
ListTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)
// ListUsersByTeamWithResponse request
ListUsersByTeamWithResponse(ctx context.Context, team PathTeam, reqEditors ...RequestEditorFn) (*ListUsersByTeamResponse, error)
// SelfListAPIKeysWithResponse request
SelfListAPIKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SelfListAPIKeysResponse, error)
// SelfCreateAPIKeyWithBodyWithResponse request with any body
SelfCreateAPIKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelfCreateAPIKeyResponse, error)
SelfCreateAPIKeyWithResponse(ctx context.Context, body SelfCreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*SelfCreateAPIKeyResponse, error)
// SelfDeleteAPIKeyWithResponse request
SelfDeleteAPIKeyWithResponse(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*SelfDeleteAPIKeyResponse, error)
// GetWhoAmIWithResponse request
GetWhoAmIWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWhoAmIResponse, error)
// ListClustersWithResponse request
ListClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListClustersResponse, error)
// GetFeatureGatesWithResponse request
GetFeatureGatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFeatureGatesResponse, error)
// ListQuotasWithResponse request
ListQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListQuotasResponse, error)
// ListSandboxTemplatesWithResponse request
ListSandboxTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSandboxTemplatesResponse, error)
// GetSandboxTemplateWithResponse request
GetSandboxTemplateWithResponse(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*GetSandboxTemplateResponse, error)
// ListSandboxesWithResponse request
ListSandboxesWithResponse(ctx context.Context, params *ListSandboxesParams, reqEditors ...RequestEditorFn) (*ListSandboxesResponse, error)
// CreateSandboxWithBodyWithResponse request with any body
CreateSandboxWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSandboxResponse, error)
CreateSandboxWithResponse(ctx context.Context, body CreateSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSandboxResponse, error)
// DeleteSandboxWithResponse request
DeleteSandboxWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*DeleteSandboxResponse, error)
// GetSandboxWithResponse request
GetSandboxWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*GetSandboxResponse, error)
// ExecSandboxCommandWithBodyWithResponse request with any body
ExecSandboxCommandWithBodyWithResponse(ctx context.Context, sandboxId PathSandboxId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecSandboxCommandResponse, error)
ExecSandboxCommandWithResponse(ctx context.Context, sandboxId PathSandboxId, body ExecSandboxCommandJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecSandboxCommandResponse, error)
// CreateSandboxExecTokenWithResponse request
CreateSandboxExecTokenWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*CreateSandboxExecTokenResponse, error)
// IsSandboxReadyWithResponse request
IsSandboxReadyWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*IsSandboxReadyResponse, error)
// GetSandboxLogsWithResponse request
GetSandboxLogsWithResponse(ctx context.Context, sandboxId PathSandboxId, params *GetSandboxLogsParams, reqEditors ...RequestEditorFn) (*GetSandboxLogsResponse, error)
// SetSandboxTimeoutWithBodyWithResponse request with any body
SetSandboxTimeoutWithBodyWithResponse(ctx context.Context, sandboxId PathSandboxId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSandboxTimeoutResponse, error)
SetSandboxTimeoutWithResponse(ctx context.Context, sandboxId PathSandboxId, body SetSandboxTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*SetSandboxTimeoutResponse, error)
// ListSandboxPoolsWithResponse request
ListSandboxPoolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSandboxPoolsResponse, error)
// CreateSandboxPoolWithBodyWithResponse request with any body
CreateSandboxPoolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSandboxPoolResponse, error)
CreateSandboxPoolWithResponse(ctx context.Context, body CreateSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSandboxPoolResponse, error)
// DeleteSandboxPoolWithResponse request
DeleteSandboxPoolWithResponse(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*DeleteSandboxPoolResponse, error)
// GetSandboxPoolWithResponse request
GetSandboxPoolWithResponse(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*GetSandboxPoolResponse, error)
// UpdateSandboxPoolWithBodyWithResponse request with any body
UpdateSandboxPoolWithBodyWithResponse(ctx context.Context, name PathPoolName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSandboxPoolResponse, error)
UpdateSandboxPoolWithResponse(ctx context.Context, name PathPoolName, body UpdateSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSandboxPoolResponse, error)
// SyncSandboxPoolTemplateWithResponse request
SyncSandboxPoolTemplateWithResponse(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*SyncSandboxPoolTemplateResponse, error)
// PreviewSyncSandboxPoolTemplateWithResponse request
PreviewSyncSandboxPoolTemplateWithResponse(ctx context.Context, name PathPoolName, reqEditors ...RequestEditorFn) (*PreviewSyncSandboxPoolTemplateResponse, error)
// GetUserSandboxStatisticsWithResponse request
GetUserSandboxStatisticsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserSandboxStatisticsResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ClusterSummary ¶
type ClusterSummary struct {
// Id Cluster identifier. Use this value as the prefix when addressing
// cross-cluster resources: `{id}.{uuid}` for sandboxes,
// `{id}::{poolName}` for pools.
Id string `json:"id"`
// Local True when this entry is the cluster serving the current request —
// i.e. sandbox/pool identifiers without any cross-cluster prefix refer
// to this cluster.
Local bool `json:"local"`
// Name Human-readable display name (may equal id).
Name *string `json:"name,omitempty"`
}
ClusterSummary One cluster entry visible through the gateway's routing table.
type CreateAPIKey201JSONResponse ¶
type CreateAPIKey201JSONResponse CreateAPIKeyResult
func (CreateAPIKey201JSONResponse) VisitCreateAPIKeyResponse ¶
func (response CreateAPIKey201JSONResponse) VisitCreateAPIKeyResponse(w http.ResponseWriter) error
type CreateAPIKey400JSONResponse ¶
type CreateAPIKey400JSONResponse ErrorResponse
func (CreateAPIKey400JSONResponse) VisitCreateAPIKeyResponse ¶
func (response CreateAPIKey400JSONResponse) VisitCreateAPIKeyResponse(w http.ResponseWriter) error
type CreateAPIKey401JSONResponse ¶
type CreateAPIKey401JSONResponse ErrorResponse
func (CreateAPIKey401JSONResponse) VisitCreateAPIKeyResponse ¶
func (response CreateAPIKey401JSONResponse) VisitCreateAPIKeyResponse(w http.ResponseWriter) error
type CreateAPIKey403JSONResponse ¶
type CreateAPIKey403JSONResponse ErrorResponse
func (CreateAPIKey403JSONResponse) VisitCreateAPIKeyResponse ¶
func (response CreateAPIKey403JSONResponse) VisitCreateAPIKeyResponse(w http.ResponseWriter) error
type CreateAPIKey503JSONResponse ¶
type CreateAPIKey503JSONResponse ErrorResponse
func (CreateAPIKey503JSONResponse) VisitCreateAPIKeyResponse ¶
func (response CreateAPIKey503JSONResponse) VisitCreateAPIKeyResponse(w http.ResponseWriter) error
type CreateAPIKeyJSONRequestBody ¶
type CreateAPIKeyJSONRequestBody = CreateAPIKeyRequest
CreateAPIKeyJSONRequestBody defines body for CreateAPIKey for application/json ContentType.
type CreateAPIKeyRequest ¶
type CreateAPIKeyRequest struct {
// Description Optional human-readable description for this key.
Description *string `json:"description,omitempty"`
// ExpiresAt Optional RFC 3339 expiry timestamp. Omit for a non-expiring key.
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// HashPrefix First 16 hex characters of the tokenHash. Required when tokenHash is provided.
HashPrefix *string `json:"hashPrefix,omitempty"`
// IssuedAt Original issue timestamp (import mode). Used to preserve the original creation time. Ignored when tokenHash is not provided.
IssuedAt *time.Time `json:"issuedAt,omitempty"`
// Namespace Kubernetes namespace to associate the key with.
Namespace *string `json:"namespace,omitempty"`
// QuotaURL Quota URL associated with the key (import mode).
QuotaURL *string `json:"quotaURL,omitempty"`
// Team Team name to associate the key with.
Team *string `json:"team,omitempty"`
// TokenHash Full SHA-256 hex hash of the raw token (64 hex chars). When provided together with hashPrefix, the key is imported using the given hash instead of generating a new random token. The operation is idempotent — if a key with the same hash already exists it is silently accepted. Admin-only.
TokenHash *string `json:"tokenHash,omitempty"`
// User Username to associate the key with.
User *string `json:"user,omitempty"`
}
CreateAPIKeyRequest defines model for CreateAPIKeyRequest.
type CreateAPIKeyRequestObject ¶
type CreateAPIKeyRequestObject struct {
Body *CreateAPIKeyJSONRequestBody
}
type CreateAPIKeyResponse ¶
type CreateAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *CreateAPIKeyResult
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON503 *ErrorResponse
}
func ParseCreateAPIKeyResponse ¶
func ParseCreateAPIKeyResponse(rsp *http.Response) (*CreateAPIKeyResponse, error)
ParseCreateAPIKeyResponse parses an HTTP response from a CreateAPIKeyWithResponse call
func (CreateAPIKeyResponse) Status ¶
func (r CreateAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAPIKeyResponse) StatusCode ¶
func (r CreateAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAPIKeyResponseObject ¶
type CreateAPIKeyResponseObject interface {
VisitCreateAPIKeyResponse(w http.ResponseWriter) error
}
type CreateAPIKeyResult ¶
type CreateAPIKeyResult struct {
// ApiKey The raw API key value (only returned once at creation time; store it securely).
ApiKey string `json:"apiKey"`
// Description Human-readable description of the key.
Description *string `json:"description,omitempty"`
// ExpiresAt RFC 3339 expiry timestamp, or absent if the key never expires.
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// IssuedAt RFC 3339 timestamp when the key was created.
IssuedAt time.Time `json:"issuedAt"`
// KeyId Unique identifier for this API key (used to look up or delete the key).
KeyId string `json:"keyId"`
// Role Role granted by this key (e.g. tenant, admin).
Role string `json:"role"`
// Team Team associated with the key.
Team *string `json:"team,omitempty"`
// User Username associated with the key.
User *string `json:"user,omitempty"`
}
CreateAPIKeyResult defines model for CreateAPIKeyResult.
type CreateSandbox201JSONResponse ¶
type CreateSandbox201JSONResponse SandboxEnvelope
func (CreateSandbox201JSONResponse) VisitCreateSandboxResponse ¶
func (response CreateSandbox201JSONResponse) VisitCreateSandboxResponse(w http.ResponseWriter) error
type CreateSandbox400JSONResponse ¶
type CreateSandbox400JSONResponse ErrorResponse
func (CreateSandbox400JSONResponse) VisitCreateSandboxResponse ¶
func (response CreateSandbox400JSONResponse) VisitCreateSandboxResponse(w http.ResponseWriter) error
type CreateSandbox401JSONResponse ¶
type CreateSandbox401JSONResponse ErrorResponse
func (CreateSandbox401JSONResponse) VisitCreateSandboxResponse ¶
func (response CreateSandbox401JSONResponse) VisitCreateSandboxResponse(w http.ResponseWriter) error
type CreateSandbox404JSONResponse ¶
type CreateSandbox404JSONResponse ErrorResponse
func (CreateSandbox404JSONResponse) VisitCreateSandboxResponse ¶
func (response CreateSandbox404JSONResponse) VisitCreateSandboxResponse(w http.ResponseWriter) error
type CreateSandbox409JSONResponse ¶
type CreateSandbox409JSONResponse ErrorResponse
func (CreateSandbox409JSONResponse) VisitCreateSandboxResponse ¶
func (response CreateSandbox409JSONResponse) VisitCreateSandboxResponse(w http.ResponseWriter) error
type CreateSandbox429JSONResponse ¶
type CreateSandbox429JSONResponse ErrorResponse
func (CreateSandbox429JSONResponse) VisitCreateSandboxResponse ¶
func (response CreateSandbox429JSONResponse) VisitCreateSandboxResponse(w http.ResponseWriter) error
type CreateSandbox500JSONResponse ¶
type CreateSandbox500JSONResponse ErrorResponse
func (CreateSandbox500JSONResponse) VisitCreateSandboxResponse ¶
func (response CreateSandbox500JSONResponse) VisitCreateSandboxResponse(w http.ResponseWriter) error
type CreateSandboxExecToken200JSONResponse ¶
type CreateSandboxExecToken200JSONResponse ExecTokenResponse
func (CreateSandboxExecToken200JSONResponse) VisitCreateSandboxExecTokenResponse ¶
func (response CreateSandboxExecToken200JSONResponse) VisitCreateSandboxExecTokenResponse(w http.ResponseWriter) error
type CreateSandboxExecToken400JSONResponse ¶
type CreateSandboxExecToken400JSONResponse ErrorResponse
func (CreateSandboxExecToken400JSONResponse) VisitCreateSandboxExecTokenResponse ¶
func (response CreateSandboxExecToken400JSONResponse) VisitCreateSandboxExecTokenResponse(w http.ResponseWriter) error
type CreateSandboxExecToken401JSONResponse ¶
type CreateSandboxExecToken401JSONResponse ErrorResponse
func (CreateSandboxExecToken401JSONResponse) VisitCreateSandboxExecTokenResponse ¶
func (response CreateSandboxExecToken401JSONResponse) VisitCreateSandboxExecTokenResponse(w http.ResponseWriter) error
type CreateSandboxExecToken404JSONResponse ¶
type CreateSandboxExecToken404JSONResponse ErrorResponse
func (CreateSandboxExecToken404JSONResponse) VisitCreateSandboxExecTokenResponse ¶
func (response CreateSandboxExecToken404JSONResponse) VisitCreateSandboxExecTokenResponse(w http.ResponseWriter) error
type CreateSandboxExecToken500JSONResponse ¶
type CreateSandboxExecToken500JSONResponse ErrorResponse
func (CreateSandboxExecToken500JSONResponse) VisitCreateSandboxExecTokenResponse ¶
func (response CreateSandboxExecToken500JSONResponse) VisitCreateSandboxExecTokenResponse(w http.ResponseWriter) error
type CreateSandboxExecTokenRequestObject ¶
type CreateSandboxExecTokenRequestObject struct {
SandboxId PathSandboxId `json:"sandboxId"`
}
type CreateSandboxExecTokenResponse ¶
type CreateSandboxExecTokenResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ExecTokenResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseCreateSandboxExecTokenResponse ¶
func ParseCreateSandboxExecTokenResponse(rsp *http.Response) (*CreateSandboxExecTokenResponse, error)
ParseCreateSandboxExecTokenResponse parses an HTTP response from a CreateSandboxExecTokenWithResponse call
func (CreateSandboxExecTokenResponse) Status ¶
func (r CreateSandboxExecTokenResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSandboxExecTokenResponse) StatusCode ¶
func (r CreateSandboxExecTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSandboxExecTokenResponseObject ¶
type CreateSandboxExecTokenResponseObject interface {
VisitCreateSandboxExecTokenResponse(w http.ResponseWriter) error
}
type CreateSandboxJSONRequestBody ¶
type CreateSandboxJSONRequestBody = CreateSandboxRequest
CreateSandboxJSONRequestBody defines body for CreateSandbox for application/json ContentType.
type CreateSandboxPool201JSONResponse ¶
type CreateSandboxPool201JSONResponse SandboxPoolEnvelope
func (CreateSandboxPool201JSONResponse) VisitCreateSandboxPoolResponse ¶
func (response CreateSandboxPool201JSONResponse) VisitCreateSandboxPoolResponse(w http.ResponseWriter) error
type CreateSandboxPool400JSONResponse ¶
type CreateSandboxPool400JSONResponse ErrorResponse
func (CreateSandboxPool400JSONResponse) VisitCreateSandboxPoolResponse ¶
func (response CreateSandboxPool400JSONResponse) VisitCreateSandboxPoolResponse(w http.ResponseWriter) error
type CreateSandboxPool401JSONResponse ¶
type CreateSandboxPool401JSONResponse ErrorResponse
func (CreateSandboxPool401JSONResponse) VisitCreateSandboxPoolResponse ¶
func (response CreateSandboxPool401JSONResponse) VisitCreateSandboxPoolResponse(w http.ResponseWriter) error
type CreateSandboxPool409JSONResponse ¶
type CreateSandboxPool409JSONResponse ErrorResponse
func (CreateSandboxPool409JSONResponse) VisitCreateSandboxPoolResponse ¶
func (response CreateSandboxPool409JSONResponse) VisitCreateSandboxPoolResponse(w http.ResponseWriter) error
type CreateSandboxPool422JSONResponse ¶
type CreateSandboxPool422JSONResponse ErrorResponse
func (CreateSandboxPool422JSONResponse) VisitCreateSandboxPoolResponse ¶
func (response CreateSandboxPool422JSONResponse) VisitCreateSandboxPoolResponse(w http.ResponseWriter) error
type CreateSandboxPool429JSONResponse ¶
type CreateSandboxPool429JSONResponse ErrorResponse
func (CreateSandboxPool429JSONResponse) VisitCreateSandboxPoolResponse ¶
func (response CreateSandboxPool429JSONResponse) VisitCreateSandboxPoolResponse(w http.ResponseWriter) error
type CreateSandboxPool500JSONResponse ¶
type CreateSandboxPool500JSONResponse ErrorResponse
func (CreateSandboxPool500JSONResponse) VisitCreateSandboxPoolResponse ¶
func (response CreateSandboxPool500JSONResponse) VisitCreateSandboxPoolResponse(w http.ResponseWriter) error
type CreateSandboxPoolJSONRequestBody ¶
type CreateSandboxPoolJSONRequestBody = CreateSandboxPoolRequest
CreateSandboxPoolJSONRequestBody defines body for CreateSandboxPool for application/json ContentType.
type CreateSandboxPoolRequest ¶
type CreateSandboxPoolRequest struct {
Annotations *map[string]string `json:"annotations,omitempty"`
ImagePullSecret *ImagePullSecretInput `json:"imagePullSecret,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
MaxReplicas *int32 `json:"maxReplicas,omitempty"`
MinReplicas *int32 `json:"minReplicas,omitempty"`
// Name RFC 1123 DNS label (letter-start): lowercase letters, digits, hyphens; start with a letter, end with alphanumeric
Name string `json:"name"`
// Overrides Persisted pool-level overrides applied on top of the referenced template and re-applied during template sync.
Overrides *PoolTemplateOverrides `json:"overrides,omitempty"`
// QuotaUrl Deprecated: pass quota URL via labels["quota.scitix.ai/url"] instead.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
QuotaUrl *string `json:"quotaUrl,omitempty"`
Replicas *int32 `json:"replicas,omitempty"`
Spec *SandboxPoolSpec `json:"spec,omitempty"`
TemplateName *string `json:"templateName,omitempty"`
}
CreateSandboxPoolRequest defines model for CreateSandboxPoolRequest.
type CreateSandboxPoolRequestObject ¶
type CreateSandboxPoolRequestObject struct {
Body *CreateSandboxPoolJSONRequestBody
}
type CreateSandboxPoolResponse ¶
type CreateSandboxPoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *SandboxPoolEnvelope
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON409 *ErrorResponse
JSON422 *ErrorResponse
JSON429 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseCreateSandboxPoolResponse ¶
func ParseCreateSandboxPoolResponse(rsp *http.Response) (*CreateSandboxPoolResponse, error)
ParseCreateSandboxPoolResponse parses an HTTP response from a CreateSandboxPoolWithResponse call
func (CreateSandboxPoolResponse) Status ¶
func (r CreateSandboxPoolResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSandboxPoolResponse) StatusCode ¶
func (r CreateSandboxPoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSandboxPoolResponseObject ¶
type CreateSandboxPoolResponseObject interface {
VisitCreateSandboxPoolResponse(w http.ResponseWriter) error
}
type CreateSandboxRequest ¶
type CreateSandboxRequest struct {
// Annotations Kubernetes annotations to apply to the sandbox pod.
Annotations *map[string]string `json:"annotations,omitempty"`
// ContainerImages Per-container image overrides keyed by container name. Takes precedence over `image`.
ContainerImages *map[string]string `json:"containerImages,omitempty"`
// IdleTimeout Duration of inactivity after which the sandbox is automatically stopped. Duration string, e.g. '5m', '1h'. Use '0' to disable.
IdleTimeout *string `json:"idleTimeout,omitempty"`
// Image Override the main container image for this sandbox. Replaces the pool's default image.
Image *string `json:"image,omitempty"`
// Labels Kubernetes labels to apply to the sandbox pod.
Labels *map[string]string `json:"labels,omitempty"`
// Metadata User-defined key-value metadata for filtering and annotation. Available on the sandbox object after creation.
Metadata *map[string]string `json:"metadata,omitempty"`
// PoolName Name of the SandboxPool to allocate the sandbox from.
PoolName string `json:"poolName"`
// StartupTimeout Maximum duration to wait for the sandbox to reach Running status before marking it as Failed. Duration string, e.g. '30s', '2m'.
StartupTimeout *string `json:"startupTimeout,omitempty"`
}
CreateSandboxRequest defines model for CreateSandboxRequest.
type CreateSandboxRequestObject ¶
type CreateSandboxRequestObject struct {
Body *CreateSandboxJSONRequestBody
}
type CreateSandboxResponse ¶
type CreateSandboxResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *SandboxEnvelope
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON409 *ErrorResponse
JSON429 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseCreateSandboxResponse ¶
func ParseCreateSandboxResponse(rsp *http.Response) (*CreateSandboxResponse, error)
ParseCreateSandboxResponse parses an HTTP response from a CreateSandboxWithResponse call
func (CreateSandboxResponse) Status ¶
func (r CreateSandboxResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSandboxResponse) StatusCode ¶
func (r CreateSandboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSandboxResponseObject ¶
type CreateSandboxResponseObject interface {
VisitCreateSandboxResponse(w http.ResponseWriter) error
}
type DeleteAPIKey200JSONResponse ¶
type DeleteAPIKey200JSONResponse DeleteAPIKeyResult
func (DeleteAPIKey200JSONResponse) VisitDeleteAPIKeyResponse ¶
func (response DeleteAPIKey200JSONResponse) VisitDeleteAPIKeyResponse(w http.ResponseWriter) error
type DeleteAPIKey401JSONResponse ¶
type DeleteAPIKey401JSONResponse ErrorResponse
func (DeleteAPIKey401JSONResponse) VisitDeleteAPIKeyResponse ¶
func (response DeleteAPIKey401JSONResponse) VisitDeleteAPIKeyResponse(w http.ResponseWriter) error
type DeleteAPIKey403JSONResponse ¶
type DeleteAPIKey403JSONResponse ErrorResponse
func (DeleteAPIKey403JSONResponse) VisitDeleteAPIKeyResponse ¶
func (response DeleteAPIKey403JSONResponse) VisitDeleteAPIKeyResponse(w http.ResponseWriter) error
type DeleteAPIKey404JSONResponse ¶
type DeleteAPIKey404JSONResponse ErrorResponse
func (DeleteAPIKey404JSONResponse) VisitDeleteAPIKeyResponse ¶
func (response DeleteAPIKey404JSONResponse) VisitDeleteAPIKeyResponse(w http.ResponseWriter) error
type DeleteAPIKey503JSONResponse ¶
type DeleteAPIKey503JSONResponse ErrorResponse
func (DeleteAPIKey503JSONResponse) VisitDeleteAPIKeyResponse ¶
func (response DeleteAPIKey503JSONResponse) VisitDeleteAPIKeyResponse(w http.ResponseWriter) error
type DeleteAPIKeyRequestObject ¶
type DeleteAPIKeyRequestObject struct {
Name PathAPIKeyName `json:"name"`
}
type DeleteAPIKeyResponse ¶
type DeleteAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeleteAPIKeyResult
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON503 *ErrorResponse
}
func ParseDeleteAPIKeyResponse ¶
func ParseDeleteAPIKeyResponse(rsp *http.Response) (*DeleteAPIKeyResponse, error)
ParseDeleteAPIKeyResponse parses an HTTP response from a DeleteAPIKeyWithResponse call
func (DeleteAPIKeyResponse) Status ¶
func (r DeleteAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAPIKeyResponse) StatusCode ¶
func (r DeleteAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAPIKeyResponseObject ¶
type DeleteAPIKeyResponseObject interface {
VisitDeleteAPIKeyResponse(w http.ResponseWriter) error
}
type DeleteAPIKeyResult ¶
type DeleteAPIKeyResult struct {
// KeyId Unique identifier of the deleted API key.
KeyId string `json:"keyId"`
// Status Result of the delete operation (e.g. Deleted).
Status string `json:"status"`
}
DeleteAPIKeyResult defines model for DeleteAPIKeyResult.
type DeleteSandbox202JSONResponse ¶
type DeleteSandbox202JSONResponse DeleteSandboxResult
func (DeleteSandbox202JSONResponse) VisitDeleteSandboxResponse ¶
func (response DeleteSandbox202JSONResponse) VisitDeleteSandboxResponse(w http.ResponseWriter) error
type DeleteSandbox401JSONResponse ¶
type DeleteSandbox401JSONResponse ErrorResponse
func (DeleteSandbox401JSONResponse) VisitDeleteSandboxResponse ¶
func (response DeleteSandbox401JSONResponse) VisitDeleteSandboxResponse(w http.ResponseWriter) error
type DeleteSandbox404JSONResponse ¶
type DeleteSandbox404JSONResponse ErrorResponse
func (DeleteSandbox404JSONResponse) VisitDeleteSandboxResponse ¶
func (response DeleteSandbox404JSONResponse) VisitDeleteSandboxResponse(w http.ResponseWriter) error
type DeleteSandbox500JSONResponse ¶
type DeleteSandbox500JSONResponse ErrorResponse
func (DeleteSandbox500JSONResponse) VisitDeleteSandboxResponse ¶
func (response DeleteSandbox500JSONResponse) VisitDeleteSandboxResponse(w http.ResponseWriter) error
type DeleteSandboxPool202JSONResponse ¶
type DeleteSandboxPool202JSONResponse DeleteSandboxPoolResult
func (DeleteSandboxPool202JSONResponse) VisitDeleteSandboxPoolResponse ¶
func (response DeleteSandboxPool202JSONResponse) VisitDeleteSandboxPoolResponse(w http.ResponseWriter) error
type DeleteSandboxPool401JSONResponse ¶
type DeleteSandboxPool401JSONResponse ErrorResponse
func (DeleteSandboxPool401JSONResponse) VisitDeleteSandboxPoolResponse ¶
func (response DeleteSandboxPool401JSONResponse) VisitDeleteSandboxPoolResponse(w http.ResponseWriter) error
type DeleteSandboxPool404JSONResponse ¶
type DeleteSandboxPool404JSONResponse ErrorResponse
func (DeleteSandboxPool404JSONResponse) VisitDeleteSandboxPoolResponse ¶
func (response DeleteSandboxPool404JSONResponse) VisitDeleteSandboxPoolResponse(w http.ResponseWriter) error
type DeleteSandboxPool500JSONResponse ¶
type DeleteSandboxPool500JSONResponse ErrorResponse
func (DeleteSandboxPool500JSONResponse) VisitDeleteSandboxPoolResponse ¶
func (response DeleteSandboxPool500JSONResponse) VisitDeleteSandboxPoolResponse(w http.ResponseWriter) error
type DeleteSandboxPoolRequestObject ¶
type DeleteSandboxPoolRequestObject struct {
Name PathPoolName `json:"name"`
}
type DeleteSandboxPoolResponse ¶
type DeleteSandboxPoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DeleteSandboxPoolResult
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteSandboxPoolResponse ¶
func ParseDeleteSandboxPoolResponse(rsp *http.Response) (*DeleteSandboxPoolResponse, error)
ParseDeleteSandboxPoolResponse parses an HTTP response from a DeleteSandboxPoolWithResponse call
func (DeleteSandboxPoolResponse) Status ¶
func (r DeleteSandboxPoolResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSandboxPoolResponse) StatusCode ¶
func (r DeleteSandboxPoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSandboxPoolResponseObject ¶
type DeleteSandboxPoolResponseObject interface {
VisitDeleteSandboxPoolResponse(w http.ResponseWriter) error
}
type DeleteSandboxPoolResult ¶
type DeleteSandboxPoolResult struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
Status string `json:"status"`
}
DeleteSandboxPoolResult defines model for DeleteSandboxPoolResult.
type DeleteSandboxRequestObject ¶
type DeleteSandboxRequestObject struct {
SandboxId PathSandboxId `json:"sandboxId"`
}
type DeleteSandboxResponse ¶
type DeleteSandboxResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DeleteSandboxResult
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteSandboxResponse ¶
func ParseDeleteSandboxResponse(rsp *http.Response) (*DeleteSandboxResponse, error)
ParseDeleteSandboxResponse parses an HTTP response from a DeleteSandboxWithResponse call
func (DeleteSandboxResponse) Status ¶
func (r DeleteSandboxResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSandboxResponse) StatusCode ¶
func (r DeleteSandboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSandboxResponseObject ¶
type DeleteSandboxResponseObject interface {
VisitDeleteSandboxResponse(w http.ResponseWriter) error
}
type DeleteSandboxResult ¶
type DeleteSandboxResult struct {
// Namespace Kubernetes namespace the sandbox belonged to.
Namespace string `json:"namespace"`
// PodName Name of the Kubernetes Pod that backed the sandbox.
PodName string `json:"podName"`
// PoolName Name of the SandboxPool the sandbox was allocated from.
PoolName string `json:"poolName"`
// SandboxId Sandbox identifier. Single-cluster: bare UUID v7; cross-cluster: `{clusterID}.{uuid}` composite (dot-separated).
// NOT a strict RFC 4122 UUID — treat as opaque.
SandboxId string `json:"sandboxId"`
// Status Final status of the delete operation (e.g. Stopping).
Status string `json:"status"`
}
DeleteSandboxResult defines model for DeleteSandboxResult.
type DeleteSandboxTemplateResult ¶
DeleteSandboxTemplateResult defines model for DeleteSandboxTemplateResult.
type ErrorResponse ¶
type ErrorResponse struct {
// Detail Structured context for the error. Shape depends on the failure mode. Common
// variants:
// * Plain string — simple context ("pool not found: my-pool")
// * `PoolStatusDetail` — returned on 409/429 from CreateSandbox to describe
// pool replica breakdown and retry hints
// * `{availablePools: [...]}` — returned on 404 from CreateSandbox / 400 from
// CreateSandboxPool when the referenced resource does not exist
// * `{availableTemplates: [...]}` — returned on 400 from CreateSandboxPool
// * `{availableQuotaURLs: [...]}` — returned on 400 when spec.reservation is
// set but quotaURL is missing
Detail interface{} `json:"detail,omitempty"`
// Error Human-readable error message.
Error string `json:"error"`
// ErrorCode Machine-readable business error code. Only present for specific business errors
// that require special handling (e.g. `API_KEY_REQUIRED` prompts the client to
// call `POST /api-keys` before retrying). Generic HTTP errors (400, 500, etc.) do
// NOT carry this field.
ErrorCode *string `json:"errorCode,omitempty"`
}
ErrorResponse Standard error envelope. Individual endpoints override the `example` per response code so the shape of `detail` is accurate for that specific failure mode.
type ExecCommandRequest ¶
type ExecCommandRequest struct {
// Command Shell command to execute inside the sandbox (e.g. 'ls -la /tmp')
Command string `json:"command"`
// TimeoutSeconds Execution timeout in seconds. Default: 30, Max: 300.
TimeoutSeconds *int `json:"timeoutSeconds,omitempty"`
}
ExecCommandRequest defines model for ExecCommandRequest.
type ExecCommandResult ¶
type ExecCommandResult struct {
// ExitCode Exit code of the command (0 = success)
ExitCode int `json:"exitCode"`
// Stderr Standard error of the command
Stderr string `json:"stderr"`
// Stdout Standard output of the command
Stdout string `json:"stdout"`
}
ExecCommandResult defines model for ExecCommandResult.
type ExecSandboxCommand200JSONResponse ¶
type ExecSandboxCommand200JSONResponse ExecCommandResult
func (ExecSandboxCommand200JSONResponse) VisitExecSandboxCommandResponse ¶
func (response ExecSandboxCommand200JSONResponse) VisitExecSandboxCommandResponse(w http.ResponseWriter) error
type ExecSandboxCommand400JSONResponse ¶
type ExecSandboxCommand400JSONResponse ErrorResponse
func (ExecSandboxCommand400JSONResponse) VisitExecSandboxCommandResponse ¶
func (response ExecSandboxCommand400JSONResponse) VisitExecSandboxCommandResponse(w http.ResponseWriter) error
type ExecSandboxCommand401JSONResponse ¶
type ExecSandboxCommand401JSONResponse ErrorResponse
func (ExecSandboxCommand401JSONResponse) VisitExecSandboxCommandResponse ¶
func (response ExecSandboxCommand401JSONResponse) VisitExecSandboxCommandResponse(w http.ResponseWriter) error
type ExecSandboxCommand404JSONResponse ¶
type ExecSandboxCommand404JSONResponse ErrorResponse
func (ExecSandboxCommand404JSONResponse) VisitExecSandboxCommandResponse ¶
func (response ExecSandboxCommand404JSONResponse) VisitExecSandboxCommandResponse(w http.ResponseWriter) error
type ExecSandboxCommand500JSONResponse ¶
type ExecSandboxCommand500JSONResponse ErrorResponse
func (ExecSandboxCommand500JSONResponse) VisitExecSandboxCommandResponse ¶
func (response ExecSandboxCommand500JSONResponse) VisitExecSandboxCommandResponse(w http.ResponseWriter) error
type ExecSandboxCommandJSONRequestBody ¶
type ExecSandboxCommandJSONRequestBody = ExecCommandRequest
ExecSandboxCommandJSONRequestBody defines body for ExecSandboxCommand for application/json ContentType.
type ExecSandboxCommandRequestObject ¶
type ExecSandboxCommandRequestObject struct {
SandboxId PathSandboxId `json:"sandboxId"`
Body *ExecSandboxCommandJSONRequestBody
}
type ExecSandboxCommandResponse ¶
type ExecSandboxCommandResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ExecCommandResult
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseExecSandboxCommandResponse ¶
func ParseExecSandboxCommandResponse(rsp *http.Response) (*ExecSandboxCommandResponse, error)
ParseExecSandboxCommandResponse parses an HTTP response from a ExecSandboxCommandWithResponse call
func (ExecSandboxCommandResponse) Status ¶
func (r ExecSandboxCommandResponse) Status() string
Status returns HTTPResponse.Status
func (ExecSandboxCommandResponse) StatusCode ¶
func (r ExecSandboxCommandResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExecSandboxCommandResponseObject ¶
type ExecSandboxCommandResponseObject interface {
VisitExecSandboxCommandResponse(w http.ResponseWriter) error
}
type ExecTokenResponse ¶
type ExecTokenResponse struct {
// Token Single-use exec token, valid for 30 seconds
Token string `json:"token"`
}
ExecTokenResponse defines model for ExecTokenResponse.
type FeatureGates ¶
type FeatureGates struct {
// Quota True when a non-noop quota provider is active (quota selection on pool creation, quota listing endpoint). False on deployments with no quota backend wired in.
Quota bool `json:"quota"`
}
FeatureGates Boolean switches that tell clients which optional features are wired into the current deployment. Dashboards gate feature UI on these values; SDKs can short-circuit feature-specific calls when a gate is false.
type GetFeatureGates200JSONResponse ¶
type GetFeatureGates200JSONResponse FeatureGates
func (GetFeatureGates200JSONResponse) VisitGetFeatureGatesResponse ¶
func (response GetFeatureGates200JSONResponse) VisitGetFeatureGatesResponse(w http.ResponseWriter) error
type GetFeatureGates401JSONResponse ¶
type GetFeatureGates401JSONResponse ErrorResponse
func (GetFeatureGates401JSONResponse) VisitGetFeatureGatesResponse ¶
func (response GetFeatureGates401JSONResponse) VisitGetFeatureGatesResponse(w http.ResponseWriter) error
type GetFeatureGates500JSONResponse ¶
type GetFeatureGates500JSONResponse ErrorResponse
func (GetFeatureGates500JSONResponse) VisitGetFeatureGatesResponse ¶
func (response GetFeatureGates500JSONResponse) VisitGetFeatureGatesResponse(w http.ResponseWriter) error
type GetFeatureGatesRequestObject ¶
type GetFeatureGatesRequestObject struct {
}
type GetFeatureGatesResponse ¶
type GetFeatureGatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *FeatureGates
JSON401 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetFeatureGatesResponse ¶
func ParseGetFeatureGatesResponse(rsp *http.Response) (*GetFeatureGatesResponse, error)
ParseGetFeatureGatesResponse parses an HTTP response from a GetFeatureGatesWithResponse call
func (GetFeatureGatesResponse) Status ¶
func (r GetFeatureGatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetFeatureGatesResponse) StatusCode ¶
func (r GetFeatureGatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFeatureGatesResponseObject ¶
type GetFeatureGatesResponseObject interface {
VisitGetFeatureGatesResponse(w http.ResponseWriter) error
}
type GetSandbox200JSONResponse ¶
type GetSandbox200JSONResponse SandboxEnvelope
func (GetSandbox200JSONResponse) VisitGetSandboxResponse ¶
func (response GetSandbox200JSONResponse) VisitGetSandboxResponse(w http.ResponseWriter) error
type GetSandbox401JSONResponse ¶
type GetSandbox401JSONResponse ErrorResponse
func (GetSandbox401JSONResponse) VisitGetSandboxResponse ¶
func (response GetSandbox401JSONResponse) VisitGetSandboxResponse(w http.ResponseWriter) error
type GetSandbox404JSONResponse ¶
type GetSandbox404JSONResponse ErrorResponse
func (GetSandbox404JSONResponse) VisitGetSandboxResponse ¶
func (response GetSandbox404JSONResponse) VisitGetSandboxResponse(w http.ResponseWriter) error
type GetSandbox500JSONResponse ¶
type GetSandbox500JSONResponse ErrorResponse
func (GetSandbox500JSONResponse) VisitGetSandboxResponse ¶
func (response GetSandbox500JSONResponse) VisitGetSandboxResponse(w http.ResponseWriter) error
type GetSandboxLogs200JSONResponse ¶
type GetSandboxLogs200JSONResponse SandboxLogsResult
func (GetSandboxLogs200JSONResponse) VisitGetSandboxLogsResponse ¶
func (response GetSandboxLogs200JSONResponse) VisitGetSandboxLogsResponse(w http.ResponseWriter) error
type GetSandboxLogs400JSONResponse ¶
type GetSandboxLogs400JSONResponse ErrorResponse
func (GetSandboxLogs400JSONResponse) VisitGetSandboxLogsResponse ¶
func (response GetSandboxLogs400JSONResponse) VisitGetSandboxLogsResponse(w http.ResponseWriter) error
type GetSandboxLogs401JSONResponse ¶
type GetSandboxLogs401JSONResponse ErrorResponse
func (GetSandboxLogs401JSONResponse) VisitGetSandboxLogsResponse ¶
func (response GetSandboxLogs401JSONResponse) VisitGetSandboxLogsResponse(w http.ResponseWriter) error
type GetSandboxLogs404JSONResponse ¶
type GetSandboxLogs404JSONResponse ErrorResponse
func (GetSandboxLogs404JSONResponse) VisitGetSandboxLogsResponse ¶
func (response GetSandboxLogs404JSONResponse) VisitGetSandboxLogsResponse(w http.ResponseWriter) error
type GetSandboxLogs500JSONResponse ¶
type GetSandboxLogs500JSONResponse ErrorResponse
func (GetSandboxLogs500JSONResponse) VisitGetSandboxLogsResponse ¶
func (response GetSandboxLogs500JSONResponse) VisitGetSandboxLogsResponse(w http.ResponseWriter) error
type GetSandboxLogsParams ¶
type GetSandboxLogsParams struct {
// Container Filter by container name. When omitted, logs from all containers are returned.
Container *string `form:"container,omitempty" json:"container,omitempty"`
// Lines Return only the last N lines. 0 or absent means return all lines.
Lines *int `form:"lines,omitempty" json:"lines,omitempty"`
// Source Log source selector.
// - Omit or "stdout": return container stdout/stderr (default behavior)
// - "<runtime_name>": read the runtime's log file (logDir) via exec inside the container.
// Only available for Running sandboxes with a matching runtime that has logDir set.
Source *string `form:"source,omitempty" json:"source,omitempty"`
}
GetSandboxLogsParams defines parameters for GetSandboxLogs.
type GetSandboxLogsRequestObject ¶
type GetSandboxLogsRequestObject struct {
SandboxId PathSandboxId `json:"sandboxId"`
Params GetSandboxLogsParams
}
type GetSandboxLogsResponse ¶
type GetSandboxLogsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SandboxLogsResult
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetSandboxLogsResponse ¶
func ParseGetSandboxLogsResponse(rsp *http.Response) (*GetSandboxLogsResponse, error)
ParseGetSandboxLogsResponse parses an HTTP response from a GetSandboxLogsWithResponse call
func (GetSandboxLogsResponse) Status ¶
func (r GetSandboxLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSandboxLogsResponse) StatusCode ¶
func (r GetSandboxLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSandboxLogsResponseObject ¶
type GetSandboxLogsResponseObject interface {
VisitGetSandboxLogsResponse(w http.ResponseWriter) error
}
type GetSandboxPool200JSONResponse ¶
type GetSandboxPool200JSONResponse SandboxPoolEnvelope
func (GetSandboxPool200JSONResponse) VisitGetSandboxPoolResponse ¶
func (response GetSandboxPool200JSONResponse) VisitGetSandboxPoolResponse(w http.ResponseWriter) error
type GetSandboxPool401JSONResponse ¶
type GetSandboxPool401JSONResponse ErrorResponse
func (GetSandboxPool401JSONResponse) VisitGetSandboxPoolResponse ¶
func (response GetSandboxPool401JSONResponse) VisitGetSandboxPoolResponse(w http.ResponseWriter) error
type GetSandboxPool404JSONResponse ¶
type GetSandboxPool404JSONResponse ErrorResponse
func (GetSandboxPool404JSONResponse) VisitGetSandboxPoolResponse ¶
func (response GetSandboxPool404JSONResponse) VisitGetSandboxPoolResponse(w http.ResponseWriter) error
type GetSandboxPool422JSONResponse ¶
type GetSandboxPool422JSONResponse ErrorResponse
func (GetSandboxPool422JSONResponse) VisitGetSandboxPoolResponse ¶
func (response GetSandboxPool422JSONResponse) VisitGetSandboxPoolResponse(w http.ResponseWriter) error
type GetSandboxPool500JSONResponse ¶
type GetSandboxPool500JSONResponse ErrorResponse
func (GetSandboxPool500JSONResponse) VisitGetSandboxPoolResponse ¶
func (response GetSandboxPool500JSONResponse) VisitGetSandboxPoolResponse(w http.ResponseWriter) error
type GetSandboxPoolRequestObject ¶
type GetSandboxPoolRequestObject struct {
Name PathPoolName `json:"name"`
}
type GetSandboxPoolResponse ¶
type GetSandboxPoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SandboxPoolEnvelope
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON422 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetSandboxPoolResponse ¶
func ParseGetSandboxPoolResponse(rsp *http.Response) (*GetSandboxPoolResponse, error)
ParseGetSandboxPoolResponse parses an HTTP response from a GetSandboxPoolWithResponse call
func (GetSandboxPoolResponse) Status ¶
func (r GetSandboxPoolResponse) Status() string
Status returns HTTPResponse.Status
func (GetSandboxPoolResponse) StatusCode ¶
func (r GetSandboxPoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSandboxPoolResponseObject ¶
type GetSandboxPoolResponseObject interface {
VisitGetSandboxPoolResponse(w http.ResponseWriter) error
}
type GetSandboxRequestObject ¶
type GetSandboxRequestObject struct {
SandboxId PathSandboxId `json:"sandboxId"`
}
type GetSandboxResponse ¶
type GetSandboxResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SandboxEnvelope
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetSandboxResponse ¶
func ParseGetSandboxResponse(rsp *http.Response) (*GetSandboxResponse, error)
ParseGetSandboxResponse parses an HTTP response from a GetSandboxWithResponse call
func (GetSandboxResponse) Status ¶
func (r GetSandboxResponse) Status() string
Status returns HTTPResponse.Status
func (GetSandboxResponse) StatusCode ¶
func (r GetSandboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSandboxResponseObject ¶
type GetSandboxResponseObject interface {
VisitGetSandboxResponse(w http.ResponseWriter) error
}
type GetSandboxTemplate200JSONResponse ¶
type GetSandboxTemplate200JSONResponse SandboxTemplateEnvelope
func (GetSandboxTemplate200JSONResponse) VisitGetSandboxTemplateResponse ¶
func (response GetSandboxTemplate200JSONResponse) VisitGetSandboxTemplateResponse(w http.ResponseWriter) error
type GetSandboxTemplate401JSONResponse ¶
type GetSandboxTemplate401JSONResponse ErrorResponse
func (GetSandboxTemplate401JSONResponse) VisitGetSandboxTemplateResponse ¶
func (response GetSandboxTemplate401JSONResponse) VisitGetSandboxTemplateResponse(w http.ResponseWriter) error
type GetSandboxTemplate404JSONResponse ¶
type GetSandboxTemplate404JSONResponse ErrorResponse
func (GetSandboxTemplate404JSONResponse) VisitGetSandboxTemplateResponse ¶
func (response GetSandboxTemplate404JSONResponse) VisitGetSandboxTemplateResponse(w http.ResponseWriter) error
type GetSandboxTemplate500JSONResponse ¶
type GetSandboxTemplate500JSONResponse ErrorResponse
func (GetSandboxTemplate500JSONResponse) VisitGetSandboxTemplateResponse ¶
func (response GetSandboxTemplate500JSONResponse) VisitGetSandboxTemplateResponse(w http.ResponseWriter) error
type GetSandboxTemplateRequestObject ¶
type GetSandboxTemplateRequestObject struct {
Name PathTemplateName `json:"name"`
}
type GetSandboxTemplateResponse ¶
type GetSandboxTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SandboxTemplateEnvelope
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetSandboxTemplateResponse ¶
func ParseGetSandboxTemplateResponse(rsp *http.Response) (*GetSandboxTemplateResponse, error)
ParseGetSandboxTemplateResponse parses an HTTP response from a GetSandboxTemplateWithResponse call
func (GetSandboxTemplateResponse) Status ¶
func (r GetSandboxTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetSandboxTemplateResponse) StatusCode ¶
func (r GetSandboxTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSandboxTemplateResponseObject ¶
type GetSandboxTemplateResponseObject interface {
VisitGetSandboxTemplateResponse(w http.ResponseWriter) error
}
type GetUserSandboxStatistics200JSONResponse ¶
type GetUserSandboxStatistics200JSONResponse UserSandboxStatisticsEnvelope
func (GetUserSandboxStatistics200JSONResponse) VisitGetUserSandboxStatisticsResponse ¶
func (response GetUserSandboxStatistics200JSONResponse) VisitGetUserSandboxStatisticsResponse(w http.ResponseWriter) error
type GetUserSandboxStatistics401JSONResponse ¶
type GetUserSandboxStatistics401JSONResponse ErrorResponse
func (GetUserSandboxStatistics401JSONResponse) VisitGetUserSandboxStatisticsResponse ¶
func (response GetUserSandboxStatistics401JSONResponse) VisitGetUserSandboxStatisticsResponse(w http.ResponseWriter) error
type GetUserSandboxStatistics500JSONResponse ¶
type GetUserSandboxStatistics500JSONResponse ErrorResponse
func (GetUserSandboxStatistics500JSONResponse) VisitGetUserSandboxStatisticsResponse ¶
func (response GetUserSandboxStatistics500JSONResponse) VisitGetUserSandboxStatisticsResponse(w http.ResponseWriter) error
type GetUserSandboxStatisticsRequestObject ¶
type GetUserSandboxStatisticsRequestObject struct {
}
type GetUserSandboxStatisticsResponse ¶
type GetUserSandboxStatisticsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserSandboxStatisticsEnvelope
JSON401 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetUserSandboxStatisticsResponse ¶
func ParseGetUserSandboxStatisticsResponse(rsp *http.Response) (*GetUserSandboxStatisticsResponse, error)
ParseGetUserSandboxStatisticsResponse parses an HTTP response from a GetUserSandboxStatisticsWithResponse call
func (GetUserSandboxStatisticsResponse) Status ¶
func (r GetUserSandboxStatisticsResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserSandboxStatisticsResponse) StatusCode ¶
func (r GetUserSandboxStatisticsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserSandboxStatisticsResponseObject ¶
type GetUserSandboxStatisticsResponseObject interface {
VisitGetUserSandboxStatisticsResponse(w http.ResponseWriter) error
}
type GetWhoAmI200JSONResponse ¶
type GetWhoAmI200JSONResponse WhoAmIResult
func (GetWhoAmI200JSONResponse) VisitGetWhoAmIResponse ¶
func (response GetWhoAmI200JSONResponse) VisitGetWhoAmIResponse(w http.ResponseWriter) error
type GetWhoAmI401JSONResponse ¶
type GetWhoAmI401JSONResponse ErrorResponse
func (GetWhoAmI401JSONResponse) VisitGetWhoAmIResponse ¶
func (response GetWhoAmI401JSONResponse) VisitGetWhoAmIResponse(w http.ResponseWriter) error
type GetWhoAmIRequestObject ¶
type GetWhoAmIRequestObject struct {
}
type GetWhoAmIResponse ¶
type GetWhoAmIResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WhoAmIResult
JSON401 *ErrorResponse
}
func ParseGetWhoAmIResponse ¶
func ParseGetWhoAmIResponse(rsp *http.Response) (*GetWhoAmIResponse, error)
ParseGetWhoAmIResponse parses an HTTP response from a GetWhoAmIWithResponse call
func (GetWhoAmIResponse) Status ¶
func (r GetWhoAmIResponse) Status() string
Status returns HTTPResponse.Status
func (GetWhoAmIResponse) StatusCode ¶
func (r GetWhoAmIResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWhoAmIResponseObject ¶
type GetWhoAmIResponseObject interface {
VisitGetWhoAmIResponse(w http.ResponseWriter) error
}
type GinServerOptions ¶
type GinServerOptions struct {
BaseURL string
Middlewares []MiddlewareFunc
ErrorHandler func(*gin.Context, error, int)
}
GinServerOptions provides options for the Gin server.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ImagePullSecretInput ¶
type ImagePullSecretInput struct {
Registries []RegistryCredential `json:"registries"`
}
ImagePullSecretInput defines model for ImagePullSecretInput.
type IsSandboxReady200JSONResponse ¶
type IsSandboxReady200JSONResponse SandboxReadinessResult
func (IsSandboxReady200JSONResponse) VisitIsSandboxReadyResponse ¶
func (response IsSandboxReady200JSONResponse) VisitIsSandboxReadyResponse(w http.ResponseWriter) error
type IsSandboxReady404JSONResponse ¶
type IsSandboxReady404JSONResponse ErrorResponse
func (IsSandboxReady404JSONResponse) VisitIsSandboxReadyResponse ¶
func (response IsSandboxReady404JSONResponse) VisitIsSandboxReadyResponse(w http.ResponseWriter) error
type IsSandboxReady500JSONResponse ¶
type IsSandboxReady500JSONResponse ErrorResponse
func (IsSandboxReady500JSONResponse) VisitIsSandboxReadyResponse ¶
func (response IsSandboxReady500JSONResponse) VisitIsSandboxReadyResponse(w http.ResponseWriter) error
type IsSandboxReady503JSONResponse ¶
type IsSandboxReady503JSONResponse SandboxReadinessResult
func (IsSandboxReady503JSONResponse) VisitIsSandboxReadyResponse ¶
func (response IsSandboxReady503JSONResponse) VisitIsSandboxReadyResponse(w http.ResponseWriter) error
type IsSandboxReadyRequestObject ¶
type IsSandboxReadyRequestObject struct {
SandboxId PathSandboxId `json:"sandboxId"`
}
type IsSandboxReadyResponse ¶
type IsSandboxReadyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SandboxReadinessResult
JSON404 *ErrorResponse
JSON500 *ErrorResponse
JSON503 *SandboxReadinessResult
}
func ParseIsSandboxReadyResponse ¶
func ParseIsSandboxReadyResponse(rsp *http.Response) (*IsSandboxReadyResponse, error)
ParseIsSandboxReadyResponse parses an HTTP response from a IsSandboxReadyWithResponse call
func (IsSandboxReadyResponse) Status ¶
func (r IsSandboxReadyResponse) Status() string
Status returns HTTPResponse.Status
func (IsSandboxReadyResponse) StatusCode ¶
func (r IsSandboxReadyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IsSandboxReadyResponseObject ¶
type IsSandboxReadyResponseObject interface {
VisitIsSandboxReadyResponse(w http.ResponseWriter) error
}
type ListAPIKeys200JSONResponse ¶
type ListAPIKeys200JSONResponse ListAPIKeysResult
func (ListAPIKeys200JSONResponse) VisitListAPIKeysResponse ¶
func (response ListAPIKeys200JSONResponse) VisitListAPIKeysResponse(w http.ResponseWriter) error
type ListAPIKeys401JSONResponse ¶
type ListAPIKeys401JSONResponse ErrorResponse
func (ListAPIKeys401JSONResponse) VisitListAPIKeysResponse ¶
func (response ListAPIKeys401JSONResponse) VisitListAPIKeysResponse(w http.ResponseWriter) error
type ListAPIKeys403JSONResponse ¶
type ListAPIKeys403JSONResponse ErrorResponse
func (ListAPIKeys403JSONResponse) VisitListAPIKeysResponse ¶
func (response ListAPIKeys403JSONResponse) VisitListAPIKeysResponse(w http.ResponseWriter) error
type ListAPIKeys503JSONResponse ¶
type ListAPIKeys503JSONResponse ErrorResponse
func (ListAPIKeys503JSONResponse) VisitListAPIKeysResponse ¶
func (response ListAPIKeys503JSONResponse) VisitListAPIKeysResponse(w http.ResponseWriter) error
type ListAPIKeysParams ¶
type ListAPIKeysParams struct {
// Namespace Filter by Kubernetes namespace (admin only).
Namespace *QueryNamespace `form:"namespace,omitempty" json:"namespace,omitempty"`
}
ListAPIKeysParams defines parameters for ListAPIKeys.
type ListAPIKeysRequestObject ¶
type ListAPIKeysRequestObject struct {
Params ListAPIKeysParams
}
type ListAPIKeysResponse ¶
type ListAPIKeysResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListAPIKeysResult
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON503 *ErrorResponse
}
func ParseListAPIKeysResponse ¶
func ParseListAPIKeysResponse(rsp *http.Response) (*ListAPIKeysResponse, error)
ParseListAPIKeysResponse parses an HTTP response from a ListAPIKeysWithResponse call
func (ListAPIKeysResponse) Status ¶
func (r ListAPIKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListAPIKeysResponse) StatusCode ¶
func (r ListAPIKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAPIKeysResponseObject ¶
type ListAPIKeysResponseObject interface {
VisitListAPIKeysResponse(w http.ResponseWriter) error
}
type ListAPIKeysResult ¶
type ListAPIKeysResult struct {
// Items Page of API key objects.
Items []APIKeyItem `json:"items"`
// Limit Maximum number of items requested per page.
Limit int `json:"limit"`
// Offset Number of items skipped before this page.
Offset int `json:"offset"`
// Total Total number of API keys matching the query (before pagination).
Total int `json:"total"`
}
ListAPIKeysResult defines model for ListAPIKeysResult.
type ListClusters200JSONResponse ¶
type ListClusters200JSONResponse ListClustersResult
func (ListClusters200JSONResponse) VisitListClustersResponse ¶
func (response ListClusters200JSONResponse) VisitListClustersResponse(w http.ResponseWriter) error
type ListClusters401JSONResponse ¶
type ListClusters401JSONResponse ErrorResponse
func (ListClusters401JSONResponse) VisitListClustersResponse ¶
func (response ListClusters401JSONResponse) VisitListClustersResponse(w http.ResponseWriter) error
type ListClusters500JSONResponse ¶
type ListClusters500JSONResponse ErrorResponse
func (ListClusters500JSONResponse) VisitListClustersResponse ¶
func (response ListClusters500JSONResponse) VisitListClustersResponse(w http.ResponseWriter) error
type ListClustersRequestObject ¶
type ListClustersRequestObject struct {
}
type ListClustersResponse ¶
type ListClustersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListClustersResult
JSON401 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseListClustersResponse ¶
func ParseListClustersResponse(rsp *http.Response) (*ListClustersResponse, error)
ParseListClustersResponse parses an HTTP response from a ListClustersWithResponse call
func (ListClustersResponse) Status ¶
func (r ListClustersResponse) Status() string
Status returns HTTPResponse.Status
func (ListClustersResponse) StatusCode ¶
func (r ListClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListClustersResponseObject ¶
type ListClustersResponseObject interface {
VisitListClustersResponse(w http.ResponseWriter) error
}
type ListClustersResult ¶
type ListClustersResult struct {
Clusters []ClusterSummary `json:"clusters"`
}
ListClustersResult Response envelope for `GET /clusters`.
type ListNamespaces200JSONResponse ¶
type ListNamespaces200JSONResponse NamespacesResult
func (ListNamespaces200JSONResponse) VisitListNamespacesResponse ¶
func (response ListNamespaces200JSONResponse) VisitListNamespacesResponse(w http.ResponseWriter) error
type ListNamespaces401JSONResponse ¶
type ListNamespaces401JSONResponse ErrorResponse
func (ListNamespaces401JSONResponse) VisitListNamespacesResponse ¶
func (response ListNamespaces401JSONResponse) VisitListNamespacesResponse(w http.ResponseWriter) error
type ListNamespaces403JSONResponse ¶
type ListNamespaces403JSONResponse ErrorResponse
func (ListNamespaces403JSONResponse) VisitListNamespacesResponse ¶
func (response ListNamespaces403JSONResponse) VisitListNamespacesResponse(w http.ResponseWriter) error
type ListNamespaces500JSONResponse ¶
type ListNamespaces500JSONResponse ErrorResponse
func (ListNamespaces500JSONResponse) VisitListNamespacesResponse ¶
func (response ListNamespaces500JSONResponse) VisitListNamespacesResponse(w http.ResponseWriter) error
type ListNamespacesRequestObject ¶
type ListNamespacesRequestObject struct {
}
type ListNamespacesResponse ¶
type ListNamespacesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *NamespacesResult
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseListNamespacesResponse ¶
func ParseListNamespacesResponse(rsp *http.Response) (*ListNamespacesResponse, error)
ParseListNamespacesResponse parses an HTTP response from a ListNamespacesWithResponse call
func (ListNamespacesResponse) Status ¶
func (r ListNamespacesResponse) Status() string
Status returns HTTPResponse.Status
func (ListNamespacesResponse) StatusCode ¶
func (r ListNamespacesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListNamespacesResponseObject ¶
type ListNamespacesResponseObject interface {
VisitListNamespacesResponse(w http.ResponseWriter) error
}
type ListQuotas200JSONResponse ¶
type ListQuotas200JSONResponse ListQuotasResult
func (ListQuotas200JSONResponse) VisitListQuotasResponse ¶
func (response ListQuotas200JSONResponse) VisitListQuotasResponse(w http.ResponseWriter) error
type ListQuotas401JSONResponse ¶
type ListQuotas401JSONResponse ErrorResponse
func (ListQuotas401JSONResponse) VisitListQuotasResponse ¶
func (response ListQuotas401JSONResponse) VisitListQuotasResponse(w http.ResponseWriter) error
type ListQuotas403JSONResponse ¶
type ListQuotas403JSONResponse ErrorResponse
func (ListQuotas403JSONResponse) VisitListQuotasResponse ¶
func (response ListQuotas403JSONResponse) VisitListQuotasResponse(w http.ResponseWriter) error
type ListQuotas500JSONResponse ¶
type ListQuotas500JSONResponse ErrorResponse
func (ListQuotas500JSONResponse) VisitListQuotasResponse ¶
func (response ListQuotas500JSONResponse) VisitListQuotasResponse(w http.ResponseWriter) error
type ListQuotasRequestObject ¶
type ListQuotasRequestObject struct {
}
type ListQuotasResponse ¶
type ListQuotasResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListQuotasResult
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseListQuotasResponse ¶
func ParseListQuotasResponse(rsp *http.Response) (*ListQuotasResponse, error)
ParseListQuotasResponse parses an HTTP response from a ListQuotasWithResponse call
func (ListQuotasResponse) Status ¶
func (r ListQuotasResponse) Status() string
Status returns HTTPResponse.Status
func (ListQuotasResponse) StatusCode ¶
func (r ListQuotasResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListQuotasResponseObject ¶
type ListQuotasResponseObject interface {
VisitListQuotasResponse(w http.ResponseWriter) error
}
type ListQuotasResult ¶
type ListQuotasResult struct {
// Items Page of quota objects.
Items []Quota `json:"items"`
// Limit Maximum number of items requested per page.
Limit int `json:"limit"`
// Offset Number of items skipped before this page.
Offset int `json:"offset"`
// Total Total number of quota entries (before pagination).
Total int `json:"total"`
}
ListQuotasResult defines model for ListQuotasResult.
type ListSandboxPools200JSONResponse ¶
type ListSandboxPools200JSONResponse ListSandboxPoolsResult
func (ListSandboxPools200JSONResponse) VisitListSandboxPoolsResponse ¶
func (response ListSandboxPools200JSONResponse) VisitListSandboxPoolsResponse(w http.ResponseWriter) error
type ListSandboxPools401JSONResponse ¶
type ListSandboxPools401JSONResponse ErrorResponse
func (ListSandboxPools401JSONResponse) VisitListSandboxPoolsResponse ¶
func (response ListSandboxPools401JSONResponse) VisitListSandboxPoolsResponse(w http.ResponseWriter) error
type ListSandboxPools500JSONResponse ¶
type ListSandboxPools500JSONResponse ErrorResponse
func (ListSandboxPools500JSONResponse) VisitListSandboxPoolsResponse ¶
func (response ListSandboxPools500JSONResponse) VisitListSandboxPoolsResponse(w http.ResponseWriter) error
type ListSandboxPoolsRequestObject ¶
type ListSandboxPoolsRequestObject struct {
}
type ListSandboxPoolsResponse ¶
type ListSandboxPoolsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListSandboxPoolsResult
JSON401 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseListSandboxPoolsResponse ¶
func ParseListSandboxPoolsResponse(rsp *http.Response) (*ListSandboxPoolsResponse, error)
ParseListSandboxPoolsResponse parses an HTTP response from a ListSandboxPoolsWithResponse call
func (ListSandboxPoolsResponse) Status ¶
func (r ListSandboxPoolsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSandboxPoolsResponse) StatusCode ¶
func (r ListSandboxPoolsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSandboxPoolsResponseObject ¶
type ListSandboxPoolsResponseObject interface {
VisitListSandboxPoolsResponse(w http.ResponseWriter) error
}
type ListSandboxPoolsResult ¶
type ListSandboxPoolsResult struct {
// Items Page of SandboxPool objects.
Items []SandboxPool `json:"items"`
// Limit Maximum number of items requested per page.
Limit int `json:"limit"`
// Offset Number of items skipped before this page.
Offset int `json:"offset"`
// Total Total number of pools matching the query (before pagination).
Total int `json:"total"`
}
ListSandboxPoolsResult defines model for ListSandboxPoolsResult.
type ListSandboxTemplates200JSONResponse ¶
type ListSandboxTemplates200JSONResponse ListSandboxTemplatesResult
func (ListSandboxTemplates200JSONResponse) VisitListSandboxTemplatesResponse ¶
func (response ListSandboxTemplates200JSONResponse) VisitListSandboxTemplatesResponse(w http.ResponseWriter) error
type ListSandboxTemplates401JSONResponse ¶
type ListSandboxTemplates401JSONResponse ErrorResponse
func (ListSandboxTemplates401JSONResponse) VisitListSandboxTemplatesResponse ¶
func (response ListSandboxTemplates401JSONResponse) VisitListSandboxTemplatesResponse(w http.ResponseWriter) error
type ListSandboxTemplates500JSONResponse ¶
type ListSandboxTemplates500JSONResponse ErrorResponse
func (ListSandboxTemplates500JSONResponse) VisitListSandboxTemplatesResponse ¶
func (response ListSandboxTemplates500JSONResponse) VisitListSandboxTemplatesResponse(w http.ResponseWriter) error
type ListSandboxTemplatesRequestObject ¶
type ListSandboxTemplatesRequestObject struct {
}
type ListSandboxTemplatesResponse ¶
type ListSandboxTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListSandboxTemplatesResult
JSON401 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseListSandboxTemplatesResponse ¶
func ParseListSandboxTemplatesResponse(rsp *http.Response) (*ListSandboxTemplatesResponse, error)
ParseListSandboxTemplatesResponse parses an HTTP response from a ListSandboxTemplatesWithResponse call
func (ListSandboxTemplatesResponse) Status ¶
func (r ListSandboxTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (ListSandboxTemplatesResponse) StatusCode ¶
func (r ListSandboxTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSandboxTemplatesResponseObject ¶
type ListSandboxTemplatesResponseObject interface {
VisitListSandboxTemplatesResponse(w http.ResponseWriter) error
}
type ListSandboxTemplatesResult ¶
type ListSandboxTemplatesResult struct {
// Items Page of SandboxTemplateSummary objects (lightweight — use GET /sandbox-templates/{name} for full details).
Items []SandboxTemplateSummary `json:"items"`
// Limit Maximum number of items requested per page.
Limit int `json:"limit"`
// Offset Number of items skipped before this page.
Offset int `json:"offset"`
// Total Total number of templates (before pagination).
Total int `json:"total"`
}
ListSandboxTemplatesResult defines model for ListSandboxTemplatesResult.
type ListSandboxes200JSONResponse ¶
type ListSandboxes200JSONResponse ListSandboxesResult
func (ListSandboxes200JSONResponse) VisitListSandboxesResponse ¶
func (response ListSandboxes200JSONResponse) VisitListSandboxesResponse(w http.ResponseWriter) error
type ListSandboxes401JSONResponse ¶
type ListSandboxes401JSONResponse ErrorResponse
func (ListSandboxes401JSONResponse) VisitListSandboxesResponse ¶
func (response ListSandboxes401JSONResponse) VisitListSandboxesResponse(w http.ResponseWriter) error
type ListSandboxes500JSONResponse ¶
type ListSandboxes500JSONResponse ErrorResponse
func (ListSandboxes500JSONResponse) VisitListSandboxesResponse ¶
func (response ListSandboxes500JSONResponse) VisitListSandboxesResponse(w http.ResponseWriter) error
type ListSandboxesParams ¶
type ListSandboxesParams struct {
// PoolName Filter by sandbox pool name.
PoolName *QueryPoolName `form:"poolName,omitempty" json:"poolName,omitempty"`
// Status Filter by sandbox phase. One of: Idle, Starting, Running, Stopping, Failed.
Status *QuerySandboxStatus `form:"status,omitempty" json:"status,omitempty"`
// Limit Maximum number of items to return per page.
Limit *QueryLimit `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Number of items to skip before returning results (zero-based).
Offset *QueryOffset `form:"offset,omitempty" json:"offset,omitempty"`
}
ListSandboxesParams defines parameters for ListSandboxes.
type ListSandboxesRequestObject ¶
type ListSandboxesRequestObject struct {
Params ListSandboxesParams
}
type ListSandboxesResponse ¶
type ListSandboxesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListSandboxesResult
JSON401 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseListSandboxesResponse ¶
func ParseListSandboxesResponse(rsp *http.Response) (*ListSandboxesResponse, error)
ParseListSandboxesResponse parses an HTTP response from a ListSandboxesWithResponse call
func (ListSandboxesResponse) Status ¶
func (r ListSandboxesResponse) Status() string
Status returns HTTPResponse.Status
func (ListSandboxesResponse) StatusCode ¶
func (r ListSandboxesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSandboxesResponseObject ¶
type ListSandboxesResponseObject interface {
VisitListSandboxesResponse(w http.ResponseWriter) error
}
type ListSandboxesResult ¶
type ListSandboxesResult struct {
// Items Page of sandbox objects matching the query.
Items []Sandbox `json:"items"`
// Limit Maximum number of items requested per page.
Limit int `json:"limit"`
// Offset Number of items skipped before this page.
Offset int `json:"offset"`
// Total Total number of sandboxes matching the query (before pagination).
Total int `json:"total"`
}
ListSandboxesResult defines model for ListSandboxesResult.
type ListTeams200JSONResponse ¶
type ListTeams200JSONResponse TeamsResult
func (ListTeams200JSONResponse) VisitListTeamsResponse ¶
func (response ListTeams200JSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error
type ListTeams401JSONResponse ¶
type ListTeams401JSONResponse ErrorResponse
func (ListTeams401JSONResponse) VisitListTeamsResponse ¶
func (response ListTeams401JSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error
type ListTeams403JSONResponse ¶
type ListTeams403JSONResponse ErrorResponse
func (ListTeams403JSONResponse) VisitListTeamsResponse ¶
func (response ListTeams403JSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error
type ListTeams500JSONResponse ¶
type ListTeams500JSONResponse ErrorResponse
func (ListTeams500JSONResponse) VisitListTeamsResponse ¶
func (response ListTeams500JSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error
type ListTeamsRequestObject ¶
type ListTeamsRequestObject struct {
}
type ListTeamsResponse ¶
type ListTeamsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TeamsResult
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseListTeamsResponse ¶
func ParseListTeamsResponse(rsp *http.Response) (*ListTeamsResponse, error)
ParseListTeamsResponse parses an HTTP response from a ListTeamsWithResponse call
func (ListTeamsResponse) Status ¶
func (r ListTeamsResponse) Status() string
Status returns HTTPResponse.Status
func (ListTeamsResponse) StatusCode ¶
func (r ListTeamsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTeamsResponseObject ¶
type ListTeamsResponseObject interface {
VisitListTeamsResponse(w http.ResponseWriter) error
}
type ListUsersByTeam200JSONResponse ¶
type ListUsersByTeam200JSONResponse UsersResult
func (ListUsersByTeam200JSONResponse) VisitListUsersByTeamResponse ¶
func (response ListUsersByTeam200JSONResponse) VisitListUsersByTeamResponse(w http.ResponseWriter) error
type ListUsersByTeam400JSONResponse ¶
type ListUsersByTeam400JSONResponse ErrorResponse
func (ListUsersByTeam400JSONResponse) VisitListUsersByTeamResponse ¶
func (response ListUsersByTeam400JSONResponse) VisitListUsersByTeamResponse(w http.ResponseWriter) error
type ListUsersByTeam401JSONResponse ¶
type ListUsersByTeam401JSONResponse ErrorResponse
func (ListUsersByTeam401JSONResponse) VisitListUsersByTeamResponse ¶
func (response ListUsersByTeam401JSONResponse) VisitListUsersByTeamResponse(w http.ResponseWriter) error
type ListUsersByTeam403JSONResponse ¶
type ListUsersByTeam403JSONResponse ErrorResponse
func (ListUsersByTeam403JSONResponse) VisitListUsersByTeamResponse ¶
func (response ListUsersByTeam403JSONResponse) VisitListUsersByTeamResponse(w http.ResponseWriter) error
type ListUsersByTeam500JSONResponse ¶
type ListUsersByTeam500JSONResponse ErrorResponse
func (ListUsersByTeam500JSONResponse) VisitListUsersByTeamResponse ¶
func (response ListUsersByTeam500JSONResponse) VisitListUsersByTeamResponse(w http.ResponseWriter) error
type ListUsersByTeamRequestObject ¶
type ListUsersByTeamRequestObject struct {
Team PathTeam `json:"team"`
}
type ListUsersByTeamResponse ¶
type ListUsersByTeamResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UsersResult
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseListUsersByTeamResponse ¶
func ParseListUsersByTeamResponse(rsp *http.Response) (*ListUsersByTeamResponse, error)
ParseListUsersByTeamResponse parses an HTTP response from a ListUsersByTeamWithResponse call
func (ListUsersByTeamResponse) Status ¶
func (r ListUsersByTeamResponse) Status() string
Status returns HTTPResponse.Status
func (ListUsersByTeamResponse) StatusCode ¶
func (r ListUsersByTeamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUsersByTeamResponseObject ¶
type ListUsersByTeamResponseObject interface {
VisitListUsersByTeamResponse(w http.ResponseWriter) error
}
type MiddlewareFunc ¶
type NamespacesResult ¶
type NamespacesResult struct {
// Items List of Kubernetes namespace names.
Items []string `json:"items"`
// Total Total number of namespaces.
Total int `json:"total"`
}
NamespacesResult defines model for NamespacesResult.
type PathTemplateName ¶
type PathTemplateName = string
PathTemplateName defines model for PathTemplateName.
type PoolAutoscalingSpec ¶
type PoolAutoscalingSpec struct {
// Enabled When false (default), the pool is managed manually via spec.replicas. MinReplicas/MaxReplicas are ignored.
Enabled *bool `json:"enabled,omitempty"`
// ScaleDownPolicy Controls scale-down behavior for a SandboxPool.
ScaleDownPolicy *PoolScaleDownPolicy `json:"scaleDownPolicy,omitempty"`
// ScaleUpPolicy Controls scale-up behavior for a SandboxPool.
ScaleUpPolicy *PoolScaleUpPolicy `json:"scaleUpPolicy,omitempty"`
}
PoolAutoscalingSpec Autoscaling configuration for a SandboxPool. When nil or enabled=false, spec.replicas is the only source of truth.
type PoolScaleDownPolicy ¶
type PoolScaleDownPolicy struct {
// IdleTimeoutSeconds Minimum seconds a pod must remain Idle before it becomes a scale-down candidate.
IdleTimeoutSeconds *int32 `json:"idleTimeoutSeconds,omitempty"`
// ProtectionWindowSeconds Seconds after a pod is marked for scale-down during which a new Claim can still cancel the intent.
ProtectionWindowSeconds *int32 `json:"protectionWindowSeconds,omitempty"`
// StabilizationSeconds Minimum seconds between two consecutive scale-down events.
StabilizationSeconds *int32 `json:"stabilizationSeconds,omitempty"`
}
PoolScaleDownPolicy Controls scale-down behavior for a SandboxPool.
type PoolScaleUpPolicy ¶
type PoolScaleUpPolicy struct {
// CooldownSeconds Minimum seconds between two consecutive scale-up events.
CooldownSeconds *int32 `json:"cooldownSeconds,omitempty"`
// IdleThresholdSeconds Trigger proactive scale-up when idleReplicas==0 persists for this many seconds. Set 0 to disable.
IdleThresholdSeconds *int32 `json:"idleThresholdSeconds,omitempty"`
// Mode Conservative: +1/decision; Default: +max(1,ceil(n/2))/decision; Aggressive: double up to maxReplicas/decision.
Mode *PoolScaleUpPolicyMode `json:"mode,omitempty"`
}
PoolScaleUpPolicy Controls scale-up behavior for a SandboxPool.
type PoolScaleUpPolicyMode ¶
type PoolScaleUpPolicyMode string
PoolScaleUpPolicyMode Conservative: +1/decision; Default: +max(1,ceil(n/2))/decision; Aggressive: double up to maxReplicas/decision.
const ( Aggressive PoolScaleUpPolicyMode = "Aggressive" Conservative PoolScaleUpPolicyMode = "Conservative" Default PoolScaleUpPolicyMode = "Default" )
Defines values for PoolScaleUpPolicyMode.
func (PoolScaleUpPolicyMode) Valid ¶
func (e PoolScaleUpPolicyMode) Valid() bool
Valid indicates whether the value is a known member of the PoolScaleUpPolicyMode enum.
type PoolTemplateOverrides ¶
type PoolTemplateOverrides struct {
// Image Override the main container (containers[0]) image
Image *string `json:"image,omitempty"`
// ResourceMultiplier Uniform scale factor for all container CPU/Memory requests+limits (>= 1). Also multiplies reservation.replicaQuota values.
ResourceMultiplier *int32 `json:"resourceMultiplier,omitempty"`
}
PoolTemplateOverrides Persisted pool-level overrides applied on top of the referenced template and re-applied during template sync.
type PreviewSyncSandboxPoolTemplate200JSONResponse ¶
type PreviewSyncSandboxPoolTemplate200JSONResponse SyncTemplatePreviewResult
func (PreviewSyncSandboxPoolTemplate200JSONResponse) VisitPreviewSyncSandboxPoolTemplateResponse ¶
func (response PreviewSyncSandboxPoolTemplate200JSONResponse) VisitPreviewSyncSandboxPoolTemplateResponse(w http.ResponseWriter) error
type PreviewSyncSandboxPoolTemplate400JSONResponse ¶
type PreviewSyncSandboxPoolTemplate400JSONResponse ErrorResponse
func (PreviewSyncSandboxPoolTemplate400JSONResponse) VisitPreviewSyncSandboxPoolTemplateResponse ¶
func (response PreviewSyncSandboxPoolTemplate400JSONResponse) VisitPreviewSyncSandboxPoolTemplateResponse(w http.ResponseWriter) error
type PreviewSyncSandboxPoolTemplate404JSONResponse ¶
type PreviewSyncSandboxPoolTemplate404JSONResponse ErrorResponse
func (PreviewSyncSandboxPoolTemplate404JSONResponse) VisitPreviewSyncSandboxPoolTemplateResponse ¶
func (response PreviewSyncSandboxPoolTemplate404JSONResponse) VisitPreviewSyncSandboxPoolTemplateResponse(w http.ResponseWriter) error
type PreviewSyncSandboxPoolTemplate500JSONResponse ¶
type PreviewSyncSandboxPoolTemplate500JSONResponse ErrorResponse
func (PreviewSyncSandboxPoolTemplate500JSONResponse) VisitPreviewSyncSandboxPoolTemplateResponse ¶
func (response PreviewSyncSandboxPoolTemplate500JSONResponse) VisitPreviewSyncSandboxPoolTemplateResponse(w http.ResponseWriter) error
type PreviewSyncSandboxPoolTemplateRequestObject ¶
type PreviewSyncSandboxPoolTemplateRequestObject struct {
Name PathPoolName `json:"name"`
}
type PreviewSyncSandboxPoolTemplateResponse ¶
type PreviewSyncSandboxPoolTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SyncTemplatePreviewResult
JSON400 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePreviewSyncSandboxPoolTemplateResponse ¶
func ParsePreviewSyncSandboxPoolTemplateResponse(rsp *http.Response) (*PreviewSyncSandboxPoolTemplateResponse, error)
ParsePreviewSyncSandboxPoolTemplateResponse parses an HTTP response from a PreviewSyncSandboxPoolTemplateWithResponse call
func (PreviewSyncSandboxPoolTemplateResponse) Status ¶
func (r PreviewSyncSandboxPoolTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (PreviewSyncSandboxPoolTemplateResponse) StatusCode ¶
func (r PreviewSyncSandboxPoolTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PreviewSyncSandboxPoolTemplateResponseObject ¶
type PreviewSyncSandboxPoolTemplateResponseObject interface {
VisitPreviewSyncSandboxPoolTemplateResponse(w http.ResponseWriter) error
}
type PromoteAPIKey200JSONResponse ¶
type PromoteAPIKey200JSONResponse PromoteAPIKeyResult
func (PromoteAPIKey200JSONResponse) VisitPromoteAPIKeyResponse ¶
func (response PromoteAPIKey200JSONResponse) VisitPromoteAPIKeyResponse(w http.ResponseWriter) error
type PromoteAPIKey401JSONResponse ¶
type PromoteAPIKey401JSONResponse ErrorResponse
func (PromoteAPIKey401JSONResponse) VisitPromoteAPIKeyResponse ¶
func (response PromoteAPIKey401JSONResponse) VisitPromoteAPIKeyResponse(w http.ResponseWriter) error
type PromoteAPIKey403JSONResponse ¶
type PromoteAPIKey403JSONResponse ErrorResponse
func (PromoteAPIKey403JSONResponse) VisitPromoteAPIKeyResponse ¶
func (response PromoteAPIKey403JSONResponse) VisitPromoteAPIKeyResponse(w http.ResponseWriter) error
type PromoteAPIKey404JSONResponse ¶
type PromoteAPIKey404JSONResponse ErrorResponse
func (PromoteAPIKey404JSONResponse) VisitPromoteAPIKeyResponse ¶
func (response PromoteAPIKey404JSONResponse) VisitPromoteAPIKeyResponse(w http.ResponseWriter) error
type PromoteAPIKey409JSONResponse ¶
type PromoteAPIKey409JSONResponse ErrorResponse
func (PromoteAPIKey409JSONResponse) VisitPromoteAPIKeyResponse ¶
func (response PromoteAPIKey409JSONResponse) VisitPromoteAPIKeyResponse(w http.ResponseWriter) error
type PromoteAPIKey503JSONResponse ¶
type PromoteAPIKey503JSONResponse ErrorResponse
func (PromoteAPIKey503JSONResponse) VisitPromoteAPIKeyResponse ¶
func (response PromoteAPIKey503JSONResponse) VisitPromoteAPIKeyResponse(w http.ResponseWriter) error
type PromoteAPIKeyRequestObject ¶
type PromoteAPIKeyRequestObject struct {
Name PathAPIKeyName `json:"name"`
}
type PromoteAPIKeyResponse ¶
type PromoteAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PromoteAPIKeyResult
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON409 *ErrorResponse
JSON503 *ErrorResponse
}
func ParsePromoteAPIKeyResponse ¶
func ParsePromoteAPIKeyResponse(rsp *http.Response) (*PromoteAPIKeyResponse, error)
ParsePromoteAPIKeyResponse parses an HTTP response from a PromoteAPIKeyWithResponse call
func (PromoteAPIKeyResponse) Status ¶
func (r PromoteAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (PromoteAPIKeyResponse) StatusCode ¶
func (r PromoteAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PromoteAPIKeyResponseObject ¶
type PromoteAPIKeyResponseObject interface {
VisitPromoteAPIKeyResponse(w http.ResponseWriter) error
}
type PromoteAPIKeyResult ¶
type PromoteAPIKeyResult struct {
// KeyId Unique identifier of the promoted API key.
KeyId string `json:"keyId"`
// Status Result of the promote operation (e.g. Promoted).
Status string `json:"status"`
}
PromoteAPIKeyResult defines model for PromoteAPIKeyResult.
type QuerySandboxStatus ¶
type QuerySandboxStatus = string
QuerySandboxStatus defines model for QuerySandboxStatus.
type Quota ¶
type Quota struct {
// Free Available (unreserved) resources, keyed by resource name.
Free *map[string]string `json:"free,omitempty"`
// Label Display label for this quota entry.
Label string `json:"label"`
// Name Name of the quota entry.
Name string `json:"name"`
// PoolName Name of the SandboxPool bound to this quota, if any.
PoolName *string `json:"poolName,omitempty"`
// Queue SI Scheduler queue name associated with this quota.
Queue string `json:"queue"`
// QuotaUrl URL of the SI Scheduler quota resource.
QuotaUrl string `json:"quotaUrl"`
// Reserved Resources reserved but not yet actively used, keyed by resource name.
Reserved *map[string]string `json:"reserved,omitempty"`
// Resources Total resource capacity for this quota, keyed by resource name (e.g. cpu, memory, nvidia.com/gpu).
Resources *map[string]string `json:"resources,omitempty"`
// Team Team that owns this quota.
Team *string `json:"team,omitempty"`
// Used Currently consumed resources, keyed by resource name.
Used *map[string]string `json:"used,omitempty"`
// User User that owns this quota.
User *string `json:"user,omitempty"`
}
Quota defines model for Quota.
type RegistryCredential ¶
type RegistryCredential struct {
Password string `json:"password"`
// Registry Registry host or URL (e.g. 'https://index.docker.io/v1/', 'ghcr.io', 'quay.io').
Registry string `json:"registry"`
Username string `json:"username"`
}
RegistryCredential defines model for RegistryCredential.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type Sandbox ¶
type Sandbox struct {
// ClaimedAt RFC 3339 timestamp when the sandbox was claimed by a user.
ClaimedAt time.Time `json:"claimedAt"`
// ContainerId Runtime container ID (e.g. "docker://abc123") of the primary container, captured when the sandbox entered Running state.
ContainerId *string `json:"containerId,omitempty"`
// ContainerImages Map of container name to image URI for each container in the sandbox pod.
ContainerImages *map[string]string `json:"containerImages,omitempty"`
// Cpu CPU resource allocated to the sandbox (Kubernetes resource quantity, e.g. "1", "100m").
Cpu *string `json:"cpu,omitempty"`
// DurationSeconds Wall-clock duration of the sandbox in seconds. Set for Running (startedAt to query time), Completed, Failed, and Released states (startedAt to terminatedAt). Omitted for Starting and Canceled states.
DurationSeconds *int64 `json:"durationSeconds,omitempty"`
// Endpoints Map of runtime name to its endpoint URL, populated once the sandbox is Running.
Endpoints *map[string]SandboxEndpoint `json:"endpoints,omitempty"`
// ExitCode Exit code of the main container when the sandbox terminated.
ExitCode *int32 `json:"exitCode,omitempty"`
// FailureMessage Human-readable message describing the failure cause.
FailureMessage *string `json:"failureMessage,omitempty"`
// FailureReason Machine-readable reason code when status is Failed.
FailureReason *string `json:"failureReason,omitempty"`
// Memory Memory resource allocated to the sandbox (Kubernetes resource quantity, e.g. "16Gi", "512Mi").
Memory *string `json:"memory,omitempty"`
// Metadata User-defined key-value pairs attached to the sandbox for filtering and annotation.
Metadata *map[string]string `json:"metadata,omitempty"`
// Namespace Kubernetes namespace where the sandbox pod is running.
Namespace string `json:"namespace"`
// NodeName Kubernetes node the sandbox Pod was scheduled onto.
NodeName *string `json:"nodeName,omitempty"`
// PodName Name of the Kubernetes Pod backing this sandbox.
PodName string `json:"podName"`
// PoolName Name of the SandboxPool this sandbox was allocated from.
PoolName string `json:"poolName"`
// RecycledAt Timestamp when the sandbox completed recycling (Stopping → Idle in-place upgrade) and the record was written to the store. Also set for evicted/externally-deleted sandboxes to record when the Failed record was persisted.
RecycledAt *time.Time `json:"recycledAt,omitempty"`
// SandboxId Sandbox identifier. Single-cluster: bare UUID v7 (e.g. `5de15c92-8fb5-440f-a9ea-7f62f734f1b9`).
// Cross-cluster: `{clusterID}.{uuid}` composite (e.g. `cluster1.5de15c92-...`, dot-separated). NOT a strict RFC 4122 UUID — treat as opaque.
SandboxId string `json:"sandboxId"`
// StartedAt RFC 3339 timestamp when the sandbox transitioned to Running.
StartedAt *time.Time `json:"startedAt,omitempty"`
// Status Current lifecycle phase of the sandbox.
Status SandboxStatus `json:"status"`
StatusDetail *SandboxStatusDetail `json:"statusDetail,omitempty"`
// Team Team label of the sandbox owner (from pod label)
Team *string `json:"team,omitempty"`
// TerminatedAt RFC 3339 timestamp when the sandbox workload terminated (exit or stop signal).
TerminatedAt *time.Time `json:"terminatedAt,omitempty"`
// User User label of the sandbox owner (from pod label)
User *string `json:"user,omitempty"`
}
Sandbox defines model for Sandbox.
type SandboxEndpoint ¶
type SandboxEndpoint struct {
// LogDir Path to the runtime log file inside the container, if configured
LogDir *string `json:"logDir,omitempty"`
// Url Fully-qualified URL to reach this runtime endpoint (e.g. https://sandbox.example.com/api).
Url string `json:"url"`
}
SandboxEndpoint defines model for SandboxEndpoint.
type SandboxEnvelope ¶
type SandboxEnvelope struct {
Sandbox Sandbox `json:"sandbox"`
}
SandboxEnvelope defines model for SandboxEnvelope.
type SandboxLogEntry ¶
type SandboxLogEntry struct {
// Container Name of the container that produced this log line.
Container string `json:"container"`
// Log Raw log line content.
Log string `json:"log"`
// Timestamp RFC 3339 timestamp of the log line.
Timestamp *time.Time `json:"timestamp,omitempty"`
}
SandboxLogEntry defines model for SandboxLogEntry.
type SandboxLogsResult ¶
type SandboxLogsResult struct {
// CapturedAt RFC 3339 timestamp when the log snapshot was captured.
CapturedAt *time.Time `json:"capturedAt,omitempty"`
// Entries Ordered list of log lines (oldest first).
Entries []SandboxLogEntry `json:"entries"`
// Namespace Kubernetes namespace of the sandbox.
Namespace string `json:"namespace"`
// PodName Name of the Kubernetes Pod backing the sandbox.
PodName *string `json:"podName,omitempty"`
// RuntimeName When source=runtime, the runtime name whose log file was read
RuntimeName *string `json:"runtimeName,omitempty"`
// SandboxId Sandbox identifier. Single-cluster: bare UUID v7; cross-cluster: `{clusterID}.{uuid}` composite (dot-separated).
// NOT a strict RFC 4122 UUID — treat as opaque.
SandboxId string `json:"sandboxId"`
Source SandboxLogsResultSource `json:"source"`
// TotalBytes Total byte size of all log entries before any truncation.
TotalBytes *int64 `json:"totalBytes,omitempty"`
// Truncated True when the response was truncated due to the `lines` limit or internal size cap.
Truncated bool `json:"truncated"`
}
SandboxLogsResult defines model for SandboxLogsResult.
type SandboxLogsResultSource ¶
type SandboxLogsResultSource string
SandboxLogsResultSource defines model for SandboxLogsResult.Source.
const ( Cached SandboxLogsResultSource = "cached" Live SandboxLogsResultSource = "live" Runtime SandboxLogsResultSource = "runtime" )
Defines values for SandboxLogsResultSource.
func (SandboxLogsResultSource) Valid ¶
func (e SandboxLogsResultSource) Valid() bool
Valid indicates whether the value is a known member of the SandboxLogsResultSource enum.
type SandboxPool ¶
type SandboxPool struct {
// Cpu CPU resource per pod in the pool (Kubernetes resource quantity, e.g. "1", "100m").
Cpu *string `json:"cpu,omitempty"`
// CreatedAt Creation time of the pool (from metadata.creationTimestamp)
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Memory Memory resource per pod in the pool (Kubernetes resource quantity, e.g. "16Gi", "512Mi").
Memory *string `json:"memory,omitempty"`
// Name Name of the SandboxPool (RFC 1123 DNS label).
Name string `json:"name"`
// Namespace Kubernetes namespace the pool is deployed in.
Namespace string `json:"namespace"`
// Overrides Persisted pool-level overrides applied on top of the referenced template and re-applied during template sync.
Overrides *PoolTemplateOverrides `json:"overrides,omitempty"`
// PoolDocs Markdown usage docs for this pool, sourced from the linked SandboxTemplate's agentbox.navix.sh/docs annotation. The variables ${AGBX_POOL_NAME}, ${AGBX_CLUSTER_ID}, ${AGBX_API_KEY} are substituted by the server before returning; ${AGBX_API_KEY} is resolved to the first non-legacy API key of the acting user. If the template references ${AGBX_API_KEY} but the user has no key with a recoverable plaintext token, GetSandboxPool returns 422 with errorCode API_KEY_REQUIRED.
PoolDocs *string `json:"poolDocs,omitempty"`
Spec SandboxPoolSpec `json:"spec"`
// SpecYaml Full EmbeddedSandboxTemplate (idleImage, runtimes, reservation, template) serialized as YAML for diff comparison.
SpecYaml *string `json:"specYaml,omitempty"`
Status SandboxPoolStatus `json:"status"`
// Team Team label of the pool owner (from CRD label)
Team *string `json:"team,omitempty"`
// TemplateVersion Version of the source SandboxTemplate at last sync (from annotation)
TemplateVersion *string `json:"templateVersion,omitempty"`
// User User label of the pool owner (from CRD label)
User *string `json:"user,omitempty"`
}
SandboxPool defines model for SandboxPool.
type SandboxPoolEnvelope ¶
type SandboxPoolEnvelope struct {
Template SandboxPool `json:"template"`
}
SandboxPoolEnvelope defines model for SandboxPoolEnvelope.
type SandboxPoolSpec ¶
type SandboxPoolSpec struct {
// Autoscaling Autoscaling configuration for a SandboxPool. When nil or enabled=false, spec.replicas is the only source of truth.
Autoscaling *PoolAutoscalingSpec `json:"autoscaling,omitempty"`
// DefaultIdleTimeout Default idle timeout for sandboxes created in this pool. Applied when a CreateSandbox request does not specify idleTimeout. If not set, sandboxes have no idle timeout by default. Duration string, e.g. '30m'.
DefaultIdleTimeout *string `json:"defaultIdleTimeout,omitempty"`
// DefaultStartupTimeout Default startup timeout for sandbox create requests in this pool when the request does not specify startupTimeout. Also serves as the upper bound for the Starting phase: the controller deletes pods stuck in Starting for longer than this value. If not set, the internal default (2m) is used for create requests; no cleanup is enforced by default. Duration string, e.g. '5m'.
DefaultStartupTimeout *string `json:"defaultStartupTimeout,omitempty"`
// MaxReplicas Maximum number of replicas when auto-scaling is enabled.
MaxReplicas *int32 `json:"maxReplicas,omitempty"`
// MinReplicas Minimum number of replicas when auto-scaling is enabled.
MinReplicas *int32 `json:"minReplicas,omitempty"`
// PodCreationImagePolicy Controls which image newly created Pods start with. IdleImage (default) uses spec.idleImage; PoolDefaultImage uses the template container image.
PodCreationImagePolicy *SandboxPoolSpecPodCreationImagePolicy `json:"podCreationImagePolicy,omitempty"`
// Replicas Desired number of pre-warmed idle pods in the pool.
Replicas int32 `json:"replicas"`
// TemplateName Name of the SandboxTemplate cluster resource to use as the pod spec source.
TemplateName *string `json:"templateName,omitempty"`
}
SandboxPoolSpec defines model for SandboxPoolSpec.
type SandboxPoolSpecPodCreationImagePolicy ¶
type SandboxPoolSpecPodCreationImagePolicy string
SandboxPoolSpecPodCreationImagePolicy Controls which image newly created Pods start with. IdleImage (default) uses spec.idleImage; PoolDefaultImage uses the template container image.
const ( SandboxPoolSpecPodCreationImagePolicyIdleImage SandboxPoolSpecPodCreationImagePolicy = "IdleImage" SandboxPoolSpecPodCreationImagePolicyPoolDefaultImage SandboxPoolSpecPodCreationImagePolicy = "PoolDefaultImage" )
Defines values for SandboxPoolSpecPodCreationImagePolicy.
func (SandboxPoolSpecPodCreationImagePolicy) Valid ¶
func (e SandboxPoolSpecPodCreationImagePolicy) Valid() bool
Valid indicates whether the value is a known member of the SandboxPoolSpecPodCreationImagePolicy enum.
type SandboxPoolStatistics ¶
type SandboxPoolStatistics struct {
// ByNamespace Pool count broken down by Kubernetes namespace.
ByNamespace map[string]int `json:"byNamespace"`
// Total Total number of SandboxPools across all namespaces.
Total int `json:"total"`
// TotalFailedReplicas Total number of failed pod replicas across all pools.
TotalFailedReplicas int `json:"totalFailedReplicas"`
// TotalIdleReplicas Total number of idle pod replicas across all pools.
TotalIdleReplicas int `json:"totalIdleReplicas"`
// TotalReplicas Total pod replica count across all pools.
TotalReplicas int `json:"totalReplicas"`
// TotalRunningReplicas Total number of running (sandbox-serving) pod replicas across all pools.
TotalRunningReplicas int `json:"totalRunningReplicas"`
}
SandboxPoolStatistics defines model for SandboxPoolStatistics.
type SandboxPoolStatisticsEnvelope ¶
type SandboxPoolStatisticsEnvelope struct {
Statistics SandboxPoolStatistics `json:"statistics"`
}
SandboxPoolStatisticsEnvelope defines model for SandboxPoolStatisticsEnvelope.
type SandboxPoolStatus ¶
type SandboxPoolStatus struct {
// FailedReplicas Number of pods in a Failed state.
FailedReplicas *int32 `json:"failedReplicas,omitempty"`
// IdleReplicas Number of pods in Idle phase (ready to be claimed).
IdleReplicas *int32 `json:"idleReplicas,omitempty"`
// Phase High-level pool health summary. Pending=no pods; Ready=all healthy idle pods present; ScalingUp/ScalingDown=replica count changing; Degraded=has unavailable idle or failed pods; Terminating=pool is being deleted.
Phase *SandboxPoolStatusPhase `json:"phase,omitempty"`
// RunningReplicas Number of pods actively serving a sandbox workload.
RunningReplicas *int32 `json:"runningReplicas,omitempty"`
// StartingReplicas Number of pods currently starting up.
StartingReplicas *int32 `json:"startingReplicas,omitempty"`
// StoppingReplicas Number of pods transitioning from Running to Idle (in-place upgrade in progress).
StoppingReplicas *int32 `json:"stoppingReplicas,omitempty"`
UnavailableIdleReplicas *int32 `json:"unavailableIdleReplicas,omitempty"`
}
SandboxPoolStatus defines model for SandboxPoolStatus.
type SandboxPoolStatusPhase ¶
type SandboxPoolStatusPhase string
SandboxPoolStatusPhase High-level pool health summary. Pending=no pods; Ready=all healthy idle pods present; ScalingUp/ScalingDown=replica count changing; Degraded=has unavailable idle or failed pods; Terminating=pool is being deleted.
const ( SandboxPoolStatusPhaseDegraded SandboxPoolStatusPhase = "Degraded" SandboxPoolStatusPhasePending SandboxPoolStatusPhase = "Pending" SandboxPoolStatusPhaseReady SandboxPoolStatusPhase = "Ready" SandboxPoolStatusPhaseScalingDown SandboxPoolStatusPhase = "ScalingDown" SandboxPoolStatusPhaseScalingUp SandboxPoolStatusPhase = "ScalingUp" SandboxPoolStatusPhaseTerminating SandboxPoolStatusPhase = "Terminating" )
Defines values for SandboxPoolStatusPhase.
func (SandboxPoolStatusPhase) Valid ¶
func (e SandboxPoolStatusPhase) Valid() bool
Valid indicates whether the value is a known member of the SandboxPoolStatusPhase enum.
type SandboxReadinessResult ¶
type SandboxReadinessResult struct {
// Endpoints Per-runtime readiness status, keyed by runtime name.
Endpoints *map[string]struct {
// Message Diagnostic message when the probe failed.
Message *string `json:"message,omitempty"`
// Ready Whether this runtime endpoint's readiness probe passed.
Ready *bool `json:"ready,omitempty"`
} `json:"endpoints,omitempty"`
// Ready True when all configured readiness probes have passed.
Ready bool `json:"ready"`
// SandboxId Sandbox identifier. Single-cluster: bare UUID v7 (e.g. `5de15c92-8fb5-440f-a9ea-7f62f734f1b9`).
// Cross-cluster: `{clusterID}.{uuid}` composite (e.g. `cluster1.5de15c92-...`, dot-separated). NOT a strict RFC 4122 UUID — treat as opaque.
SandboxId string `json:"sandboxId"`
}
SandboxReadinessResult defines model for SandboxReadinessResult.
type SandboxStatistics ¶
type SandboxStatistics struct {
// ByNamespace Sandbox count broken down by Kubernetes namespace.
ByNamespace map[string]int `json:"byNamespace"`
// ByStatus Sandbox count broken down by status (e.g. Running, Failed).
ByStatus map[string]int `json:"byStatus"`
// Total Total number of sandboxes across all namespaces.
Total int `json:"total"`
}
SandboxStatistics defines model for SandboxStatistics.
type SandboxStatisticsEnvelope ¶
type SandboxStatisticsEnvelope struct {
Statistics SandboxStatistics `json:"statistics"`
}
SandboxStatisticsEnvelope defines model for SandboxStatisticsEnvelope.
type SandboxStatus ¶
type SandboxStatus string
SandboxStatus Current lifecycle phase of the sandbox.
const ( SandboxStatusCanceled SandboxStatus = "Canceled" SandboxStatusCompleted SandboxStatus = "Completed" SandboxStatusFailed SandboxStatus = "Failed" SandboxStatusPending SandboxStatus = "Pending" SandboxStatusReleased SandboxStatus = "Released" SandboxStatusRunning SandboxStatus = "Running" SandboxStatusStarting SandboxStatus = "Starting" SandboxStatusStopping SandboxStatus = "Stopping" )
Defines values for SandboxStatus.
func (SandboxStatus) Valid ¶
func (e SandboxStatus) Valid() bool
Valid indicates whether the value is a known member of the SandboxStatus enum.
type SandboxStatusDetail ¶
type SandboxStatusDetail struct {
// LastUpdatedTime RFC 3339 timestamp of when this status detail was last updated.
LastUpdatedTime *time.Time `json:"lastUpdatedTime,omitempty"`
// Message Human-readable message explaining the current status.
Message *string `json:"message,omitempty"`
// Reason Machine-readable reason code for the current status (mirrors Kubernetes condition reason).
Reason *string `json:"reason,omitempty"`
}
SandboxStatusDetail defines model for SandboxStatusDetail.
type SandboxTemplate ¶
type SandboxTemplate struct {
// Cpu CPU resource quantity derived from the template's pod spec (e.g. "1", "100m").
Cpu *string `json:"cpu,omitempty"`
// CrdYaml Complete raw SandboxTemplate CRD YAML (without managedFields). Includes resourceVersion and uid for optimistic locking on PUT.
CrdYaml *string `json:"crdYaml,omitempty"`
// CreatedAt RFC 3339 timestamp when the template was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description Human-readable description of the template (from spec.description).
Description *string `json:"description,omitempty"`
// Docs Markdown documentation for the template, stored in the agentbox.navix.sh/docs annotation. Supports variables ${AGBX_POOL_NAME}, ${AGBX_CLUSTER_ID}, ${AGBX_API_KEY} for pool-specific rendering. On Template Get the server substitutes them with human-readable hints (YOUR_POOL_NAME, real cluster ID, YOUR_API_KEY); on Pool Get they are substituted with real values.
Docs *string `json:"docs,omitempty"`
// Memory Memory resource quantity derived from the template's pod spec (e.g. "16Gi", "512Mi").
Memory *string `json:"memory,omitempty"`
// Name Name of the SandboxTemplate cluster resource (RFC 1123 DNS label).
Name string `json:"name"`
// SyncSource Resource origin: 'global' (synced via ws-proxy) or 'local' (created directly on worker). Empty for legacy resources.
SyncSource *string `json:"syncSource,omitempty"`
// Version User-defined version of this template (from spec.version).
Version *string `json:"version,omitempty"`
}
SandboxTemplate defines model for SandboxTemplate.
type SandboxTemplateEnvelope ¶
type SandboxTemplateEnvelope struct {
Template SandboxTemplate `json:"template"`
}
SandboxTemplateEnvelope defines model for SandboxTemplateEnvelope.
type SandboxTemplateSummary ¶
type SandboxTemplateSummary struct {
// Cpu CPU resource quantity derived from the template's pod spec (e.g. "1", "100m").
Cpu *string `json:"cpu,omitempty"`
// CreatedAt RFC 3339 timestamp when the template was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description Human-readable description of the template (from spec.description).
Description *string `json:"description,omitempty"`
// HasDocs True when the template has documentation in the agentbox.navix.sh/docs annotation.
HasDocs *bool `json:"hasDocs,omitempty"`
// Memory Memory resource quantity derived from the template's pod spec (e.g. "16Gi", "512Mi").
Memory *string `json:"memory,omitempty"`
// Name Name of the SandboxTemplate cluster resource (RFC 1123 DNS label).
Name string `json:"name"`
// RuntimeNames List of runtime endpoint names defined in this template (lightweight alternative to the full Runtime objects).
RuntimeNames *[]string `json:"runtimeNames,omitempty"`
// SyncSource Resource origin: 'global' (synced via ws-proxy) or 'local' (created directly on worker).
SyncSource *string `json:"syncSource,omitempty"`
// Version User-defined version of this template (from spec.version).
Version *string `json:"version,omitempty"`
}
SandboxTemplateSummary Lightweight summary returned by the List endpoint — omits spec, specYaml, labels, annotations, status, and full docs to reduce payload size.
type SelfCreateAPIKey201JSONResponse ¶
type SelfCreateAPIKey201JSONResponse CreateAPIKeyResult
func (SelfCreateAPIKey201JSONResponse) VisitSelfCreateAPIKeyResponse ¶
func (response SelfCreateAPIKey201JSONResponse) VisitSelfCreateAPIKeyResponse(w http.ResponseWriter) error
type SelfCreateAPIKey400JSONResponse ¶
type SelfCreateAPIKey400JSONResponse ErrorResponse
func (SelfCreateAPIKey400JSONResponse) VisitSelfCreateAPIKeyResponse ¶
func (response SelfCreateAPIKey400JSONResponse) VisitSelfCreateAPIKeyResponse(w http.ResponseWriter) error
type SelfCreateAPIKey503JSONResponse ¶
type SelfCreateAPIKey503JSONResponse ErrorResponse
func (SelfCreateAPIKey503JSONResponse) VisitSelfCreateAPIKeyResponse ¶
func (response SelfCreateAPIKey503JSONResponse) VisitSelfCreateAPIKeyResponse(w http.ResponseWriter) error
type SelfCreateAPIKeyJSONRequestBody ¶
type SelfCreateAPIKeyJSONRequestBody = SelfCreateAPIKeyRequest
SelfCreateAPIKeyJSONRequestBody defines body for SelfCreateAPIKey for application/json ContentType.
type SelfCreateAPIKeyRequest ¶
type SelfCreateAPIKeyRequest struct {
// Description Optional human-readable description for this key (e.g. its intended use).
Description *string `json:"description,omitempty"`
// ExpiresAt Optional RFC 3339 expiry timestamp. Omit for a non-expiring key.
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
}
SelfCreateAPIKeyRequest Request body for tenant self-service API key creation. Namespace/user/team are taken from the caller's auth context.
type SelfCreateAPIKeyRequestObject ¶
type SelfCreateAPIKeyRequestObject struct {
Body *SelfCreateAPIKeyJSONRequestBody
}
type SelfCreateAPIKeyResponse ¶
type SelfCreateAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *CreateAPIKeyResult
JSON400 *ErrorResponse
JSON503 *ErrorResponse
}
func ParseSelfCreateAPIKeyResponse ¶
func ParseSelfCreateAPIKeyResponse(rsp *http.Response) (*SelfCreateAPIKeyResponse, error)
ParseSelfCreateAPIKeyResponse parses an HTTP response from a SelfCreateAPIKeyWithResponse call
func (SelfCreateAPIKeyResponse) Status ¶
func (r SelfCreateAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (SelfCreateAPIKeyResponse) StatusCode ¶
func (r SelfCreateAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SelfCreateAPIKeyResponseObject ¶
type SelfCreateAPIKeyResponseObject interface {
VisitSelfCreateAPIKeyResponse(w http.ResponseWriter) error
}
type SelfDeleteAPIKey200JSONResponse ¶
type SelfDeleteAPIKey200JSONResponse DeleteAPIKeyResult
func (SelfDeleteAPIKey200JSONResponse) VisitSelfDeleteAPIKeyResponse ¶
func (response SelfDeleteAPIKey200JSONResponse) VisitSelfDeleteAPIKeyResponse(w http.ResponseWriter) error
type SelfDeleteAPIKey403JSONResponse ¶
type SelfDeleteAPIKey403JSONResponse ErrorResponse
func (SelfDeleteAPIKey403JSONResponse) VisitSelfDeleteAPIKeyResponse ¶
func (response SelfDeleteAPIKey403JSONResponse) VisitSelfDeleteAPIKeyResponse(w http.ResponseWriter) error
type SelfDeleteAPIKey404JSONResponse ¶
type SelfDeleteAPIKey404JSONResponse ErrorResponse
func (SelfDeleteAPIKey404JSONResponse) VisitSelfDeleteAPIKeyResponse ¶
func (response SelfDeleteAPIKey404JSONResponse) VisitSelfDeleteAPIKeyResponse(w http.ResponseWriter) error
type SelfDeleteAPIKey503JSONResponse ¶
type SelfDeleteAPIKey503JSONResponse ErrorResponse
func (SelfDeleteAPIKey503JSONResponse) VisitSelfDeleteAPIKeyResponse ¶
func (response SelfDeleteAPIKey503JSONResponse) VisitSelfDeleteAPIKeyResponse(w http.ResponseWriter) error
type SelfDeleteAPIKeyRequestObject ¶
type SelfDeleteAPIKeyRequestObject struct {
Name PathAPIKeyName `json:"name"`
}
type SelfDeleteAPIKeyResponse ¶
type SelfDeleteAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeleteAPIKeyResult
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON503 *ErrorResponse
}
func ParseSelfDeleteAPIKeyResponse ¶
func ParseSelfDeleteAPIKeyResponse(rsp *http.Response) (*SelfDeleteAPIKeyResponse, error)
ParseSelfDeleteAPIKeyResponse parses an HTTP response from a SelfDeleteAPIKeyWithResponse call
func (SelfDeleteAPIKeyResponse) Status ¶
func (r SelfDeleteAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (SelfDeleteAPIKeyResponse) StatusCode ¶
func (r SelfDeleteAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SelfDeleteAPIKeyResponseObject ¶
type SelfDeleteAPIKeyResponseObject interface {
VisitSelfDeleteAPIKeyResponse(w http.ResponseWriter) error
}
type SelfListAPIKeys200JSONResponse ¶
type SelfListAPIKeys200JSONResponse ListAPIKeysResult
func (SelfListAPIKeys200JSONResponse) VisitSelfListAPIKeysResponse ¶
func (response SelfListAPIKeys200JSONResponse) VisitSelfListAPIKeysResponse(w http.ResponseWriter) error
type SelfListAPIKeys503JSONResponse ¶
type SelfListAPIKeys503JSONResponse ErrorResponse
func (SelfListAPIKeys503JSONResponse) VisitSelfListAPIKeysResponse ¶
func (response SelfListAPIKeys503JSONResponse) VisitSelfListAPIKeysResponse(w http.ResponseWriter) error
type SelfListAPIKeysRequestObject ¶
type SelfListAPIKeysRequestObject struct {
}
type SelfListAPIKeysResponse ¶
type SelfListAPIKeysResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListAPIKeysResult
JSON503 *ErrorResponse
}
func ParseSelfListAPIKeysResponse ¶
func ParseSelfListAPIKeysResponse(rsp *http.Response) (*SelfListAPIKeysResponse, error)
ParseSelfListAPIKeysResponse parses an HTTP response from a SelfListAPIKeysWithResponse call
func (SelfListAPIKeysResponse) Status ¶
func (r SelfListAPIKeysResponse) Status() string
Status returns HTTPResponse.Status
func (SelfListAPIKeysResponse) StatusCode ¶
func (r SelfListAPIKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SelfListAPIKeysResponseObject ¶
type SelfListAPIKeysResponseObject interface {
VisitSelfListAPIKeysResponse(w http.ResponseWriter) error
}
type ServerInterface ¶
type ServerInterface interface {
// List API keys (admin)
// (GET /admin/api-keys)
ListAPIKeys(c *gin.Context, params ListAPIKeysParams)
// Create an API key (admin)
// (POST /admin/api-keys)
CreateAPIKey(c *gin.Context)
// Delete an API key (admin)
// (DELETE /admin/api-keys/{name})
DeleteAPIKey(c *gin.Context, name PathAPIKeyName)
// Promote a local API key to global (admin)
// (POST /admin/api-keys/{name}/promote)
PromoteAPIKey(c *gin.Context, name PathAPIKeyName)
// List all namespaces (admin)
// (GET /admin/namespaces)
ListNamespaces(c *gin.Context)
// List sandbox templates (admin)
// (GET /admin/sandbox-templates)
AdminListSandboxTemplates(c *gin.Context, params AdminListSandboxTemplatesParams)
// Create a sandbox template (admin)
// (POST /admin/sandbox-templates)
AdminCreateSandboxTemplate(c *gin.Context)
// Delete a sandbox template (admin)
// (DELETE /admin/sandbox-templates/{name})
AdminDeleteSandboxTemplate(c *gin.Context, name PathTemplateName)
// Update a sandbox template (admin)
// (PUT /admin/sandbox-templates/{name})
AdminUpdateSandboxTemplate(c *gin.Context, name PathTemplateName)
// Get cluster-wide sandbox statistics (admin)
// (GET /admin/statistics/sandboxes)
AdminGetSandboxStatistics(c *gin.Context)
// Get cluster-wide sandbox pool statistics (admin)
// (GET /admin/statistics/sandboxpools)
AdminGetSandboxPoolStatistics(c *gin.Context)
// List all teams (admin)
// (GET /admin/teams)
ListTeams(c *gin.Context)
// List users in a team (admin)
// (GET /admin/teams/{team}/users)
ListUsersByTeam(c *gin.Context, team PathTeam)
// List your own API keys (tenant)
// (GET /api-keys)
SelfListAPIKeys(c *gin.Context)
// Create an API key for yourself (tenant)
// (POST /api-keys)
SelfCreateAPIKey(c *gin.Context)
// Delete one of your own API keys (tenant)
// (DELETE /api-keys/{name})
SelfDeleteAPIKey(c *gin.Context, name PathAPIKeyName)
// Get caller identity
// (GET /auth/whoami)
GetWhoAmI(c *gin.Context)
// List clusters visible to the gateway
// (GET /clusters)
ListClusters(c *gin.Context)
// Report optional features enabled on this cluster
// (GET /feature-gates)
GetFeatureGates(c *gin.Context)
// List quotas for current user
// (GET /quotas)
ListQuotas(c *gin.Context)
// List sandbox templates
// (GET /sandbox-templates)
ListSandboxTemplates(c *gin.Context)
// Get a sandbox template
// (GET /sandbox-templates/{name})
GetSandboxTemplate(c *gin.Context, name PathTemplateName)
// List sandboxes
// (GET /sandboxes)
ListSandboxes(c *gin.Context, params ListSandboxesParams)
// Create a sandbox
// (POST /sandboxes)
CreateSandbox(c *gin.Context)
// Delete a sandbox
// (DELETE /sandboxes/{sandboxId})
DeleteSandbox(c *gin.Context, sandboxId PathSandboxId)
// Get a sandbox
// (GET /sandboxes/{sandboxId})
GetSandbox(c *gin.Context, sandboxId PathSandboxId)
// Execute a command inside a sandbox
// (POST /sandboxes/{sandboxId}/exec)
ExecSandboxCommand(c *gin.Context, sandboxId PathSandboxId)
// Create a short-lived exec token for WebSocket terminal
// (POST /sandboxes/{sandboxId}/exec-token)
CreateSandboxExecToken(c *gin.Context, sandboxId PathSandboxId)
// Check if all runtime endpoints of a sandbox are ready
// (GET /sandboxes/{sandboxId}/is_ready)
IsSandboxReady(c *gin.Context, sandboxId PathSandboxId)
// Get sandbox logs
// (GET /sandboxes/{sandboxId}/logs)
GetSandboxLogs(c *gin.Context, sandboxId PathSandboxId, params GetSandboxLogsParams)
// Update sandbox idle timeout
// (PUT /sandboxes/{sandboxId}/timeout)
SetSandboxTimeout(c *gin.Context, sandboxId PathSandboxId)
// List sandbox pools
// (GET /sandboxpools)
ListSandboxPools(c *gin.Context)
// Create a sandbox pool
// (POST /sandboxpools)
CreateSandboxPool(c *gin.Context)
// Delete a sandbox pool
// (DELETE /sandboxpools/{name})
DeleteSandboxPool(c *gin.Context, name PathPoolName)
// Get a sandbox pool
// (GET /sandboxpools/{name})
GetSandboxPool(c *gin.Context, name PathPoolName)
// Update a sandbox pool
// (PUT /sandboxpools/{name})
UpdateSandboxPool(c *gin.Context, name PathPoolName)
// Sync a sandbox pool's spec from its source template
// (POST /sandboxpools/{name}/sync-template)
SyncSandboxPoolTemplate(c *gin.Context, name PathPoolName)
// Preview the result of syncing pool to current template (dry-run, no write)
// (POST /sandboxpools/{name}/sync-template/preview)
PreviewSyncSandboxPoolTemplate(c *gin.Context, name PathPoolName)
// Get user-scoped sandbox statistics
// (GET /statistics/sandboxes)
GetUserSandboxStatistics(c *gin.Context)
}
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandler func(*gin.Context, error, int)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) AdminCreateSandboxTemplate ¶
func (siw *ServerInterfaceWrapper) AdminCreateSandboxTemplate(c *gin.Context)
AdminCreateSandboxTemplate operation middleware
func (*ServerInterfaceWrapper) AdminDeleteSandboxTemplate ¶
func (siw *ServerInterfaceWrapper) AdminDeleteSandboxTemplate(c *gin.Context)
AdminDeleteSandboxTemplate operation middleware
func (*ServerInterfaceWrapper) AdminGetSandboxPoolStatistics ¶
func (siw *ServerInterfaceWrapper) AdminGetSandboxPoolStatistics(c *gin.Context)
AdminGetSandboxPoolStatistics operation middleware
func (*ServerInterfaceWrapper) AdminGetSandboxStatistics ¶
func (siw *ServerInterfaceWrapper) AdminGetSandboxStatistics(c *gin.Context)
AdminGetSandboxStatistics operation middleware
func (*ServerInterfaceWrapper) AdminListSandboxTemplates ¶ added in v0.0.2
func (siw *ServerInterfaceWrapper) AdminListSandboxTemplates(c *gin.Context)
AdminListSandboxTemplates operation middleware
func (*ServerInterfaceWrapper) AdminUpdateSandboxTemplate ¶
func (siw *ServerInterfaceWrapper) AdminUpdateSandboxTemplate(c *gin.Context)
AdminUpdateSandboxTemplate operation middleware
func (*ServerInterfaceWrapper) CreateAPIKey ¶
func (siw *ServerInterfaceWrapper) CreateAPIKey(c *gin.Context)
CreateAPIKey operation middleware
func (*ServerInterfaceWrapper) CreateSandbox ¶
func (siw *ServerInterfaceWrapper) CreateSandbox(c *gin.Context)
CreateSandbox operation middleware
func (*ServerInterfaceWrapper) CreateSandboxExecToken ¶
func (siw *ServerInterfaceWrapper) CreateSandboxExecToken(c *gin.Context)
CreateSandboxExecToken operation middleware
func (*ServerInterfaceWrapper) CreateSandboxPool ¶
func (siw *ServerInterfaceWrapper) CreateSandboxPool(c *gin.Context)
CreateSandboxPool operation middleware
func (*ServerInterfaceWrapper) DeleteAPIKey ¶
func (siw *ServerInterfaceWrapper) DeleteAPIKey(c *gin.Context)
DeleteAPIKey operation middleware
func (*ServerInterfaceWrapper) DeleteSandbox ¶
func (siw *ServerInterfaceWrapper) DeleteSandbox(c *gin.Context)
DeleteSandbox operation middleware
func (*ServerInterfaceWrapper) DeleteSandboxPool ¶
func (siw *ServerInterfaceWrapper) DeleteSandboxPool(c *gin.Context)
DeleteSandboxPool operation middleware
func (*ServerInterfaceWrapper) ExecSandboxCommand ¶
func (siw *ServerInterfaceWrapper) ExecSandboxCommand(c *gin.Context)
ExecSandboxCommand operation middleware
func (*ServerInterfaceWrapper) GetFeatureGates ¶
func (siw *ServerInterfaceWrapper) GetFeatureGates(c *gin.Context)
GetFeatureGates operation middleware
func (*ServerInterfaceWrapper) GetSandbox ¶
func (siw *ServerInterfaceWrapper) GetSandbox(c *gin.Context)
GetSandbox operation middleware
func (*ServerInterfaceWrapper) GetSandboxLogs ¶
func (siw *ServerInterfaceWrapper) GetSandboxLogs(c *gin.Context)
GetSandboxLogs operation middleware
func (*ServerInterfaceWrapper) GetSandboxPool ¶
func (siw *ServerInterfaceWrapper) GetSandboxPool(c *gin.Context)
GetSandboxPool operation middleware
func (*ServerInterfaceWrapper) GetSandboxTemplate ¶
func (siw *ServerInterfaceWrapper) GetSandboxTemplate(c *gin.Context)
GetSandboxTemplate operation middleware
func (*ServerInterfaceWrapper) GetUserSandboxStatistics ¶
func (siw *ServerInterfaceWrapper) GetUserSandboxStatistics(c *gin.Context)
GetUserSandboxStatistics operation middleware
func (*ServerInterfaceWrapper) GetWhoAmI ¶
func (siw *ServerInterfaceWrapper) GetWhoAmI(c *gin.Context)
GetWhoAmI operation middleware
func (*ServerInterfaceWrapper) IsSandboxReady ¶
func (siw *ServerInterfaceWrapper) IsSandboxReady(c *gin.Context)
IsSandboxReady operation middleware
func (*ServerInterfaceWrapper) ListAPIKeys ¶
func (siw *ServerInterfaceWrapper) ListAPIKeys(c *gin.Context)
ListAPIKeys operation middleware
func (*ServerInterfaceWrapper) ListClusters ¶
func (siw *ServerInterfaceWrapper) ListClusters(c *gin.Context)
ListClusters operation middleware
func (*ServerInterfaceWrapper) ListNamespaces ¶
func (siw *ServerInterfaceWrapper) ListNamespaces(c *gin.Context)
ListNamespaces operation middleware
func (*ServerInterfaceWrapper) ListQuotas ¶
func (siw *ServerInterfaceWrapper) ListQuotas(c *gin.Context)
ListQuotas operation middleware
func (*ServerInterfaceWrapper) ListSandboxPools ¶
func (siw *ServerInterfaceWrapper) ListSandboxPools(c *gin.Context)
ListSandboxPools operation middleware
func (*ServerInterfaceWrapper) ListSandboxTemplates ¶
func (siw *ServerInterfaceWrapper) ListSandboxTemplates(c *gin.Context)
ListSandboxTemplates operation middleware
func (*ServerInterfaceWrapper) ListSandboxes ¶
func (siw *ServerInterfaceWrapper) ListSandboxes(c *gin.Context)
ListSandboxes operation middleware
func (*ServerInterfaceWrapper) ListTeams ¶
func (siw *ServerInterfaceWrapper) ListTeams(c *gin.Context)
ListTeams operation middleware
func (*ServerInterfaceWrapper) ListUsersByTeam ¶
func (siw *ServerInterfaceWrapper) ListUsersByTeam(c *gin.Context)
ListUsersByTeam operation middleware
func (*ServerInterfaceWrapper) PreviewSyncSandboxPoolTemplate ¶
func (siw *ServerInterfaceWrapper) PreviewSyncSandboxPoolTemplate(c *gin.Context)
PreviewSyncSandboxPoolTemplate operation middleware
func (*ServerInterfaceWrapper) PromoteAPIKey ¶
func (siw *ServerInterfaceWrapper) PromoteAPIKey(c *gin.Context)
PromoteAPIKey operation middleware
func (*ServerInterfaceWrapper) SelfCreateAPIKey ¶
func (siw *ServerInterfaceWrapper) SelfCreateAPIKey(c *gin.Context)
SelfCreateAPIKey operation middleware
func (*ServerInterfaceWrapper) SelfDeleteAPIKey ¶
func (siw *ServerInterfaceWrapper) SelfDeleteAPIKey(c *gin.Context)
SelfDeleteAPIKey operation middleware
func (*ServerInterfaceWrapper) SelfListAPIKeys ¶
func (siw *ServerInterfaceWrapper) SelfListAPIKeys(c *gin.Context)
SelfListAPIKeys operation middleware
func (*ServerInterfaceWrapper) SetSandboxTimeout ¶
func (siw *ServerInterfaceWrapper) SetSandboxTimeout(c *gin.Context)
SetSandboxTimeout operation middleware
func (*ServerInterfaceWrapper) SyncSandboxPoolTemplate ¶
func (siw *ServerInterfaceWrapper) SyncSandboxPoolTemplate(c *gin.Context)
SyncSandboxPoolTemplate operation middleware
func (*ServerInterfaceWrapper) UpdateSandboxPool ¶
func (siw *ServerInterfaceWrapper) UpdateSandboxPool(c *gin.Context)
UpdateSandboxPool operation middleware
type SetSandboxTimeout204Response ¶
type SetSandboxTimeout204Response struct {
}
func (SetSandboxTimeout204Response) VisitSetSandboxTimeoutResponse ¶
func (response SetSandboxTimeout204Response) VisitSetSandboxTimeoutResponse(w http.ResponseWriter) error
type SetSandboxTimeout401JSONResponse ¶
type SetSandboxTimeout401JSONResponse ErrorResponse
func (SetSandboxTimeout401JSONResponse) VisitSetSandboxTimeoutResponse ¶
func (response SetSandboxTimeout401JSONResponse) VisitSetSandboxTimeoutResponse(w http.ResponseWriter) error
type SetSandboxTimeout404JSONResponse ¶
type SetSandboxTimeout404JSONResponse ErrorResponse
func (SetSandboxTimeout404JSONResponse) VisitSetSandboxTimeoutResponse ¶
func (response SetSandboxTimeout404JSONResponse) VisitSetSandboxTimeoutResponse(w http.ResponseWriter) error
type SetSandboxTimeout500JSONResponse ¶
type SetSandboxTimeout500JSONResponse ErrorResponse
func (SetSandboxTimeout500JSONResponse) VisitSetSandboxTimeoutResponse ¶
func (response SetSandboxTimeout500JSONResponse) VisitSetSandboxTimeoutResponse(w http.ResponseWriter) error
type SetSandboxTimeoutJSONRequestBody ¶
type SetSandboxTimeoutJSONRequestBody = SetSandboxTimeoutRequest
SetSandboxTimeoutJSONRequestBody defines body for SetSandboxTimeout for application/json ContentType.
type SetSandboxTimeoutRequest ¶
type SetSandboxTimeoutRequest struct {
// Timeout New idle timeout duration. Duration string, e.g. '30m', '2h'. Use '0' to disable the timeout.
Timeout string `json:"timeout"`
}
SetSandboxTimeoutRequest defines model for SetSandboxTimeoutRequest.
type SetSandboxTimeoutRequestObject ¶
type SetSandboxTimeoutRequestObject struct {
SandboxId PathSandboxId `json:"sandboxId"`
Body *SetSandboxTimeoutJSONRequestBody
}
type SetSandboxTimeoutResponse ¶
type SetSandboxTimeoutResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseSetSandboxTimeoutResponse ¶
func ParseSetSandboxTimeoutResponse(rsp *http.Response) (*SetSandboxTimeoutResponse, error)
ParseSetSandboxTimeoutResponse parses an HTTP response from a SetSandboxTimeoutWithResponse call
func (SetSandboxTimeoutResponse) Status ¶
func (r SetSandboxTimeoutResponse) Status() string
Status returns HTTPResponse.Status
func (SetSandboxTimeoutResponse) StatusCode ¶
func (r SetSandboxTimeoutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetSandboxTimeoutResponseObject ¶
type SetSandboxTimeoutResponseObject interface {
VisitSetSandboxTimeoutResponse(w http.ResponseWriter) error
}
type StrictHandlerFunc ¶
type StrictHandlerFunc = strictgin.StrictGinHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// List API keys (admin)
// (GET /admin/api-keys)
ListAPIKeys(ctx context.Context, request ListAPIKeysRequestObject) (ListAPIKeysResponseObject, error)
// Create an API key (admin)
// (POST /admin/api-keys)
CreateAPIKey(ctx context.Context, request CreateAPIKeyRequestObject) (CreateAPIKeyResponseObject, error)
// Delete an API key (admin)
// (DELETE /admin/api-keys/{name})
DeleteAPIKey(ctx context.Context, request DeleteAPIKeyRequestObject) (DeleteAPIKeyResponseObject, error)
// Promote a local API key to global (admin)
// (POST /admin/api-keys/{name}/promote)
PromoteAPIKey(ctx context.Context, request PromoteAPIKeyRequestObject) (PromoteAPIKeyResponseObject, error)
// List all namespaces (admin)
// (GET /admin/namespaces)
ListNamespaces(ctx context.Context, request ListNamespacesRequestObject) (ListNamespacesResponseObject, error)
// List sandbox templates (admin)
// (GET /admin/sandbox-templates)
AdminListSandboxTemplates(ctx context.Context, request AdminListSandboxTemplatesRequestObject) (AdminListSandboxTemplatesResponseObject, error)
// Create a sandbox template (admin)
// (POST /admin/sandbox-templates)
AdminCreateSandboxTemplate(ctx context.Context, request AdminCreateSandboxTemplateRequestObject) (AdminCreateSandboxTemplateResponseObject, error)
// Delete a sandbox template (admin)
// (DELETE /admin/sandbox-templates/{name})
AdminDeleteSandboxTemplate(ctx context.Context, request AdminDeleteSandboxTemplateRequestObject) (AdminDeleteSandboxTemplateResponseObject, error)
// Update a sandbox template (admin)
// (PUT /admin/sandbox-templates/{name})
AdminUpdateSandboxTemplate(ctx context.Context, request AdminUpdateSandboxTemplateRequestObject) (AdminUpdateSandboxTemplateResponseObject, error)
// Get cluster-wide sandbox statistics (admin)
// (GET /admin/statistics/sandboxes)
AdminGetSandboxStatistics(ctx context.Context, request AdminGetSandboxStatisticsRequestObject) (AdminGetSandboxStatisticsResponseObject, error)
// Get cluster-wide sandbox pool statistics (admin)
// (GET /admin/statistics/sandboxpools)
AdminGetSandboxPoolStatistics(ctx context.Context, request AdminGetSandboxPoolStatisticsRequestObject) (AdminGetSandboxPoolStatisticsResponseObject, error)
// List all teams (admin)
// (GET /admin/teams)
ListTeams(ctx context.Context, request ListTeamsRequestObject) (ListTeamsResponseObject, error)
// List users in a team (admin)
// (GET /admin/teams/{team}/users)
ListUsersByTeam(ctx context.Context, request ListUsersByTeamRequestObject) (ListUsersByTeamResponseObject, error)
// List your own API keys (tenant)
// (GET /api-keys)
SelfListAPIKeys(ctx context.Context, request SelfListAPIKeysRequestObject) (SelfListAPIKeysResponseObject, error)
// Create an API key for yourself (tenant)
// (POST /api-keys)
SelfCreateAPIKey(ctx context.Context, request SelfCreateAPIKeyRequestObject) (SelfCreateAPIKeyResponseObject, error)
// Delete one of your own API keys (tenant)
// (DELETE /api-keys/{name})
SelfDeleteAPIKey(ctx context.Context, request SelfDeleteAPIKeyRequestObject) (SelfDeleteAPIKeyResponseObject, error)
// Get caller identity
// (GET /auth/whoami)
GetWhoAmI(ctx context.Context, request GetWhoAmIRequestObject) (GetWhoAmIResponseObject, error)
// List clusters visible to the gateway
// (GET /clusters)
ListClusters(ctx context.Context, request ListClustersRequestObject) (ListClustersResponseObject, error)
// Report optional features enabled on this cluster
// (GET /feature-gates)
GetFeatureGates(ctx context.Context, request GetFeatureGatesRequestObject) (GetFeatureGatesResponseObject, error)
// List quotas for current user
// (GET /quotas)
ListQuotas(ctx context.Context, request ListQuotasRequestObject) (ListQuotasResponseObject, error)
// List sandbox templates
// (GET /sandbox-templates)
ListSandboxTemplates(ctx context.Context, request ListSandboxTemplatesRequestObject) (ListSandboxTemplatesResponseObject, error)
// Get a sandbox template
// (GET /sandbox-templates/{name})
GetSandboxTemplate(ctx context.Context, request GetSandboxTemplateRequestObject) (GetSandboxTemplateResponseObject, error)
// List sandboxes
// (GET /sandboxes)
ListSandboxes(ctx context.Context, request ListSandboxesRequestObject) (ListSandboxesResponseObject, error)
// Create a sandbox
// (POST /sandboxes)
CreateSandbox(ctx context.Context, request CreateSandboxRequestObject) (CreateSandboxResponseObject, error)
// Delete a sandbox
// (DELETE /sandboxes/{sandboxId})
DeleteSandbox(ctx context.Context, request DeleteSandboxRequestObject) (DeleteSandboxResponseObject, error)
// Get a sandbox
// (GET /sandboxes/{sandboxId})
GetSandbox(ctx context.Context, request GetSandboxRequestObject) (GetSandboxResponseObject, error)
// Execute a command inside a sandbox
// (POST /sandboxes/{sandboxId}/exec)
ExecSandboxCommand(ctx context.Context, request ExecSandboxCommandRequestObject) (ExecSandboxCommandResponseObject, error)
// Create a short-lived exec token for WebSocket terminal
// (POST /sandboxes/{sandboxId}/exec-token)
CreateSandboxExecToken(ctx context.Context, request CreateSandboxExecTokenRequestObject) (CreateSandboxExecTokenResponseObject, error)
// Check if all runtime endpoints of a sandbox are ready
// (GET /sandboxes/{sandboxId}/is_ready)
IsSandboxReady(ctx context.Context, request IsSandboxReadyRequestObject) (IsSandboxReadyResponseObject, error)
// Get sandbox logs
// (GET /sandboxes/{sandboxId}/logs)
GetSandboxLogs(ctx context.Context, request GetSandboxLogsRequestObject) (GetSandboxLogsResponseObject, error)
// Update sandbox idle timeout
// (PUT /sandboxes/{sandboxId}/timeout)
SetSandboxTimeout(ctx context.Context, request SetSandboxTimeoutRequestObject) (SetSandboxTimeoutResponseObject, error)
// List sandbox pools
// (GET /sandboxpools)
ListSandboxPools(ctx context.Context, request ListSandboxPoolsRequestObject) (ListSandboxPoolsResponseObject, error)
// Create a sandbox pool
// (POST /sandboxpools)
CreateSandboxPool(ctx context.Context, request CreateSandboxPoolRequestObject) (CreateSandboxPoolResponseObject, error)
// Delete a sandbox pool
// (DELETE /sandboxpools/{name})
DeleteSandboxPool(ctx context.Context, request DeleteSandboxPoolRequestObject) (DeleteSandboxPoolResponseObject, error)
// Get a sandbox pool
// (GET /sandboxpools/{name})
GetSandboxPool(ctx context.Context, request GetSandboxPoolRequestObject) (GetSandboxPoolResponseObject, error)
// Update a sandbox pool
// (PUT /sandboxpools/{name})
UpdateSandboxPool(ctx context.Context, request UpdateSandboxPoolRequestObject) (UpdateSandboxPoolResponseObject, error)
// Sync a sandbox pool's spec from its source template
// (POST /sandboxpools/{name}/sync-template)
SyncSandboxPoolTemplate(ctx context.Context, request SyncSandboxPoolTemplateRequestObject) (SyncSandboxPoolTemplateResponseObject, error)
// Preview the result of syncing pool to current template (dry-run, no write)
// (POST /sandboxpools/{name}/sync-template/preview)
PreviewSyncSandboxPoolTemplate(ctx context.Context, request PreviewSyncSandboxPoolTemplateRequestObject) (PreviewSyncSandboxPoolTemplateResponseObject, error)
// Get user-scoped sandbox statistics
// (GET /statistics/sandboxes)
GetUserSandboxStatistics(ctx context.Context, request GetUserSandboxStatisticsRequestObject) (GetUserSandboxStatisticsResponseObject, error)
}
StrictServerInterface represents all server handlers.
type SyncSandboxPoolTemplate200JSONResponse ¶
type SyncSandboxPoolTemplate200JSONResponse SandboxPoolEnvelope
func (SyncSandboxPoolTemplate200JSONResponse) VisitSyncSandboxPoolTemplateResponse ¶
func (response SyncSandboxPoolTemplate200JSONResponse) VisitSyncSandboxPoolTemplateResponse(w http.ResponseWriter) error
type SyncSandboxPoolTemplate400JSONResponse ¶
type SyncSandboxPoolTemplate400JSONResponse ErrorResponse
func (SyncSandboxPoolTemplate400JSONResponse) VisitSyncSandboxPoolTemplateResponse ¶
func (response SyncSandboxPoolTemplate400JSONResponse) VisitSyncSandboxPoolTemplateResponse(w http.ResponseWriter) error
type SyncSandboxPoolTemplate404JSONResponse ¶
type SyncSandboxPoolTemplate404JSONResponse ErrorResponse
func (SyncSandboxPoolTemplate404JSONResponse) VisitSyncSandboxPoolTemplateResponse ¶
func (response SyncSandboxPoolTemplate404JSONResponse) VisitSyncSandboxPoolTemplateResponse(w http.ResponseWriter) error
type SyncSandboxPoolTemplate500JSONResponse ¶
type SyncSandboxPoolTemplate500JSONResponse ErrorResponse
func (SyncSandboxPoolTemplate500JSONResponse) VisitSyncSandboxPoolTemplateResponse ¶
func (response SyncSandboxPoolTemplate500JSONResponse) VisitSyncSandboxPoolTemplateResponse(w http.ResponseWriter) error
type SyncSandboxPoolTemplateRequestObject ¶
type SyncSandboxPoolTemplateRequestObject struct {
Name PathPoolName `json:"name"`
}
type SyncSandboxPoolTemplateResponse ¶
type SyncSandboxPoolTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SandboxPoolEnvelope
JSON400 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseSyncSandboxPoolTemplateResponse ¶
func ParseSyncSandboxPoolTemplateResponse(rsp *http.Response) (*SyncSandboxPoolTemplateResponse, error)
ParseSyncSandboxPoolTemplateResponse parses an HTTP response from a SyncSandboxPoolTemplateWithResponse call
func (SyncSandboxPoolTemplateResponse) Status ¶
func (r SyncSandboxPoolTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (SyncSandboxPoolTemplateResponse) StatusCode ¶
func (r SyncSandboxPoolTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyncSandboxPoolTemplateResponseObject ¶
type SyncSandboxPoolTemplateResponseObject interface {
VisitSyncSandboxPoolTemplateResponse(w http.ResponseWriter) error
}
type SyncTemplatePreviewResult ¶
type SyncTemplatePreviewResult struct {
// SpecYaml EmbeddedSandboxTemplate YAML after applying all overrides. Suitable for diff comparison against pool.specYaml.
SpecYaml string `json:"specYaml"`
// Version Version of the source template.
Version string `json:"version"`
}
SyncTemplatePreviewResult defines model for SyncTemplatePreviewResult.
type TeamsResult ¶
type TeamsResult struct {
// Items List of team names.
Items []string `json:"items"`
// Total Total number of teams.
Total int `json:"total"`
}
TeamsResult defines model for TeamsResult.
type UpdateSandboxPool200JSONResponse ¶
type UpdateSandboxPool200JSONResponse SandboxPoolEnvelope
func (UpdateSandboxPool200JSONResponse) VisitUpdateSandboxPoolResponse ¶
func (response UpdateSandboxPool200JSONResponse) VisitUpdateSandboxPoolResponse(w http.ResponseWriter) error
type UpdateSandboxPool400JSONResponse ¶
type UpdateSandboxPool400JSONResponse ErrorResponse
func (UpdateSandboxPool400JSONResponse) VisitUpdateSandboxPoolResponse ¶
func (response UpdateSandboxPool400JSONResponse) VisitUpdateSandboxPoolResponse(w http.ResponseWriter) error
type UpdateSandboxPool401JSONResponse ¶
type UpdateSandboxPool401JSONResponse ErrorResponse
func (UpdateSandboxPool401JSONResponse) VisitUpdateSandboxPoolResponse ¶
func (response UpdateSandboxPool401JSONResponse) VisitUpdateSandboxPoolResponse(w http.ResponseWriter) error
type UpdateSandboxPool404JSONResponse ¶
type UpdateSandboxPool404JSONResponse ErrorResponse
func (UpdateSandboxPool404JSONResponse) VisitUpdateSandboxPoolResponse ¶
func (response UpdateSandboxPool404JSONResponse) VisitUpdateSandboxPoolResponse(w http.ResponseWriter) error
type UpdateSandboxPool429JSONResponse ¶
type UpdateSandboxPool429JSONResponse ErrorResponse
func (UpdateSandboxPool429JSONResponse) VisitUpdateSandboxPoolResponse ¶
func (response UpdateSandboxPool429JSONResponse) VisitUpdateSandboxPoolResponse(w http.ResponseWriter) error
type UpdateSandboxPool500JSONResponse ¶
type UpdateSandboxPool500JSONResponse ErrorResponse
func (UpdateSandboxPool500JSONResponse) VisitUpdateSandboxPoolResponse ¶
func (response UpdateSandboxPool500JSONResponse) VisitUpdateSandboxPoolResponse(w http.ResponseWriter) error
type UpdateSandboxPoolJSONRequestBody ¶
type UpdateSandboxPoolJSONRequestBody = UpdateSandboxPoolRequest
UpdateSandboxPoolJSONRequestBody defines body for UpdateSandboxPool for application/json ContentType.
type UpdateSandboxPoolRequest ¶
type UpdateSandboxPoolRequest struct {
// Autoscaling Autoscaling configuration for a SandboxPool. When nil or enabled=false, spec.replicas is the only source of truth.
Autoscaling *PoolAutoscalingSpec `json:"autoscaling,omitempty"`
// MaxReplicas New maximum replicas bound for the autoscaler. Omit to leave unchanged.
MaxReplicas *int32 `json:"maxReplicas,omitempty"`
// MinReplicas New minimum replicas bound for the autoscaler. Omit to leave unchanged.
MinReplicas *int32 `json:"minReplicas,omitempty"`
// Overrides Partial overrides to update. Only image can be updated after pool creation.
Overrides *struct {
// Image Override the main container (containers[0]) image
Image *string `json:"image,omitempty"`
} `json:"overrides,omitempty"`
// PodCreationImagePolicy Update the pod creation image policy. Omit to leave unchanged.
PodCreationImagePolicy *UpdateSandboxPoolRequestPodCreationImagePolicy `json:"podCreationImagePolicy,omitempty"`
Replicas *int32 `json:"replicas,omitempty"`
}
UpdateSandboxPoolRequest defines model for UpdateSandboxPoolRequest.
type UpdateSandboxPoolRequestObject ¶
type UpdateSandboxPoolRequestObject struct {
Name PathPoolName `json:"name"`
Body *UpdateSandboxPoolJSONRequestBody
}
type UpdateSandboxPoolRequestPodCreationImagePolicy ¶
type UpdateSandboxPoolRequestPodCreationImagePolicy string
UpdateSandboxPoolRequestPodCreationImagePolicy Update the pod creation image policy. Omit to leave unchanged.
const ( UpdateSandboxPoolRequestPodCreationImagePolicyIdleImage UpdateSandboxPoolRequestPodCreationImagePolicy = "IdleImage" UpdateSandboxPoolRequestPodCreationImagePolicyPoolDefaultImage UpdateSandboxPoolRequestPodCreationImagePolicy = "PoolDefaultImage" )
Defines values for UpdateSandboxPoolRequestPodCreationImagePolicy.
func (UpdateSandboxPoolRequestPodCreationImagePolicy) Valid ¶
func (e UpdateSandboxPoolRequestPodCreationImagePolicy) Valid() bool
Valid indicates whether the value is a known member of the UpdateSandboxPoolRequestPodCreationImagePolicy enum.
type UpdateSandboxPoolResponse ¶
type UpdateSandboxPoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SandboxPoolEnvelope
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON429 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseUpdateSandboxPoolResponse ¶
func ParseUpdateSandboxPoolResponse(rsp *http.Response) (*UpdateSandboxPoolResponse, error)
ParseUpdateSandboxPoolResponse parses an HTTP response from a UpdateSandboxPoolWithResponse call
func (UpdateSandboxPoolResponse) Status ¶
func (r UpdateSandboxPoolResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSandboxPoolResponse) StatusCode ¶
func (r UpdateSandboxPoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSandboxPoolResponseObject ¶
type UpdateSandboxPoolResponseObject interface {
VisitUpdateSandboxPoolResponse(w http.ResponseWriter) error
}
type UpsertSandboxTemplateRequest ¶
type UpsertSandboxTemplateRequest struct {
// CrdJson Complete SandboxTemplate CRD object serialized as JSON. metadata.name is required. Labels, annotations, and resourceVersion are extracted from the JSON.
CrdJson string `json:"crdJson"`
}
UpsertSandboxTemplateRequest defines model for UpsertSandboxTemplateRequest.
type UserSandboxStatistics ¶
type UserSandboxStatistics struct {
// ByStatus Sandbox count broken down by status (e.g. Running, Failed).
ByStatus map[string]int `json:"byStatus"`
// Namespace Kubernetes namespace these statistics are scoped to.
Namespace string `json:"namespace"`
// Total Total number of sandboxes in the user's namespace.
Total int `json:"total"`
}
UserSandboxStatistics defines model for UserSandboxStatistics.
type UserSandboxStatisticsEnvelope ¶
type UserSandboxStatisticsEnvelope struct {
Statistics UserSandboxStatistics `json:"statistics"`
}
UserSandboxStatisticsEnvelope defines model for UserSandboxStatisticsEnvelope.
type UsersResult ¶
type UsersResult struct {
// Items List of usernames in the team.
Items []string `json:"items"`
// Total Total number of users in the team.
Total int `json:"total"`
}
UsersResult defines model for UsersResult.
type WhoAmIResult ¶
type WhoAmIResult struct {
// Role Role assigned to the caller's API key (e.g. tenant, admin).
Role string `json:"role"`
// Team Team extracted from the caller's auth context.
Team *string `json:"team,omitempty"`
// User Username extracted from the caller's auth context.
User *string `json:"user,omitempty"`
}
WhoAmIResult defines model for WhoAmIResult.