wsproxygen

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package wsproxygen 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 (
	BearerAuthScopes       = "BearerAuth.Scopes"
	ManagerTokenAuthScopes = "ManagerTokenAuth.Scopes"
)

Variables

This section is empty.

Functions

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 AdminArmIdleAlert200JSONResponse added in v0.0.10

type AdminArmIdleAlert200JSONResponse IdleAlertConfig

func (AdminArmIdleAlert200JSONResponse) VisitAdminArmIdleAlertResponse added in v0.0.10

func (response AdminArmIdleAlert200JSONResponse) VisitAdminArmIdleAlertResponse(w http.ResponseWriter) error

type AdminArmIdleAlert401JSONResponse added in v0.0.10

type AdminArmIdleAlert401JSONResponse ErrorResponse

func (AdminArmIdleAlert401JSONResponse) VisitAdminArmIdleAlertResponse added in v0.0.10

func (response AdminArmIdleAlert401JSONResponse) VisitAdminArmIdleAlertResponse(w http.ResponseWriter) error

type AdminArmIdleAlert403JSONResponse added in v0.0.10

type AdminArmIdleAlert403JSONResponse ErrorResponse

func (AdminArmIdleAlert403JSONResponse) VisitAdminArmIdleAlertResponse added in v0.0.10

func (response AdminArmIdleAlert403JSONResponse) VisitAdminArmIdleAlertResponse(w http.ResponseWriter) error

type AdminArmIdleAlert503JSONResponse added in v0.0.10

type AdminArmIdleAlert503JSONResponse ErrorResponse

func (AdminArmIdleAlert503JSONResponse) VisitAdminArmIdleAlertResponse added in v0.0.10

func (response AdminArmIdleAlert503JSONResponse) VisitAdminArmIdleAlertResponse(w http.ResponseWriter) error

type AdminArmIdleAlertRequestObject added in v0.0.10

type AdminArmIdleAlertRequestObject struct {
}

type AdminArmIdleAlertResponseObject added in v0.0.10

type AdminArmIdleAlertResponseObject interface {
	VisitAdminArmIdleAlertResponse(w http.ResponseWriter) error
}

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 AdminCreateSandboxTemplate503JSONResponse

type AdminCreateSandboxTemplate503JSONResponse ErrorResponse

func (AdminCreateSandboxTemplate503JSONResponse) VisitAdminCreateSandboxTemplateResponse

func (response AdminCreateSandboxTemplate503JSONResponse) 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 AdminCreateSandboxTemplateResponseObject

type AdminCreateSandboxTemplateResponseObject interface {
	VisitAdminCreateSandboxTemplateResponse(w http.ResponseWriter) error
}

type AdminDeleteSandboxTemplate204Response

type AdminDeleteSandboxTemplate204Response struct {
}

func (AdminDeleteSandboxTemplate204Response) VisitAdminDeleteSandboxTemplateResponse

func (response AdminDeleteSandboxTemplate204Response) 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 AdminDeleteSandboxTemplate503JSONResponse

type AdminDeleteSandboxTemplate503JSONResponse ErrorResponse

func (AdminDeleteSandboxTemplate503JSONResponse) VisitAdminDeleteSandboxTemplateResponse

func (response AdminDeleteSandboxTemplate503JSONResponse) VisitAdminDeleteSandboxTemplateResponse(w http.ResponseWriter) error

type AdminDeleteSandboxTemplateRequestObject

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

type AdminDeleteSandboxTemplateResponseObject

type AdminDeleteSandboxTemplateResponseObject interface {
	VisitAdminDeleteSandboxTemplateResponse(w http.ResponseWriter) error
}

type AdminDisarmIdleAlert200JSONResponse added in v0.0.10

type AdminDisarmIdleAlert200JSONResponse IdleAlertConfig

func (AdminDisarmIdleAlert200JSONResponse) VisitAdminDisarmIdleAlertResponse added in v0.0.10

func (response AdminDisarmIdleAlert200JSONResponse) VisitAdminDisarmIdleAlertResponse(w http.ResponseWriter) error

type AdminDisarmIdleAlert401JSONResponse added in v0.0.10

type AdminDisarmIdleAlert401JSONResponse ErrorResponse

func (AdminDisarmIdleAlert401JSONResponse) VisitAdminDisarmIdleAlertResponse added in v0.0.10

func (response AdminDisarmIdleAlert401JSONResponse) VisitAdminDisarmIdleAlertResponse(w http.ResponseWriter) error

type AdminDisarmIdleAlert403JSONResponse added in v0.0.10

type AdminDisarmIdleAlert403JSONResponse ErrorResponse

func (AdminDisarmIdleAlert403JSONResponse) VisitAdminDisarmIdleAlertResponse added in v0.0.10

func (response AdminDisarmIdleAlert403JSONResponse) VisitAdminDisarmIdleAlertResponse(w http.ResponseWriter) error

type AdminDisarmIdleAlert503JSONResponse added in v0.0.10

type AdminDisarmIdleAlert503JSONResponse ErrorResponse

func (AdminDisarmIdleAlert503JSONResponse) VisitAdminDisarmIdleAlertResponse added in v0.0.10

func (response AdminDisarmIdleAlert503JSONResponse) VisitAdminDisarmIdleAlertResponse(w http.ResponseWriter) error

type AdminDisarmIdleAlertRequestObject added in v0.0.10

type AdminDisarmIdleAlertRequestObject struct {
}

type AdminDisarmIdleAlertResponseObject added in v0.0.10

type AdminDisarmIdleAlertResponseObject interface {
	VisitAdminDisarmIdleAlertResponse(w http.ResponseWriter) error
}

type AdminGetNotificationConfig200JSONResponse added in v0.0.10

type AdminGetNotificationConfig200JSONResponse NotificationConfig

func (AdminGetNotificationConfig200JSONResponse) VisitAdminGetNotificationConfigResponse added in v0.0.10

func (response AdminGetNotificationConfig200JSONResponse) VisitAdminGetNotificationConfigResponse(w http.ResponseWriter) error

type AdminGetNotificationConfig401JSONResponse added in v0.0.10

type AdminGetNotificationConfig401JSONResponse ErrorResponse

func (AdminGetNotificationConfig401JSONResponse) VisitAdminGetNotificationConfigResponse added in v0.0.10

func (response AdminGetNotificationConfig401JSONResponse) VisitAdminGetNotificationConfigResponse(w http.ResponseWriter) error

type AdminGetNotificationConfig403JSONResponse added in v0.0.10

type AdminGetNotificationConfig403JSONResponse ErrorResponse

func (AdminGetNotificationConfig403JSONResponse) VisitAdminGetNotificationConfigResponse added in v0.0.10

func (response AdminGetNotificationConfig403JSONResponse) VisitAdminGetNotificationConfigResponse(w http.ResponseWriter) error

type AdminGetNotificationConfig503JSONResponse added in v0.0.10

type AdminGetNotificationConfig503JSONResponse ErrorResponse

func (AdminGetNotificationConfig503JSONResponse) VisitAdminGetNotificationConfigResponse added in v0.0.10

func (response AdminGetNotificationConfig503JSONResponse) VisitAdminGetNotificationConfigResponse(w http.ResponseWriter) error

type AdminGetNotificationConfigRequestObject added in v0.0.10

type AdminGetNotificationConfigRequestObject struct {
}

type AdminGetNotificationConfigResponseObject added in v0.0.10

type AdminGetNotificationConfigResponseObject interface {
	VisitAdminGetNotificationConfigResponse(w http.ResponseWriter) error
}

type AdminGetNotificationHistory200JSONResponse added in v0.0.10

type AdminGetNotificationHistory200JSONResponse NotificationHistory

func (AdminGetNotificationHistory200JSONResponse) VisitAdminGetNotificationHistoryResponse added in v0.0.10

func (response AdminGetNotificationHistory200JSONResponse) VisitAdminGetNotificationHistoryResponse(w http.ResponseWriter) error

type AdminGetNotificationHistory401JSONResponse added in v0.0.10

type AdminGetNotificationHistory401JSONResponse ErrorResponse

func (AdminGetNotificationHistory401JSONResponse) VisitAdminGetNotificationHistoryResponse added in v0.0.10

func (response AdminGetNotificationHistory401JSONResponse) VisitAdminGetNotificationHistoryResponse(w http.ResponseWriter) error

type AdminGetNotificationHistory403JSONResponse added in v0.0.10

type AdminGetNotificationHistory403JSONResponse ErrorResponse

func (AdminGetNotificationHistory403JSONResponse) VisitAdminGetNotificationHistoryResponse added in v0.0.10

func (response AdminGetNotificationHistory403JSONResponse) VisitAdminGetNotificationHistoryResponse(w http.ResponseWriter) error

type AdminGetNotificationHistory503JSONResponse added in v0.0.10

type AdminGetNotificationHistory503JSONResponse ErrorResponse

func (AdminGetNotificationHistory503JSONResponse) VisitAdminGetNotificationHistoryResponse added in v0.0.10

func (response AdminGetNotificationHistory503JSONResponse) VisitAdminGetNotificationHistoryResponse(w http.ResponseWriter) error

type AdminGetNotificationHistoryRequestObject added in v0.0.10

type AdminGetNotificationHistoryRequestObject struct {
}

type AdminGetNotificationHistoryResponseObject added in v0.0.10

type AdminGetNotificationHistoryResponseObject interface {
	VisitAdminGetNotificationHistoryResponse(w http.ResponseWriter) error
}

type AdminTriggerDailyReport200JSONResponse added in v0.0.10

type AdminTriggerDailyReport200JSONResponse DailyReportTriggerResult

func (AdminTriggerDailyReport200JSONResponse) VisitAdminTriggerDailyReportResponse added in v0.0.10

func (response AdminTriggerDailyReport200JSONResponse) VisitAdminTriggerDailyReportResponse(w http.ResponseWriter) error

type AdminTriggerDailyReport401JSONResponse added in v0.0.10

type AdminTriggerDailyReport401JSONResponse ErrorResponse

func (AdminTriggerDailyReport401JSONResponse) VisitAdminTriggerDailyReportResponse added in v0.0.10

func (response AdminTriggerDailyReport401JSONResponse) VisitAdminTriggerDailyReportResponse(w http.ResponseWriter) error

type AdminTriggerDailyReport403JSONResponse added in v0.0.10

type AdminTriggerDailyReport403JSONResponse ErrorResponse

func (AdminTriggerDailyReport403JSONResponse) VisitAdminTriggerDailyReportResponse added in v0.0.10

func (response AdminTriggerDailyReport403JSONResponse) VisitAdminTriggerDailyReportResponse(w http.ResponseWriter) error

type AdminTriggerDailyReport503JSONResponse added in v0.0.10

type AdminTriggerDailyReport503JSONResponse ErrorResponse

func (AdminTriggerDailyReport503JSONResponse) VisitAdminTriggerDailyReportResponse added in v0.0.10

func (response AdminTriggerDailyReport503JSONResponse) VisitAdminTriggerDailyReportResponse(w http.ResponseWriter) error

type AdminTriggerDailyReportRequestObject added in v0.0.10

type AdminTriggerDailyReportRequestObject struct {
}

type AdminTriggerDailyReportResponseObject added in v0.0.10

type AdminTriggerDailyReportResponseObject interface {
	VisitAdminTriggerDailyReportResponse(w http.ResponseWriter) error
}

type AdminUpdateNotificationConfig200JSONResponse added in v0.0.10

type AdminUpdateNotificationConfig200JSONResponse NotificationConfig

func (AdminUpdateNotificationConfig200JSONResponse) VisitAdminUpdateNotificationConfigResponse added in v0.0.10

func (response AdminUpdateNotificationConfig200JSONResponse) VisitAdminUpdateNotificationConfigResponse(w http.ResponseWriter) error

type AdminUpdateNotificationConfig400JSONResponse added in v0.0.10

type AdminUpdateNotificationConfig400JSONResponse ErrorResponse

func (AdminUpdateNotificationConfig400JSONResponse) VisitAdminUpdateNotificationConfigResponse added in v0.0.10

func (response AdminUpdateNotificationConfig400JSONResponse) VisitAdminUpdateNotificationConfigResponse(w http.ResponseWriter) error

type AdminUpdateNotificationConfig401JSONResponse added in v0.0.10

type AdminUpdateNotificationConfig401JSONResponse ErrorResponse

func (AdminUpdateNotificationConfig401JSONResponse) VisitAdminUpdateNotificationConfigResponse added in v0.0.10

func (response AdminUpdateNotificationConfig401JSONResponse) VisitAdminUpdateNotificationConfigResponse(w http.ResponseWriter) error

type AdminUpdateNotificationConfig403JSONResponse added in v0.0.10

type AdminUpdateNotificationConfig403JSONResponse ErrorResponse

func (AdminUpdateNotificationConfig403JSONResponse) VisitAdminUpdateNotificationConfigResponse added in v0.0.10

func (response AdminUpdateNotificationConfig403JSONResponse) VisitAdminUpdateNotificationConfigResponse(w http.ResponseWriter) error

type AdminUpdateNotificationConfig503JSONResponse added in v0.0.10

type AdminUpdateNotificationConfig503JSONResponse ErrorResponse

func (AdminUpdateNotificationConfig503JSONResponse) VisitAdminUpdateNotificationConfigResponse added in v0.0.10

func (response AdminUpdateNotificationConfig503JSONResponse) VisitAdminUpdateNotificationConfigResponse(w http.ResponseWriter) error

type AdminUpdateNotificationConfigJSONRequestBody added in v0.0.10

type AdminUpdateNotificationConfigJSONRequestBody = NotificationConfig

AdminUpdateNotificationConfigJSONRequestBody defines body for AdminUpdateNotificationConfig for application/json ContentType.

type AdminUpdateNotificationConfigRequestObject added in v0.0.10

type AdminUpdateNotificationConfigRequestObject struct {
	Body *AdminUpdateNotificationConfigJSONRequestBody
}

type AdminUpdateNotificationConfigResponseObject added in v0.0.10

type AdminUpdateNotificationConfigResponseObject interface {
	VisitAdminUpdateNotificationConfigResponse(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 AdminUpdateSandboxTemplate503JSONResponse

type AdminUpdateSandboxTemplate503JSONResponse ErrorResponse

func (AdminUpdateSandboxTemplate503JSONResponse) VisitAdminUpdateSandboxTemplateResponse

func (response AdminUpdateSandboxTemplate503JSONResponse) 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 string `json:"name"`
	Body *AdminUpdateSandboxTemplateJSONRequestBody
}

type AdminUpdateSandboxTemplateResponseObject

type AdminUpdateSandboxTemplateResponseObject interface {
	VisitAdminUpdateSandboxTemplateResponse(w http.ResponseWriter) error
}

type AdminUsersSummary added in v0.0.10

type AdminUsersSummary struct {
	ByTeam      []AdminUsersSummaryTeam `json:"byTeam"`
	GeneratedAt time.Time               `json:"generatedAt"`
	TotalUsers  int                     `json:"totalUsers"`
}

AdminUsersSummary defines model for AdminUsersSummary.

type AdminUsersSummary200JSONResponse added in v0.0.10

type AdminUsersSummary200JSONResponse AdminUsersSummary

func (AdminUsersSummary200JSONResponse) VisitAdminUsersSummaryResponse added in v0.0.10

func (response AdminUsersSummary200JSONResponse) VisitAdminUsersSummaryResponse(w http.ResponseWriter) error

type AdminUsersSummary401JSONResponse added in v0.0.10

type AdminUsersSummary401JSONResponse ErrorResponse

func (AdminUsersSummary401JSONResponse) VisitAdminUsersSummaryResponse added in v0.0.10

func (response AdminUsersSummary401JSONResponse) VisitAdminUsersSummaryResponse(w http.ResponseWriter) error

type AdminUsersSummary403JSONResponse added in v0.0.10

type AdminUsersSummary403JSONResponse ErrorResponse

func (AdminUsersSummary403JSONResponse) VisitAdminUsersSummaryResponse added in v0.0.10

func (response AdminUsersSummary403JSONResponse) VisitAdminUsersSummaryResponse(w http.ResponseWriter) error

type AdminUsersSummary503JSONResponse added in v0.0.10

type AdminUsersSummary503JSONResponse ErrorResponse

func (AdminUsersSummary503JSONResponse) VisitAdminUsersSummaryResponse added in v0.0.10

func (response AdminUsersSummary503JSONResponse) VisitAdminUsersSummaryResponse(w http.ResponseWriter) error

type AdminUsersSummaryRequestObject added in v0.0.10

type AdminUsersSummaryRequestObject struct {
}

type AdminUsersSummaryResponseObject added in v0.0.10

type AdminUsersSummaryResponseObject interface {
	VisitAdminUsersSummaryResponse(w http.ResponseWriter) error
}

type AdminUsersSummaryTeam added in v0.0.10

type AdminUsersSummaryTeam struct {
	Team string `json:"team"`

	// Users Deduplicated user count within this team.
	Users int `json:"users"`
}

AdminUsersSummaryTeam defines model for AdminUsersSummaryTeam.

type CreateAPIKeyRequest

type CreateAPIKeyRequest struct {
	Description *string    `json:"description,omitempty"`
	ExpiresAt   *time.Time `json:"expiresAt,omitempty"`

	// HashPrefix Import mode: hash prefix (8 hex chars).
	HashPrefix *string `json:"hashPrefix,omitempty"`

	// IssuedAt Import mode: original issuedAt timestamp.
	IssuedAt *time.Time `json:"issuedAt,omitempty"`

	// Namespace Import mode: original namespace.
	Namespace *string `json:"namespace,omitempty"`

	// Team Import mode: original team.
	Team *string `json:"team,omitempty"`

	// TokenHash Import mode: pre-computed token hash.
	TokenHash *string `json:"tokenHash,omitempty"`

	// User Import mode: original user.
	User *string `json:"user,omitempty"`
}

CreateAPIKeyRequest defines model for CreateAPIKeyRequest.

type CreateAPIKeyResult

type CreateAPIKeyResult = externalRef0.CreateAPIKeyResult

CreateAPIKeyResult defines model for CreateAPIKeyResult.

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 CreateApiKey409JSONResponse

type CreateApiKey409JSONResponse ErrorResponse

func (CreateApiKey409JSONResponse) VisitCreateApiKeyResponse

func (response CreateApiKey409JSONResponse) 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 CreateApiKeyParams

type CreateApiKeyParams struct {
	// XImpersonateTeam Admin only: create key on behalf of this team.
	XImpersonateTeam *string `json:"X-Impersonate-Team,omitempty"`

	// XImpersonateUser Admin only: create key on behalf of this user.
	XImpersonateUser *string `json:"X-Impersonate-User,omitempty"`
}

CreateApiKeyParams defines parameters for CreateApiKey.

type CreateApiKeyRequestObject

type CreateApiKeyRequestObject struct {
	Params CreateApiKeyParams
	Body   *CreateApiKeyJSONRequestBody
}

type CreateApiKeyResponseObject

type CreateApiKeyResponseObject interface {
	VisitCreateApiKeyResponse(w http.ResponseWriter) error
}

type CreateImageDataset200JSONResponse

type CreateImageDataset200JSONResponse ImageDataset

func (CreateImageDataset200JSONResponse) VisitCreateImageDatasetResponse

func (response CreateImageDataset200JSONResponse) VisitCreateImageDatasetResponse(w http.ResponseWriter) error

type CreateImageDataset201JSONResponse

type CreateImageDataset201JSONResponse ImageDataset

func (CreateImageDataset201JSONResponse) VisitCreateImageDatasetResponse

func (response CreateImageDataset201JSONResponse) VisitCreateImageDatasetResponse(w http.ResponseWriter) error

type CreateImageDataset400JSONResponse

type CreateImageDataset400JSONResponse ErrorResponse

func (CreateImageDataset400JSONResponse) VisitCreateImageDatasetResponse

func (response CreateImageDataset400JSONResponse) VisitCreateImageDatasetResponse(w http.ResponseWriter) error

type CreateImageDataset401JSONResponse

type CreateImageDataset401JSONResponse ErrorResponse

func (CreateImageDataset401JSONResponse) VisitCreateImageDatasetResponse

func (response CreateImageDataset401JSONResponse) VisitCreateImageDatasetResponse(w http.ResponseWriter) error

type CreateImageDataset403JSONResponse

type CreateImageDataset403JSONResponse ErrorResponse

func (CreateImageDataset403JSONResponse) VisitCreateImageDatasetResponse

func (response CreateImageDataset403JSONResponse) VisitCreateImageDatasetResponse(w http.ResponseWriter) error

type CreateImageDataset503JSONResponse

type CreateImageDataset503JSONResponse ErrorResponse

func (CreateImageDataset503JSONResponse) VisitCreateImageDatasetResponse

func (response CreateImageDataset503JSONResponse) VisitCreateImageDatasetResponse(w http.ResponseWriter) error

type CreateImageDatasetJSONRequestBody

type CreateImageDatasetJSONRequestBody = ImageDataset

CreateImageDatasetJSONRequestBody defines body for CreateImageDataset for application/json ContentType.

type CreateImageDatasetRequestObject

type CreateImageDatasetRequestObject struct {
	Body *CreateImageDatasetJSONRequestBody
}

type CreateImageDatasetResponseObject

type CreateImageDatasetResponseObject interface {
	VisitCreateImageDatasetResponse(w http.ResponseWriter) error
}

type DailyReportConfig added in v0.0.10

type DailyReportConfig struct {
	Enabled bool `json:"enabled"`

	// SendHourCST Hour of day (0-23) in Asia/Shanghai the daily report is sent.
	SendHourCST int `json:"sendHourCST"`
}

DailyReportConfig defines model for DailyReportConfig.

type DailyReportTriggerResult added in v0.0.10

type DailyReportTriggerResult struct {
	Detail *string                        `json:"detail,omitempty"`
	Result DailyReportTriggerResultResult `json:"result"`
}

DailyReportTriggerResult defines model for DailyReportTriggerResult.

type DailyReportTriggerResultResult added in v0.0.10

type DailyReportTriggerResultResult string

DailyReportTriggerResultResult defines model for DailyReportTriggerResult.Result.

const (
	DailyReportTriggerResultResultFailure DailyReportTriggerResultResult = "failure"
	DailyReportTriggerResultResultSuccess DailyReportTriggerResultResult = "success"
)

Defines values for DailyReportTriggerResultResult.

func (DailyReportTriggerResultResult) Valid added in v0.0.10

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

type DeleteApiKey204Response

type DeleteApiKey204Response struct {
}

func (DeleteApiKey204Response) VisitDeleteApiKeyResponse

func (response DeleteApiKey204Response) VisitDeleteApiKeyResponse(w http.ResponseWriter) error

type DeleteApiKey401JSONResponse

type DeleteApiKey401JSONResponse ErrorResponse

func (DeleteApiKey401JSONResponse) VisitDeleteApiKeyResponse

func (response DeleteApiKey401JSONResponse) 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 string `json:"name"`
}

type DeleteApiKeyResponseObject

type DeleteApiKeyResponseObject interface {
	VisitDeleteApiKeyResponse(w http.ResponseWriter) error
}

type DeleteImageDataset204Response

type DeleteImageDataset204Response struct {
}

func (DeleteImageDataset204Response) VisitDeleteImageDatasetResponse

func (response DeleteImageDataset204Response) VisitDeleteImageDatasetResponse(w http.ResponseWriter) error

type DeleteImageDataset401JSONResponse

type DeleteImageDataset401JSONResponse ErrorResponse

func (DeleteImageDataset401JSONResponse) VisitDeleteImageDatasetResponse

func (response DeleteImageDataset401JSONResponse) VisitDeleteImageDatasetResponse(w http.ResponseWriter) error

type DeleteImageDataset403JSONResponse

type DeleteImageDataset403JSONResponse ErrorResponse

func (DeleteImageDataset403JSONResponse) VisitDeleteImageDatasetResponse

func (response DeleteImageDataset403JSONResponse) VisitDeleteImageDatasetResponse(w http.ResponseWriter) error

type DeleteImageDataset404JSONResponse

type DeleteImageDataset404JSONResponse ErrorResponse

func (DeleteImageDataset404JSONResponse) VisitDeleteImageDatasetResponse

func (response DeleteImageDataset404JSONResponse) VisitDeleteImageDatasetResponse(w http.ResponseWriter) error

type DeleteImageDataset503JSONResponse

type DeleteImageDataset503JSONResponse ErrorResponse

func (DeleteImageDataset503JSONResponse) VisitDeleteImageDatasetResponse

func (response DeleteImageDataset503JSONResponse) VisitDeleteImageDatasetResponse(w http.ResponseWriter) error

type DeleteImageDatasetRequestObject

type DeleteImageDatasetRequestObject struct {
	Id string `json:"id"`
}

type DeleteImageDatasetResponseObject

type DeleteImageDatasetResponseObject interface {
	VisitDeleteImageDatasetResponse(w http.ResponseWriter) error
}

type ErrorResponse

type ErrorResponse = externalRef0.ErrorResponse

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

type GetSandboxTemplate503JSONResponse ErrorResponse

func (GetSandboxTemplate503JSONResponse) VisitGetSandboxTemplateResponse

func (response GetSandboxTemplate503JSONResponse) VisitGetSandboxTemplateResponse(w http.ResponseWriter) error

type GetSandboxTemplateRequestObject

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

type GetSandboxTemplateResponseObject

type GetSandboxTemplateResponseObject interface {
	VisitGetSandboxTemplateResponse(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 IdleAlertConfig added in v0.0.10

type IdleAlertConfig struct {
	// Armed Whether idle detection is currently active. Auto-disarmed after firing once.
	Armed   bool       `json:"armed"`
	ArmedAt *time.Time `json:"armedAt,omitempty"`
	Enabled bool       `json:"enabled"`

	// IdleThresholdMinutes Minutes of zero sandbox-create activity (any result) required to consider a cluster idle.
	IdleThresholdMinutes int `json:"idleThresholdMinutes"`

	// WatchedClusters Cluster IDs monitored for the idle condition. Alert fires only when ALL of them are simultaneously idle.
	WatchedClusters []string `json:"watchedClusters"`
}

IdleAlertConfig defines model for IdleAlertConfig.

type ImageDataset

type ImageDataset struct {
	Category       *string            `json:"category,omitempty"`
	ClusterDocs    *map[string]string `json:"clusterDocs,omitempty"`
	Description    *string            `json:"description,omitempty"`
	HuggingFaceUrl *string            `json:"huggingFaceUrl,omitempty"`
	Id             string             `json:"id"`
	ImageCount     *int               `json:"imageCount,omitempty"`
	Name           string             `json:"name"`
	Source         *string            `json:"source,omitempty"`
	Tags           *[]string          `json:"tags,omitempty"`
}

ImageDataset defines model for ImageDataset.

type ListAPIKeysResult

type ListAPIKeysResult = externalRef0.ListAPIKeysResult

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

type ListImagesCatalog200JSONResponse

type ListImagesCatalog200JSONResponse []ImageDataset

func (ListImagesCatalog200JSONResponse) VisitListImagesCatalogResponse

func (response ListImagesCatalog200JSONResponse) VisitListImagesCatalogResponse(w http.ResponseWriter) error

type ListImagesCatalog401JSONResponse

type ListImagesCatalog401JSONResponse ErrorResponse

func (ListImagesCatalog401JSONResponse) VisitListImagesCatalogResponse

func (response ListImagesCatalog401JSONResponse) VisitListImagesCatalogResponse(w http.ResponseWriter) error

type ListImagesCatalog503JSONResponse

type ListImagesCatalog503JSONResponse ErrorResponse

func (ListImagesCatalog503JSONResponse) VisitListImagesCatalogResponse

func (response ListImagesCatalog503JSONResponse) VisitListImagesCatalogResponse(w http.ResponseWriter) error

type ListImagesCatalogRequestObject

type ListImagesCatalogRequestObject struct {
}

type ListImagesCatalogResponseObject

type ListImagesCatalogResponseObject interface {
	VisitListImagesCatalogResponse(w http.ResponseWriter) error
}

type ListMyApiKeys200JSONResponse

type ListMyApiKeys200JSONResponse ListAPIKeysResult

func (ListMyApiKeys200JSONResponse) VisitListMyApiKeysResponse

func (response ListMyApiKeys200JSONResponse) VisitListMyApiKeysResponse(w http.ResponseWriter) error

type ListMyApiKeys401JSONResponse

type ListMyApiKeys401JSONResponse ErrorResponse

func (ListMyApiKeys401JSONResponse) VisitListMyApiKeysResponse

func (response ListMyApiKeys401JSONResponse) VisitListMyApiKeysResponse(w http.ResponseWriter) error

type ListMyApiKeys503JSONResponse

type ListMyApiKeys503JSONResponse ErrorResponse

func (ListMyApiKeys503JSONResponse) VisitListMyApiKeysResponse

func (response ListMyApiKeys503JSONResponse) VisitListMyApiKeysResponse(w http.ResponseWriter) error

type ListMyApiKeysParams

type ListMyApiKeysParams struct {
	// Team Filter by team (admin only).
	Team *string `form:"team,omitempty" json:"team,omitempty"`

	// User Filter by user (admin only).
	User *string `form:"user,omitempty" json:"user,omitempty"`
}

ListMyApiKeysParams defines parameters for ListMyApiKeys.

type ListMyApiKeysRequestObject

type ListMyApiKeysRequestObject struct {
	Params ListMyApiKeysParams
}

type ListMyApiKeysResponseObject

type ListMyApiKeysResponseObject interface {
	VisitListMyApiKeysResponse(w http.ResponseWriter) error
}

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 ListSandboxTemplates503JSONResponse

type ListSandboxTemplates503JSONResponse ErrorResponse

func (ListSandboxTemplates503JSONResponse) VisitListSandboxTemplatesResponse

func (response ListSandboxTemplates503JSONResponse) VisitListSandboxTemplatesResponse(w http.ResponseWriter) error

type ListSandboxTemplatesRequestObject

type ListSandboxTemplatesRequestObject struct {
}

type ListSandboxTemplatesResponseObject

type ListSandboxTemplatesResponseObject interface {
	VisitListSandboxTemplatesResponse(w http.ResponseWriter) error
}

type ListSandboxTemplatesResult

type ListSandboxTemplatesResult = externalRef0.ListSandboxTemplatesResult

ListSandboxTemplatesResult defines model for ListSandboxTemplatesResult.

type MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type NotificationConfig added in v0.0.10

type NotificationConfig struct {
	DailyReport DailyReportConfig `json:"dailyReport"`
	IdleAlert   IdleAlertConfig   `json:"idleAlert"`
}

NotificationConfig defines model for NotificationConfig.

type NotificationHistory added in v0.0.10

type NotificationHistory struct {
	Entries []NotificationHistoryEntry `json:"entries"`
}

NotificationHistory defines model for NotificationHistory.

type NotificationHistoryEntry added in v0.0.10

type NotificationHistoryEntry struct {
	// Detail Failure reason, or a short human-readable summary on success.
	Detail *string                        `json:"detail,omitempty"`
	Result NotificationHistoryEntryResult `json:"result"`
	Time   time.Time                      `json:"time"`
	Type   NotificationHistoryEntryType   `json:"type"`
}

NotificationHistoryEntry defines model for NotificationHistoryEntry.

type NotificationHistoryEntryResult added in v0.0.10

type NotificationHistoryEntryResult string

NotificationHistoryEntryResult defines model for NotificationHistoryEntry.Result.

const (
	NotificationHistoryEntryResultFailure NotificationHistoryEntryResult = "failure"
	NotificationHistoryEntryResultSuccess NotificationHistoryEntryResult = "success"
)

Defines values for NotificationHistoryEntryResult.

func (NotificationHistoryEntryResult) Valid added in v0.0.10

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

type NotificationHistoryEntryType added in v0.0.10

type NotificationHistoryEntryType string

NotificationHistoryEntryType defines model for NotificationHistoryEntry.Type.

const (
	DailyReport NotificationHistoryEntryType = "dailyReport"
	IdleAlert   NotificationHistoryEntryType = "idleAlert"
)

Defines values for NotificationHistoryEntryType.

func (NotificationHistoryEntryType) Valid added in v0.0.10

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

type PlatformUsersCount added in v0.0.10

type PlatformUsersCount struct {
	GeneratedAt time.Time `json:"generatedAt"`

	// TotalUsers Deduplicated (team, user) pair count across every API key, including expired keys.
	TotalUsers int `json:"totalUsers"`
}

PlatformUsersCount defines model for PlatformUsersCount.

type PlatformUsersCount200JSONResponse added in v0.0.10

type PlatformUsersCount200JSONResponse PlatformUsersCount

func (PlatformUsersCount200JSONResponse) VisitPlatformUsersCountResponse added in v0.0.10

func (response PlatformUsersCount200JSONResponse) VisitPlatformUsersCountResponse(w http.ResponseWriter) error

type PlatformUsersCount401JSONResponse added in v0.0.10

type PlatformUsersCount401JSONResponse ErrorResponse

func (PlatformUsersCount401JSONResponse) VisitPlatformUsersCountResponse added in v0.0.10

func (response PlatformUsersCount401JSONResponse) VisitPlatformUsersCountResponse(w http.ResponseWriter) error

type PlatformUsersCount503JSONResponse added in v0.0.10

type PlatformUsersCount503JSONResponse ErrorResponse

func (PlatformUsersCount503JSONResponse) VisitPlatformUsersCountResponse added in v0.0.10

func (response PlatformUsersCount503JSONResponse) VisitPlatformUsersCountResponse(w http.ResponseWriter) error

type PlatformUsersCountRequestObject added in v0.0.10

type PlatformUsersCountRequestObject struct {
}

type PlatformUsersCountResponseObject added in v0.0.10

type PlatformUsersCountResponseObject interface {
	VisitPlatformUsersCountResponse(w http.ResponseWriter) error
}

type SandboxTemplateEnvelope

type SandboxTemplateEnvelope = externalRef0.SandboxTemplateEnvelope

SandboxTemplateEnvelope defines model for SandboxTemplateEnvelope.

type ServerInterface

type ServerInterface interface {
	// Get daily-report and idle-alert notification config (admin)
	// (GET /v1/admin/notifications/config)
	AdminGetNotificationConfig(c *gin.Context)
	// Update daily-report and idle-alert notification config (admin)
	// (PUT /v1/admin/notifications/config)
	AdminUpdateNotificationConfig(c *gin.Context)
	// Manually trigger the daily report immediately (admin)
	// (POST /v1/admin/notifications/daily-report/trigger)
	AdminTriggerDailyReport(c *gin.Context)
	// Get the recent notification send history (admin)
	// (GET /v1/admin/notifications/history)
	AdminGetNotificationHistory(c *gin.Context)
	// Arm idle detection, resetting the per-cluster idle timers (admin)
	// (POST /v1/admin/notifications/idle-alert/arm)
	AdminArmIdleAlert(c *gin.Context)
	// Disarm idle detection (admin)
	// (POST /v1/admin/notifications/idle-alert/disarm)
	AdminDisarmIdleAlert(c *gin.Context)
	// Create a global sandbox template (admin)
	// (POST /v1/admin/sandbox-templates)
	AdminCreateSandboxTemplate(c *gin.Context)
	// Delete a global sandbox template (admin)
	// (DELETE /v1/admin/sandbox-templates/{name})
	AdminDeleteSandboxTemplate(c *gin.Context, name string)
	// Update a global sandbox template (admin)
	// (PUT /v1/admin/sandbox-templates/{name})
	AdminUpdateSandboxTemplate(c *gin.Context, name string)
	// Get platform user summary with per-team breakdown (admin)
	// (GET /v1/admin/users/summary)
	AdminUsersSummary(c *gin.Context)
	// List API keys for the authenticated user
	// (GET /v1/api-keys)
	ListMyApiKeys(c *gin.Context, params ListMyApiKeysParams)
	// Create an API key
	// (POST /v1/api-keys)
	CreateApiKey(c *gin.Context, params CreateApiKeyParams)
	// Delete an API key
	// (DELETE /v1/api-keys/{name})
	DeleteApiKey(c *gin.Context, name string)
	// List image datasets
	// (GET /v1/images-catalog)
	ListImagesCatalog(c *gin.Context)
	// Create or upsert an image dataset (admin)
	// (POST /v1/images-catalog)
	CreateImageDataset(c *gin.Context)
	// Delete an image dataset (admin)
	// (DELETE /v1/images-catalog/{id})
	DeleteImageDataset(c *gin.Context, id string)
	// Update an image dataset (admin)
	// (PUT /v1/images-catalog/{id})
	UpdateImageDataset(c *gin.Context, id string)
	// Get the deduplicated platform-wide user count
	// (GET /v1/platform/users/count)
	PlatformUsersCount(c *gin.Context)
	// List global sandbox templates
	// (GET /v1/sandbox-templates)
	ListSandboxTemplates(c *gin.Context)
	// Get a global sandbox template
	// (GET /v1/sandbox-templates/{name})
	GetSandboxTemplate(c *gin.Context, name string)
}

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) AdminArmIdleAlert added in v0.0.10

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

AdminArmIdleAlert operation middleware

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) AdminDisarmIdleAlert added in v0.0.10

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

AdminDisarmIdleAlert operation middleware

func (*ServerInterfaceWrapper) AdminGetNotificationConfig added in v0.0.10

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

AdminGetNotificationConfig operation middleware

func (*ServerInterfaceWrapper) AdminGetNotificationHistory added in v0.0.10

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

AdminGetNotificationHistory operation middleware

func (*ServerInterfaceWrapper) AdminTriggerDailyReport added in v0.0.10

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

AdminTriggerDailyReport operation middleware

func (*ServerInterfaceWrapper) AdminUpdateNotificationConfig added in v0.0.10

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

AdminUpdateNotificationConfig operation middleware

func (*ServerInterfaceWrapper) AdminUpdateSandboxTemplate

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

AdminUpdateSandboxTemplate operation middleware

func (*ServerInterfaceWrapper) AdminUsersSummary added in v0.0.10

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

AdminUsersSummary operation middleware

func (*ServerInterfaceWrapper) CreateApiKey

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

CreateApiKey operation middleware

func (*ServerInterfaceWrapper) CreateImageDataset

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

CreateImageDataset operation middleware

func (*ServerInterfaceWrapper) DeleteApiKey

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

DeleteApiKey operation middleware

func (*ServerInterfaceWrapper) DeleteImageDataset

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

DeleteImageDataset operation middleware

func (*ServerInterfaceWrapper) GetSandboxTemplate

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

GetSandboxTemplate operation middleware

func (*ServerInterfaceWrapper) ListImagesCatalog

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

ListImagesCatalog operation middleware

func (*ServerInterfaceWrapper) ListMyApiKeys

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

ListMyApiKeys operation middleware

func (*ServerInterfaceWrapper) ListSandboxTemplates

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

ListSandboxTemplates operation middleware

func (*ServerInterfaceWrapper) PlatformUsersCount added in v0.0.10

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

PlatformUsersCount operation middleware

func (*ServerInterfaceWrapper) UpdateImageDataset

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

UpdateImageDataset operation middleware

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {
	// Get daily-report and idle-alert notification config (admin)
	// (GET /v1/admin/notifications/config)
	AdminGetNotificationConfig(ctx context.Context, request AdminGetNotificationConfigRequestObject) (AdminGetNotificationConfigResponseObject, error)
	// Update daily-report and idle-alert notification config (admin)
	// (PUT /v1/admin/notifications/config)
	AdminUpdateNotificationConfig(ctx context.Context, request AdminUpdateNotificationConfigRequestObject) (AdminUpdateNotificationConfigResponseObject, error)
	// Manually trigger the daily report immediately (admin)
	// (POST /v1/admin/notifications/daily-report/trigger)
	AdminTriggerDailyReport(ctx context.Context, request AdminTriggerDailyReportRequestObject) (AdminTriggerDailyReportResponseObject, error)
	// Get the recent notification send history (admin)
	// (GET /v1/admin/notifications/history)
	AdminGetNotificationHistory(ctx context.Context, request AdminGetNotificationHistoryRequestObject) (AdminGetNotificationHistoryResponseObject, error)
	// Arm idle detection, resetting the per-cluster idle timers (admin)
	// (POST /v1/admin/notifications/idle-alert/arm)
	AdminArmIdleAlert(ctx context.Context, request AdminArmIdleAlertRequestObject) (AdminArmIdleAlertResponseObject, error)
	// Disarm idle detection (admin)
	// (POST /v1/admin/notifications/idle-alert/disarm)
	AdminDisarmIdleAlert(ctx context.Context, request AdminDisarmIdleAlertRequestObject) (AdminDisarmIdleAlertResponseObject, error)
	// Create a global sandbox template (admin)
	// (POST /v1/admin/sandbox-templates)
	AdminCreateSandboxTemplate(ctx context.Context, request AdminCreateSandboxTemplateRequestObject) (AdminCreateSandboxTemplateResponseObject, error)
	// Delete a global sandbox template (admin)
	// (DELETE /v1/admin/sandbox-templates/{name})
	AdminDeleteSandboxTemplate(ctx context.Context, request AdminDeleteSandboxTemplateRequestObject) (AdminDeleteSandboxTemplateResponseObject, error)
	// Update a global sandbox template (admin)
	// (PUT /v1/admin/sandbox-templates/{name})
	AdminUpdateSandboxTemplate(ctx context.Context, request AdminUpdateSandboxTemplateRequestObject) (AdminUpdateSandboxTemplateResponseObject, error)
	// Get platform user summary with per-team breakdown (admin)
	// (GET /v1/admin/users/summary)
	AdminUsersSummary(ctx context.Context, request AdminUsersSummaryRequestObject) (AdminUsersSummaryResponseObject, error)
	// List API keys for the authenticated user
	// (GET /v1/api-keys)
	ListMyApiKeys(ctx context.Context, request ListMyApiKeysRequestObject) (ListMyApiKeysResponseObject, error)
	// Create an API key
	// (POST /v1/api-keys)
	CreateApiKey(ctx context.Context, request CreateApiKeyRequestObject) (CreateApiKeyResponseObject, error)
	// Delete an API key
	// (DELETE /v1/api-keys/{name})
	DeleteApiKey(ctx context.Context, request DeleteApiKeyRequestObject) (DeleteApiKeyResponseObject, error)
	// List image datasets
	// (GET /v1/images-catalog)
	ListImagesCatalog(ctx context.Context, request ListImagesCatalogRequestObject) (ListImagesCatalogResponseObject, error)
	// Create or upsert an image dataset (admin)
	// (POST /v1/images-catalog)
	CreateImageDataset(ctx context.Context, request CreateImageDatasetRequestObject) (CreateImageDatasetResponseObject, error)
	// Delete an image dataset (admin)
	// (DELETE /v1/images-catalog/{id})
	DeleteImageDataset(ctx context.Context, request DeleteImageDatasetRequestObject) (DeleteImageDatasetResponseObject, error)
	// Update an image dataset (admin)
	// (PUT /v1/images-catalog/{id})
	UpdateImageDataset(ctx context.Context, request UpdateImageDatasetRequestObject) (UpdateImageDatasetResponseObject, error)
	// Get the deduplicated platform-wide user count
	// (GET /v1/platform/users/count)
	PlatformUsersCount(ctx context.Context, request PlatformUsersCountRequestObject) (PlatformUsersCountResponseObject, error)
	// List global sandbox templates
	// (GET /v1/sandbox-templates)
	ListSandboxTemplates(ctx context.Context, request ListSandboxTemplatesRequestObject) (ListSandboxTemplatesResponseObject, error)
	// Get a global sandbox template
	// (GET /v1/sandbox-templates/{name})
	GetSandboxTemplate(ctx context.Context, request GetSandboxTemplateRequestObject) (GetSandboxTemplateResponseObject, error)
}

StrictServerInterface represents all server handlers.

type UpdateImageDataset200JSONResponse

type UpdateImageDataset200JSONResponse ImageDataset

func (UpdateImageDataset200JSONResponse) VisitUpdateImageDatasetResponse

func (response UpdateImageDataset200JSONResponse) VisitUpdateImageDatasetResponse(w http.ResponseWriter) error

type UpdateImageDataset400JSONResponse

type UpdateImageDataset400JSONResponse ErrorResponse

func (UpdateImageDataset400JSONResponse) VisitUpdateImageDatasetResponse

func (response UpdateImageDataset400JSONResponse) VisitUpdateImageDatasetResponse(w http.ResponseWriter) error

type UpdateImageDataset401JSONResponse

type UpdateImageDataset401JSONResponse ErrorResponse

func (UpdateImageDataset401JSONResponse) VisitUpdateImageDatasetResponse

func (response UpdateImageDataset401JSONResponse) VisitUpdateImageDatasetResponse(w http.ResponseWriter) error

type UpdateImageDataset403JSONResponse

type UpdateImageDataset403JSONResponse ErrorResponse

func (UpdateImageDataset403JSONResponse) VisitUpdateImageDatasetResponse

func (response UpdateImageDataset403JSONResponse) VisitUpdateImageDatasetResponse(w http.ResponseWriter) error

type UpdateImageDataset404JSONResponse

type UpdateImageDataset404JSONResponse ErrorResponse

func (UpdateImageDataset404JSONResponse) VisitUpdateImageDatasetResponse

func (response UpdateImageDataset404JSONResponse) VisitUpdateImageDatasetResponse(w http.ResponseWriter) error

type UpdateImageDataset503JSONResponse

type UpdateImageDataset503JSONResponse ErrorResponse

func (UpdateImageDataset503JSONResponse) VisitUpdateImageDatasetResponse

func (response UpdateImageDataset503JSONResponse) VisitUpdateImageDatasetResponse(w http.ResponseWriter) error

type UpdateImageDatasetJSONRequestBody

type UpdateImageDatasetJSONRequestBody = ImageDataset

UpdateImageDatasetJSONRequestBody defines body for UpdateImageDataset for application/json ContentType.

type UpdateImageDatasetRequestObject

type UpdateImageDatasetRequestObject struct {
	Id   string `json:"id"`
	Body *UpdateImageDatasetJSONRequestBody
}

type UpdateImageDatasetResponseObject

type UpdateImageDatasetResponseObject interface {
	VisitUpdateImageDatasetResponse(w http.ResponseWriter) error
}

type UpsertSandboxTemplateRequest

type UpsertSandboxTemplateRequest = externalRef0.UpsertSandboxTemplateRequest

UpsertSandboxTemplateRequest defines model for UpsertSandboxTemplateRequest.

Jump to

Keyboard shortcuts

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