Versions in this module Expand all Collapse all v1 v1.0.2 Mar 13, 2026 v1.0.1 Mar 13, 2026 Changes in this version + func Handler(si ServerInterface) http.Handler + func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler + func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler + func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler + type ActionResponse struct + Message string + Timestamp *time.Time + type ApplyNowServer202JSONResponse ActionResponse + func (response ApplyNowServer202JSONResponse) VisitApplyNowServerResponse(w http.ResponseWriter) error + type ApplyNowServer404JSONResponse struct + func (response ApplyNowServer404JSONResponse) VisitApplyNowServerResponse(w http.ResponseWriter) error + type ApplyNowServer500JSONResponse struct + func (response ApplyNowServer500JSONResponse) VisitApplyNowServerResponse(w http.ResponseWriter) error + type ApplyNowServerRequestObject struct + Name ServerName + Namespace Namespace + type ApplyNowServerResponseObject interface + VisitApplyNowServerResponse func(w http.ResponseWriter) error + type AvailableUpdate struct + Build *int + FoundAt *time.Time + Plugins *[]PluginVersionPair + ReleasedAt *time.Time + Version *string + type BadRequest = ErrorResponse + type BadRequestJSONResponse ErrorResponse + type BlockedByInfo struct + Plugin *string + SupportedVersions *[]string + Version *string + type CompatibilityOverride struct + Enabled *bool + MinecraftVersions *[]string + type Condition struct + LastTransitionTime *time.Time + Message *string + ObservedGeneration *int64 + Reason *string + Status ConditionStatus + Type string + type ConditionStatus string + const ConditionStatusFalse + const ConditionStatusTrue + const ConditionStatusUnknown + func (e ConditionStatus) Valid() bool + type Conflict = ErrorResponse + type ConflictJSONResponse ErrorResponse + type CreatePlugin201JSONResponse PluginDetail + func (response CreatePlugin201JSONResponse) VisitCreatePluginResponse(w http.ResponseWriter) error + type CreatePlugin400JSONResponse struct + func (response CreatePlugin400JSONResponse) VisitCreatePluginResponse(w http.ResponseWriter) error + type CreatePlugin409JSONResponse struct + func (response CreatePlugin409JSONResponse) VisitCreatePluginResponse(w http.ResponseWriter) error + type CreatePlugin500JSONResponse struct + func (response CreatePlugin500JSONResponse) VisitCreatePluginResponse(w http.ResponseWriter) error + type CreatePluginJSONRequestBody = PluginCreateRequest + type CreatePluginRequestObject struct + Body *CreatePluginJSONRequestBody + type CreatePluginResponseObject interface + VisitCreatePluginResponse func(w http.ResponseWriter) error + type CreateServer201JSONResponse ServerDetail + func (response CreateServer201JSONResponse) VisitCreateServerResponse(w http.ResponseWriter) error + type CreateServer400JSONResponse struct + func (response CreateServer400JSONResponse) VisitCreateServerResponse(w http.ResponseWriter) error + type CreateServer409JSONResponse struct + func (response CreateServer409JSONResponse) VisitCreateServerResponse(w http.ResponseWriter) error + type CreateServer500JSONResponse struct + func (response CreateServer500JSONResponse) VisitCreateServerResponse(w http.ResponseWriter) error + type CreateServerJSONRequestBody = ServerCreateRequest + type CreateServerRequestObject struct + Body *CreateServerJSONRequestBody + type CreateServerResponseObject interface + VisitCreateServerResponse func(w http.ResponseWriter) error + type DeletePlugin204Response struct + func (response DeletePlugin204Response) VisitDeletePluginResponse(w http.ResponseWriter) error + type DeletePlugin404JSONResponse struct + func (response DeletePlugin404JSONResponse) VisitDeletePluginResponse(w http.ResponseWriter) error + type DeletePlugin500JSONResponse struct + func (response DeletePlugin500JSONResponse) VisitDeletePluginResponse(w http.ResponseWriter) error + type DeletePluginRequestObject struct + Name PluginName + Namespace Namespace + type DeletePluginResponseObject interface + VisitDeletePluginResponse func(w http.ResponseWriter) error + type DeleteServer204Response struct + func (response DeleteServer204Response) VisitDeleteServerResponse(w http.ResponseWriter) error + type DeleteServer404JSONResponse struct + func (response DeleteServer404JSONResponse) VisitDeleteServerResponse(w http.ResponseWriter) error + type DeleteServer500JSONResponse struct + func (response DeleteServer500JSONResponse) VisitDeleteServerResponse(w http.ResponseWriter) error + type DeleteServerRequestObject struct + Name ServerName + Namespace Namespace + type DeleteServerResponseObject interface + VisitDeleteServerResponse func(w http.ResponseWriter) error + type DeletionProgressEntry struct + DeletedAt *time.Time + JarDeleted bool + Namespace string + ServerName string + type ErrorResponse struct + Code *ErrorResponseCode + Details *map[string]interface{} + Error string + type ErrorResponseCode string + const ALREADYEXISTS + const FORBIDDEN + const INTERNALERROR + const INVALIDREQUEST + const NOTFOUND + const UNAUTHORIZED + func (e ErrorResponseCode) Valid() bool + type GetHealth200JSONResponse HealthResponse + func (response GetHealth200JSONResponse) VisitGetHealthResponse(w http.ResponseWriter) error + type GetHealth503JSONResponse HealthResponse + func (response GetHealth503JSONResponse) VisitGetHealthResponse(w http.ResponseWriter) error + type GetHealthRequestObject struct + type GetHealthResponseObject interface + VisitGetHealthResponse func(w http.ResponseWriter) error + type GetPlugin200JSONResponse PluginDetail + func (response GetPlugin200JSONResponse) VisitGetPluginResponse(w http.ResponseWriter) error + type GetPlugin404JSONResponse struct + func (response GetPlugin404JSONResponse) VisitGetPluginResponse(w http.ResponseWriter) error + type GetPlugin500JSONResponse struct + func (response GetPlugin500JSONResponse) VisitGetPluginResponse(w http.ResponseWriter) error + type GetPluginRequestObject struct + Name PluginName + Namespace Namespace + type GetPluginResponseObject interface + VisitGetPluginResponse func(w http.ResponseWriter) error + type GetServer200JSONResponse ServerDetail + func (response GetServer200JSONResponse) VisitGetServerResponse(w http.ResponseWriter) error + type GetServer404JSONResponse struct + func (response GetServer404JSONResponse) VisitGetServerResponse(w http.ResponseWriter) error + type GetServer500JSONResponse struct + func (response GetServer500JSONResponse) VisitGetServerResponse(w http.ResponseWriter) error + type GetServerRequestObject struct + Name ServerName + Namespace Namespace + type GetServerResponseObject interface + VisitGetServerResponse func(w http.ResponseWriter) error + type GetVersion200JSONResponse VersionResponse + func (response GetVersion200JSONResponse) VisitGetVersionResponse(w http.ResponseWriter) error + type GetVersionRequestObject struct + type GetVersionResponseObject interface + VisitGetVersionResponse func(w http.ResponseWriter) error + type HealthResponse struct + Error *string + Status HealthResponseStatus + Timestamp time.Time + type HealthResponseStatus string + const Healthy + const Unhealthy + func (e HealthResponseStatus) Valid() bool + type InternalServerError = ErrorResponse + type InternalServerErrorJSONResponse ErrorResponse + type InvalidParamFormatError struct + Err error + ParamName string + func (e *InvalidParamFormatError) Error() string + func (e *InvalidParamFormatError) Unwrap() error + type LabelSelector struct + MatchExpressions *[]LabelSelectorRequirement + MatchLabels *map[string]string + type LabelSelectorRequirement struct + Key string + Operator LabelSelectorRequirementOperator + Values *[]string + type LabelSelectorRequirementOperator string + const DoesNotExist + const Exists + const In + const NotIn + func (e LabelSelectorRequirementOperator) Valid() bool + type ListNamespaces200JSONResponse NamespaceListResponse + func (response ListNamespaces200JSONResponse) VisitListNamespacesResponse(w http.ResponseWriter) error + type ListNamespaces500JSONResponse struct + func (response ListNamespaces500JSONResponse) VisitListNamespacesResponse(w http.ResponseWriter) error + type ListNamespacesRequestObject struct + type ListNamespacesResponseObject interface + VisitListNamespacesResponse func(w http.ResponseWriter) error + type ListPlugins200JSONResponse PluginListResponse + func (response ListPlugins200JSONResponse) VisitListPluginsResponse(w http.ResponseWriter) error + type ListPlugins500JSONResponse struct + func (response ListPlugins500JSONResponse) VisitListPluginsResponse(w http.ResponseWriter) error + type ListPluginsParams struct + Namespace *string + type ListPluginsRequestObject struct + Params ListPluginsParams + type ListPluginsResponseObject interface + VisitListPluginsResponse func(w http.ResponseWriter) error + type ListServers200JSONResponse ServerListResponse + func (response ListServers200JSONResponse) VisitListServersResponse(w http.ResponseWriter) error + type ListServers500JSONResponse struct + func (response ListServers500JSONResponse) VisitListServersResponse(w http.ResponseWriter) error + type ListServersParams struct + Namespace *string + type ListServersRequestObject struct + Params ListServersParams + type ListServersResponseObject interface + VisitListServersResponse func(w http.ResponseWriter) error + type MaintenanceSchedule struct + CheckCron *string + Enabled *bool + NextWindow *string + WindowCron *string + type MaintenanceWindowConfig struct + Cron *string + Enabled *bool + type MatchedInstance struct + Compatible bool + Name string + Namespace string + Version *string + type MiddlewareFunc func(http.Handler) http.Handler + type Namespace = string + type NamespaceListResponse struct + Namespaces []string + type NotFound = ErrorResponse + type NotFoundJSONResponse ErrorResponse + type PluginCreateRequest struct + Build *int + CompatibilityOverride *CompatibilityOverride + InstanceSelector LabelSelector + Name string + Namespace string + Port *int + Source PluginSource + UpdateDelay *string + UpdateStrategy *UpdateStrategy + Version *string + type PluginDetail struct + AvailableVersions *[]PluginVersion + Build *int + CompatibilityOverride *CompatibilityOverride + Conditions *[]Condition + DeletionProgress *[]DeletionProgressEntry + InstanceSelector *LabelSelector + LastFetched *time.Time + MatchedInstances *[]MatchedInstance + MatchedServers *int + Name string + Namespace string + Port *int + Project *string + RepositoryStatus *RepositoryStatus + ResolvedVersion *string + SourceType PluginSourceType + UpdateDelay *string + UpdateStrategy UpdateStrategy + Url *string + Version *string + type PluginListResponse struct + Plugins []PluginSummary + type PluginName = string + type PluginSource struct + Checksum *string + Project *string + Type PluginSourceType + Url *string + type PluginSourceType string + const Hangar + const Url + func (e PluginSourceType) Valid() bool + type PluginSummary struct + Build *int + MatchedServers *int + Name string + Namespace string + Project *string + RepositoryStatus *RepositoryStatus + ResolvedVersion *string + SourceType PluginSourceType + UpdateStrategy UpdateStrategy + Url *string + Version *string + type PluginUpdateRequest struct + Build *int + CompatibilityOverride *CompatibilityOverride + InstanceSelector *LabelSelector + Port *int + Source *PluginSource + UpdateDelay *string + UpdateStrategy *UpdateStrategy + Version *string + type PluginVersion struct + CachedAt *time.Time + DownloadUrl string + Hash *string + MinecraftVersions []string + ReleasedAt *time.Time + Version string + type PluginVersionPair struct + Name *string + Namespace *string + Version *string + type RCONConfig struct + Enabled *bool + PasswordSecretKey *string + PasswordSecretName *string + Port *int + type RCONStatus struct + Enabled *bool + Port *int + type RepositoryStatus string + const Available + const Orphaned + const Unavailable + func (e RepositoryStatus) Valid() bool + type RequiredHeaderError struct + Err error + ParamName string + func (e *RequiredHeaderError) Error() string + func (e *RequiredHeaderError) Unwrap() error + type RequiredParamError struct + ParamName string + func (e *RequiredParamError) Error() string + type ResolvePlugin202JSONResponse ActionResponse + func (response ResolvePlugin202JSONResponse) VisitResolvePluginResponse(w http.ResponseWriter) error + type ResolvePlugin404JSONResponse struct + func (response ResolvePlugin404JSONResponse) VisitResolvePluginResponse(w http.ResponseWriter) error + type ResolvePlugin500JSONResponse struct + func (response ResolvePlugin500JSONResponse) VisitResolvePluginResponse(w http.ResponseWriter) error + type ResolvePluginRequestObject struct + Name PluginName + Namespace Namespace + type ResolvePluginResponseObject interface + VisitResolvePluginResponse func(w http.ResponseWriter) error + type ResolveServer202JSONResponse ActionResponse + func (response ResolveServer202JSONResponse) VisitResolveServerResponse(w http.ResponseWriter) error + type ResolveServer404JSONResponse struct + func (response ResolveServer404JSONResponse) VisitResolveServerResponse(w http.ResponseWriter) error + type ResolveServer500JSONResponse struct + func (response ResolveServer500JSONResponse) VisitResolveServerResponse(w http.ResponseWriter) error + type ResolveServerRequestObject struct + Name ServerName + Namespace Namespace + type ResolveServerResponseObject interface + VisitResolveServerResponse func(w http.ResponseWriter) error + type ServeMux interface + HandleFunc func(pattern string, handler func(http.ResponseWriter, *http.Request)) + ServeHTTP func(w http.ResponseWriter, r *http.Request) + type ServerCreateRequest struct + Build *int + CheckCron *string + GracefulShutdownTimeout *string + Labels *map[string]string + MaintenanceWindow *MaintenanceWindowConfig + Name string + Namespace string + Rcon *RCONConfig + Service *ServiceConfig + UpdateDelay *string + UpdateStrategy UpdateStrategy + Version *string + type ServerDetail struct + AvailableUpdate *AvailableUpdate + Conditions *[]Condition + CurrentBuild *int + CurrentVersion *string + DesiredBuild *int + DesiredVersion *string + Labels *map[string]string + LastUpdate *UpdateHistory + MaintenanceSchedule *MaintenanceSchedule + Name string + Namespace string + NextMaintenance *string + PluginCount *int + Plugins *[]ServerPlugin + Rcon *RCONStatus + Service *ServiceStatus + Status ServerStatus + UpdateBlocked *UpdateBlockedStatus + UpdateStrategy UpdateStrategy + type ServerInterface interface + ApplyNowServer func(w http.ResponseWriter, r *http.Request, namespace Namespace, name ServerName) + CreatePlugin func(w http.ResponseWriter, r *http.Request) + CreateServer func(w http.ResponseWriter, r *http.Request) + DeletePlugin func(w http.ResponseWriter, r *http.Request, namespace Namespace, name PluginName) + DeleteServer func(w http.ResponseWriter, r *http.Request, namespace Namespace, name ServerName) + GetHealth func(w http.ResponseWriter, r *http.Request) + GetPlugin func(w http.ResponseWriter, r *http.Request, namespace Namespace, name PluginName) + GetServer func(w http.ResponseWriter, r *http.Request, namespace Namespace, name ServerName) + GetVersion func(w http.ResponseWriter, r *http.Request) + ListNamespaces func(w http.ResponseWriter, r *http.Request) + ListPlugins func(w http.ResponseWriter, r *http.Request, params ListPluginsParams) + ListServers func(w http.ResponseWriter, r *http.Request, params ListServersParams) + ResolvePlugin func(w http.ResponseWriter, r *http.Request, namespace Namespace, name PluginName) + ResolveServer func(w http.ResponseWriter, r *http.Request, namespace Namespace, name ServerName) + UpdatePlugin func(w http.ResponseWriter, r *http.Request, namespace Namespace, name PluginName) + UpdateServer func(w http.ResponseWriter, r *http.Request, namespace Namespace, name ServerName) + func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface + func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, ...) ServerInterface + type ServerInterfaceWrapper struct + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Handler ServerInterface + HandlerMiddlewares []MiddlewareFunc + func (siw *ServerInterfaceWrapper) ApplyNowServer(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) CreatePlugin(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) CreateServer(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) DeletePlugin(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) DeleteServer(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetHealth(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetPlugin(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetServer(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetVersion(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) ListNamespaces(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) ListPlugins(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) ListServers(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) ResolvePlugin(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) ResolveServer(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) UpdatePlugin(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) UpdateServer(w http.ResponseWriter, r *http.Request) + type ServerListResponse struct + Servers []ServerSummary + type ServerName = string + type ServerPlugin struct + Compatible bool + CurrentVersion *string + DesiredVersion *string + InstalledJarName *string + Name string + Namespace *string + PendingDeletion *bool + Project *string + ResolvedVersion *string + Source *string + type ServerStatus string + const ServerStatusRunning + const ServerStatusUnknown + const ServerStatusUpdating + func (e ServerStatus) Valid() bool + type ServerSummary struct + AvailableUpdate *AvailableUpdate + CurrentVersion *string + DesiredVersion *string + Labels *map[string]string + Name string + Namespace string + NextMaintenance *string + PluginCount *int + Status ServerStatus + UpdateStrategy UpdateStrategy + type ServerUpdateRequest struct + Build *int + CheckCron *string + Labels *map[string]string + MaintenanceWindow *MaintenanceWindowConfig + UpdateDelay *string + UpdateStrategy *UpdateStrategy + Version *string + type ServiceConfig struct + Annotations *map[string]string + LoadBalancerIP *string + Type *ServiceType + type ServiceStatus struct + ClusterIP *string + ExternalIP *string + Type *ServiceType + type ServiceType string + const ClusterIP + const LoadBalancer + const NodePort + func (e ServiceType) Valid() bool + type StdHTTPServerOptions struct + BaseRouter ServeMux + BaseURL string + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Middlewares []MiddlewareFunc + 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 = strictnethttp.StrictHTTPHandlerFunc + type StrictMiddlewareFunc = strictnethttp.StrictHTTPMiddlewareFunc + type StrictServerInterface interface + ApplyNowServer func(ctx context.Context, request ApplyNowServerRequestObject) (ApplyNowServerResponseObject, error) + CreatePlugin func(ctx context.Context, request CreatePluginRequestObject) (CreatePluginResponseObject, error) + CreateServer func(ctx context.Context, request CreateServerRequestObject) (CreateServerResponseObject, error) + DeletePlugin func(ctx context.Context, request DeletePluginRequestObject) (DeletePluginResponseObject, error) + DeleteServer func(ctx context.Context, request DeleteServerRequestObject) (DeleteServerResponseObject, error) + GetHealth func(ctx context.Context, request GetHealthRequestObject) (GetHealthResponseObject, error) + GetPlugin func(ctx context.Context, request GetPluginRequestObject) (GetPluginResponseObject, error) + GetServer func(ctx context.Context, request GetServerRequestObject) (GetServerResponseObject, error) + GetVersion func(ctx context.Context, request GetVersionRequestObject) (GetVersionResponseObject, error) + ListNamespaces func(ctx context.Context, request ListNamespacesRequestObject) (ListNamespacesResponseObject, error) + ListPlugins func(ctx context.Context, request ListPluginsRequestObject) (ListPluginsResponseObject, error) + ListServers func(ctx context.Context, request ListServersRequestObject) (ListServersResponseObject, error) + ResolvePlugin func(ctx context.Context, request ResolvePluginRequestObject) (ResolvePluginResponseObject, error) + ResolveServer func(ctx context.Context, request ResolveServerRequestObject) (ResolveServerResponseObject, error) + UpdatePlugin func(ctx context.Context, request UpdatePluginRequestObject) (UpdatePluginResponseObject, error) + UpdateServer func(ctx context.Context, request UpdateServerRequestObject) (UpdateServerResponseObject, error) + type TooManyValuesForParamError struct + Count int + ParamName string + func (e *TooManyValuesForParamError) Error() string + type UnescapedCookieParamError struct + Err error + ParamName string + func (e *UnescapedCookieParamError) Error() string + func (e *UnescapedCookieParamError) Unwrap() error + type UnmarshalingParamError struct + Err error + ParamName string + func (e *UnmarshalingParamError) Error() string + func (e *UnmarshalingParamError) Unwrap() error + type UpdateBlockedStatus struct + Blocked *bool + BlockedBy *BlockedByInfo + Reason *string + type UpdateHistory struct + AppliedAt *time.Time + PreviousVersion *string + Successful *bool + type UpdatePlugin200JSONResponse PluginDetail + func (response UpdatePlugin200JSONResponse) VisitUpdatePluginResponse(w http.ResponseWriter) error + type UpdatePlugin400JSONResponse struct + func (response UpdatePlugin400JSONResponse) VisitUpdatePluginResponse(w http.ResponseWriter) error + type UpdatePlugin404JSONResponse struct + func (response UpdatePlugin404JSONResponse) VisitUpdatePluginResponse(w http.ResponseWriter) error + type UpdatePlugin500JSONResponse struct + func (response UpdatePlugin500JSONResponse) VisitUpdatePluginResponse(w http.ResponseWriter) error + type UpdatePluginJSONRequestBody = PluginUpdateRequest + type UpdatePluginRequestObject struct + Body *UpdatePluginJSONRequestBody + Name PluginName + Namespace Namespace + type UpdatePluginResponseObject interface + VisitUpdatePluginResponse func(w http.ResponseWriter) error + type UpdateServer200JSONResponse ServerDetail + func (response UpdateServer200JSONResponse) VisitUpdateServerResponse(w http.ResponseWriter) error + type UpdateServer400JSONResponse struct + func (response UpdateServer400JSONResponse) VisitUpdateServerResponse(w http.ResponseWriter) error + type UpdateServer404JSONResponse struct + func (response UpdateServer404JSONResponse) VisitUpdateServerResponse(w http.ResponseWriter) error + type UpdateServer500JSONResponse struct + func (response UpdateServer500JSONResponse) VisitUpdateServerResponse(w http.ResponseWriter) error + type UpdateServerJSONRequestBody = ServerUpdateRequest + type UpdateServerRequestObject struct + Body *UpdateServerJSONRequestBody + Name ServerName + Namespace Namespace + type UpdateServerResponseObject interface + VisitUpdateServerResponse func(w http.ResponseWriter) error + type UpdateStrategy string + const Auto + const BuildPin + const Latest + const Pin + func (e UpdateStrategy) Valid() bool + type VersionResponse struct + ApiVersion string + BuildDate *time.Time + GitCommit *string + GoVersion *string + Version string