apigen

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package apigen provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Package apigen is generated by oapi-codegen from api/v1/openapi.yaml: the request and response types and the strict server interface the api package implements. Do not edit apigen.gen.go by hand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSpec

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

GetSpec returns the OpenAPI specification corresponding to the generated code in this file. External references in the spec are resolved through PathToRawSpec; externally-referenced files must be embedded in their corresponding Go packages (via the import-mapping feature). URL-based external refs are not supported.

func GetSpecJSON

func GetSpecJSON() ([]byte, error)

GetSpecJSON returns the raw JSON bytes of the embedded OpenAPI specification: decompressed but not unmarshaled. External references are not resolved here; the bytes are the spec exactly as embedded by codegen. The result is cached at package init time, so repeated calls are cheap.

func GetSwagger deprecated

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

GetSwagger returns the OpenAPI specification corresponding to the generated code in this file.

Deprecated: GetSwagger predates kin-openapi renaming openapi3.Swagger to openapi3.T. Use GetSpec instead. This wrapper is retained for backwards compatibility.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func PathToRawSpec

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

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type AcknowledgeServerCondition202JSONResponse added in v1.5.0

type AcknowledgeServerCondition202JSONResponse Server

func (AcknowledgeServerCondition202JSONResponse) VisitAcknowledgeServerConditionResponse added in v1.5.0

func (response AcknowledgeServerCondition202JSONResponse) VisitAcknowledgeServerConditionResponse(w http.ResponseWriter) error

type AcknowledgeServerCondition401ApplicationProblemPlusJSONResponse added in v1.5.0

type AcknowledgeServerCondition401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (AcknowledgeServerCondition401ApplicationProblemPlusJSONResponse) VisitAcknowledgeServerConditionResponse added in v1.5.0

func (response AcknowledgeServerCondition401ApplicationProblemPlusJSONResponse) VisitAcknowledgeServerConditionResponse(w http.ResponseWriter) error

type AcknowledgeServerCondition403ApplicationProblemPlusJSONResponse added in v1.5.0

type AcknowledgeServerCondition403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (AcknowledgeServerCondition403ApplicationProblemPlusJSONResponse) VisitAcknowledgeServerConditionResponse added in v1.5.0

func (response AcknowledgeServerCondition403ApplicationProblemPlusJSONResponse) VisitAcknowledgeServerConditionResponse(w http.ResponseWriter) error

type AcknowledgeServerCondition404ApplicationProblemPlusJSONResponse added in v1.5.0

type AcknowledgeServerCondition404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (AcknowledgeServerCondition404ApplicationProblemPlusJSONResponse) VisitAcknowledgeServerConditionResponse added in v1.5.0

func (response AcknowledgeServerCondition404ApplicationProblemPlusJSONResponse) VisitAcknowledgeServerConditionResponse(w http.ResponseWriter) error

type AcknowledgeServerConditionRequestObject added in v1.5.0

type AcknowledgeServerConditionRequestObject struct {
	ServerId    ServerId    `json:"serverId"`
	ConditionId ConditionId `json:"conditionId"`
}

type AcknowledgeServerConditionResponseObject added in v1.5.0

type AcknowledgeServerConditionResponseObject interface {
	VisitAcknowledgeServerConditionResponse(w http.ResponseWriter) error
}

type AddTeamMember204Response added in v1.4.0

type AddTeamMember204Response struct {
}

func (AddTeamMember204Response) VisitAddTeamMemberResponse added in v1.4.0

func (response AddTeamMember204Response) VisitAddTeamMemberResponse(w http.ResponseWriter) error

type AddTeamMember401ApplicationProblemPlusJSONResponse added in v1.4.0

type AddTeamMember401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (AddTeamMember401ApplicationProblemPlusJSONResponse) VisitAddTeamMemberResponse added in v1.4.0

func (response AddTeamMember401ApplicationProblemPlusJSONResponse) VisitAddTeamMemberResponse(w http.ResponseWriter) error

type AddTeamMember403ApplicationProblemPlusJSONResponse added in v1.4.0

type AddTeamMember403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (AddTeamMember403ApplicationProblemPlusJSONResponse) VisitAddTeamMemberResponse added in v1.4.0

func (response AddTeamMember403ApplicationProblemPlusJSONResponse) VisitAddTeamMemberResponse(w http.ResponseWriter) error

type AddTeamMember404ApplicationProblemPlusJSONResponse added in v1.4.0

type AddTeamMember404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (AddTeamMember404ApplicationProblemPlusJSONResponse) VisitAddTeamMemberResponse added in v1.4.0

func (response AddTeamMember404ApplicationProblemPlusJSONResponse) VisitAddTeamMemberResponse(w http.ResponseWriter) error

type AddTeamMemberRequestObject added in v1.4.0

type AddTeamMemberRequestObject struct {
	TeamId TeamId `json:"teamId"`
	UserId UserId `json:"userId"`
}

type AddTeamMemberResponseObject added in v1.4.0

type AddTeamMemberResponseObject interface {
	VisitAddTeamMemberResponse(w http.ResponseWriter) error
}

type ApiToken

type ApiToken struct {
	CreatedAt time.Time `json:"createdAt"`

	// DisplayPrefix The start of the secret, to tell tokens apart.
	DisplayPrefix string             `json:"displayPrefix"`
	ExpiresAt     *time.Time         `json:"expiresAt,omitempty"`
	Id            openapi_types.UUID `json:"id"`
	LastUsedAt    *time.Time         `json:"lastUsedAt,omitempty"`
	Name          string             `json:"name"`

	// Permissions The token's permission subset; absent means all of your permissions.
	Permissions *[]Permission `json:"permissions,omitempty"`
}

ApiToken defines model for ApiToken.

type ApiTokenList

type ApiTokenList struct {
	Items []ApiToken `json:"items"`
}

ApiTokenList defines model for ApiTokenList.

type Artifact added in v1.11.0

type Artifact struct {
	// Build Empty for software without builds (Vanilla) or uploads without one.
	Build       string             `json:"build"`
	CreatedAt   time.Time          `json:"createdAt"`
	Id          openapi_types.UUID `json:"id"`
	JavaVersion int                `json:"javaVersion"`

	// Sha256 Lowercase hex SHA-256 of the jar.
	Sha256    string `json:"sha256"`
	SizeBytes int64  `json:"sizeBytes"`

	// Source UPSTREAM was downloaded from the publisher; UPLOAD was uploaded by an administrator.
	Source   ArtifactSource `json:"source"`
	Template string         `json:"template"`

	// Verified Checked against the checksum the publisher published. Uploads never are.
	Verified bool   `json:"verified"`
	Version  string `json:"version"`
}

Artifact defines model for Artifact.

type ArtifactList added in v1.11.0

type ArtifactList struct {
	Items []Artifact `json:"items"`
}

ArtifactList defines model for ArtifactList.

type ArtifactSource added in v1.11.0

type ArtifactSource string

ArtifactSource UPSTREAM was downloaded from the publisher; UPLOAD was uploaded by an administrator.

const (
	ArtifactSourceUPLOAD   ArtifactSource = "UPLOAD"
	ArtifactSourceUPSTREAM ArtifactSource = "UPSTREAM"
)

Defines values for ArtifactSource.

func (ArtifactSource) Valid added in v1.11.0

func (e ArtifactSource) Valid() bool

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

type AssignmentId added in v1.4.0

type AssignmentId = openapi_types.UUID

AssignmentId defines model for AssignmentId.

type AuditEvent added in v1.4.0

type AuditEvent struct {
	// Action Example: user.update
	Action      string                 `json:"action"`
	ActorKind   AuditEventActorKind    `json:"actorKind"`
	ActorUserId *openapi_types.UUID    `json:"actorUserId,omitempty"`
	Details     map[string]interface{} `json:"details"`
	Id          int64                  `json:"id"`
	OccurredAt  time.Time              `json:"occurredAt"`
	Outcome     AuditEventOutcome      `json:"outcome"`
	TargetId    string                 `json:"targetId"`
	TargetKind  string                 `json:"targetKind"`
}

AuditEvent defines model for AuditEvent.

type AuditEventActorKind added in v1.4.0

type AuditEventActorKind string

AuditEventActorKind defines model for AuditEvent.ActorKind.

const (
	APITOKEN AuditEventActorKind = "API_TOKEN"
	SYSTEM   AuditEventActorKind = "SYSTEM"
	USER     AuditEventActorKind = "USER"
)

Defines values for AuditEventActorKind.

func (AuditEventActorKind) Valid added in v1.4.0

func (e AuditEventActorKind) Valid() bool

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

type AuditEventList added in v1.4.0

type AuditEventList struct {
	Items      []AuditEvent `json:"items"`
	NextCursor *string      `json:"nextCursor,omitempty"`
}

AuditEventList defines model for AuditEventList.

type AuditEventOutcome added in v1.4.0

type AuditEventOutcome string

AuditEventOutcome defines model for AuditEvent.Outcome.

const (
	AuditEventOutcomeDENIED  AuditEventOutcome = "DENIED"
	AuditEventOutcomeFAILURE AuditEventOutcome = "FAILURE"
	AuditEventOutcomeSUCCESS AuditEventOutcome = "SUCCESS"
)

Defines values for AuditEventOutcome.

func (AuditEventOutcome) Valid added in v1.4.0

func (e AuditEventOutcome) Valid() bool

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

type Backup added in v1.18.0

type Backup struct {
	DestinationId openapi_types.UUID `json:"destinationId"`
	Error         *string            `json:"error,omitempty"`
	FinishedAt    *time.Time         `json:"finishedAt,omitempty"`
	Id            openapi_types.UUID `json:"id"`

	// NodeId The Node that took it; a NODE_DIRECTORY backup is stored there.
	NodeId     openapi_types.UUID  `json:"nodeId"`
	Plugins    []BackupPlugin      `json:"plugins"`
	ScheduleId *openapi_types.UUID `json:"scheduleId,omitempty"`
	ServerId   openapi_types.UUID  `json:"serverId"`
	SizeBytes  int64               `json:"sizeBytes"`

	// Software What the server runs. A Shardkeep template, never a container image.
	Software  Software      `json:"software"`
	StartedAt time.Time     `json:"startedAt"`
	State     BackupState   `json:"state"`
	Trigger   BackupTrigger `json:"trigger"`
}

Backup defines model for Backup.

type BackupDestination added in v1.18.0

type BackupDestination struct {
	CreatedAt time.Time             `json:"createdAt"`
	Id        openapi_types.UUID    `json:"id"`
	Kind      BackupDestinationKind `json:"kind"`
	Name      string                `json:"name"`

	// Recipient The age public key backups are encrypted to.
	Recipient string      `json:"recipient"`
	S3        *S3Settings `json:"s3,omitempty"`

	// Subdirectory For NODE_DIRECTORY, the directory below each Agent's `-backup-dir`.
	Subdirectory *string `json:"subdirectory,omitempty"`
}

BackupDestination defines model for BackupDestination.

type BackupDestinationKind added in v1.18.0

type BackupDestinationKind string

BackupDestinationKind defines model for BackupDestination.Kind.

const (
	BackupDestinationKindNODEDIRECTORY BackupDestinationKind = "NODE_DIRECTORY"
	BackupDestinationKindS3            BackupDestinationKind = "S3"
)

Defines values for BackupDestinationKind.

func (BackupDestinationKind) Valid added in v1.18.0

func (e BackupDestinationKind) Valid() bool

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

type BackupDestinationList added in v1.18.0

type BackupDestinationList struct {
	Items []BackupDestination `json:"items"`
}

BackupDestinationList defines model for BackupDestinationList.

type BackupId added in v1.18.0

type BackupId = openapi_types.UUID

BackupId defines model for BackupId.

type BackupList added in v1.18.0

type BackupList struct {
	Items      []Backup `json:"items"`
	NextCursor *string  `json:"nextCursor,omitempty"`
}

BackupList defines model for BackupList.

type BackupPlugin added in v1.18.0

type BackupPlugin struct {
	CatalogVersionId *string `json:"catalogVersionId,omitempty"`
	Name             string  `json:"name"`
	PluginId         string  `json:"pluginId"`
	Version          string  `json:"version"`
}

BackupPlugin defines model for BackupPlugin.

type BackupState added in v1.18.0

type BackupState string

BackupState defines model for Backup.State.

const (
	BackupStateFAILED    BackupState = "FAILED"
	BackupStateRUNNING   BackupState = "RUNNING"
	BackupStateSUCCEEDED BackupState = "SUCCEEDED"
)

Defines values for BackupState.

func (BackupState) Valid added in v1.18.0

func (e BackupState) Valid() bool

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

type BackupTrigger added in v1.18.0

type BackupTrigger string

BackupTrigger defines model for Backup.Trigger.

const (
	BEFORERESTORE BackupTrigger = "BEFORE_RESTORE"
	MANUAL        BackupTrigger = "MANUAL"
	SCHEDULE      BackupTrigger = "SCHEDULE"
)

Defines values for BackupTrigger.

func (BackupTrigger) Valid added in v1.18.0

func (e BackupTrigger) Valid() bool

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

type BadRequest

type BadRequest = Problem

BadRequest An RFC 9457 problem with a machine-readable code.

type BadRequestApplicationProblemPlusJSONResponse

type BadRequestApplicationProblemPlusJSONResponse Problem

type CatalogDenial added in v1.13.0

type CatalogDenial struct {
	Link   *string `json:"link,omitempty"`
	Reason string  `json:"reason"`

	// Versions Empty means every version.
	Versions []string `json:"versions"`
}

CatalogDenial defines model for CatalogDenial.

type CatalogPlugin added in v1.13.0

type CatalogPlugin struct {
	Downloads int64 `json:"downloads"`

	// Id Example: modrinth:Vebnzrzj
	Id      string              `json:"id"`
	License string              `json:"license"`
	Name    string              `json:"name"`
	Slug    string              `json:"slug"`
	Source  CatalogPluginSource `json:"source"`
	Summary string              `json:"summary"`
	Updated time.Time           `json:"updated"`

	// Url The project page at its source.
	Url string `json:"url"`
}

CatalogPlugin defines model for CatalogPlugin.

type CatalogPluginDetail added in v1.13.0

type CatalogPluginDetail struct {
	// Denials Denylist entries about this plugin; denied versions are not listed.
	Denials   []CatalogDenial `json:"denials"`
	Downloads int64           `json:"downloads"`

	// Id Example: modrinth:Vebnzrzj
	Id      string                    `json:"id"`
	License string                    `json:"license"`
	Name    string                    `json:"name"`
	Slug    string                    `json:"slug"`
	Source  CatalogPluginDetailSource `json:"source"`
	Summary string                    `json:"summary"`
	Updated time.Time                 `json:"updated"`

	// Url The project page at its source.
	Url      string                 `json:"url"`
	Versions []CatalogPluginVersion `json:"versions"`
}

CatalogPluginDetail defines model for CatalogPluginDetail.

type CatalogPluginDetailSource added in v1.13.0

type CatalogPluginDetailSource string

CatalogPluginDetailSource defines model for CatalogPluginDetail.Source.

const (
	CatalogPluginDetailSourceHangar   CatalogPluginDetailSource = "hangar"
	CatalogPluginDetailSourceModrinth CatalogPluginDetailSource = "modrinth"
)

Defines values for CatalogPluginDetailSource.

func (CatalogPluginDetailSource) Valid added in v1.13.0

func (e CatalogPluginDetailSource) Valid() bool

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

type CatalogPluginList added in v1.13.0

type CatalogPluginList struct {
	Items      []CatalogPlugin `json:"items"`
	NextCursor *string         `json:"nextCursor,omitempty"`
}

CatalogPluginList defines model for CatalogPluginList.

type CatalogPluginSource added in v1.13.0

type CatalogPluginSource string

CatalogPluginSource defines model for CatalogPlugin.Source.

const (
	CatalogPluginSourceHangar   CatalogPluginSource = "hangar"
	CatalogPluginSourceModrinth CatalogPluginSource = "modrinth"
)

Defines values for CatalogPluginSource.

func (CatalogPluginSource) Valid added in v1.13.0

func (e CatalogPluginSource) Valid() bool

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

type CatalogPluginVersion added in v1.13.0

type CatalogPluginVersion struct {
	Channel      CatalogPluginVersionChannel `json:"channel"`
	Dependencies []struct {
		Name string `json:"name"`

		// PluginId Set when the dependency is in the catalog.
		PluginId *string `json:"pluginId,omitempty"`
		Required bool    `json:"required"`
	} `json:"dependencies"`
	FileName     string    `json:"fileName"`
	GameVersions []string  `json:"gameVersions"`
	Id           string    `json:"id"`
	Platforms    []string  `json:"platforms"`
	Published    time.Time `json:"published"`
	SizeBytes    int64     `json:"sizeBytes"`
	Version      string    `json:"version"`
}

CatalogPluginVersion defines model for CatalogPluginVersion.

type CatalogPluginVersionChannel added in v1.13.0

type CatalogPluginVersionChannel string

CatalogPluginVersionChannel defines model for CatalogPluginVersion.Channel.

const (
	Alpha   CatalogPluginVersionChannel = "alpha"
	Beta    CatalogPluginVersionChannel = "beta"
	Release CatalogPluginVersionChannel = "release"
)

Defines values for CatalogPluginVersionChannel.

func (CatalogPluginVersionChannel) Valid added in v1.13.0

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

type CatalogStatus added in v1.13.0

type CatalogStatus struct {
	// Error The latest sync attempt's error; the snapshot in use stays valid.
	Error *string `json:"error,omitempty"`

	// GeneratedAt When the catalog built the snapshot in use.
	GeneratedAt   *time.Time `json:"generatedAt,omitempty"`
	LastAttemptAt *time.Time `json:"lastAttemptAt,omitempty"`

	// Offline True when the Controller runs with -offline and never syncs.
	Offline  bool   `json:"offline"`
	Sequence *int64 `json:"sequence,omitempty"`

	// Synced True once a catalog snapshot has been stored.
	Synced bool `json:"synced"`

	// SyncedAt When this Controller stored it.
	SyncedAt *time.Time `json:"syncedAt,omitempty"`

	// Url The catalog URL (global administrators only).
	Url *string `json:"url,omitempty"`
}

CatalogStatus defines model for CatalogStatus.

type CatalogUnavailable added in v1.14.0

type CatalogUnavailable = Problem

CatalogUnavailable An RFC 9457 problem with a machine-readable code.

type CatalogUnavailableApplicationProblemPlusJSONResponse added in v1.14.0

type CatalogUnavailableApplicationProblemPlusJSONResponse Problem

type ChangePassword204Response

type ChangePassword204Response struct {
}

func (ChangePassword204Response) VisitChangePasswordResponse

func (response ChangePassword204Response) VisitChangePasswordResponse(w http.ResponseWriter) error

type ChangePassword400ApplicationProblemPlusJSONResponse

type ChangePassword400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ChangePassword400ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse

func (response ChangePassword400ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error

type ChangePassword401ApplicationProblemPlusJSONResponse

type ChangePassword401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ChangePassword401ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse

func (response ChangePassword401ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error

type ChangePassword403ApplicationProblemPlusJSONResponse

type ChangePassword403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ChangePassword403ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse

func (response ChangePassword403ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error

type ChangePassword429ApplicationProblemPlusJSONResponse

type ChangePassword429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (ChangePassword429ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse

func (response ChangePassword429ApplicationProblemPlusJSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error

type ChangePasswordJSONRequestBody

type ChangePasswordJSONRequestBody = ChangePasswordRequest

ChangePasswordJSONRequestBody defines body for ChangePassword for application/json ContentType.

type ChangePasswordRequest

type ChangePasswordRequest struct {
	CurrentPassword string `json:"currentPassword"`
	NewPassword     string `json:"newPassword"`
}

ChangePasswordRequest defines model for ChangePasswordRequest.

type ChangePasswordRequestObject

type ChangePasswordRequestObject struct {
	Body *ChangePasswordJSONRequestBody
}

type ChangePasswordResponseObject

type ChangePasswordResponseObject interface {
	VisitChangePasswordResponse(w http.ResponseWriter) error
}

type ChangeServerSoftware202JSONResponse added in v1.14.0

type ChangeServerSoftware202JSONResponse Server

func (ChangeServerSoftware202JSONResponse) VisitChangeServerSoftwareResponse added in v1.14.0

func (response ChangeServerSoftware202JSONResponse) VisitChangeServerSoftwareResponse(w http.ResponseWriter) error

type ChangeServerSoftware400ApplicationProblemPlusJSONResponse added in v1.14.0

type ChangeServerSoftware400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ChangeServerSoftware400ApplicationProblemPlusJSONResponse) VisitChangeServerSoftwareResponse added in v1.14.0

func (response ChangeServerSoftware400ApplicationProblemPlusJSONResponse) VisitChangeServerSoftwareResponse(w http.ResponseWriter) error

type ChangeServerSoftware401ApplicationProblemPlusJSONResponse added in v1.14.0

type ChangeServerSoftware401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ChangeServerSoftware401ApplicationProblemPlusJSONResponse) VisitChangeServerSoftwareResponse added in v1.14.0

func (response ChangeServerSoftware401ApplicationProblemPlusJSONResponse) VisitChangeServerSoftwareResponse(w http.ResponseWriter) error

type ChangeServerSoftware403ApplicationProblemPlusJSONResponse added in v1.14.0

type ChangeServerSoftware403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ChangeServerSoftware403ApplicationProblemPlusJSONResponse) VisitChangeServerSoftwareResponse added in v1.14.0

func (response ChangeServerSoftware403ApplicationProblemPlusJSONResponse) VisitChangeServerSoftwareResponse(w http.ResponseWriter) error

type ChangeServerSoftware404ApplicationProblemPlusJSONResponse added in v1.14.0

type ChangeServerSoftware404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ChangeServerSoftware404ApplicationProblemPlusJSONResponse) VisitChangeServerSoftwareResponse added in v1.14.0

func (response ChangeServerSoftware404ApplicationProblemPlusJSONResponse) VisitChangeServerSoftwareResponse(w http.ResponseWriter) error

type ChangeServerSoftware409ApplicationProblemPlusJSONResponse added in v1.14.0

type ChangeServerSoftware409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (ChangeServerSoftware409ApplicationProblemPlusJSONResponse) VisitChangeServerSoftwareResponse added in v1.14.0

func (response ChangeServerSoftware409ApplicationProblemPlusJSONResponse) VisitChangeServerSoftwareResponse(w http.ResponseWriter) error

type ChangeServerSoftwareJSONRequestBody added in v1.14.0

type ChangeServerSoftwareJSONRequestBody = ChangeSoftwareRequest

ChangeServerSoftwareJSONRequestBody defines body for ChangeServerSoftware for application/json ContentType.

type ChangeServerSoftwareRequestObject added in v1.14.0

type ChangeServerSoftwareRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Body     *ChangeServerSoftwareJSONRequestBody
}

type ChangeServerSoftwareResponseObject added in v1.14.0

type ChangeServerSoftwareResponseObject interface {
	VisitChangeServerSoftwareResponse(w http.ResponseWriter) error
}

type ChangeSoftwareRequest added in v1.14.0

type ChangeSoftwareRequest struct {
	// Build The newest build when absent.
	Build *string `json:"build,omitempty"`

	// Force Change even if installed plugins are not marked for the new version.
	Force *bool `json:"force,omitempty"`

	// Version Example: 1.21.4
	Version string `json:"version"`
}

ChangeSoftwareRequest defines model for ChangeSoftwareRequest.

type CloneRequest added in v1.18.0

type CloneRequest struct {
	Parts          []DataPart         `json:"parts"`
	TargetServerId openapi_types.UUID `json:"targetServerId"`
}

CloneRequest defines model for CloneRequest.

type CloneServer202JSONResponse added in v1.18.0

type CloneServer202JSONResponse Workflow

func (CloneServer202JSONResponse) VisitCloneServerResponse added in v1.18.0

func (response CloneServer202JSONResponse) VisitCloneServerResponse(w http.ResponseWriter) error

type CloneServer400ApplicationProblemPlusJSONResponse added in v1.18.0

type CloneServer400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CloneServer400ApplicationProblemPlusJSONResponse) VisitCloneServerResponse added in v1.18.0

func (response CloneServer400ApplicationProblemPlusJSONResponse) VisitCloneServerResponse(w http.ResponseWriter) error

type CloneServer401ApplicationProblemPlusJSONResponse added in v1.18.0

type CloneServer401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CloneServer401ApplicationProblemPlusJSONResponse) VisitCloneServerResponse added in v1.18.0

func (response CloneServer401ApplicationProblemPlusJSONResponse) VisitCloneServerResponse(w http.ResponseWriter) error

type CloneServer403ApplicationProblemPlusJSONResponse added in v1.18.0

type CloneServer403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CloneServer403ApplicationProblemPlusJSONResponse) VisitCloneServerResponse added in v1.18.0

func (response CloneServer403ApplicationProblemPlusJSONResponse) VisitCloneServerResponse(w http.ResponseWriter) error

type CloneServer404ApplicationProblemPlusJSONResponse added in v1.18.0

type CloneServer404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (CloneServer404ApplicationProblemPlusJSONResponse) VisitCloneServerResponse added in v1.18.0

func (response CloneServer404ApplicationProblemPlusJSONResponse) VisitCloneServerResponse(w http.ResponseWriter) error

type CloneServer409ApplicationProblemPlusJSONResponse added in v1.18.0

type CloneServer409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CloneServer409ApplicationProblemPlusJSONResponse) VisitCloneServerResponse added in v1.18.0

func (response CloneServer409ApplicationProblemPlusJSONResponse) VisitCloneServerResponse(w http.ResponseWriter) error

type CloneServerJSONRequestBody added in v1.18.0

type CloneServerJSONRequestBody = CloneRequest

CloneServerJSONRequestBody defines body for CloneServer for application/json ContentType.

type CloneServerRequestObject added in v1.18.0

type CloneServerRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Body     *CloneServerJSONRequestBody
}

type CloneServerResponseObject added in v1.18.0

type CloneServerResponseObject interface {
	VisitCloneServerResponse(w http.ResponseWriter) error
}

type CompleteSetup201JSONResponse added in v1.19.0

type CompleteSetup201JSONResponse struct {
	Body    Me
	Headers CompleteSetup201ResponseHeaders
}

func (CompleteSetup201JSONResponse) VisitCompleteSetupResponse added in v1.19.0

func (response CompleteSetup201JSONResponse) VisitCompleteSetupResponse(w http.ResponseWriter) error

type CompleteSetup201ResponseHeaders added in v1.19.0

type CompleteSetup201ResponseHeaders struct {
	SetCookie *string
}

type CompleteSetup400ApplicationProblemPlusJSONResponse added in v1.19.0

type CompleteSetup400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CompleteSetup400ApplicationProblemPlusJSONResponse) VisitCompleteSetupResponse added in v1.19.0

func (response CompleteSetup400ApplicationProblemPlusJSONResponse) VisitCompleteSetupResponse(w http.ResponseWriter) error

type CompleteSetup403ApplicationProblemPlusJSONResponse added in v1.19.0

type CompleteSetup403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CompleteSetup403ApplicationProblemPlusJSONResponse) VisitCompleteSetupResponse added in v1.19.0

func (response CompleteSetup403ApplicationProblemPlusJSONResponse) VisitCompleteSetupResponse(w http.ResponseWriter) error

type CompleteSetup409ApplicationProblemPlusJSONResponse added in v1.19.0

type CompleteSetup409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CompleteSetup409ApplicationProblemPlusJSONResponse) VisitCompleteSetupResponse added in v1.19.0

func (response CompleteSetup409ApplicationProblemPlusJSONResponse) VisitCompleteSetupResponse(w http.ResponseWriter) error

type CompleteSetup429ApplicationProblemPlusJSONResponse added in v1.19.0

type CompleteSetup429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (CompleteSetup429ApplicationProblemPlusJSONResponse) VisitCompleteSetupResponse added in v1.19.0

func (response CompleteSetup429ApplicationProblemPlusJSONResponse) VisitCompleteSetupResponse(w http.ResponseWriter) error

type CompleteSetupJSONRequestBody added in v1.19.0

type CompleteSetupJSONRequestBody = SetupRequest

CompleteSetupJSONRequestBody defines body for CompleteSetup for application/json ContentType.

type CompleteSetupRequestObject added in v1.19.0

type CompleteSetupRequestObject struct {
	Body *CompleteSetupJSONRequestBody
}

type CompleteSetupResponseObject added in v1.19.0

type CompleteSetupResponseObject interface {
	VisitCompleteSetupResponse(w http.ResponseWriter) error
}

type Condition added in v1.5.0

type Condition struct {
	Id      string `json:"id"`
	Message string `json:"message"`

	// Reason Machine-readable cause, such as DISK_PRESSURE. New reasons may appear; treat unknown ones as unrecognised conditions.
	Reason string          `json:"reason"`
	Since  time.Time       `json:"since"`
	Source ConditionSource `json:"source"`
}

Condition Why observed state differs from desired state, or why a Node is under pressure.

type ConditionId added in v1.5.0

type ConditionId = string

ConditionId defines model for ConditionId.

type ConditionSource added in v1.5.0

type ConditionSource string

ConditionSource defines model for Condition.Source.

const (
	ConditionSourceAGENT      ConditionSource = "AGENT"
	ConditionSourceCONTROLLER ConditionSource = "CONTROLLER"
)

Defines values for ConditionSource.

func (ConditionSource) Valid added in v1.5.0

func (e ConditionSource) Valid() bool

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

type Conflict

type Conflict = Problem

Conflict An RFC 9457 problem with a machine-readable code.

type ConflictApplicationProblemPlusJSONResponse

type ConflictApplicationProblemPlusJSONResponse Problem

type ConsoleCommand added in v1.12.0

type ConsoleCommand struct {
	// Command One line, without the leading slash, e.g. `say Restarting in 5 minutes`.
	Command string `json:"command"`
}

ConsoleCommand defines model for ConsoleCommand.

type Convergence added in v1.5.0

type Convergence string

Convergence How observed state relates to desired state. UNKNOWN while the Node is unreachable.

const (
	CONVERGED   Convergence = "CONVERGED"
	DISCREPANCY Convergence = "DISCREPANCY"
	INPROGRESS  Convergence = "IN_PROGRESS"
	UNKNOWN     Convergence = "UNKNOWN"
)

Defines values for Convergence.

func (Convergence) Valid added in v1.5.0

func (e Convergence) Valid() bool

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

type CreateApiTokenRequest

type CreateApiTokenRequest struct {
	// ExpiresAt When the token stops working. Omit for no expiry.
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`
	Name      string     `json:"name"`

	// Permissions Restrict the token to these permissions. Omit for all of yours.
	Permissions *[]Permission `json:"permissions,omitempty"`
}

CreateApiTokenRequest defines model for CreateApiTokenRequest.

type CreateBackupDestination201JSONResponse added in v1.18.0

type CreateBackupDestination201JSONResponse CreatedBackupDestination

func (CreateBackupDestination201JSONResponse) VisitCreateBackupDestinationResponse added in v1.18.0

func (response CreateBackupDestination201JSONResponse) VisitCreateBackupDestinationResponse(w http.ResponseWriter) error

type CreateBackupDestination400ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateBackupDestination400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateBackupDestination400ApplicationProblemPlusJSONResponse) VisitCreateBackupDestinationResponse added in v1.18.0

func (response CreateBackupDestination400ApplicationProblemPlusJSONResponse) VisitCreateBackupDestinationResponse(w http.ResponseWriter) error

type CreateBackupDestination401ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateBackupDestination401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateBackupDestination401ApplicationProblemPlusJSONResponse) VisitCreateBackupDestinationResponse added in v1.18.0

func (response CreateBackupDestination401ApplicationProblemPlusJSONResponse) VisitCreateBackupDestinationResponse(w http.ResponseWriter) error

type CreateBackupDestination403ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateBackupDestination403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateBackupDestination403ApplicationProblemPlusJSONResponse) VisitCreateBackupDestinationResponse added in v1.18.0

func (response CreateBackupDestination403ApplicationProblemPlusJSONResponse) VisitCreateBackupDestinationResponse(w http.ResponseWriter) error

type CreateBackupDestination409ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateBackupDestination409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateBackupDestination409ApplicationProblemPlusJSONResponse) VisitCreateBackupDestinationResponse added in v1.18.0

func (response CreateBackupDestination409ApplicationProblemPlusJSONResponse) VisitCreateBackupDestinationResponse(w http.ResponseWriter) error

type CreateBackupDestinationJSONRequestBody added in v1.18.0

type CreateBackupDestinationJSONRequestBody = CreateBackupDestinationRequest

CreateBackupDestinationJSONRequestBody defines body for CreateBackupDestination for application/json ContentType.

type CreateBackupDestinationRequest added in v1.18.0

type CreateBackupDestinationRequest struct {
	Kind         CreateBackupDestinationRequestKind `json:"kind"`
	Name         string                             `json:"name"`
	S3           *S3Request                         `json:"s3,omitempty"`
	Subdirectory *string                            `json:"subdirectory,omitempty"`
}

CreateBackupDestinationRequest defines model for CreateBackupDestinationRequest.

type CreateBackupDestinationRequestKind added in v1.18.0

type CreateBackupDestinationRequestKind string

CreateBackupDestinationRequestKind defines model for CreateBackupDestinationRequest.Kind.

const (
	CreateBackupDestinationRequestKindNODEDIRECTORY CreateBackupDestinationRequestKind = "NODE_DIRECTORY"
	CreateBackupDestinationRequestKindS3            CreateBackupDestinationRequestKind = "S3"
)

Defines values for CreateBackupDestinationRequestKind.

func (CreateBackupDestinationRequestKind) Valid added in v1.18.0

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

type CreateBackupDestinationRequestObject added in v1.18.0

type CreateBackupDestinationRequestObject struct {
	Body *CreateBackupDestinationJSONRequestBody
}

type CreateBackupDestinationResponseObject added in v1.18.0

type CreateBackupDestinationResponseObject interface {
	VisitCreateBackupDestinationResponse(w http.ResponseWriter) error
}

type CreateBackupRequest added in v1.18.0

type CreateBackupRequest struct {
	DestinationId openapi_types.UUID `json:"destinationId"`
}

CreateBackupRequest defines model for CreateBackupRequest.

type CreateMyToken201JSONResponse

type CreateMyToken201JSONResponse CreatedApiToken

func (CreateMyToken201JSONResponse) VisitCreateMyTokenResponse

func (response CreateMyToken201JSONResponse) VisitCreateMyTokenResponse(w http.ResponseWriter) error

type CreateMyToken400ApplicationProblemPlusJSONResponse

type CreateMyToken400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateMyToken400ApplicationProblemPlusJSONResponse) VisitCreateMyTokenResponse

func (response CreateMyToken400ApplicationProblemPlusJSONResponse) VisitCreateMyTokenResponse(w http.ResponseWriter) error

type CreateMyToken401ApplicationProblemPlusJSONResponse

type CreateMyToken401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateMyToken401ApplicationProblemPlusJSONResponse) VisitCreateMyTokenResponse

func (response CreateMyToken401ApplicationProblemPlusJSONResponse) VisitCreateMyTokenResponse(w http.ResponseWriter) error

type CreateMyToken403ApplicationProblemPlusJSONResponse

type CreateMyToken403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateMyToken403ApplicationProblemPlusJSONResponse) VisitCreateMyTokenResponse

func (response CreateMyToken403ApplicationProblemPlusJSONResponse) VisitCreateMyTokenResponse(w http.ResponseWriter) error

type CreateMyToken409ApplicationProblemPlusJSONResponse

type CreateMyToken409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateMyToken409ApplicationProblemPlusJSONResponse) VisitCreateMyTokenResponse

func (response CreateMyToken409ApplicationProblemPlusJSONResponse) VisitCreateMyTokenResponse(w http.ResponseWriter) error

type CreateMyTokenJSONRequestBody

type CreateMyTokenJSONRequestBody = CreateApiTokenRequest

CreateMyTokenJSONRequestBody defines body for CreateMyToken for application/json ContentType.

type CreateMyTokenRequestObject

type CreateMyTokenRequestObject struct {
	Body *CreateMyTokenJSONRequestBody
}

type CreateMyTokenResponseObject

type CreateMyTokenResponseObject interface {
	VisitCreateMyTokenResponse(w http.ResponseWriter) error
}

type CreateNetwork201JSONResponse added in v1.19.0

type CreateNetwork201JSONResponse Network

func (CreateNetwork201JSONResponse) VisitCreateNetworkResponse added in v1.19.0

func (response CreateNetwork201JSONResponse) VisitCreateNetworkResponse(w http.ResponseWriter) error

type CreateNetwork400ApplicationProblemPlusJSONResponse added in v1.19.0

type CreateNetwork400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateNetwork400ApplicationProblemPlusJSONResponse) VisitCreateNetworkResponse added in v1.19.0

func (response CreateNetwork400ApplicationProblemPlusJSONResponse) VisitCreateNetworkResponse(w http.ResponseWriter) error

type CreateNetwork401ApplicationProblemPlusJSONResponse added in v1.19.0

type CreateNetwork401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateNetwork401ApplicationProblemPlusJSONResponse) VisitCreateNetworkResponse added in v1.19.0

func (response CreateNetwork401ApplicationProblemPlusJSONResponse) VisitCreateNetworkResponse(w http.ResponseWriter) error

type CreateNetwork403ApplicationProblemPlusJSONResponse added in v1.19.0

type CreateNetwork403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateNetwork403ApplicationProblemPlusJSONResponse) VisitCreateNetworkResponse added in v1.19.0

func (response CreateNetwork403ApplicationProblemPlusJSONResponse) VisitCreateNetworkResponse(w http.ResponseWriter) error

type CreateNetwork409ApplicationProblemPlusJSONResponse added in v1.19.0

type CreateNetwork409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateNetwork409ApplicationProblemPlusJSONResponse) VisitCreateNetworkResponse added in v1.19.0

func (response CreateNetwork409ApplicationProblemPlusJSONResponse) VisitCreateNetworkResponse(w http.ResponseWriter) error

type CreateNetworkJSONRequestBody added in v1.19.0

type CreateNetworkJSONRequestBody = NetworkSettings

CreateNetworkJSONRequestBody defines body for CreateNetwork for application/json ContentType.

type CreateNetworkRequestObject added in v1.19.0

type CreateNetworkRequestObject struct {
	Body *CreateNetworkJSONRequestBody
}

type CreateNetworkResponseObject added in v1.19.0

type CreateNetworkResponseObject interface {
	VisitCreateNetworkResponse(w http.ResponseWriter) error
}

type CreateNode201JSONResponse added in v1.5.0

type CreateNode201JSONResponse Node

func (CreateNode201JSONResponse) VisitCreateNodeResponse added in v1.5.0

func (response CreateNode201JSONResponse) VisitCreateNodeResponse(w http.ResponseWriter) error

type CreateNode400ApplicationProblemPlusJSONResponse added in v1.5.0

type CreateNode400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateNode400ApplicationProblemPlusJSONResponse) VisitCreateNodeResponse added in v1.5.0

func (response CreateNode400ApplicationProblemPlusJSONResponse) VisitCreateNodeResponse(w http.ResponseWriter) error

type CreateNode401ApplicationProblemPlusJSONResponse added in v1.5.0

type CreateNode401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateNode401ApplicationProblemPlusJSONResponse) VisitCreateNodeResponse added in v1.5.0

func (response CreateNode401ApplicationProblemPlusJSONResponse) VisitCreateNodeResponse(w http.ResponseWriter) error

type CreateNode403ApplicationProblemPlusJSONResponse added in v1.5.0

type CreateNode403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateNode403ApplicationProblemPlusJSONResponse) VisitCreateNodeResponse added in v1.5.0

func (response CreateNode403ApplicationProblemPlusJSONResponse) VisitCreateNodeResponse(w http.ResponseWriter) error

type CreateNode409ApplicationProblemPlusJSONResponse added in v1.5.0

type CreateNode409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateNode409ApplicationProblemPlusJSONResponse) VisitCreateNodeResponse added in v1.5.0

func (response CreateNode409ApplicationProblemPlusJSONResponse) VisitCreateNodeResponse(w http.ResponseWriter) error

type CreateNodeJSONRequestBody added in v1.5.0

type CreateNodeJSONRequestBody = CreateNodeRequest

CreateNodeJSONRequestBody defines body for CreateNode for application/json ContentType.

type CreateNodeRequest added in v1.5.0

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

CreateNodeRequest defines model for CreateNodeRequest.

type CreateNodeRequestObject added in v1.5.0

type CreateNodeRequestObject struct {
	Body *CreateNodeJSONRequestBody
}

type CreateNodeResponseObject added in v1.5.0

type CreateNodeResponseObject interface {
	VisitCreateNodeResponse(w http.ResponseWriter) error
}

type CreateProxy201JSONResponse added in v1.19.0

type CreateProxy201JSONResponse Server

func (CreateProxy201JSONResponse) VisitCreateProxyResponse added in v1.19.0

func (response CreateProxy201JSONResponse) VisitCreateProxyResponse(w http.ResponseWriter) error

type CreateProxy400ApplicationProblemPlusJSONResponse added in v1.19.0

type CreateProxy400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateProxy400ApplicationProblemPlusJSONResponse) VisitCreateProxyResponse added in v1.19.0

func (response CreateProxy400ApplicationProblemPlusJSONResponse) VisitCreateProxyResponse(w http.ResponseWriter) error

type CreateProxy401ApplicationProblemPlusJSONResponse added in v1.19.0

type CreateProxy401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateProxy401ApplicationProblemPlusJSONResponse) VisitCreateProxyResponse added in v1.19.0

func (response CreateProxy401ApplicationProblemPlusJSONResponse) VisitCreateProxyResponse(w http.ResponseWriter) error

type CreateProxy403ApplicationProblemPlusJSONResponse added in v1.19.0

type CreateProxy403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateProxy403ApplicationProblemPlusJSONResponse) VisitCreateProxyResponse added in v1.19.0

func (response CreateProxy403ApplicationProblemPlusJSONResponse) VisitCreateProxyResponse(w http.ResponseWriter) error

type CreateProxy404ApplicationProblemPlusJSONResponse added in v1.19.0

type CreateProxy404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (CreateProxy404ApplicationProblemPlusJSONResponse) VisitCreateProxyResponse added in v1.19.0

func (response CreateProxy404ApplicationProblemPlusJSONResponse) VisitCreateProxyResponse(w http.ResponseWriter) error

type CreateProxy409ApplicationProblemPlusJSONResponse added in v1.19.0

type CreateProxy409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateProxy409ApplicationProblemPlusJSONResponse) VisitCreateProxyResponse added in v1.19.0

func (response CreateProxy409ApplicationProblemPlusJSONResponse) VisitCreateProxyResponse(w http.ResponseWriter) error

type CreateProxyJSONRequestBody added in v1.19.0

type CreateProxyJSONRequestBody = CreateProxyRequest

CreateProxyJSONRequestBody defines body for CreateProxy for application/json ContentType.

type CreateProxyRequest added in v1.19.0

type CreateProxyRequest struct {
	// NodeId The Node to run it on; omit to let placement choose.
	NodeId *openapi_types.UUID `json:"nodeId,omitempty"`

	// Resources A reservation, held even while the server is idle.
	Resources *ServerResources `json:"resources,omitempty"`

	// Version A Velocity version; the newest when omitted.
	Version *string `json:"version,omitempty"`
}

CreateProxyRequest defines model for CreateProxyRequest.

type CreateProxyRequestObject added in v1.19.0

type CreateProxyRequestObject struct {
	Body *CreateProxyJSONRequestBody
}

type CreateProxyResponseObject added in v1.19.0

type CreateProxyResponseObject interface {
	VisitCreateProxyResponse(w http.ResponseWriter) error
}

type CreateRole201JSONResponse added in v1.4.0

type CreateRole201JSONResponse Role

func (CreateRole201JSONResponse) VisitCreateRoleResponse added in v1.4.0

func (response CreateRole201JSONResponse) VisitCreateRoleResponse(w http.ResponseWriter) error

type CreateRole400ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateRole400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateRole400ApplicationProblemPlusJSONResponse) VisitCreateRoleResponse added in v1.4.0

func (response CreateRole400ApplicationProblemPlusJSONResponse) VisitCreateRoleResponse(w http.ResponseWriter) error

type CreateRole401ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateRole401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateRole401ApplicationProblemPlusJSONResponse) VisitCreateRoleResponse added in v1.4.0

func (response CreateRole401ApplicationProblemPlusJSONResponse) VisitCreateRoleResponse(w http.ResponseWriter) error

type CreateRole403ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateRole403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateRole403ApplicationProblemPlusJSONResponse) VisitCreateRoleResponse added in v1.4.0

func (response CreateRole403ApplicationProblemPlusJSONResponse) VisitCreateRoleResponse(w http.ResponseWriter) error

type CreateRole409ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateRole409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateRole409ApplicationProblemPlusJSONResponse) VisitCreateRoleResponse added in v1.4.0

func (response CreateRole409ApplicationProblemPlusJSONResponse) VisitCreateRoleResponse(w http.ResponseWriter) error

type CreateRoleAssignment201JSONResponse added in v1.4.0

type CreateRoleAssignment201JSONResponse RoleAssignment

func (CreateRoleAssignment201JSONResponse) VisitCreateRoleAssignmentResponse added in v1.4.0

func (response CreateRoleAssignment201JSONResponse) VisitCreateRoleAssignmentResponse(w http.ResponseWriter) error

type CreateRoleAssignment400ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateRoleAssignment400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateRoleAssignment400ApplicationProblemPlusJSONResponse) VisitCreateRoleAssignmentResponse added in v1.4.0

func (response CreateRoleAssignment400ApplicationProblemPlusJSONResponse) VisitCreateRoleAssignmentResponse(w http.ResponseWriter) error

type CreateRoleAssignment401ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateRoleAssignment401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateRoleAssignment401ApplicationProblemPlusJSONResponse) VisitCreateRoleAssignmentResponse added in v1.4.0

func (response CreateRoleAssignment401ApplicationProblemPlusJSONResponse) VisitCreateRoleAssignmentResponse(w http.ResponseWriter) error

type CreateRoleAssignment403ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateRoleAssignment403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateRoleAssignment403ApplicationProblemPlusJSONResponse) VisitCreateRoleAssignmentResponse added in v1.4.0

func (response CreateRoleAssignment403ApplicationProblemPlusJSONResponse) VisitCreateRoleAssignmentResponse(w http.ResponseWriter) error

type CreateRoleAssignment409ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateRoleAssignment409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateRoleAssignment409ApplicationProblemPlusJSONResponse) VisitCreateRoleAssignmentResponse added in v1.4.0

func (response CreateRoleAssignment409ApplicationProblemPlusJSONResponse) VisitCreateRoleAssignmentResponse(w http.ResponseWriter) error

type CreateRoleAssignmentJSONRequestBody added in v1.4.0

type CreateRoleAssignmentJSONRequestBody = CreateRoleAssignmentRequest

CreateRoleAssignmentJSONRequestBody defines body for CreateRoleAssignment for application/json ContentType.

type CreateRoleAssignmentRequest added in v1.4.0

type CreateRoleAssignmentRequest struct {
	RoleId openapi_types.UUID `json:"roleId"`

	// Scope Where an assignment applies. GLOBAL covers everything; TEAM covers the
	// servers the team owns (set `teamId`); SERVER covers one server (set
	// `serverId`).
	Scope  Scope               `json:"scope"`
	TeamId *openapi_types.UUID `json:"teamId,omitempty"`
	UserId *openapi_types.UUID `json:"userId,omitempty"`
}

CreateRoleAssignmentRequest Set exactly one of `userId` and `teamId`.

type CreateRoleAssignmentRequestObject added in v1.4.0

type CreateRoleAssignmentRequestObject struct {
	Body *CreateRoleAssignmentJSONRequestBody
}

type CreateRoleAssignmentResponseObject added in v1.4.0

type CreateRoleAssignmentResponseObject interface {
	VisitCreateRoleAssignmentResponse(w http.ResponseWriter) error
}

type CreateRoleJSONRequestBody added in v1.4.0

type CreateRoleJSONRequestBody = CreateRoleRequest

CreateRoleJSONRequestBody defines body for CreateRole for application/json ContentType.

type CreateRoleRequest added in v1.4.0

type CreateRoleRequest struct {
	Description *string      `json:"description,omitempty"`
	Name        string       `json:"name"`
	Permissions []Permission `json:"permissions"`
}

CreateRoleRequest defines model for CreateRoleRequest.

type CreateRoleRequestObject added in v1.4.0

type CreateRoleRequestObject struct {
	Body *CreateRoleJSONRequestBody
}

type CreateRoleResponseObject added in v1.4.0

type CreateRoleResponseObject interface {
	VisitCreateRoleResponse(w http.ResponseWriter) error
}

type CreateServer201JSONResponse added in v1.5.0

type CreateServer201JSONResponse Server

func (CreateServer201JSONResponse) VisitCreateServerResponse added in v1.5.0

func (response CreateServer201JSONResponse) VisitCreateServerResponse(w http.ResponseWriter) error

type CreateServer400ApplicationProblemPlusJSONResponse added in v1.5.0

type CreateServer400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateServer400ApplicationProblemPlusJSONResponse) VisitCreateServerResponse added in v1.5.0

func (response CreateServer400ApplicationProblemPlusJSONResponse) VisitCreateServerResponse(w http.ResponseWriter) error

type CreateServer401ApplicationProblemPlusJSONResponse added in v1.5.0

type CreateServer401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateServer401ApplicationProblemPlusJSONResponse) VisitCreateServerResponse added in v1.5.0

func (response CreateServer401ApplicationProblemPlusJSONResponse) VisitCreateServerResponse(w http.ResponseWriter) error

type CreateServer403ApplicationProblemPlusJSONResponse added in v1.5.0

type CreateServer403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateServer403ApplicationProblemPlusJSONResponse) VisitCreateServerResponse added in v1.5.0

func (response CreateServer403ApplicationProblemPlusJSONResponse) VisitCreateServerResponse(w http.ResponseWriter) error

type CreateServer409ApplicationProblemPlusJSONResponse added in v1.5.0

type CreateServer409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateServer409ApplicationProblemPlusJSONResponse) VisitCreateServerResponse added in v1.5.0

func (response CreateServer409ApplicationProblemPlusJSONResponse) VisitCreateServerResponse(w http.ResponseWriter) error

type CreateServerBackup202JSONResponse added in v1.18.0

type CreateServerBackup202JSONResponse Backup

func (CreateServerBackup202JSONResponse) VisitCreateServerBackupResponse added in v1.18.0

func (response CreateServerBackup202JSONResponse) VisitCreateServerBackupResponse(w http.ResponseWriter) error

type CreateServerBackup400ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateServerBackup400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateServerBackup400ApplicationProblemPlusJSONResponse) VisitCreateServerBackupResponse added in v1.18.0

func (response CreateServerBackup400ApplicationProblemPlusJSONResponse) VisitCreateServerBackupResponse(w http.ResponseWriter) error

type CreateServerBackup401ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateServerBackup401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateServerBackup401ApplicationProblemPlusJSONResponse) VisitCreateServerBackupResponse added in v1.18.0

func (response CreateServerBackup401ApplicationProblemPlusJSONResponse) VisitCreateServerBackupResponse(w http.ResponseWriter) error

type CreateServerBackup403ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateServerBackup403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateServerBackup403ApplicationProblemPlusJSONResponse) VisitCreateServerBackupResponse added in v1.18.0

func (response CreateServerBackup403ApplicationProblemPlusJSONResponse) VisitCreateServerBackupResponse(w http.ResponseWriter) error

type CreateServerBackup404ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateServerBackup404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (CreateServerBackup404ApplicationProblemPlusJSONResponse) VisitCreateServerBackupResponse added in v1.18.0

func (response CreateServerBackup404ApplicationProblemPlusJSONResponse) VisitCreateServerBackupResponse(w http.ResponseWriter) error

type CreateServerBackup503ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateServerBackup503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (CreateServerBackup503ApplicationProblemPlusJSONResponse) VisitCreateServerBackupResponse added in v1.18.0

func (response CreateServerBackup503ApplicationProblemPlusJSONResponse) VisitCreateServerBackupResponse(w http.ResponseWriter) error

type CreateServerBackupJSONRequestBody added in v1.18.0

type CreateServerBackupJSONRequestBody = CreateBackupRequest

CreateServerBackupJSONRequestBody defines body for CreateServerBackup for application/json ContentType.

type CreateServerBackupRequestObject added in v1.18.0

type CreateServerBackupRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Body     *CreateServerBackupJSONRequestBody
}

type CreateServerBackupResponseObject added in v1.18.0

type CreateServerBackupResponseObject interface {
	VisitCreateServerBackupResponse(w http.ResponseWriter) error
}

type CreateServerJSONRequestBody added in v1.5.0

type CreateServerJSONRequestBody = CreateServerRequest

CreateServerJSONRequestBody defines body for CreateServer for application/json ContentType.

type CreateServerRequest added in v1.5.0

type CreateServerRequest struct {
	// EulaAccepted The operator accepts the Minecraft EULA for this server.
	EulaAccepted CreateServerRequestEulaAccepted `json:"eulaAccepted"`

	// InNetwork Make the server a network member, reached through the proxy. Defaults to true for Paper, Purpur and Folia
	// once the network is set up; Vanilla servers cannot be members (`not_a_member_template`).
	InNetwork *bool `json:"inNetwork,omitempty"`

	// InitialProperties server.properties settings to start with, written before the first start: difficulty, gamemode, pvp,
	// hardcore, view-distance, simulation-distance, max-players, motd, level-seed, white-list and
	// spawn-protection. Change them later through the server's properties.
	InitialProperties *map[string]string `json:"initialProperties,omitempty"`
	Name              string             `json:"name"`

	// NodeId Place the server on this Node; needs global `nodes.read`. Omit to let placement choose.
	NodeId *openapi_types.UUID `json:"nodeId,omitempty"`

	// Ports Host ports to publish. A `game` port is assigned when none is given.
	Ports *[]Port `json:"ports,omitempty"`

	// Resources A reservation, held even while the server is idle.
	Resources     ServerResources `json:"resources"`
	RestartPolicy *RestartPolicy  `json:"restartPolicy,omitempty"`

	// RestoreFrom Create the server from this backup (needs `backups.restore` on its server too): it runs the backup's software
	// (the given software is ignored) and gets its data before it first starts.
	RestoreFrom *openapi_types.UUID `json:"restoreFrom,omitempty"`

	// Software What the server runs. A Shardkeep template, never a container image.
	Software Software `json:"software"`

	// Start Start the server once it is provisioned.
	Start *bool `json:"start,omitempty"`

	// TeamId The owning team.
	TeamId openapi_types.UUID `json:"teamId"`
}

CreateServerRequest defines model for CreateServerRequest.

type CreateServerRequestEulaAccepted added in v1.5.0

type CreateServerRequestEulaAccepted bool

CreateServerRequestEulaAccepted The operator accepts the Minecraft EULA for this server.

Defines values for CreateServerRequestEulaAccepted.

func (CreateServerRequestEulaAccepted) Valid added in v1.5.0

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

type CreateServerRequestObject added in v1.5.0

type CreateServerRequestObject struct {
	Body *CreateServerJSONRequestBody
}

type CreateServerResponseObject added in v1.5.0

type CreateServerResponseObject interface {
	VisitCreateServerResponse(w http.ResponseWriter) error
}

type CreateServerSchedule201JSONResponse added in v1.18.0

type CreateServerSchedule201JSONResponse Schedule

func (CreateServerSchedule201JSONResponse) VisitCreateServerScheduleResponse added in v1.18.0

func (response CreateServerSchedule201JSONResponse) VisitCreateServerScheduleResponse(w http.ResponseWriter) error

type CreateServerSchedule400ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateServerSchedule400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateServerSchedule400ApplicationProblemPlusJSONResponse) VisitCreateServerScheduleResponse added in v1.18.0

func (response CreateServerSchedule400ApplicationProblemPlusJSONResponse) VisitCreateServerScheduleResponse(w http.ResponseWriter) error

type CreateServerSchedule401ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateServerSchedule401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateServerSchedule401ApplicationProblemPlusJSONResponse) VisitCreateServerScheduleResponse added in v1.18.0

func (response CreateServerSchedule401ApplicationProblemPlusJSONResponse) VisitCreateServerScheduleResponse(w http.ResponseWriter) error

type CreateServerSchedule403ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateServerSchedule403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateServerSchedule403ApplicationProblemPlusJSONResponse) VisitCreateServerScheduleResponse added in v1.18.0

func (response CreateServerSchedule403ApplicationProblemPlusJSONResponse) VisitCreateServerScheduleResponse(w http.ResponseWriter) error

type CreateServerSchedule404ApplicationProblemPlusJSONResponse added in v1.18.0

type CreateServerSchedule404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (CreateServerSchedule404ApplicationProblemPlusJSONResponse) VisitCreateServerScheduleResponse added in v1.18.0

func (response CreateServerSchedule404ApplicationProblemPlusJSONResponse) VisitCreateServerScheduleResponse(w http.ResponseWriter) error

type CreateServerScheduleJSONRequestBody added in v1.18.0

type CreateServerScheduleJSONRequestBody = ScheduleRequest

CreateServerScheduleJSONRequestBody defines body for CreateServerSchedule for application/json ContentType.

type CreateServerScheduleRequestObject added in v1.18.0

type CreateServerScheduleRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Body     *CreateServerScheduleJSONRequestBody
}

type CreateServerScheduleResponseObject added in v1.18.0

type CreateServerScheduleResponseObject interface {
	VisitCreateServerScheduleResponse(w http.ResponseWriter) error
}

type CreateTeam201JSONResponse added in v1.4.0

type CreateTeam201JSONResponse Team

func (CreateTeam201JSONResponse) VisitCreateTeamResponse added in v1.4.0

func (response CreateTeam201JSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam400ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateTeam400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateTeam400ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse added in v1.4.0

func (response CreateTeam400ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam401ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateTeam401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateTeam401ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse added in v1.4.0

func (response CreateTeam401ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam403ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateTeam403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateTeam403ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse added in v1.4.0

func (response CreateTeam403ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam409ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateTeam409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateTeam409ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse added in v1.4.0

func (response CreateTeam409ApplicationProblemPlusJSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeamJSONRequestBody added in v1.4.0

type CreateTeamJSONRequestBody = TeamRequest

CreateTeamJSONRequestBody defines body for CreateTeam for application/json ContentType.

type CreateTeamRequestObject added in v1.4.0

type CreateTeamRequestObject struct {
	Body *CreateTeamJSONRequestBody
}

type CreateTeamResponseObject added in v1.4.0

type CreateTeamResponseObject interface {
	VisitCreateTeamResponse(w http.ResponseWriter) error
}

type CreateUser201JSONResponse added in v1.4.0

type CreateUser201JSONResponse CreatedUser

func (CreateUser201JSONResponse) VisitCreateUserResponse added in v1.4.0

func (response CreateUser201JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser400ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateUser400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateUser400ApplicationProblemPlusJSONResponse) VisitCreateUserResponse added in v1.4.0

func (response CreateUser400ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser401ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateUser401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateUser401ApplicationProblemPlusJSONResponse) VisitCreateUserResponse added in v1.4.0

func (response CreateUser401ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser403ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateUser403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateUser403ApplicationProblemPlusJSONResponse) VisitCreateUserResponse added in v1.4.0

func (response CreateUser403ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser409ApplicationProblemPlusJSONResponse added in v1.4.0

type CreateUser409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateUser409ApplicationProblemPlusJSONResponse) VisitCreateUserResponse added in v1.4.0

func (response CreateUser409ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUserJSONRequestBody added in v1.4.0

type CreateUserJSONRequestBody = CreateUserRequest

CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.

type CreateUserRequest added in v1.4.0

type CreateUserRequest struct {
	DisplayName *string `json:"displayName,omitempty"`
	Email       string  `json:"email"`
	GlobalAdmin *bool   `json:"globalAdmin,omitempty"`
	Username    string  `json:"username"`
}

CreateUserRequest defines model for CreateUserRequest.

type CreateUserRequestObject added in v1.4.0

type CreateUserRequestObject struct {
	Body *CreateUserJSONRequestBody
}

type CreateUserResponseObject added in v1.4.0

type CreateUserResponseObject interface {
	VisitCreateUserResponse(w http.ResponseWriter) error
}

type CreatedApiToken

type CreatedApiToken struct {
	// Secret The token itself, `skp_…`. Shown only once.
	Secret string   `json:"secret"`
	Token  ApiToken `json:"token"`
}

CreatedApiToken defines model for CreatedApiToken.

type CreatedBackupDestination added in v1.18.0

type CreatedBackupDestination struct {
	Destination BackupDestination `json:"destination"`

	// RecoveryKey The age private key (`AGE-SECRET-KEY-1…`) that decrypts this destination's backups. Shown only once.
	RecoveryKey string `json:"recoveryKey"`
}

CreatedBackupDestination defines model for CreatedBackupDestination.

type CreatedUser added in v1.4.0

type CreatedUser struct {
	// OneTimePassword Shown only once. The user must replace it at first sign-in.
	OneTimePassword string `json:"oneTimePassword"`
	User            User   `json:"user"`
}

CreatedUser defines model for CreatedUser.

type Cursor added in v1.4.0

type Cursor = string

Cursor defines model for Cursor.

type DataPart added in v1.18.0

type DataPart string

DataPart WORLD: world directories without player data. PLAYER_DATA: playerdata, stats, advancements and usercache.json. PROPERTIES: server.properties, without the settings Shardkeep manages. CONFIG: top-level configuration files and config/. PLUGIN_CONFIG: plugins/ without the jars. PLAYER_LISTS: ops, whitelist and bans. SCHEDULES: the server's schedules.

const (
	CONFIG       DataPart = "CONFIG"
	PLAYERDATA   DataPart = "PLAYER_DATA"
	PLAYERLISTS  DataPart = "PLAYER_LISTS"
	PLUGINCONFIG DataPart = "PLUGIN_CONFIG"
	PROPERTIES   DataPart = "PROPERTIES"
	SCHEDULES    DataPart = "SCHEDULES"
	WORLD        DataPart = "WORLD"
)

Defines values for DataPart.

func (DataPart) Valid added in v1.18.0

func (e DataPart) Valid() bool

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

type DeleteBackup204Response added in v1.18.0

type DeleteBackup204Response struct {
}

func (DeleteBackup204Response) VisitDeleteBackupResponse added in v1.18.0

func (response DeleteBackup204Response) VisitDeleteBackupResponse(w http.ResponseWriter) error

type DeleteBackup401ApplicationProblemPlusJSONResponse added in v1.18.0

type DeleteBackup401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteBackup401ApplicationProblemPlusJSONResponse) VisitDeleteBackupResponse added in v1.18.0

func (response DeleteBackup401ApplicationProblemPlusJSONResponse) VisitDeleteBackupResponse(w http.ResponseWriter) error

type DeleteBackup403ApplicationProblemPlusJSONResponse added in v1.18.0

type DeleteBackup403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteBackup403ApplicationProblemPlusJSONResponse) VisitDeleteBackupResponse added in v1.18.0

func (response DeleteBackup403ApplicationProblemPlusJSONResponse) VisitDeleteBackupResponse(w http.ResponseWriter) error

type DeleteBackup404ApplicationProblemPlusJSONResponse added in v1.18.0

type DeleteBackup404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteBackup404ApplicationProblemPlusJSONResponse) VisitDeleteBackupResponse added in v1.18.0

func (response DeleteBackup404ApplicationProblemPlusJSONResponse) VisitDeleteBackupResponse(w http.ResponseWriter) error

type DeleteBackup409ApplicationProblemPlusJSONResponse added in v1.18.0

type DeleteBackup409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteBackup409ApplicationProblemPlusJSONResponse) VisitDeleteBackupResponse added in v1.18.0

func (response DeleteBackup409ApplicationProblemPlusJSONResponse) VisitDeleteBackupResponse(w http.ResponseWriter) error

type DeleteBackup503ApplicationProblemPlusJSONResponse added in v1.18.0

type DeleteBackup503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (DeleteBackup503ApplicationProblemPlusJSONResponse) VisitDeleteBackupResponse added in v1.18.0

func (response DeleteBackup503ApplicationProblemPlusJSONResponse) VisitDeleteBackupResponse(w http.ResponseWriter) error

type DeleteBackupDestination204Response added in v1.18.0

type DeleteBackupDestination204Response struct {
}

func (DeleteBackupDestination204Response) VisitDeleteBackupDestinationResponse added in v1.18.0

func (response DeleteBackupDestination204Response) VisitDeleteBackupDestinationResponse(w http.ResponseWriter) error

type DeleteBackupDestination401ApplicationProblemPlusJSONResponse added in v1.18.0

type DeleteBackupDestination401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteBackupDestination401ApplicationProblemPlusJSONResponse) VisitDeleteBackupDestinationResponse added in v1.18.0

func (response DeleteBackupDestination401ApplicationProblemPlusJSONResponse) VisitDeleteBackupDestinationResponse(w http.ResponseWriter) error

type DeleteBackupDestination403ApplicationProblemPlusJSONResponse added in v1.18.0

type DeleteBackupDestination403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteBackupDestination403ApplicationProblemPlusJSONResponse) VisitDeleteBackupDestinationResponse added in v1.18.0

func (response DeleteBackupDestination403ApplicationProblemPlusJSONResponse) VisitDeleteBackupDestinationResponse(w http.ResponseWriter) error

type DeleteBackupDestination404ApplicationProblemPlusJSONResponse added in v1.18.0

type DeleteBackupDestination404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteBackupDestination404ApplicationProblemPlusJSONResponse) VisitDeleteBackupDestinationResponse added in v1.18.0

func (response DeleteBackupDestination404ApplicationProblemPlusJSONResponse) VisitDeleteBackupDestinationResponse(w http.ResponseWriter) error

type DeleteBackupDestination409ApplicationProblemPlusJSONResponse added in v1.18.0

type DeleteBackupDestination409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteBackupDestination409ApplicationProblemPlusJSONResponse) VisitDeleteBackupDestinationResponse added in v1.18.0

func (response DeleteBackupDestination409ApplicationProblemPlusJSONResponse) VisitDeleteBackupDestinationResponse(w http.ResponseWriter) error

type DeleteBackupDestinationRequestObject added in v1.18.0

type DeleteBackupDestinationRequestObject struct {
	DestinationId DestinationId `json:"destinationId"`
}

type DeleteBackupDestinationResponseObject added in v1.18.0

type DeleteBackupDestinationResponseObject interface {
	VisitDeleteBackupDestinationResponse(w http.ResponseWriter) error
}

type DeleteBackupRequestObject added in v1.18.0

type DeleteBackupRequestObject struct {
	BackupId BackupId `json:"backupId"`
}

type DeleteBackupResponseObject added in v1.18.0

type DeleteBackupResponseObject interface {
	VisitDeleteBackupResponse(w http.ResponseWriter) error
}

type DeleteMySession204Response

type DeleteMySession204Response struct {
}

func (DeleteMySession204Response) VisitDeleteMySessionResponse

func (response DeleteMySession204Response) VisitDeleteMySessionResponse(w http.ResponseWriter) error

type DeleteMySession401ApplicationProblemPlusJSONResponse

type DeleteMySession401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteMySession401ApplicationProblemPlusJSONResponse) VisitDeleteMySessionResponse

func (response DeleteMySession401ApplicationProblemPlusJSONResponse) VisitDeleteMySessionResponse(w http.ResponseWriter) error

type DeleteMySession404ApplicationProblemPlusJSONResponse

type DeleteMySession404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteMySession404ApplicationProblemPlusJSONResponse) VisitDeleteMySessionResponse

func (response DeleteMySession404ApplicationProblemPlusJSONResponse) VisitDeleteMySessionResponse(w http.ResponseWriter) error

type DeleteMySessionRequestObject

type DeleteMySessionRequestObject struct {
	SessionId SessionId `json:"sessionId"`
}

type DeleteMySessionResponseObject

type DeleteMySessionResponseObject interface {
	VisitDeleteMySessionResponse(w http.ResponseWriter) error
}

type DeleteNetworkLogo204Response added in v1.19.0

type DeleteNetworkLogo204Response struct {
}

func (DeleteNetworkLogo204Response) VisitDeleteNetworkLogoResponse added in v1.19.0

func (response DeleteNetworkLogo204Response) VisitDeleteNetworkLogoResponse(w http.ResponseWriter) error

type DeleteNetworkLogo401ApplicationProblemPlusJSONResponse added in v1.19.0

type DeleteNetworkLogo401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteNetworkLogo401ApplicationProblemPlusJSONResponse) VisitDeleteNetworkLogoResponse added in v1.19.0

func (response DeleteNetworkLogo401ApplicationProblemPlusJSONResponse) VisitDeleteNetworkLogoResponse(w http.ResponseWriter) error

type DeleteNetworkLogo403ApplicationProblemPlusJSONResponse added in v1.19.0

type DeleteNetworkLogo403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteNetworkLogo403ApplicationProblemPlusJSONResponse) VisitDeleteNetworkLogoResponse added in v1.19.0

func (response DeleteNetworkLogo403ApplicationProblemPlusJSONResponse) VisitDeleteNetworkLogoResponse(w http.ResponseWriter) error

type DeleteNetworkLogo404ApplicationProblemPlusJSONResponse added in v1.19.0

type DeleteNetworkLogo404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteNetworkLogo404ApplicationProblemPlusJSONResponse) VisitDeleteNetworkLogoResponse added in v1.19.0

func (response DeleteNetworkLogo404ApplicationProblemPlusJSONResponse) VisitDeleteNetworkLogoResponse(w http.ResponseWriter) error

type DeleteNetworkLogoRequestObject added in v1.19.0

type DeleteNetworkLogoRequestObject struct {
}

type DeleteNetworkLogoResponseObject added in v1.19.0

type DeleteNetworkLogoResponseObject interface {
	VisitDeleteNetworkLogoResponse(w http.ResponseWriter) error
}

type DeleteNode204Response added in v1.5.0

type DeleteNode204Response struct {
}

func (DeleteNode204Response) VisitDeleteNodeResponse added in v1.5.0

func (response DeleteNode204Response) VisitDeleteNodeResponse(w http.ResponseWriter) error

type DeleteNode401ApplicationProblemPlusJSONResponse added in v1.5.0

type DeleteNode401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteNode401ApplicationProblemPlusJSONResponse) VisitDeleteNodeResponse added in v1.5.0

func (response DeleteNode401ApplicationProblemPlusJSONResponse) VisitDeleteNodeResponse(w http.ResponseWriter) error

type DeleteNode403ApplicationProblemPlusJSONResponse added in v1.5.0

type DeleteNode403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteNode403ApplicationProblemPlusJSONResponse) VisitDeleteNodeResponse added in v1.5.0

func (response DeleteNode403ApplicationProblemPlusJSONResponse) VisitDeleteNodeResponse(w http.ResponseWriter) error

type DeleteNode404ApplicationProblemPlusJSONResponse added in v1.5.0

type DeleteNode404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteNode404ApplicationProblemPlusJSONResponse) VisitDeleteNodeResponse added in v1.5.0

func (response DeleteNode404ApplicationProblemPlusJSONResponse) VisitDeleteNodeResponse(w http.ResponseWriter) error

type DeleteNode409ApplicationProblemPlusJSONResponse added in v1.5.0

type DeleteNode409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteNode409ApplicationProblemPlusJSONResponse) VisitDeleteNodeResponse added in v1.5.0

func (response DeleteNode409ApplicationProblemPlusJSONResponse) VisitDeleteNodeResponse(w http.ResponseWriter) error

type DeleteNodeRequestObject added in v1.5.0

type DeleteNodeRequestObject struct {
	NodeId NodeId `json:"nodeId"`
}

type DeleteNodeResponseObject added in v1.5.0

type DeleteNodeResponseObject interface {
	VisitDeleteNodeResponse(w http.ResponseWriter) error
}

type DeleteRole204Response added in v1.4.0

type DeleteRole204Response struct {
}

func (DeleteRole204Response) VisitDeleteRoleResponse added in v1.4.0

func (response DeleteRole204Response) VisitDeleteRoleResponse(w http.ResponseWriter) error

type DeleteRole401ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteRole401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteRole401ApplicationProblemPlusJSONResponse) VisitDeleteRoleResponse added in v1.4.0

func (response DeleteRole401ApplicationProblemPlusJSONResponse) VisitDeleteRoleResponse(w http.ResponseWriter) error

type DeleteRole403ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteRole403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteRole403ApplicationProblemPlusJSONResponse) VisitDeleteRoleResponse added in v1.4.0

func (response DeleteRole403ApplicationProblemPlusJSONResponse) VisitDeleteRoleResponse(w http.ResponseWriter) error

type DeleteRole404ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteRole404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteRole404ApplicationProblemPlusJSONResponse) VisitDeleteRoleResponse added in v1.4.0

func (response DeleteRole404ApplicationProblemPlusJSONResponse) VisitDeleteRoleResponse(w http.ResponseWriter) error

type DeleteRole409ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteRole409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteRole409ApplicationProblemPlusJSONResponse) VisitDeleteRoleResponse added in v1.4.0

func (response DeleteRole409ApplicationProblemPlusJSONResponse) VisitDeleteRoleResponse(w http.ResponseWriter) error

type DeleteRoleAssignment204Response added in v1.4.0

type DeleteRoleAssignment204Response struct {
}

func (DeleteRoleAssignment204Response) VisitDeleteRoleAssignmentResponse added in v1.4.0

func (response DeleteRoleAssignment204Response) VisitDeleteRoleAssignmentResponse(w http.ResponseWriter) error

type DeleteRoleAssignment401ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteRoleAssignment401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteRoleAssignment401ApplicationProblemPlusJSONResponse) VisitDeleteRoleAssignmentResponse added in v1.4.0

func (response DeleteRoleAssignment401ApplicationProblemPlusJSONResponse) VisitDeleteRoleAssignmentResponse(w http.ResponseWriter) error

type DeleteRoleAssignment403ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteRoleAssignment403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteRoleAssignment403ApplicationProblemPlusJSONResponse) VisitDeleteRoleAssignmentResponse added in v1.4.0

func (response DeleteRoleAssignment403ApplicationProblemPlusJSONResponse) VisitDeleteRoleAssignmentResponse(w http.ResponseWriter) error

type DeleteRoleAssignment404ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteRoleAssignment404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteRoleAssignment404ApplicationProblemPlusJSONResponse) VisitDeleteRoleAssignmentResponse added in v1.4.0

func (response DeleteRoleAssignment404ApplicationProblemPlusJSONResponse) VisitDeleteRoleAssignmentResponse(w http.ResponseWriter) error

type DeleteRoleAssignmentRequestObject added in v1.4.0

type DeleteRoleAssignmentRequestObject struct {
	AssignmentId AssignmentId `json:"assignmentId"`
}

type DeleteRoleAssignmentResponseObject added in v1.4.0

type DeleteRoleAssignmentResponseObject interface {
	VisitDeleteRoleAssignmentResponse(w http.ResponseWriter) error
}

type DeleteRoleRequestObject added in v1.4.0

type DeleteRoleRequestObject struct {
	RoleId RoleId `json:"roleId"`
}

type DeleteRoleResponseObject added in v1.4.0

type DeleteRoleResponseObject interface {
	VisitDeleteRoleResponse(w http.ResponseWriter) error
}

type DeleteServer202JSONResponse added in v1.5.0

type DeleteServer202JSONResponse Server

func (DeleteServer202JSONResponse) VisitDeleteServerResponse added in v1.5.0

func (response DeleteServer202JSONResponse) VisitDeleteServerResponse(w http.ResponseWriter) error

type DeleteServer401ApplicationProblemPlusJSONResponse added in v1.5.0

type DeleteServer401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteServer401ApplicationProblemPlusJSONResponse) VisitDeleteServerResponse added in v1.5.0

func (response DeleteServer401ApplicationProblemPlusJSONResponse) VisitDeleteServerResponse(w http.ResponseWriter) error

type DeleteServer403ApplicationProblemPlusJSONResponse added in v1.5.0

type DeleteServer403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteServer403ApplicationProblemPlusJSONResponse) VisitDeleteServerResponse added in v1.5.0

func (response DeleteServer403ApplicationProblemPlusJSONResponse) VisitDeleteServerResponse(w http.ResponseWriter) error

type DeleteServer404ApplicationProblemPlusJSONResponse added in v1.5.0

type DeleteServer404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteServer404ApplicationProblemPlusJSONResponse) VisitDeleteServerResponse added in v1.5.0

func (response DeleteServer404ApplicationProblemPlusJSONResponse) VisitDeleteServerResponse(w http.ResponseWriter) error

type DeleteServer409ApplicationProblemPlusJSONResponse added in v1.5.0

type DeleteServer409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteServer409ApplicationProblemPlusJSONResponse) VisitDeleteServerResponse added in v1.5.0

func (response DeleteServer409ApplicationProblemPlusJSONResponse) VisitDeleteServerResponse(w http.ResponseWriter) error

type DeleteServerFile204Response added in v1.12.0

type DeleteServerFile204Response struct {
}

func (DeleteServerFile204Response) VisitDeleteServerFileResponse added in v1.12.0

func (response DeleteServerFile204Response) VisitDeleteServerFileResponse(w http.ResponseWriter) error

type DeleteServerFile400ApplicationProblemPlusJSONResponse added in v1.12.0

type DeleteServerFile400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (DeleteServerFile400ApplicationProblemPlusJSONResponse) VisitDeleteServerFileResponse added in v1.12.0

func (response DeleteServerFile400ApplicationProblemPlusJSONResponse) VisitDeleteServerFileResponse(w http.ResponseWriter) error

type DeleteServerFile401ApplicationProblemPlusJSONResponse added in v1.12.0

type DeleteServerFile401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteServerFile401ApplicationProblemPlusJSONResponse) VisitDeleteServerFileResponse added in v1.12.0

func (response DeleteServerFile401ApplicationProblemPlusJSONResponse) VisitDeleteServerFileResponse(w http.ResponseWriter) error

type DeleteServerFile403ApplicationProblemPlusJSONResponse added in v1.12.0

type DeleteServerFile403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteServerFile403ApplicationProblemPlusJSONResponse) VisitDeleteServerFileResponse added in v1.12.0

func (response DeleteServerFile403ApplicationProblemPlusJSONResponse) VisitDeleteServerFileResponse(w http.ResponseWriter) error

type DeleteServerFile404ApplicationProblemPlusJSONResponse added in v1.12.0

type DeleteServerFile404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteServerFile404ApplicationProblemPlusJSONResponse) VisitDeleteServerFileResponse added in v1.12.0

func (response DeleteServerFile404ApplicationProblemPlusJSONResponse) VisitDeleteServerFileResponse(w http.ResponseWriter) error

type DeleteServerFile409ApplicationProblemPlusJSONResponse added in v1.12.0

type DeleteServerFile409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteServerFile409ApplicationProblemPlusJSONResponse) VisitDeleteServerFileResponse added in v1.12.0

func (response DeleteServerFile409ApplicationProblemPlusJSONResponse) VisitDeleteServerFileResponse(w http.ResponseWriter) error

type DeleteServerFile503ApplicationProblemPlusJSONResponse added in v1.12.0

type DeleteServerFile503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (DeleteServerFile503ApplicationProblemPlusJSONResponse) VisitDeleteServerFileResponse added in v1.12.0

func (response DeleteServerFile503ApplicationProblemPlusJSONResponse) VisitDeleteServerFileResponse(w http.ResponseWriter) error

type DeleteServerFileParams added in v1.12.0

type DeleteServerFileParams struct {
	// Path A path relative to the server's root.
	Path RequiredFilePath `form:"path" json:"path"`
}

DeleteServerFileParams defines parameters for DeleteServerFile.

type DeleteServerFileRequestObject added in v1.12.0

type DeleteServerFileRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Params   DeleteServerFileParams
}

type DeleteServerFileResponseObject added in v1.12.0

type DeleteServerFileResponseObject interface {
	VisitDeleteServerFileResponse(w http.ResponseWriter) error
}

type DeleteServerRequestObject added in v1.5.0

type DeleteServerRequestObject struct {
	ServerId ServerId `json:"serverId"`
}

type DeleteServerResponseObject added in v1.5.0

type DeleteServerResponseObject interface {
	VisitDeleteServerResponse(w http.ResponseWriter) error
}

type DeleteServerSchedule204Response added in v1.18.0

type DeleteServerSchedule204Response struct {
}

func (DeleteServerSchedule204Response) VisitDeleteServerScheduleResponse added in v1.18.0

func (response DeleteServerSchedule204Response) VisitDeleteServerScheduleResponse(w http.ResponseWriter) error

type DeleteServerSchedule401ApplicationProblemPlusJSONResponse added in v1.18.0

type DeleteServerSchedule401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteServerSchedule401ApplicationProblemPlusJSONResponse) VisitDeleteServerScheduleResponse added in v1.18.0

func (response DeleteServerSchedule401ApplicationProblemPlusJSONResponse) VisitDeleteServerScheduleResponse(w http.ResponseWriter) error

type DeleteServerSchedule403ApplicationProblemPlusJSONResponse added in v1.18.0

type DeleteServerSchedule403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteServerSchedule403ApplicationProblemPlusJSONResponse) VisitDeleteServerScheduleResponse added in v1.18.0

func (response DeleteServerSchedule403ApplicationProblemPlusJSONResponse) VisitDeleteServerScheduleResponse(w http.ResponseWriter) error

type DeleteServerSchedule404ApplicationProblemPlusJSONResponse added in v1.18.0

type DeleteServerSchedule404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteServerSchedule404ApplicationProblemPlusJSONResponse) VisitDeleteServerScheduleResponse added in v1.18.0

func (response DeleteServerSchedule404ApplicationProblemPlusJSONResponse) VisitDeleteServerScheduleResponse(w http.ResponseWriter) error

type DeleteServerScheduleRequestObject added in v1.18.0

type DeleteServerScheduleRequestObject struct {
	ServerId   ServerId   `json:"serverId"`
	ScheduleId ScheduleId `json:"scheduleId"`
}

type DeleteServerScheduleResponseObject added in v1.18.0

type DeleteServerScheduleResponseObject interface {
	VisitDeleteServerScheduleResponse(w http.ResponseWriter) error
}

type DeleteTeam204Response added in v1.4.0

type DeleteTeam204Response struct {
}

func (DeleteTeam204Response) VisitDeleteTeamResponse added in v1.4.0

func (response DeleteTeam204Response) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam401ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteTeam401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteTeam401ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse added in v1.4.0

func (response DeleteTeam401ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam403ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteTeam403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteTeam403ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse added in v1.4.0

func (response DeleteTeam403ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam404ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteTeam404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteTeam404ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse added in v1.4.0

func (response DeleteTeam404ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam409ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteTeam409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteTeam409ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse added in v1.4.0

func (response DeleteTeam409ApplicationProblemPlusJSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeamRequestObject added in v1.4.0

type DeleteTeamRequestObject struct {
	TeamId TeamId `json:"teamId"`
}

type DeleteTeamResponseObject added in v1.4.0

type DeleteTeamResponseObject interface {
	VisitDeleteTeamResponse(w http.ResponseWriter) error
}

type DeleteUser204Response added in v1.4.0

type DeleteUser204Response struct {
}

func (DeleteUser204Response) VisitDeleteUserResponse added in v1.4.0

func (response DeleteUser204Response) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUser401ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteUser401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteUser401ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse added in v1.4.0

func (response DeleteUser401ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUser403ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteUser403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteUser403ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse added in v1.4.0

func (response DeleteUser403ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUser404ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteUser404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteUser404ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse added in v1.4.0

func (response DeleteUser404ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUser409ApplicationProblemPlusJSONResponse added in v1.4.0

type DeleteUser409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteUser409ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse added in v1.4.0

func (response DeleteUser409ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUserRequestObject added in v1.4.0

type DeleteUserRequestObject struct {
	UserId UserId `json:"userId"`
}

type DeleteUserResponseObject added in v1.4.0

type DeleteUserResponseObject interface {
	VisitDeleteUserResponse(w http.ResponseWriter) error
}

type DestinationId added in v1.18.0

type DestinationId = openapi_types.UUID

DestinationId defines model for DestinationId.

type DisableNode200JSONResponse added in v1.5.0

type DisableNode200JSONResponse Node

func (DisableNode200JSONResponse) VisitDisableNodeResponse added in v1.5.0

func (response DisableNode200JSONResponse) VisitDisableNodeResponse(w http.ResponseWriter) error

type DisableNode401ApplicationProblemPlusJSONResponse added in v1.5.0

type DisableNode401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DisableNode401ApplicationProblemPlusJSONResponse) VisitDisableNodeResponse added in v1.5.0

func (response DisableNode401ApplicationProblemPlusJSONResponse) VisitDisableNodeResponse(w http.ResponseWriter) error

type DisableNode403ApplicationProblemPlusJSONResponse added in v1.5.0

type DisableNode403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DisableNode403ApplicationProblemPlusJSONResponse) VisitDisableNodeResponse added in v1.5.0

func (response DisableNode403ApplicationProblemPlusJSONResponse) VisitDisableNodeResponse(w http.ResponseWriter) error

type DisableNode404ApplicationProblemPlusJSONResponse added in v1.5.0

type DisableNode404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DisableNode404ApplicationProblemPlusJSONResponse) VisitDisableNodeResponse added in v1.5.0

func (response DisableNode404ApplicationProblemPlusJSONResponse) VisitDisableNodeResponse(w http.ResponseWriter) error

type DisableNode409ApplicationProblemPlusJSONResponse added in v1.5.0

type DisableNode409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DisableNode409ApplicationProblemPlusJSONResponse) VisitDisableNodeResponse added in v1.5.0

func (response DisableNode409ApplicationProblemPlusJSONResponse) VisitDisableNodeResponse(w http.ResponseWriter) error

type DisableNodeRequestObject added in v1.5.0

type DisableNodeRequestObject struct {
	NodeId NodeId `json:"nodeId"`
}

type DisableNodeResponseObject added in v1.5.0

type DisableNodeResponseObject interface {
	VisitDisableNodeResponse(w http.ResponseWriter) error
}

type DownloadBackup200ApplicationoctetStreamResponse added in v1.18.0

type DownloadBackup200ApplicationoctetStreamResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (DownloadBackup200ApplicationoctetStreamResponse) VisitDownloadBackupResponse added in v1.18.0

func (response DownloadBackup200ApplicationoctetStreamResponse) VisitDownloadBackupResponse(w http.ResponseWriter) error

type DownloadBackup401ApplicationProblemPlusJSONResponse added in v1.18.0

type DownloadBackup401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DownloadBackup401ApplicationProblemPlusJSONResponse) VisitDownloadBackupResponse added in v1.18.0

func (response DownloadBackup401ApplicationProblemPlusJSONResponse) VisitDownloadBackupResponse(w http.ResponseWriter) error

type DownloadBackup403ApplicationProblemPlusJSONResponse added in v1.18.0

type DownloadBackup403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DownloadBackup403ApplicationProblemPlusJSONResponse) VisitDownloadBackupResponse added in v1.18.0

func (response DownloadBackup403ApplicationProblemPlusJSONResponse) VisitDownloadBackupResponse(w http.ResponseWriter) error

type DownloadBackup404ApplicationProblemPlusJSONResponse added in v1.18.0

type DownloadBackup404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DownloadBackup404ApplicationProblemPlusJSONResponse) VisitDownloadBackupResponse added in v1.18.0

func (response DownloadBackup404ApplicationProblemPlusJSONResponse) VisitDownloadBackupResponse(w http.ResponseWriter) error

type DownloadBackup409ApplicationProblemPlusJSONResponse added in v1.18.0

type DownloadBackup409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DownloadBackup409ApplicationProblemPlusJSONResponse) VisitDownloadBackupResponse added in v1.18.0

func (response DownloadBackup409ApplicationProblemPlusJSONResponse) VisitDownloadBackupResponse(w http.ResponseWriter) error

type DownloadBackup503ApplicationProblemPlusJSONResponse added in v1.18.0

type DownloadBackup503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (DownloadBackup503ApplicationProblemPlusJSONResponse) VisitDownloadBackupResponse added in v1.18.0

func (response DownloadBackup503ApplicationProblemPlusJSONResponse) VisitDownloadBackupResponse(w http.ResponseWriter) error

type DownloadBackupRequestObject added in v1.18.0

type DownloadBackupRequestObject struct {
	BackupId BackupId `json:"backupId"`
}

type DownloadBackupResponseObject added in v1.18.0

type DownloadBackupResponseObject interface {
	VisitDownloadBackupResponse(w http.ResponseWriter) error
}

type DownloadFailed added in v1.14.0

type DownloadFailed = Problem

DownloadFailed An RFC 9457 problem with a machine-readable code.

type DownloadFailedApplicationProblemPlusJSONResponse added in v1.14.0

type DownloadFailedApplicationProblemPlusJSONResponse Problem

type DownloadServerFile200ApplicationoctetStreamResponse added in v1.12.0

type DownloadServerFile200ApplicationoctetStreamResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (DownloadServerFile200ApplicationoctetStreamResponse) VisitDownloadServerFileResponse added in v1.12.0

func (response DownloadServerFile200ApplicationoctetStreamResponse) VisitDownloadServerFileResponse(w http.ResponseWriter) error

type DownloadServerFile400ApplicationProblemPlusJSONResponse added in v1.12.0

type DownloadServerFile400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (DownloadServerFile400ApplicationProblemPlusJSONResponse) VisitDownloadServerFileResponse added in v1.12.0

func (response DownloadServerFile400ApplicationProblemPlusJSONResponse) VisitDownloadServerFileResponse(w http.ResponseWriter) error

type DownloadServerFile401ApplicationProblemPlusJSONResponse added in v1.12.0

type DownloadServerFile401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DownloadServerFile401ApplicationProblemPlusJSONResponse) VisitDownloadServerFileResponse added in v1.12.0

func (response DownloadServerFile401ApplicationProblemPlusJSONResponse) VisitDownloadServerFileResponse(w http.ResponseWriter) error

type DownloadServerFile403ApplicationProblemPlusJSONResponse added in v1.12.0

type DownloadServerFile403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DownloadServerFile403ApplicationProblemPlusJSONResponse) VisitDownloadServerFileResponse added in v1.12.0

func (response DownloadServerFile403ApplicationProblemPlusJSONResponse) VisitDownloadServerFileResponse(w http.ResponseWriter) error

type DownloadServerFile404ApplicationProblemPlusJSONResponse added in v1.12.0

type DownloadServerFile404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DownloadServerFile404ApplicationProblemPlusJSONResponse) VisitDownloadServerFileResponse added in v1.12.0

func (response DownloadServerFile404ApplicationProblemPlusJSONResponse) VisitDownloadServerFileResponse(w http.ResponseWriter) error

type DownloadServerFile409ApplicationProblemPlusJSONResponse added in v1.12.0

type DownloadServerFile409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DownloadServerFile409ApplicationProblemPlusJSONResponse) VisitDownloadServerFileResponse added in v1.12.0

func (response DownloadServerFile409ApplicationProblemPlusJSONResponse) VisitDownloadServerFileResponse(w http.ResponseWriter) error

type DownloadServerFile503ApplicationProblemPlusJSONResponse added in v1.12.0

type DownloadServerFile503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (DownloadServerFile503ApplicationProblemPlusJSONResponse) VisitDownloadServerFileResponse added in v1.12.0

func (response DownloadServerFile503ApplicationProblemPlusJSONResponse) VisitDownloadServerFileResponse(w http.ResponseWriter) error

type DownloadServerFileParams added in v1.12.0

type DownloadServerFileParams struct {
	// Path A path relative to the server's root.
	Path RequiredFilePath `form:"path" json:"path"`
}

DownloadServerFileParams defines parameters for DownloadServerFile.

type DownloadServerFileRequestObject added in v1.12.0

type DownloadServerFileRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Params   DownloadServerFileParams
}

type DownloadServerFileResponseObject added in v1.12.0

type DownloadServerFileResponseObject interface {
	VisitDownloadServerFileResponse(w http.ResponseWriter) error
}

type EnableNode200JSONResponse added in v1.5.0

type EnableNode200JSONResponse Node

func (EnableNode200JSONResponse) VisitEnableNodeResponse added in v1.5.0

func (response EnableNode200JSONResponse) VisitEnableNodeResponse(w http.ResponseWriter) error

type EnableNode401ApplicationProblemPlusJSONResponse added in v1.5.0

type EnableNode401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (EnableNode401ApplicationProblemPlusJSONResponse) VisitEnableNodeResponse added in v1.5.0

func (response EnableNode401ApplicationProblemPlusJSONResponse) VisitEnableNodeResponse(w http.ResponseWriter) error

type EnableNode403ApplicationProblemPlusJSONResponse added in v1.5.0

type EnableNode403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (EnableNode403ApplicationProblemPlusJSONResponse) VisitEnableNodeResponse added in v1.5.0

func (response EnableNode403ApplicationProblemPlusJSONResponse) VisitEnableNodeResponse(w http.ResponseWriter) error

type EnableNode404ApplicationProblemPlusJSONResponse added in v1.5.0

type EnableNode404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (EnableNode404ApplicationProblemPlusJSONResponse) VisitEnableNodeResponse added in v1.5.0

func (response EnableNode404ApplicationProblemPlusJSONResponse) VisitEnableNodeResponse(w http.ResponseWriter) error

type EnableNode409ApplicationProblemPlusJSONResponse added in v1.5.0

type EnableNode409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (EnableNode409ApplicationProblemPlusJSONResponse) VisitEnableNodeResponse added in v1.5.0

func (response EnableNode409ApplicationProblemPlusJSONResponse) VisitEnableNodeResponse(w http.ResponseWriter) error

type EnableNodeRequestObject added in v1.5.0

type EnableNodeRequestObject struct {
	NodeId NodeId `json:"nodeId"`
}

type EnableNodeResponseObject added in v1.5.0

type EnableNodeResponseObject interface {
	VisitEnableNodeResponse(w http.ResponseWriter) error
}

type EnrollmentToken added in v1.6.0

type EnrollmentToken struct {
	ExpiresAt time.Time `json:"expiresAt"`

	// Token `<id>.<secret>.<ca-pin>`. The pin lets the Agent verify the Controller on first contact.
	// Treat the whole token as a secret.
	Token string `json:"token"`
}

EnrollmentToken defines model for EnrollmentToken.

type Event added in v1.5.0

type Event struct {
	Data map[string]interface{} `json:"data"`
	Id   int64                  `json:"id"`

	// Kind Example: server.desired_state_changed
	Kind       string      `json:"kind"`
	OccurredAt time.Time   `json:"occurredAt"`
	Source     EventSource `json:"source"`
}

Event defines model for Event.

type EventList added in v1.5.0

type EventList struct {
	Items      []Event `json:"items"`
	NextCursor *string `json:"nextCursor,omitempty"`
}

EventList defines model for EventList.

type EventSource added in v1.5.0

type EventSource string

EventSource defines model for Event.Source.

const (
	EventSourceAGENT      EventSource = "AGENT"
	EventSourceCONTROLLER EventSource = "CONTROLLER"
)

Defines values for EventSource.

func (EventSource) Valid added in v1.5.0

func (e EventSource) Valid() bool

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

type FileEntry added in v1.12.0

type FileEntry struct {
	Kind       FileEntryKind `json:"kind"`
	ModifiedAt time.Time     `json:"modifiedAt"`
	Name       string        `json:"name"`
	SizeBytes  int64         `json:"sizeBytes"`
}

FileEntry defines model for FileEntry.

type FileEntryKind added in v1.12.0

type FileEntryKind string

FileEntryKind defines model for FileEntry.Kind.

const (
	DIRECTORY FileEntryKind = "DIRECTORY"
	FILE      FileEntryKind = "FILE"
	OTHER     FileEntryKind = "OTHER"
	SYMLINK   FileEntryKind = "SYMLINK"
)

Defines values for FileEntryKind.

func (FileEntryKind) Valid added in v1.12.0

func (e FileEntryKind) Valid() bool

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

type FileList added in v1.12.0

type FileList struct {
	Items []FileEntry `json:"items"`
	Path  string      `json:"path"`

	// Truncated True when the directory has more than 5,000 entries.
	Truncated bool `json:"truncated"`
}

FileList defines model for FileList.

type FilePath added in v1.12.0

type FilePath = string

FilePath defines model for FilePath.

type FilePathRequest added in v1.12.0

type FilePathRequest struct {
	Path string `json:"path"`
}

FilePathRequest defines model for FilePathRequest.

type Forbidden

type Forbidden = Problem

Forbidden An RFC 9457 problem with a machine-readable code.

type ForbiddenApplicationProblemPlusJSONResponse

type ForbiddenApplicationProblemPlusJSONResponse Problem

type GetBackup200JSONResponse added in v1.18.0

type GetBackup200JSONResponse Backup

func (GetBackup200JSONResponse) VisitGetBackupResponse added in v1.18.0

func (response GetBackup200JSONResponse) VisitGetBackupResponse(w http.ResponseWriter) error

type GetBackup401ApplicationProblemPlusJSONResponse added in v1.18.0

type GetBackup401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetBackup401ApplicationProblemPlusJSONResponse) VisitGetBackupResponse added in v1.18.0

func (response GetBackup401ApplicationProblemPlusJSONResponse) VisitGetBackupResponse(w http.ResponseWriter) error

type GetBackup404ApplicationProblemPlusJSONResponse added in v1.18.0

type GetBackup404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetBackup404ApplicationProblemPlusJSONResponse) VisitGetBackupResponse added in v1.18.0

func (response GetBackup404ApplicationProblemPlusJSONResponse) VisitGetBackupResponse(w http.ResponseWriter) error

type GetBackupDestination200JSONResponse added in v1.18.0

type GetBackupDestination200JSONResponse BackupDestination

func (GetBackupDestination200JSONResponse) VisitGetBackupDestinationResponse added in v1.18.0

func (response GetBackupDestination200JSONResponse) VisitGetBackupDestinationResponse(w http.ResponseWriter) error

type GetBackupDestination401ApplicationProblemPlusJSONResponse added in v1.18.0

type GetBackupDestination401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetBackupDestination401ApplicationProblemPlusJSONResponse) VisitGetBackupDestinationResponse added in v1.18.0

func (response GetBackupDestination401ApplicationProblemPlusJSONResponse) VisitGetBackupDestinationResponse(w http.ResponseWriter) error

type GetBackupDestination404ApplicationProblemPlusJSONResponse added in v1.18.0

type GetBackupDestination404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetBackupDestination404ApplicationProblemPlusJSONResponse) VisitGetBackupDestinationResponse added in v1.18.0

func (response GetBackupDestination404ApplicationProblemPlusJSONResponse) VisitGetBackupDestinationResponse(w http.ResponseWriter) error

type GetBackupDestinationRequestObject added in v1.18.0

type GetBackupDestinationRequestObject struct {
	DestinationId DestinationId `json:"destinationId"`
}

type GetBackupDestinationResponseObject added in v1.18.0

type GetBackupDestinationResponseObject interface {
	VisitGetBackupDestinationResponse(w http.ResponseWriter) error
}

type GetBackupRequestObject added in v1.18.0

type GetBackupRequestObject struct {
	BackupId BackupId `json:"backupId"`
}

type GetBackupResponseObject added in v1.18.0

type GetBackupResponseObject interface {
	VisitGetBackupResponse(w http.ResponseWriter) error
}

type GetCatalogPlugin200JSONResponse added in v1.13.0

type GetCatalogPlugin200JSONResponse CatalogPluginDetail

func (GetCatalogPlugin200JSONResponse) VisitGetCatalogPluginResponse added in v1.13.0

func (response GetCatalogPlugin200JSONResponse) VisitGetCatalogPluginResponse(w http.ResponseWriter) error

type GetCatalogPlugin401ApplicationProblemPlusJSONResponse added in v1.13.0

type GetCatalogPlugin401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetCatalogPlugin401ApplicationProblemPlusJSONResponse) VisitGetCatalogPluginResponse added in v1.13.0

func (response GetCatalogPlugin401ApplicationProblemPlusJSONResponse) VisitGetCatalogPluginResponse(w http.ResponseWriter) error

type GetCatalogPlugin404ApplicationProblemPlusJSONResponse added in v1.13.0

type GetCatalogPlugin404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetCatalogPlugin404ApplicationProblemPlusJSONResponse) VisitGetCatalogPluginResponse added in v1.13.0

func (response GetCatalogPlugin404ApplicationProblemPlusJSONResponse) VisitGetCatalogPluginResponse(w http.ResponseWriter) error

type GetCatalogPluginParams added in v1.13.0

type GetCatalogPluginParams struct {
	Id string `form:"id" json:"id"`
}

GetCatalogPluginParams defines parameters for GetCatalogPlugin.

type GetCatalogPluginRequestObject added in v1.13.0

type GetCatalogPluginRequestObject struct {
	Params GetCatalogPluginParams
}

type GetCatalogPluginResponseObject added in v1.13.0

type GetCatalogPluginResponseObject interface {
	VisitGetCatalogPluginResponse(w http.ResponseWriter) error
}

type GetCatalogStatus200JSONResponse added in v1.13.0

type GetCatalogStatus200JSONResponse CatalogStatus

func (GetCatalogStatus200JSONResponse) VisitGetCatalogStatusResponse added in v1.13.0

func (response GetCatalogStatus200JSONResponse) VisitGetCatalogStatusResponse(w http.ResponseWriter) error

type GetCatalogStatus401ApplicationProblemPlusJSONResponse added in v1.13.0

type GetCatalogStatus401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetCatalogStatus401ApplicationProblemPlusJSONResponse) VisitGetCatalogStatusResponse added in v1.13.0

func (response GetCatalogStatus401ApplicationProblemPlusJSONResponse) VisitGetCatalogStatusResponse(w http.ResponseWriter) error

type GetCatalogStatusRequestObject added in v1.13.0

type GetCatalogStatusRequestObject struct {
}

type GetCatalogStatusResponseObject added in v1.13.0

type GetCatalogStatusResponseObject interface {
	VisitGetCatalogStatusResponse(w http.ResponseWriter) error
}

type GetMe200JSONResponse

type GetMe200JSONResponse Me

func (GetMe200JSONResponse) VisitGetMeResponse

func (response GetMe200JSONResponse) VisitGetMeResponse(w http.ResponseWriter) error

type GetMe401ApplicationProblemPlusJSONResponse

type GetMe401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetMe401ApplicationProblemPlusJSONResponse) VisitGetMeResponse

type GetMeRequestObject

type GetMeRequestObject struct {
}

type GetMeResponseObject

type GetMeResponseObject interface {
	VisitGetMeResponse(w http.ResponseWriter) error
}

type GetMyPermissions200JSONResponse added in v1.17.0

type GetMyPermissions200JSONResponse PermissionSummary

func (GetMyPermissions200JSONResponse) VisitGetMyPermissionsResponse added in v1.17.0

func (response GetMyPermissions200JSONResponse) VisitGetMyPermissionsResponse(w http.ResponseWriter) error

type GetMyPermissions401ApplicationProblemPlusJSONResponse added in v1.17.0

type GetMyPermissions401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetMyPermissions401ApplicationProblemPlusJSONResponse) VisitGetMyPermissionsResponse added in v1.17.0

func (response GetMyPermissions401ApplicationProblemPlusJSONResponse) VisitGetMyPermissionsResponse(w http.ResponseWriter) error

type GetMyPermissionsRequestObject added in v1.17.0

type GetMyPermissionsRequestObject struct {
}

type GetMyPermissionsResponseObject added in v1.17.0

type GetMyPermissionsResponseObject interface {
	VisitGetMyPermissionsResponse(w http.ResponseWriter) error
}

type GetNetwork200JSONResponse added in v1.19.0

type GetNetwork200JSONResponse Network

func (GetNetwork200JSONResponse) VisitGetNetworkResponse added in v1.19.0

func (response GetNetwork200JSONResponse) VisitGetNetworkResponse(w http.ResponseWriter) error

type GetNetwork401ApplicationProblemPlusJSONResponse added in v1.19.0

type GetNetwork401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetNetwork401ApplicationProblemPlusJSONResponse) VisitGetNetworkResponse added in v1.19.0

func (response GetNetwork401ApplicationProblemPlusJSONResponse) VisitGetNetworkResponse(w http.ResponseWriter) error

type GetNetwork404ApplicationProblemPlusJSONResponse added in v1.19.0

type GetNetwork404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetNetwork404ApplicationProblemPlusJSONResponse) VisitGetNetworkResponse added in v1.19.0

func (response GetNetwork404ApplicationProblemPlusJSONResponse) VisitGetNetworkResponse(w http.ResponseWriter) error

type GetNetworkLogo200ImagepngResponse added in v1.19.0

type GetNetworkLogo200ImagepngResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (GetNetworkLogo200ImagepngResponse) VisitGetNetworkLogoResponse added in v1.19.0

func (response GetNetworkLogo200ImagepngResponse) VisitGetNetworkLogoResponse(w http.ResponseWriter) error

type GetNetworkLogo404ApplicationProblemPlusJSONResponse added in v1.19.0

type GetNetworkLogo404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetNetworkLogo404ApplicationProblemPlusJSONResponse) VisitGetNetworkLogoResponse added in v1.19.0

func (response GetNetworkLogo404ApplicationProblemPlusJSONResponse) VisitGetNetworkLogoResponse(w http.ResponseWriter) error

type GetNetworkLogoRequestObject added in v1.19.0

type GetNetworkLogoRequestObject struct {
}

type GetNetworkLogoResponseObject added in v1.19.0

type GetNetworkLogoResponseObject interface {
	VisitGetNetworkLogoResponse(w http.ResponseWriter) error
}

type GetNetworkRequestObject added in v1.19.0

type GetNetworkRequestObject struct {
}

type GetNetworkResponseObject added in v1.19.0

type GetNetworkResponseObject interface {
	VisitGetNetworkResponse(w http.ResponseWriter) error
}

type GetNode200JSONResponse added in v1.5.0

type GetNode200JSONResponse Node

func (GetNode200JSONResponse) VisitGetNodeResponse added in v1.5.0

func (response GetNode200JSONResponse) VisitGetNodeResponse(w http.ResponseWriter) error

type GetNode401ApplicationProblemPlusJSONResponse added in v1.5.0

type GetNode401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetNode401ApplicationProblemPlusJSONResponse) VisitGetNodeResponse added in v1.5.0

func (response GetNode401ApplicationProblemPlusJSONResponse) VisitGetNodeResponse(w http.ResponseWriter) error

type GetNode404ApplicationProblemPlusJSONResponse added in v1.5.0

type GetNode404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetNode404ApplicationProblemPlusJSONResponse) VisitGetNodeResponse added in v1.5.0

func (response GetNode404ApplicationProblemPlusJSONResponse) VisitGetNodeResponse(w http.ResponseWriter) error

type GetNodeRequestObject added in v1.5.0

type GetNodeRequestObject struct {
	NodeId NodeId `json:"nodeId"`
}

type GetNodeResponseObject added in v1.5.0

type GetNodeResponseObject interface {
	VisitGetNodeResponse(w http.ResponseWriter) error
}

type GetPublicNetwork200JSONResponse added in v1.19.0

type GetPublicNetwork200JSONResponse PublicNetwork

func (GetPublicNetwork200JSONResponse) VisitGetPublicNetworkResponse added in v1.19.0

func (response GetPublicNetwork200JSONResponse) VisitGetPublicNetworkResponse(w http.ResponseWriter) error

type GetPublicNetwork404ApplicationProblemPlusJSONResponse added in v1.19.0

type GetPublicNetwork404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetPublicNetwork404ApplicationProblemPlusJSONResponse) VisitGetPublicNetworkResponse added in v1.19.0

func (response GetPublicNetwork404ApplicationProblemPlusJSONResponse) VisitGetPublicNetworkResponse(w http.ResponseWriter) error

type GetPublicNetworkRequestObject added in v1.19.0

type GetPublicNetworkRequestObject struct {
}

type GetPublicNetworkResponseObject added in v1.19.0

type GetPublicNetworkResponseObject interface {
	VisitGetPublicNetworkResponse(w http.ResponseWriter) error
}

type GetRole200JSONResponse added in v1.4.0

type GetRole200JSONResponse Role

func (GetRole200JSONResponse) VisitGetRoleResponse added in v1.4.0

func (response GetRole200JSONResponse) VisitGetRoleResponse(w http.ResponseWriter) error

type GetRole401ApplicationProblemPlusJSONResponse added in v1.4.0

type GetRole401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetRole401ApplicationProblemPlusJSONResponse) VisitGetRoleResponse added in v1.4.0

func (response GetRole401ApplicationProblemPlusJSONResponse) VisitGetRoleResponse(w http.ResponseWriter) error

type GetRole403ApplicationProblemPlusJSONResponse added in v1.4.0

type GetRole403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetRole403ApplicationProblemPlusJSONResponse) VisitGetRoleResponse added in v1.4.0

func (response GetRole403ApplicationProblemPlusJSONResponse) VisitGetRoleResponse(w http.ResponseWriter) error

type GetRole404ApplicationProblemPlusJSONResponse added in v1.4.0

type GetRole404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetRole404ApplicationProblemPlusJSONResponse) VisitGetRoleResponse added in v1.4.0

func (response GetRole404ApplicationProblemPlusJSONResponse) VisitGetRoleResponse(w http.ResponseWriter) error

type GetRoleRequestObject added in v1.4.0

type GetRoleRequestObject struct {
	RoleId RoleId `json:"roleId"`
}

type GetRoleResponseObject added in v1.4.0

type GetRoleResponseObject interface {
	VisitGetRoleResponse(w http.ResponseWriter) error
}

type GetServer200JSONResponse added in v1.5.0

type GetServer200JSONResponse Server

func (GetServer200JSONResponse) VisitGetServerResponse added in v1.5.0

func (response GetServer200JSONResponse) VisitGetServerResponse(w http.ResponseWriter) error

type GetServer401ApplicationProblemPlusJSONResponse added in v1.5.0

type GetServer401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetServer401ApplicationProblemPlusJSONResponse) VisitGetServerResponse added in v1.5.0

func (response GetServer401ApplicationProblemPlusJSONResponse) VisitGetServerResponse(w http.ResponseWriter) error

type GetServer404ApplicationProblemPlusJSONResponse added in v1.5.0

type GetServer404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetServer404ApplicationProblemPlusJSONResponse) VisitGetServerResponse added in v1.5.0

func (response GetServer404ApplicationProblemPlusJSONResponse) VisitGetServerResponse(w http.ResponseWriter) error

type GetServerConsole200TexteventStreamResponse added in v1.12.0

type GetServerConsole200TexteventStreamResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (GetServerConsole200TexteventStreamResponse) VisitGetServerConsoleResponse added in v1.12.0

func (response GetServerConsole200TexteventStreamResponse) VisitGetServerConsoleResponse(w http.ResponseWriter) error

type GetServerConsole401ApplicationProblemPlusJSONResponse added in v1.12.0

type GetServerConsole401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetServerConsole401ApplicationProblemPlusJSONResponse) VisitGetServerConsoleResponse added in v1.12.0

func (response GetServerConsole401ApplicationProblemPlusJSONResponse) VisitGetServerConsoleResponse(w http.ResponseWriter) error

type GetServerConsole403ApplicationProblemPlusJSONResponse added in v1.12.0

type GetServerConsole403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetServerConsole403ApplicationProblemPlusJSONResponse) VisitGetServerConsoleResponse added in v1.12.0

func (response GetServerConsole403ApplicationProblemPlusJSONResponse) VisitGetServerConsoleResponse(w http.ResponseWriter) error

type GetServerConsole404ApplicationProblemPlusJSONResponse added in v1.12.0

type GetServerConsole404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetServerConsole404ApplicationProblemPlusJSONResponse) VisitGetServerConsoleResponse added in v1.12.0

func (response GetServerConsole404ApplicationProblemPlusJSONResponse) VisitGetServerConsoleResponse(w http.ResponseWriter) error

type GetServerConsole409ApplicationProblemPlusJSONResponse added in v1.12.0

type GetServerConsole409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (GetServerConsole409ApplicationProblemPlusJSONResponse) VisitGetServerConsoleResponse added in v1.12.0

func (response GetServerConsole409ApplicationProblemPlusJSONResponse) VisitGetServerConsoleResponse(w http.ResponseWriter) error

type GetServerConsole429ApplicationProblemPlusJSONResponse added in v1.12.0

type GetServerConsole429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (GetServerConsole429ApplicationProblemPlusJSONResponse) VisitGetServerConsoleResponse added in v1.12.0

func (response GetServerConsole429ApplicationProblemPlusJSONResponse) VisitGetServerConsoleResponse(w http.ResponseWriter) error

type GetServerConsole503ApplicationProblemPlusJSONResponse added in v1.12.0

type GetServerConsole503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (GetServerConsole503ApplicationProblemPlusJSONResponse) VisitGetServerConsoleResponse added in v1.12.0

func (response GetServerConsole503ApplicationProblemPlusJSONResponse) VisitGetServerConsoleResponse(w http.ResponseWriter) error

type GetServerConsoleParams added in v1.12.0

type GetServerConsoleParams struct {
	Tail *int `form:"tail,omitempty" json:"tail,omitempty"`
}

GetServerConsoleParams defines parameters for GetServerConsole.

type GetServerConsoleRequestObject added in v1.12.0

type GetServerConsoleRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Params   GetServerConsoleParams
}

type GetServerConsoleResponseObject added in v1.12.0

type GetServerConsoleResponseObject interface {
	VisitGetServerConsoleResponse(w http.ResponseWriter) error
}

type GetServerProperties200JSONResponse added in v1.12.0

type GetServerProperties200JSONResponse ServerProperties

func (GetServerProperties200JSONResponse) VisitGetServerPropertiesResponse added in v1.12.0

func (response GetServerProperties200JSONResponse) VisitGetServerPropertiesResponse(w http.ResponseWriter) error

type GetServerProperties401ApplicationProblemPlusJSONResponse added in v1.12.0

type GetServerProperties401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetServerProperties401ApplicationProblemPlusJSONResponse) VisitGetServerPropertiesResponse added in v1.12.0

func (response GetServerProperties401ApplicationProblemPlusJSONResponse) VisitGetServerPropertiesResponse(w http.ResponseWriter) error

type GetServerProperties403ApplicationProblemPlusJSONResponse added in v1.12.0

type GetServerProperties403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetServerProperties403ApplicationProblemPlusJSONResponse) VisitGetServerPropertiesResponse added in v1.12.0

func (response GetServerProperties403ApplicationProblemPlusJSONResponse) VisitGetServerPropertiesResponse(w http.ResponseWriter) error

type GetServerProperties404ApplicationProblemPlusJSONResponse added in v1.12.0

type GetServerProperties404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetServerProperties404ApplicationProblemPlusJSONResponse) VisitGetServerPropertiesResponse added in v1.12.0

func (response GetServerProperties404ApplicationProblemPlusJSONResponse) VisitGetServerPropertiesResponse(w http.ResponseWriter) error

type GetServerProperties409ApplicationProblemPlusJSONResponse added in v1.12.0

type GetServerProperties409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (GetServerProperties409ApplicationProblemPlusJSONResponse) VisitGetServerPropertiesResponse added in v1.12.0

func (response GetServerProperties409ApplicationProblemPlusJSONResponse) VisitGetServerPropertiesResponse(w http.ResponseWriter) error

type GetServerProperties503ApplicationProblemPlusJSONResponse added in v1.12.0

type GetServerProperties503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (GetServerProperties503ApplicationProblemPlusJSONResponse) VisitGetServerPropertiesResponse added in v1.12.0

func (response GetServerProperties503ApplicationProblemPlusJSONResponse) VisitGetServerPropertiesResponse(w http.ResponseWriter) error

type GetServerPropertiesRequestObject added in v1.12.0

type GetServerPropertiesRequestObject struct {
	ServerId ServerId `json:"serverId"`
}

type GetServerPropertiesResponseObject added in v1.12.0

type GetServerPropertiesResponseObject interface {
	VisitGetServerPropertiesResponse(w http.ResponseWriter) error
}

type GetServerRequestObject added in v1.5.0

type GetServerRequestObject struct {
	ServerId ServerId `json:"serverId"`
}

type GetServerResponseObject added in v1.5.0

type GetServerResponseObject interface {
	VisitGetServerResponse(w http.ResponseWriter) error
}

type GetSetup200JSONResponse added in v1.19.0

type GetSetup200JSONResponse SetupStatus

func (GetSetup200JSONResponse) VisitGetSetupResponse added in v1.19.0

func (response GetSetup200JSONResponse) VisitGetSetupResponse(w http.ResponseWriter) error

type GetSetupRequestObject added in v1.19.0

type GetSetupRequestObject struct {
}

type GetSetupResponseObject added in v1.19.0

type GetSetupResponseObject interface {
	VisitGetSetupResponse(w http.ResponseWriter) error
}

type GetSystemInfo200JSONResponse added in v1.15.0

type GetSystemInfo200JSONResponse SystemInfo

func (GetSystemInfo200JSONResponse) VisitGetSystemInfoResponse added in v1.15.0

func (response GetSystemInfo200JSONResponse) VisitGetSystemInfoResponse(w http.ResponseWriter) error

type GetSystemInfo401ApplicationProblemPlusJSONResponse added in v1.15.0

type GetSystemInfo401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetSystemInfo401ApplicationProblemPlusJSONResponse) VisitGetSystemInfoResponse added in v1.15.0

func (response GetSystemInfo401ApplicationProblemPlusJSONResponse) VisitGetSystemInfoResponse(w http.ResponseWriter) error

type GetSystemInfoRequestObject added in v1.15.0

type GetSystemInfoRequestObject struct {
}

type GetSystemInfoResponseObject added in v1.15.0

type GetSystemInfoResponseObject interface {
	VisitGetSystemInfoResponse(w http.ResponseWriter) error
}

type GetTeam200JSONResponse added in v1.4.0

type GetTeam200JSONResponse Team

func (GetTeam200JSONResponse) VisitGetTeamResponse added in v1.4.0

func (response GetTeam200JSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeam401ApplicationProblemPlusJSONResponse added in v1.4.0

type GetTeam401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetTeam401ApplicationProblemPlusJSONResponse) VisitGetTeamResponse added in v1.4.0

func (response GetTeam401ApplicationProblemPlusJSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeam403ApplicationProblemPlusJSONResponse added in v1.4.0

type GetTeam403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetTeam403ApplicationProblemPlusJSONResponse) VisitGetTeamResponse added in v1.4.0

func (response GetTeam403ApplicationProblemPlusJSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeam404ApplicationProblemPlusJSONResponse added in v1.4.0

type GetTeam404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetTeam404ApplicationProblemPlusJSONResponse) VisitGetTeamResponse added in v1.4.0

func (response GetTeam404ApplicationProblemPlusJSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeamRequestObject added in v1.4.0

type GetTeamRequestObject struct {
	TeamId TeamId `json:"teamId"`
}

type GetTeamResponseObject added in v1.4.0

type GetTeamResponseObject interface {
	VisitGetTeamResponse(w http.ResponseWriter) error
}

type GetUser200JSONResponse added in v1.4.0

type GetUser200JSONResponse User

func (GetUser200JSONResponse) VisitGetUserResponse added in v1.4.0

func (response GetUser200JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUser401ApplicationProblemPlusJSONResponse added in v1.4.0

type GetUser401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetUser401ApplicationProblemPlusJSONResponse) VisitGetUserResponse added in v1.4.0

func (response GetUser401ApplicationProblemPlusJSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUser403ApplicationProblemPlusJSONResponse added in v1.4.0

type GetUser403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetUser403ApplicationProblemPlusJSONResponse) VisitGetUserResponse added in v1.4.0

func (response GetUser403ApplicationProblemPlusJSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUser404ApplicationProblemPlusJSONResponse added in v1.4.0

type GetUser404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetUser404ApplicationProblemPlusJSONResponse) VisitGetUserResponse added in v1.4.0

func (response GetUser404ApplicationProblemPlusJSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUserPermissions200JSONResponse added in v1.17.0

type GetUserPermissions200JSONResponse PermissionSummary

func (GetUserPermissions200JSONResponse) VisitGetUserPermissionsResponse added in v1.17.0

func (response GetUserPermissions200JSONResponse) VisitGetUserPermissionsResponse(w http.ResponseWriter) error

type GetUserPermissions401ApplicationProblemPlusJSONResponse added in v1.17.0

type GetUserPermissions401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetUserPermissions401ApplicationProblemPlusJSONResponse) VisitGetUserPermissionsResponse added in v1.17.0

func (response GetUserPermissions401ApplicationProblemPlusJSONResponse) VisitGetUserPermissionsResponse(w http.ResponseWriter) error

type GetUserPermissions403ApplicationProblemPlusJSONResponse added in v1.17.0

type GetUserPermissions403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetUserPermissions403ApplicationProblemPlusJSONResponse) VisitGetUserPermissionsResponse added in v1.17.0

func (response GetUserPermissions403ApplicationProblemPlusJSONResponse) VisitGetUserPermissionsResponse(w http.ResponseWriter) error

type GetUserPermissions404ApplicationProblemPlusJSONResponse added in v1.17.0

type GetUserPermissions404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetUserPermissions404ApplicationProblemPlusJSONResponse) VisitGetUserPermissionsResponse added in v1.17.0

func (response GetUserPermissions404ApplicationProblemPlusJSONResponse) VisitGetUserPermissionsResponse(w http.ResponseWriter) error

type GetUserPermissionsRequestObject added in v1.17.0

type GetUserPermissionsRequestObject struct {
	UserId UserId `json:"userId"`
}

type GetUserPermissionsResponseObject added in v1.17.0

type GetUserPermissionsResponseObject interface {
	VisitGetUserPermissionsResponse(w http.ResponseWriter) error
}

type GetUserRequestObject added in v1.4.0

type GetUserRequestObject struct {
	UserId UserId `json:"userId"`
}

type GetUserResponseObject added in v1.4.0

type GetUserResponseObject interface {
	VisitGetUserResponse(w http.ResponseWriter) error
}

type InstallPluginRequest added in v1.14.0

type InstallPluginRequest struct {
	Force    *bool  `json:"force,omitempty"`
	PluginId string `json:"pluginId"`

	// VersionId The newest compatible version when absent.
	VersionId *string `json:"versionId,omitempty"`
}

InstallPluginRequest defines model for InstallPluginRequest.

type InstallServerPlugin201JSONResponse added in v1.14.0

type InstallServerPlugin201JSONResponse PluginChangeResult

func (InstallServerPlugin201JSONResponse) VisitInstallServerPluginResponse added in v1.14.0

func (response InstallServerPlugin201JSONResponse) VisitInstallServerPluginResponse(w http.ResponseWriter) error

type InstallServerPlugin400ApplicationProblemPlusJSONResponse added in v1.14.0

type InstallServerPlugin400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (InstallServerPlugin400ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse added in v1.14.0

func (response InstallServerPlugin400ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse(w http.ResponseWriter) error

type InstallServerPlugin401ApplicationProblemPlusJSONResponse added in v1.14.0

type InstallServerPlugin401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (InstallServerPlugin401ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse added in v1.14.0

func (response InstallServerPlugin401ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse(w http.ResponseWriter) error

type InstallServerPlugin403ApplicationProblemPlusJSONResponse added in v1.14.0

type InstallServerPlugin403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (InstallServerPlugin403ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse added in v1.14.0

func (response InstallServerPlugin403ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse(w http.ResponseWriter) error

type InstallServerPlugin404ApplicationProblemPlusJSONResponse added in v1.14.0

type InstallServerPlugin404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (InstallServerPlugin404ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse added in v1.14.0

func (response InstallServerPlugin404ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse(w http.ResponseWriter) error

type InstallServerPlugin409ApplicationProblemPlusJSONResponse added in v1.14.0

type InstallServerPlugin409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (InstallServerPlugin409ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse added in v1.14.0

func (response InstallServerPlugin409ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse(w http.ResponseWriter) error

type InstallServerPlugin502ApplicationProblemPlusJSONResponse added in v1.14.0

type InstallServerPlugin502ApplicationProblemPlusJSONResponse struct {
	DownloadFailedApplicationProblemPlusJSONResponse
}

func (InstallServerPlugin502ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse added in v1.14.0

func (response InstallServerPlugin502ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse(w http.ResponseWriter) error

type InstallServerPlugin503ApplicationProblemPlusJSONResponse added in v1.14.0

type InstallServerPlugin503ApplicationProblemPlusJSONResponse struct {
	CatalogUnavailableApplicationProblemPlusJSONResponse
}

func (InstallServerPlugin503ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse added in v1.14.0

func (response InstallServerPlugin503ApplicationProblemPlusJSONResponse) VisitInstallServerPluginResponse(w http.ResponseWriter) error

type InstallServerPluginJSONRequestBody added in v1.14.0

type InstallServerPluginJSONRequestBody = InstallPluginRequest

InstallServerPluginJSONRequestBody defines body for InstallServerPlugin for application/json ContentType.

type InstallServerPluginRequestObject added in v1.14.0

type InstallServerPluginRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Body     *InstallServerPluginJSONRequestBody
}

type InstallServerPluginResponseObject added in v1.14.0

type InstallServerPluginResponseObject interface {
	VisitInstallServerPluginResponse(w http.ResponseWriter) error
}

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type IssueEnrollmentToken201JSONResponse added in v1.6.0

type IssueEnrollmentToken201JSONResponse EnrollmentToken

func (IssueEnrollmentToken201JSONResponse) VisitIssueEnrollmentTokenResponse added in v1.6.0

func (response IssueEnrollmentToken201JSONResponse) VisitIssueEnrollmentTokenResponse(w http.ResponseWriter) error

type IssueEnrollmentToken401ApplicationProblemPlusJSONResponse added in v1.6.0

type IssueEnrollmentToken401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (IssueEnrollmentToken401ApplicationProblemPlusJSONResponse) VisitIssueEnrollmentTokenResponse added in v1.6.0

func (response IssueEnrollmentToken401ApplicationProblemPlusJSONResponse) VisitIssueEnrollmentTokenResponse(w http.ResponseWriter) error

type IssueEnrollmentToken403ApplicationProblemPlusJSONResponse added in v1.6.0

type IssueEnrollmentToken403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (IssueEnrollmentToken403ApplicationProblemPlusJSONResponse) VisitIssueEnrollmentTokenResponse added in v1.6.0

func (response IssueEnrollmentToken403ApplicationProblemPlusJSONResponse) VisitIssueEnrollmentTokenResponse(w http.ResponseWriter) error

type IssueEnrollmentToken404ApplicationProblemPlusJSONResponse added in v1.6.0

type IssueEnrollmentToken404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (IssueEnrollmentToken404ApplicationProblemPlusJSONResponse) VisitIssueEnrollmentTokenResponse added in v1.6.0

func (response IssueEnrollmentToken404ApplicationProblemPlusJSONResponse) VisitIssueEnrollmentTokenResponse(w http.ResponseWriter) error

type IssueEnrollmentToken409ApplicationProblemPlusJSONResponse added in v1.6.0

type IssueEnrollmentToken409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (IssueEnrollmentToken409ApplicationProblemPlusJSONResponse) VisitIssueEnrollmentTokenResponse added in v1.6.0

func (response IssueEnrollmentToken409ApplicationProblemPlusJSONResponse) VisitIssueEnrollmentTokenResponse(w http.ResponseWriter) error

type IssueEnrollmentTokenRequestObject added in v1.6.0

type IssueEnrollmentTokenRequestObject struct {
	NodeId NodeId `json:"nodeId"`
}

type IssueEnrollmentTokenResponseObject added in v1.6.0

type IssueEnrollmentTokenResponseObject interface {
	VisitIssueEnrollmentTokenResponse(w http.ResponseWriter) error
}

type IssuePasswordReset201JSONResponse added in v1.4.0

type IssuePasswordReset201JSONResponse PasswordResetLink

func (IssuePasswordReset201JSONResponse) VisitIssuePasswordResetResponse added in v1.4.0

func (response IssuePasswordReset201JSONResponse) VisitIssuePasswordResetResponse(w http.ResponseWriter) error

type IssuePasswordReset401ApplicationProblemPlusJSONResponse added in v1.4.0

type IssuePasswordReset401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (IssuePasswordReset401ApplicationProblemPlusJSONResponse) VisitIssuePasswordResetResponse added in v1.4.0

func (response IssuePasswordReset401ApplicationProblemPlusJSONResponse) VisitIssuePasswordResetResponse(w http.ResponseWriter) error

type IssuePasswordReset403ApplicationProblemPlusJSONResponse added in v1.4.0

type IssuePasswordReset403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (IssuePasswordReset403ApplicationProblemPlusJSONResponse) VisitIssuePasswordResetResponse added in v1.4.0

func (response IssuePasswordReset403ApplicationProblemPlusJSONResponse) VisitIssuePasswordResetResponse(w http.ResponseWriter) error

type IssuePasswordReset404ApplicationProblemPlusJSONResponse added in v1.4.0

type IssuePasswordReset404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (IssuePasswordReset404ApplicationProblemPlusJSONResponse) VisitIssuePasswordResetResponse added in v1.4.0

func (response IssuePasswordReset404ApplicationProblemPlusJSONResponse) VisitIssuePasswordResetResponse(w http.ResponseWriter) error

type IssuePasswordResetRequestObject added in v1.4.0

type IssuePasswordResetRequestObject struct {
	UserId UserId `json:"userId"`
}

type IssuePasswordResetResponseObject added in v1.4.0

type IssuePasswordResetResponseObject interface {
	VisitIssuePasswordResetResponse(w http.ResponseWriter) error
}

type Limit added in v1.4.0

type Limit = int

Limit defines model for Limit.

type ListArtifacts200JSONResponse added in v1.11.0

type ListArtifacts200JSONResponse ArtifactList

func (ListArtifacts200JSONResponse) VisitListArtifactsResponse added in v1.11.0

func (response ListArtifacts200JSONResponse) VisitListArtifactsResponse(w http.ResponseWriter) error

type ListArtifacts401ApplicationProblemPlusJSONResponse added in v1.11.0

type ListArtifacts401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListArtifacts401ApplicationProblemPlusJSONResponse) VisitListArtifactsResponse added in v1.11.0

func (response ListArtifacts401ApplicationProblemPlusJSONResponse) VisitListArtifactsResponse(w http.ResponseWriter) error

type ListArtifacts403ApplicationProblemPlusJSONResponse added in v1.11.0

type ListArtifacts403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListArtifacts403ApplicationProblemPlusJSONResponse) VisitListArtifactsResponse added in v1.11.0

func (response ListArtifacts403ApplicationProblemPlusJSONResponse) VisitListArtifactsResponse(w http.ResponseWriter) error

type ListArtifactsRequestObject added in v1.11.0

type ListArtifactsRequestObject struct {
}

type ListArtifactsResponseObject added in v1.11.0

type ListArtifactsResponseObject interface {
	VisitListArtifactsResponse(w http.ResponseWriter) error
}

type ListAuditEvents200JSONResponse added in v1.4.0

type ListAuditEvents200JSONResponse AuditEventList

func (ListAuditEvents200JSONResponse) VisitListAuditEventsResponse added in v1.4.0

func (response ListAuditEvents200JSONResponse) VisitListAuditEventsResponse(w http.ResponseWriter) error

type ListAuditEvents400ApplicationProblemPlusJSONResponse added in v1.4.0

type ListAuditEvents400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListAuditEvents400ApplicationProblemPlusJSONResponse) VisitListAuditEventsResponse added in v1.4.0

func (response ListAuditEvents400ApplicationProblemPlusJSONResponse) VisitListAuditEventsResponse(w http.ResponseWriter) error

type ListAuditEvents401ApplicationProblemPlusJSONResponse added in v1.4.0

type ListAuditEvents401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListAuditEvents401ApplicationProblemPlusJSONResponse) VisitListAuditEventsResponse added in v1.4.0

func (response ListAuditEvents401ApplicationProblemPlusJSONResponse) VisitListAuditEventsResponse(w http.ResponseWriter) error

type ListAuditEvents403ApplicationProblemPlusJSONResponse added in v1.4.0

type ListAuditEvents403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListAuditEvents403ApplicationProblemPlusJSONResponse) VisitListAuditEventsResponse added in v1.4.0

func (response ListAuditEvents403ApplicationProblemPlusJSONResponse) VisitListAuditEventsResponse(w http.ResponseWriter) error

type ListAuditEventsParams added in v1.4.0

type ListAuditEventsParams struct {
	ActorUserId *openapi_types.UUID `form:"actorUserId,omitempty" json:"actorUserId,omitempty"`
	TargetKind  *string             `form:"targetKind,omitempty" json:"targetKind,omitempty"`
	TargetId    *string             `form:"targetId,omitempty" json:"targetId,omitempty"`

	// Action An area (`server`, every `server.…` action) or one action (`server.delete`).
	Action  *string                       `form:"action,omitempty" json:"action,omitempty"`
	Outcome *ListAuditEventsParamsOutcome `form:"outcome,omitempty" json:"outcome,omitempty"`
	Since   *time.Time                    `form:"since,omitempty" json:"since,omitempty"`

	// Until Only events before this time.
	Until *time.Time `form:"until,omitempty" json:"until,omitempty"`

	// Limit At most this many items (default 50).
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor The `nextCursor` of the previous page.
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListAuditEventsParams defines parameters for ListAuditEvents.

type ListAuditEventsParamsOutcome added in v1.17.0

type ListAuditEventsParamsOutcome string

ListAuditEventsParamsOutcome defines parameters for ListAuditEvents.

const (
	ListAuditEventsParamsOutcomeDENIED  ListAuditEventsParamsOutcome = "DENIED"
	ListAuditEventsParamsOutcomeFAILURE ListAuditEventsParamsOutcome = "FAILURE"
	ListAuditEventsParamsOutcomeSUCCESS ListAuditEventsParamsOutcome = "SUCCESS"
)

Defines values for ListAuditEventsParamsOutcome.

func (ListAuditEventsParamsOutcome) Valid added in v1.17.0

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

type ListAuditEventsRequestObject added in v1.4.0

type ListAuditEventsRequestObject struct {
	Params ListAuditEventsParams
}

type ListAuditEventsResponseObject added in v1.4.0

type ListAuditEventsResponseObject interface {
	VisitListAuditEventsResponse(w http.ResponseWriter) error
}

type ListBackupDestinations200JSONResponse added in v1.18.0

type ListBackupDestinations200JSONResponse BackupDestinationList

func (ListBackupDestinations200JSONResponse) VisitListBackupDestinationsResponse added in v1.18.0

func (response ListBackupDestinations200JSONResponse) VisitListBackupDestinationsResponse(w http.ResponseWriter) error

type ListBackupDestinations401ApplicationProblemPlusJSONResponse added in v1.18.0

type ListBackupDestinations401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListBackupDestinations401ApplicationProblemPlusJSONResponse) VisitListBackupDestinationsResponse added in v1.18.0

func (response ListBackupDestinations401ApplicationProblemPlusJSONResponse) VisitListBackupDestinationsResponse(w http.ResponseWriter) error

type ListBackupDestinationsRequestObject added in v1.18.0

type ListBackupDestinationsRequestObject struct {
}

type ListBackupDestinationsResponseObject added in v1.18.0

type ListBackupDestinationsResponseObject interface {
	VisitListBackupDestinationsResponse(w http.ResponseWriter) error
}

type ListCatalogPlugins200JSONResponse added in v1.13.0

type ListCatalogPlugins200JSONResponse CatalogPluginList

func (ListCatalogPlugins200JSONResponse) VisitListCatalogPluginsResponse added in v1.13.0

func (response ListCatalogPlugins200JSONResponse) VisitListCatalogPluginsResponse(w http.ResponseWriter) error

type ListCatalogPlugins400ApplicationProblemPlusJSONResponse added in v1.13.0

type ListCatalogPlugins400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListCatalogPlugins400ApplicationProblemPlusJSONResponse) VisitListCatalogPluginsResponse added in v1.13.0

func (response ListCatalogPlugins400ApplicationProblemPlusJSONResponse) VisitListCatalogPluginsResponse(w http.ResponseWriter) error

type ListCatalogPlugins401ApplicationProblemPlusJSONResponse added in v1.13.0

type ListCatalogPlugins401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListCatalogPlugins401ApplicationProblemPlusJSONResponse) VisitListCatalogPluginsResponse added in v1.13.0

func (response ListCatalogPlugins401ApplicationProblemPlusJSONResponse) VisitListCatalogPluginsResponse(w http.ResponseWriter) error

type ListCatalogPluginsParams added in v1.13.0

type ListCatalogPluginsParams struct {
	Search      *string                           `form:"search,omitempty" json:"search,omitempty"`
	Platform    *ListCatalogPluginsParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
	GameVersion *string                           `form:"gameVersion,omitempty" json:"gameVersion,omitempty"`

	// Cursor The `nextCursor` of the previous page.
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit At most this many items (default 50).
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}

ListCatalogPluginsParams defines parameters for ListCatalogPlugins.

type ListCatalogPluginsParamsPlatform added in v1.13.0

type ListCatalogPluginsParamsPlatform string

ListCatalogPluginsParamsPlatform defines parameters for ListCatalogPlugins.

const (
	ListCatalogPluginsParamsPlatformBukkit ListCatalogPluginsParamsPlatform = "bukkit"
	ListCatalogPluginsParamsPlatformFolia  ListCatalogPluginsParamsPlatform = "folia"
	ListCatalogPluginsParamsPlatformPaper  ListCatalogPluginsParamsPlatform = "paper"
	ListCatalogPluginsParamsPlatformPurpur ListCatalogPluginsParamsPlatform = "purpur"
	ListCatalogPluginsParamsPlatformSpigot ListCatalogPluginsParamsPlatform = "spigot"
)

Defines values for ListCatalogPluginsParamsPlatform.

func (ListCatalogPluginsParamsPlatform) Valid added in v1.13.0

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

type ListCatalogPluginsRequestObject added in v1.13.0

type ListCatalogPluginsRequestObject struct {
	Params ListCatalogPluginsParams
}

type ListCatalogPluginsResponseObject added in v1.13.0

type ListCatalogPluginsResponseObject interface {
	VisitListCatalogPluginsResponse(w http.ResponseWriter) error
}

type ListMySessions200JSONResponse

type ListMySessions200JSONResponse SessionList

func (ListMySessions200JSONResponse) VisitListMySessionsResponse

func (response ListMySessions200JSONResponse) VisitListMySessionsResponse(w http.ResponseWriter) error

type ListMySessions401ApplicationProblemPlusJSONResponse

type ListMySessions401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListMySessions401ApplicationProblemPlusJSONResponse) VisitListMySessionsResponse

func (response ListMySessions401ApplicationProblemPlusJSONResponse) VisitListMySessionsResponse(w http.ResponseWriter) error

type ListMySessionsRequestObject

type ListMySessionsRequestObject struct {
}

type ListMySessionsResponseObject

type ListMySessionsResponseObject interface {
	VisitListMySessionsResponse(w http.ResponseWriter) error
}

type ListMyTokens200JSONResponse

type ListMyTokens200JSONResponse ApiTokenList

func (ListMyTokens200JSONResponse) VisitListMyTokensResponse

func (response ListMyTokens200JSONResponse) VisitListMyTokensResponse(w http.ResponseWriter) error

type ListMyTokens401ApplicationProblemPlusJSONResponse

type ListMyTokens401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListMyTokens401ApplicationProblemPlusJSONResponse) VisitListMyTokensResponse

func (response ListMyTokens401ApplicationProblemPlusJSONResponse) VisitListMyTokensResponse(w http.ResponseWriter) error

type ListMyTokensRequestObject

type ListMyTokensRequestObject struct {
}

type ListMyTokensResponseObject

type ListMyTokensResponseObject interface {
	VisitListMyTokensResponse(w http.ResponseWriter) error
}

type ListNodes200JSONResponse added in v1.5.0

type ListNodes200JSONResponse NodeList

func (ListNodes200JSONResponse) VisitListNodesResponse added in v1.5.0

func (response ListNodes200JSONResponse) VisitListNodesResponse(w http.ResponseWriter) error

type ListNodes400ApplicationProblemPlusJSONResponse added in v1.5.0

type ListNodes400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListNodes400ApplicationProblemPlusJSONResponse) VisitListNodesResponse added in v1.5.0

func (response ListNodes400ApplicationProblemPlusJSONResponse) VisitListNodesResponse(w http.ResponseWriter) error

type ListNodes401ApplicationProblemPlusJSONResponse added in v1.5.0

type ListNodes401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListNodes401ApplicationProblemPlusJSONResponse) VisitListNodesResponse added in v1.5.0

func (response ListNodes401ApplicationProblemPlusJSONResponse) VisitListNodesResponse(w http.ResponseWriter) error

type ListNodes403ApplicationProblemPlusJSONResponse added in v1.5.0

type ListNodes403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListNodes403ApplicationProblemPlusJSONResponse) VisitListNodesResponse added in v1.5.0

func (response ListNodes403ApplicationProblemPlusJSONResponse) VisitListNodesResponse(w http.ResponseWriter) error

type ListNodesParams added in v1.5.0

type ListNodesParams struct {
	// Limit At most this many items (default 50).
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor The `nextCursor` of the previous page.
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListNodesParams defines parameters for ListNodes.

type ListNodesRequestObject added in v1.5.0

type ListNodesRequestObject struct {
	Params ListNodesParams
}

type ListNodesResponseObject added in v1.5.0

type ListNodesResponseObject interface {
	VisitListNodesResponse(w http.ResponseWriter) error
}

type ListPermissions200JSONResponse added in v1.4.0

type ListPermissions200JSONResponse PermissionList

func (ListPermissions200JSONResponse) VisitListPermissionsResponse added in v1.4.0

func (response ListPermissions200JSONResponse) VisitListPermissionsResponse(w http.ResponseWriter) error

type ListPermissions401ApplicationProblemPlusJSONResponse added in v1.4.0

type ListPermissions401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListPermissions401ApplicationProblemPlusJSONResponse) VisitListPermissionsResponse added in v1.4.0

func (response ListPermissions401ApplicationProblemPlusJSONResponse) VisitListPermissionsResponse(w http.ResponseWriter) error

type ListPermissions403ApplicationProblemPlusJSONResponse added in v1.4.0

type ListPermissions403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListPermissions403ApplicationProblemPlusJSONResponse) VisitListPermissionsResponse added in v1.4.0

func (response ListPermissions403ApplicationProblemPlusJSONResponse) VisitListPermissionsResponse(w http.ResponseWriter) error

type ListPermissionsRequestObject added in v1.4.0

type ListPermissionsRequestObject struct {
}

type ListPermissionsResponseObject added in v1.4.0

type ListPermissionsResponseObject interface {
	VisitListPermissionsResponse(w http.ResponseWriter) error
}

type ListRoleAssignments200JSONResponse added in v1.4.0

type ListRoleAssignments200JSONResponse RoleAssignmentList

func (ListRoleAssignments200JSONResponse) VisitListRoleAssignmentsResponse added in v1.4.0

func (response ListRoleAssignments200JSONResponse) VisitListRoleAssignmentsResponse(w http.ResponseWriter) error

type ListRoleAssignments400ApplicationProblemPlusJSONResponse added in v1.4.0

type ListRoleAssignments400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListRoleAssignments400ApplicationProblemPlusJSONResponse) VisitListRoleAssignmentsResponse added in v1.4.0

func (response ListRoleAssignments400ApplicationProblemPlusJSONResponse) VisitListRoleAssignmentsResponse(w http.ResponseWriter) error

type ListRoleAssignments401ApplicationProblemPlusJSONResponse added in v1.4.0

type ListRoleAssignments401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListRoleAssignments401ApplicationProblemPlusJSONResponse) VisitListRoleAssignmentsResponse added in v1.4.0

func (response ListRoleAssignments401ApplicationProblemPlusJSONResponse) VisitListRoleAssignmentsResponse(w http.ResponseWriter) error

type ListRoleAssignments403ApplicationProblemPlusJSONResponse added in v1.4.0

type ListRoleAssignments403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListRoleAssignments403ApplicationProblemPlusJSONResponse) VisitListRoleAssignmentsResponse added in v1.4.0

func (response ListRoleAssignments403ApplicationProblemPlusJSONResponse) VisitListRoleAssignmentsResponse(w http.ResponseWriter) error

type ListRoleAssignmentsParams added in v1.4.0

type ListRoleAssignmentsParams struct {
	UserId *openapi_types.UUID `form:"userId,omitempty" json:"userId,omitempty"`
	TeamId *openapi_types.UUID `form:"teamId,omitempty" json:"teamId,omitempty"`
	RoleId *openapi_types.UUID `form:"roleId,omitempty" json:"roleId,omitempty"`
}

ListRoleAssignmentsParams defines parameters for ListRoleAssignments.

type ListRoleAssignmentsRequestObject added in v1.4.0

type ListRoleAssignmentsRequestObject struct {
	Params ListRoleAssignmentsParams
}

type ListRoleAssignmentsResponseObject added in v1.4.0

type ListRoleAssignmentsResponseObject interface {
	VisitListRoleAssignmentsResponse(w http.ResponseWriter) error
}

type ListRoles200JSONResponse added in v1.4.0

type ListRoles200JSONResponse RoleList

func (ListRoles200JSONResponse) VisitListRolesResponse added in v1.4.0

func (response ListRoles200JSONResponse) VisitListRolesResponse(w http.ResponseWriter) error

type ListRoles401ApplicationProblemPlusJSONResponse added in v1.4.0

type ListRoles401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListRoles401ApplicationProblemPlusJSONResponse) VisitListRolesResponse added in v1.4.0

func (response ListRoles401ApplicationProblemPlusJSONResponse) VisitListRolesResponse(w http.ResponseWriter) error

type ListRoles403ApplicationProblemPlusJSONResponse added in v1.4.0

type ListRoles403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListRoles403ApplicationProblemPlusJSONResponse) VisitListRolesResponse added in v1.4.0

func (response ListRoles403ApplicationProblemPlusJSONResponse) VisitListRolesResponse(w http.ResponseWriter) error

type ListRolesRequestObject added in v1.4.0

type ListRolesRequestObject struct {
}

type ListRolesResponseObject added in v1.4.0

type ListRolesResponseObject interface {
	VisitListRolesResponse(w http.ResponseWriter) error
}

type ListServerBackups200JSONResponse added in v1.18.0

type ListServerBackups200JSONResponse BackupList

func (ListServerBackups200JSONResponse) VisitListServerBackupsResponse added in v1.18.0

func (response ListServerBackups200JSONResponse) VisitListServerBackupsResponse(w http.ResponseWriter) error

type ListServerBackups400ApplicationProblemPlusJSONResponse added in v1.18.0

type ListServerBackups400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListServerBackups400ApplicationProblemPlusJSONResponse) VisitListServerBackupsResponse added in v1.18.0

func (response ListServerBackups400ApplicationProblemPlusJSONResponse) VisitListServerBackupsResponse(w http.ResponseWriter) error

type ListServerBackups401ApplicationProblemPlusJSONResponse added in v1.18.0

type ListServerBackups401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListServerBackups401ApplicationProblemPlusJSONResponse) VisitListServerBackupsResponse added in v1.18.0

func (response ListServerBackups401ApplicationProblemPlusJSONResponse) VisitListServerBackupsResponse(w http.ResponseWriter) error

type ListServerBackups404ApplicationProblemPlusJSONResponse added in v1.18.0

type ListServerBackups404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListServerBackups404ApplicationProblemPlusJSONResponse) VisitListServerBackupsResponse added in v1.18.0

func (response ListServerBackups404ApplicationProblemPlusJSONResponse) VisitListServerBackupsResponse(w http.ResponseWriter) error

type ListServerBackupsParams added in v1.18.0

type ListServerBackupsParams struct {
	// Limit At most this many items (default 50).
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor The `nextCursor` of the previous page.
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListServerBackupsParams defines parameters for ListServerBackups.

type ListServerBackupsRequestObject added in v1.18.0

type ListServerBackupsRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Params   ListServerBackupsParams
}

type ListServerBackupsResponseObject added in v1.18.0

type ListServerBackupsResponseObject interface {
	VisitListServerBackupsResponse(w http.ResponseWriter) error
}

type ListServerEvents200JSONResponse added in v1.5.0

type ListServerEvents200JSONResponse EventList

func (ListServerEvents200JSONResponse) VisitListServerEventsResponse added in v1.5.0

func (response ListServerEvents200JSONResponse) VisitListServerEventsResponse(w http.ResponseWriter) error

type ListServerEvents400ApplicationProblemPlusJSONResponse added in v1.5.0

type ListServerEvents400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListServerEvents400ApplicationProblemPlusJSONResponse) VisitListServerEventsResponse added in v1.5.0

func (response ListServerEvents400ApplicationProblemPlusJSONResponse) VisitListServerEventsResponse(w http.ResponseWriter) error

type ListServerEvents401ApplicationProblemPlusJSONResponse added in v1.5.0

type ListServerEvents401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListServerEvents401ApplicationProblemPlusJSONResponse) VisitListServerEventsResponse added in v1.5.0

func (response ListServerEvents401ApplicationProblemPlusJSONResponse) VisitListServerEventsResponse(w http.ResponseWriter) error

type ListServerEvents404ApplicationProblemPlusJSONResponse added in v1.5.0

type ListServerEvents404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListServerEvents404ApplicationProblemPlusJSONResponse) VisitListServerEventsResponse added in v1.5.0

func (response ListServerEvents404ApplicationProblemPlusJSONResponse) VisitListServerEventsResponse(w http.ResponseWriter) error

type ListServerEventsParams added in v1.5.0

type ListServerEventsParams struct {
	// Limit At most this many items (default 50).
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor The `nextCursor` of the previous page.
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListServerEventsParams defines parameters for ListServerEvents.

type ListServerEventsRequestObject added in v1.5.0

type ListServerEventsRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Params   ListServerEventsParams
}

type ListServerEventsResponseObject added in v1.5.0

type ListServerEventsResponseObject interface {
	VisitListServerEventsResponse(w http.ResponseWriter) error
}

type ListServerFiles200JSONResponse added in v1.12.0

type ListServerFiles200JSONResponse FileList

func (ListServerFiles200JSONResponse) VisitListServerFilesResponse added in v1.12.0

func (response ListServerFiles200JSONResponse) VisitListServerFilesResponse(w http.ResponseWriter) error

type ListServerFiles400ApplicationProblemPlusJSONResponse added in v1.12.0

type ListServerFiles400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListServerFiles400ApplicationProblemPlusJSONResponse) VisitListServerFilesResponse added in v1.12.0

func (response ListServerFiles400ApplicationProblemPlusJSONResponse) VisitListServerFilesResponse(w http.ResponseWriter) error

type ListServerFiles401ApplicationProblemPlusJSONResponse added in v1.12.0

type ListServerFiles401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListServerFiles401ApplicationProblemPlusJSONResponse) VisitListServerFilesResponse added in v1.12.0

func (response ListServerFiles401ApplicationProblemPlusJSONResponse) VisitListServerFilesResponse(w http.ResponseWriter) error

type ListServerFiles403ApplicationProblemPlusJSONResponse added in v1.12.0

type ListServerFiles403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListServerFiles403ApplicationProblemPlusJSONResponse) VisitListServerFilesResponse added in v1.12.0

func (response ListServerFiles403ApplicationProblemPlusJSONResponse) VisitListServerFilesResponse(w http.ResponseWriter) error

type ListServerFiles404ApplicationProblemPlusJSONResponse added in v1.12.0

type ListServerFiles404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListServerFiles404ApplicationProblemPlusJSONResponse) VisitListServerFilesResponse added in v1.12.0

func (response ListServerFiles404ApplicationProblemPlusJSONResponse) VisitListServerFilesResponse(w http.ResponseWriter) error

type ListServerFiles409ApplicationProblemPlusJSONResponse added in v1.12.0

type ListServerFiles409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (ListServerFiles409ApplicationProblemPlusJSONResponse) VisitListServerFilesResponse added in v1.12.0

func (response ListServerFiles409ApplicationProblemPlusJSONResponse) VisitListServerFilesResponse(w http.ResponseWriter) error

type ListServerFiles503ApplicationProblemPlusJSONResponse added in v1.12.0

type ListServerFiles503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (ListServerFiles503ApplicationProblemPlusJSONResponse) VisitListServerFilesResponse added in v1.12.0

func (response ListServerFiles503ApplicationProblemPlusJSONResponse) VisitListServerFilesResponse(w http.ResponseWriter) error

type ListServerFilesParams added in v1.12.0

type ListServerFilesParams struct {
	// Path A path relative to the server's root; empty for the root.
	Path *FilePath `form:"path,omitempty" json:"path,omitempty"`
}

ListServerFilesParams defines parameters for ListServerFiles.

type ListServerFilesRequestObject added in v1.12.0

type ListServerFilesRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Params   ListServerFilesParams
}

type ListServerFilesResponseObject added in v1.12.0

type ListServerFilesResponseObject interface {
	VisitListServerFilesResponse(w http.ResponseWriter) error
}

type ListServerPlugins200JSONResponse added in v1.14.0

type ListServerPlugins200JSONResponse ServerPluginList

func (ListServerPlugins200JSONResponse) VisitListServerPluginsResponse added in v1.14.0

func (response ListServerPlugins200JSONResponse) VisitListServerPluginsResponse(w http.ResponseWriter) error

type ListServerPlugins401ApplicationProblemPlusJSONResponse added in v1.14.0

type ListServerPlugins401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListServerPlugins401ApplicationProblemPlusJSONResponse) VisitListServerPluginsResponse added in v1.14.0

func (response ListServerPlugins401ApplicationProblemPlusJSONResponse) VisitListServerPluginsResponse(w http.ResponseWriter) error

type ListServerPlugins403ApplicationProblemPlusJSONResponse added in v1.14.0

type ListServerPlugins403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListServerPlugins403ApplicationProblemPlusJSONResponse) VisitListServerPluginsResponse added in v1.14.0

func (response ListServerPlugins403ApplicationProblemPlusJSONResponse) VisitListServerPluginsResponse(w http.ResponseWriter) error

type ListServerPlugins404ApplicationProblemPlusJSONResponse added in v1.14.0

type ListServerPlugins404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListServerPlugins404ApplicationProblemPlusJSONResponse) VisitListServerPluginsResponse added in v1.14.0

func (response ListServerPlugins404ApplicationProblemPlusJSONResponse) VisitListServerPluginsResponse(w http.ResponseWriter) error

type ListServerPluginsParams added in v1.14.0

type ListServerPluginsParams struct {
	Unmanaged *bool `form:"unmanaged,omitempty" json:"unmanaged,omitempty"`
}

ListServerPluginsParams defines parameters for ListServerPlugins.

type ListServerPluginsRequestObject added in v1.14.0

type ListServerPluginsRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Params   ListServerPluginsParams
}

type ListServerPluginsResponseObject added in v1.14.0

type ListServerPluginsResponseObject interface {
	VisitListServerPluginsResponse(w http.ResponseWriter) error
}

type ListServerSchedules200JSONResponse added in v1.18.0

type ListServerSchedules200JSONResponse ScheduleList

func (ListServerSchedules200JSONResponse) VisitListServerSchedulesResponse added in v1.18.0

func (response ListServerSchedules200JSONResponse) VisitListServerSchedulesResponse(w http.ResponseWriter) error

type ListServerSchedules401ApplicationProblemPlusJSONResponse added in v1.18.0

type ListServerSchedules401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListServerSchedules401ApplicationProblemPlusJSONResponse) VisitListServerSchedulesResponse added in v1.18.0

func (response ListServerSchedules401ApplicationProblemPlusJSONResponse) VisitListServerSchedulesResponse(w http.ResponseWriter) error

type ListServerSchedules404ApplicationProblemPlusJSONResponse added in v1.18.0

type ListServerSchedules404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListServerSchedules404ApplicationProblemPlusJSONResponse) VisitListServerSchedulesResponse added in v1.18.0

func (response ListServerSchedules404ApplicationProblemPlusJSONResponse) VisitListServerSchedulesResponse(w http.ResponseWriter) error

type ListServerSchedulesRequestObject added in v1.18.0

type ListServerSchedulesRequestObject struct {
	ServerId ServerId `json:"serverId"`
}

type ListServerSchedulesResponseObject added in v1.18.0

type ListServerSchedulesResponseObject interface {
	VisitListServerSchedulesResponse(w http.ResponseWriter) error
}

type ListServers200JSONResponse added in v1.5.0

type ListServers200JSONResponse ServerList

func (ListServers200JSONResponse) VisitListServersResponse added in v1.5.0

func (response ListServers200JSONResponse) VisitListServersResponse(w http.ResponseWriter) error

type ListServers400ApplicationProblemPlusJSONResponse added in v1.5.0

type ListServers400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListServers400ApplicationProblemPlusJSONResponse) VisitListServersResponse added in v1.5.0

func (response ListServers400ApplicationProblemPlusJSONResponse) VisitListServersResponse(w http.ResponseWriter) error

type ListServers401ApplicationProblemPlusJSONResponse added in v1.5.0

type ListServers401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListServers401ApplicationProblemPlusJSONResponse) VisitListServersResponse added in v1.5.0

func (response ListServers401ApplicationProblemPlusJSONResponse) VisitListServersResponse(w http.ResponseWriter) error

type ListServersParams added in v1.5.0

type ListServersParams struct {
	// Limit At most this many items (default 50).
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor The `nextCursor` of the previous page.
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListServersParams defines parameters for ListServers.

type ListServersRequestObject added in v1.5.0

type ListServersRequestObject struct {
	Params ListServersParams
}

type ListServersResponseObject added in v1.5.0

type ListServersResponseObject interface {
	VisitListServersResponse(w http.ResponseWriter) error
}

type ListSoftware200JSONResponse added in v1.11.0

type ListSoftware200JSONResponse SoftwareList

func (ListSoftware200JSONResponse) VisitListSoftwareResponse added in v1.11.0

func (response ListSoftware200JSONResponse) VisitListSoftwareResponse(w http.ResponseWriter) error

type ListSoftware401ApplicationProblemPlusJSONResponse added in v1.11.0

type ListSoftware401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListSoftware401ApplicationProblemPlusJSONResponse) VisitListSoftwareResponse added in v1.11.0

func (response ListSoftware401ApplicationProblemPlusJSONResponse) VisitListSoftwareResponse(w http.ResponseWriter) error

type ListSoftwareRequestObject added in v1.11.0

type ListSoftwareRequestObject struct {
}

type ListSoftwareResponseObject added in v1.11.0

type ListSoftwareResponseObject interface {
	VisitListSoftwareResponse(w http.ResponseWriter) error
}

type ListTeamMembers200JSONResponse added in v1.4.0

type ListTeamMembers200JSONResponse UserList

func (ListTeamMembers200JSONResponse) VisitListTeamMembersResponse added in v1.4.0

func (response ListTeamMembers200JSONResponse) VisitListTeamMembersResponse(w http.ResponseWriter) error

type ListTeamMembers401ApplicationProblemPlusJSONResponse added in v1.4.0

type ListTeamMembers401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListTeamMembers401ApplicationProblemPlusJSONResponse) VisitListTeamMembersResponse added in v1.4.0

func (response ListTeamMembers401ApplicationProblemPlusJSONResponse) VisitListTeamMembersResponse(w http.ResponseWriter) error

type ListTeamMembers403ApplicationProblemPlusJSONResponse added in v1.4.0

type ListTeamMembers403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListTeamMembers403ApplicationProblemPlusJSONResponse) VisitListTeamMembersResponse added in v1.4.0

func (response ListTeamMembers403ApplicationProblemPlusJSONResponse) VisitListTeamMembersResponse(w http.ResponseWriter) error

type ListTeamMembers404ApplicationProblemPlusJSONResponse added in v1.4.0

type ListTeamMembers404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListTeamMembers404ApplicationProblemPlusJSONResponse) VisitListTeamMembersResponse added in v1.4.0

func (response ListTeamMembers404ApplicationProblemPlusJSONResponse) VisitListTeamMembersResponse(w http.ResponseWriter) error

type ListTeamMembersRequestObject added in v1.4.0

type ListTeamMembersRequestObject struct {
	TeamId TeamId `json:"teamId"`
}

type ListTeamMembersResponseObject added in v1.4.0

type ListTeamMembersResponseObject interface {
	VisitListTeamMembersResponse(w http.ResponseWriter) error
}

type ListTeams200JSONResponse added in v1.4.0

type ListTeams200JSONResponse TeamList

func (ListTeams200JSONResponse) VisitListTeamsResponse added in v1.4.0

func (response ListTeams200JSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error

type ListTeams400ApplicationProblemPlusJSONResponse added in v1.4.0

type ListTeams400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListTeams400ApplicationProblemPlusJSONResponse) VisitListTeamsResponse added in v1.4.0

func (response ListTeams400ApplicationProblemPlusJSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error

type ListTeams401ApplicationProblemPlusJSONResponse added in v1.4.0

type ListTeams401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListTeams401ApplicationProblemPlusJSONResponse) VisitListTeamsResponse added in v1.4.0

func (response ListTeams401ApplicationProblemPlusJSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error

type ListTeams403ApplicationProblemPlusJSONResponse added in v1.4.0

type ListTeams403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListTeams403ApplicationProblemPlusJSONResponse) VisitListTeamsResponse added in v1.4.0

func (response ListTeams403ApplicationProblemPlusJSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error

type ListTeamsParams added in v1.4.0

type ListTeamsParams struct {
	// Limit At most this many items (default 50).
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor The `nextCursor` of the previous page.
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListTeamsParams defines parameters for ListTeams.

type ListTeamsRequestObject added in v1.4.0

type ListTeamsRequestObject struct {
	Params ListTeamsParams
}

type ListTeamsResponseObject added in v1.4.0

type ListTeamsResponseObject interface {
	VisitListTeamsResponse(w http.ResponseWriter) error
}

type ListUsers200JSONResponse added in v1.4.0

type ListUsers200JSONResponse UserList

func (ListUsers200JSONResponse) VisitListUsersResponse added in v1.4.0

func (response ListUsers200JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsers400ApplicationProblemPlusJSONResponse added in v1.4.0

type ListUsers400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListUsers400ApplicationProblemPlusJSONResponse) VisitListUsersResponse added in v1.4.0

func (response ListUsers400ApplicationProblemPlusJSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsers401ApplicationProblemPlusJSONResponse added in v1.4.0

type ListUsers401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListUsers401ApplicationProblemPlusJSONResponse) VisitListUsersResponse added in v1.4.0

func (response ListUsers401ApplicationProblemPlusJSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsers403ApplicationProblemPlusJSONResponse added in v1.4.0

type ListUsers403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListUsers403ApplicationProblemPlusJSONResponse) VisitListUsersResponse added in v1.4.0

func (response ListUsers403ApplicationProblemPlusJSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsersParams added in v1.4.0

type ListUsersParams struct {
	// Limit At most this many items (default 50).
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor The `nextCursor` of the previous page.
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListUsersParams defines parameters for ListUsers.

type ListUsersRequestObject added in v1.4.0

type ListUsersRequestObject struct {
	Params ListUsersParams
}

type ListUsersResponseObject added in v1.4.0

type ListUsersResponseObject interface {
	VisitListUsersResponse(w http.ResponseWriter) error
}

type Login200JSONResponse

type Login200JSONResponse struct {
	Body    Me
	Headers Login200ResponseHeaders
}

func (Login200JSONResponse) VisitLoginResponse

func (response Login200JSONResponse) VisitLoginResponse(w http.ResponseWriter) error

type Login200ResponseHeaders

type Login200ResponseHeaders struct {
	SetCookie *string
}

type Login400ApplicationProblemPlusJSONResponse

type Login400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (Login400ApplicationProblemPlusJSONResponse) VisitLoginResponse

type Login401ApplicationProblemPlusJSONResponse

type Login401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (Login401ApplicationProblemPlusJSONResponse) VisitLoginResponse

type Login429ApplicationProblemPlusJSONResponse

type Login429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (Login429ApplicationProblemPlusJSONResponse) VisitLoginResponse

type LoginJSONRequestBody

type LoginJSONRequestBody = LoginRequest

LoginJSONRequestBody defines body for Login for application/json ContentType.

type LoginRequest

type LoginRequest struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

LoginRequest defines model for LoginRequest.

type LoginRequestObject

type LoginRequestObject struct {
	Body *LoginJSONRequestBody
}

type LoginResponseObject

type LoginResponseObject interface {
	VisitLoginResponse(w http.ResponseWriter) error
}

type Logout204Response

type Logout204Response struct {
	Headers Logout204ResponseHeaders
}

func (Logout204Response) VisitLogoutResponse

func (response Logout204Response) VisitLogoutResponse(w http.ResponseWriter) error

type Logout204ResponseHeaders

type Logout204ResponseHeaders struct {
	SetCookie *string
}

type Logout401ApplicationProblemPlusJSONResponse

type Logout401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (Logout401ApplicationProblemPlusJSONResponse) VisitLogoutResponse

func (response Logout401ApplicationProblemPlusJSONResponse) VisitLogoutResponse(w http.ResponseWriter) error

type LogoutRequestObject

type LogoutRequestObject struct {
}

type LogoutResponseObject

type LogoutResponseObject interface {
	VisitLogoutResponse(w http.ResponseWriter) error
}

type MakeServerDirectory204Response added in v1.12.0

type MakeServerDirectory204Response struct {
}

func (MakeServerDirectory204Response) VisitMakeServerDirectoryResponse added in v1.12.0

func (response MakeServerDirectory204Response) VisitMakeServerDirectoryResponse(w http.ResponseWriter) error

type MakeServerDirectory400ApplicationProblemPlusJSONResponse added in v1.12.0

type MakeServerDirectory400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (MakeServerDirectory400ApplicationProblemPlusJSONResponse) VisitMakeServerDirectoryResponse added in v1.12.0

func (response MakeServerDirectory400ApplicationProblemPlusJSONResponse) VisitMakeServerDirectoryResponse(w http.ResponseWriter) error

type MakeServerDirectory401ApplicationProblemPlusJSONResponse added in v1.12.0

type MakeServerDirectory401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (MakeServerDirectory401ApplicationProblemPlusJSONResponse) VisitMakeServerDirectoryResponse added in v1.12.0

func (response MakeServerDirectory401ApplicationProblemPlusJSONResponse) VisitMakeServerDirectoryResponse(w http.ResponseWriter) error

type MakeServerDirectory403ApplicationProblemPlusJSONResponse added in v1.12.0

type MakeServerDirectory403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (MakeServerDirectory403ApplicationProblemPlusJSONResponse) VisitMakeServerDirectoryResponse added in v1.12.0

func (response MakeServerDirectory403ApplicationProblemPlusJSONResponse) VisitMakeServerDirectoryResponse(w http.ResponseWriter) error

type MakeServerDirectory404ApplicationProblemPlusJSONResponse added in v1.12.0

type MakeServerDirectory404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (MakeServerDirectory404ApplicationProblemPlusJSONResponse) VisitMakeServerDirectoryResponse added in v1.12.0

func (response MakeServerDirectory404ApplicationProblemPlusJSONResponse) VisitMakeServerDirectoryResponse(w http.ResponseWriter) error

type MakeServerDirectory409ApplicationProblemPlusJSONResponse added in v1.12.0

type MakeServerDirectory409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (MakeServerDirectory409ApplicationProblemPlusJSONResponse) VisitMakeServerDirectoryResponse added in v1.12.0

func (response MakeServerDirectory409ApplicationProblemPlusJSONResponse) VisitMakeServerDirectoryResponse(w http.ResponseWriter) error

type MakeServerDirectory503ApplicationProblemPlusJSONResponse added in v1.12.0

type MakeServerDirectory503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (MakeServerDirectory503ApplicationProblemPlusJSONResponse) VisitMakeServerDirectoryResponse added in v1.12.0

func (response MakeServerDirectory503ApplicationProblemPlusJSONResponse) VisitMakeServerDirectoryResponse(w http.ResponseWriter) error

type MakeServerDirectoryJSONRequestBody added in v1.12.0

type MakeServerDirectoryJSONRequestBody = FilePathRequest

MakeServerDirectoryJSONRequestBody defines body for MakeServerDirectory for application/json ContentType.

type MakeServerDirectoryRequestObject added in v1.12.0

type MakeServerDirectoryRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Body     *MakeServerDirectoryJSONRequestBody
}

type MakeServerDirectoryResponseObject added in v1.12.0

type MakeServerDirectoryResponseObject interface {
	VisitMakeServerDirectoryResponse(w http.ResponseWriter) error
}

type Me

type Me struct {
	CreatedAt   time.Time          `json:"createdAt"`
	DisplayName string             `json:"displayName"`
	Email       string             `json:"email"`
	GlobalAdmin bool               `json:"globalAdmin"`
	Id          openapi_types.UUID `json:"id"`

	// PasswordChangeRequired While true, only `GET /me`, `POST /me/password` and `POST /auth/logout` work.
	PasswordChangeRequired bool   `json:"passwordChangeRequired"`
	Username               string `json:"username"`
}

Me defines model for Me.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type MigrateRequest added in v1.18.0

type MigrateRequest struct {
	NodeId openapi_types.UUID `json:"nodeId"`
}

MigrateRequest defines model for MigrateRequest.

type MigrateServer202JSONResponse added in v1.18.0

type MigrateServer202JSONResponse Workflow

func (MigrateServer202JSONResponse) VisitMigrateServerResponse added in v1.18.0

func (response MigrateServer202JSONResponse) VisitMigrateServerResponse(w http.ResponseWriter) error

type MigrateServer400ApplicationProblemPlusJSONResponse added in v1.18.0

type MigrateServer400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (MigrateServer400ApplicationProblemPlusJSONResponse) VisitMigrateServerResponse added in v1.18.0

func (response MigrateServer400ApplicationProblemPlusJSONResponse) VisitMigrateServerResponse(w http.ResponseWriter) error

type MigrateServer401ApplicationProblemPlusJSONResponse added in v1.18.0

type MigrateServer401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (MigrateServer401ApplicationProblemPlusJSONResponse) VisitMigrateServerResponse added in v1.18.0

func (response MigrateServer401ApplicationProblemPlusJSONResponse) VisitMigrateServerResponse(w http.ResponseWriter) error

type MigrateServer403ApplicationProblemPlusJSONResponse added in v1.18.0

type MigrateServer403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (MigrateServer403ApplicationProblemPlusJSONResponse) VisitMigrateServerResponse added in v1.18.0

func (response MigrateServer403ApplicationProblemPlusJSONResponse) VisitMigrateServerResponse(w http.ResponseWriter) error

type MigrateServer404ApplicationProblemPlusJSONResponse added in v1.18.0

type MigrateServer404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (MigrateServer404ApplicationProblemPlusJSONResponse) VisitMigrateServerResponse added in v1.18.0

func (response MigrateServer404ApplicationProblemPlusJSONResponse) VisitMigrateServerResponse(w http.ResponseWriter) error

type MigrateServer409ApplicationProblemPlusJSONResponse added in v1.18.0

type MigrateServer409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (MigrateServer409ApplicationProblemPlusJSONResponse) VisitMigrateServerResponse added in v1.18.0

func (response MigrateServer409ApplicationProblemPlusJSONResponse) VisitMigrateServerResponse(w http.ResponseWriter) error

type MigrateServerJSONRequestBody added in v1.18.0

type MigrateServerJSONRequestBody = MigrateRequest

MigrateServerJSONRequestBody defines body for MigrateServer for application/json ContentType.

type MigrateServerRequestObject added in v1.18.0

type MigrateServerRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Body     *MigrateServerJSONRequestBody
}

type MigrateServerResponseObject added in v1.18.0

type MigrateServerResponseObject interface {
	VisitMigrateServerResponse(w http.ResponseWriter) error
}

type MoveFileRequest added in v1.12.0

type MoveFileRequest struct {
	From string `json:"from"`
	To   string `json:"to"`
}

MoveFileRequest defines model for MoveFileRequest.

type MoveServerFile204Response added in v1.12.0

type MoveServerFile204Response struct {
}

func (MoveServerFile204Response) VisitMoveServerFileResponse added in v1.12.0

func (response MoveServerFile204Response) VisitMoveServerFileResponse(w http.ResponseWriter) error

type MoveServerFile400ApplicationProblemPlusJSONResponse added in v1.12.0

type MoveServerFile400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (MoveServerFile400ApplicationProblemPlusJSONResponse) VisitMoveServerFileResponse added in v1.12.0

func (response MoveServerFile400ApplicationProblemPlusJSONResponse) VisitMoveServerFileResponse(w http.ResponseWriter) error

type MoveServerFile401ApplicationProblemPlusJSONResponse added in v1.12.0

type MoveServerFile401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (MoveServerFile401ApplicationProblemPlusJSONResponse) VisitMoveServerFileResponse added in v1.12.0

func (response MoveServerFile401ApplicationProblemPlusJSONResponse) VisitMoveServerFileResponse(w http.ResponseWriter) error

type MoveServerFile403ApplicationProblemPlusJSONResponse added in v1.12.0

type MoveServerFile403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (MoveServerFile403ApplicationProblemPlusJSONResponse) VisitMoveServerFileResponse added in v1.12.0

func (response MoveServerFile403ApplicationProblemPlusJSONResponse) VisitMoveServerFileResponse(w http.ResponseWriter) error

type MoveServerFile404ApplicationProblemPlusJSONResponse added in v1.12.0

type MoveServerFile404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (MoveServerFile404ApplicationProblemPlusJSONResponse) VisitMoveServerFileResponse added in v1.12.0

func (response MoveServerFile404ApplicationProblemPlusJSONResponse) VisitMoveServerFileResponse(w http.ResponseWriter) error

type MoveServerFile409ApplicationProblemPlusJSONResponse added in v1.12.0

type MoveServerFile409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (MoveServerFile409ApplicationProblemPlusJSONResponse) VisitMoveServerFileResponse added in v1.12.0

func (response MoveServerFile409ApplicationProblemPlusJSONResponse) VisitMoveServerFileResponse(w http.ResponseWriter) error

type MoveServerFile503ApplicationProblemPlusJSONResponse added in v1.12.0

type MoveServerFile503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (MoveServerFile503ApplicationProblemPlusJSONResponse) VisitMoveServerFileResponse added in v1.12.0

func (response MoveServerFile503ApplicationProblemPlusJSONResponse) VisitMoveServerFileResponse(w http.ResponseWriter) error

type MoveServerFileJSONRequestBody added in v1.12.0

type MoveServerFileJSONRequestBody = MoveFileRequest

MoveServerFileJSONRequestBody defines body for MoveServerFile for application/json ContentType.

type MoveServerFileRequestObject added in v1.12.0

type MoveServerFileRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Body     *MoveServerFileJSONRequestBody
}

type MoveServerFileResponseObject added in v1.12.0

type MoveServerFileResponseObject interface {
	VisitMoveServerFileResponse(w http.ResponseWriter) error
}

type Network added in v1.19.0

type Network struct {
	Address     string `json:"address"`
	Description string `json:"description"`

	// JoinAddress What players type, with the port when it is not 25565; empty without an address.
	JoinAddress    string               `json:"joinAddress"`
	LobbyServerIds []openapi_types.UUID `json:"lobbyServerIds"`
	Name           string               `json:"name"`
	Port           int                  `json:"port"`

	// ProxyServerId The network's proxy; absent until it is created.
	ProxyServerId *openapi_types.UUID `json:"proxyServerId,omitempty"`
	UpdatedAt     time.Time           `json:"updatedAt"`
}

Network defines model for Network.

type NetworkSettings added in v1.19.0

type NetworkSettings struct {
	// Address The host name or IP address players connect to, without a port.
	Address     *string `json:"address,omitempty"`
	Description *string `json:"description,omitempty"`
	Name        string  `json:"name"`
	Port        *int    `json:"port,omitempty"`
}

NetworkSettings defines model for NetworkSettings.

type Node added in v1.5.0

type Node struct {
	// AcceptsPlacements True only when ENABLED and HEALTHY.
	AcceptsPlacements bool `json:"acceptsPlacements"`

	// Address Where other Nodes reach this Node's published ports (the proxy reaching members), as an administrator set
	// it; empty to use `status.observedAddress`.
	Address *string `json:"address,omitempty"`

	// AdminState Set by administrators (desired state).
	AdminState NodeAdminState     `json:"adminState"`
	Conditions []Condition        `json:"conditions"`
	CreatedAt  time.Time          `json:"createdAt"`
	Free       NodeResources      `json:"free"`
	Id         openapi_types.UUID `json:"id"`
	Name       string             `json:"name"`

	// ReachAddress The address in use, `address` or else `status.observedAddress`; empty while unknown.
	ReachAddress *string       `json:"reachAddress,omitempty"`
	Reserved     NodeResources `json:"reserved"`

	// Status What the Controller observes about the Node.
	Status NodeStatus `json:"status"`
}

Node defines model for Node.

type NodeAdminState added in v1.5.0

type NodeAdminState string

NodeAdminState Set by administrators (desired state).

const (
	DISABLED NodeAdminState = "DISABLED"
	ENABLED  NodeAdminState = "ENABLED"
	REVOKED  NodeAdminState = "REVOKED"
)

Defines values for NodeAdminState.

func (NodeAdminState) Valid added in v1.5.0

func (e NodeAdminState) Valid() bool

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

type NodeId added in v1.5.0

type NodeId = openapi_types.UUID

NodeId defines model for NodeId.

type NodeList added in v1.5.0

type NodeList struct {
	Items      []Node  `json:"items"`
	NextCursor *string `json:"nextCursor,omitempty"`
}

NodeList defines model for NodeList.

type NodeResources added in v1.9.0

type NodeResources struct {
	// CpuMillis CPU in thousandths of a core.
	CpuMillis   int64 `json:"cpuMillis"`
	MemoryBytes int64 `json:"memoryBytes"`
}

NodeResources defines model for NodeResources.

type NodeStatus added in v1.5.0

type NodeStatus struct {
	AgentVersion    string                    `json:"agentVersion"`
	Allocatable     ResourceAmounts           `json:"allocatable"`
	Arch            string                    `json:"arch"`
	ConnectionState NodeStatusConnectionState `json:"connectionState"`
	Hostname        string                    `json:"hostname"`
	LastHeartbeatAt *time.Time                `json:"lastHeartbeatAt,omitempty"`

	// ObservedAddress The IP address the Node's Agent last connected from.
	ObservedAddress *string         `json:"observedAddress,omitempty"`
	Os              string          `json:"os"`
	RuntimeName     string          `json:"runtimeName"`
	RuntimeVersion  string          `json:"runtimeVersion"`
	Usage           ResourceAmounts `json:"usage"`
}

NodeStatus What the Controller observes about the Node.

type NodeStatusConnectionState added in v1.5.0

type NodeStatusConnectionState string

NodeStatusConnectionState defines model for NodeStatus.ConnectionState.

const (
	AWAITINGENROLLMENT NodeStatusConnectionState = "AWAITING_ENROLLMENT"
	DEGRADED           NodeStatusConnectionState = "DEGRADED"
	HEALTHY            NodeStatusConnectionState = "HEALTHY"
	UNREACHABLE        NodeStatusConnectionState = "UNREACHABLE"
)

Defines values for NodeStatusConnectionState.

func (NodeStatusConnectionState) Valid added in v1.5.0

func (e NodeStatusConnectionState) Valid() bool

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

type NodeUnavailable added in v1.12.0

type NodeUnavailable = Problem

NodeUnavailable An RFC 9457 problem with a machine-readable code.

type NodeUnavailableApplicationProblemPlusJSONResponse added in v1.12.0

type NodeUnavailableApplicationProblemPlusJSONResponse Problem

type NotFound

type NotFound = Problem

NotFound An RFC 9457 problem with a machine-readable code.

type NotFoundApplicationProblemPlusJSONResponse

type NotFoundApplicationProblemPlusJSONResponse Problem
type PasswordResetLink struct {
	ExpiresAt time.Time `json:"expiresAt"`

	// Token The link's secret, `skr_…`. Shown only once.
	Token string `json:"token"`
}

PasswordResetLink defines model for PasswordResetLink.

type Permission

type Permission string

Permission defines model for Permission.

const (
	BackupsCreate  Permission = "backups.create"
	BackupsRead    Permission = "backups.read"
	BackupsRestore Permission = "backups.restore"
	FilesDelete    Permission = "files.delete"
	FilesRead      Permission = "files.read"
	FilesWrite     Permission = "files.write"
	NodesManage    Permission = "nodes.manage"
	NodesRead      Permission = "nodes.read"
	PluginsDelete  Permission = "plugins.delete"
	PluginsInstall Permission = "plugins.install"
	PluginsRead    Permission = "plugins.read"
	PluginsUpdate  Permission = "plugins.update"
	ServersCommand Permission = "servers.command"
	ServersConsole Permission = "servers.console"
	ServersCreate  Permission = "servers.create"
	ServersDelete  Permission = "servers.delete"
	ServersRead    Permission = "servers.read"
	ServersStart   Permission = "servers.start"
	ServersStop    Permission = "servers.stop"
	ServersUpdate  Permission = "servers.update"
)

Defines values for Permission.

func (Permission) Valid

func (e Permission) Valid() bool

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

type PermissionInfo added in v1.4.0

type PermissionInfo struct {
	Description string     `json:"description"`
	Name        Permission `json:"name"`
}

PermissionInfo defines model for PermissionInfo.

type PermissionList added in v1.4.0

type PermissionList struct {
	Items []PermissionInfo `json:"items"`
}

PermissionList defines model for PermissionList.

type PermissionSummary added in v1.17.0

type PermissionSummary struct {
	Global []Permission `json:"global"`

	// GlobalAdmin Acts as a global administrator, which allows everything.
	GlobalAdmin bool                `json:"globalAdmin"`
	Servers     []ServerPermissions `json:"servers"`
	Teams       []TeamPermissions   `json:"teams"`
}

PermissionSummary Effective permissions by scope. A permission is allowed on a server when it is in `global`, under the server's team, or under the server itself; creating a server needs it in `global` or under the team. A team or server lists only what `global` does not already hold. Node permissions take effect only in `global`.

type PluginChangeResult added in v1.14.0

type PluginChangeResult struct {
	// Changed The plugins installed or updated, the requested one first.
	Changed []ServerPlugin `json:"changed"`

	// MissingDependencies Required dependencies that are not in the catalog (only with `force`).
	MissingDependencies []string `json:"missingDependencies"`
}

PluginChangeResult defines model for PluginChangeResult.

type Port added in v1.5.0

type Port struct {
	HostPort int `json:"hostPort"`

	// Name Example: game
	Name     string       `json:"name"`
	Protocol PortProtocol `json:"protocol"`
}

Port defines model for Port.

type PortProtocol added in v1.5.0

type PortProtocol string

PortProtocol defines model for Port.Protocol.

const (
	TCP PortProtocol = "TCP"
	UDP PortProtocol = "UDP"
)

Defines values for PortProtocol.

func (PortProtocol) Valid added in v1.5.0

func (e PortProtocol) Valid() bool

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

type Problem

type Problem struct {
	// Code Stable machine-readable error code.
	//
	// Example: conflict
	Code   string  `json:"code"`
	Detail *string `json:"detail,omitempty"`

	// Status Example: 409
	Status int `json:"status"`

	// Title Example: Conflict
	Title string `json:"title"`

	// Type Example: about:blank
	Type string `json:"type"`
}

Problem An RFC 9457 problem with a machine-readable code.

type PublicNetwork added in v1.19.0

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

PublicNetwork defines model for PublicNetwork.

type RedeemPasswordReset204Response

type RedeemPasswordReset204Response struct {
}

func (RedeemPasswordReset204Response) VisitRedeemPasswordResetResponse

func (response RedeemPasswordReset204Response) VisitRedeemPasswordResetResponse(w http.ResponseWriter) error

type RedeemPasswordReset400ApplicationProblemPlusJSONResponse

type RedeemPasswordReset400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (RedeemPasswordReset400ApplicationProblemPlusJSONResponse) VisitRedeemPasswordResetResponse

func (response RedeemPasswordReset400ApplicationProblemPlusJSONResponse) VisitRedeemPasswordResetResponse(w http.ResponseWriter) error

type RedeemPasswordResetJSONRequestBody

type RedeemPasswordResetJSONRequestBody = RedeemPasswordResetRequest

RedeemPasswordResetJSONRequestBody defines body for RedeemPasswordReset for application/json ContentType.

type RedeemPasswordResetRequest

type RedeemPasswordResetRequest struct {
	NewPassword string `json:"newPassword"`

	// Token The reset link's secret, `skr_…`.
	Token string `json:"token"`
}

RedeemPasswordResetRequest defines model for RedeemPasswordResetRequest.

type RedeemPasswordResetRequestObject

type RedeemPasswordResetRequestObject struct {
	Body *RedeemPasswordResetJSONRequestBody
}

type RedeemPasswordResetResponseObject

type RedeemPasswordResetResponseObject interface {
	VisitRedeemPasswordResetResponse(w http.ResponseWriter) error
}

type RemoveServerPlugin204Response added in v1.14.0

type RemoveServerPlugin204Response struct {
}

func (RemoveServerPlugin204Response) VisitRemoveServerPluginResponse added in v1.14.0

func (response RemoveServerPlugin204Response) VisitRemoveServerPluginResponse(w http.ResponseWriter) error

type RemoveServerPlugin401ApplicationProblemPlusJSONResponse added in v1.14.0

type RemoveServerPlugin401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RemoveServerPlugin401ApplicationProblemPlusJSONResponse) VisitRemoveServerPluginResponse added in v1.14.0

func (response RemoveServerPlugin401ApplicationProblemPlusJSONResponse) VisitRemoveServerPluginResponse(w http.ResponseWriter) error

type RemoveServerPlugin403ApplicationProblemPlusJSONResponse added in v1.14.0

type RemoveServerPlugin403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (RemoveServerPlugin403ApplicationProblemPlusJSONResponse) VisitRemoveServerPluginResponse added in v1.14.0

func (response RemoveServerPlugin403ApplicationProblemPlusJSONResponse) VisitRemoveServerPluginResponse(w http.ResponseWriter) error

type RemoveServerPlugin404ApplicationProblemPlusJSONResponse added in v1.14.0

type RemoveServerPlugin404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (RemoveServerPlugin404ApplicationProblemPlusJSONResponse) VisitRemoveServerPluginResponse added in v1.14.0

func (response RemoveServerPlugin404ApplicationProblemPlusJSONResponse) VisitRemoveServerPluginResponse(w http.ResponseWriter) error

type RemoveServerPlugin409ApplicationProblemPlusJSONResponse added in v1.14.0

type RemoveServerPlugin409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (RemoveServerPlugin409ApplicationProblemPlusJSONResponse) VisitRemoveServerPluginResponse added in v1.14.0

func (response RemoveServerPlugin409ApplicationProblemPlusJSONResponse) VisitRemoveServerPluginResponse(w http.ResponseWriter) error

type RemoveServerPluginRequestObject added in v1.14.0

type RemoveServerPluginRequestObject struct {
	ServerId        ServerId           `json:"serverId"`
	PluginInstallId openapi_types.UUID `json:"pluginInstallId"`
}

type RemoveServerPluginResponseObject added in v1.14.0

type RemoveServerPluginResponseObject interface {
	VisitRemoveServerPluginResponse(w http.ResponseWriter) error
}

type RemoveTeamMember204Response added in v1.4.0

type RemoveTeamMember204Response struct {
}

func (RemoveTeamMember204Response) VisitRemoveTeamMemberResponse added in v1.4.0

func (response RemoveTeamMember204Response) VisitRemoveTeamMemberResponse(w http.ResponseWriter) error

type RemoveTeamMember401ApplicationProblemPlusJSONResponse added in v1.4.0

type RemoveTeamMember401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RemoveTeamMember401ApplicationProblemPlusJSONResponse) VisitRemoveTeamMemberResponse added in v1.4.0

func (response RemoveTeamMember401ApplicationProblemPlusJSONResponse) VisitRemoveTeamMemberResponse(w http.ResponseWriter) error

type RemoveTeamMember403ApplicationProblemPlusJSONResponse added in v1.4.0

type RemoveTeamMember403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (RemoveTeamMember403ApplicationProblemPlusJSONResponse) VisitRemoveTeamMemberResponse added in v1.4.0

func (response RemoveTeamMember403ApplicationProblemPlusJSONResponse) VisitRemoveTeamMemberResponse(w http.ResponseWriter) error

type RemoveTeamMember404ApplicationProblemPlusJSONResponse added in v1.4.0

type RemoveTeamMember404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (RemoveTeamMember404ApplicationProblemPlusJSONResponse) VisitRemoveTeamMemberResponse added in v1.4.0

func (response RemoveTeamMember404ApplicationProblemPlusJSONResponse) VisitRemoveTeamMemberResponse(w http.ResponseWriter) error

type RemoveTeamMemberRequestObject added in v1.4.0

type RemoveTeamMemberRequestObject struct {
	TeamId TeamId `json:"teamId"`
	UserId UserId `json:"userId"`
}

type RemoveTeamMemberResponseObject added in v1.4.0

type RemoveTeamMemberResponseObject interface {
	VisitRemoveTeamMemberResponse(w http.ResponseWriter) error
}

type RequiredFilePath added in v1.12.0

type RequiredFilePath = string

RequiredFilePath defines model for RequiredFilePath.

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ResourceAmounts added in v1.5.0

type ResourceAmounts struct {
	// CpuMillis CPU in thousandths of a core.
	CpuMillis   int64 `json:"cpuMillis"`
	DiskBytes   int64 `json:"diskBytes"`
	MemoryBytes int64 `json:"memoryBytes"`
}

ResourceAmounts defines model for ResourceAmounts.

type RestartPolicy added in v1.5.0

type RestartPolicy struct {
	// MaxRestarts Zero disables automatic restarts.
	MaxRestarts   int `json:"maxRestarts"`
	WindowSeconds int `json:"windowSeconds"`
}

RestartPolicy defines model for RestartPolicy.

type RestartServer202JSONResponse added in v1.12.0

type RestartServer202JSONResponse Server

func (RestartServer202JSONResponse) VisitRestartServerResponse added in v1.12.0

func (response RestartServer202JSONResponse) VisitRestartServerResponse(w http.ResponseWriter) error

type RestartServer401ApplicationProblemPlusJSONResponse added in v1.12.0

type RestartServer401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RestartServer401ApplicationProblemPlusJSONResponse) VisitRestartServerResponse added in v1.12.0

func (response RestartServer401ApplicationProblemPlusJSONResponse) VisitRestartServerResponse(w http.ResponseWriter) error

type RestartServer403ApplicationProblemPlusJSONResponse added in v1.12.0

type RestartServer403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (RestartServer403ApplicationProblemPlusJSONResponse) VisitRestartServerResponse added in v1.12.0

func (response RestartServer403ApplicationProblemPlusJSONResponse) VisitRestartServerResponse(w http.ResponseWriter) error

type RestartServer404ApplicationProblemPlusJSONResponse added in v1.12.0

type RestartServer404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (RestartServer404ApplicationProblemPlusJSONResponse) VisitRestartServerResponse added in v1.12.0

func (response RestartServer404ApplicationProblemPlusJSONResponse) VisitRestartServerResponse(w http.ResponseWriter) error

type RestartServer409ApplicationProblemPlusJSONResponse added in v1.12.0

type RestartServer409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (RestartServer409ApplicationProblemPlusJSONResponse) VisitRestartServerResponse added in v1.12.0

func (response RestartServer409ApplicationProblemPlusJSONResponse) VisitRestartServerResponse(w http.ResponseWriter) error

type RestartServerRequestObject added in v1.12.0

type RestartServerRequestObject struct {
	ServerId ServerId `json:"serverId"`
}

type RestartServerResponseObject added in v1.12.0

type RestartServerResponseObject interface {
	VisitRestartServerResponse(w http.ResponseWriter) error
}

type RestoreRequest added in v1.18.0

type RestoreRequest struct {
	BackupId openapi_types.UUID `json:"backupId"`

	// SafetyBackup Back the server up first, to the backup's destination.
	SafetyBackup *bool `json:"safetyBackup,omitempty"`
}

RestoreRequest defines model for RestoreRequest.

type RestoreServer202JSONResponse added in v1.18.0

type RestoreServer202JSONResponse Workflow

func (RestoreServer202JSONResponse) VisitRestoreServerResponse added in v1.18.0

func (response RestoreServer202JSONResponse) VisitRestoreServerResponse(w http.ResponseWriter) error

type RestoreServer400ApplicationProblemPlusJSONResponse added in v1.18.0

type RestoreServer400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (RestoreServer400ApplicationProblemPlusJSONResponse) VisitRestoreServerResponse added in v1.18.0

func (response RestoreServer400ApplicationProblemPlusJSONResponse) VisitRestoreServerResponse(w http.ResponseWriter) error

type RestoreServer401ApplicationProblemPlusJSONResponse added in v1.18.0

type RestoreServer401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RestoreServer401ApplicationProblemPlusJSONResponse) VisitRestoreServerResponse added in v1.18.0

func (response RestoreServer401ApplicationProblemPlusJSONResponse) VisitRestoreServerResponse(w http.ResponseWriter) error

type RestoreServer403ApplicationProblemPlusJSONResponse added in v1.18.0

type RestoreServer403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (RestoreServer403ApplicationProblemPlusJSONResponse) VisitRestoreServerResponse added in v1.18.0

func (response RestoreServer403ApplicationProblemPlusJSONResponse) VisitRestoreServerResponse(w http.ResponseWriter) error

type RestoreServer404ApplicationProblemPlusJSONResponse added in v1.18.0

type RestoreServer404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (RestoreServer404ApplicationProblemPlusJSONResponse) VisitRestoreServerResponse added in v1.18.0

func (response RestoreServer404ApplicationProblemPlusJSONResponse) VisitRestoreServerResponse(w http.ResponseWriter) error

type RestoreServer409ApplicationProblemPlusJSONResponse added in v1.18.0

type RestoreServer409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (RestoreServer409ApplicationProblemPlusJSONResponse) VisitRestoreServerResponse added in v1.18.0

func (response RestoreServer409ApplicationProblemPlusJSONResponse) VisitRestoreServerResponse(w http.ResponseWriter) error

type RestoreServerJSONRequestBody added in v1.18.0

type RestoreServerJSONRequestBody = RestoreRequest

RestoreServerJSONRequestBody defines body for RestoreServer for application/json ContentType.

type RestoreServerRequestObject added in v1.18.0

type RestoreServerRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Body     *RestoreServerJSONRequestBody
}

type RestoreServerResponseObject added in v1.18.0

type RestoreServerResponseObject interface {
	VisitRestoreServerResponse(w http.ResponseWriter) error
}

type RevokeMyToken204Response

type RevokeMyToken204Response struct {
}

func (RevokeMyToken204Response) VisitRevokeMyTokenResponse

func (response RevokeMyToken204Response) VisitRevokeMyTokenResponse(w http.ResponseWriter) error

type RevokeMyToken401ApplicationProblemPlusJSONResponse

type RevokeMyToken401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RevokeMyToken401ApplicationProblemPlusJSONResponse) VisitRevokeMyTokenResponse

func (response RevokeMyToken401ApplicationProblemPlusJSONResponse) VisitRevokeMyTokenResponse(w http.ResponseWriter) error

type RevokeMyToken404ApplicationProblemPlusJSONResponse

type RevokeMyToken404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (RevokeMyToken404ApplicationProblemPlusJSONResponse) VisitRevokeMyTokenResponse

func (response RevokeMyToken404ApplicationProblemPlusJSONResponse) VisitRevokeMyTokenResponse(w http.ResponseWriter) error

type RevokeMyTokenRequestObject

type RevokeMyTokenRequestObject struct {
	TokenId TokenId `json:"tokenId"`
}

type RevokeMyTokenResponseObject

type RevokeMyTokenResponseObject interface {
	VisitRevokeMyTokenResponse(w http.ResponseWriter) error
}

type RevokeNode200JSONResponse added in v1.5.0

type RevokeNode200JSONResponse Node

func (RevokeNode200JSONResponse) VisitRevokeNodeResponse added in v1.5.0

func (response RevokeNode200JSONResponse) VisitRevokeNodeResponse(w http.ResponseWriter) error

type RevokeNode401ApplicationProblemPlusJSONResponse added in v1.5.0

type RevokeNode401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RevokeNode401ApplicationProblemPlusJSONResponse) VisitRevokeNodeResponse added in v1.5.0

func (response RevokeNode401ApplicationProblemPlusJSONResponse) VisitRevokeNodeResponse(w http.ResponseWriter) error

type RevokeNode403ApplicationProblemPlusJSONResponse added in v1.5.0

type RevokeNode403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (RevokeNode403ApplicationProblemPlusJSONResponse) VisitRevokeNodeResponse added in v1.5.0

func (response RevokeNode403ApplicationProblemPlusJSONResponse) VisitRevokeNodeResponse(w http.ResponseWriter) error

type RevokeNode404ApplicationProblemPlusJSONResponse added in v1.5.0

type RevokeNode404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (RevokeNode404ApplicationProblemPlusJSONResponse) VisitRevokeNodeResponse added in v1.5.0

func (response RevokeNode404ApplicationProblemPlusJSONResponse) VisitRevokeNodeResponse(w http.ResponseWriter) error

type RevokeNode409ApplicationProblemPlusJSONResponse added in v1.5.0

type RevokeNode409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (RevokeNode409ApplicationProblemPlusJSONResponse) VisitRevokeNodeResponse added in v1.5.0

func (response RevokeNode409ApplicationProblemPlusJSONResponse) VisitRevokeNodeResponse(w http.ResponseWriter) error

type RevokeNodeRequestObject added in v1.5.0

type RevokeNodeRequestObject struct {
	NodeId NodeId `json:"nodeId"`
}

type RevokeNodeResponseObject added in v1.5.0

type RevokeNodeResponseObject interface {
	VisitRevokeNodeResponse(w http.ResponseWriter) error
}

type Role added in v1.4.0

type Role struct {
	// Builtin Built-in roles can be assigned but not changed.
	Builtin     bool               `json:"builtin"`
	CreatedAt   time.Time          `json:"createdAt"`
	Description string             `json:"description"`
	Id          openapi_types.UUID `json:"id"`
	Name        string             `json:"name"`
	Permissions []Permission       `json:"permissions"`
}

Role defines model for Role.

type RoleAssignment added in v1.4.0

type RoleAssignment struct {
	CreatedAt time.Time          `json:"createdAt"`
	Id        openapi_types.UUID `json:"id"`
	RoleId    openapi_types.UUID `json:"roleId"`

	// Scope Where an assignment applies. GLOBAL covers everything; TEAM covers the
	// servers the team owns (set `teamId`); SERVER covers one server (set
	// `serverId`).
	Scope  Scope               `json:"scope"`
	TeamId *openapi_types.UUID `json:"teamId,omitempty"`
	UserId *openapi_types.UUID `json:"userId,omitempty"`
}

RoleAssignment defines model for RoleAssignment.

type RoleAssignmentList added in v1.4.0

type RoleAssignmentList struct {
	Items []RoleAssignment `json:"items"`
}

RoleAssignmentList defines model for RoleAssignmentList.

type RoleId added in v1.4.0

type RoleId = openapi_types.UUID

RoleId defines model for RoleId.

type RoleList added in v1.4.0

type RoleList struct {
	Items []Role `json:"items"`
}

RoleList defines model for RoleList.

type RotateNodeCertificate202Response added in v1.8.0

type RotateNodeCertificate202Response struct {
}

func (RotateNodeCertificate202Response) VisitRotateNodeCertificateResponse added in v1.8.0

func (response RotateNodeCertificate202Response) VisitRotateNodeCertificateResponse(w http.ResponseWriter) error

type RotateNodeCertificate401ApplicationProblemPlusJSONResponse added in v1.8.0

type RotateNodeCertificate401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RotateNodeCertificate401ApplicationProblemPlusJSONResponse) VisitRotateNodeCertificateResponse added in v1.8.0

func (response RotateNodeCertificate401ApplicationProblemPlusJSONResponse) VisitRotateNodeCertificateResponse(w http.ResponseWriter) error

type RotateNodeCertificate403ApplicationProblemPlusJSONResponse added in v1.8.0

type RotateNodeCertificate403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (RotateNodeCertificate403ApplicationProblemPlusJSONResponse) VisitRotateNodeCertificateResponse added in v1.8.0

func (response RotateNodeCertificate403ApplicationProblemPlusJSONResponse) VisitRotateNodeCertificateResponse(w http.ResponseWriter) error

type RotateNodeCertificate404ApplicationProblemPlusJSONResponse added in v1.8.0

type RotateNodeCertificate404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (RotateNodeCertificate404ApplicationProblemPlusJSONResponse) VisitRotateNodeCertificateResponse added in v1.8.0

func (response RotateNodeCertificate404ApplicationProblemPlusJSONResponse) VisitRotateNodeCertificateResponse(w http.ResponseWriter) error

type RotateNodeCertificate409ApplicationProblemPlusJSONResponse added in v1.8.0

type RotateNodeCertificate409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (RotateNodeCertificate409ApplicationProblemPlusJSONResponse) VisitRotateNodeCertificateResponse added in v1.8.0

func (response RotateNodeCertificate409ApplicationProblemPlusJSONResponse) VisitRotateNodeCertificateResponse(w http.ResponseWriter) error

type RotateNodeCertificateRequestObject added in v1.8.0

type RotateNodeCertificateRequestObject struct {
	NodeId NodeId `json:"nodeId"`
}

type RotateNodeCertificateResponseObject added in v1.8.0

type RotateNodeCertificateResponseObject interface {
	VisitRotateNodeCertificateResponse(w http.ResponseWriter) error
}

type S3Request added in v1.18.0

type S3Request struct {
	AccessKeyId string `json:"accessKeyId"`
	Bucket      string `json:"bucket"`

	// CaPem PEM certificates to trust in addition to the system roots, for a self-signed endpoint.
	CaPem *string `json:"caPem,omitempty"`

	// Endpoint Host name and optional port; HTTPS is always used.
	Endpoint string  `json:"endpoint"`
	Prefix   *string `json:"prefix,omitempty"`
	Region   *string `json:"region,omitempty"`

	// SecretAccessKey Required when adding; omit to keep the stored one.
	SecretAccessKey *string `json:"secretAccessKey,omitempty"`
}

S3Request defines model for S3Request.

type S3Settings added in v1.18.0

type S3Settings struct {
	AccessKeyId string `json:"accessKeyId"`
	Bucket      string `json:"bucket"`

	// CustomCa Whether extra CA certificates are trusted for the endpoint.
	CustomCa bool   `json:"customCa"`
	Endpoint string `json:"endpoint"`
	Prefix   string `json:"prefix"`
	Region   string `json:"region"`
}

S3Settings defines model for S3Settings.

type Schedule added in v1.18.0

type Schedule struct {
	Action  ScheduleAction `json:"action"`
	Command *string        `json:"command,omitempty"`

	// Cron Five fields: minute hour day-of-month month day-of-week.
	Cron          string              `json:"cron"`
	DestinationId *openapi_types.UUID `json:"destinationId,omitempty"`
	Enabled       bool                `json:"enabled"`
	Id            openapi_types.UUID  `json:"id"`
	KeepDays      *int                `json:"keepDays,omitempty"`
	KeepLast      *int                `json:"keepLast,omitempty"`

	// NextRunAt When it next runs (if enabled).
	NextRunAt *time.Time `json:"nextRunAt,omitempty"`

	// TimeZone An IANA time zone.
	TimeZone string `json:"timeZone"`
}

Schedule defines model for Schedule.

type ScheduleAction added in v1.18.0

type ScheduleAction string

ScheduleAction defines model for Schedule.Action.

const (
	ScheduleActionBACKUP  ScheduleAction = "BACKUP"
	ScheduleActionCOMMAND ScheduleAction = "COMMAND"
	ScheduleActionRESTART ScheduleAction = "RESTART"
)

Defines values for ScheduleAction.

func (ScheduleAction) Valid added in v1.18.0

func (e ScheduleAction) Valid() bool

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

type ScheduleId added in v1.18.0

type ScheduleId = openapi_types.UUID

ScheduleId defines model for ScheduleId.

type ScheduleList added in v1.18.0

type ScheduleList struct {
	Items []Schedule `json:"items"`
}

ScheduleList defines model for ScheduleList.

type ScheduleRequest added in v1.18.0

type ScheduleRequest struct {
	Action        ScheduleRequestAction `json:"action"`
	Command       *string               `json:"command,omitempty"`
	Cron          string                `json:"cron"`
	DestinationId *openapi_types.UUID   `json:"destinationId,omitempty"`
	Enabled       *bool                 `json:"enabled,omitempty"`
	KeepDays      *int                  `json:"keepDays,omitempty"`
	KeepLast      *int                  `json:"keepLast,omitempty"`
	TimeZone      *string               `json:"timeZone,omitempty"`
}

ScheduleRequest defines model for ScheduleRequest.

type ScheduleRequestAction added in v1.18.0

type ScheduleRequestAction string

ScheduleRequestAction defines model for ScheduleRequest.Action.

const (
	ScheduleRequestActionBACKUP  ScheduleRequestAction = "BACKUP"
	ScheduleRequestActionCOMMAND ScheduleRequestAction = "COMMAND"
	ScheduleRequestActionRESTART ScheduleRequestAction = "RESTART"
)

Defines values for ScheduleRequestAction.

func (ScheduleRequestAction) Valid added in v1.18.0

func (e ScheduleRequestAction) Valid() bool

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

type Scope added in v1.4.0

type Scope struct {
	Kind     ScopeKind           `json:"kind"`
	ServerId *openapi_types.UUID `json:"serverId,omitempty"`
	TeamId   *openapi_types.UUID `json:"teamId,omitempty"`
}

Scope Where an assignment applies. GLOBAL covers everything; TEAM covers the servers the team owns (set `teamId`); SERVER covers one server (set `serverId`).

type ScopeKind added in v1.4.0

type ScopeKind string

ScopeKind defines model for Scope.Kind.

const (
	GLOBAL ScopeKind = "GLOBAL"
	SERVER ScopeKind = "SERVER"
	TEAM   ScopeKind = "TEAM"
)

Defines values for ScopeKind.

func (ScopeKind) Valid added in v1.4.0

func (e ScopeKind) Valid() bool

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

type SendServerCommand204Response added in v1.12.0

type SendServerCommand204Response struct {
}

func (SendServerCommand204Response) VisitSendServerCommandResponse added in v1.12.0

func (response SendServerCommand204Response) VisitSendServerCommandResponse(w http.ResponseWriter) error

type SendServerCommand400ApplicationProblemPlusJSONResponse added in v1.12.0

type SendServerCommand400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (SendServerCommand400ApplicationProblemPlusJSONResponse) VisitSendServerCommandResponse added in v1.12.0

func (response SendServerCommand400ApplicationProblemPlusJSONResponse) VisitSendServerCommandResponse(w http.ResponseWriter) error

type SendServerCommand401ApplicationProblemPlusJSONResponse added in v1.12.0

type SendServerCommand401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (SendServerCommand401ApplicationProblemPlusJSONResponse) VisitSendServerCommandResponse added in v1.12.0

func (response SendServerCommand401ApplicationProblemPlusJSONResponse) VisitSendServerCommandResponse(w http.ResponseWriter) error

type SendServerCommand403ApplicationProblemPlusJSONResponse added in v1.12.0

type SendServerCommand403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (SendServerCommand403ApplicationProblemPlusJSONResponse) VisitSendServerCommandResponse added in v1.12.0

func (response SendServerCommand403ApplicationProblemPlusJSONResponse) VisitSendServerCommandResponse(w http.ResponseWriter) error

type SendServerCommand404ApplicationProblemPlusJSONResponse added in v1.12.0

type SendServerCommand404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (SendServerCommand404ApplicationProblemPlusJSONResponse) VisitSendServerCommandResponse added in v1.12.0

func (response SendServerCommand404ApplicationProblemPlusJSONResponse) VisitSendServerCommandResponse(w http.ResponseWriter) error

type SendServerCommand409ApplicationProblemPlusJSONResponse added in v1.12.0

type SendServerCommand409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (SendServerCommand409ApplicationProblemPlusJSONResponse) VisitSendServerCommandResponse added in v1.12.0

func (response SendServerCommand409ApplicationProblemPlusJSONResponse) VisitSendServerCommandResponse(w http.ResponseWriter) error

type SendServerCommand503ApplicationProblemPlusJSONResponse added in v1.12.0

type SendServerCommand503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (SendServerCommand503ApplicationProblemPlusJSONResponse) VisitSendServerCommandResponse added in v1.12.0

func (response SendServerCommand503ApplicationProblemPlusJSONResponse) VisitSendServerCommandResponse(w http.ResponseWriter) error

type SendServerCommandJSONRequestBody added in v1.12.0

type SendServerCommandJSONRequestBody = ConsoleCommand

SendServerCommandJSONRequestBody defines body for SendServerCommand for application/json ContentType.

type SendServerCommandRequestObject added in v1.12.0

type SendServerCommandRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Body     *SendServerCommandJSONRequestBody
}

type SendServerCommandResponseObject added in v1.12.0

type SendServerCommandResponseObject interface {
	VisitSendServerCommandResponse(w http.ResponseWriter) error
}

type ServeMux

type ServeMux interface {
	HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
	http.Handler
}

ServeMux is an abstraction of http.ServeMux.

type Server added in v1.5.0

type Server struct {
	AcknowledgedConditionIds []string `json:"acknowledgedConditionIds"`

	// Convergence How observed state relates to desired state. UNKNOWN while the Node is unreachable.
	Convergence    Convergence        `json:"convergence"`
	CreatedAt      time.Time          `json:"createdAt"`
	DesiredState   ServerDesiredState `json:"desiredState"`
	EulaAcceptedAt *time.Time         `json:"eulaAcceptedAt,omitempty"`

	// Generation Increases with every change to the desired spec.
	Generation int64              `json:"generation"`
	Id         openapi_types.UUID `json:"id"`

	// InNetwork A network member, which players reach through the proxy (Paper, Purpur and Folia only).
	InNetwork bool `json:"inNetwork"`

	// Kind VELOCITY_PROXY is the network's proxy, created with `POST /network/proxy`.
	Kind   ServerKind          `json:"kind"`
	Name   string              `json:"name"`
	NodeId *openapi_types.UUID `json:"nodeId,omitempty"`

	// Phase The workflow the Controller is running.
	Phase ServerPhase `json:"phase"`
	Ports []Port      `json:"ports"`

	// Resources A reservation, held even while the server is idle.
	Resources     ServerResources `json:"resources"`
	RestartPolicy RestartPolicy   `json:"restartPolicy"`

	// Software What the server runs. A Shardkeep template, never a container image.
	Software Software `json:"software"`

	// Status Observed state, written only from Agent reports.
	Status ServerStatus       `json:"status"`
	TeamId openapi_types.UUID `json:"teamId"`
}

Server defines model for Server.

type ServerDesiredState added in v1.5.0

type ServerDesiredState string

ServerDesiredState defines model for Server.DesiredState.

const (
	ServerDesiredStateDELETED ServerDesiredState = "DELETED"
	ServerDesiredStateRUNNING ServerDesiredState = "RUNNING"
	ServerDesiredStateSTOPPED ServerDesiredState = "STOPPED"
)

Defines values for ServerDesiredState.

func (ServerDesiredState) Valid added in v1.5.0

func (e ServerDesiredState) Valid() bool

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

type ServerId added in v1.5.0

type ServerId = openapi_types.UUID

ServerId defines model for ServerId.

type ServerInterface

type ServerInterface interface {
	// ListArtifacts List cached artifacts
	// (GET /artifacts)
	ListArtifacts(w http.ResponseWriter, r *http.Request)
	// UploadArtifact Upload a server jar
	// (POST /artifacts)
	UploadArtifact(w http.ResponseWriter, r *http.Request, params UploadArtifactParams)
	// ListAuditEvents Search the audit log
	// (GET /audit-events)
	ListAuditEvents(w http.ResponseWriter, r *http.Request, params ListAuditEventsParams)
	// Login Sign in with a username and password
	// (POST /auth/login)
	Login(w http.ResponseWriter, r *http.Request)
	// Logout End the current session
	// (POST /auth/logout)
	Logout(w http.ResponseWriter, r *http.Request)
	// RedeemPasswordReset Set a new password with a one-time reset link
	// (POST /auth/password-reset)
	RedeemPasswordReset(w http.ResponseWriter, r *http.Request)
	// ListBackupDestinations List backup destinations
	// (GET /backup-destinations)
	ListBackupDestinations(w http.ResponseWriter, r *http.Request)
	// CreateBackupDestination Add a backup destination
	// (POST /backup-destinations)
	CreateBackupDestination(w http.ResponseWriter, r *http.Request)
	// DeleteBackupDestination Delete a backup destination
	// (DELETE /backup-destinations/{destinationId})
	DeleteBackupDestination(w http.ResponseWriter, r *http.Request, destinationId DestinationId)
	// GetBackupDestination Get a backup destination
	// (GET /backup-destinations/{destinationId})
	GetBackupDestination(w http.ResponseWriter, r *http.Request, destinationId DestinationId)
	// UpdateBackupDestination Change a backup destination
	// (PATCH /backup-destinations/{destinationId})
	UpdateBackupDestination(w http.ResponseWriter, r *http.Request, destinationId DestinationId)
	// DeleteBackup Delete a backup
	// (DELETE /backups/{backupId})
	DeleteBackup(w http.ResponseWriter, r *http.Request, backupId BackupId)
	// GetBackup Get a backup
	// (GET /backups/{backupId})
	GetBackup(w http.ResponseWriter, r *http.Request, backupId BackupId)
	// DownloadBackup Download a backup
	// (GET /backups/{backupId}/download)
	DownloadBackup(w http.ResponseWriter, r *http.Request, backupId BackupId)
	// GetCatalogPlugin Get a catalog plugin with its versions
	// (GET /catalog/plugin)
	GetCatalogPlugin(w http.ResponseWriter, r *http.Request, params GetCatalogPluginParams)
	// ListCatalogPlugins Search the plugin catalog
	// (GET /catalog/plugins)
	ListCatalogPlugins(w http.ResponseWriter, r *http.Request, params ListCatalogPluginsParams)
	// GetCatalogStatus Catalog sync status
	// (GET /catalog/status)
	GetCatalogStatus(w http.ResponseWriter, r *http.Request)
	// GetMe The signed-in user
	// (GET /me)
	GetMe(w http.ResponseWriter, r *http.Request)
	// ChangePassword Change your password
	// (POST /me/password)
	ChangePassword(w http.ResponseWriter, r *http.Request)
	// GetMyPermissions What you may do
	// (GET /me/permissions)
	GetMyPermissions(w http.ResponseWriter, r *http.Request)
	// ListMySessions Your active sessions
	// (GET /me/sessions)
	ListMySessions(w http.ResponseWriter, r *http.Request)
	// DeleteMySession End one of your sessions
	// (DELETE /me/sessions/{sessionId})
	DeleteMySession(w http.ResponseWriter, r *http.Request, sessionId SessionId)
	// ListMyTokens Your API tokens
	// (GET /me/tokens)
	ListMyTokens(w http.ResponseWriter, r *http.Request)
	// CreateMyToken Create an API token
	// (POST /me/tokens)
	CreateMyToken(w http.ResponseWriter, r *http.Request)
	// RevokeMyToken Revoke one of your API tokens
	// (DELETE /me/tokens/{tokenId})
	RevokeMyToken(w http.ResponseWriter, r *http.Request, tokenId TokenId)
	// GetNetwork Get the network
	// (GET /network)
	GetNetwork(w http.ResponseWriter, r *http.Request)
	// UpdateNetwork Change the network
	// (PATCH /network)
	UpdateNetwork(w http.ResponseWriter, r *http.Request)
	// CreateNetwork Set the network up
	// (POST /network)
	CreateNetwork(w http.ResponseWriter, r *http.Request)
	// (DELETE /network/logo)
	DeleteNetworkLogo(w http.ResponseWriter, r *http.Request)
	// (GET /network/logo)
	GetNetworkLogo(w http.ResponseWriter, r *http.Request)
	// (PUT /network/logo)
	SetNetworkLogo(w http.ResponseWriter, r *http.Request)
	// CreateProxy Create the network's Velocity proxy
	// (POST /network/proxy)
	CreateProxy(w http.ResponseWriter, r *http.Request)
	// GetPublicNetwork What the sign-in page shows of the network
	// (GET /network/public)
	GetPublicNetwork(w http.ResponseWriter, r *http.Request)
	// ListNodes List Nodes
	// (GET /nodes)
	ListNodes(w http.ResponseWriter, r *http.Request, params ListNodesParams)
	// CreateNode Add a Node
	// (POST /nodes)
	CreateNode(w http.ResponseWriter, r *http.Request)
	// DeleteNode Remove a Node
	// (DELETE /nodes/{nodeId})
	DeleteNode(w http.ResponseWriter, r *http.Request, nodeId NodeId)
	// GetNode Get a Node
	// (GET /nodes/{nodeId})
	GetNode(w http.ResponseWriter, r *http.Request, nodeId NodeId)
	// UpdateNode Change a Node's settings
	// (PATCH /nodes/{nodeId})
	UpdateNode(w http.ResponseWriter, r *http.Request, nodeId NodeId)
	// DisableNode Disable (cordon) a Node
	// (POST /nodes/{nodeId}/disable)
	DisableNode(w http.ResponseWriter, r *http.Request, nodeId NodeId)
	// EnableNode Enable a Node
	// (POST /nodes/{nodeId}/enable)
	EnableNode(w http.ResponseWriter, r *http.Request, nodeId NodeId)
	// IssueEnrollmentToken Issue an enrollment token
	// (POST /nodes/{nodeId}/enrollment-token)
	IssueEnrollmentToken(w http.ResponseWriter, r *http.Request, nodeId NodeId)
	// RevokeNode Revoke a Node
	// (POST /nodes/{nodeId}/revoke)
	RevokeNode(w http.ResponseWriter, r *http.Request, nodeId NodeId)
	// RotateNodeCertificate Rotate a Node's certificate now
	// (POST /nodes/{nodeId}/rotate-certificate)
	RotateNodeCertificate(w http.ResponseWriter, r *http.Request, nodeId NodeId)
	// ListPermissions The permission catalog
	// (GET /permissions)
	ListPermissions(w http.ResponseWriter, r *http.Request)
	// ListRoleAssignments List role assignments
	// (GET /role-assignments)
	ListRoleAssignments(w http.ResponseWriter, r *http.Request, params ListRoleAssignmentsParams)
	// CreateRoleAssignment Assign a role
	// (POST /role-assignments)
	CreateRoleAssignment(w http.ResponseWriter, r *http.Request)
	// DeleteRoleAssignment Remove a role assignment
	// (DELETE /role-assignments/{assignmentId})
	DeleteRoleAssignment(w http.ResponseWriter, r *http.Request, assignmentId AssignmentId)
	// ListRoles List roles
	// (GET /roles)
	ListRoles(w http.ResponseWriter, r *http.Request)
	// CreateRole Create a custom role
	// (POST /roles)
	CreateRole(w http.ResponseWriter, r *http.Request)
	// DeleteRole Delete a custom role
	// (DELETE /roles/{roleId})
	DeleteRole(w http.ResponseWriter, r *http.Request, roleId RoleId)
	// GetRole Get a role
	// (GET /roles/{roleId})
	GetRole(w http.ResponseWriter, r *http.Request, roleId RoleId)
	// UpdateRole Change a custom role
	// (PATCH /roles/{roleId})
	UpdateRole(w http.ResponseWriter, r *http.Request, roleId RoleId)
	// ListServers List servers you can read
	// (GET /servers)
	ListServers(w http.ResponseWriter, r *http.Request, params ListServersParams)
	// CreateServer Create a server
	// (POST /servers)
	CreateServer(w http.ResponseWriter, r *http.Request)
	// DeleteServer Delete a server
	// (DELETE /servers/{serverId})
	DeleteServer(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// GetServer Get a server
	// (GET /servers/{serverId})
	GetServer(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// UpdateServer Change a server's resources
	// (PATCH /servers/{serverId})
	UpdateServer(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// ListServerBackups List a server's backups
	// (GET /servers/{serverId}/backups)
	ListServerBackups(w http.ResponseWriter, r *http.Request, serverId ServerId, params ListServerBackupsParams)
	// CreateServerBackup Back a server up now
	// (POST /servers/{serverId}/backups)
	CreateServerBackup(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// CloneServer Copy parts of a server into another
	// (POST /servers/{serverId}/clone)
	CloneServer(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// AcknowledgeServerCondition Acknowledge a condition
	// (POST /servers/{serverId}/conditions/{conditionId}/acknowledge)
	AcknowledgeServerCondition(w http.ResponseWriter, r *http.Request, serverId ServerId, conditionId ConditionId)
	// GetServerConsole Follow the live console
	// (GET /servers/{serverId}/console)
	GetServerConsole(w http.ResponseWriter, r *http.Request, serverId ServerId, params GetServerConsoleParams)
	// SendServerCommand Send a console command
	// (POST /servers/{serverId}/console/commands)
	SendServerCommand(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// ListServerEvents A server's history
	// (GET /servers/{serverId}/events)
	ListServerEvents(w http.ResponseWriter, r *http.Request, serverId ServerId, params ListServerEventsParams)
	// DeleteServerFile Delete a file or directory
	// (DELETE /servers/{serverId}/files)
	DeleteServerFile(w http.ResponseWriter, r *http.Request, serverId ServerId, params DeleteServerFileParams)
	// ListServerFiles List a directory
	// (GET /servers/{serverId}/files)
	ListServerFiles(w http.ResponseWriter, r *http.Request, serverId ServerId, params ListServerFilesParams)
	// DownloadServerFile Download a file
	// (GET /servers/{serverId}/files/content)
	DownloadServerFile(w http.ResponseWriter, r *http.Request, serverId ServerId, params DownloadServerFileParams)
	// UploadServerFile Upload or replace a file
	// (PUT /servers/{serverId}/files/content)
	UploadServerFile(w http.ResponseWriter, r *http.Request, serverId ServerId, params UploadServerFileParams)
	// MakeServerDirectory Create a directory
	// (POST /servers/{serverId}/files/directories)
	MakeServerDirectory(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// MoveServerFile Move or rename a file or directory
	// (POST /servers/{serverId}/files/move)
	MoveServerFile(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// MigrateServer Move a server to another Node
	// (POST /servers/{serverId}/migrate)
	MigrateServer(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// ListServerPlugins List a server's plugins
	// (GET /servers/{serverId}/plugins)
	ListServerPlugins(w http.ResponseWriter, r *http.Request, serverId ServerId, params ListServerPluginsParams)
	// InstallServerPlugin Install a catalog plugin
	// (POST /servers/{serverId}/plugins)
	InstallServerPlugin(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// UploadServerPlugin Upload a plugin jar
	// (POST /servers/{serverId}/plugins/upload)
	UploadServerPlugin(w http.ResponseWriter, r *http.Request, serverId ServerId, params UploadServerPluginParams)
	// RemoveServerPlugin Remove a plugin
	// (DELETE /servers/{serverId}/plugins/{pluginInstallId})
	RemoveServerPlugin(w http.ResponseWriter, r *http.Request, serverId ServerId, pluginInstallId openapi_types.UUID)
	// UpdateServerPlugin Update a plugin or change its version
	// (PUT /servers/{serverId}/plugins/{pluginInstallId})
	UpdateServerPlugin(w http.ResponseWriter, r *http.Request, serverId ServerId, pluginInstallId openapi_types.UUID)
	// GetServerProperties Read server.properties
	// (GET /servers/{serverId}/properties)
	GetServerProperties(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// UpdateServerProperties Change server.properties
	// (PATCH /servers/{serverId}/properties)
	UpdateServerProperties(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// RestartServer Restart a server
	// (POST /servers/{serverId}/restart)
	RestartServer(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// RestoreServer Restore a backup in place
	// (POST /servers/{serverId}/restore)
	RestoreServer(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// ListServerSchedules List a server's schedules
	// (GET /servers/{serverId}/schedules)
	ListServerSchedules(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// CreateServerSchedule Add a schedule
	// (POST /servers/{serverId}/schedules)
	CreateServerSchedule(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// DeleteServerSchedule Delete a schedule
	// (DELETE /servers/{serverId}/schedules/{scheduleId})
	DeleteServerSchedule(w http.ResponseWriter, r *http.Request, serverId ServerId, scheduleId ScheduleId)
	// UpdateServerSchedule Change a schedule
	// (PUT /servers/{serverId}/schedules/{scheduleId})
	UpdateServerSchedule(w http.ResponseWriter, r *http.Request, serverId ServerId, scheduleId ScheduleId)
	// ChangeServerSoftware Change a server's Minecraft version or build
	// (PUT /servers/{serverId}/software)
	ChangeServerSoftware(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// StartServer Start a server
	// (POST /servers/{serverId}/start)
	StartServer(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// StopServer Stop a server
	// (POST /servers/{serverId}/stop)
	StopServer(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// GetSetup Whether first-run setup is needed
	// (GET /setup)
	GetSetup(w http.ResponseWriter, r *http.Request)
	// CompleteSetup Set up a new Controller
	// (POST /setup)
	CompleteSetup(w http.ResponseWriter, r *http.Request)
	// ListSoftware List server software and versions
	// (GET /software)
	ListSoftware(w http.ResponseWriter, r *http.Request)
	// GetSystemInfo About this Controller
	// (GET /system)
	GetSystemInfo(w http.ResponseWriter, r *http.Request)
	// ListTeams List teams
	// (GET /teams)
	ListTeams(w http.ResponseWriter, r *http.Request, params ListTeamsParams)
	// CreateTeam Create a team
	// (POST /teams)
	CreateTeam(w http.ResponseWriter, r *http.Request)
	// DeleteTeam Delete a team
	// (DELETE /teams/{teamId})
	DeleteTeam(w http.ResponseWriter, r *http.Request, teamId TeamId)
	// GetTeam Get a team
	// (GET /teams/{teamId})
	GetTeam(w http.ResponseWriter, r *http.Request, teamId TeamId)
	// UpdateTeam Rename a team
	// (PATCH /teams/{teamId})
	UpdateTeam(w http.ResponseWriter, r *http.Request, teamId TeamId)
	// ListTeamMembers List a team's members
	// (GET /teams/{teamId}/members)
	ListTeamMembers(w http.ResponseWriter, r *http.Request, teamId TeamId)
	// RemoveTeamMember Remove a user from a team
	// (DELETE /teams/{teamId}/members/{userId})
	RemoveTeamMember(w http.ResponseWriter, r *http.Request, teamId TeamId, userId UserId)
	// AddTeamMember Add a user to a team
	// (PUT /teams/{teamId}/members/{userId})
	AddTeamMember(w http.ResponseWriter, r *http.Request, teamId TeamId, userId UserId)
	// ListUsers List users
	// (GET /users)
	ListUsers(w http.ResponseWriter, r *http.Request, params ListUsersParams)
	// CreateUser Create a user
	// (POST /users)
	CreateUser(w http.ResponseWriter, r *http.Request)
	// DeleteUser Delete a user
	// (DELETE /users/{userId})
	DeleteUser(w http.ResponseWriter, r *http.Request, userId UserId)
	// GetUser Get a user
	// (GET /users/{userId})
	GetUser(w http.ResponseWriter, r *http.Request, userId UserId)
	// UpdateUser Change a user
	// (PATCH /users/{userId})
	UpdateUser(w http.ResponseWriter, r *http.Request, userId UserId)
	// IssuePasswordReset Issue a one-time password reset link
	// (POST /users/{userId}/password-reset)
	IssuePasswordReset(w http.ResponseWriter, r *http.Request, userId UserId)
	// GetUserPermissions What a user may do
	// (GET /users/{userId}/permissions)
	GetUserPermissions(w http.ResponseWriter, r *http.Request, userId UserId)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) AcknowledgeServerCondition added in v1.5.0

func (siw *ServerInterfaceWrapper) AcknowledgeServerCondition(w http.ResponseWriter, r *http.Request)

AcknowledgeServerCondition operation middleware

func (*ServerInterfaceWrapper) AddTeamMember added in v1.4.0

func (siw *ServerInterfaceWrapper) AddTeamMember(w http.ResponseWriter, r *http.Request)

AddTeamMember operation middleware

func (*ServerInterfaceWrapper) ChangePassword

func (siw *ServerInterfaceWrapper) ChangePassword(w http.ResponseWriter, r *http.Request)

ChangePassword operation middleware

func (*ServerInterfaceWrapper) ChangeServerSoftware added in v1.14.0

func (siw *ServerInterfaceWrapper) ChangeServerSoftware(w http.ResponseWriter, r *http.Request)

ChangeServerSoftware operation middleware

func (*ServerInterfaceWrapper) CloneServer added in v1.18.0

func (siw *ServerInterfaceWrapper) CloneServer(w http.ResponseWriter, r *http.Request)

CloneServer operation middleware

func (*ServerInterfaceWrapper) CompleteSetup added in v1.19.0

func (siw *ServerInterfaceWrapper) CompleteSetup(w http.ResponseWriter, r *http.Request)

CompleteSetup operation middleware

func (*ServerInterfaceWrapper) CreateBackupDestination added in v1.18.0

func (siw *ServerInterfaceWrapper) CreateBackupDestination(w http.ResponseWriter, r *http.Request)

CreateBackupDestination operation middleware

func (*ServerInterfaceWrapper) CreateMyToken

func (siw *ServerInterfaceWrapper) CreateMyToken(w http.ResponseWriter, r *http.Request)

CreateMyToken operation middleware

func (*ServerInterfaceWrapper) CreateNetwork added in v1.19.0

func (siw *ServerInterfaceWrapper) CreateNetwork(w http.ResponseWriter, r *http.Request)

CreateNetwork operation middleware

func (*ServerInterfaceWrapper) CreateNode added in v1.5.0

func (siw *ServerInterfaceWrapper) CreateNode(w http.ResponseWriter, r *http.Request)

CreateNode operation middleware

func (*ServerInterfaceWrapper) CreateProxy added in v1.19.0

func (siw *ServerInterfaceWrapper) CreateProxy(w http.ResponseWriter, r *http.Request)

CreateProxy operation middleware

func (*ServerInterfaceWrapper) CreateRole added in v1.4.0

func (siw *ServerInterfaceWrapper) CreateRole(w http.ResponseWriter, r *http.Request)

CreateRole operation middleware

func (*ServerInterfaceWrapper) CreateRoleAssignment added in v1.4.0

func (siw *ServerInterfaceWrapper) CreateRoleAssignment(w http.ResponseWriter, r *http.Request)

CreateRoleAssignment operation middleware

func (*ServerInterfaceWrapper) CreateServer added in v1.5.0

func (siw *ServerInterfaceWrapper) CreateServer(w http.ResponseWriter, r *http.Request)

CreateServer operation middleware

func (*ServerInterfaceWrapper) CreateServerBackup added in v1.18.0

func (siw *ServerInterfaceWrapper) CreateServerBackup(w http.ResponseWriter, r *http.Request)

CreateServerBackup operation middleware

func (*ServerInterfaceWrapper) CreateServerSchedule added in v1.18.0

func (siw *ServerInterfaceWrapper) CreateServerSchedule(w http.ResponseWriter, r *http.Request)

CreateServerSchedule operation middleware

func (*ServerInterfaceWrapper) CreateTeam added in v1.4.0

func (siw *ServerInterfaceWrapper) CreateTeam(w http.ResponseWriter, r *http.Request)

CreateTeam operation middleware

func (*ServerInterfaceWrapper) CreateUser added in v1.4.0

func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request)

CreateUser operation middleware

func (*ServerInterfaceWrapper) DeleteBackup added in v1.18.0

func (siw *ServerInterfaceWrapper) DeleteBackup(w http.ResponseWriter, r *http.Request)

DeleteBackup operation middleware

func (*ServerInterfaceWrapper) DeleteBackupDestination added in v1.18.0

func (siw *ServerInterfaceWrapper) DeleteBackupDestination(w http.ResponseWriter, r *http.Request)

DeleteBackupDestination operation middleware

func (*ServerInterfaceWrapper) DeleteMySession

func (siw *ServerInterfaceWrapper) DeleteMySession(w http.ResponseWriter, r *http.Request)

DeleteMySession operation middleware

func (siw *ServerInterfaceWrapper) DeleteNetworkLogo(w http.ResponseWriter, r *http.Request)

DeleteNetworkLogo operation middleware

func (*ServerInterfaceWrapper) DeleteNode added in v1.5.0

func (siw *ServerInterfaceWrapper) DeleteNode(w http.ResponseWriter, r *http.Request)

DeleteNode operation middleware

func (*ServerInterfaceWrapper) DeleteRole added in v1.4.0

func (siw *ServerInterfaceWrapper) DeleteRole(w http.ResponseWriter, r *http.Request)

DeleteRole operation middleware

func (*ServerInterfaceWrapper) DeleteRoleAssignment added in v1.4.0

func (siw *ServerInterfaceWrapper) DeleteRoleAssignment(w http.ResponseWriter, r *http.Request)

DeleteRoleAssignment operation middleware

func (*ServerInterfaceWrapper) DeleteServer added in v1.5.0

func (siw *ServerInterfaceWrapper) DeleteServer(w http.ResponseWriter, r *http.Request)

DeleteServer operation middleware

func (*ServerInterfaceWrapper) DeleteServerFile added in v1.12.0

func (siw *ServerInterfaceWrapper) DeleteServerFile(w http.ResponseWriter, r *http.Request)

DeleteServerFile operation middleware

func (*ServerInterfaceWrapper) DeleteServerSchedule added in v1.18.0

func (siw *ServerInterfaceWrapper) DeleteServerSchedule(w http.ResponseWriter, r *http.Request)

DeleteServerSchedule operation middleware

func (*ServerInterfaceWrapper) DeleteTeam added in v1.4.0

func (siw *ServerInterfaceWrapper) DeleteTeam(w http.ResponseWriter, r *http.Request)

DeleteTeam operation middleware

func (*ServerInterfaceWrapper) DeleteUser added in v1.4.0

func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request)

DeleteUser operation middleware

func (*ServerInterfaceWrapper) DisableNode added in v1.5.0

func (siw *ServerInterfaceWrapper) DisableNode(w http.ResponseWriter, r *http.Request)

DisableNode operation middleware

func (*ServerInterfaceWrapper) DownloadBackup added in v1.18.0

func (siw *ServerInterfaceWrapper) DownloadBackup(w http.ResponseWriter, r *http.Request)

DownloadBackup operation middleware

func (*ServerInterfaceWrapper) DownloadServerFile added in v1.12.0

func (siw *ServerInterfaceWrapper) DownloadServerFile(w http.ResponseWriter, r *http.Request)

DownloadServerFile operation middleware

func (*ServerInterfaceWrapper) EnableNode added in v1.5.0

func (siw *ServerInterfaceWrapper) EnableNode(w http.ResponseWriter, r *http.Request)

EnableNode operation middleware

func (*ServerInterfaceWrapper) GetBackup added in v1.18.0

func (siw *ServerInterfaceWrapper) GetBackup(w http.ResponseWriter, r *http.Request)

GetBackup operation middleware

func (*ServerInterfaceWrapper) GetBackupDestination added in v1.18.0

func (siw *ServerInterfaceWrapper) GetBackupDestination(w http.ResponseWriter, r *http.Request)

GetBackupDestination operation middleware

func (*ServerInterfaceWrapper) GetCatalogPlugin added in v1.13.0

func (siw *ServerInterfaceWrapper) GetCatalogPlugin(w http.ResponseWriter, r *http.Request)

GetCatalogPlugin operation middleware

func (*ServerInterfaceWrapper) GetCatalogStatus added in v1.13.0

func (siw *ServerInterfaceWrapper) GetCatalogStatus(w http.ResponseWriter, r *http.Request)

GetCatalogStatus operation middleware

func (*ServerInterfaceWrapper) GetMe

GetMe operation middleware

func (*ServerInterfaceWrapper) GetMyPermissions added in v1.17.0

func (siw *ServerInterfaceWrapper) GetMyPermissions(w http.ResponseWriter, r *http.Request)

GetMyPermissions operation middleware

func (*ServerInterfaceWrapper) GetNetwork added in v1.19.0

func (siw *ServerInterfaceWrapper) GetNetwork(w http.ResponseWriter, r *http.Request)

GetNetwork operation middleware

func (siw *ServerInterfaceWrapper) GetNetworkLogo(w http.ResponseWriter, r *http.Request)

GetNetworkLogo operation middleware

func (*ServerInterfaceWrapper) GetNode added in v1.5.0

GetNode operation middleware

func (*ServerInterfaceWrapper) GetPublicNetwork added in v1.19.0

func (siw *ServerInterfaceWrapper) GetPublicNetwork(w http.ResponseWriter, r *http.Request)

GetPublicNetwork operation middleware

func (*ServerInterfaceWrapper) GetRole added in v1.4.0

GetRole operation middleware

func (*ServerInterfaceWrapper) GetServer added in v1.5.0

func (siw *ServerInterfaceWrapper) GetServer(w http.ResponseWriter, r *http.Request)

GetServer operation middleware

func (*ServerInterfaceWrapper) GetServerConsole added in v1.12.0

func (siw *ServerInterfaceWrapper) GetServerConsole(w http.ResponseWriter, r *http.Request)

GetServerConsole operation middleware

func (*ServerInterfaceWrapper) GetServerProperties added in v1.12.0

func (siw *ServerInterfaceWrapper) GetServerProperties(w http.ResponseWriter, r *http.Request)

GetServerProperties operation middleware

func (*ServerInterfaceWrapper) GetSetup added in v1.19.0

func (siw *ServerInterfaceWrapper) GetSetup(w http.ResponseWriter, r *http.Request)

GetSetup operation middleware

func (*ServerInterfaceWrapper) GetSystemInfo added in v1.15.0

func (siw *ServerInterfaceWrapper) GetSystemInfo(w http.ResponseWriter, r *http.Request)

GetSystemInfo operation middleware

func (*ServerInterfaceWrapper) GetTeam added in v1.4.0

GetTeam operation middleware

func (*ServerInterfaceWrapper) GetUser added in v1.4.0

GetUser operation middleware

func (*ServerInterfaceWrapper) GetUserPermissions added in v1.17.0

func (siw *ServerInterfaceWrapper) GetUserPermissions(w http.ResponseWriter, r *http.Request)

GetUserPermissions operation middleware

func (*ServerInterfaceWrapper) InstallServerPlugin added in v1.14.0

func (siw *ServerInterfaceWrapper) InstallServerPlugin(w http.ResponseWriter, r *http.Request)

InstallServerPlugin operation middleware

func (*ServerInterfaceWrapper) IssueEnrollmentToken added in v1.6.0

func (siw *ServerInterfaceWrapper) IssueEnrollmentToken(w http.ResponseWriter, r *http.Request)

IssueEnrollmentToken operation middleware

func (*ServerInterfaceWrapper) IssuePasswordReset added in v1.4.0

func (siw *ServerInterfaceWrapper) IssuePasswordReset(w http.ResponseWriter, r *http.Request)

IssuePasswordReset operation middleware

func (*ServerInterfaceWrapper) ListArtifacts added in v1.11.0

func (siw *ServerInterfaceWrapper) ListArtifacts(w http.ResponseWriter, r *http.Request)

ListArtifacts operation middleware

func (*ServerInterfaceWrapper) ListAuditEvents added in v1.4.0

func (siw *ServerInterfaceWrapper) ListAuditEvents(w http.ResponseWriter, r *http.Request)

ListAuditEvents operation middleware

func (*ServerInterfaceWrapper) ListBackupDestinations added in v1.18.0

func (siw *ServerInterfaceWrapper) ListBackupDestinations(w http.ResponseWriter, r *http.Request)

ListBackupDestinations operation middleware

func (*ServerInterfaceWrapper) ListCatalogPlugins added in v1.13.0

func (siw *ServerInterfaceWrapper) ListCatalogPlugins(w http.ResponseWriter, r *http.Request)

ListCatalogPlugins operation middleware

func (*ServerInterfaceWrapper) ListMySessions

func (siw *ServerInterfaceWrapper) ListMySessions(w http.ResponseWriter, r *http.Request)

ListMySessions operation middleware

func (*ServerInterfaceWrapper) ListMyTokens

func (siw *ServerInterfaceWrapper) ListMyTokens(w http.ResponseWriter, r *http.Request)

ListMyTokens operation middleware

func (*ServerInterfaceWrapper) ListNodes added in v1.5.0

func (siw *ServerInterfaceWrapper) ListNodes(w http.ResponseWriter, r *http.Request)

ListNodes operation middleware

func (*ServerInterfaceWrapper) ListPermissions added in v1.4.0

func (siw *ServerInterfaceWrapper) ListPermissions(w http.ResponseWriter, r *http.Request)

ListPermissions operation middleware

func (*ServerInterfaceWrapper) ListRoleAssignments added in v1.4.0

func (siw *ServerInterfaceWrapper) ListRoleAssignments(w http.ResponseWriter, r *http.Request)

ListRoleAssignments operation middleware

func (*ServerInterfaceWrapper) ListRoles added in v1.4.0

func (siw *ServerInterfaceWrapper) ListRoles(w http.ResponseWriter, r *http.Request)

ListRoles operation middleware

func (*ServerInterfaceWrapper) ListServerBackups added in v1.18.0

func (siw *ServerInterfaceWrapper) ListServerBackups(w http.ResponseWriter, r *http.Request)

ListServerBackups operation middleware

func (*ServerInterfaceWrapper) ListServerEvents added in v1.5.0

func (siw *ServerInterfaceWrapper) ListServerEvents(w http.ResponseWriter, r *http.Request)

ListServerEvents operation middleware

func (*ServerInterfaceWrapper) ListServerFiles added in v1.12.0

func (siw *ServerInterfaceWrapper) ListServerFiles(w http.ResponseWriter, r *http.Request)

ListServerFiles operation middleware

func (*ServerInterfaceWrapper) ListServerPlugins added in v1.14.0

func (siw *ServerInterfaceWrapper) ListServerPlugins(w http.ResponseWriter, r *http.Request)

ListServerPlugins operation middleware

func (*ServerInterfaceWrapper) ListServerSchedules added in v1.18.0

func (siw *ServerInterfaceWrapper) ListServerSchedules(w http.ResponseWriter, r *http.Request)

ListServerSchedules operation middleware

func (*ServerInterfaceWrapper) ListServers added in v1.5.0

func (siw *ServerInterfaceWrapper) ListServers(w http.ResponseWriter, r *http.Request)

ListServers operation middleware

func (*ServerInterfaceWrapper) ListSoftware added in v1.11.0

func (siw *ServerInterfaceWrapper) ListSoftware(w http.ResponseWriter, r *http.Request)

ListSoftware operation middleware

func (*ServerInterfaceWrapper) ListTeamMembers added in v1.4.0

func (siw *ServerInterfaceWrapper) ListTeamMembers(w http.ResponseWriter, r *http.Request)

ListTeamMembers operation middleware

func (*ServerInterfaceWrapper) ListTeams added in v1.4.0

func (siw *ServerInterfaceWrapper) ListTeams(w http.ResponseWriter, r *http.Request)

ListTeams operation middleware

func (*ServerInterfaceWrapper) ListUsers added in v1.4.0

func (siw *ServerInterfaceWrapper) ListUsers(w http.ResponseWriter, r *http.Request)

ListUsers operation middleware

func (*ServerInterfaceWrapper) Login

Login operation middleware

func (*ServerInterfaceWrapper) Logout

Logout operation middleware

func (*ServerInterfaceWrapper) MakeServerDirectory added in v1.12.0

func (siw *ServerInterfaceWrapper) MakeServerDirectory(w http.ResponseWriter, r *http.Request)

MakeServerDirectory operation middleware

func (*ServerInterfaceWrapper) MigrateServer added in v1.18.0

func (siw *ServerInterfaceWrapper) MigrateServer(w http.ResponseWriter, r *http.Request)

MigrateServer operation middleware

func (*ServerInterfaceWrapper) MoveServerFile added in v1.12.0

func (siw *ServerInterfaceWrapper) MoveServerFile(w http.ResponseWriter, r *http.Request)

MoveServerFile operation middleware

func (*ServerInterfaceWrapper) RedeemPasswordReset

func (siw *ServerInterfaceWrapper) RedeemPasswordReset(w http.ResponseWriter, r *http.Request)

RedeemPasswordReset operation middleware

func (*ServerInterfaceWrapper) RemoveServerPlugin added in v1.14.0

func (siw *ServerInterfaceWrapper) RemoveServerPlugin(w http.ResponseWriter, r *http.Request)

RemoveServerPlugin operation middleware

func (*ServerInterfaceWrapper) RemoveTeamMember added in v1.4.0

func (siw *ServerInterfaceWrapper) RemoveTeamMember(w http.ResponseWriter, r *http.Request)

RemoveTeamMember operation middleware

func (*ServerInterfaceWrapper) RestartServer added in v1.12.0

func (siw *ServerInterfaceWrapper) RestartServer(w http.ResponseWriter, r *http.Request)

RestartServer operation middleware

func (*ServerInterfaceWrapper) RestoreServer added in v1.18.0

func (siw *ServerInterfaceWrapper) RestoreServer(w http.ResponseWriter, r *http.Request)

RestoreServer operation middleware

func (*ServerInterfaceWrapper) RevokeMyToken

func (siw *ServerInterfaceWrapper) RevokeMyToken(w http.ResponseWriter, r *http.Request)

RevokeMyToken operation middleware

func (*ServerInterfaceWrapper) RevokeNode added in v1.5.0

func (siw *ServerInterfaceWrapper) RevokeNode(w http.ResponseWriter, r *http.Request)

RevokeNode operation middleware

func (*ServerInterfaceWrapper) RotateNodeCertificate added in v1.8.0

func (siw *ServerInterfaceWrapper) RotateNodeCertificate(w http.ResponseWriter, r *http.Request)

RotateNodeCertificate operation middleware

func (*ServerInterfaceWrapper) SendServerCommand added in v1.12.0

func (siw *ServerInterfaceWrapper) SendServerCommand(w http.ResponseWriter, r *http.Request)

SendServerCommand operation middleware

func (siw *ServerInterfaceWrapper) SetNetworkLogo(w http.ResponseWriter, r *http.Request)

SetNetworkLogo operation middleware

func (*ServerInterfaceWrapper) StartServer added in v1.5.0

func (siw *ServerInterfaceWrapper) StartServer(w http.ResponseWriter, r *http.Request)

StartServer operation middleware

func (*ServerInterfaceWrapper) StopServer added in v1.5.0

func (siw *ServerInterfaceWrapper) StopServer(w http.ResponseWriter, r *http.Request)

StopServer operation middleware

func (*ServerInterfaceWrapper) UpdateBackupDestination added in v1.18.0

func (siw *ServerInterfaceWrapper) UpdateBackupDestination(w http.ResponseWriter, r *http.Request)

UpdateBackupDestination operation middleware

func (*ServerInterfaceWrapper) UpdateNetwork added in v1.19.0

func (siw *ServerInterfaceWrapper) UpdateNetwork(w http.ResponseWriter, r *http.Request)

UpdateNetwork operation middleware

func (*ServerInterfaceWrapper) UpdateNode added in v1.19.0

func (siw *ServerInterfaceWrapper) UpdateNode(w http.ResponseWriter, r *http.Request)

UpdateNode operation middleware

func (*ServerInterfaceWrapper) UpdateRole added in v1.4.0

func (siw *ServerInterfaceWrapper) UpdateRole(w http.ResponseWriter, r *http.Request)

UpdateRole operation middleware

func (*ServerInterfaceWrapper) UpdateServer added in v1.12.0

func (siw *ServerInterfaceWrapper) UpdateServer(w http.ResponseWriter, r *http.Request)

UpdateServer operation middleware

func (*ServerInterfaceWrapper) UpdateServerPlugin added in v1.14.0

func (siw *ServerInterfaceWrapper) UpdateServerPlugin(w http.ResponseWriter, r *http.Request)

UpdateServerPlugin operation middleware

func (*ServerInterfaceWrapper) UpdateServerProperties added in v1.12.0

func (siw *ServerInterfaceWrapper) UpdateServerProperties(w http.ResponseWriter, r *http.Request)

UpdateServerProperties operation middleware

func (*ServerInterfaceWrapper) UpdateServerSchedule added in v1.18.0

func (siw *ServerInterfaceWrapper) UpdateServerSchedule(w http.ResponseWriter, r *http.Request)

UpdateServerSchedule operation middleware

func (*ServerInterfaceWrapper) UpdateTeam added in v1.4.0

func (siw *ServerInterfaceWrapper) UpdateTeam(w http.ResponseWriter, r *http.Request)

UpdateTeam operation middleware

func (*ServerInterfaceWrapper) UpdateUser added in v1.4.0

func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request)

UpdateUser operation middleware

func (*ServerInterfaceWrapper) UploadArtifact added in v1.11.0

func (siw *ServerInterfaceWrapper) UploadArtifact(w http.ResponseWriter, r *http.Request)

UploadArtifact operation middleware

func (*ServerInterfaceWrapper) UploadServerFile added in v1.12.0

func (siw *ServerInterfaceWrapper) UploadServerFile(w http.ResponseWriter, r *http.Request)

UploadServerFile operation middleware

func (*ServerInterfaceWrapper) UploadServerPlugin added in v1.14.0

func (siw *ServerInterfaceWrapper) UploadServerPlugin(w http.ResponseWriter, r *http.Request)

UploadServerPlugin operation middleware

type ServerKind added in v1.5.0

type ServerKind string

ServerKind VELOCITY_PROXY is the network's proxy, created with `POST /network/proxy`.

const (
	ServerKindMINECRAFTSERVER ServerKind = "MINECRAFT_SERVER"
	ServerKindVELOCITYPROXY   ServerKind = "VELOCITY_PROXY"
)

Defines values for ServerKind.

func (ServerKind) Valid added in v1.5.0

func (e ServerKind) Valid() bool

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

type ServerList added in v1.5.0

type ServerList struct {
	Items      []ServerSummary `json:"items"`
	NextCursor *string         `json:"nextCursor,omitempty"`
}

ServerList defines model for ServerList.

type ServerPermissions added in v1.17.0

type ServerPermissions struct {
	Permissions []Permission       `json:"permissions"`
	ServerId    openapi_types.UUID `json:"serverId"`
}

ServerPermissions defines model for ServerPermissions.

type ServerPhase added in v1.5.0

type ServerPhase string

ServerPhase The workflow the Controller is running.

const (
	ServerPhaseDELETING     ServerPhase = "DELETING"
	ServerPhaseFAILED       ServerPhase = "FAILED"
	ServerPhaseMIGRATING    ServerPhase = "MIGRATING"
	ServerPhasePROVISIONING ServerPhase = "PROVISIONING"
	ServerPhaseREADY        ServerPhase = "READY"
	ServerPhaseRESTORING    ServerPhase = "RESTORING"
	ServerPhaseUPDATING     ServerPhase = "UPDATING"
)

Defines values for ServerPhase.

func (ServerPhase) Valid added in v1.5.0

func (e ServerPhase) Valid() bool

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

type ServerPlugin added in v1.14.0

type ServerPlugin struct {
	CatalogVersionId *string `json:"catalogVersionId,omitempty"`

	// CompatibilityConfirmed False when it was installed with `force`, or is an upload.
	CompatibilityConfirmed bool `json:"compatibilityConfirmed"`

	// Denied Set when the catalog's denylist names this version.
	Denied *struct {
		Link   *string `json:"link,omitempty"`
		Reason string  `json:"reason"`
	} `json:"denied,omitempty"`

	// Dependency True when it was installed because another plugin requires it.
	Dependency bool `json:"dependency"`

	// Id The installation's ID.
	Id          openapi_types.UUID `json:"id"`
	InstalledAt time.Time          `json:"installedAt"`
	Name        string             `json:"name"`

	// PluginId The catalog plugin ID, or `upload:<name>` for an uploaded jar.
	//
	// Example: modrinth:Vebnzrzj
	PluginId string `json:"pluginId"`

	// RequiredBy Plugin IDs of installed plugins that require this one.
	RequiredBy []string           `json:"requiredBy"`
	Source     ServerPluginSource `json:"source"`

	// UpdateAvailable The newest catalog version compatible with the server, when it is newer than this one.
	UpdateAvailable *struct {
		Version   string `json:"version"`
		VersionId string `json:"versionId"`
	} `json:"updateAvailable,omitempty"`
	UpdatedAt time.Time `json:"updatedAt"`

	// Verified False for uploads.
	Verified bool   `json:"verified"`
	Version  string `json:"version"`
}

ServerPlugin defines model for ServerPlugin.

type ServerPluginList added in v1.14.0

type ServerPluginList struct {
	Items []ServerPlugin `json:"items"`

	// PendingRestart True while the running server has plugin or software changes waiting for its next start.
	PendingRestart bool              `json:"pendingRestart"`
	Unmanaged      *UnmanagedPlugins `json:"unmanaged,omitempty"`
}

ServerPluginList defines model for ServerPluginList.

type ServerPluginSource added in v1.14.0

type ServerPluginSource string

ServerPluginSource defines model for ServerPlugin.Source.

const (
	ServerPluginSourceCATALOG ServerPluginSource = "CATALOG"
	ServerPluginSourceUPLOAD  ServerPluginSource = "UPLOAD"
)

Defines values for ServerPluginSource.

func (ServerPluginSource) Valid added in v1.14.0

func (e ServerPluginSource) Valid() bool

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

type ServerProperties added in v1.12.0

type ServerProperties struct {
	// AppliesAtNextStart Always true; the server reads server.properties when it starts.
	AppliesAtNextStart bool              `json:"appliesAtNextStart"`
	Properties         map[string]string `json:"properties"`
}

ServerProperties defines model for ServerProperties.

type ServerPropertiesUpdate added in v1.12.0

type ServerPropertiesUpdate map[string]*string

ServerPropertiesUpdate defines model for ServerPropertiesUpdate.

type ServerResources added in v1.5.0

type ServerResources struct {
	// CpuMillis CPU in thousandths of a core.
	CpuMillis   int64 `json:"cpuMillis"`
	MemoryBytes int64 `json:"memoryBytes"`
}

ServerResources A reservation, held even while the server is idle.

type ServerStatus added in v1.5.0

type ServerStatus struct {
	AppliedGeneration int64       `json:"appliedGeneration"`
	Conditions        []Condition `json:"conditions"`
	ObservedAt        *time.Time  `json:"observedAt,omitempty"`
	Removed           bool        `json:"removed"`

	// RuntimeState Absent until the Agent first reports.
	RuntimeState *ServerStatusRuntimeState `json:"runtimeState,omitempty"`
	Usage        ResourceAmounts           `json:"usage"`
}

ServerStatus Observed state, written only from Agent reports.

type ServerStatusRuntimeState added in v1.5.0

type ServerStatusRuntimeState string

ServerStatusRuntimeState Absent until the Agent first reports.

const (
	ServerStatusRuntimeStateCRASHED  ServerStatusRuntimeState = "CRASHED"
	ServerStatusRuntimeStateRUNNING  ServerStatusRuntimeState = "RUNNING"
	ServerStatusRuntimeStateSTARTING ServerStatusRuntimeState = "STARTING"
	ServerStatusRuntimeStateSTOPPED  ServerStatusRuntimeState = "STOPPED"
	ServerStatusRuntimeStateSTOPPING ServerStatusRuntimeState = "STOPPING"
)

Defines values for ServerStatusRuntimeState.

func (ServerStatusRuntimeState) Valid added in v1.5.0

func (e ServerStatusRuntimeState) Valid() bool

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

type ServerSummary added in v1.5.0

type ServerSummary struct {
	// ConditionCount How many conditions the server has.
	ConditionCount int `json:"conditionCount"`

	// Convergence How observed state relates to desired state. UNKNOWN while the Node is unreachable.
	Convergence  Convergence               `json:"convergence"`
	DesiredState ServerSummaryDesiredState `json:"desiredState"`

	// GamePort The host port players join on; absent until one is assigned.
	GamePort   *int                `json:"gamePort,omitempty"`
	Generation int64               `json:"generation"`
	Id         openapi_types.UUID  `json:"id"`
	InNetwork  bool                `json:"inNetwork"`
	Kind       ServerSummaryKind   `json:"kind"`
	Name       string              `json:"name"`
	NodeId     *openapi_types.UUID `json:"nodeId,omitempty"`
	Phase      ServerSummaryPhase  `json:"phase"`

	// Resources A reservation, held even while the server is idle.
	Resources    ServerResources            `json:"resources"`
	RuntimeState *ServerSummaryRuntimeState `json:"runtimeState,omitempty"`

	// Software What the server runs. A Shardkeep template, never a container image.
	Software Software           `json:"software"`
	TeamId   openapi_types.UUID `json:"teamId"`
}

ServerSummary defines model for ServerSummary.

type ServerSummaryDesiredState added in v1.5.0

type ServerSummaryDesiredState string

ServerSummaryDesiredState defines model for ServerSummary.DesiredState.

const (
	ServerSummaryDesiredStateDELETED ServerSummaryDesiredState = "DELETED"
	ServerSummaryDesiredStateRUNNING ServerSummaryDesiredState = "RUNNING"
	ServerSummaryDesiredStateSTOPPED ServerSummaryDesiredState = "STOPPED"
)

Defines values for ServerSummaryDesiredState.

func (ServerSummaryDesiredState) Valid added in v1.5.0

func (e ServerSummaryDesiredState) Valid() bool

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

type ServerSummaryKind added in v1.19.0

type ServerSummaryKind string

ServerSummaryKind defines model for ServerSummary.Kind.

const (
	ServerSummaryKindMINECRAFTSERVER ServerSummaryKind = "MINECRAFT_SERVER"
	ServerSummaryKindVELOCITYPROXY   ServerSummaryKind = "VELOCITY_PROXY"
)

Defines values for ServerSummaryKind.

func (ServerSummaryKind) Valid added in v1.19.0

func (e ServerSummaryKind) Valid() bool

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

type ServerSummaryPhase added in v1.5.0

type ServerSummaryPhase string

ServerSummaryPhase defines model for ServerSummary.Phase.

const (
	ServerSummaryPhaseDELETING     ServerSummaryPhase = "DELETING"
	ServerSummaryPhaseFAILED       ServerSummaryPhase = "FAILED"
	ServerSummaryPhaseMIGRATING    ServerSummaryPhase = "MIGRATING"
	ServerSummaryPhasePROVISIONING ServerSummaryPhase = "PROVISIONING"
	ServerSummaryPhaseREADY        ServerSummaryPhase = "READY"
	ServerSummaryPhaseRESTORING    ServerSummaryPhase = "RESTORING"
	ServerSummaryPhaseUPDATING     ServerSummaryPhase = "UPDATING"
)

Defines values for ServerSummaryPhase.

func (ServerSummaryPhase) Valid added in v1.5.0

func (e ServerSummaryPhase) Valid() bool

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

type ServerSummaryRuntimeState added in v1.5.0

type ServerSummaryRuntimeState string

ServerSummaryRuntimeState defines model for ServerSummary.RuntimeState.

const (
	ServerSummaryRuntimeStateCRASHED  ServerSummaryRuntimeState = "CRASHED"
	ServerSummaryRuntimeStateRUNNING  ServerSummaryRuntimeState = "RUNNING"
	ServerSummaryRuntimeStateSTARTING ServerSummaryRuntimeState = "STARTING"
	ServerSummaryRuntimeStateSTOPPED  ServerSummaryRuntimeState = "STOPPED"
	ServerSummaryRuntimeStateSTOPPING ServerSummaryRuntimeState = "STOPPING"
)

Defines values for ServerSummaryRuntimeState.

func (ServerSummaryRuntimeState) Valid added in v1.5.0

func (e ServerSummaryRuntimeState) Valid() bool

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

type Session

type Session struct {
	CreatedAt time.Time `json:"createdAt"`

	// Current True for the session making this request.
	Current    bool               `json:"current"`
	ExpiresAt  time.Time          `json:"expiresAt"`
	Id         openapi_types.UUID `json:"id"`
	LastSeenAt time.Time          `json:"lastSeenAt"`
}

Session defines model for Session.

type SessionId

type SessionId = openapi_types.UUID

SessionId defines model for SessionId.

type SessionList

type SessionList struct {
	Items []Session `json:"items"`
}

SessionList defines model for SessionList.

type SetNetworkLogo204Response added in v1.19.0

type SetNetworkLogo204Response struct {
}

func (SetNetworkLogo204Response) VisitSetNetworkLogoResponse added in v1.19.0

func (response SetNetworkLogo204Response) VisitSetNetworkLogoResponse(w http.ResponseWriter) error

type SetNetworkLogo400ApplicationProblemPlusJSONResponse added in v1.19.0

type SetNetworkLogo400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (SetNetworkLogo400ApplicationProblemPlusJSONResponse) VisitSetNetworkLogoResponse added in v1.19.0

func (response SetNetworkLogo400ApplicationProblemPlusJSONResponse) VisitSetNetworkLogoResponse(w http.ResponseWriter) error

type SetNetworkLogo401ApplicationProblemPlusJSONResponse added in v1.19.0

type SetNetworkLogo401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (SetNetworkLogo401ApplicationProblemPlusJSONResponse) VisitSetNetworkLogoResponse added in v1.19.0

func (response SetNetworkLogo401ApplicationProblemPlusJSONResponse) VisitSetNetworkLogoResponse(w http.ResponseWriter) error

type SetNetworkLogo403ApplicationProblemPlusJSONResponse added in v1.19.0

type SetNetworkLogo403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (SetNetworkLogo403ApplicationProblemPlusJSONResponse) VisitSetNetworkLogoResponse added in v1.19.0

func (response SetNetworkLogo403ApplicationProblemPlusJSONResponse) VisitSetNetworkLogoResponse(w http.ResponseWriter) error

type SetNetworkLogo404ApplicationProblemPlusJSONResponse added in v1.19.0

type SetNetworkLogo404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (SetNetworkLogo404ApplicationProblemPlusJSONResponse) VisitSetNetworkLogoResponse added in v1.19.0

func (response SetNetworkLogo404ApplicationProblemPlusJSONResponse) VisitSetNetworkLogoResponse(w http.ResponseWriter) error

type SetNetworkLogo413ApplicationProblemPlusJSONResponse added in v1.19.0

type SetNetworkLogo413ApplicationProblemPlusJSONResponse struct {
	TooLargeApplicationProblemPlusJSONResponse
}

func (SetNetworkLogo413ApplicationProblemPlusJSONResponse) VisitSetNetworkLogoResponse added in v1.19.0

func (response SetNetworkLogo413ApplicationProblemPlusJSONResponse) VisitSetNetworkLogoResponse(w http.ResponseWriter) error

type SetNetworkLogoRequestObject added in v1.19.0

type SetNetworkLogoRequestObject struct {
	Body io.Reader
}

type SetNetworkLogoResponseObject added in v1.19.0

type SetNetworkLogoResponseObject interface {
	VisitSetNetworkLogoResponse(w http.ResponseWriter) error
}

type SetupRequest added in v1.19.0

type SetupRequest struct {
	DisplayName *string             `json:"displayName,omitempty"`
	Email       openapi_types.Email `json:"email"`
	Network     NetworkSettings     `json:"network"`
	Password    string              `json:"password"`
	SetupCode   string              `json:"setupCode"`
	Username    string              `json:"username"`
}

SetupRequest defines model for SetupRequest.

type SetupStatus added in v1.19.0

type SetupStatus struct {
	// Needed True while no user exists; the setup code is then in `<data-dir>/setup-code`.
	Needed bool `json:"needed"`
}

SetupStatus defines model for SetupStatus.

type Software added in v1.5.0

type Software struct {
	Build *string `json:"build,omitempty"`

	// Template Example: paper
	Template string `json:"template"`

	// Version Example: 1.21.4
	Version string `json:"version"`
}

Software What the server runs. A Shardkeep template, never a container image.

type SoftwareList added in v1.11.0

type SoftwareList struct {
	Items []SoftwareTemplate `json:"items"`
}

SoftwareList defines model for SoftwareList.

type SoftwareTemplate added in v1.11.0

type SoftwareTemplate struct {
	// FromCache True when no catalog snapshot is available yet, and the versions are those of cached artifacts.
	FromCache bool                     `json:"fromCache"`
	Template  SoftwareTemplateTemplate `json:"template"`

	// Versions Supported versions, newest first.
	Versions []string `json:"versions"`
}

SoftwareTemplate defines model for SoftwareTemplate.

type SoftwareTemplateTemplate added in v1.11.0

type SoftwareTemplateTemplate string

SoftwareTemplateTemplate defines model for SoftwareTemplate.Template.

const (
	SoftwareTemplateTemplateFolia    SoftwareTemplateTemplate = "folia"
	SoftwareTemplateTemplatePaper    SoftwareTemplateTemplate = "paper"
	SoftwareTemplateTemplatePurpur   SoftwareTemplateTemplate = "purpur"
	SoftwareTemplateTemplateVanilla  SoftwareTemplateTemplate = "vanilla"
	SoftwareTemplateTemplateVelocity SoftwareTemplateTemplate = "velocity"
)

Defines values for SoftwareTemplateTemplate.

func (SoftwareTemplateTemplate) Valid added in v1.11.0

func (e SoftwareTemplateTemplate) Valid() bool

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

type StartServer202JSONResponse added in v1.5.0

type StartServer202JSONResponse Server

func (StartServer202JSONResponse) VisitStartServerResponse added in v1.5.0

func (response StartServer202JSONResponse) VisitStartServerResponse(w http.ResponseWriter) error

type StartServer401ApplicationProblemPlusJSONResponse added in v1.5.0

type StartServer401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (StartServer401ApplicationProblemPlusJSONResponse) VisitStartServerResponse added in v1.5.0

func (response StartServer401ApplicationProblemPlusJSONResponse) VisitStartServerResponse(w http.ResponseWriter) error

type StartServer403ApplicationProblemPlusJSONResponse added in v1.5.0

type StartServer403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (StartServer403ApplicationProblemPlusJSONResponse) VisitStartServerResponse added in v1.5.0

func (response StartServer403ApplicationProblemPlusJSONResponse) VisitStartServerResponse(w http.ResponseWriter) error

type StartServer404ApplicationProblemPlusJSONResponse added in v1.5.0

type StartServer404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (StartServer404ApplicationProblemPlusJSONResponse) VisitStartServerResponse added in v1.5.0

func (response StartServer404ApplicationProblemPlusJSONResponse) VisitStartServerResponse(w http.ResponseWriter) error

type StartServer409ApplicationProblemPlusJSONResponse added in v1.5.0

type StartServer409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (StartServer409ApplicationProblemPlusJSONResponse) VisitStartServerResponse added in v1.5.0

func (response StartServer409ApplicationProblemPlusJSONResponse) VisitStartServerResponse(w http.ResponseWriter) error

type StartServerRequestObject added in v1.5.0

type StartServerRequestObject struct {
	ServerId ServerId `json:"serverId"`
}

type StartServerResponseObject added in v1.5.0

type StartServerResponseObject interface {
	VisitStartServerResponse(w http.ResponseWriter) error
}

type StdHTTPServerOptions

type StdHTTPServerOptions struct {
	BaseURL          string
	BaseRouter       ServeMux
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StopServer202JSONResponse added in v1.5.0

type StopServer202JSONResponse Server

func (StopServer202JSONResponse) VisitStopServerResponse added in v1.5.0

func (response StopServer202JSONResponse) VisitStopServerResponse(w http.ResponseWriter) error

type StopServer401ApplicationProblemPlusJSONResponse added in v1.5.0

type StopServer401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (StopServer401ApplicationProblemPlusJSONResponse) VisitStopServerResponse added in v1.5.0

func (response StopServer401ApplicationProblemPlusJSONResponse) VisitStopServerResponse(w http.ResponseWriter) error

type StopServer403ApplicationProblemPlusJSONResponse added in v1.5.0

type StopServer403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (StopServer403ApplicationProblemPlusJSONResponse) VisitStopServerResponse added in v1.5.0

func (response StopServer403ApplicationProblemPlusJSONResponse) VisitStopServerResponse(w http.ResponseWriter) error

type StopServer404ApplicationProblemPlusJSONResponse added in v1.5.0

type StopServer404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (StopServer404ApplicationProblemPlusJSONResponse) VisitStopServerResponse added in v1.5.0

func (response StopServer404ApplicationProblemPlusJSONResponse) VisitStopServerResponse(w http.ResponseWriter) error

type StopServer409ApplicationProblemPlusJSONResponse added in v1.5.0

type StopServer409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (StopServer409ApplicationProblemPlusJSONResponse) VisitStopServerResponse added in v1.5.0

func (response StopServer409ApplicationProblemPlusJSONResponse) VisitStopServerResponse(w http.ResponseWriter) error

type StopServerRequestObject added in v1.5.0

type StopServerRequestObject struct {
	ServerId ServerId `json:"serverId"`
}

type StopServerResponseObject added in v1.5.0

type StopServerResponseObject interface {
	VisitStopServerResponse(w http.ResponseWriter) error
}

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictHandlerFunc

type StrictHandlerFunc func(ctx context.Context, w http.ResponseWriter, r *http.Request, request any) (any, error)

type StrictMiddlewareFunc

type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc

type StrictServerInterface

type StrictServerInterface interface {
	// ListArtifacts List cached artifacts
	// (GET /artifacts)
	ListArtifacts(ctx context.Context, request ListArtifactsRequestObject) (ListArtifactsResponseObject, error)
	// UploadArtifact Upload a server jar
	// (POST /artifacts)
	UploadArtifact(ctx context.Context, request UploadArtifactRequestObject) (UploadArtifactResponseObject, error)
	// ListAuditEvents Search the audit log
	// (GET /audit-events)
	ListAuditEvents(ctx context.Context, request ListAuditEventsRequestObject) (ListAuditEventsResponseObject, error)
	// Login Sign in with a username and password
	// (POST /auth/login)
	Login(ctx context.Context, request LoginRequestObject) (LoginResponseObject, error)
	// Logout End the current session
	// (POST /auth/logout)
	Logout(ctx context.Context, request LogoutRequestObject) (LogoutResponseObject, error)
	// RedeemPasswordReset Set a new password with a one-time reset link
	// (POST /auth/password-reset)
	RedeemPasswordReset(ctx context.Context, request RedeemPasswordResetRequestObject) (RedeemPasswordResetResponseObject, error)
	// ListBackupDestinations List backup destinations
	// (GET /backup-destinations)
	ListBackupDestinations(ctx context.Context, request ListBackupDestinationsRequestObject) (ListBackupDestinationsResponseObject, error)
	// CreateBackupDestination Add a backup destination
	// (POST /backup-destinations)
	CreateBackupDestination(ctx context.Context, request CreateBackupDestinationRequestObject) (CreateBackupDestinationResponseObject, error)
	// DeleteBackupDestination Delete a backup destination
	// (DELETE /backup-destinations/{destinationId})
	DeleteBackupDestination(ctx context.Context, request DeleteBackupDestinationRequestObject) (DeleteBackupDestinationResponseObject, error)
	// GetBackupDestination Get a backup destination
	// (GET /backup-destinations/{destinationId})
	GetBackupDestination(ctx context.Context, request GetBackupDestinationRequestObject) (GetBackupDestinationResponseObject, error)
	// UpdateBackupDestination Change a backup destination
	// (PATCH /backup-destinations/{destinationId})
	UpdateBackupDestination(ctx context.Context, request UpdateBackupDestinationRequestObject) (UpdateBackupDestinationResponseObject, error)
	// DeleteBackup Delete a backup
	// (DELETE /backups/{backupId})
	DeleteBackup(ctx context.Context, request DeleteBackupRequestObject) (DeleteBackupResponseObject, error)
	// GetBackup Get a backup
	// (GET /backups/{backupId})
	GetBackup(ctx context.Context, request GetBackupRequestObject) (GetBackupResponseObject, error)
	// DownloadBackup Download a backup
	// (GET /backups/{backupId}/download)
	DownloadBackup(ctx context.Context, request DownloadBackupRequestObject) (DownloadBackupResponseObject, error)
	// GetCatalogPlugin Get a catalog plugin with its versions
	// (GET /catalog/plugin)
	GetCatalogPlugin(ctx context.Context, request GetCatalogPluginRequestObject) (GetCatalogPluginResponseObject, error)
	// ListCatalogPlugins Search the plugin catalog
	// (GET /catalog/plugins)
	ListCatalogPlugins(ctx context.Context, request ListCatalogPluginsRequestObject) (ListCatalogPluginsResponseObject, error)
	// GetCatalogStatus Catalog sync status
	// (GET /catalog/status)
	GetCatalogStatus(ctx context.Context, request GetCatalogStatusRequestObject) (GetCatalogStatusResponseObject, error)
	// GetMe The signed-in user
	// (GET /me)
	GetMe(ctx context.Context, request GetMeRequestObject) (GetMeResponseObject, error)
	// ChangePassword Change your password
	// (POST /me/password)
	ChangePassword(ctx context.Context, request ChangePasswordRequestObject) (ChangePasswordResponseObject, error)
	// GetMyPermissions What you may do
	// (GET /me/permissions)
	GetMyPermissions(ctx context.Context, request GetMyPermissionsRequestObject) (GetMyPermissionsResponseObject, error)
	// ListMySessions Your active sessions
	// (GET /me/sessions)
	ListMySessions(ctx context.Context, request ListMySessionsRequestObject) (ListMySessionsResponseObject, error)
	// DeleteMySession End one of your sessions
	// (DELETE /me/sessions/{sessionId})
	DeleteMySession(ctx context.Context, request DeleteMySessionRequestObject) (DeleteMySessionResponseObject, error)
	// ListMyTokens Your API tokens
	// (GET /me/tokens)
	ListMyTokens(ctx context.Context, request ListMyTokensRequestObject) (ListMyTokensResponseObject, error)
	// CreateMyToken Create an API token
	// (POST /me/tokens)
	CreateMyToken(ctx context.Context, request CreateMyTokenRequestObject) (CreateMyTokenResponseObject, error)
	// RevokeMyToken Revoke one of your API tokens
	// (DELETE /me/tokens/{tokenId})
	RevokeMyToken(ctx context.Context, request RevokeMyTokenRequestObject) (RevokeMyTokenResponseObject, error)
	// GetNetwork Get the network
	// (GET /network)
	GetNetwork(ctx context.Context, request GetNetworkRequestObject) (GetNetworkResponseObject, error)
	// UpdateNetwork Change the network
	// (PATCH /network)
	UpdateNetwork(ctx context.Context, request UpdateNetworkRequestObject) (UpdateNetworkResponseObject, error)
	// CreateNetwork Set the network up
	// (POST /network)
	CreateNetwork(ctx context.Context, request CreateNetworkRequestObject) (CreateNetworkResponseObject, error)
	// (DELETE /network/logo)
	DeleteNetworkLogo(ctx context.Context, request DeleteNetworkLogoRequestObject) (DeleteNetworkLogoResponseObject, error)
	// (GET /network/logo)
	GetNetworkLogo(ctx context.Context, request GetNetworkLogoRequestObject) (GetNetworkLogoResponseObject, error)
	// (PUT /network/logo)
	SetNetworkLogo(ctx context.Context, request SetNetworkLogoRequestObject) (SetNetworkLogoResponseObject, error)
	// CreateProxy Create the network's Velocity proxy
	// (POST /network/proxy)
	CreateProxy(ctx context.Context, request CreateProxyRequestObject) (CreateProxyResponseObject, error)
	// GetPublicNetwork What the sign-in page shows of the network
	// (GET /network/public)
	GetPublicNetwork(ctx context.Context, request GetPublicNetworkRequestObject) (GetPublicNetworkResponseObject, error)
	// ListNodes List Nodes
	// (GET /nodes)
	ListNodes(ctx context.Context, request ListNodesRequestObject) (ListNodesResponseObject, error)
	// CreateNode Add a Node
	// (POST /nodes)
	CreateNode(ctx context.Context, request CreateNodeRequestObject) (CreateNodeResponseObject, error)
	// DeleteNode Remove a Node
	// (DELETE /nodes/{nodeId})
	DeleteNode(ctx context.Context, request DeleteNodeRequestObject) (DeleteNodeResponseObject, error)
	// GetNode Get a Node
	// (GET /nodes/{nodeId})
	GetNode(ctx context.Context, request GetNodeRequestObject) (GetNodeResponseObject, error)
	// UpdateNode Change a Node's settings
	// (PATCH /nodes/{nodeId})
	UpdateNode(ctx context.Context, request UpdateNodeRequestObject) (UpdateNodeResponseObject, error)
	// DisableNode Disable (cordon) a Node
	// (POST /nodes/{nodeId}/disable)
	DisableNode(ctx context.Context, request DisableNodeRequestObject) (DisableNodeResponseObject, error)
	// EnableNode Enable a Node
	// (POST /nodes/{nodeId}/enable)
	EnableNode(ctx context.Context, request EnableNodeRequestObject) (EnableNodeResponseObject, error)
	// IssueEnrollmentToken Issue an enrollment token
	// (POST /nodes/{nodeId}/enrollment-token)
	IssueEnrollmentToken(ctx context.Context, request IssueEnrollmentTokenRequestObject) (IssueEnrollmentTokenResponseObject, error)
	// RevokeNode Revoke a Node
	// (POST /nodes/{nodeId}/revoke)
	RevokeNode(ctx context.Context, request RevokeNodeRequestObject) (RevokeNodeResponseObject, error)
	// RotateNodeCertificate Rotate a Node's certificate now
	// (POST /nodes/{nodeId}/rotate-certificate)
	RotateNodeCertificate(ctx context.Context, request RotateNodeCertificateRequestObject) (RotateNodeCertificateResponseObject, error)
	// ListPermissions The permission catalog
	// (GET /permissions)
	ListPermissions(ctx context.Context, request ListPermissionsRequestObject) (ListPermissionsResponseObject, error)
	// ListRoleAssignments List role assignments
	// (GET /role-assignments)
	ListRoleAssignments(ctx context.Context, request ListRoleAssignmentsRequestObject) (ListRoleAssignmentsResponseObject, error)
	// CreateRoleAssignment Assign a role
	// (POST /role-assignments)
	CreateRoleAssignment(ctx context.Context, request CreateRoleAssignmentRequestObject) (CreateRoleAssignmentResponseObject, error)
	// DeleteRoleAssignment Remove a role assignment
	// (DELETE /role-assignments/{assignmentId})
	DeleteRoleAssignment(ctx context.Context, request DeleteRoleAssignmentRequestObject) (DeleteRoleAssignmentResponseObject, error)
	// ListRoles List roles
	// (GET /roles)
	ListRoles(ctx context.Context, request ListRolesRequestObject) (ListRolesResponseObject, error)
	// CreateRole Create a custom role
	// (POST /roles)
	CreateRole(ctx context.Context, request CreateRoleRequestObject) (CreateRoleResponseObject, error)
	// DeleteRole Delete a custom role
	// (DELETE /roles/{roleId})
	DeleteRole(ctx context.Context, request DeleteRoleRequestObject) (DeleteRoleResponseObject, error)
	// GetRole Get a role
	// (GET /roles/{roleId})
	GetRole(ctx context.Context, request GetRoleRequestObject) (GetRoleResponseObject, error)
	// UpdateRole Change a custom role
	// (PATCH /roles/{roleId})
	UpdateRole(ctx context.Context, request UpdateRoleRequestObject) (UpdateRoleResponseObject, error)
	// ListServers List servers you can read
	// (GET /servers)
	ListServers(ctx context.Context, request ListServersRequestObject) (ListServersResponseObject, error)
	// CreateServer Create a server
	// (POST /servers)
	CreateServer(ctx context.Context, request CreateServerRequestObject) (CreateServerResponseObject, error)
	// DeleteServer Delete a server
	// (DELETE /servers/{serverId})
	DeleteServer(ctx context.Context, request DeleteServerRequestObject) (DeleteServerResponseObject, error)
	// GetServer Get a server
	// (GET /servers/{serverId})
	GetServer(ctx context.Context, request GetServerRequestObject) (GetServerResponseObject, error)
	// UpdateServer Change a server's resources
	// (PATCH /servers/{serverId})
	UpdateServer(ctx context.Context, request UpdateServerRequestObject) (UpdateServerResponseObject, error)
	// ListServerBackups List a server's backups
	// (GET /servers/{serverId}/backups)
	ListServerBackups(ctx context.Context, request ListServerBackupsRequestObject) (ListServerBackupsResponseObject, error)
	// CreateServerBackup Back a server up now
	// (POST /servers/{serverId}/backups)
	CreateServerBackup(ctx context.Context, request CreateServerBackupRequestObject) (CreateServerBackupResponseObject, error)
	// CloneServer Copy parts of a server into another
	// (POST /servers/{serverId}/clone)
	CloneServer(ctx context.Context, request CloneServerRequestObject) (CloneServerResponseObject, error)
	// AcknowledgeServerCondition Acknowledge a condition
	// (POST /servers/{serverId}/conditions/{conditionId}/acknowledge)
	AcknowledgeServerCondition(ctx context.Context, request AcknowledgeServerConditionRequestObject) (AcknowledgeServerConditionResponseObject, error)
	// GetServerConsole Follow the live console
	// (GET /servers/{serverId}/console)
	GetServerConsole(ctx context.Context, request GetServerConsoleRequestObject) (GetServerConsoleResponseObject, error)
	// SendServerCommand Send a console command
	// (POST /servers/{serverId}/console/commands)
	SendServerCommand(ctx context.Context, request SendServerCommandRequestObject) (SendServerCommandResponseObject, error)
	// ListServerEvents A server's history
	// (GET /servers/{serverId}/events)
	ListServerEvents(ctx context.Context, request ListServerEventsRequestObject) (ListServerEventsResponseObject, error)
	// DeleteServerFile Delete a file or directory
	// (DELETE /servers/{serverId}/files)
	DeleteServerFile(ctx context.Context, request DeleteServerFileRequestObject) (DeleteServerFileResponseObject, error)
	// ListServerFiles List a directory
	// (GET /servers/{serverId}/files)
	ListServerFiles(ctx context.Context, request ListServerFilesRequestObject) (ListServerFilesResponseObject, error)
	// DownloadServerFile Download a file
	// (GET /servers/{serverId}/files/content)
	DownloadServerFile(ctx context.Context, request DownloadServerFileRequestObject) (DownloadServerFileResponseObject, error)
	// UploadServerFile Upload or replace a file
	// (PUT /servers/{serverId}/files/content)
	UploadServerFile(ctx context.Context, request UploadServerFileRequestObject) (UploadServerFileResponseObject, error)
	// MakeServerDirectory Create a directory
	// (POST /servers/{serverId}/files/directories)
	MakeServerDirectory(ctx context.Context, request MakeServerDirectoryRequestObject) (MakeServerDirectoryResponseObject, error)
	// MoveServerFile Move or rename a file or directory
	// (POST /servers/{serverId}/files/move)
	MoveServerFile(ctx context.Context, request MoveServerFileRequestObject) (MoveServerFileResponseObject, error)
	// MigrateServer Move a server to another Node
	// (POST /servers/{serverId}/migrate)
	MigrateServer(ctx context.Context, request MigrateServerRequestObject) (MigrateServerResponseObject, error)
	// ListServerPlugins List a server's plugins
	// (GET /servers/{serverId}/plugins)
	ListServerPlugins(ctx context.Context, request ListServerPluginsRequestObject) (ListServerPluginsResponseObject, error)
	// InstallServerPlugin Install a catalog plugin
	// (POST /servers/{serverId}/plugins)
	InstallServerPlugin(ctx context.Context, request InstallServerPluginRequestObject) (InstallServerPluginResponseObject, error)
	// UploadServerPlugin Upload a plugin jar
	// (POST /servers/{serverId}/plugins/upload)
	UploadServerPlugin(ctx context.Context, request UploadServerPluginRequestObject) (UploadServerPluginResponseObject, error)
	// RemoveServerPlugin Remove a plugin
	// (DELETE /servers/{serverId}/plugins/{pluginInstallId})
	RemoveServerPlugin(ctx context.Context, request RemoveServerPluginRequestObject) (RemoveServerPluginResponseObject, error)
	// UpdateServerPlugin Update a plugin or change its version
	// (PUT /servers/{serverId}/plugins/{pluginInstallId})
	UpdateServerPlugin(ctx context.Context, request UpdateServerPluginRequestObject) (UpdateServerPluginResponseObject, error)
	// GetServerProperties Read server.properties
	// (GET /servers/{serverId}/properties)
	GetServerProperties(ctx context.Context, request GetServerPropertiesRequestObject) (GetServerPropertiesResponseObject, error)
	// UpdateServerProperties Change server.properties
	// (PATCH /servers/{serverId}/properties)
	UpdateServerProperties(ctx context.Context, request UpdateServerPropertiesRequestObject) (UpdateServerPropertiesResponseObject, error)
	// RestartServer Restart a server
	// (POST /servers/{serverId}/restart)
	RestartServer(ctx context.Context, request RestartServerRequestObject) (RestartServerResponseObject, error)
	// RestoreServer Restore a backup in place
	// (POST /servers/{serverId}/restore)
	RestoreServer(ctx context.Context, request RestoreServerRequestObject) (RestoreServerResponseObject, error)
	// ListServerSchedules List a server's schedules
	// (GET /servers/{serverId}/schedules)
	ListServerSchedules(ctx context.Context, request ListServerSchedulesRequestObject) (ListServerSchedulesResponseObject, error)
	// CreateServerSchedule Add a schedule
	// (POST /servers/{serverId}/schedules)
	CreateServerSchedule(ctx context.Context, request CreateServerScheduleRequestObject) (CreateServerScheduleResponseObject, error)
	// DeleteServerSchedule Delete a schedule
	// (DELETE /servers/{serverId}/schedules/{scheduleId})
	DeleteServerSchedule(ctx context.Context, request DeleteServerScheduleRequestObject) (DeleteServerScheduleResponseObject, error)
	// UpdateServerSchedule Change a schedule
	// (PUT /servers/{serverId}/schedules/{scheduleId})
	UpdateServerSchedule(ctx context.Context, request UpdateServerScheduleRequestObject) (UpdateServerScheduleResponseObject, error)
	// ChangeServerSoftware Change a server's Minecraft version or build
	// (PUT /servers/{serverId}/software)
	ChangeServerSoftware(ctx context.Context, request ChangeServerSoftwareRequestObject) (ChangeServerSoftwareResponseObject, error)
	// StartServer Start a server
	// (POST /servers/{serverId}/start)
	StartServer(ctx context.Context, request StartServerRequestObject) (StartServerResponseObject, error)
	// StopServer Stop a server
	// (POST /servers/{serverId}/stop)
	StopServer(ctx context.Context, request StopServerRequestObject) (StopServerResponseObject, error)
	// GetSetup Whether first-run setup is needed
	// (GET /setup)
	GetSetup(ctx context.Context, request GetSetupRequestObject) (GetSetupResponseObject, error)
	// CompleteSetup Set up a new Controller
	// (POST /setup)
	CompleteSetup(ctx context.Context, request CompleteSetupRequestObject) (CompleteSetupResponseObject, error)
	// ListSoftware List server software and versions
	// (GET /software)
	ListSoftware(ctx context.Context, request ListSoftwareRequestObject) (ListSoftwareResponseObject, error)
	// GetSystemInfo About this Controller
	// (GET /system)
	GetSystemInfo(ctx context.Context, request GetSystemInfoRequestObject) (GetSystemInfoResponseObject, error)
	// ListTeams List teams
	// (GET /teams)
	ListTeams(ctx context.Context, request ListTeamsRequestObject) (ListTeamsResponseObject, error)
	// CreateTeam Create a team
	// (POST /teams)
	CreateTeam(ctx context.Context, request CreateTeamRequestObject) (CreateTeamResponseObject, error)
	// DeleteTeam Delete a team
	// (DELETE /teams/{teamId})
	DeleteTeam(ctx context.Context, request DeleteTeamRequestObject) (DeleteTeamResponseObject, error)
	// GetTeam Get a team
	// (GET /teams/{teamId})
	GetTeam(ctx context.Context, request GetTeamRequestObject) (GetTeamResponseObject, error)
	// UpdateTeam Rename a team
	// (PATCH /teams/{teamId})
	UpdateTeam(ctx context.Context, request UpdateTeamRequestObject) (UpdateTeamResponseObject, error)
	// ListTeamMembers List a team's members
	// (GET /teams/{teamId}/members)
	ListTeamMembers(ctx context.Context, request ListTeamMembersRequestObject) (ListTeamMembersResponseObject, error)
	// RemoveTeamMember Remove a user from a team
	// (DELETE /teams/{teamId}/members/{userId})
	RemoveTeamMember(ctx context.Context, request RemoveTeamMemberRequestObject) (RemoveTeamMemberResponseObject, error)
	// AddTeamMember Add a user to a team
	// (PUT /teams/{teamId}/members/{userId})
	AddTeamMember(ctx context.Context, request AddTeamMemberRequestObject) (AddTeamMemberResponseObject, error)
	// ListUsers List users
	// (GET /users)
	ListUsers(ctx context.Context, request ListUsersRequestObject) (ListUsersResponseObject, error)
	// CreateUser Create a user
	// (POST /users)
	CreateUser(ctx context.Context, request CreateUserRequestObject) (CreateUserResponseObject, error)
	// DeleteUser Delete a user
	// (DELETE /users/{userId})
	DeleteUser(ctx context.Context, request DeleteUserRequestObject) (DeleteUserResponseObject, error)
	// GetUser Get a user
	// (GET /users/{userId})
	GetUser(ctx context.Context, request GetUserRequestObject) (GetUserResponseObject, error)
	// UpdateUser Change a user
	// (PATCH /users/{userId})
	UpdateUser(ctx context.Context, request UpdateUserRequestObject) (UpdateUserResponseObject, error)
	// IssuePasswordReset Issue a one-time password reset link
	// (POST /users/{userId}/password-reset)
	IssuePasswordReset(ctx context.Context, request IssuePasswordResetRequestObject) (IssuePasswordResetResponseObject, error)
	// GetUserPermissions What a user may do
	// (GET /users/{userId}/permissions)
	GetUserPermissions(ctx context.Context, request GetUserPermissionsRequestObject) (GetUserPermissionsResponseObject, error)
}

StrictServerInterface represents all server handlers.

type SystemInfo added in v1.15.0

type SystemInfo struct {
	// AgentImage The Agent image to start on a new Node.
	//
	// Example: registry.gitlab.com/shardkeep/shardkeep/agent:1.14.0
	AgentImage string `json:"agentImage"`

	// Version Example: 1.14.0
	Version string `json:"version"`
}

SystemInfo defines model for SystemInfo.

type Team added in v1.4.0

type Team struct {
	Id   openapi_types.UUID `json:"id"`
	Name string             `json:"name"`
}

Team defines model for Team.

type TeamId added in v1.4.0

type TeamId = openapi_types.UUID

TeamId defines model for TeamId.

type TeamList added in v1.4.0

type TeamList struct {
	Items      []Team  `json:"items"`
	NextCursor *string `json:"nextCursor,omitempty"`
}

TeamList defines model for TeamList.

type TeamPermissions added in v1.17.0

type TeamPermissions struct {
	Name        string             `json:"name"`
	Permissions []Permission       `json:"permissions"`
	TeamId      openapi_types.UUID `json:"teamId"`
}

TeamPermissions defines model for TeamPermissions.

type TeamRequest added in v1.4.0

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

TeamRequest defines model for TeamRequest.

type TokenId

type TokenId = openapi_types.UUID

TokenId defines model for TokenId.

type TooLarge added in v1.12.0

type TooLarge = Problem

TooLarge An RFC 9457 problem with a machine-readable code.

type TooLargeApplicationProblemPlusJSONResponse added in v1.12.0

type TooLargeApplicationProblemPlusJSONResponse Problem

type TooManyRequests

type TooManyRequests = Problem

TooManyRequests An RFC 9457 problem with a machine-readable code.

type TooManyRequestsApplicationProblemPlusJSONResponse

type TooManyRequestsApplicationProblemPlusJSONResponse struct {
	Body Problem

	Headers TooManyRequestsResponseHeaders
}

type TooManyRequestsResponseHeaders

type TooManyRequestsResponseHeaders struct {
	RetryAfter *int
}

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type Unauthorized

type Unauthorized = Problem

Unauthorized An RFC 9457 problem with a machine-readable code.

type UnauthorizedApplicationProblemPlusJSONResponse

type UnauthorizedApplicationProblemPlusJSONResponse Problem

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmanagedPlugins added in v1.14.0

type UnmanagedPlugins struct {
	// Available False when the server's Agent could not be asked (its Node is not connected, or it has no container yet).
	Available bool `json:"available"`
	Items     []struct {
		// DuplicateOf A managed plugin installation declaring the same plugin name.
		DuplicateOf *openapi_types.UUID `json:"duplicateOf,omitempty"`
		FileName    string              `json:"fileName"`

		// PluginName From the jar's plugin.yml; absent when it has none.
		PluginName    *string `json:"pluginName,omitempty"`
		PluginVersion *string `json:"pluginVersion,omitempty"`
		SizeBytes     int64   `json:"sizeBytes"`
	} `json:"items"`
	Truncated bool `json:"truncated"`
}

UnmanagedPlugins defines model for UnmanagedPlugins.

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateBackupDestination200JSONResponse added in v1.18.0

type UpdateBackupDestination200JSONResponse BackupDestination

func (UpdateBackupDestination200JSONResponse) VisitUpdateBackupDestinationResponse added in v1.18.0

func (response UpdateBackupDestination200JSONResponse) VisitUpdateBackupDestinationResponse(w http.ResponseWriter) error

type UpdateBackupDestination400ApplicationProblemPlusJSONResponse added in v1.18.0

type UpdateBackupDestination400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateBackupDestination400ApplicationProblemPlusJSONResponse) VisitUpdateBackupDestinationResponse added in v1.18.0

func (response UpdateBackupDestination400ApplicationProblemPlusJSONResponse) VisitUpdateBackupDestinationResponse(w http.ResponseWriter) error

type UpdateBackupDestination401ApplicationProblemPlusJSONResponse added in v1.18.0

type UpdateBackupDestination401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateBackupDestination401ApplicationProblemPlusJSONResponse) VisitUpdateBackupDestinationResponse added in v1.18.0

func (response UpdateBackupDestination401ApplicationProblemPlusJSONResponse) VisitUpdateBackupDestinationResponse(w http.ResponseWriter) error

type UpdateBackupDestination403ApplicationProblemPlusJSONResponse added in v1.18.0

type UpdateBackupDestination403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateBackupDestination403ApplicationProblemPlusJSONResponse) VisitUpdateBackupDestinationResponse added in v1.18.0

func (response UpdateBackupDestination403ApplicationProblemPlusJSONResponse) VisitUpdateBackupDestinationResponse(w http.ResponseWriter) error

type UpdateBackupDestination404ApplicationProblemPlusJSONResponse added in v1.18.0

type UpdateBackupDestination404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateBackupDestination404ApplicationProblemPlusJSONResponse) VisitUpdateBackupDestinationResponse added in v1.18.0

func (response UpdateBackupDestination404ApplicationProblemPlusJSONResponse) VisitUpdateBackupDestinationResponse(w http.ResponseWriter) error

type UpdateBackupDestination409ApplicationProblemPlusJSONResponse added in v1.18.0

type UpdateBackupDestination409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UpdateBackupDestination409ApplicationProblemPlusJSONResponse) VisitUpdateBackupDestinationResponse added in v1.18.0

func (response UpdateBackupDestination409ApplicationProblemPlusJSONResponse) VisitUpdateBackupDestinationResponse(w http.ResponseWriter) error

type UpdateBackupDestinationJSONRequestBody added in v1.18.0

type UpdateBackupDestinationJSONRequestBody = UpdateBackupDestinationRequest

UpdateBackupDestinationJSONRequestBody defines body for UpdateBackupDestination for application/json ContentType.

type UpdateBackupDestinationRequest added in v1.18.0

type UpdateBackupDestinationRequest struct {
	Name         *string    `json:"name,omitempty"`
	S3           *S3Request `json:"s3,omitempty"`
	Subdirectory *string    `json:"subdirectory,omitempty"`
}

UpdateBackupDestinationRequest defines model for UpdateBackupDestinationRequest.

type UpdateBackupDestinationRequestObject added in v1.18.0

type UpdateBackupDestinationRequestObject struct {
	DestinationId DestinationId `json:"destinationId"`
	Body          *UpdateBackupDestinationJSONRequestBody
}

type UpdateBackupDestinationResponseObject added in v1.18.0

type UpdateBackupDestinationResponseObject interface {
	VisitUpdateBackupDestinationResponse(w http.ResponseWriter) error
}

type UpdateNetwork200JSONResponse added in v1.19.0

type UpdateNetwork200JSONResponse Network

func (UpdateNetwork200JSONResponse) VisitUpdateNetworkResponse added in v1.19.0

func (response UpdateNetwork200JSONResponse) VisitUpdateNetworkResponse(w http.ResponseWriter) error

type UpdateNetwork400ApplicationProblemPlusJSONResponse added in v1.19.0

type UpdateNetwork400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateNetwork400ApplicationProblemPlusJSONResponse) VisitUpdateNetworkResponse added in v1.19.0

func (response UpdateNetwork400ApplicationProblemPlusJSONResponse) VisitUpdateNetworkResponse(w http.ResponseWriter) error

type UpdateNetwork401ApplicationProblemPlusJSONResponse added in v1.19.0

type UpdateNetwork401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateNetwork401ApplicationProblemPlusJSONResponse) VisitUpdateNetworkResponse added in v1.19.0

func (response UpdateNetwork401ApplicationProblemPlusJSONResponse) VisitUpdateNetworkResponse(w http.ResponseWriter) error

type UpdateNetwork403ApplicationProblemPlusJSONResponse added in v1.19.0

type UpdateNetwork403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateNetwork403ApplicationProblemPlusJSONResponse) VisitUpdateNetworkResponse added in v1.19.0

func (response UpdateNetwork403ApplicationProblemPlusJSONResponse) VisitUpdateNetworkResponse(w http.ResponseWriter) error

type UpdateNetwork404ApplicationProblemPlusJSONResponse added in v1.19.0

type UpdateNetwork404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateNetwork404ApplicationProblemPlusJSONResponse) VisitUpdateNetworkResponse added in v1.19.0

func (response UpdateNetwork404ApplicationProblemPlusJSONResponse) VisitUpdateNetworkResponse(w http.ResponseWriter) error

type UpdateNetworkJSONRequestBody added in v1.19.0

type UpdateNetworkJSONRequestBody = UpdateNetworkRequest

UpdateNetworkJSONRequestBody defines body for UpdateNetwork for application/json ContentType.

type UpdateNetworkRequest added in v1.19.0

type UpdateNetworkRequest struct {
	Address     *string `json:"address,omitempty"`
	Description *string `json:"description,omitempty"`

	// LobbyServerIds Members players are sent to when they join, tried in order.
	LobbyServerIds *[]openapi_types.UUID `json:"lobbyServerIds,omitempty"`
	Name           *string               `json:"name,omitempty"`
	Port           *int                  `json:"port,omitempty"`
}

UpdateNetworkRequest defines model for UpdateNetworkRequest.

type UpdateNetworkRequestObject added in v1.19.0

type UpdateNetworkRequestObject struct {
	Body *UpdateNetworkJSONRequestBody
}

type UpdateNetworkResponseObject added in v1.19.0

type UpdateNetworkResponseObject interface {
	VisitUpdateNetworkResponse(w http.ResponseWriter) error
}

type UpdateNode200JSONResponse added in v1.19.0

type UpdateNode200JSONResponse Node

func (UpdateNode200JSONResponse) VisitUpdateNodeResponse added in v1.19.0

func (response UpdateNode200JSONResponse) VisitUpdateNodeResponse(w http.ResponseWriter) error

type UpdateNode400ApplicationProblemPlusJSONResponse added in v1.19.0

type UpdateNode400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateNode400ApplicationProblemPlusJSONResponse) VisitUpdateNodeResponse added in v1.19.0

func (response UpdateNode400ApplicationProblemPlusJSONResponse) VisitUpdateNodeResponse(w http.ResponseWriter) error

type UpdateNode401ApplicationProblemPlusJSONResponse added in v1.19.0

type UpdateNode401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateNode401ApplicationProblemPlusJSONResponse) VisitUpdateNodeResponse added in v1.19.0

func (response UpdateNode401ApplicationProblemPlusJSONResponse) VisitUpdateNodeResponse(w http.ResponseWriter) error

type UpdateNode403ApplicationProblemPlusJSONResponse added in v1.19.0

type UpdateNode403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateNode403ApplicationProblemPlusJSONResponse) VisitUpdateNodeResponse added in v1.19.0

func (response UpdateNode403ApplicationProblemPlusJSONResponse) VisitUpdateNodeResponse(w http.ResponseWriter) error

type UpdateNode404ApplicationProblemPlusJSONResponse added in v1.19.0

type UpdateNode404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateNode404ApplicationProblemPlusJSONResponse) VisitUpdateNodeResponse added in v1.19.0

func (response UpdateNode404ApplicationProblemPlusJSONResponse) VisitUpdateNodeResponse(w http.ResponseWriter) error

type UpdateNodeJSONRequestBody added in v1.19.0

type UpdateNodeJSONRequestBody = UpdateNodeRequest

UpdateNodeJSONRequestBody defines body for UpdateNode for application/json ContentType.

type UpdateNodeRequest added in v1.19.0

type UpdateNodeRequest struct {
	// Address A host name or IP address, without a port; empty to use the observed address.
	Address string `json:"address"`
}

UpdateNodeRequest defines model for UpdateNodeRequest.

type UpdateNodeRequestObject added in v1.19.0

type UpdateNodeRequestObject struct {
	NodeId NodeId `json:"nodeId"`
	Body   *UpdateNodeJSONRequestBody
}

type UpdateNodeResponseObject added in v1.19.0

type UpdateNodeResponseObject interface {
	VisitUpdateNodeResponse(w http.ResponseWriter) error
}

type UpdatePluginRequest added in v1.14.0

type UpdatePluginRequest struct {
	Force *bool `json:"force,omitempty"`

	// VersionId The newest compatible version when absent.
	VersionId *string `json:"versionId,omitempty"`
}

UpdatePluginRequest defines model for UpdatePluginRequest.

type UpdateRole200JSONResponse added in v1.4.0

type UpdateRole200JSONResponse Role

func (UpdateRole200JSONResponse) VisitUpdateRoleResponse added in v1.4.0

func (response UpdateRole200JSONResponse) VisitUpdateRoleResponse(w http.ResponseWriter) error

type UpdateRole400ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateRole400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateRole400ApplicationProblemPlusJSONResponse) VisitUpdateRoleResponse added in v1.4.0

func (response UpdateRole400ApplicationProblemPlusJSONResponse) VisitUpdateRoleResponse(w http.ResponseWriter) error

type UpdateRole401ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateRole401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateRole401ApplicationProblemPlusJSONResponse) VisitUpdateRoleResponse added in v1.4.0

func (response UpdateRole401ApplicationProblemPlusJSONResponse) VisitUpdateRoleResponse(w http.ResponseWriter) error

type UpdateRole403ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateRole403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateRole403ApplicationProblemPlusJSONResponse) VisitUpdateRoleResponse added in v1.4.0

func (response UpdateRole403ApplicationProblemPlusJSONResponse) VisitUpdateRoleResponse(w http.ResponseWriter) error

type UpdateRole404ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateRole404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateRole404ApplicationProblemPlusJSONResponse) VisitUpdateRoleResponse added in v1.4.0

func (response UpdateRole404ApplicationProblemPlusJSONResponse) VisitUpdateRoleResponse(w http.ResponseWriter) error

type UpdateRole409ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateRole409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UpdateRole409ApplicationProblemPlusJSONResponse) VisitUpdateRoleResponse added in v1.4.0

func (response UpdateRole409ApplicationProblemPlusJSONResponse) VisitUpdateRoleResponse(w http.ResponseWriter) error

type UpdateRoleJSONRequestBody added in v1.4.0

type UpdateRoleJSONRequestBody = UpdateRoleRequest

UpdateRoleJSONRequestBody defines body for UpdateRole for application/json ContentType.

type UpdateRoleRequest added in v1.4.0

type UpdateRoleRequest struct {
	Description *string       `json:"description,omitempty"`
	Name        *string       `json:"name,omitempty"`
	Permissions *[]Permission `json:"permissions,omitempty"`
}

UpdateRoleRequest defines model for UpdateRoleRequest.

type UpdateRoleRequestObject added in v1.4.0

type UpdateRoleRequestObject struct {
	RoleId RoleId `json:"roleId"`
	Body   *UpdateRoleJSONRequestBody
}

type UpdateRoleResponseObject added in v1.4.0

type UpdateRoleResponseObject interface {
	VisitUpdateRoleResponse(w http.ResponseWriter) error
}

type UpdateServer202JSONResponse added in v1.12.0

type UpdateServer202JSONResponse Server

func (UpdateServer202JSONResponse) VisitUpdateServerResponse added in v1.12.0

func (response UpdateServer202JSONResponse) VisitUpdateServerResponse(w http.ResponseWriter) error

type UpdateServer400ApplicationProblemPlusJSONResponse added in v1.12.0

type UpdateServer400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateServer400ApplicationProblemPlusJSONResponse) VisitUpdateServerResponse added in v1.12.0

func (response UpdateServer400ApplicationProblemPlusJSONResponse) VisitUpdateServerResponse(w http.ResponseWriter) error

type UpdateServer401ApplicationProblemPlusJSONResponse added in v1.12.0

type UpdateServer401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateServer401ApplicationProblemPlusJSONResponse) VisitUpdateServerResponse added in v1.12.0

func (response UpdateServer401ApplicationProblemPlusJSONResponse) VisitUpdateServerResponse(w http.ResponseWriter) error

type UpdateServer403ApplicationProblemPlusJSONResponse added in v1.12.0

type UpdateServer403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateServer403ApplicationProblemPlusJSONResponse) VisitUpdateServerResponse added in v1.12.0

func (response UpdateServer403ApplicationProblemPlusJSONResponse) VisitUpdateServerResponse(w http.ResponseWriter) error

type UpdateServer404ApplicationProblemPlusJSONResponse added in v1.12.0

type UpdateServer404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateServer404ApplicationProblemPlusJSONResponse) VisitUpdateServerResponse added in v1.12.0

func (response UpdateServer404ApplicationProblemPlusJSONResponse) VisitUpdateServerResponse(w http.ResponseWriter) error

type UpdateServer409ApplicationProblemPlusJSONResponse added in v1.12.0

type UpdateServer409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UpdateServer409ApplicationProblemPlusJSONResponse) VisitUpdateServerResponse added in v1.12.0

func (response UpdateServer409ApplicationProblemPlusJSONResponse) VisitUpdateServerResponse(w http.ResponseWriter) error

type UpdateServerJSONRequestBody added in v1.12.0

type UpdateServerJSONRequestBody = UpdateServerRequest

UpdateServerJSONRequestBody defines body for UpdateServer for application/json ContentType.

type UpdateServerPlugin200JSONResponse added in v1.14.0

type UpdateServerPlugin200JSONResponse PluginChangeResult

func (UpdateServerPlugin200JSONResponse) VisitUpdateServerPluginResponse added in v1.14.0

func (response UpdateServerPlugin200JSONResponse) VisitUpdateServerPluginResponse(w http.ResponseWriter) error

type UpdateServerPlugin400ApplicationProblemPlusJSONResponse added in v1.14.0

type UpdateServerPlugin400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateServerPlugin400ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse added in v1.14.0

func (response UpdateServerPlugin400ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse(w http.ResponseWriter) error

type UpdateServerPlugin401ApplicationProblemPlusJSONResponse added in v1.14.0

type UpdateServerPlugin401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateServerPlugin401ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse added in v1.14.0

func (response UpdateServerPlugin401ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse(w http.ResponseWriter) error

type UpdateServerPlugin403ApplicationProblemPlusJSONResponse added in v1.14.0

type UpdateServerPlugin403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateServerPlugin403ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse added in v1.14.0

func (response UpdateServerPlugin403ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse(w http.ResponseWriter) error

type UpdateServerPlugin404ApplicationProblemPlusJSONResponse added in v1.14.0

type UpdateServerPlugin404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateServerPlugin404ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse added in v1.14.0

func (response UpdateServerPlugin404ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse(w http.ResponseWriter) error

type UpdateServerPlugin409ApplicationProblemPlusJSONResponse added in v1.14.0

type UpdateServerPlugin409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UpdateServerPlugin409ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse added in v1.14.0

func (response UpdateServerPlugin409ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse(w http.ResponseWriter) error

type UpdateServerPlugin502ApplicationProblemPlusJSONResponse added in v1.14.0

type UpdateServerPlugin502ApplicationProblemPlusJSONResponse struct {
	DownloadFailedApplicationProblemPlusJSONResponse
}

func (UpdateServerPlugin502ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse added in v1.14.0

func (response UpdateServerPlugin502ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse(w http.ResponseWriter) error

type UpdateServerPlugin503ApplicationProblemPlusJSONResponse added in v1.14.0

type UpdateServerPlugin503ApplicationProblemPlusJSONResponse struct {
	CatalogUnavailableApplicationProblemPlusJSONResponse
}

func (UpdateServerPlugin503ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse added in v1.14.0

func (response UpdateServerPlugin503ApplicationProblemPlusJSONResponse) VisitUpdateServerPluginResponse(w http.ResponseWriter) error

type UpdateServerPluginJSONRequestBody added in v1.14.0

type UpdateServerPluginJSONRequestBody = UpdatePluginRequest

UpdateServerPluginJSONRequestBody defines body for UpdateServerPlugin for application/json ContentType.

type UpdateServerPluginRequestObject added in v1.14.0

type UpdateServerPluginRequestObject struct {
	ServerId        ServerId           `json:"serverId"`
	PluginInstallId openapi_types.UUID `json:"pluginInstallId"`
	Body            *UpdateServerPluginJSONRequestBody
}

type UpdateServerPluginResponseObject added in v1.14.0

type UpdateServerPluginResponseObject interface {
	VisitUpdateServerPluginResponse(w http.ResponseWriter) error
}

type UpdateServerProperties200JSONResponse added in v1.12.0

type UpdateServerProperties200JSONResponse ServerProperties

func (UpdateServerProperties200JSONResponse) VisitUpdateServerPropertiesResponse added in v1.12.0

func (response UpdateServerProperties200JSONResponse) VisitUpdateServerPropertiesResponse(w http.ResponseWriter) error

type UpdateServerProperties400ApplicationProblemPlusJSONResponse added in v1.12.0

type UpdateServerProperties400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateServerProperties400ApplicationProblemPlusJSONResponse) VisitUpdateServerPropertiesResponse added in v1.12.0

func (response UpdateServerProperties400ApplicationProblemPlusJSONResponse) VisitUpdateServerPropertiesResponse(w http.ResponseWriter) error

type UpdateServerProperties401ApplicationProblemPlusJSONResponse added in v1.12.0

type UpdateServerProperties401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateServerProperties401ApplicationProblemPlusJSONResponse) VisitUpdateServerPropertiesResponse added in v1.12.0

func (response UpdateServerProperties401ApplicationProblemPlusJSONResponse) VisitUpdateServerPropertiesResponse(w http.ResponseWriter) error

type UpdateServerProperties403ApplicationProblemPlusJSONResponse added in v1.12.0

type UpdateServerProperties403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateServerProperties403ApplicationProblemPlusJSONResponse) VisitUpdateServerPropertiesResponse added in v1.12.0

func (response UpdateServerProperties403ApplicationProblemPlusJSONResponse) VisitUpdateServerPropertiesResponse(w http.ResponseWriter) error

type UpdateServerProperties404ApplicationProblemPlusJSONResponse added in v1.12.0

type UpdateServerProperties404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateServerProperties404ApplicationProblemPlusJSONResponse) VisitUpdateServerPropertiesResponse added in v1.12.0

func (response UpdateServerProperties404ApplicationProblemPlusJSONResponse) VisitUpdateServerPropertiesResponse(w http.ResponseWriter) error

type UpdateServerProperties409ApplicationProblemPlusJSONResponse added in v1.12.0

type UpdateServerProperties409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UpdateServerProperties409ApplicationProblemPlusJSONResponse) VisitUpdateServerPropertiesResponse added in v1.12.0

func (response UpdateServerProperties409ApplicationProblemPlusJSONResponse) VisitUpdateServerPropertiesResponse(w http.ResponseWriter) error

type UpdateServerProperties503ApplicationProblemPlusJSONResponse added in v1.12.0

type UpdateServerProperties503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (UpdateServerProperties503ApplicationProblemPlusJSONResponse) VisitUpdateServerPropertiesResponse added in v1.12.0

func (response UpdateServerProperties503ApplicationProblemPlusJSONResponse) VisitUpdateServerPropertiesResponse(w http.ResponseWriter) error

type UpdateServerPropertiesJSONRequestBody added in v1.12.0

type UpdateServerPropertiesJSONRequestBody = ServerPropertiesUpdate

UpdateServerPropertiesJSONRequestBody defines body for UpdateServerProperties for application/json ContentType.

type UpdateServerPropertiesRequestObject added in v1.12.0

type UpdateServerPropertiesRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Body     *UpdateServerPropertiesJSONRequestBody
}

type UpdateServerPropertiesResponseObject added in v1.12.0

type UpdateServerPropertiesResponseObject interface {
	VisitUpdateServerPropertiesResponse(w http.ResponseWriter) error
}

type UpdateServerRequest added in v1.12.0

type UpdateServerRequest struct {
	// InNetwork Join or leave the network. A running server takes it at its next start (RESTART_PENDING until then); it
	// leaves the lobby when it leaves the network.
	InNetwork *bool `json:"inNetwork,omitempty"`

	// Resources A reservation, held even while the server is idle.
	Resources *ServerResources `json:"resources,omitempty"`
}

UpdateServerRequest defines model for UpdateServerRequest.

type UpdateServerRequestObject added in v1.12.0

type UpdateServerRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Body     *UpdateServerJSONRequestBody
}

type UpdateServerResponseObject added in v1.12.0

type UpdateServerResponseObject interface {
	VisitUpdateServerResponse(w http.ResponseWriter) error
}

type UpdateServerSchedule200JSONResponse added in v1.18.0

type UpdateServerSchedule200JSONResponse Schedule

func (UpdateServerSchedule200JSONResponse) VisitUpdateServerScheduleResponse added in v1.18.0

func (response UpdateServerSchedule200JSONResponse) VisitUpdateServerScheduleResponse(w http.ResponseWriter) error

type UpdateServerSchedule400ApplicationProblemPlusJSONResponse added in v1.18.0

type UpdateServerSchedule400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateServerSchedule400ApplicationProblemPlusJSONResponse) VisitUpdateServerScheduleResponse added in v1.18.0

func (response UpdateServerSchedule400ApplicationProblemPlusJSONResponse) VisitUpdateServerScheduleResponse(w http.ResponseWriter) error

type UpdateServerSchedule401ApplicationProblemPlusJSONResponse added in v1.18.0

type UpdateServerSchedule401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateServerSchedule401ApplicationProblemPlusJSONResponse) VisitUpdateServerScheduleResponse added in v1.18.0

func (response UpdateServerSchedule401ApplicationProblemPlusJSONResponse) VisitUpdateServerScheduleResponse(w http.ResponseWriter) error

type UpdateServerSchedule403ApplicationProblemPlusJSONResponse added in v1.18.0

type UpdateServerSchedule403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateServerSchedule403ApplicationProblemPlusJSONResponse) VisitUpdateServerScheduleResponse added in v1.18.0

func (response UpdateServerSchedule403ApplicationProblemPlusJSONResponse) VisitUpdateServerScheduleResponse(w http.ResponseWriter) error

type UpdateServerSchedule404ApplicationProblemPlusJSONResponse added in v1.18.0

type UpdateServerSchedule404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateServerSchedule404ApplicationProblemPlusJSONResponse) VisitUpdateServerScheduleResponse added in v1.18.0

func (response UpdateServerSchedule404ApplicationProblemPlusJSONResponse) VisitUpdateServerScheduleResponse(w http.ResponseWriter) error

type UpdateServerScheduleJSONRequestBody added in v1.18.0

type UpdateServerScheduleJSONRequestBody = ScheduleRequest

UpdateServerScheduleJSONRequestBody defines body for UpdateServerSchedule for application/json ContentType.

type UpdateServerScheduleRequestObject added in v1.18.0

type UpdateServerScheduleRequestObject struct {
	ServerId   ServerId   `json:"serverId"`
	ScheduleId ScheduleId `json:"scheduleId"`
	Body       *UpdateServerScheduleJSONRequestBody
}

type UpdateServerScheduleResponseObject added in v1.18.0

type UpdateServerScheduleResponseObject interface {
	VisitUpdateServerScheduleResponse(w http.ResponseWriter) error
}

type UpdateTeam200JSONResponse added in v1.4.0

type UpdateTeam200JSONResponse Team

func (UpdateTeam200JSONResponse) VisitUpdateTeamResponse added in v1.4.0

func (response UpdateTeam200JSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam400ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateTeam400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateTeam400ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse added in v1.4.0

func (response UpdateTeam400ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam401ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateTeam401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateTeam401ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse added in v1.4.0

func (response UpdateTeam401ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam403ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateTeam403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateTeam403ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse added in v1.4.0

func (response UpdateTeam403ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam404ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateTeam404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateTeam404ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse added in v1.4.0

func (response UpdateTeam404ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeam409ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateTeam409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UpdateTeam409ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse added in v1.4.0

func (response UpdateTeam409ApplicationProblemPlusJSONResponse) VisitUpdateTeamResponse(w http.ResponseWriter) error

type UpdateTeamJSONRequestBody added in v1.4.0

type UpdateTeamJSONRequestBody = TeamRequest

UpdateTeamJSONRequestBody defines body for UpdateTeam for application/json ContentType.

type UpdateTeamRequestObject added in v1.4.0

type UpdateTeamRequestObject struct {
	TeamId TeamId `json:"teamId"`
	Body   *UpdateTeamJSONRequestBody
}

type UpdateTeamResponseObject added in v1.4.0

type UpdateTeamResponseObject interface {
	VisitUpdateTeamResponse(w http.ResponseWriter) error
}

type UpdateUser200JSONResponse added in v1.4.0

type UpdateUser200JSONResponse User

func (UpdateUser200JSONResponse) VisitUpdateUserResponse added in v1.4.0

func (response UpdateUser200JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser400ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateUser400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateUser400ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse added in v1.4.0

func (response UpdateUser400ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser401ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateUser401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateUser401ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse added in v1.4.0

func (response UpdateUser401ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser403ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateUser403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateUser403ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse added in v1.4.0

func (response UpdateUser403ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser404ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateUser404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateUser404ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse added in v1.4.0

func (response UpdateUser404ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser409ApplicationProblemPlusJSONResponse added in v1.4.0

type UpdateUser409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UpdateUser409ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse added in v1.4.0

func (response UpdateUser409ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUserJSONRequestBody added in v1.4.0

type UpdateUserJSONRequestBody = UpdateUserRequest

UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.

type UpdateUserRequest added in v1.4.0

type UpdateUserRequest struct {
	Disabled    *bool   `json:"disabled,omitempty"`
	DisplayName *string `json:"displayName,omitempty"`
	Email       *string `json:"email,omitempty"`
	GlobalAdmin *bool   `json:"globalAdmin,omitempty"`
}

UpdateUserRequest defines model for UpdateUserRequest.

type UpdateUserRequestObject added in v1.4.0

type UpdateUserRequestObject struct {
	UserId UserId `json:"userId"`
	Body   *UpdateUserJSONRequestBody
}

type UpdateUserResponseObject added in v1.4.0

type UpdateUserResponseObject interface {
	VisitUpdateUserResponse(w http.ResponseWriter) error
}

type UploadArtifact201JSONResponse added in v1.11.0

type UploadArtifact201JSONResponse Artifact

func (UploadArtifact201JSONResponse) VisitUploadArtifactResponse added in v1.11.0

func (response UploadArtifact201JSONResponse) VisitUploadArtifactResponse(w http.ResponseWriter) error

type UploadArtifact400ApplicationProblemPlusJSONResponse added in v1.11.0

type UploadArtifact400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UploadArtifact400ApplicationProblemPlusJSONResponse) VisitUploadArtifactResponse added in v1.11.0

func (response UploadArtifact400ApplicationProblemPlusJSONResponse) VisitUploadArtifactResponse(w http.ResponseWriter) error

type UploadArtifact401ApplicationProblemPlusJSONResponse added in v1.11.0

type UploadArtifact401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UploadArtifact401ApplicationProblemPlusJSONResponse) VisitUploadArtifactResponse added in v1.11.0

func (response UploadArtifact401ApplicationProblemPlusJSONResponse) VisitUploadArtifactResponse(w http.ResponseWriter) error

type UploadArtifact403ApplicationProblemPlusJSONResponse added in v1.11.0

type UploadArtifact403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UploadArtifact403ApplicationProblemPlusJSONResponse) VisitUploadArtifactResponse added in v1.11.0

func (response UploadArtifact403ApplicationProblemPlusJSONResponse) VisitUploadArtifactResponse(w http.ResponseWriter) error

type UploadArtifactParams added in v1.11.0

type UploadArtifactParams struct {
	Template UploadArtifactParamsTemplate `form:"template" json:"template"`
	Version  string                       `form:"version" json:"version"`
	Build    *string                      `form:"build,omitempty" json:"build,omitempty"`

	// JavaVersion The Java feature release the jar needs (17, 21 or 25).
	JavaVersion UploadArtifactParamsJavaVersion `form:"javaVersion" json:"javaVersion"`
}

UploadArtifactParams defines parameters for UploadArtifact.

type UploadArtifactParamsJavaVersion added in v1.11.0

type UploadArtifactParamsJavaVersion int

UploadArtifactParamsJavaVersion defines parameters for UploadArtifact.

Defines values for UploadArtifactParamsJavaVersion.

func (UploadArtifactParamsJavaVersion) Valid added in v1.11.0

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

type UploadArtifactParamsTemplate added in v1.11.0

type UploadArtifactParamsTemplate string

UploadArtifactParamsTemplate defines parameters for UploadArtifact.

const (
	UploadArtifactParamsTemplateFolia    UploadArtifactParamsTemplate = "folia"
	UploadArtifactParamsTemplatePaper    UploadArtifactParamsTemplate = "paper"
	UploadArtifactParamsTemplatePurpur   UploadArtifactParamsTemplate = "purpur"
	UploadArtifactParamsTemplateVanilla  UploadArtifactParamsTemplate = "vanilla"
	UploadArtifactParamsTemplateVelocity UploadArtifactParamsTemplate = "velocity"
)

Defines values for UploadArtifactParamsTemplate.

func (UploadArtifactParamsTemplate) Valid added in v1.11.0

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

type UploadArtifactRequestObject added in v1.11.0

type UploadArtifactRequestObject struct {
	Params UploadArtifactParams
	Body   io.Reader
}

type UploadArtifactResponseObject added in v1.11.0

type UploadArtifactResponseObject interface {
	VisitUploadArtifactResponse(w http.ResponseWriter) error
}

type UploadServerFile204Response added in v1.12.0

type UploadServerFile204Response struct {
}

func (UploadServerFile204Response) VisitUploadServerFileResponse added in v1.12.0

func (response UploadServerFile204Response) VisitUploadServerFileResponse(w http.ResponseWriter) error

type UploadServerFile400ApplicationProblemPlusJSONResponse added in v1.12.0

type UploadServerFile400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UploadServerFile400ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse added in v1.12.0

func (response UploadServerFile400ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse(w http.ResponseWriter) error

type UploadServerFile401ApplicationProblemPlusJSONResponse added in v1.12.0

type UploadServerFile401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UploadServerFile401ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse added in v1.12.0

func (response UploadServerFile401ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse(w http.ResponseWriter) error

type UploadServerFile403ApplicationProblemPlusJSONResponse added in v1.12.0

type UploadServerFile403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UploadServerFile403ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse added in v1.12.0

func (response UploadServerFile403ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse(w http.ResponseWriter) error

type UploadServerFile404ApplicationProblemPlusJSONResponse added in v1.12.0

type UploadServerFile404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UploadServerFile404ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse added in v1.12.0

func (response UploadServerFile404ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse(w http.ResponseWriter) error

type UploadServerFile409ApplicationProblemPlusJSONResponse added in v1.12.0

type UploadServerFile409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UploadServerFile409ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse added in v1.12.0

func (response UploadServerFile409ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse(w http.ResponseWriter) error

type UploadServerFile413ApplicationProblemPlusJSONResponse added in v1.12.0

type UploadServerFile413ApplicationProblemPlusJSONResponse struct {
	TooLargeApplicationProblemPlusJSONResponse
}

func (UploadServerFile413ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse added in v1.12.0

func (response UploadServerFile413ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse(w http.ResponseWriter) error

type UploadServerFile503ApplicationProblemPlusJSONResponse added in v1.12.0

type UploadServerFile503ApplicationProblemPlusJSONResponse struct {
	NodeUnavailableApplicationProblemPlusJSONResponse
}

func (UploadServerFile503ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse added in v1.12.0

func (response UploadServerFile503ApplicationProblemPlusJSONResponse) VisitUploadServerFileResponse(w http.ResponseWriter) error

type UploadServerFileParams added in v1.12.0

type UploadServerFileParams struct {
	// Path A path relative to the server's root.
	Path RequiredFilePath `form:"path" json:"path"`
}

UploadServerFileParams defines parameters for UploadServerFile.

type UploadServerFileRequestObject added in v1.12.0

type UploadServerFileRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Params   UploadServerFileParams
	Body     io.Reader
}

type UploadServerFileResponseObject added in v1.12.0

type UploadServerFileResponseObject interface {
	VisitUploadServerFileResponse(w http.ResponseWriter) error
}

type UploadServerPlugin201JSONResponse added in v1.14.0

type UploadServerPlugin201JSONResponse ServerPlugin

func (UploadServerPlugin201JSONResponse) VisitUploadServerPluginResponse added in v1.14.0

func (response UploadServerPlugin201JSONResponse) VisitUploadServerPluginResponse(w http.ResponseWriter) error

type UploadServerPlugin400ApplicationProblemPlusJSONResponse added in v1.14.0

type UploadServerPlugin400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UploadServerPlugin400ApplicationProblemPlusJSONResponse) VisitUploadServerPluginResponse added in v1.14.0

func (response UploadServerPlugin400ApplicationProblemPlusJSONResponse) VisitUploadServerPluginResponse(w http.ResponseWriter) error

type UploadServerPlugin401ApplicationProblemPlusJSONResponse added in v1.14.0

type UploadServerPlugin401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UploadServerPlugin401ApplicationProblemPlusJSONResponse) VisitUploadServerPluginResponse added in v1.14.0

func (response UploadServerPlugin401ApplicationProblemPlusJSONResponse) VisitUploadServerPluginResponse(w http.ResponseWriter) error

type UploadServerPlugin403ApplicationProblemPlusJSONResponse added in v1.14.0

type UploadServerPlugin403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UploadServerPlugin403ApplicationProblemPlusJSONResponse) VisitUploadServerPluginResponse added in v1.14.0

func (response UploadServerPlugin403ApplicationProblemPlusJSONResponse) VisitUploadServerPluginResponse(w http.ResponseWriter) error

type UploadServerPlugin404ApplicationProblemPlusJSONResponse added in v1.14.0

type UploadServerPlugin404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UploadServerPlugin404ApplicationProblemPlusJSONResponse) VisitUploadServerPluginResponse added in v1.14.0

func (response UploadServerPlugin404ApplicationProblemPlusJSONResponse) VisitUploadServerPluginResponse(w http.ResponseWriter) error

type UploadServerPlugin409ApplicationProblemPlusJSONResponse added in v1.14.0

type UploadServerPlugin409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UploadServerPlugin409ApplicationProblemPlusJSONResponse) VisitUploadServerPluginResponse added in v1.14.0

func (response UploadServerPlugin409ApplicationProblemPlusJSONResponse) VisitUploadServerPluginResponse(w http.ResponseWriter) error

type UploadServerPlugin413ApplicationProblemPlusJSONResponse added in v1.14.0

type UploadServerPlugin413ApplicationProblemPlusJSONResponse struct {
	TooLargeApplicationProblemPlusJSONResponse
}

func (UploadServerPlugin413ApplicationProblemPlusJSONResponse) VisitUploadServerPluginResponse added in v1.14.0

func (response UploadServerPlugin413ApplicationProblemPlusJSONResponse) VisitUploadServerPluginResponse(w http.ResponseWriter) error

type UploadServerPluginParams added in v1.14.0

type UploadServerPluginParams struct {
	// FileName The jar's file name, for display; only its last path element is kept.
	FileName *string `form:"fileName,omitempty" json:"fileName,omitempty"`
}

UploadServerPluginParams defines parameters for UploadServerPlugin.

type UploadServerPluginRequestObject added in v1.14.0

type UploadServerPluginRequestObject struct {
	ServerId ServerId `json:"serverId"`
	Params   UploadServerPluginParams
	Body     io.Reader
}

type UploadServerPluginResponseObject added in v1.14.0

type UploadServerPluginResponseObject interface {
	VisitUploadServerPluginResponse(w http.ResponseWriter) error
}

type User added in v1.4.0

type User struct {
	CreatedAt              time.Time          `json:"createdAt"`
	Disabled               bool               `json:"disabled"`
	DisabledAt             *time.Time         `json:"disabledAt,omitempty"`
	DisplayName            string             `json:"displayName"`
	Email                  string             `json:"email"`
	GlobalAdmin            bool               `json:"globalAdmin"`
	Id                     openapi_types.UUID `json:"id"`
	PasswordChangeRequired bool               `json:"passwordChangeRequired"`
	Username               string             `json:"username"`
}

User defines model for User.

type UserId added in v1.4.0

type UserId = openapi_types.UUID

UserId defines model for UserId.

type UserList added in v1.4.0

type UserList struct {
	Items []User `json:"items"`

	// NextCursor Pass as `cursor` for the next page; absent on the last page.
	NextCursor *string `json:"nextCursor,omitempty"`
}

UserList defines model for UserList.

type Workflow added in v1.18.0

type Workflow struct {
	BackupId       *openapi_types.UUID `json:"backupId,omitempty"`
	CreatedAt      time.Time           `json:"createdAt"`
	Error          *string             `json:"error,omitempty"`
	FromNodeId     *openapi_types.UUID `json:"fromNodeId,omitempty"`
	Id             openapi_types.UUID  `json:"id"`
	Kind           WorkflowKind        `json:"kind"`
	ServerId       openapi_types.UUID  `json:"serverId"`
	SourceServerId *openapi_types.UUID `json:"sourceServerId,omitempty"`
	State          WorkflowState       `json:"state"`
	ToNodeId       *openapi_types.UUID `json:"toNodeId,omitempty"`
}

Workflow defines model for Workflow.

type WorkflowKind added in v1.18.0

type WorkflowKind string

WorkflowKind defines model for Workflow.Kind.

const (
	CLONE        WorkflowKind = "CLONE"
	MIGRATE      WorkflowKind = "MIGRATE"
	RESTORE      WorkflowKind = "RESTORE"
	RESTOREASNEW WorkflowKind = "RESTORE_AS_NEW"
)

Defines values for WorkflowKind.

func (WorkflowKind) Valid added in v1.18.0

func (e WorkflowKind) Valid() bool

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

type WorkflowState added in v1.18.0

type WorkflowState string

WorkflowState defines model for Workflow.State.

const (
	WorkflowStateFAILED    WorkflowState = "FAILED"
	WorkflowStateRUNNING   WorkflowState = "RUNNING"
	WorkflowStateSUCCEEDED WorkflowState = "SUCCEEDED"
)

Defines values for WorkflowState.

func (WorkflowState) Valid added in v1.18.0

func (e WorkflowState) Valid() bool

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

Jump to

Keyboard shortcuts

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