gen

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

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

View Source
const (
	AdminKeyAuthScopes = "AdminKeyAuth.Scopes"
	ApiKeyAuthScopes   = "ApiKeyAuth.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

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 NewAdminGetSandboxStatisticsRequest

func NewAdminGetSandboxStatisticsRequest(server string) (*http.Request, error)

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 NewCreateEnvSandboxPoolRequest added in v0.0.5

func NewCreateEnvSandboxPoolRequest(server string, name string, body CreateEnvSandboxPoolJSONRequestBody) (*http.Request, error)

NewCreateEnvSandboxPoolRequest calls the generic CreateEnvSandboxPool builder with application/json body

func NewCreateEnvSandboxPoolRequestWithBody added in v0.0.5

func NewCreateEnvSandboxPoolRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)

NewCreateEnvSandboxPoolRequestWithBody generates requests for CreateEnvSandboxPool with any type of body

func NewCreateSandboxEnvRequest added in v0.0.5

func NewCreateSandboxEnvRequest(server string, body CreateSandboxEnvJSONRequestBody) (*http.Request, error)

NewCreateSandboxEnvRequest calls the generic CreateSandboxEnv builder with application/json body

func NewCreateSandboxEnvRequestWithBody added in v0.0.5

func NewCreateSandboxEnvRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateSandboxEnvRequestWithBody generates requests for CreateSandboxEnv with any type of body

func NewCreateSandboxExecTokenRequest

func NewCreateSandboxExecTokenRequest(server string, sandboxId PathSandboxId) (*http.Request, error)

NewCreateSandboxExecTokenRequest generates requests for CreateSandboxExecToken

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 NewDeleteEnvAutoscalingGroupRequest added in v0.0.5

func NewDeleteEnvAutoscalingGroupRequest(server string, name string, groupName string) (*http.Request, error)

NewDeleteEnvAutoscalingGroupRequest generates requests for DeleteEnvAutoscalingGroup

func NewDeleteEnvSandboxPoolRequest added in v0.0.5

func NewDeleteEnvSandboxPoolRequest(server string, name string, poolName string) (*http.Request, error)

NewDeleteEnvSandboxPoolRequest generates requests for DeleteEnvSandboxPool

func NewDeleteSandboxEnvRequest added in v0.0.5

func NewDeleteSandboxEnvRequest(server string, name string) (*http.Request, error)

NewDeleteSandboxEnvRequest generates requests for DeleteSandboxEnv

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 NewGetEnvAutoscalingGroupRequest added in v0.0.5

func NewGetEnvAutoscalingGroupRequest(server string, name string, groupName string) (*http.Request, error)

NewGetEnvAutoscalingGroupRequest generates requests for GetEnvAutoscalingGroup

func NewGetEnvAutoscalingRequest added in v0.0.5

func NewGetEnvAutoscalingRequest(server string, name string) (*http.Request, error)

NewGetEnvAutoscalingRequest generates requests for GetEnvAutoscaling

func NewGetEnvSandboxPoolRequest added in v0.0.5

func NewGetEnvSandboxPoolRequest(server string, name string, poolName string) (*http.Request, error)

NewGetEnvSandboxPoolRequest generates requests for GetEnvSandboxPool

func NewGetFeatureGatesRequest

func NewGetFeatureGatesRequest(server string) (*http.Request, error)

NewGetFeatureGatesRequest generates requests for GetFeatureGates

func NewGetSandboxEnvRequest added in v0.0.5

func NewGetSandboxEnvRequest(server string, name string) (*http.Request, error)

NewGetSandboxEnvRequest generates requests for GetSandboxEnv

func NewGetSandboxLogsRequest

func NewGetSandboxLogsRequest(server string, sandboxId PathSandboxId, params *GetSandboxLogsParams) (*http.Request, error)

NewGetSandboxLogsRequest generates requests for GetSandboxLogs

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

func NewGetUserSandboxStatisticsRequest(server string) (*http.Request, error)

NewGetUserSandboxStatisticsRequest generates requests for GetUserSandboxStatistics

func NewGetWhoAmIRequest

func NewGetWhoAmIRequest(server string) (*http.Request, error)

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

func NewListClustersRequest(server string) (*http.Request, error)

NewListClustersRequest generates requests for ListClusters

func NewListEnvAutoscalingGroupsRequest added in v0.0.5

func NewListEnvAutoscalingGroupsRequest(server string, name string) (*http.Request, error)

NewListEnvAutoscalingGroupsRequest generates requests for ListEnvAutoscalingGroups

func NewListEnvEventsRequest added in v0.0.5

func NewListEnvEventsRequest(server string, name string, params *ListEnvEventsParams) (*http.Request, error)

NewListEnvEventsRequest generates requests for ListEnvEvents

func NewListEnvSandboxPoolsRequest added in v0.0.5

func NewListEnvSandboxPoolsRequest(server string, name string) (*http.Request, error)

NewListEnvSandboxPoolsRequest generates requests for ListEnvSandboxPools

func NewListInstanceTypesRequest added in v0.0.5

func NewListInstanceTypesRequest(server string) (*http.Request, error)

NewListInstanceTypesRequest generates requests for ListInstanceTypes

func NewListNamespacesRequest

func NewListNamespacesRequest(server string) (*http.Request, error)

NewListNamespacesRequest generates requests for ListNamespaces

func NewListQuotasRequest

func NewListQuotasRequest(server string) (*http.Request, error)

NewListQuotasRequest generates requests for ListQuotas

func NewListSandboxEnvsRequest added in v0.0.5

func NewListSandboxEnvsRequest(server string) (*http.Request, error)

NewListSandboxEnvsRequest generates requests for ListSandboxEnvs

func NewListSandboxTemplatesRequest

func NewListSandboxTemplatesRequest(server string) (*http.Request, error)

NewListSandboxTemplatesRequest generates requests for ListSandboxTemplates

func NewListSandboxesRequest

func NewListSandboxesRequest(server string, params *ListSandboxesParams) (*http.Request, error)

NewListSandboxesRequest generates requests for ListSandboxes

func NewListTeamsRequest

func NewListTeamsRequest(server string) (*http.Request, error)

NewListTeamsRequest generates requests for ListTeams

func NewListUsersByTeamRequest

func NewListUsersByTeamRequest(server string, team PathTeam) (*http.Request, error)

NewListUsersByTeamRequest generates requests for ListUsersByTeam

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

func NewSelfListAPIKeysRequest(server string) (*http.Request, error)

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 NewUpdateEnvAutoscalingGroupRequest added in v0.0.5

func NewUpdateEnvAutoscalingGroupRequest(server string, name string, groupName string, body UpdateEnvAutoscalingGroupJSONRequestBody) (*http.Request, error)

NewUpdateEnvAutoscalingGroupRequest calls the generic UpdateEnvAutoscalingGroup builder with application/json body

func NewUpdateEnvAutoscalingGroupRequestWithBody added in v0.0.5

func NewUpdateEnvAutoscalingGroupRequestWithBody(server string, name string, groupName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateEnvAutoscalingGroupRequestWithBody generates requests for UpdateEnvAutoscalingGroup with any type of body

func NewUpdateEnvSandboxPoolRequest added in v0.0.5

func NewUpdateEnvSandboxPoolRequest(server string, name string, poolName string, body UpdateEnvSandboxPoolJSONRequestBody) (*http.Request, error)

NewUpdateEnvSandboxPoolRequest calls the generic UpdateEnvSandboxPool builder with application/json body

func NewUpdateEnvSandboxPoolRequestWithBody added in v0.0.5

func NewUpdateEnvSandboxPoolRequestWithBody(server string, name string, poolName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateEnvSandboxPoolRequestWithBody generates requests for UpdateEnvSandboxPool with any type of body

func NewUpdateSandboxEnvRequest added in v0.0.5

func NewUpdateSandboxEnvRequest(server string, name string, body UpdateSandboxEnvJSONRequestBody) (*http.Request, error)

NewUpdateSandboxEnvRequest calls the generic UpdateSandboxEnv builder with application/json body

func NewUpdateSandboxEnvRequestWithBody added in v0.0.5

func NewUpdateSandboxEnvRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSandboxEnvRequestWithBody generates requests for UpdateSandboxEnv with any type of body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

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"`

	// 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

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

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 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

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

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

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 (c *Client) AdminCreateSandboxTemplateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AdminDeleteSandboxTemplate

func (c *Client) AdminDeleteSandboxTemplate(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AdminGetSandboxStatistics

func (c *Client) AdminGetSandboxStatistics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) AdminUpdateSandboxTemplateWithBody(ctx context.Context, name PathTemplateName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAPIKey

func (c *Client) CreateAPIKey(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAPIKeyWithBody

func (c *Client) CreateAPIKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateEnvSandboxPool added in v0.0.5

func (c *Client) CreateEnvSandboxPool(ctx context.Context, name string, body CreateEnvSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateEnvSandboxPoolWithBody added in v0.0.5

func (c *Client) CreateEnvSandboxPoolWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSandbox

func (c *Client) CreateSandbox(ctx context.Context, body CreateSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSandboxEnv added in v0.0.5

func (c *Client) CreateSandboxEnv(ctx context.Context, body CreateSandboxEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSandboxEnvWithBody added in v0.0.5

func (c *Client) CreateSandboxEnvWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSandboxExecToken

func (c *Client) CreateSandboxExecToken(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSandboxWithBody

func (c *Client) CreateSandboxWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAPIKey

func (c *Client) DeleteAPIKey(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteEnvAutoscalingGroup added in v0.0.5

func (c *Client) DeleteEnvAutoscalingGroup(ctx context.Context, name string, groupName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteEnvSandboxPool added in v0.0.5

func (c *Client) DeleteEnvSandboxPool(ctx context.Context, name string, poolName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSandbox

func (c *Client) DeleteSandbox(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSandboxEnv added in v0.0.5

func (c *Client) DeleteSandboxEnv(ctx context.Context, name string, 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 (c *Client) ExecSandboxCommandWithBody(ctx context.Context, sandboxId PathSandboxId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEnvAutoscaling added in v0.0.5

func (c *Client) GetEnvAutoscaling(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEnvAutoscalingGroup added in v0.0.5

func (c *Client) GetEnvAutoscalingGroup(ctx context.Context, name string, groupName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEnvSandboxPool added in v0.0.5

func (c *Client) GetEnvSandboxPool(ctx context.Context, name string, poolName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFeatureGates

func (c *Client) GetFeatureGates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSandbox

func (c *Client) GetSandbox(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSandboxEnv added in v0.0.5

func (c *Client) GetSandboxEnv(ctx context.Context, name string, 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) GetSandboxTemplate

func (c *Client) GetSandboxTemplate(ctx context.Context, name PathTemplateName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUserSandboxStatistics

func (c *Client) GetUserSandboxStatistics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWhoAmI

func (c *Client) GetWhoAmI(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) ListClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListEnvAutoscalingGroups added in v0.0.5

func (c *Client) ListEnvAutoscalingGroups(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListEnvEvents added in v0.0.5

func (c *Client) ListEnvEvents(ctx context.Context, name string, params *ListEnvEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListEnvSandboxPools added in v0.0.5

func (c *Client) ListEnvSandboxPools(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListInstanceTypes added in v0.0.5

func (c *Client) ListInstanceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListNamespaces

func (c *Client) ListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListQuotas

func (c *Client) ListQuotas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSandboxEnvs added in v0.0.5

func (c *Client) ListSandboxEnvs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSandboxTemplates

func (c *Client) ListSandboxTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSandboxes

func (c *Client) ListSandboxes(ctx context.Context, params *ListSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTeams

func (c *Client) ListTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListUsersByTeam

func (c *Client) ListUsersByTeam(ctx context.Context, team PathTeam, 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 (c *Client) SelfCreateAPIKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SelfDeleteAPIKey

func (c *Client) SelfDeleteAPIKey(ctx context.Context, name PathAPIKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SelfListAPIKeys

func (c *Client) SelfListAPIKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetSandboxTimeout

func (c *Client) SetSandboxTimeout(ctx context.Context, sandboxId PathSandboxId, body SetSandboxTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetSandboxTimeoutWithBody

func (c *Client) SetSandboxTimeoutWithBody(ctx context.Context, sandboxId PathSandboxId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEnvAutoscalingGroup added in v0.0.5

func (c *Client) UpdateEnvAutoscalingGroup(ctx context.Context, name string, groupName string, body UpdateEnvAutoscalingGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEnvAutoscalingGroupWithBody added in v0.0.5

func (c *Client) UpdateEnvAutoscalingGroupWithBody(ctx context.Context, name string, groupName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEnvSandboxPool added in v0.0.5

func (c *Client) UpdateEnvSandboxPool(ctx context.Context, name string, poolName string, body UpdateEnvSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEnvSandboxPoolWithBody added in v0.0.5

func (c *Client) UpdateEnvSandboxPoolWithBody(ctx context.Context, name string, poolName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSandboxEnv added in v0.0.5

func (c *Client) UpdateSandboxEnv(ctx context.Context, name string, body UpdateSandboxEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSandboxEnvWithBody added in v0.0.5

func (c *Client) UpdateSandboxEnvWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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)

	// 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)

	// ListSandboxEnvs request
	ListSandboxEnvs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSandboxEnvWithBody request with any body
	CreateSandboxEnvWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateSandboxEnv(ctx context.Context, body CreateSandboxEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSandboxEnv request
	DeleteSandboxEnv(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxEnv request
	GetSandboxEnv(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSandboxEnvWithBody request with any body
	UpdateSandboxEnvWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateSandboxEnv(ctx context.Context, name string, body UpdateSandboxEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEnvAutoscaling request
	GetEnvAutoscaling(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListEnvAutoscalingGroups request
	ListEnvAutoscalingGroups(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteEnvAutoscalingGroup request
	DeleteEnvAutoscalingGroup(ctx context.Context, name string, groupName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEnvAutoscalingGroup request
	GetEnvAutoscalingGroup(ctx context.Context, name string, groupName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateEnvAutoscalingGroupWithBody request with any body
	UpdateEnvAutoscalingGroupWithBody(ctx context.Context, name string, groupName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateEnvAutoscalingGroup(ctx context.Context, name string, groupName string, body UpdateEnvAutoscalingGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListEnvEvents request
	ListEnvEvents(ctx context.Context, name string, params *ListEnvEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListEnvSandboxPools request
	ListEnvSandboxPools(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateEnvSandboxPoolWithBody request with any body
	CreateEnvSandboxPoolWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateEnvSandboxPool(ctx context.Context, name string, body CreateEnvSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteEnvSandboxPool request
	DeleteEnvSandboxPool(ctx context.Context, name string, poolName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEnvSandboxPool request
	GetEnvSandboxPool(ctx context.Context, name string, poolName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateEnvSandboxPoolWithBody request with any body
	UpdateEnvSandboxPoolWithBody(ctx context.Context, name string, poolName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateEnvSandboxPool(ctx context.Context, name string, poolName string, body UpdateEnvSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFeatureGates request
	GetFeatureGates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListInstanceTypes request
	ListInstanceTypes(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)

	// GetUserSandboxStatistics request
	GetUserSandboxStatistics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) 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 (*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) CreateEnvSandboxPoolWithBodyWithResponse added in v0.0.5

func (c *ClientWithResponses) CreateEnvSandboxPoolWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvSandboxPoolResponse, error)

CreateEnvSandboxPoolWithBodyWithResponse request with arbitrary body returning *CreateEnvSandboxPoolResponse

func (*ClientWithResponses) CreateEnvSandboxPoolWithResponse added in v0.0.5

func (c *ClientWithResponses) CreateEnvSandboxPoolWithResponse(ctx context.Context, name string, body CreateEnvSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvSandboxPoolResponse, error)

func (*ClientWithResponses) CreateSandboxEnvWithBodyWithResponse added in v0.0.5

func (c *ClientWithResponses) CreateSandboxEnvWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSandboxEnvResponse, error)

CreateSandboxEnvWithBodyWithResponse request with arbitrary body returning *CreateSandboxEnvResponse

func (*ClientWithResponses) CreateSandboxEnvWithResponse added in v0.0.5

func (c *ClientWithResponses) CreateSandboxEnvWithResponse(ctx context.Context, body CreateSandboxEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSandboxEnvResponse, error)

func (*ClientWithResponses) CreateSandboxExecTokenWithResponse

func (c *ClientWithResponses) CreateSandboxExecTokenWithResponse(ctx context.Context, sandboxId PathSandboxId, reqEditors ...RequestEditorFn) (*CreateSandboxExecTokenResponse, error)

CreateSandboxExecTokenWithResponse request returning *CreateSandboxExecTokenResponse

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) DeleteEnvAutoscalingGroupWithResponse added in v0.0.5

func (c *ClientWithResponses) DeleteEnvAutoscalingGroupWithResponse(ctx context.Context, name string, groupName string, reqEditors ...RequestEditorFn) (*DeleteEnvAutoscalingGroupResponse, error)

DeleteEnvAutoscalingGroupWithResponse request returning *DeleteEnvAutoscalingGroupResponse

func (*ClientWithResponses) DeleteEnvSandboxPoolWithResponse added in v0.0.5

func (c *ClientWithResponses) DeleteEnvSandboxPoolWithResponse(ctx context.Context, name string, poolName string, reqEditors ...RequestEditorFn) (*DeleteEnvSandboxPoolResponse, error)

DeleteEnvSandboxPoolWithResponse request returning *DeleteEnvSandboxPoolResponse

func (*ClientWithResponses) DeleteSandboxEnvWithResponse added in v0.0.5

func (c *ClientWithResponses) DeleteSandboxEnvWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteSandboxEnvResponse, error)

DeleteSandboxEnvWithResponse request returning *DeleteSandboxEnvResponse

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) GetEnvAutoscalingGroupWithResponse added in v0.0.5

func (c *ClientWithResponses) GetEnvAutoscalingGroupWithResponse(ctx context.Context, name string, groupName string, reqEditors ...RequestEditorFn) (*GetEnvAutoscalingGroupResponse, error)

GetEnvAutoscalingGroupWithResponse request returning *GetEnvAutoscalingGroupResponse

func (*ClientWithResponses) GetEnvAutoscalingWithResponse added in v0.0.5

func (c *ClientWithResponses) GetEnvAutoscalingWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetEnvAutoscalingResponse, error)

GetEnvAutoscalingWithResponse request returning *GetEnvAutoscalingResponse

func (*ClientWithResponses) GetEnvSandboxPoolWithResponse added in v0.0.5

func (c *ClientWithResponses) GetEnvSandboxPoolWithResponse(ctx context.Context, name string, poolName string, reqEditors ...RequestEditorFn) (*GetEnvSandboxPoolResponse, error)

GetEnvSandboxPoolWithResponse request returning *GetEnvSandboxPoolResponse

func (*ClientWithResponses) GetFeatureGatesWithResponse

func (c *ClientWithResponses) GetFeatureGatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFeatureGatesResponse, error)

GetFeatureGatesWithResponse request returning *GetFeatureGatesResponse

func (*ClientWithResponses) GetSandboxEnvWithResponse added in v0.0.5

func (c *ClientWithResponses) GetSandboxEnvWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetSandboxEnvResponse, error)

GetSandboxEnvWithResponse request returning *GetSandboxEnvResponse

func (*ClientWithResponses) GetSandboxLogsWithResponse

func (c *ClientWithResponses) GetSandboxLogsWithResponse(ctx context.Context, sandboxId PathSandboxId, params *GetSandboxLogsParams, reqEditors ...RequestEditorFn) (*GetSandboxLogsResponse, error)

GetSandboxLogsWithResponse request returning *GetSandboxLogsResponse

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) ListEnvAutoscalingGroupsWithResponse added in v0.0.5

func (c *ClientWithResponses) ListEnvAutoscalingGroupsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ListEnvAutoscalingGroupsResponse, error)

ListEnvAutoscalingGroupsWithResponse request returning *ListEnvAutoscalingGroupsResponse

func (*ClientWithResponses) ListEnvEventsWithResponse added in v0.0.5

func (c *ClientWithResponses) ListEnvEventsWithResponse(ctx context.Context, name string, params *ListEnvEventsParams, reqEditors ...RequestEditorFn) (*ListEnvEventsResponse, error)

ListEnvEventsWithResponse request returning *ListEnvEventsResponse

func (*ClientWithResponses) ListEnvSandboxPoolsWithResponse added in v0.0.5

func (c *ClientWithResponses) ListEnvSandboxPoolsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ListEnvSandboxPoolsResponse, error)

ListEnvSandboxPoolsWithResponse request returning *ListEnvSandboxPoolsResponse

func (*ClientWithResponses) ListInstanceTypesWithResponse added in v0.0.5

func (c *ClientWithResponses) ListInstanceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInstanceTypesResponse, error)

ListInstanceTypesWithResponse request returning *ListInstanceTypesResponse

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) ListSandboxEnvsWithResponse added in v0.0.5

func (c *ClientWithResponses) ListSandboxEnvsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSandboxEnvsResponse, error)

ListSandboxEnvsWithResponse request returning *ListSandboxEnvsResponse

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) 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) UpdateEnvAutoscalingGroupWithBodyWithResponse added in v0.0.5

func (c *ClientWithResponses) UpdateEnvAutoscalingGroupWithBodyWithResponse(ctx context.Context, name string, groupName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvAutoscalingGroupResponse, error)

UpdateEnvAutoscalingGroupWithBodyWithResponse request with arbitrary body returning *UpdateEnvAutoscalingGroupResponse

func (*ClientWithResponses) UpdateEnvAutoscalingGroupWithResponse added in v0.0.5

func (c *ClientWithResponses) UpdateEnvAutoscalingGroupWithResponse(ctx context.Context, name string, groupName string, body UpdateEnvAutoscalingGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvAutoscalingGroupResponse, error)

func (*ClientWithResponses) UpdateEnvSandboxPoolWithBodyWithResponse added in v0.0.5

func (c *ClientWithResponses) UpdateEnvSandboxPoolWithBodyWithResponse(ctx context.Context, name string, poolName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvSandboxPoolResponse, error)

UpdateEnvSandboxPoolWithBodyWithResponse request with arbitrary body returning *UpdateEnvSandboxPoolResponse

func (*ClientWithResponses) UpdateEnvSandboxPoolWithResponse added in v0.0.5

func (c *ClientWithResponses) UpdateEnvSandboxPoolWithResponse(ctx context.Context, name string, poolName string, body UpdateEnvSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvSandboxPoolResponse, error)

func (*ClientWithResponses) UpdateSandboxEnvWithBodyWithResponse added in v0.0.5

func (c *ClientWithResponses) UpdateSandboxEnvWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSandboxEnvResponse, error)

UpdateSandboxEnvWithBodyWithResponse request with arbitrary body returning *UpdateSandboxEnvResponse

func (*ClientWithResponses) UpdateSandboxEnvWithResponse added in v0.0.5

func (c *ClientWithResponses) UpdateSandboxEnvWithResponse(ctx context.Context, name string, body UpdateSandboxEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSandboxEnvResponse, 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)

	// 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)

	// ListSandboxEnvsWithResponse request
	ListSandboxEnvsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSandboxEnvsResponse, error)

	// CreateSandboxEnvWithBodyWithResponse request with any body
	CreateSandboxEnvWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSandboxEnvResponse, error)

	CreateSandboxEnvWithResponse(ctx context.Context, body CreateSandboxEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSandboxEnvResponse, error)

	// DeleteSandboxEnvWithResponse request
	DeleteSandboxEnvWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteSandboxEnvResponse, error)

	// GetSandboxEnvWithResponse request
	GetSandboxEnvWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetSandboxEnvResponse, error)

	// UpdateSandboxEnvWithBodyWithResponse request with any body
	UpdateSandboxEnvWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSandboxEnvResponse, error)

	UpdateSandboxEnvWithResponse(ctx context.Context, name string, body UpdateSandboxEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSandboxEnvResponse, error)

	// GetEnvAutoscalingWithResponse request
	GetEnvAutoscalingWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetEnvAutoscalingResponse, error)

	// ListEnvAutoscalingGroupsWithResponse request
	ListEnvAutoscalingGroupsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ListEnvAutoscalingGroupsResponse, error)

	// DeleteEnvAutoscalingGroupWithResponse request
	DeleteEnvAutoscalingGroupWithResponse(ctx context.Context, name string, groupName string, reqEditors ...RequestEditorFn) (*DeleteEnvAutoscalingGroupResponse, error)

	// GetEnvAutoscalingGroupWithResponse request
	GetEnvAutoscalingGroupWithResponse(ctx context.Context, name string, groupName string, reqEditors ...RequestEditorFn) (*GetEnvAutoscalingGroupResponse, error)

	// UpdateEnvAutoscalingGroupWithBodyWithResponse request with any body
	UpdateEnvAutoscalingGroupWithBodyWithResponse(ctx context.Context, name string, groupName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvAutoscalingGroupResponse, error)

	UpdateEnvAutoscalingGroupWithResponse(ctx context.Context, name string, groupName string, body UpdateEnvAutoscalingGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvAutoscalingGroupResponse, error)

	// ListEnvEventsWithResponse request
	ListEnvEventsWithResponse(ctx context.Context, name string, params *ListEnvEventsParams, reqEditors ...RequestEditorFn) (*ListEnvEventsResponse, error)

	// ListEnvSandboxPoolsWithResponse request
	ListEnvSandboxPoolsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ListEnvSandboxPoolsResponse, error)

	// CreateEnvSandboxPoolWithBodyWithResponse request with any body
	CreateEnvSandboxPoolWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvSandboxPoolResponse, error)

	CreateEnvSandboxPoolWithResponse(ctx context.Context, name string, body CreateEnvSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvSandboxPoolResponse, error)

	// DeleteEnvSandboxPoolWithResponse request
	DeleteEnvSandboxPoolWithResponse(ctx context.Context, name string, poolName string, reqEditors ...RequestEditorFn) (*DeleteEnvSandboxPoolResponse, error)

	// GetEnvSandboxPoolWithResponse request
	GetEnvSandboxPoolWithResponse(ctx context.Context, name string, poolName string, reqEditors ...RequestEditorFn) (*GetEnvSandboxPoolResponse, error)

	// UpdateEnvSandboxPoolWithBodyWithResponse request with any body
	UpdateEnvSandboxPoolWithBodyWithResponse(ctx context.Context, name string, poolName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvSandboxPoolResponse, error)

	UpdateEnvSandboxPoolWithResponse(ctx context.Context, name string, poolName string, body UpdateEnvSandboxPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvSandboxPoolResponse, error)

	// GetFeatureGatesWithResponse request
	GetFeatureGatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFeatureGatesResponse, error)

	// ListInstanceTypesWithResponse request
	ListInstanceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInstanceTypesResponse, 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)

	// 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"`

	// 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 CreateEnvSandboxPool202JSONResponse added in v0.0.5

type CreateEnvSandboxPool202JSONResponse SandboxPoolEnvelope

func (CreateEnvSandboxPool202JSONResponse) VisitCreateEnvSandboxPoolResponse added in v0.0.5

func (response CreateEnvSandboxPool202JSONResponse) VisitCreateEnvSandboxPoolResponse(w http.ResponseWriter) error

type CreateEnvSandboxPool400JSONResponse added in v0.0.5

type CreateEnvSandboxPool400JSONResponse ErrorResponse

func (CreateEnvSandboxPool400JSONResponse) VisitCreateEnvSandboxPoolResponse added in v0.0.5

func (response CreateEnvSandboxPool400JSONResponse) VisitCreateEnvSandboxPoolResponse(w http.ResponseWriter) error

type CreateEnvSandboxPool401JSONResponse added in v0.0.5

type CreateEnvSandboxPool401JSONResponse ErrorResponse

func (CreateEnvSandboxPool401JSONResponse) VisitCreateEnvSandboxPoolResponse added in v0.0.5

func (response CreateEnvSandboxPool401JSONResponse) VisitCreateEnvSandboxPoolResponse(w http.ResponseWriter) error

type CreateEnvSandboxPool404JSONResponse added in v0.0.5

type CreateEnvSandboxPool404JSONResponse ErrorResponse

func (CreateEnvSandboxPool404JSONResponse) VisitCreateEnvSandboxPoolResponse added in v0.0.5

func (response CreateEnvSandboxPool404JSONResponse) VisitCreateEnvSandboxPoolResponse(w http.ResponseWriter) error

type CreateEnvSandboxPool409JSONResponse added in v0.0.5

type CreateEnvSandboxPool409JSONResponse ErrorResponse

func (CreateEnvSandboxPool409JSONResponse) VisitCreateEnvSandboxPoolResponse added in v0.0.5

func (response CreateEnvSandboxPool409JSONResponse) VisitCreateEnvSandboxPoolResponse(w http.ResponseWriter) error

type CreateEnvSandboxPool500JSONResponse added in v0.0.5

type CreateEnvSandboxPool500JSONResponse ErrorResponse

func (CreateEnvSandboxPool500JSONResponse) VisitCreateEnvSandboxPoolResponse added in v0.0.5

func (response CreateEnvSandboxPool500JSONResponse) VisitCreateEnvSandboxPoolResponse(w http.ResponseWriter) error

type CreateEnvSandboxPool503JSONResponse added in v0.0.5

type CreateEnvSandboxPool503JSONResponse ErrorResponse

func (CreateEnvSandboxPool503JSONResponse) VisitCreateEnvSandboxPoolResponse added in v0.0.5

func (response CreateEnvSandboxPool503JSONResponse) VisitCreateEnvSandboxPoolResponse(w http.ResponseWriter) error

type CreateEnvSandboxPoolJSONRequestBody added in v0.0.5

type CreateEnvSandboxPoolJSONRequestBody = CreateEnvSandboxPoolRequest

CreateEnvSandboxPoolJSONRequestBody defines body for CreateEnvSandboxPool for application/json ContentType.

type CreateEnvSandboxPoolRequest added in v0.0.5

type CreateEnvSandboxPoolRequest struct {
	// Annotations Annotations stamped onto this member's SandboxPool.
	Annotations *map[string]string `json:"annotations,omitempty"`

	// InlineResources Subset of Kubernetes corev1.ResourceRequirements used for per-Pool resource sizing on EnvClusterMember.inlineResources.
	InlineResources *ResourceRequirements `json:"inlineResources,omitempty"`

	// InstanceType InstanceType catalog entry. Required when the catalog is enabled and inlineResources is not supplied. May be combined with inlineResources to reserve a whole instance while running a smaller (rounded-down) Pod.
	InstanceType *string `json:"instanceType,omitempty"`

	// Labels Labels stamped onto this member's SandboxPool. Use for plugin-driven metadata such as quota.scitix.ai/url (parsed by the server to derive the pool-name suffix).
	Labels *map[string]string `json:"labels,omitempty"`

	// MaxReplicas Upper bound on this pool's replicas, enforced when the Env autoscaler distributes scale-up delta.
	MaxReplicas *int32 `json:"maxReplicas,omitempty"`

	// MinReplicas Lower bound on this pool's replicas, enforced as a per-member scale-down floor by the Env autoscaler.
	MinReplicas *int32 `json:"minReplicas,omitempty"`

	// Multiplier Multiplier applied to the InstanceType base resources to form the reservation envelope. Defaults to 1.
	Multiplier *int32 `json:"multiplier,omitempty"`

	// Replicas Initial replica count. Autoscaling, once enabled on this scalingGroup, owns subsequent changes.
	Replicas *int32 `json:"replicas,omitempty"`

	// UpdateStrategy Automatic rollout policy for member Pools when their rendered idle-Pod identity (Template edit, image / networkPolicy override) changes. Rollout mode is always Recreate: stale idle Pods are rebuilt; claimed (Running/Starting) Pods are never disrupted and roll after returning to Idle.
	UpdateStrategy *EnvUpdateStrategy `json:"updateStrategy,omitempty"`
}

CreateEnvSandboxPoolRequest Add a member SandboxPool to an Env. The server derives:

  • `name` = "{envName}-{resourceKey}[-{quotaShort}]"
  • `scalingGroup` = `resourceKey` (e.g. "2c8Gi")

where `resourceKey` is `instancetype.DeriveResourceKey(effective resources)` and `quotaShort` (when a quota label is supplied) is `quotaProvider.DeriveShortName(quotaID)`. Members in the same `scalingGroup` share an autoscaling policy.

Sizing accepts three shapes:

  • `instanceType` (+ optional `multiplier`) alone → the Pod is sized to the full `instanceType × multiplier` envelope (default `multiplier` = 1).
  • `instanceType` (+ `multiplier`) AND `inlineResources` together → `instanceType × multiplier` is the reservation/billing envelope, while `inlineResources` is the actual (possibly rounded-down) Pod request. Every dimension of `inlineResources` must be ≤ the envelope (round down allowed, round up rejected with 400); the reservation still charges quota for the whole instance.
  • `inlineResources` alone (catalog disabled or no `instanceType`) → explicit per-Pool resource requests/limits.

`scalingGroup` / pool name are derived from the effective Pod request (the rounded-down `inlineResources` when supplied, else the full envelope), so the name reflects the Pod's real size and Pools downsized differently land in distinct scaling groups.

type CreateEnvSandboxPoolRequestObject added in v0.0.5

type CreateEnvSandboxPoolRequestObject struct {
	Name string `json:"name"`
	Body *CreateEnvSandboxPoolJSONRequestBody
}

type CreateEnvSandboxPoolResponse added in v0.0.5

type CreateEnvSandboxPoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SandboxPoolEnvelope
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON409      *ErrorResponse
	JSON500      *ErrorResponse
	JSON503      *ErrorResponse
}

func ParseCreateEnvSandboxPoolResponse added in v0.0.5

func ParseCreateEnvSandboxPoolResponse(rsp *http.Response) (*CreateEnvSandboxPoolResponse, error)

ParseCreateEnvSandboxPoolResponse parses an HTTP response from a CreateEnvSandboxPoolWithResponse call

func (CreateEnvSandboxPoolResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (CreateEnvSandboxPoolResponse) StatusCode added in v0.0.5

func (r CreateEnvSandboxPoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEnvSandboxPoolResponseObject added in v0.0.5

type CreateEnvSandboxPoolResponseObject interface {
	VisitCreateEnvSandboxPoolResponse(w http.ResponseWriter) error
}

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 CreateSandboxEnv201JSONResponse added in v0.0.5

type CreateSandboxEnv201JSONResponse SandboxEnvEnvelope

func (CreateSandboxEnv201JSONResponse) VisitCreateSandboxEnvResponse added in v0.0.5

func (response CreateSandboxEnv201JSONResponse) VisitCreateSandboxEnvResponse(w http.ResponseWriter) error

type CreateSandboxEnv400JSONResponse added in v0.0.5

type CreateSandboxEnv400JSONResponse ErrorResponse

func (CreateSandboxEnv400JSONResponse) VisitCreateSandboxEnvResponse added in v0.0.5

func (response CreateSandboxEnv400JSONResponse) VisitCreateSandboxEnvResponse(w http.ResponseWriter) error

type CreateSandboxEnv401JSONResponse added in v0.0.5

type CreateSandboxEnv401JSONResponse ErrorResponse

func (CreateSandboxEnv401JSONResponse) VisitCreateSandboxEnvResponse added in v0.0.5

func (response CreateSandboxEnv401JSONResponse) VisitCreateSandboxEnvResponse(w http.ResponseWriter) error

type CreateSandboxEnv409JSONResponse added in v0.0.5

type CreateSandboxEnv409JSONResponse ErrorResponse

func (CreateSandboxEnv409JSONResponse) VisitCreateSandboxEnvResponse added in v0.0.5

func (response CreateSandboxEnv409JSONResponse) VisitCreateSandboxEnvResponse(w http.ResponseWriter) error

type CreateSandboxEnv500JSONResponse added in v0.0.5

type CreateSandboxEnv500JSONResponse ErrorResponse

func (CreateSandboxEnv500JSONResponse) VisitCreateSandboxEnvResponse added in v0.0.5

func (response CreateSandboxEnv500JSONResponse) VisitCreateSandboxEnvResponse(w http.ResponseWriter) error

type CreateSandboxEnvJSONRequestBody added in v0.0.5

type CreateSandboxEnvJSONRequestBody = CreateSandboxEnvRequest

CreateSandboxEnvJSONRequestBody defines body for CreateSandboxEnv for application/json ContentType.

type CreateSandboxEnvRequest added in v0.0.5

type CreateSandboxEnvRequest struct {
	Annotations *map[string]string           `json:"annotations,omitempty"`
	Labels      *map[string]string           `json:"labels,omitempty"`
	Mode        *CreateSandboxEnvRequestMode `json:"mode,omitempty"`

	// Name RFC 1123 DNS label. Capped at 24 chars so derived names (PoolName = EnvName + ResourceKey + QuotaShort, PodName = PoolName + UUID) stay under the 63-char label/DNS limit.
	Name string `json:"name"`

	// Overrides SandboxTemplate fields this Env replaces uniformly for every member Pool. The Env represents a single class of sandbox runtime, so image, image policy, default timeouts and image-pull credentials are expected to be shared; per-Pool variation lives on each EnvClusterMember.
	Overrides   *EnvOverrides         `json:"overrides,omitempty"`
	TemplateRef SandboxEnvTemplateRef `json:"templateRef"`
}

CreateSandboxEnvRequest defines model for CreateSandboxEnvRequest.

type CreateSandboxEnvRequestMode added in v0.0.5

type CreateSandboxEnvRequestMode string

CreateSandboxEnvRequestMode defines model for CreateSandboxEnvRequest.Mode.

const (
	CreateSandboxEnvRequestModeOnDemandJob CreateSandboxEnvRequestMode = "OnDemandJob"
	CreateSandboxEnvRequestModeWarmPool    CreateSandboxEnvRequestMode = "WarmPool"
)

Defines values for CreateSandboxEnvRequestMode.

func (CreateSandboxEnvRequestMode) Valid added in v0.0.5

Valid indicates whether the value is a known member of the CreateSandboxEnvRequestMode enum.

type CreateSandboxEnvRequestObject added in v0.0.5

type CreateSandboxEnvRequestObject struct {
	Body *CreateSandboxEnvJSONRequestBody
}

type CreateSandboxEnvResponse added in v0.0.5

type CreateSandboxEnvResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SandboxEnvEnvelope
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON409      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseCreateSandboxEnvResponse added in v0.0.5

func ParseCreateSandboxEnvResponse(rsp *http.Response) (*CreateSandboxEnvResponse, error)

ParseCreateSandboxEnvResponse parses an HTTP response from a CreateSandboxEnvWithResponse call

func (CreateSandboxEnvResponse) Status added in v0.0.5

func (r CreateSandboxEnvResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSandboxEnvResponse) StatusCode added in v0.0.5

func (r CreateSandboxEnvResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSandboxEnvResponseObject added in v0.0.5

type CreateSandboxEnvResponseObject interface {
	VisitCreateSandboxEnvResponse(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

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 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 DeleteEnvAutoscalingGroup200JSONResponse added in v0.0.5

type DeleteEnvAutoscalingGroup200JSONResponse DeleteEnvAutoscalingGroupResult

func (DeleteEnvAutoscalingGroup200JSONResponse) VisitDeleteEnvAutoscalingGroupResponse added in v0.0.5

func (response DeleteEnvAutoscalingGroup200JSONResponse) VisitDeleteEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type DeleteEnvAutoscalingGroup401JSONResponse added in v0.0.5

type DeleteEnvAutoscalingGroup401JSONResponse ErrorResponse

func (DeleteEnvAutoscalingGroup401JSONResponse) VisitDeleteEnvAutoscalingGroupResponse added in v0.0.5

func (response DeleteEnvAutoscalingGroup401JSONResponse) VisitDeleteEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type DeleteEnvAutoscalingGroup404JSONResponse added in v0.0.5

type DeleteEnvAutoscalingGroup404JSONResponse ErrorResponse

func (DeleteEnvAutoscalingGroup404JSONResponse) VisitDeleteEnvAutoscalingGroupResponse added in v0.0.5

func (response DeleteEnvAutoscalingGroup404JSONResponse) VisitDeleteEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type DeleteEnvAutoscalingGroup500JSONResponse added in v0.0.5

type DeleteEnvAutoscalingGroup500JSONResponse ErrorResponse

func (DeleteEnvAutoscalingGroup500JSONResponse) VisitDeleteEnvAutoscalingGroupResponse added in v0.0.5

func (response DeleteEnvAutoscalingGroup500JSONResponse) VisitDeleteEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type DeleteEnvAutoscalingGroupRequestObject added in v0.0.5

type DeleteEnvAutoscalingGroupRequestObject struct {
	Name      string `json:"name"`
	GroupName string `json:"groupName"`
}

type DeleteEnvAutoscalingGroupResponse added in v0.0.5

type DeleteEnvAutoscalingGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteEnvAutoscalingGroupResult
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseDeleteEnvAutoscalingGroupResponse added in v0.0.5

func ParseDeleteEnvAutoscalingGroupResponse(rsp *http.Response) (*DeleteEnvAutoscalingGroupResponse, error)

ParseDeleteEnvAutoscalingGroupResponse parses an HTTP response from a DeleteEnvAutoscalingGroupWithResponse call

func (DeleteEnvAutoscalingGroupResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (DeleteEnvAutoscalingGroupResponse) StatusCode added in v0.0.5

func (r DeleteEnvAutoscalingGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteEnvAutoscalingGroupResponseObject added in v0.0.5

type DeleteEnvAutoscalingGroupResponseObject interface {
	VisitDeleteEnvAutoscalingGroupResponse(w http.ResponseWriter) error
}

type DeleteEnvAutoscalingGroupResult added in v0.0.5

type DeleteEnvAutoscalingGroupResult struct {
	Name string `json:"name"`

	// Status 'Deleted' on success.
	Status string `json:"status"`
}

DeleteEnvAutoscalingGroupResult defines model for DeleteEnvAutoscalingGroupResult.

type DeleteEnvSandboxPool202JSONResponse added in v0.0.5

type DeleteEnvSandboxPool202JSONResponse DeleteSandboxPoolResult

func (DeleteEnvSandboxPool202JSONResponse) VisitDeleteEnvSandboxPoolResponse added in v0.0.5

func (response DeleteEnvSandboxPool202JSONResponse) VisitDeleteEnvSandboxPoolResponse(w http.ResponseWriter) error

type DeleteEnvSandboxPool401JSONResponse added in v0.0.5

type DeleteEnvSandboxPool401JSONResponse ErrorResponse

func (DeleteEnvSandboxPool401JSONResponse) VisitDeleteEnvSandboxPoolResponse added in v0.0.5

func (response DeleteEnvSandboxPool401JSONResponse) VisitDeleteEnvSandboxPoolResponse(w http.ResponseWriter) error

type DeleteEnvSandboxPool404JSONResponse added in v0.0.5

type DeleteEnvSandboxPool404JSONResponse ErrorResponse

func (DeleteEnvSandboxPool404JSONResponse) VisitDeleteEnvSandboxPoolResponse added in v0.0.5

func (response DeleteEnvSandboxPool404JSONResponse) VisitDeleteEnvSandboxPoolResponse(w http.ResponseWriter) error

type DeleteEnvSandboxPool500JSONResponse added in v0.0.5

type DeleteEnvSandboxPool500JSONResponse ErrorResponse

func (DeleteEnvSandboxPool500JSONResponse) VisitDeleteEnvSandboxPoolResponse added in v0.0.5

func (response DeleteEnvSandboxPool500JSONResponse) VisitDeleteEnvSandboxPoolResponse(w http.ResponseWriter) error

type DeleteEnvSandboxPool503JSONResponse added in v0.0.5

type DeleteEnvSandboxPool503JSONResponse ErrorResponse

func (DeleteEnvSandboxPool503JSONResponse) VisitDeleteEnvSandboxPoolResponse added in v0.0.5

func (response DeleteEnvSandboxPool503JSONResponse) VisitDeleteEnvSandboxPoolResponse(w http.ResponseWriter) error

type DeleteEnvSandboxPoolRequestObject added in v0.0.5

type DeleteEnvSandboxPoolRequestObject struct {
	Name     string `json:"name"`
	PoolName string `json:"poolName"`
}

type DeleteEnvSandboxPoolResponse added in v0.0.5

type DeleteEnvSandboxPoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DeleteSandboxPoolResult
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON500      *ErrorResponse
	JSON503      *ErrorResponse
}

func ParseDeleteEnvSandboxPoolResponse added in v0.0.5

func ParseDeleteEnvSandboxPoolResponse(rsp *http.Response) (*DeleteEnvSandboxPoolResponse, error)

ParseDeleteEnvSandboxPoolResponse parses an HTTP response from a DeleteEnvSandboxPoolWithResponse call

func (DeleteEnvSandboxPoolResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (DeleteEnvSandboxPoolResponse) StatusCode added in v0.0.5

func (r DeleteEnvSandboxPoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteEnvSandboxPoolResponseObject added in v0.0.5

type DeleteEnvSandboxPoolResponseObject interface {
	VisitDeleteEnvSandboxPoolResponse(w http.ResponseWriter) error
}

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 DeleteSandboxEnv202JSONResponse added in v0.0.5

type DeleteSandboxEnv202JSONResponse DeleteSandboxEnvResult

func (DeleteSandboxEnv202JSONResponse) VisitDeleteSandboxEnvResponse added in v0.0.5

func (response DeleteSandboxEnv202JSONResponse) VisitDeleteSandboxEnvResponse(w http.ResponseWriter) error

type DeleteSandboxEnv401JSONResponse added in v0.0.5

type DeleteSandboxEnv401JSONResponse ErrorResponse

func (DeleteSandboxEnv401JSONResponse) VisitDeleteSandboxEnvResponse added in v0.0.5

func (response DeleteSandboxEnv401JSONResponse) VisitDeleteSandboxEnvResponse(w http.ResponseWriter) error

type DeleteSandboxEnv404JSONResponse added in v0.0.5

type DeleteSandboxEnv404JSONResponse ErrorResponse

func (DeleteSandboxEnv404JSONResponse) VisitDeleteSandboxEnvResponse added in v0.0.5

func (response DeleteSandboxEnv404JSONResponse) VisitDeleteSandboxEnvResponse(w http.ResponseWriter) error

type DeleteSandboxEnv500JSONResponse added in v0.0.5

type DeleteSandboxEnv500JSONResponse ErrorResponse

func (DeleteSandboxEnv500JSONResponse) VisitDeleteSandboxEnvResponse added in v0.0.5

func (response DeleteSandboxEnv500JSONResponse) VisitDeleteSandboxEnvResponse(w http.ResponseWriter) error

type DeleteSandboxEnvRequestObject added in v0.0.5

type DeleteSandboxEnvRequestObject struct {
	Name string `json:"name"`
}

type DeleteSandboxEnvResponse added in v0.0.5

type DeleteSandboxEnvResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DeleteSandboxEnvResult
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseDeleteSandboxEnvResponse added in v0.0.5

func ParseDeleteSandboxEnvResponse(rsp *http.Response) (*DeleteSandboxEnvResponse, error)

ParseDeleteSandboxEnvResponse parses an HTTP response from a DeleteSandboxEnvWithResponse call

func (DeleteSandboxEnvResponse) Status added in v0.0.5

func (r DeleteSandboxEnvResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSandboxEnvResponse) StatusCode added in v0.0.5

func (r DeleteSandboxEnvResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSandboxEnvResponseObject added in v0.0.5

type DeleteSandboxEnvResponseObject interface {
	VisitDeleteSandboxEnvResponse(w http.ResponseWriter) error
}

type DeleteSandboxEnvResult added in v0.0.5

type DeleteSandboxEnvResult struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`

	// Status 'Terminating' on a successful delete request.
	Status string `json:"status"`
}

DeleteSandboxEnvResult defines model for DeleteSandboxEnvResult.

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

type DeleteSandboxTemplateResult struct {
	Name   string `json:"name"`
	Status string `json:"status"`
}

DeleteSandboxTemplateResult defines model for DeleteSandboxTemplateResult.

type EgressRules added in v0.0.7

type EgressRules struct {
	// AllowedCIDRs Permit egress to these CIDR blocks / bare IPs (promoted to /32).
	AllowedCIDRs *[]string `json:"allowedCIDRs,omitempty"`

	// AllowedDomains Permit egress to matching hostnames. Exact ('pypi.org'), wildcard-all ('*'), or suffix ('*.pythonhosted.org'). Matched via TLS SNI (443) / HTTP Host (80).
	AllowedDomains *[]string `json:"allowedDomains,omitempty"`

	// DeniedCIDRs Block egress to these CIDR blocks / bare IPs. Domains are not supported for deny.
	DeniedCIDRs *[]string `json:"deniedCIDRs,omitempty"`
}

EgressRules Allow/deny rules for sandbox outbound traffic.

type EnvAutoscalingGroup added in v0.0.5

type EnvAutoscalingGroup struct {
	// Enabled Per-group master switch. When false, this group's members keep manual Pool replicas; the autoscaler skips it. Each group is independent — other groups continue to run if Enabled=true.
	Enabled *bool `json:"enabled,omitempty"`

	// MaxReplicas Upper bound on the group's aggregate desired replicas.
	MaxReplicas *int32 `json:"maxReplicas,omitempty"`

	// MinReplicas Lower bound on the group's aggregate desired replicas.
	MinReplicas *int32 `json:"minReplicas,omitempty"`

	// Name ScalingGroup identifier this policy applies to. Matches the EnvClusterMember.scalingGroup of at least one member declared on the env — the group is created automatically when a member with this ScalingGroup is added, and garbage-collected by the Env reconciler once no member references it.
	Name string `json:"name"`

	// ScaleDownPolicy Scale-down behaviour for a scaling group.
	ScaleDownPolicy *PoolScaleDownPolicy `json:"scaleDownPolicy,omitempty"`

	// ScaleUpPolicy Scale-up behaviour for a scaling group (mode + cooldown + idle threshold + saturation cooldown).
	ScaleUpPolicy *PoolScaleUpPolicy `json:"scaleUpPolicy,omitempty"`
}

EnvAutoscalingGroup defines model for EnvAutoscalingGroup.

type EnvAutoscalingGroupEnvelope added in v0.0.5

type EnvAutoscalingGroupEnvelope struct {
	Group EnvAutoscalingGroup `json:"group"`
}

EnvAutoscalingGroupEnvelope defines model for EnvAutoscalingGroupEnvelope.

type EnvAutoscalingSpec added in v0.0.5

type EnvAutoscalingSpec struct {
	// Groups Per-scaling-group policies. The autoscaler iterates Groups in order and operates on the first Enabled=true entry; future multi-group routing will use member.ScalingGroup to dispatch.
	Groups *[]EnvAutoscalingGroup `json:"groups,omitempty"`
}

EnvAutoscalingSpec Env-level autoscaler config. The master switch lives per-group on EnvAutoscalingGroup.enabled so groups can be toggled independently.

type EnvAutoscalingSpecEnvelope added in v0.0.5

type EnvAutoscalingSpecEnvelope struct {
	// Spec Env-level autoscaler config. The master switch lives per-group on EnvAutoscalingGroup.enabled so groups can be toggled independently.
	Spec EnvAutoscalingSpec `json:"spec"`
}

EnvAutoscalingSpecEnvelope defines model for EnvAutoscalingSpecEnvelope.

type EnvClusterMember added in v0.0.5

type EnvClusterMember struct {
	// Config User-declared intent for one Env member. Plugins do not mutate this —
	// it stays equal to whatever the caller supplied at AddMember /
	// UpdateMember time, so it remains a faithful description of the
	// request shape across the member's lifetime.
	Config *EnvClusterMemberConfig `json:"config,omitempty"`

	// Name SandboxPool's metadata.name within the Env's namespace. Acts as the member identity within the Env.
	Name string `json:"name"`
}

EnvClusterMember One SandboxPool participating in an Env. Identity is `name`; everything the caller can declare (sizing, scaling-group, routing priorities, user-supplied labels/annotations) lives under `config`. The materialised Pool's metadata + spec are server-internal state (captured after plugin admission ran) and are NOT exposed here — query the SandboxPool CR directly via `GET /v1/sandboxenvs/{name}/sandboxpools/{poolName}` to inspect the rendered Pool.

type EnvClusterMemberConfig added in v0.0.5

type EnvClusterMemberConfig struct {
	// Annotations User-supplied SandboxPool metadata.annotations. Same propagation as labels.
	Annotations *map[string]string `json:"annotations,omitempty"`

	// InlineResources Subset of Kubernetes corev1.ResourceRequirements used for per-Pool resource sizing on EnvClusterMember.inlineResources.
	InlineResources *ResourceRequirements `json:"inlineResources,omitempty"`

	// InstanceType Optional InstanceType catalog entry referenced by this member.
	InstanceType *string `json:"instanceType,omitempty"`

	// Labels User-supplied SandboxPool metadata.labels (e.g. quota.scitix.ai/url). Plugins may consume these for routing decisions; their output lands on the server-internal member.metadata, not here.
	Labels *map[string]string `json:"labels,omitempty"`

	// MaxReplicas Upper bound on this member's spec.replicas. Enforced by the Env autoscaler when distributing scale-up delta.
	MaxReplicas *int32 `json:"maxReplicas,omitempty"`

	// MinReplicas Lower bound on this member's spec.replicas. Enforced by the Env autoscaler as a per-member scale-down floor.
	MinReplicas *int32 `json:"minReplicas,omitempty"`

	// Multiplier Multiplier applied to the InstanceType base resources for this member.
	Multiplier *int32 `json:"multiplier,omitempty"`

	// Priority Canonical preference: lower wins. Used for routing tiebreaks and as the default for scaleUpPriority / scaleDownPriority when those are unset.
	Priority *int32 `json:"priority,omitempty"`

	// ScaleDownPriority Scale-down order within the scaling group — lower shrunk first. When omitted, falls back to priority.
	ScaleDownPriority *int32 `json:"scaleDownPriority,omitempty"`

	// ScaleUpPriority Scale-up order within the scaling group — lower scaled first. When omitted, falls back to priority. Same-value tiebreak by name.
	ScaleUpPriority *int32 `json:"scaleUpPriority,omitempty"`

	// ScalingGroup ScalingGroup name (typically derived from the effective resources, e.g. '1c4Gi'). Members in the same group share autoscaling policy.
	ScalingGroup *string `json:"scalingGroup,omitempty"`

	// UpdateStrategy Automatic rollout policy for member Pools when their rendered idle-Pod identity (Template edit, image / networkPolicy override) changes. Rollout mode is always Recreate: stale idle Pods are rebuilt; claimed (Running/Starting) Pods are never disrupted and roll after returning to Idle.
	UpdateStrategy *EnvUpdateStrategy `json:"updateStrategy,omitempty"`
}

EnvClusterMemberConfig User-declared intent for one Env member. Plugins do not mutate this — it stays equal to whatever the caller supplied at AddMember / UpdateMember time, so it remains a faithful description of the request shape across the member's lifetime.

type EnvClusterSpec added in v0.0.5

type EnvClusterSpec struct {
	// ClusterID Cluster identifier that owns this segment. Each Worker only mutates the segment matching its own clusterID.
	ClusterID string `json:"clusterID"`

	// Members Member Pools in this cluster. MVP allows multiple members per cluster but a single ScalingGroup.
	Members *[]EnvClusterMember `json:"members,omitempty"`
}

EnvClusterSpec defines model for EnvClusterSpec.

type EnvClusterStatus added in v0.0.5

type EnvClusterStatus struct {
	ClusterID string `json:"clusterID"`

	// IsLocal True on the Worker that owns this segment. Other segments arrive via Hub Sync (future).
	IsLocal          *bool                `json:"isLocal,omitempty"`
	LastSnapshotTime *time.Time           `json:"lastSnapshotTime,omitempty"`
	ObservedMembers  *[]EnvObservedMember `json:"observedMembers,omitempty"`
}

EnvClusterStatus defines model for EnvClusterStatus.

type EnvCondition added in v0.0.5

type EnvCondition struct {
	LastTransitionTime *time.Time `json:"lastTransitionTime,omitempty"`
	Message            *string    `json:"message,omitempty"`
	Reason             *string    `json:"reason,omitempty"`
	Status             string     `json:"status"`
	Type               string     `json:"type"`
}

EnvCondition defines model for EnvCondition.

type EnvEvent added in v0.0.5

type EnvEvent struct {
	// Action Event action (machine-readable). Sometimes absent on older events.
	Action *string `json:"action,omitempty"`

	// Count Number of times this event has fired. K8s coalesces repeated identical events and bumps this counter.
	Count int `json:"count"`

	// FirstTimestamp First time this event was observed (RFC3339).
	FirstTimestamp *time.Time `json:"firstTimestamp,omitempty"`

	// InvolvedKind Kind of the K8s object this event was emitted against. One of SandboxEnv | SandboxPool.
	InvolvedKind string `json:"involvedKind"`

	// InvolvedName metadata.name of the involved object.
	InvolvedName string `json:"involvedName"`

	// LastTimestamp Most recent time this event was observed (RFC3339).
	LastTimestamp *time.Time `json:"lastTimestamp,omitempty"`

	// Message Human-readable message body.
	Message string `json:"message"`

	// Reason Event reason (machine-readable verb): ScaleUp / ScaleDown / PoolReady / PoolRecovered / Degraded / AutoscalerScaleUp / AutoscalerScaleDownStarted / AutoscalerScaleDownCompleted / AutoscalerScaleDownStuck / SandboxPoolPhase*.
	Reason string `json:"reason"`

	// Type Normal | Warning
	Type string `json:"type"`
}

EnvEvent defines model for EnvEvent.

type EnvObservedMember added in v0.0.5

type EnvObservedMember struct {
	// AutoscalingEnabled Whether this member's scalingGroup has the autoscaler on in its owning cluster. Each cluster scales independently, so a same-named group may be enabled in one cluster and off in another; this is the per-pool, per-cluster truth. Disambiguates scaleUpHeadroom == 0 (at ceiling) from autoscaling being off.
	AutoscalingEnabled *bool   `json:"autoscalingEnabled,omitempty"`
	CurrentReplicas    *int32  `json:"currentReplicas,omitempty"`
	DesiredReplicas    *int32  `json:"desiredReplicas,omitempty"`
	IdleCount          *int32  `json:"idleCount,omitempty"`
	InstanceType       *string `json:"instanceType,omitempty"`
	Multiplier         *int32  `json:"multiplier,omitempty"`
	Name               string  `json:"name"`

	// PendingRequests Mirror of SandboxPool.status.pendingRequests for this member — throttled at the source so visible value lags actual queue depth by up to ~3s.
	PendingRequests *int32 `json:"pendingRequests,omitempty"`
	RunningCount    *int32 `json:"runningCount,omitempty"`

	// SaturatedUntil Read-only mirror of SandboxPool.status.autoscaling.saturatedUntil. Until this time, the router deprioritises the member because the per-Pool autoscaler reported the cluster cannot fit additional replicas.
	SaturatedUntil *time.Time `json:"saturatedUntil,omitempty"`

	// ScaleUpHeadroom Estimated replicas this member can still add on its owning cluster before hitting the smaller of its own MaxReplicas and its group's aggregate MaxReplicas. Meaningful only when autoscalingEnabled: omitted = off, or on with no finite ceiling (unbounded); 0 = at ceiling; >0 = room left. Advisory estimate — the group ceiling is shared across members and quota is not folded in; for foreign members it also lags by the federation TTL.
	ScaleUpHeadroom *int32 `json:"scaleUpHeadroom,omitempty"`

	// ScalingGroup Autoscaling group this member belongs to on its owning cluster, echoed from spec. Empty when the member is in no group. Present on foreign (cross-cluster) members too, so a viewer without the foreign cluster's spec can still attribute the member to a group and link to that cluster's group detail.
	ScalingGroup *string                 `json:"scalingGroup,omitempty"`
	State        *EnvObservedMemberState `json:"state,omitempty"`

	// UpdateRevision Mirror of the member Pool's status.updateRevision — the target revision the Pool is rolling towards.
	UpdateRevision *string `json:"updateRevision,omitempty"`

	// UpdatedReplicas Mirror of the member Pool's status.updatedReplicas. A rollout is in progress while this is below the member's replica count.
	UpdatedReplicas *int32 `json:"updatedReplicas,omitempty"`
}

EnvObservedMember defines model for EnvObservedMember.

type EnvObservedMemberState added in v0.0.5

type EnvObservedMemberState string

EnvObservedMemberState defines model for EnvObservedMember.State.

const (
	Active       EnvObservedMemberState = "Active"
	Inconsistent EnvObservedMemberState = "Inconsistent"
	Missing      EnvObservedMemberState = "Missing"
	Saturated    EnvObservedMemberState = "Saturated"
)

Defines values for EnvObservedMemberState.

func (EnvObservedMemberState) Valid added in v0.0.5

func (e EnvObservedMemberState) Valid() bool

Valid indicates whether the value is a known member of the EnvObservedMemberState enum.

type EnvOverrides added in v0.0.5

type EnvOverrides struct {
	// DefaultIdleTimeout Mirrored onto every member Pool's spec.defaultIdleTimeout. Duration string, e.g. '30m'.
	DefaultIdleTimeout *string `json:"defaultIdleTimeout,omitempty"`

	// DefaultStartupTimeout Mirrored onto every member Pool's spec.defaultStartupTimeout. Duration string, e.g. '5m'.
	DefaultStartupTimeout *string `json:"defaultStartupTimeout,omitempty"`

	// Image Override the main container (containers[0]) image of the rendered Template. Applied before any per-Member overrides.
	Image           *string               `json:"image,omitempty"`
	ImagePullSecret *ImagePullSecretInput `json:"imagePullSecret,omitempty"`

	// ImagePullSecretConfigured Server-set on GET: true when the ips-{envName} Secret exists in the Env's namespace. Write attempts via PATCH are ignored.
	ImagePullSecretConfigured *bool `json:"imagePullSecretConfigured,omitempty"`

	// NetworkPolicy Sandbox egress network policy, enforced by an in-Pod transparent proxy sidecar (supports domain matching, which the cluster CNIs cannot). Allowlist / default-deny semantics.
	NetworkPolicy *SandboxNetworkPolicy `json:"networkPolicy,omitempty"`

	// PodCreationImagePolicy Mirrored onto every member Pool's spec.podCreationImagePolicy.
	PodCreationImagePolicy *EnvOverridesPodCreationImagePolicy `json:"podCreationImagePolicy,omitempty"`

	// UpdateStrategy Automatic rollout policy for member Pools when their rendered idle-Pod identity (Template edit, image / networkPolicy override) changes. Rollout mode is always Recreate: stale idle Pods are rebuilt; claimed (Running/Starting) Pods are never disrupted and roll after returning to Idle.
	UpdateStrategy *EnvUpdateStrategy `json:"updateStrategy,omitempty"`
}

EnvOverrides SandboxTemplate fields this Env replaces uniformly for every member Pool. The Env represents a single class of sandbox runtime, so image, image policy, default timeouts and image-pull credentials are expected to be shared; per-Pool variation lives on each EnvClusterMember.

type EnvOverridesPodCreationImagePolicy added in v0.0.5

type EnvOverridesPodCreationImagePolicy string

EnvOverridesPodCreationImagePolicy Mirrored onto every member Pool's spec.podCreationImagePolicy.

const (
	EnvOverridesPodCreationImagePolicyIdleImage        EnvOverridesPodCreationImagePolicy = "IdleImage"
	EnvOverridesPodCreationImagePolicyPoolDefaultImage EnvOverridesPodCreationImagePolicy = "PoolDefaultImage"
)

Defines values for EnvOverridesPodCreationImagePolicy.

func (EnvOverridesPodCreationImagePolicy) Valid added in v0.0.5

Valid indicates whether the value is a known member of the EnvOverridesPodCreationImagePolicy enum.

type EnvScalingGroupStatus added in v0.0.5

type EnvScalingGroupStatus struct {
	Name         string `json:"name"`
	TotalDesired *int32 `json:"totalDesired,omitempty"`
	TotalIdle    *int32 `json:"totalIdle,omitempty"`
	TotalRunning *int32 `json:"totalRunning,omitempty"`
}

EnvScalingGroupStatus defines model for EnvScalingGroupStatus.

type EnvUpdateStrategy added in v0.0.7

type EnvUpdateStrategy struct {
	// AutoUpdate Whether the member auto-rolls when its revision changes. Resolution order: member → env → default true. Set false to freeze a member on its current revision.
	AutoUpdate *bool `json:"autoUpdate,omitempty"`

	// MaxUnavailable Rollout unavailability budget as an absolute count ("3") or a percentage of desired idle replicas ("20%"). Rounded down, floored at 1. Resolution order: member → env → default "20%".
	MaxUnavailable *string `json:"maxUnavailable,omitempty"`
}

EnvUpdateStrategy Automatic rollout policy for member Pools when their rendered idle-Pod identity (Template edit, image / networkPolicy override) changes. Rollout mode is always Recreate: stale idle Pods are rebuilt; claimed (Running/Starting) Pods are never disrupted and roll after returning to Idle.

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

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 {
	// InstanceType True when a non-noop InstanceType catalog provider is active (catalog-driven member sizing in the Env upsert sheet, `/instancetypes` listing endpoint). False on deployments with no InstanceType backend wired in.
	InstanceType bool `json:"instanceType"`

	// 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 GetEnvAutoscaling200JSONResponse added in v0.0.5

type GetEnvAutoscaling200JSONResponse EnvAutoscalingSpecEnvelope

func (GetEnvAutoscaling200JSONResponse) VisitGetEnvAutoscalingResponse added in v0.0.5

func (response GetEnvAutoscaling200JSONResponse) VisitGetEnvAutoscalingResponse(w http.ResponseWriter) error

type GetEnvAutoscaling401JSONResponse added in v0.0.5

type GetEnvAutoscaling401JSONResponse ErrorResponse

func (GetEnvAutoscaling401JSONResponse) VisitGetEnvAutoscalingResponse added in v0.0.5

func (response GetEnvAutoscaling401JSONResponse) VisitGetEnvAutoscalingResponse(w http.ResponseWriter) error

type GetEnvAutoscaling404JSONResponse added in v0.0.5

type GetEnvAutoscaling404JSONResponse ErrorResponse

func (GetEnvAutoscaling404JSONResponse) VisitGetEnvAutoscalingResponse added in v0.0.5

func (response GetEnvAutoscaling404JSONResponse) VisitGetEnvAutoscalingResponse(w http.ResponseWriter) error

type GetEnvAutoscaling500JSONResponse added in v0.0.5

type GetEnvAutoscaling500JSONResponse ErrorResponse

func (GetEnvAutoscaling500JSONResponse) VisitGetEnvAutoscalingResponse added in v0.0.5

func (response GetEnvAutoscaling500JSONResponse) VisitGetEnvAutoscalingResponse(w http.ResponseWriter) error

type GetEnvAutoscalingGroup200JSONResponse added in v0.0.5

type GetEnvAutoscalingGroup200JSONResponse EnvAutoscalingGroupEnvelope

func (GetEnvAutoscalingGroup200JSONResponse) VisitGetEnvAutoscalingGroupResponse added in v0.0.5

func (response GetEnvAutoscalingGroup200JSONResponse) VisitGetEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type GetEnvAutoscalingGroup401JSONResponse added in v0.0.5

type GetEnvAutoscalingGroup401JSONResponse ErrorResponse

func (GetEnvAutoscalingGroup401JSONResponse) VisitGetEnvAutoscalingGroupResponse added in v0.0.5

func (response GetEnvAutoscalingGroup401JSONResponse) VisitGetEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type GetEnvAutoscalingGroup404JSONResponse added in v0.0.5

type GetEnvAutoscalingGroup404JSONResponse ErrorResponse

func (GetEnvAutoscalingGroup404JSONResponse) VisitGetEnvAutoscalingGroupResponse added in v0.0.5

func (response GetEnvAutoscalingGroup404JSONResponse) VisitGetEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type GetEnvAutoscalingGroup500JSONResponse added in v0.0.5

type GetEnvAutoscalingGroup500JSONResponse ErrorResponse

func (GetEnvAutoscalingGroup500JSONResponse) VisitGetEnvAutoscalingGroupResponse added in v0.0.5

func (response GetEnvAutoscalingGroup500JSONResponse) VisitGetEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type GetEnvAutoscalingGroupRequestObject added in v0.0.5

type GetEnvAutoscalingGroupRequestObject struct {
	Name      string `json:"name"`
	GroupName string `json:"groupName"`
}

type GetEnvAutoscalingGroupResponse added in v0.0.5

type GetEnvAutoscalingGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EnvAutoscalingGroupEnvelope
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseGetEnvAutoscalingGroupResponse added in v0.0.5

func ParseGetEnvAutoscalingGroupResponse(rsp *http.Response) (*GetEnvAutoscalingGroupResponse, error)

ParseGetEnvAutoscalingGroupResponse parses an HTTP response from a GetEnvAutoscalingGroupWithResponse call

func (GetEnvAutoscalingGroupResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (GetEnvAutoscalingGroupResponse) StatusCode added in v0.0.5

func (r GetEnvAutoscalingGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEnvAutoscalingGroupResponseObject added in v0.0.5

type GetEnvAutoscalingGroupResponseObject interface {
	VisitGetEnvAutoscalingGroupResponse(w http.ResponseWriter) error
}

type GetEnvAutoscalingRequestObject added in v0.0.5

type GetEnvAutoscalingRequestObject struct {
	Name string `json:"name"`
}

type GetEnvAutoscalingResponse added in v0.0.5

type GetEnvAutoscalingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EnvAutoscalingSpecEnvelope
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseGetEnvAutoscalingResponse added in v0.0.5

func ParseGetEnvAutoscalingResponse(rsp *http.Response) (*GetEnvAutoscalingResponse, error)

ParseGetEnvAutoscalingResponse parses an HTTP response from a GetEnvAutoscalingWithResponse call

func (GetEnvAutoscalingResponse) Status added in v0.0.5

func (r GetEnvAutoscalingResponse) Status() string

Status returns HTTPResponse.Status

func (GetEnvAutoscalingResponse) StatusCode added in v0.0.5

func (r GetEnvAutoscalingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEnvAutoscalingResponseObject added in v0.0.5

type GetEnvAutoscalingResponseObject interface {
	VisitGetEnvAutoscalingResponse(w http.ResponseWriter) error
}

type GetEnvSandboxPool200JSONResponse added in v0.0.5

type GetEnvSandboxPool200JSONResponse SandboxPoolEnvelope

func (GetEnvSandboxPool200JSONResponse) VisitGetEnvSandboxPoolResponse added in v0.0.5

func (response GetEnvSandboxPool200JSONResponse) VisitGetEnvSandboxPoolResponse(w http.ResponseWriter) error

type GetEnvSandboxPool401JSONResponse added in v0.0.5

type GetEnvSandboxPool401JSONResponse ErrorResponse

func (GetEnvSandboxPool401JSONResponse) VisitGetEnvSandboxPoolResponse added in v0.0.5

func (response GetEnvSandboxPool401JSONResponse) VisitGetEnvSandboxPoolResponse(w http.ResponseWriter) error

type GetEnvSandboxPool404JSONResponse added in v0.0.5

type GetEnvSandboxPool404JSONResponse ErrorResponse

func (GetEnvSandboxPool404JSONResponse) VisitGetEnvSandboxPoolResponse added in v0.0.5

func (response GetEnvSandboxPool404JSONResponse) VisitGetEnvSandboxPoolResponse(w http.ResponseWriter) error

type GetEnvSandboxPool500JSONResponse added in v0.0.5

type GetEnvSandboxPool500JSONResponse ErrorResponse

func (GetEnvSandboxPool500JSONResponse) VisitGetEnvSandboxPoolResponse added in v0.0.5

func (response GetEnvSandboxPool500JSONResponse) VisitGetEnvSandboxPoolResponse(w http.ResponseWriter) error

type GetEnvSandboxPoolRequestObject added in v0.0.5

type GetEnvSandboxPoolRequestObject struct {
	Name     string `json:"name"`
	PoolName string `json:"poolName"`
}

type GetEnvSandboxPoolResponse added in v0.0.5

type GetEnvSandboxPoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SandboxPoolEnvelope
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseGetEnvSandboxPoolResponse added in v0.0.5

func ParseGetEnvSandboxPoolResponse(rsp *http.Response) (*GetEnvSandboxPoolResponse, error)

ParseGetEnvSandboxPoolResponse parses an HTTP response from a GetEnvSandboxPoolWithResponse call

func (GetEnvSandboxPoolResponse) Status added in v0.0.5

func (r GetEnvSandboxPoolResponse) Status() string

Status returns HTTPResponse.Status

func (GetEnvSandboxPoolResponse) StatusCode added in v0.0.5

func (r GetEnvSandboxPoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEnvSandboxPoolResponseObject added in v0.0.5

type GetEnvSandboxPoolResponseObject interface {
	VisitGetEnvSandboxPoolResponse(w http.ResponseWriter) error
}

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 GetSandboxEnv200JSONResponse added in v0.0.5

type GetSandboxEnv200JSONResponse SandboxEnvEnvelope

func (GetSandboxEnv200JSONResponse) VisitGetSandboxEnvResponse added in v0.0.5

func (response GetSandboxEnv200JSONResponse) VisitGetSandboxEnvResponse(w http.ResponseWriter) error

type GetSandboxEnv401JSONResponse added in v0.0.5

type GetSandboxEnv401JSONResponse ErrorResponse

func (GetSandboxEnv401JSONResponse) VisitGetSandboxEnvResponse added in v0.0.5

func (response GetSandboxEnv401JSONResponse) VisitGetSandboxEnvResponse(w http.ResponseWriter) error

type GetSandboxEnv404JSONResponse added in v0.0.5

type GetSandboxEnv404JSONResponse ErrorResponse

func (GetSandboxEnv404JSONResponse) VisitGetSandboxEnvResponse added in v0.0.5

func (response GetSandboxEnv404JSONResponse) VisitGetSandboxEnvResponse(w http.ResponseWriter) error

type GetSandboxEnv422JSONResponse added in v0.0.5

type GetSandboxEnv422JSONResponse ErrorResponse

func (GetSandboxEnv422JSONResponse) VisitGetSandboxEnvResponse added in v0.0.5

func (response GetSandboxEnv422JSONResponse) VisitGetSandboxEnvResponse(w http.ResponseWriter) error

type GetSandboxEnv500JSONResponse added in v0.0.5

type GetSandboxEnv500JSONResponse ErrorResponse

func (GetSandboxEnv500JSONResponse) VisitGetSandboxEnvResponse added in v0.0.5

func (response GetSandboxEnv500JSONResponse) VisitGetSandboxEnvResponse(w http.ResponseWriter) error

type GetSandboxEnvRequestObject added in v0.0.5

type GetSandboxEnvRequestObject struct {
	Name string `json:"name"`
}

type GetSandboxEnvResponse added in v0.0.5

type GetSandboxEnvResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SandboxEnvEnvelope
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON422      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseGetSandboxEnvResponse added in v0.0.5

func ParseGetSandboxEnvResponse(rsp *http.Response) (*GetSandboxEnvResponse, error)

ParseGetSandboxEnvResponse parses an HTTP response from a GetSandboxEnvWithResponse call

func (GetSandboxEnvResponse) Status added in v0.0.5

func (r GetSandboxEnvResponse) Status() string

Status returns HTTPResponse.Status

func (GetSandboxEnvResponse) StatusCode added in v0.0.5

func (r GetSandboxEnvResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxEnvResponseObject added in v0.0.5

type GetSandboxEnvResponseObject interface {
	VisitGetSandboxEnvResponse(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 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

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

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

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

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 InstanceTypeItem added in v0.0.5

type InstanceTypeItem struct {
	// BaseResources Subset of Kubernetes corev1.ResourceRequirements used for per-Pool resource sizing on EnvClusterMember.inlineResources.
	BaseResources ResourceRequirements `json:"baseResources"`

	// Cost Free-form cost weight for client-side sorting / display.
	Cost *string `json:"cost,omitempty"`

	// Description Free-form description for tooltips.
	Description *string `json:"description,omitempty"`

	// Extensions Backend-specific key/value pairs (e.g. `gpu-type`). Open clients pass these through unchanged for display only.
	Extensions *map[string]string `json:"extensions,omitempty"`

	// MaxMultiplier Maximum allowed multiplier. 0 means no cap.
	MaxMultiplier *int32 `json:"maxMultiplier,omitempty"`

	// Name Catalog key. Unique within a deployment.
	Name string `json:"name"`

	// ShowName User-facing label. Falls back to `name` when empty.
	ShowName *string `json:"showName,omitempty"`
}

InstanceTypeItem Catalog entry exposing a named base resource shape. Sandboxes pick an entry by `name` and a positive integer multiplier; resolution to Pod resources happens server-side.

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 = []APIKeyItem

ListAPIKeysResult List of API key objects. Returned in full — the endpoint does not paginate.

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 ListEnvAutoscalingGroups200JSONResponse added in v0.0.5

type ListEnvAutoscalingGroups200JSONResponse ListEnvAutoscalingGroupsResult

func (ListEnvAutoscalingGroups200JSONResponse) VisitListEnvAutoscalingGroupsResponse added in v0.0.5

func (response ListEnvAutoscalingGroups200JSONResponse) VisitListEnvAutoscalingGroupsResponse(w http.ResponseWriter) error

type ListEnvAutoscalingGroups401JSONResponse added in v0.0.5

type ListEnvAutoscalingGroups401JSONResponse ErrorResponse

func (ListEnvAutoscalingGroups401JSONResponse) VisitListEnvAutoscalingGroupsResponse added in v0.0.5

func (response ListEnvAutoscalingGroups401JSONResponse) VisitListEnvAutoscalingGroupsResponse(w http.ResponseWriter) error

type ListEnvAutoscalingGroups404JSONResponse added in v0.0.5

type ListEnvAutoscalingGroups404JSONResponse ErrorResponse

func (ListEnvAutoscalingGroups404JSONResponse) VisitListEnvAutoscalingGroupsResponse added in v0.0.5

func (response ListEnvAutoscalingGroups404JSONResponse) VisitListEnvAutoscalingGroupsResponse(w http.ResponseWriter) error

type ListEnvAutoscalingGroups500JSONResponse added in v0.0.5

type ListEnvAutoscalingGroups500JSONResponse ErrorResponse

func (ListEnvAutoscalingGroups500JSONResponse) VisitListEnvAutoscalingGroupsResponse added in v0.0.5

func (response ListEnvAutoscalingGroups500JSONResponse) VisitListEnvAutoscalingGroupsResponse(w http.ResponseWriter) error

type ListEnvAutoscalingGroupsRequestObject added in v0.0.5

type ListEnvAutoscalingGroupsRequestObject struct {
	Name string `json:"name"`
}

type ListEnvAutoscalingGroupsResponse added in v0.0.5

type ListEnvAutoscalingGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListEnvAutoscalingGroupsResult
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseListEnvAutoscalingGroupsResponse added in v0.0.5

func ParseListEnvAutoscalingGroupsResponse(rsp *http.Response) (*ListEnvAutoscalingGroupsResponse, error)

ParseListEnvAutoscalingGroupsResponse parses an HTTP response from a ListEnvAutoscalingGroupsWithResponse call

func (ListEnvAutoscalingGroupsResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (ListEnvAutoscalingGroupsResponse) StatusCode added in v0.0.5

func (r ListEnvAutoscalingGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEnvAutoscalingGroupsResponseObject added in v0.0.5

type ListEnvAutoscalingGroupsResponseObject interface {
	VisitListEnvAutoscalingGroupsResponse(w http.ResponseWriter) error
}

type ListEnvAutoscalingGroupsResult added in v0.0.5

type ListEnvAutoscalingGroupsResult struct {
	Items []EnvAutoscalingGroup `json:"items"`
	Total int                   `json:"total"`
}

ListEnvAutoscalingGroupsResult defines model for ListEnvAutoscalingGroupsResult.

type ListEnvEvents200JSONResponse added in v0.0.5

type ListEnvEvents200JSONResponse ListEnvEventsResult

func (ListEnvEvents200JSONResponse) VisitListEnvEventsResponse added in v0.0.5

func (response ListEnvEvents200JSONResponse) VisitListEnvEventsResponse(w http.ResponseWriter) error

type ListEnvEvents401JSONResponse added in v0.0.5

type ListEnvEvents401JSONResponse ErrorResponse

func (ListEnvEvents401JSONResponse) VisitListEnvEventsResponse added in v0.0.5

func (response ListEnvEvents401JSONResponse) VisitListEnvEventsResponse(w http.ResponseWriter) error

type ListEnvEvents404JSONResponse added in v0.0.5

type ListEnvEvents404JSONResponse ErrorResponse

func (ListEnvEvents404JSONResponse) VisitListEnvEventsResponse added in v0.0.5

func (response ListEnvEvents404JSONResponse) VisitListEnvEventsResponse(w http.ResponseWriter) error

type ListEnvEvents500JSONResponse added in v0.0.5

type ListEnvEvents500JSONResponse ErrorResponse

func (ListEnvEvents500JSONResponse) VisitListEnvEventsResponse added in v0.0.5

func (response ListEnvEvents500JSONResponse) VisitListEnvEventsResponse(w http.ResponseWriter) error

type ListEnvEventsParams added in v0.0.5

type ListEnvEventsParams struct {
	// Limit Maximum number of events to return.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListEnvEventsParams defines parameters for ListEnvEvents.

type ListEnvEventsRequestObject added in v0.0.5

type ListEnvEventsRequestObject struct {
	Name   string `json:"name"`
	Params ListEnvEventsParams
}

type ListEnvEventsResponse added in v0.0.5

type ListEnvEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListEnvEventsResult
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseListEnvEventsResponse added in v0.0.5

func ParseListEnvEventsResponse(rsp *http.Response) (*ListEnvEventsResponse, error)

ParseListEnvEventsResponse parses an HTTP response from a ListEnvEventsWithResponse call

func (ListEnvEventsResponse) Status added in v0.0.5

func (r ListEnvEventsResponse) Status() string

Status returns HTTPResponse.Status

func (ListEnvEventsResponse) StatusCode added in v0.0.5

func (r ListEnvEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEnvEventsResponseObject added in v0.0.5

type ListEnvEventsResponseObject interface {
	VisitListEnvEventsResponse(w http.ResponseWriter) error
}

type ListEnvEventsResult added in v0.0.5

type ListEnvEventsResult struct {
	// Items Events scoped to this Env and its member Pools, sorted descending by lastTimestamp.
	Items []EnvEvent `json:"items"`

	// Total Total number of events returned.
	Total int `json:"total"`
}

ListEnvEventsResult defines model for ListEnvEventsResult.

type ListEnvSandboxPools200JSONResponse added in v0.0.5

type ListEnvSandboxPools200JSONResponse ListSandboxPoolsResult

func (ListEnvSandboxPools200JSONResponse) VisitListEnvSandboxPoolsResponse added in v0.0.5

func (response ListEnvSandboxPools200JSONResponse) VisitListEnvSandboxPoolsResponse(w http.ResponseWriter) error

type ListEnvSandboxPools401JSONResponse added in v0.0.5

type ListEnvSandboxPools401JSONResponse ErrorResponse

func (ListEnvSandboxPools401JSONResponse) VisitListEnvSandboxPoolsResponse added in v0.0.5

func (response ListEnvSandboxPools401JSONResponse) VisitListEnvSandboxPoolsResponse(w http.ResponseWriter) error

type ListEnvSandboxPools404JSONResponse added in v0.0.5

type ListEnvSandboxPools404JSONResponse ErrorResponse

func (ListEnvSandboxPools404JSONResponse) VisitListEnvSandboxPoolsResponse added in v0.0.5

func (response ListEnvSandboxPools404JSONResponse) VisitListEnvSandboxPoolsResponse(w http.ResponseWriter) error

type ListEnvSandboxPools500JSONResponse added in v0.0.5

type ListEnvSandboxPools500JSONResponse ErrorResponse

func (ListEnvSandboxPools500JSONResponse) VisitListEnvSandboxPoolsResponse added in v0.0.5

func (response ListEnvSandboxPools500JSONResponse) VisitListEnvSandboxPoolsResponse(w http.ResponseWriter) error

type ListEnvSandboxPoolsRequestObject added in v0.0.5

type ListEnvSandboxPoolsRequestObject struct {
	Name string `json:"name"`
}

type ListEnvSandboxPoolsResponse added in v0.0.5

type ListEnvSandboxPoolsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListSandboxPoolsResult
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseListEnvSandboxPoolsResponse added in v0.0.5

func ParseListEnvSandboxPoolsResponse(rsp *http.Response) (*ListEnvSandboxPoolsResponse, error)

ParseListEnvSandboxPoolsResponse parses an HTTP response from a ListEnvSandboxPoolsWithResponse call

func (ListEnvSandboxPoolsResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (ListEnvSandboxPoolsResponse) StatusCode added in v0.0.5

func (r ListEnvSandboxPoolsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEnvSandboxPoolsResponseObject added in v0.0.5

type ListEnvSandboxPoolsResponseObject interface {
	VisitListEnvSandboxPoolsResponse(w http.ResponseWriter) error
}

type ListInstanceTypes200JSONResponse added in v0.0.5

type ListInstanceTypes200JSONResponse ListInstanceTypesResult

func (ListInstanceTypes200JSONResponse) VisitListInstanceTypesResponse added in v0.0.5

func (response ListInstanceTypes200JSONResponse) VisitListInstanceTypesResponse(w http.ResponseWriter) error

type ListInstanceTypes401JSONResponse added in v0.0.5

type ListInstanceTypes401JSONResponse ErrorResponse

func (ListInstanceTypes401JSONResponse) VisitListInstanceTypesResponse added in v0.0.5

func (response ListInstanceTypes401JSONResponse) VisitListInstanceTypesResponse(w http.ResponseWriter) error

type ListInstanceTypes500JSONResponse added in v0.0.5

type ListInstanceTypes500JSONResponse ErrorResponse

func (ListInstanceTypes500JSONResponse) VisitListInstanceTypesResponse added in v0.0.5

func (response ListInstanceTypes500JSONResponse) VisitListInstanceTypesResponse(w http.ResponseWriter) error

type ListInstanceTypesRequestObject added in v0.0.5

type ListInstanceTypesRequestObject struct {
}

type ListInstanceTypesResponse added in v0.0.5

type ListInstanceTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListInstanceTypesResult
	JSON401      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseListInstanceTypesResponse added in v0.0.5

func ParseListInstanceTypesResponse(rsp *http.Response) (*ListInstanceTypesResponse, error)

ParseListInstanceTypesResponse parses an HTTP response from a ListInstanceTypesWithResponse call

func (ListInstanceTypesResponse) Status added in v0.0.5

func (r ListInstanceTypesResponse) Status() string

Status returns HTTPResponse.Status

func (ListInstanceTypesResponse) StatusCode added in v0.0.5

func (r ListInstanceTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInstanceTypesResponseObject added in v0.0.5

type ListInstanceTypesResponseObject interface {
	VisitListInstanceTypesResponse(w http.ResponseWriter) error
}

type ListInstanceTypesResult added in v0.0.5

type ListInstanceTypesResult struct {
	// Items Available InstanceType entries, sorted by name.
	Items []InstanceTypeItem `json:"items"`

	// Total Number of returned entries.
	Total int `json:"total"`
}

ListInstanceTypesResult defines model for ListInstanceTypesResult.

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 ListSandboxEnvs200JSONResponse added in v0.0.5

type ListSandboxEnvs200JSONResponse ListSandboxEnvsResult

func (ListSandboxEnvs200JSONResponse) VisitListSandboxEnvsResponse added in v0.0.5

func (response ListSandboxEnvs200JSONResponse) VisitListSandboxEnvsResponse(w http.ResponseWriter) error

type ListSandboxEnvs401JSONResponse added in v0.0.5

type ListSandboxEnvs401JSONResponse ErrorResponse

func (ListSandboxEnvs401JSONResponse) VisitListSandboxEnvsResponse added in v0.0.5

func (response ListSandboxEnvs401JSONResponse) VisitListSandboxEnvsResponse(w http.ResponseWriter) error

type ListSandboxEnvs500JSONResponse added in v0.0.5

type ListSandboxEnvs500JSONResponse ErrorResponse

func (ListSandboxEnvs500JSONResponse) VisitListSandboxEnvsResponse added in v0.0.5

func (response ListSandboxEnvs500JSONResponse) VisitListSandboxEnvsResponse(w http.ResponseWriter) error

type ListSandboxEnvsRequestObject added in v0.0.5

type ListSandboxEnvsRequestObject struct {
}

type ListSandboxEnvsResponse added in v0.0.5

type ListSandboxEnvsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListSandboxEnvsResult
	JSON401      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseListSandboxEnvsResponse added in v0.0.5

func ParseListSandboxEnvsResponse(rsp *http.Response) (*ListSandboxEnvsResponse, error)

ParseListSandboxEnvsResponse parses an HTTP response from a ListSandboxEnvsWithResponse call

func (ListSandboxEnvsResponse) Status added in v0.0.5

func (r ListSandboxEnvsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSandboxEnvsResponse) StatusCode added in v0.0.5

func (r ListSandboxEnvsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSandboxEnvsResponseObject added in v0.0.5

type ListSandboxEnvsResponseObject interface {
	VisitListSandboxEnvsResponse(w http.ResponseWriter) error
}

type ListSandboxEnvsResult added in v0.0.5

type ListSandboxEnvsResult struct {
	Items []SandboxEnvSummary `json:"items"`
}

ListSandboxEnvsResult defines model for ListSandboxEnvsResult.

type ListSandboxPoolsResult

type ListSandboxPoolsResult struct {
	// Items Page of SandboxPool summaries.
	Items []SandboxPoolSummary `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

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 MiddlewareFunc func(c *gin.Context)

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 PathAPIKeyName

type PathAPIKeyName = string

PathAPIKeyName defines model for PathAPIKeyName.

type PathSandboxId

type PathSandboxId = string

PathSandboxId defines model for PathSandboxId.

type PathTeam

type PathTeam = string

PathTeam defines model for PathTeam.

type PathTemplateName

type PathTemplateName = string

PathTemplateName defines model for PathTemplateName.

type PoolAutoScalingStatus added in v0.0.5

type PoolAutoScalingStatus struct {
	// IdleZeroSince When the Pool's idle replica count first hit zero in the current continuous-zero window; cleared when idle > 0. Drives the proactive scaleUpPolicy.idleThresholdSeconds trigger.
	IdleZeroSince *time.Time `json:"idleZeroSince,omitempty"`

	// LastScaleDownTime Most recent wall-clock time spec.replicas shrank by one. Drives scaleDownPolicy.stabilizationSeconds.
	LastScaleDownTime *time.Time `json:"lastScaleDownTime,omitempty"`

	// LastScaleUpAttemptResult Outcome of the most recent admission probe. Enough = probe accepted the full target; JustRight = partial admission (reserved for finer-grained reporting); Insufficient = cluster has no headroom; Failed = invalid spec or internal probe error.
	LastScaleUpAttemptResult *PoolAutoScalingStatusLastScaleUpAttemptResult `json:"lastScaleUpAttemptResult,omitempty"`

	// LastScaleUpAttemptTime Most recent wall-clock time the admission probe ran for a scale-up attempt, regardless of outcome. Combined with lastScaleUpAttemptResult and scaleUpPolicy.saturationCooldownSeconds drives the saturation cooldown.
	LastScaleUpAttemptTime *time.Time `json:"lastScaleUpAttemptTime,omitempty"`

	// LastScaleUpTime Most recent wall-clock time spec.replicas grew (probe accepted at least one additional replica). Drives the success cooldown gate (scaleUpPolicy.cooldownSeconds).
	LastScaleUpTime *time.Time `json:"lastScaleUpTime,omitempty"`

	// ObservedGeneration metadata.generation observed when the autoscaler last wrote this block. Clients use it to confirm status freshness relative to spec.
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	// ScaleUpErrorMessage Short single-line description of the most recent non-Enough probe result. Empty when lastScaleUpAttemptResult is Enough.
	ScaleUpErrorMessage *string `json:"scaleUpErrorMessage,omitempty"`
}

PoolAutoScalingStatus Per-Pool autoscaler decision state. Sole writer is the SandboxPool reconciler running the autoscaling decision pipeline.

type PoolAutoScalingStatusLastScaleUpAttemptResult added in v0.0.5

type PoolAutoScalingStatusLastScaleUpAttemptResult string

PoolAutoScalingStatusLastScaleUpAttemptResult Outcome of the most recent admission probe. Enough = probe accepted the full target; JustRight = partial admission (reserved for finer-grained reporting); Insufficient = cluster has no headroom; Failed = invalid spec or internal probe error.

const (
	PoolAutoScalingStatusLastScaleUpAttemptResultEnough       PoolAutoScalingStatusLastScaleUpAttemptResult = "Enough"
	PoolAutoScalingStatusLastScaleUpAttemptResultFailed       PoolAutoScalingStatusLastScaleUpAttemptResult = "Failed"
	PoolAutoScalingStatusLastScaleUpAttemptResultInsufficient PoolAutoScalingStatusLastScaleUpAttemptResult = "Insufficient"
	PoolAutoScalingStatusLastScaleUpAttemptResultJustRight    PoolAutoScalingStatusLastScaleUpAttemptResult = "JustRight"
)

Defines values for PoolAutoScalingStatusLastScaleUpAttemptResult.

func (PoolAutoScalingStatusLastScaleUpAttemptResult) Valid added in v0.0.5

Valid indicates whether the value is a known member of the PoolAutoScalingStatusLastScaleUpAttemptResult enum.

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 during which a scale-down-marked pod can still be claimed (cancels deletion).
	ProtectionWindowSeconds *int32 `json:"protectionWindowSeconds,omitempty"`

	// StabilizationSeconds Minimum seconds between two consecutive scale-down events.
	StabilizationSeconds *int32 `json:"stabilizationSeconds,omitempty"`
}

PoolScaleDownPolicy Scale-down behaviour for a scaling group.

type PoolScaleUpPolicy

type PoolScaleUpPolicy struct {
	// CooldownSeconds Minimum seconds between two consecutive scale-up events (group-level).
	CooldownSeconds *int32 `json:"cooldownSeconds,omitempty"`

	// IdleThresholdSeconds Aggregate idleReplicas=0 must persist for this long before the proactive trigger fires. Zero disables proactive scale-up.
	IdleThresholdSeconds *int32 `json:"idleThresholdSeconds,omitempty"`

	// IdleZeroQuietWindowSeconds Suppresses the proactive idleZero trigger when no Sandbox.Create has been observed for the Pool within this many seconds. Reactive scale-ups (queue length > 0 with no idle Pod) ignore this window. Set to 0 to disable the gate. Default 300.
	IdleZeroQuietWindowSeconds *int32 `json:"idleZeroQuietWindowSeconds,omitempty"`

	// Mode Conservative=+1 per decision; Default=+max(1,ceil(N/2)); Aggressive=double up to maxReplicas.
	Mode *PoolScaleUpPolicyMode `json:"mode,omitempty"`

	// SaturationCooldownSeconds How long a member stays marked saturated after a probe returned InsufficientResources / InvalidSpec. Default 60s.
	SaturationCooldownSeconds *int32 `json:"saturationCooldownSeconds,omitempty"`
}

PoolScaleUpPolicy Scale-up behaviour for a scaling group (mode + cooldown + idle threshold + saturation cooldown).

type PoolScaleUpPolicyMode

type PoolScaleUpPolicyMode string

PoolScaleUpPolicyMode Conservative=+1 per decision; Default=+max(1,ceil(N/2)); Aggressive=double up to maxReplicas.

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"`
}

PoolTemplateOverrides Legacy pool-create overrides. Image-only — per-Pool resource sizing flows through EnvClusterMember.{instanceType,multiplier,inlineResources} now.

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 QueryLimit

type QueryLimit = int

QueryLimit defines model for QueryLimit.

type QueryNamespace

type QueryNamespace = string

QueryNamespace defines model for QueryNamespace.

type QueryOffset

type QueryOffset = int

QueryOffset defines model for QueryOffset.

type QueryPoolName

type QueryPoolName = string

QueryPoolName defines model for QueryPoolName.

type QuerySandboxStatus

type QuerySandboxStatus = string

QuerySandboxStatus defines model for QuerySandboxStatus.

type Quota

type Quota struct {
	// Id Stable identifier for this quota. Used by clients to reference the quota in subsequent API calls (e.g. as the reservation target). Opaque from the caller's perspective.
	Id string `json:"id"`

	// Metadata Provider-attached display hints, opaque to the core schema. Keys are provider-defined (e.g. a vendor-prefixed pool name/type); generic clients ignore unknown keys.
	Metadata *map[string]string `json:"metadata,omitempty"`

	// Name Human-readable display name for this quota. Suitable for showing in UI; not guaranteed to be unique across providers.
	Name string `json:"name"`

	// Resources Resource accounting for a single quota, keyed by resource name (e.g. cpu, memory, nvidia.com/gpu, sci.c22-2).
	Resources *QuotaResources `json:"resources,omitempty"`

	// Team Team that owns this quota, if applicable.
	Team *string `json:"team,omitempty"`

	// User User that owns this quota, if applicable.
	User *string `json:"user,omitempty"`
}

Quota defines model for Quota.

type QuotaResources added in v0.0.5

type QuotaResources struct {
	// Free Available amount (total - used - reserved).
	Free *map[string]string `json:"free,omitempty"`

	// Reserved Reserved but not yet actively consumed amount.
	Reserved *map[string]string `json:"reserved,omitempty"`

	// Total Total capacity allocated to this quota.
	Total *map[string]string `json:"total,omitempty"`

	// Used Currently consumed amount.
	Used *map[string]string `json:"used,omitempty"`
}

QuotaResources Resource accounting for a single quota, keyed by resource name (e.g. cpu, memory, nvidia.com/gpu, sci.c22-2).

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

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResourceRequirements added in v0.0.5

type ResourceRequirements struct {
	// Limits Resource limits keyed by resource name.
	Limits *map[string]string `json:"limits,omitempty"`

	// Requests Resource requests keyed by resource name (e.g. cpu, memory). Values use Kubernetes Quantity strings, e.g. '500m', '1Gi'.
	Requests *map[string]string `json:"requests,omitempty"`
}

ResourceRequirements Subset of Kubernetes corev1.ResourceRequirements used for per-Pool resource sizing on EnvClusterMember.inlineResources.

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"`

	// EnvName Name of the SandboxEnv that owns the pool this sandbox was allocated from (from pod label agentbox.navix.sh/env).
	EnvName *string `json:"envName,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 SandboxEnv added in v0.0.5

type SandboxEnv struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// EnvDocs Rendered Markdown documentation for this Env, sourced from the linked SandboxTemplate's agentbox.navix.sh/docs annotation. The substitutions ${AGBX_ENV_NAME}, ${AGBX_POOL_NAME} (renders the env name for backward compat), ${AGBX_CLUSTER_ID}, ${AGBX_API_KEY} are performed server-side before the response is returned. When the docs reference ${AGBX_API_KEY} but the caller has no key with a recoverable plaintext token, GetSandboxEnv returns 422 with errorCode API_KEY_REQUIRED.
	EnvDocs   *string            `json:"envDocs,omitempty"`
	Labels    *map[string]string `json:"labels,omitempty"`
	Name      string             `json:"name"`
	Namespace string             `json:"namespace"`
	Spec      SandboxEnvSpec     `json:"spec"`
	Status    *SandboxEnvStatus  `json:"status,omitempty"`
	Team      *string            `json:"team,omitempty"`
	User      *string            `json:"user,omitempty"`
}

SandboxEnv defines model for SandboxEnv.

type SandboxEnvDefaults added in v0.0.5

type SandboxEnvDefaults struct {
	// InstanceType Default InstanceType used when Sandbox.create does not specify one. References an entry in the InstanceType catalog.
	InstanceType *string `json:"instanceType,omitempty"`

	// Multiplier Default multiplier applied to the InstanceType base resources.
	Multiplier *int32 `json:"multiplier,omitempty"`
}

SandboxEnvDefaults defines model for SandboxEnvDefaults.

type SandboxEnvEnvelope added in v0.0.5

type SandboxEnvEnvelope struct {
	Env SandboxEnv `json:"env"`
}

SandboxEnvEnvelope defines model for SandboxEnvEnvelope.

type SandboxEnvSpec added in v0.0.5

type SandboxEnvSpec struct {
	// Autoscaling Env-level autoscaler config. The master switch lives per-group on EnvAutoscalingGroup.enabled so groups can be toggled independently.
	Autoscaling *EnvAutoscalingSpec `json:"autoscaling,omitempty"`
	Clusters    *[]EnvClusterSpec   `json:"clusters,omitempty"`
	Defaults    *SandboxEnvDefaults `json:"defaults,omitempty"`

	// Mode Routing mode — WarmPool dispatches to pre-warmed member Pools; OnDemandJob (Phase 3) creates a SandboxJob per request.
	Mode SandboxEnvSpecMode `json:"mode"`

	// Overrides SandboxTemplate fields this Env replaces uniformly for every member Pool. The Env represents a single class of sandbox runtime, so image, image policy, default timeouts and image-pull credentials are expected to be shared; per-Pool variation lives on each EnvClusterMember.
	Overrides   *EnvOverrides         `json:"overrides,omitempty"`
	TemplateRef SandboxEnvTemplateRef `json:"templateRef"`
}

SandboxEnvSpec defines model for SandboxEnvSpec.

type SandboxEnvSpecMode added in v0.0.5

type SandboxEnvSpecMode string

SandboxEnvSpecMode Routing mode — WarmPool dispatches to pre-warmed member Pools; OnDemandJob (Phase 3) creates a SandboxJob per request.

const (
	SandboxEnvSpecModeOnDemandJob SandboxEnvSpecMode = "OnDemandJob"
	SandboxEnvSpecModeWarmPool    SandboxEnvSpecMode = "WarmPool"
)

Defines values for SandboxEnvSpecMode.

func (SandboxEnvSpecMode) Valid added in v0.0.5

func (e SandboxEnvSpecMode) Valid() bool

Valid indicates whether the value is a known member of the SandboxEnvSpecMode enum.

type SandboxEnvStatus added in v0.0.5

type SandboxEnvStatus struct {
	Clusters   *[]EnvClusterStatus `json:"clusters,omitempty"`
	Conditions *[]EnvCondition     `json:"conditions,omitempty"`

	// DesiredReplicas Env-wide sum of every member Pool's desired replicas.
	DesiredReplicas *int32 `json:"desiredReplicas,omitempty"`

	// IdleReplicas Env-wide sum of every member Pool's idle replicas.
	IdleReplicas *int32 `json:"idleReplicas,omitempty"`

	// MemberCount Total member Pools across all cluster segments (today: the local segment only). Exists because printer columns cannot evaluate the nested clusters[].members[] array.
	MemberCount *int32 `json:"memberCount,omitempty"`

	// RunningReplicas Env-wide sum of every member Pool's running replicas.
	RunningReplicas *int32                   `json:"runningReplicas,omitempty"`
	ScalingGroups   *[]EnvScalingGroupStatus `json:"scalingGroups,omitempty"`
}

SandboxEnvStatus defines model for SandboxEnvStatus.

type SandboxEnvSummary added in v0.0.5

type SandboxEnvSummary struct {
	// AutoscalingEnabledGroupCount Number of autoscaling groups with enabled=true. There is no Env-level autoscaling switch; autoscaling is toggled per group.
	AutoscalingEnabledGroupCount *int32 `json:"autoscalingEnabledGroupCount,omitempty"`

	// CreatedAt RFC 3339 timestamp when the Env was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// DesiredReplicas Env-wide sum of every member Pool's desired replicas.
	DesiredReplicas *int32 `json:"desiredReplicas,omitempty"`

	// IdleReplicas Env-wide sum of every member Pool's idle replicas.
	IdleReplicas *int32 `json:"idleReplicas,omitempty"`

	// MemberCount Total member Pools across all cluster segments.
	MemberCount *int32 `json:"memberCount,omitempty"`

	// Mode How the Env satisfies sandbox-create requests.
	Mode *SandboxEnvSummaryMode `json:"mode,omitempty"`

	// Name Name of the SandboxEnv (RFC 1123 DNS label, unique within its namespace).
	Name      string  `json:"name"`
	Namespace *string `json:"namespace,omitempty"`

	// Ready True when the Env's Ready condition is True (all members Active).
	Ready *bool `json:"ready,omitempty"`

	// RunningReplicas Env-wide sum of every member Pool's running replicas.
	RunningReplicas *int32 `json:"runningReplicas,omitempty"`

	// ScalingGroupCount Total number of autoscaling groups declared on the Env.
	ScalingGroupCount *int32  `json:"scalingGroupCount,omitempty"`
	Team              *string `json:"team,omitempty"`

	// TemplateName The bound SandboxTemplate name (from spec.templateRef.name).
	TemplateName *string `json:"templateName,omitempty"`
	User         *string `json:"user,omitempty"`
}

SandboxEnvSummary Lightweight summary returned by the List endpoint — omits the full spec (autoscaling policies, per-member config) and detailed per-member status. Fetch GET /envs/{name} for the complete SandboxEnv.

type SandboxEnvSummaryMode added in v0.0.5

type SandboxEnvSummaryMode string

SandboxEnvSummaryMode How the Env satisfies sandbox-create requests.

const (
	OnDemandJob SandboxEnvSummaryMode = "OnDemandJob"
	WarmPool    SandboxEnvSummaryMode = "WarmPool"
)

Defines values for SandboxEnvSummaryMode.

func (SandboxEnvSummaryMode) Valid added in v0.0.5

func (e SandboxEnvSummaryMode) Valid() bool

Valid indicates whether the value is a known member of the SandboxEnvSummaryMode enum.

type SandboxEnvTemplateRef added in v0.0.5

type SandboxEnvTemplateRef struct {
	// Name Name of the cluster-scoped SandboxTemplate the Env binds to.
	Name string `json:"name"`

	// Version Optional Template version pin. When empty, the Env tracks the Template's current spec.version.
	Version *string `json:"version,omitempty"`
}

SandboxEnvTemplateRef defines model for SandboxEnvTemplateRef.

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 SandboxNetworkPolicy added in v0.0.7

type SandboxNetworkPolicy struct {
	// AllowPrivateNetworks Disable the default deny of private / link-local / cloud-metadata ranges (RFC1918, 169.254.0.0/16, ...). Default false — the anti-SSRF baseline stays on.
	AllowPrivateNetworks *bool `json:"allowPrivateNetworks,omitempty"`

	// DisableEgress Block all outbound traffic (DNS still resolves). A quick 'no internet' switch; takes precedence over egress.
	DisableEgress *bool `json:"disableEgress,omitempty"`

	// Egress Allow/deny rules for sandbox outbound traffic.
	Egress *EgressRules `json:"egress,omitempty"`
}

SandboxNetworkPolicy Sandbox egress network policy, enforced by an in-Pod transparent proxy sidecar (supports domain matching, which the cluster CNIs cannot). Allowlist / default-deny semantics.

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 Legacy pool-create overrides. Image-only — per-Pool resource sizing flows through EnvClusterMember.{instanceType,multiplier,inlineResources} now.
	Overrides *PoolTemplateOverrides `json:"overrides,omitempty"`

	// OwningEnv Name of the SandboxEnv that owns this pool (resolved from OwnerReferences). Every pool is derived from an Env; empty only for a pool with no owning Env.
	OwningEnv *string `json:"owningEnv,omitempty"`

	// ScalingGroup Scaling group this pool belongs to (from the agentbox.navix.sh/scaling-group label). Members in the same group share an autoscaling policy. Empty when the pool is excluded from autoscaling.
	ScalingGroup *string         `json:"scalingGroup,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 {
	// 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"`

	// 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

Valid indicates whether the value is a known member of the SandboxPoolSpecPodCreationImagePolicy enum.

type SandboxPoolStatus

type SandboxPoolStatus struct {
	// Autoscaling Per-Pool autoscaler decision state. Sole writer is the SandboxPool reconciler running the autoscaling decision pipeline.
	Autoscaling *PoolAutoScalingStatus `json:"autoscaling,omitempty"`

	// CurrentRevision The single revision hash all pods currently share; equals updateRevision once a rollout converges, empty while pods straddle revisions.
	CurrentRevision *string `json:"currentRevision,omitempty"`

	// 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"`

	// PendingRequests Throttled mirror of the in-process PoolScheduler queue depth. Patched every ~3s when the queue length changes by at least 20% or crosses the 0/>0 boundary. Useful for Dashboard observability — the Env autoscaler reads the live in-process Snapshot instead.
	PendingRequests *int32 `json:"pendingRequests,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 Number of Idle pods whose PodReady condition is False (e.g. Pending, CrashLoopBackOff). These are counted in idleReplicas but cannot accept requests. Non-zero value triggers Degraded phase.
	UnavailableIdleReplicas *int32 `json:"unavailableIdleReplicas,omitempty"`

	// UpdateRevision Target revision hash of the current Pool template. Idle pods whose own hash differs are stale and get rolled onto this revision.
	UpdateRevision *string `json:"updateRevision,omitempty"`

	// UpdatedReplicas Number of pods already at updateRevision.
	UpdatedReplicas *int32 `json:"updatedReplicas,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 (
	Degraded    SandboxPoolStatusPhase = "Degraded"
	Pending     SandboxPoolStatusPhase = "Pending"
	Ready       SandboxPoolStatusPhase = "Ready"
	ScalingDown SandboxPoolStatusPhase = "ScalingDown"
	ScalingUp   SandboxPoolStatusPhase = "ScalingUp"
	Terminating 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 SandboxPoolSummary added in v0.0.5

type SandboxPoolSummary 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"`

	// OwningEnv Name of the SandboxEnv that owns this pool (resolved from OwnerReferences).
	OwningEnv *string `json:"owningEnv,omitempty"`

	// ScalingGroup Scaling group this pool belongs to. Members in the same group share an autoscaling policy. Empty when excluded from autoscaling.
	ScalingGroup *string           `json:"scalingGroup,omitempty"`
	Spec         SandboxPoolSpec   `json:"spec"`
	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"`
}

SandboxPoolSummary Lightweight shape returned by the pool List endpoint: the full SandboxPool minus the heavy specYaml (full pod-template YAML) and overrides, neither of which list consumers read. Fetch GET /envs/{name}/sandboxpools/{poolName} for the full body (incl. specYaml for the diff view).

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)
	// 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)
	// List SandboxEnvs visible to the caller
	// (GET /envs)
	ListSandboxEnvs(c *gin.Context)
	// Create a new SandboxEnv shell. Members are added through `POST /envs/{name}/sandboxpools`; the matching autoscaling group is created automatically per member and tuned through `PUT /envs/{name}/autoscaling/groups/{groupName}`.
	// (POST /envs)
	CreateSandboxEnv(c *gin.Context)
	// Delete a SandboxEnv. All member SandboxPools are cascade-deleted via OwnerReferences.
	// (DELETE /envs/{name})
	DeleteSandboxEnv(c *gin.Context, name string)
	// Get a SandboxEnv by name. Response includes the rendered envDocs Markdown.
	// (GET /envs/{name})
	GetSandboxEnv(c *gin.Context, name string)
	// Update the editable Env shell fields (overrides only). Members and autoscaling groups have dedicated endpoints.
	// (PATCH /envs/{name})
	UpdateSandboxEnv(c *gin.Context, name string)
	// Return the env's full autoscaling spec (enabled flag + groups).
	// (GET /envs/{name}/autoscaling)
	GetEnvAutoscaling(c *gin.Context, name string)
	// List autoscaling groups on the env.
	// (GET /envs/{name}/autoscaling/groups)
	ListEnvAutoscalingGroups(c *gin.Context, name string)
	// Remove an autoscaling group from the env.
	// (DELETE /envs/{name}/autoscaling/groups/{groupName})
	DeleteEnvAutoscalingGroup(c *gin.Context, name string, groupName string)
	// Get one autoscaling group by name.
	// (GET /envs/{name}/autoscaling/groups/{groupName})
	GetEnvAutoscalingGroup(c *gin.Context, name string, groupName string)
	// Patch one or more editable fields on an autoscaling group.
	// (PUT /envs/{name}/autoscaling/groups/{groupName})
	UpdateEnvAutoscalingGroup(c *gin.Context, name string, groupName string)
	// List recent K8s Events for a SandboxEnv and its member SandboxPools, newest first.
	// (GET /envs/{name}/events)
	ListEnvEvents(c *gin.Context, name string, params ListEnvEventsParams)
	// List member SandboxPools of an Env
	// (GET /envs/{name}/sandboxpools)
	ListEnvSandboxPools(c *gin.Context, name string)
	// Add a member SandboxPool to an Env
	// (POST /envs/{name}/sandboxpools)
	CreateEnvSandboxPool(c *gin.Context, name string)
	// Remove a member SandboxPool from an Env
	// (DELETE /envs/{name}/sandboxpools/{poolName})
	DeleteEnvSandboxPool(c *gin.Context, name string, poolName string)
	// Get a member SandboxPool
	// (GET /envs/{name}/sandboxpools/{poolName})
	GetEnvSandboxPool(c *gin.Context, name string, poolName string)
	// Update a member SandboxPool
	// (PUT /envs/{name}/sandboxpools/{poolName})
	UpdateEnvSandboxPool(c *gin.Context, name string, poolName string)
	// Report optional features enabled on this cluster
	// (GET /feature-gates)
	GetFeatureGates(c *gin.Context)
	// List InstanceType catalog entries
	// (GET /instancetypes)
	ListInstanceTypes(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)
	// 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) 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) CreateEnvSandboxPool added in v0.0.5

func (siw *ServerInterfaceWrapper) CreateEnvSandboxPool(c *gin.Context)

CreateEnvSandboxPool operation middleware

func (*ServerInterfaceWrapper) CreateSandbox

func (siw *ServerInterfaceWrapper) CreateSandbox(c *gin.Context)

CreateSandbox operation middleware

func (*ServerInterfaceWrapper) CreateSandboxEnv added in v0.0.5

func (siw *ServerInterfaceWrapper) CreateSandboxEnv(c *gin.Context)

CreateSandboxEnv operation middleware

func (*ServerInterfaceWrapper) CreateSandboxExecToken

func (siw *ServerInterfaceWrapper) CreateSandboxExecToken(c *gin.Context)

CreateSandboxExecToken operation middleware

func (*ServerInterfaceWrapper) DeleteAPIKey

func (siw *ServerInterfaceWrapper) DeleteAPIKey(c *gin.Context)

DeleteAPIKey operation middleware

func (*ServerInterfaceWrapper) DeleteEnvAutoscalingGroup added in v0.0.5

func (siw *ServerInterfaceWrapper) DeleteEnvAutoscalingGroup(c *gin.Context)

DeleteEnvAutoscalingGroup operation middleware

func (*ServerInterfaceWrapper) DeleteEnvSandboxPool added in v0.0.5

func (siw *ServerInterfaceWrapper) DeleteEnvSandboxPool(c *gin.Context)

DeleteEnvSandboxPool operation middleware

func (*ServerInterfaceWrapper) DeleteSandbox

func (siw *ServerInterfaceWrapper) DeleteSandbox(c *gin.Context)

DeleteSandbox operation middleware

func (*ServerInterfaceWrapper) DeleteSandboxEnv added in v0.0.5

func (siw *ServerInterfaceWrapper) DeleteSandboxEnv(c *gin.Context)

DeleteSandboxEnv operation middleware

func (*ServerInterfaceWrapper) ExecSandboxCommand

func (siw *ServerInterfaceWrapper) ExecSandboxCommand(c *gin.Context)

ExecSandboxCommand operation middleware

func (*ServerInterfaceWrapper) GetEnvAutoscaling added in v0.0.5

func (siw *ServerInterfaceWrapper) GetEnvAutoscaling(c *gin.Context)

GetEnvAutoscaling operation middleware

func (*ServerInterfaceWrapper) GetEnvAutoscalingGroup added in v0.0.5

func (siw *ServerInterfaceWrapper) GetEnvAutoscalingGroup(c *gin.Context)

GetEnvAutoscalingGroup operation middleware

func (*ServerInterfaceWrapper) GetEnvSandboxPool added in v0.0.5

func (siw *ServerInterfaceWrapper) GetEnvSandboxPool(c *gin.Context)

GetEnvSandboxPool 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) GetSandboxEnv added in v0.0.5

func (siw *ServerInterfaceWrapper) GetSandboxEnv(c *gin.Context)

GetSandboxEnv operation middleware

func (*ServerInterfaceWrapper) GetSandboxLogs

func (siw *ServerInterfaceWrapper) GetSandboxLogs(c *gin.Context)

GetSandboxLogs 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) ListEnvAutoscalingGroups added in v0.0.5

func (siw *ServerInterfaceWrapper) ListEnvAutoscalingGroups(c *gin.Context)

ListEnvAutoscalingGroups operation middleware

func (*ServerInterfaceWrapper) ListEnvEvents added in v0.0.5

func (siw *ServerInterfaceWrapper) ListEnvEvents(c *gin.Context)

ListEnvEvents operation middleware

func (*ServerInterfaceWrapper) ListEnvSandboxPools added in v0.0.5

func (siw *ServerInterfaceWrapper) ListEnvSandboxPools(c *gin.Context)

ListEnvSandboxPools operation middleware

func (*ServerInterfaceWrapper) ListInstanceTypes added in v0.0.5

func (siw *ServerInterfaceWrapper) ListInstanceTypes(c *gin.Context)

ListInstanceTypes 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) ListSandboxEnvs added in v0.0.5

func (siw *ServerInterfaceWrapper) ListSandboxEnvs(c *gin.Context)

ListSandboxEnvs 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) 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) UpdateEnvAutoscalingGroup added in v0.0.5

func (siw *ServerInterfaceWrapper) UpdateEnvAutoscalingGroup(c *gin.Context)

UpdateEnvAutoscalingGroup operation middleware

func (*ServerInterfaceWrapper) UpdateEnvSandboxPool added in v0.0.5

func (siw *ServerInterfaceWrapper) UpdateEnvSandboxPool(c *gin.Context)

UpdateEnvSandboxPool operation middleware

func (*ServerInterfaceWrapper) UpdateSandboxEnv added in v0.0.5

func (siw *ServerInterfaceWrapper) UpdateSandboxEnv(c *gin.Context)

UpdateSandboxEnv 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)
	// 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)
	// List SandboxEnvs visible to the caller
	// (GET /envs)
	ListSandboxEnvs(ctx context.Context, request ListSandboxEnvsRequestObject) (ListSandboxEnvsResponseObject, error)
	// Create a new SandboxEnv shell. Members are added through `POST /envs/{name}/sandboxpools`; the matching autoscaling group is created automatically per member and tuned through `PUT /envs/{name}/autoscaling/groups/{groupName}`.
	// (POST /envs)
	CreateSandboxEnv(ctx context.Context, request CreateSandboxEnvRequestObject) (CreateSandboxEnvResponseObject, error)
	// Delete a SandboxEnv. All member SandboxPools are cascade-deleted via OwnerReferences.
	// (DELETE /envs/{name})
	DeleteSandboxEnv(ctx context.Context, request DeleteSandboxEnvRequestObject) (DeleteSandboxEnvResponseObject, error)
	// Get a SandboxEnv by name. Response includes the rendered envDocs Markdown.
	// (GET /envs/{name})
	GetSandboxEnv(ctx context.Context, request GetSandboxEnvRequestObject) (GetSandboxEnvResponseObject, error)
	// Update the editable Env shell fields (overrides only). Members and autoscaling groups have dedicated endpoints.
	// (PATCH /envs/{name})
	UpdateSandboxEnv(ctx context.Context, request UpdateSandboxEnvRequestObject) (UpdateSandboxEnvResponseObject, error)
	// Return the env's full autoscaling spec (enabled flag + groups).
	// (GET /envs/{name}/autoscaling)
	GetEnvAutoscaling(ctx context.Context, request GetEnvAutoscalingRequestObject) (GetEnvAutoscalingResponseObject, error)
	// List autoscaling groups on the env.
	// (GET /envs/{name}/autoscaling/groups)
	ListEnvAutoscalingGroups(ctx context.Context, request ListEnvAutoscalingGroupsRequestObject) (ListEnvAutoscalingGroupsResponseObject, error)
	// Remove an autoscaling group from the env.
	// (DELETE /envs/{name}/autoscaling/groups/{groupName})
	DeleteEnvAutoscalingGroup(ctx context.Context, request DeleteEnvAutoscalingGroupRequestObject) (DeleteEnvAutoscalingGroupResponseObject, error)
	// Get one autoscaling group by name.
	// (GET /envs/{name}/autoscaling/groups/{groupName})
	GetEnvAutoscalingGroup(ctx context.Context, request GetEnvAutoscalingGroupRequestObject) (GetEnvAutoscalingGroupResponseObject, error)
	// Patch one or more editable fields on an autoscaling group.
	// (PUT /envs/{name}/autoscaling/groups/{groupName})
	UpdateEnvAutoscalingGroup(ctx context.Context, request UpdateEnvAutoscalingGroupRequestObject) (UpdateEnvAutoscalingGroupResponseObject, error)
	// List recent K8s Events for a SandboxEnv and its member SandboxPools, newest first.
	// (GET /envs/{name}/events)
	ListEnvEvents(ctx context.Context, request ListEnvEventsRequestObject) (ListEnvEventsResponseObject, error)
	// List member SandboxPools of an Env
	// (GET /envs/{name}/sandboxpools)
	ListEnvSandboxPools(ctx context.Context, request ListEnvSandboxPoolsRequestObject) (ListEnvSandboxPoolsResponseObject, error)
	// Add a member SandboxPool to an Env
	// (POST /envs/{name}/sandboxpools)
	CreateEnvSandboxPool(ctx context.Context, request CreateEnvSandboxPoolRequestObject) (CreateEnvSandboxPoolResponseObject, error)
	// Remove a member SandboxPool from an Env
	// (DELETE /envs/{name}/sandboxpools/{poolName})
	DeleteEnvSandboxPool(ctx context.Context, request DeleteEnvSandboxPoolRequestObject) (DeleteEnvSandboxPoolResponseObject, error)
	// Get a member SandboxPool
	// (GET /envs/{name}/sandboxpools/{poolName})
	GetEnvSandboxPool(ctx context.Context, request GetEnvSandboxPoolRequestObject) (GetEnvSandboxPoolResponseObject, error)
	// Update a member SandboxPool
	// (PUT /envs/{name}/sandboxpools/{poolName})
	UpdateEnvSandboxPool(ctx context.Context, request UpdateEnvSandboxPoolRequestObject) (UpdateEnvSandboxPoolResponseObject, error)
	// Report optional features enabled on this cluster
	// (GET /feature-gates)
	GetFeatureGates(ctx context.Context, request GetFeatureGatesRequestObject) (GetFeatureGatesResponseObject, error)
	// List InstanceType catalog entries
	// (GET /instancetypes)
	ListInstanceTypes(ctx context.Context, request ListInstanceTypesRequestObject) (ListInstanceTypesResponseObject, 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)
	// Get user-scoped sandbox statistics
	// (GET /statistics/sandboxes)
	GetUserSandboxStatistics(ctx context.Context, request GetUserSandboxStatisticsRequestObject) (GetUserSandboxStatisticsResponseObject, error)
}

StrictServerInterface represents all server handlers.

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 UpdateEnvAutoscalingGroup200JSONResponse added in v0.0.5

type UpdateEnvAutoscalingGroup200JSONResponse EnvAutoscalingGroupEnvelope

func (UpdateEnvAutoscalingGroup200JSONResponse) VisitUpdateEnvAutoscalingGroupResponse added in v0.0.5

func (response UpdateEnvAutoscalingGroup200JSONResponse) VisitUpdateEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type UpdateEnvAutoscalingGroup400JSONResponse added in v0.0.5

type UpdateEnvAutoscalingGroup400JSONResponse ErrorResponse

func (UpdateEnvAutoscalingGroup400JSONResponse) VisitUpdateEnvAutoscalingGroupResponse added in v0.0.5

func (response UpdateEnvAutoscalingGroup400JSONResponse) VisitUpdateEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type UpdateEnvAutoscalingGroup401JSONResponse added in v0.0.5

type UpdateEnvAutoscalingGroup401JSONResponse ErrorResponse

func (UpdateEnvAutoscalingGroup401JSONResponse) VisitUpdateEnvAutoscalingGroupResponse added in v0.0.5

func (response UpdateEnvAutoscalingGroup401JSONResponse) VisitUpdateEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type UpdateEnvAutoscalingGroup404JSONResponse added in v0.0.5

type UpdateEnvAutoscalingGroup404JSONResponse ErrorResponse

func (UpdateEnvAutoscalingGroup404JSONResponse) VisitUpdateEnvAutoscalingGroupResponse added in v0.0.5

func (response UpdateEnvAutoscalingGroup404JSONResponse) VisitUpdateEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type UpdateEnvAutoscalingGroup500JSONResponse added in v0.0.5

type UpdateEnvAutoscalingGroup500JSONResponse ErrorResponse

func (UpdateEnvAutoscalingGroup500JSONResponse) VisitUpdateEnvAutoscalingGroupResponse added in v0.0.5

func (response UpdateEnvAutoscalingGroup500JSONResponse) VisitUpdateEnvAutoscalingGroupResponse(w http.ResponseWriter) error

type UpdateEnvAutoscalingGroupJSONRequestBody added in v0.0.5

type UpdateEnvAutoscalingGroupJSONRequestBody = UpdateEnvAutoscalingGroupRequest

UpdateEnvAutoscalingGroupJSONRequestBody defines body for UpdateEnvAutoscalingGroup for application/json ContentType.

type UpdateEnvAutoscalingGroupRequest added in v0.0.5

type UpdateEnvAutoscalingGroupRequest struct {
	// Enabled Toggle this group's autoscaler. nil = leave unchanged.
	Enabled     *bool  `json:"enabled,omitempty"`
	MaxReplicas *int32 `json:"maxReplicas,omitempty"`
	MinReplicas *int32 `json:"minReplicas,omitempty"`

	// ScaleDownPolicy Scale-down behaviour for a scaling group.
	ScaleDownPolicy *PoolScaleDownPolicy `json:"scaleDownPolicy,omitempty"`

	// ScaleUpPolicy Scale-up behaviour for a scaling group (mode + cooldown + idle threshold + saturation cooldown).
	ScaleUpPolicy *PoolScaleUpPolicy `json:"scaleUpPolicy,omitempty"`
}

UpdateEnvAutoscalingGroupRequest Patch one or more editable fields on an autoscaling group. Omitted fields are left unchanged. Policy objects are REPLACED wholesale when supplied — callers must echo back any fields they want to preserve.

type UpdateEnvAutoscalingGroupRequestObject added in v0.0.5

type UpdateEnvAutoscalingGroupRequestObject struct {
	Name      string `json:"name"`
	GroupName string `json:"groupName"`
	Body      *UpdateEnvAutoscalingGroupJSONRequestBody
}

type UpdateEnvAutoscalingGroupResponse added in v0.0.5

type UpdateEnvAutoscalingGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EnvAutoscalingGroupEnvelope
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseUpdateEnvAutoscalingGroupResponse added in v0.0.5

func ParseUpdateEnvAutoscalingGroupResponse(rsp *http.Response) (*UpdateEnvAutoscalingGroupResponse, error)

ParseUpdateEnvAutoscalingGroupResponse parses an HTTP response from a UpdateEnvAutoscalingGroupWithResponse call

func (UpdateEnvAutoscalingGroupResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (UpdateEnvAutoscalingGroupResponse) StatusCode added in v0.0.5

func (r UpdateEnvAutoscalingGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateEnvAutoscalingGroupResponseObject added in v0.0.5

type UpdateEnvAutoscalingGroupResponseObject interface {
	VisitUpdateEnvAutoscalingGroupResponse(w http.ResponseWriter) error
}

type UpdateEnvSandboxPool200JSONResponse added in v0.0.5

type UpdateEnvSandboxPool200JSONResponse SandboxPoolEnvelope

func (UpdateEnvSandboxPool200JSONResponse) VisitUpdateEnvSandboxPoolResponse added in v0.0.5

func (response UpdateEnvSandboxPool200JSONResponse) VisitUpdateEnvSandboxPoolResponse(w http.ResponseWriter) error

type UpdateEnvSandboxPool400JSONResponse added in v0.0.5

type UpdateEnvSandboxPool400JSONResponse ErrorResponse

func (UpdateEnvSandboxPool400JSONResponse) VisitUpdateEnvSandboxPoolResponse added in v0.0.5

func (response UpdateEnvSandboxPool400JSONResponse) VisitUpdateEnvSandboxPoolResponse(w http.ResponseWriter) error

type UpdateEnvSandboxPool401JSONResponse added in v0.0.5

type UpdateEnvSandboxPool401JSONResponse ErrorResponse

func (UpdateEnvSandboxPool401JSONResponse) VisitUpdateEnvSandboxPoolResponse added in v0.0.5

func (response UpdateEnvSandboxPool401JSONResponse) VisitUpdateEnvSandboxPoolResponse(w http.ResponseWriter) error

type UpdateEnvSandboxPool404JSONResponse added in v0.0.5

type UpdateEnvSandboxPool404JSONResponse ErrorResponse

func (UpdateEnvSandboxPool404JSONResponse) VisitUpdateEnvSandboxPoolResponse added in v0.0.5

func (response UpdateEnvSandboxPool404JSONResponse) VisitUpdateEnvSandboxPoolResponse(w http.ResponseWriter) error

type UpdateEnvSandboxPool500JSONResponse added in v0.0.5

type UpdateEnvSandboxPool500JSONResponse ErrorResponse

func (UpdateEnvSandboxPool500JSONResponse) VisitUpdateEnvSandboxPoolResponse added in v0.0.5

func (response UpdateEnvSandboxPool500JSONResponse) VisitUpdateEnvSandboxPoolResponse(w http.ResponseWriter) error

type UpdateEnvSandboxPool503JSONResponse added in v0.0.5

type UpdateEnvSandboxPool503JSONResponse ErrorResponse

func (UpdateEnvSandboxPool503JSONResponse) VisitUpdateEnvSandboxPoolResponse added in v0.0.5

func (response UpdateEnvSandboxPool503JSONResponse) VisitUpdateEnvSandboxPoolResponse(w http.ResponseWriter) error

type UpdateEnvSandboxPoolJSONRequestBody added in v0.0.5

type UpdateEnvSandboxPoolJSONRequestBody = UpdateEnvSandboxPoolRequest

UpdateEnvSandboxPoolJSONRequestBody defines body for UpdateEnvSandboxPool for application/json ContentType.

type UpdateEnvSandboxPoolRequest added in v0.0.5

type UpdateEnvSandboxPoolRequest struct {
	// MaxReplicas Upper bound on this pool's replicas. Always accepted.
	MaxReplicas *int32 `json:"maxReplicas,omitempty"`

	// MinReplicas Lower bound on this pool's replicas, enforced as a per-member scale-down floor by the Env autoscaler. Always accepted.
	MinReplicas *int32 `json:"minReplicas,omitempty"`

	// Replicas Initial / desired replica count. Rejected when this pool's scalingGroup has autoscaling enabled.
	Replicas *int32 `json:"replicas,omitempty"`

	// UpdateStrategy Automatic rollout policy for member Pools when their rendered idle-Pod identity (Template edit, image / networkPolicy override) changes. Rollout mode is always Recreate: stale idle Pods are rebuilt; claimed (Running/Starting) Pods are never disrupted and roll after returning to Idle.
	UpdateStrategy *EnvUpdateStrategy `json:"updateStrategy,omitempty"`
}

UpdateEnvSandboxPoolRequest Update a member SandboxPool. Resource shape, instanceType, labels and annotations are immutable post-create; this PUT accepts replica adjustments and updateStrategy changes. When the scalingGroup has autoscaling enabled (via env.spec.autoscaling.enabled + a matching group entry), only `maxReplicas` is accepted — `replicas` is owned by the autoscaler.

type UpdateEnvSandboxPoolRequestObject added in v0.0.5

type UpdateEnvSandboxPoolRequestObject struct {
	Name     string `json:"name"`
	PoolName string `json:"poolName"`
	Body     *UpdateEnvSandboxPoolJSONRequestBody
}

type UpdateEnvSandboxPoolResponse added in v0.0.5

type UpdateEnvSandboxPoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SandboxPoolEnvelope
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON500      *ErrorResponse
	JSON503      *ErrorResponse
}

func ParseUpdateEnvSandboxPoolResponse added in v0.0.5

func ParseUpdateEnvSandboxPoolResponse(rsp *http.Response) (*UpdateEnvSandboxPoolResponse, error)

ParseUpdateEnvSandboxPoolResponse parses an HTTP response from a UpdateEnvSandboxPoolWithResponse call

func (UpdateEnvSandboxPoolResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (UpdateEnvSandboxPoolResponse) StatusCode added in v0.0.5

func (r UpdateEnvSandboxPoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateEnvSandboxPoolResponseObject added in v0.0.5

type UpdateEnvSandboxPoolResponseObject interface {
	VisitUpdateEnvSandboxPoolResponse(w http.ResponseWriter) error
}

type UpdateSandboxEnv200JSONResponse added in v0.0.5

type UpdateSandboxEnv200JSONResponse SandboxEnvEnvelope

func (UpdateSandboxEnv200JSONResponse) VisitUpdateSandboxEnvResponse added in v0.0.5

func (response UpdateSandboxEnv200JSONResponse) VisitUpdateSandboxEnvResponse(w http.ResponseWriter) error

type UpdateSandboxEnv400JSONResponse added in v0.0.5

type UpdateSandboxEnv400JSONResponse ErrorResponse

func (UpdateSandboxEnv400JSONResponse) VisitUpdateSandboxEnvResponse added in v0.0.5

func (response UpdateSandboxEnv400JSONResponse) VisitUpdateSandboxEnvResponse(w http.ResponseWriter) error

type UpdateSandboxEnv401JSONResponse added in v0.0.5

type UpdateSandboxEnv401JSONResponse ErrorResponse

func (UpdateSandboxEnv401JSONResponse) VisitUpdateSandboxEnvResponse added in v0.0.5

func (response UpdateSandboxEnv401JSONResponse) VisitUpdateSandboxEnvResponse(w http.ResponseWriter) error

type UpdateSandboxEnv404JSONResponse added in v0.0.5

type UpdateSandboxEnv404JSONResponse ErrorResponse

func (UpdateSandboxEnv404JSONResponse) VisitUpdateSandboxEnvResponse added in v0.0.5

func (response UpdateSandboxEnv404JSONResponse) VisitUpdateSandboxEnvResponse(w http.ResponseWriter) error

type UpdateSandboxEnv500JSONResponse added in v0.0.5

type UpdateSandboxEnv500JSONResponse ErrorResponse

func (UpdateSandboxEnv500JSONResponse) VisitUpdateSandboxEnvResponse added in v0.0.5

func (response UpdateSandboxEnv500JSONResponse) VisitUpdateSandboxEnvResponse(w http.ResponseWriter) error

type UpdateSandboxEnvJSONRequestBody added in v0.0.5

type UpdateSandboxEnvJSONRequestBody = UpdateSandboxEnvRequest

UpdateSandboxEnvJSONRequestBody defines body for UpdateSandboxEnv for application/json ContentType.

type UpdateSandboxEnvRequest added in v0.0.5

type UpdateSandboxEnvRequest struct {
	// Overrides SandboxTemplate fields this Env replaces uniformly for every member Pool. The Env represents a single class of sandbox runtime, so image, image policy, default timeouts and image-pull credentials are expected to be shared; per-Pool variation lives on each EnvClusterMember.
	Overrides *EnvOverrides `json:"overrides,omitempty"`
}

UpdateSandboxEnvRequest Patch one or more editable Env shell fields. Omitted fields are left unchanged. Members are managed through `/envs/{name}/sandboxpools/*` and autoscaling through `/envs/{name}/autoscaling/*`.

type UpdateSandboxEnvRequestObject added in v0.0.5

type UpdateSandboxEnvRequestObject struct {
	Name string `json:"name"`
	Body *UpdateSandboxEnvJSONRequestBody
}

type UpdateSandboxEnvResponse added in v0.0.5

type UpdateSandboxEnvResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SandboxEnvEnvelope
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON500      *ErrorResponse
}

func ParseUpdateSandboxEnvResponse added in v0.0.5

func ParseUpdateSandboxEnvResponse(rsp *http.Response) (*UpdateSandboxEnvResponse, error)

ParseUpdateSandboxEnvResponse parses an HTTP response from a UpdateSandboxEnvWithResponse call

func (UpdateSandboxEnvResponse) Status added in v0.0.5

func (r UpdateSandboxEnvResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateSandboxEnvResponse) StatusCode added in v0.0.5

func (r UpdateSandboxEnvResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSandboxEnvResponseObject added in v0.0.5

type UpdateSandboxEnvResponseObject interface {
	VisitUpdateSandboxEnvResponse(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.

Jump to

Keyboard shortcuts

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