adminapi

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

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

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

Index

Constants

View Source
const (
	SessionidScopes = "sessionid.Scopes"
)

Variables

This section is empty.

Functions

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

Types

type APIErrorResponse

type APIErrorResponse struct {
	Errors []string `json:"errors"`
}

APIErrorResponse defines model for APIErrorResponse.

type ChangePasswordRequest added in v0.9.0

type ChangePasswordRequest struct {
	NewPassword string `json:"newPassword"`
	OldPassword string `json:"oldPassword"`
}

ChangePasswordRequest defines model for ChangePasswordRequest.

type ChangeUserPassword204Response added in v0.9.0

type ChangeUserPassword204Response struct {
}

func (ChangeUserPassword204Response) VisitChangeUserPasswordResponse added in v0.9.0

func (response ChangeUserPassword204Response) VisitChangeUserPasswordResponse(w http.ResponseWriter) error

type ChangeUserPassword400JSONResponse added in v0.9.0

type ChangeUserPassword400JSONResponse APIErrorResponse

func (ChangeUserPassword400JSONResponse) VisitChangeUserPasswordResponse added in v0.9.0

func (response ChangeUserPassword400JSONResponse) VisitChangeUserPasswordResponse(w http.ResponseWriter) error

type ChangeUserPassword401JSONResponse added in v0.9.0

type ChangeUserPassword401JSONResponse APIErrorResponse

func (ChangeUserPassword401JSONResponse) VisitChangeUserPasswordResponse added in v0.9.0

func (response ChangeUserPassword401JSONResponse) VisitChangeUserPasswordResponse(w http.ResponseWriter) error

type ChangeUserPassword403JSONResponse added in v0.9.0

type ChangeUserPassword403JSONResponse APIErrorResponse

func (ChangeUserPassword403JSONResponse) VisitChangeUserPasswordResponse added in v0.9.0

func (response ChangeUserPassword403JSONResponse) VisitChangeUserPasswordResponse(w http.ResponseWriter) error

type ChangeUserPassword404JSONResponse added in v0.9.0

type ChangeUserPassword404JSONResponse APIErrorResponse

func (ChangeUserPassword404JSONResponse) VisitChangeUserPasswordResponse added in v0.9.0

func (response ChangeUserPassword404JSONResponse) VisitChangeUserPasswordResponse(w http.ResponseWriter) error

type ChangeUserPassword500JSONResponse added in v0.9.0

type ChangeUserPassword500JSONResponse APIErrorResponse

func (ChangeUserPassword500JSONResponse) VisitChangeUserPasswordResponse added in v0.9.0

func (response ChangeUserPassword500JSONResponse) VisitChangeUserPasswordResponse(w http.ResponseWriter) error

type ChangeUserPasswordJSONBody added in v0.9.0

type ChangeUserPasswordJSONBody struct {
	NewPassword string `json:"newPassword"`
	OldPassword string `json:"oldPassword"`
}

ChangeUserPasswordJSONBody defines parameters for ChangeUserPassword.

type ChangeUserPasswordJSONRequestBody added in v0.9.0

type ChangeUserPasswordJSONRequestBody ChangeUserPasswordJSONBody

ChangeUserPasswordJSONRequestBody defines body for ChangeUserPassword for application/json ContentType.

type ChangeUserPasswordRequestObject added in v0.9.0

type ChangeUserPasswordRequestObject struct {
	UserID int `json:"userID"`
	Body   *ChangeUserPasswordJSONRequestBody
}

type ChangeUserPasswordResponseObject added in v0.9.0

type ChangeUserPasswordResponseObject interface {
	VisitChangeUserPasswordResponse(w http.ResponseWriter) error
}

type CreateGroup201JSONResponse added in v0.9.0

type CreateGroup201JSONResponse Group

func (CreateGroup201JSONResponse) VisitCreateGroupResponse added in v0.9.0

func (response CreateGroup201JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateGroup400JSONResponse added in v0.9.0

type CreateGroup400JSONResponse APIErrorResponse

func (CreateGroup400JSONResponse) VisitCreateGroupResponse added in v0.9.0

func (response CreateGroup400JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateGroup401JSONResponse added in v0.9.0

type CreateGroup401JSONResponse APIErrorResponse

func (CreateGroup401JSONResponse) VisitCreateGroupResponse added in v0.9.0

func (response CreateGroup401JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateGroup403JSONResponse added in v0.9.0

type CreateGroup403JSONResponse APIErrorResponse

func (CreateGroup403JSONResponse) VisitCreateGroupResponse added in v0.9.0

func (response CreateGroup403JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateGroup409JSONResponse added in v0.9.0

type CreateGroup409JSONResponse APIErrorResponse

func (CreateGroup409JSONResponse) VisitCreateGroupResponse added in v0.9.0

func (response CreateGroup409JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateGroup500JSONResponse added in v0.9.0

type CreateGroup500JSONResponse APIErrorResponse

func (CreateGroup500JSONResponse) VisitCreateGroupResponse added in v0.9.0

func (response CreateGroup500JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateGroupJSONBody added in v0.9.0

type CreateGroupJSONBody struct {
	Name          string `json:"name"`
	PermissionIDs []int  `json:"permissionIDs"`
}

CreateGroupJSONBody defines parameters for CreateGroup.

type CreateGroupJSONRequestBody added in v0.9.0

type CreateGroupJSONRequestBody CreateGroupJSONBody

CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.

type CreateGroupRequest added in v0.9.0

type CreateGroupRequest struct {
	Name          string `json:"name"`
	PermissionIDs []int  `json:"permissionIDs"`
}

CreateGroupRequest defines model for CreateGroupRequest.

type CreateGroupRequestObject added in v0.9.0

type CreateGroupRequestObject struct {
	Body *CreateGroupJSONRequestBody
}

type CreateGroupResponseObject added in v0.9.0

type CreateGroupResponseObject interface {
	VisitCreateGroupResponse(w http.ResponseWriter) error
}

type CreateUser201JSONResponse added in v0.9.1

type CreateUser201JSONResponse User

func (CreateUser201JSONResponse) VisitCreateUserResponse added in v0.9.1

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

type CreateUser400JSONResponse added in v0.9.0

type CreateUser400JSONResponse APIErrorResponse

func (CreateUser400JSONResponse) VisitCreateUserResponse added in v0.9.0

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

type CreateUser401JSONResponse added in v0.9.0

type CreateUser401JSONResponse APIErrorResponse

func (CreateUser401JSONResponse) VisitCreateUserResponse added in v0.9.0

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

type CreateUser403JSONResponse added in v0.9.0

type CreateUser403JSONResponse APIErrorResponse

func (CreateUser403JSONResponse) VisitCreateUserResponse added in v0.9.0

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

type CreateUser409JSONResponse added in v0.9.0

type CreateUser409JSONResponse APIErrorResponse

func (CreateUser409JSONResponse) VisitCreateUserResponse added in v0.9.0

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

type CreateUser500JSONResponse added in v0.9.0

type CreateUser500JSONResponse APIErrorResponse

func (CreateUser500JSONResponse) VisitCreateUserResponse added in v0.9.0

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

type CreateUserJSONBody added in v0.9.0

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

CreateUserJSONBody defines parameters for CreateUser.

type CreateUserJSONRequestBody added in v0.9.0

type CreateUserJSONRequestBody CreateUserJSONBody

CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.

type CreateUserRequest added in v0.9.0

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

CreateUserRequest defines model for CreateUserRequest.

type CreateUserRequestObject added in v0.9.0

type CreateUserRequestObject struct {
	Body *CreateUserJSONRequestBody
}

type CreateUserResponseObject added in v0.9.0

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

type DebugSession added in v0.9.1

type DebugSession struct {
	// SessionExpiresAt The time when the debug session expires.
	SessionExpiresAt time.Time `json:"sessionExpiresAt"`

	// SessionId The ID for the debug session.
	SessionId string `json:"sessionId"`

	// SessionStartedAt The time when the debug session started.
	SessionStartedAt time.Time `json:"sessionStartedAt"`

	// SessionStoppedAt The time when the debug session was stopped. Null if the session is still active.
	SessionStoppedAt *time.Time `json:"sessionStoppedAt,omitempty"`
}

DebugSession defines model for DebugSession.

type DebugSessionOperation added in v0.9.1

type DebugSessionOperation struct {
	// FlowTransitions The flow transitions that occurred during this operation, in chronological order.
	FlowTransitions *[]struct {
		// Component The flow component that the transition corresponds to.
		Component *string `json:"component,omitempty"`
		Result    *struct {
			// Cause The cause of the flow transition result, if outcome is 'failure'.
			Cause   *string                                           `json:"cause,omitempty"`
			Outcome DebugSessionOperationFlowTransitionsResultOutcome `json:"outcome"`
		} `json:"result,omitempty"`

		// StartedAt The time when the flow transition started.
		StartedAt *time.Time `json:"startedAt,omitempty"`

		// StoppedAt The time when the flow transition stopped. Null if the transition is still active.
		StoppedAt *time.Time `json:"stoppedAt,omitempty"`
	} `json:"flowTransitions,omitempty"`

	// Method The HTTP method of the operation.
	Method string `json:"method"`

	// StartedAt The time when the operation was started.
	StartedAt time.Time `json:"startedAt"`

	// StoppedAt The time when the operation was stopped. Null if the operation is still active.
	StoppedAt time.Time `json:"stoppedAt"`

	// Url The full URL of the request.
	Url string `json:"url"`
}

DebugSessionOperation defines model for DebugSessionOperation.

type DebugSessionOperationFlowTransitionsResultOutcome added in v0.9.1

type DebugSessionOperationFlowTransitionsResultOutcome string

DebugSessionOperationFlowTransitionsResultOutcome defines model for DebugSessionOperation.FlowTransitions.Result.Outcome.

Defines values for DebugSessionOperationFlowTransitionsResultOutcome.

func (DebugSessionOperationFlowTransitionsResultOutcome) Valid added in v0.9.1

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

type DeleteGroup204Response added in v0.9.0

type DeleteGroup204Response struct {
}

func (DeleteGroup204Response) VisitDeleteGroupResponse added in v0.9.0

func (response DeleteGroup204Response) VisitDeleteGroupResponse(w http.ResponseWriter) error

type DeleteGroup400JSONResponse added in v0.9.0

type DeleteGroup400JSONResponse APIErrorResponse

func (DeleteGroup400JSONResponse) VisitDeleteGroupResponse added in v0.9.0

func (response DeleteGroup400JSONResponse) VisitDeleteGroupResponse(w http.ResponseWriter) error

type DeleteGroup401JSONResponse added in v0.9.0

type DeleteGroup401JSONResponse APIErrorResponse

func (DeleteGroup401JSONResponse) VisitDeleteGroupResponse added in v0.9.0

func (response DeleteGroup401JSONResponse) VisitDeleteGroupResponse(w http.ResponseWriter) error

type DeleteGroup403JSONResponse added in v0.9.0

type DeleteGroup403JSONResponse APIErrorResponse

func (DeleteGroup403JSONResponse) VisitDeleteGroupResponse added in v0.9.0

func (response DeleteGroup403JSONResponse) VisitDeleteGroupResponse(w http.ResponseWriter) error

type DeleteGroup404JSONResponse added in v0.9.0

type DeleteGroup404JSONResponse APIErrorResponse

func (DeleteGroup404JSONResponse) VisitDeleteGroupResponse added in v0.9.0

func (response DeleteGroup404JSONResponse) VisitDeleteGroupResponse(w http.ResponseWriter) error

type DeleteGroup500JSONResponse added in v0.9.0

type DeleteGroup500JSONResponse APIErrorResponse

func (DeleteGroup500JSONResponse) VisitDeleteGroupResponse added in v0.9.0

func (response DeleteGroup500JSONResponse) VisitDeleteGroupResponse(w http.ResponseWriter) error

type DeleteGroupRequestObject added in v0.9.0

type DeleteGroupRequestObject struct {
	GroupID int `json:"groupID"`
}

type DeleteGroupResponseObject added in v0.9.0

type DeleteGroupResponseObject interface {
	VisitDeleteGroupResponse(w http.ResponseWriter) error
}

type DeleteUser204Response added in v0.9.0

type DeleteUser204Response struct {
}

func (DeleteUser204Response) VisitDeleteUserResponse added in v0.9.0

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

type DeleteUser400JSONResponse added in v0.9.0

type DeleteUser400JSONResponse APIErrorResponse

func (DeleteUser400JSONResponse) VisitDeleteUserResponse added in v0.9.0

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

type DeleteUser401JSONResponse added in v0.9.0

type DeleteUser401JSONResponse APIErrorResponse

func (DeleteUser401JSONResponse) VisitDeleteUserResponse added in v0.9.0

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

type DeleteUser403JSONResponse added in v0.9.0

type DeleteUser403JSONResponse APIErrorResponse

func (DeleteUser403JSONResponse) VisitDeleteUserResponse added in v0.9.0

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

type DeleteUser404JSONResponse added in v0.9.0

type DeleteUser404JSONResponse APIErrorResponse

func (DeleteUser404JSONResponse) VisitDeleteUserResponse added in v0.9.0

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

type DeleteUser500JSONResponse added in v0.9.0

type DeleteUser500JSONResponse APIErrorResponse

func (DeleteUser500JSONResponse) VisitDeleteUserResponse added in v0.9.0

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

type DeleteUserRequestObject added in v0.9.0

type DeleteUserRequestObject struct {
	UserID int `json:"userID"`
}

type DeleteUserResponseObject added in v0.9.0

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

type ExtendDebugSession200JSONResponse added in v0.9.1

type ExtendDebugSession200JSONResponse DebugSession

func (ExtendDebugSession200JSONResponse) VisitExtendDebugSessionResponse added in v0.9.1

func (response ExtendDebugSession200JSONResponse) VisitExtendDebugSessionResponse(w http.ResponseWriter) error

type ExtendDebugSession400JSONResponse added in v0.9.1

type ExtendDebugSession400JSONResponse APIErrorResponse

func (ExtendDebugSession400JSONResponse) VisitExtendDebugSessionResponse added in v0.9.1

func (response ExtendDebugSession400JSONResponse) VisitExtendDebugSessionResponse(w http.ResponseWriter) error

type ExtendDebugSession404JSONResponse added in v0.9.1

type ExtendDebugSession404JSONResponse APIErrorResponse

func (ExtendDebugSession404JSONResponse) VisitExtendDebugSessionResponse added in v0.9.1

func (response ExtendDebugSession404JSONResponse) VisitExtendDebugSessionResponse(w http.ResponseWriter) error

type ExtendDebugSession409JSONResponse added in v0.9.1

type ExtendDebugSession409JSONResponse APIErrorResponse

func (ExtendDebugSession409JSONResponse) VisitExtendDebugSessionResponse added in v0.9.1

func (response ExtendDebugSession409JSONResponse) VisitExtendDebugSessionResponse(w http.ResponseWriter) error

type ExtendDebugSession500JSONResponse added in v0.9.1

type ExtendDebugSession500JSONResponse APIErrorResponse

func (ExtendDebugSession500JSONResponse) VisitExtendDebugSessionResponse added in v0.9.1

func (response ExtendDebugSession500JSONResponse) VisitExtendDebugSessionResponse(w http.ResponseWriter) error

type ExtendDebugSessionJSONBody added in v0.9.1

type ExtendDebugSessionJSONBody struct {
	// AdditionalDurationSeconds Additional duration in seconds to keep the backend in debug mode. Total duration cannot exceed 1 hour.
	AdditionalDurationSeconds int `json:"additionalDurationSeconds"`
}

ExtendDebugSessionJSONBody defines parameters for ExtendDebugSession.

type ExtendDebugSessionJSONRequestBody added in v0.9.1

type ExtendDebugSessionJSONRequestBody ExtendDebugSessionJSONBody

ExtendDebugSessionJSONRequestBody defines body for ExtendDebugSession for application/json ContentType.

type ExtendDebugSessionRequestObject added in v0.9.1

type ExtendDebugSessionRequestObject struct {
	Backend   string `json:"backend"`
	SessionId string `json:"sessionId"`
	Body      *ExtendDebugSessionJSONRequestBody
}

type ExtendDebugSessionResponseObject added in v0.9.1

type ExtendDebugSessionResponseObject interface {
	VisitExtendDebugSessionResponse(w http.ResponseWriter) error
}

type FlowMeta

type FlowMeta struct {
	// Data The metadata for the flow component. The structure of the metadata depends on the flow component.
	Data FlowMeta_Data `json:"data"`

	// Name The name of the flow component, e.g. "observability", "router".
	Name string `json:"name"`
}

FlowMeta defines model for FlowMeta.

type FlowMetaDataAuth

type FlowMetaDataAuth struct {
	Methods *FlowMetaDataAuthMethods `json:"methods,omitempty"`
	Scheme  *FlowMetaDataAuthScheme  `json:"scheme,omitempty"`
}

FlowMetaDataAuth defines model for FlowMetaDataAuth.

type FlowMetaDataAuthMethodBasic

type FlowMetaDataAuthMethodBasic = map[string]interface{}

FlowMetaDataAuthMethodBasic defines model for FlowMetaDataAuthMethodBasic.

type FlowMetaDataAuthMethods

type FlowMetaDataAuthMethods struct {
	Basic *FlowMetaDataAuthMethodBasic `json:"basic,omitempty"`
}

FlowMetaDataAuthMethods defines model for FlowMetaDataAuthMethods.

type FlowMetaDataAuthScheme

type FlowMetaDataAuthScheme struct {
	Mappings *[]FlowMetaDataAuthSchemeMapping `json:"mappings,omitempty"`
}

FlowMetaDataAuthScheme defines model for FlowMetaDataAuthScheme.

type FlowMetaDataAuthSchemeMapping

type FlowMetaDataAuthSchemeMapping struct {
	Authorization *FlowMetaDataAuthSchemeMappingAuthorization `json:"authorization,omitempty"`
	Backend       string                                      `json:"backend"`
	Exempt        *[]string                                   `json:"exempt,omitempty"`
	Method        string                                      `json:"method"`
}

FlowMetaDataAuthSchemeMapping defines model for FlowMetaDataAuthSchemeMapping.

type FlowMetaDataAuthSchemeMappingAuthorization

type FlowMetaDataAuthSchemeMappingAuthorization struct {
	Groups *[]string            `json:"groups,omitempty"`
	Paths  *map[string][]string `json:"paths,omitempty"`
}

FlowMetaDataAuthSchemeMappingAuthorization defines model for FlowMetaDataAuthSchemeMappingAuthorization.

type FlowMetaDataOAS

type FlowMetaDataOAS struct {
	Backends *[]string `json:"backends,omitempty"`
}

FlowMetaDataOAS defines model for FlowMetaDataOAS.

type FlowMetaDataObservability

type FlowMetaDataObservability struct {
	Enabled bool `json:"enabled"`
}

FlowMetaDataObservability defines model for FlowMetaDataObservability.

type FlowMetaDataRouter

type FlowMetaDataRouter struct {
	Backends *[]FlowMetaDataRouterBackend `json:"backends,omitempty"`
}

FlowMetaDataRouter defines model for FlowMetaDataRouter.

type FlowMetaDataRouterBackend

type FlowMetaDataRouterBackend struct {
	Host string `json:"host"`
	Name string `json:"name"`
	Port int    `json:"port"`
}

FlowMetaDataRouterBackend defines model for FlowMetaDataRouterBackend.

type FlowMeta_Data

type FlowMeta_Data struct {
	// contains filtered or unexported fields
}

FlowMeta_Data The metadata for the flow component. The structure of the metadata depends on the flow component.

func (FlowMeta_Data) AsFlowMetaDataAuth

func (t FlowMeta_Data) AsFlowMetaDataAuth() (FlowMetaDataAuth, error)

AsFlowMetaDataAuth returns the union data inside the FlowMeta_Data as a FlowMetaDataAuth

func (FlowMeta_Data) AsFlowMetaDataOAS

func (t FlowMeta_Data) AsFlowMetaDataOAS() (FlowMetaDataOAS, error)

AsFlowMetaDataOAS returns the union data inside the FlowMeta_Data as a FlowMetaDataOAS

func (FlowMeta_Data) AsFlowMetaDataObservability

func (t FlowMeta_Data) AsFlowMetaDataObservability() (FlowMetaDataObservability, error)

AsFlowMetaDataObservability returns the union data inside the FlowMeta_Data as a FlowMetaDataObservability

func (FlowMeta_Data) AsFlowMetaDataRouter

func (t FlowMeta_Data) AsFlowMetaDataRouter() (FlowMetaDataRouter, error)

AsFlowMetaDataRouter returns the union data inside the FlowMeta_Data as a FlowMetaDataRouter

func (FlowMeta_Data) AsNoFlowMetaData

func (t FlowMeta_Data) AsNoFlowMetaData() (NoFlowMetaData, error)

AsNoFlowMetaData returns the union data inside the FlowMeta_Data as a NoFlowMetaData

func (*FlowMeta_Data) FromFlowMetaDataAuth

func (t *FlowMeta_Data) FromFlowMetaDataAuth(v FlowMetaDataAuth) error

FromFlowMetaDataAuth overwrites any union data inside the FlowMeta_Data as the provided FlowMetaDataAuth

func (*FlowMeta_Data) FromFlowMetaDataOAS

func (t *FlowMeta_Data) FromFlowMetaDataOAS(v FlowMetaDataOAS) error

FromFlowMetaDataOAS overwrites any union data inside the FlowMeta_Data as the provided FlowMetaDataOAS

func (*FlowMeta_Data) FromFlowMetaDataObservability

func (t *FlowMeta_Data) FromFlowMetaDataObservability(v FlowMetaDataObservability) error

FromFlowMetaDataObservability overwrites any union data inside the FlowMeta_Data as the provided FlowMetaDataObservability

func (*FlowMeta_Data) FromFlowMetaDataRouter

func (t *FlowMeta_Data) FromFlowMetaDataRouter(v FlowMetaDataRouter) error

FromFlowMetaDataRouter overwrites any union data inside the FlowMeta_Data as the provided FlowMetaDataRouter

func (*FlowMeta_Data) FromNoFlowMetaData

func (t *FlowMeta_Data) FromNoFlowMetaData(v NoFlowMetaData) error

FromNoFlowMetaData overwrites any union data inside the FlowMeta_Data as the provided NoFlowMetaData

func (FlowMeta_Data) MarshalJSON

func (t FlowMeta_Data) MarshalJSON() ([]byte, error)

func (*FlowMeta_Data) MergeFlowMetaDataAuth

func (t *FlowMeta_Data) MergeFlowMetaDataAuth(v FlowMetaDataAuth) error

MergeFlowMetaDataAuth performs a merge with any union data inside the FlowMeta_Data, using the provided FlowMetaDataAuth

func (*FlowMeta_Data) MergeFlowMetaDataOAS

func (t *FlowMeta_Data) MergeFlowMetaDataOAS(v FlowMetaDataOAS) error

MergeFlowMetaDataOAS performs a merge with any union data inside the FlowMeta_Data, using the provided FlowMetaDataOAS

func (*FlowMeta_Data) MergeFlowMetaDataObservability

func (t *FlowMeta_Data) MergeFlowMetaDataObservability(v FlowMetaDataObservability) error

MergeFlowMetaDataObservability performs a merge with any union data inside the FlowMeta_Data, using the provided FlowMetaDataObservability

func (*FlowMeta_Data) MergeFlowMetaDataRouter

func (t *FlowMeta_Data) MergeFlowMetaDataRouter(v FlowMetaDataRouter) error

MergeFlowMetaDataRouter performs a merge with any union data inside the FlowMeta_Data, using the provided FlowMetaDataRouter

func (*FlowMeta_Data) MergeNoFlowMetaData

func (t *FlowMeta_Data) MergeNoFlowMetaData(v NoFlowMetaData) error

MergeNoFlowMetaData performs a merge with any union data inside the FlowMeta_Data, using the provided NoFlowMetaData

func (*FlowMeta_Data) UnmarshalJSON

func (t *FlowMeta_Data) UnmarshalJSON(b []byte) error

type GetBackendOAS200ApplicationyamlResponse

type GetBackendOAS200ApplicationyamlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (GetBackendOAS200ApplicationyamlResponse) VisitGetBackendOASResponse

func (response GetBackendOAS200ApplicationyamlResponse) VisitGetBackendOASResponse(w http.ResponseWriter) error

type GetBackendOAS401JSONResponse added in v0.9.0

type GetBackendOAS401JSONResponse APIErrorResponse

func (GetBackendOAS401JSONResponse) VisitGetBackendOASResponse added in v0.9.0

func (response GetBackendOAS401JSONResponse) VisitGetBackendOASResponse(w http.ResponseWriter) error

type GetBackendOAS403JSONResponse added in v0.9.0

type GetBackendOAS403JSONResponse APIErrorResponse

func (GetBackendOAS403JSONResponse) VisitGetBackendOASResponse added in v0.9.0

func (response GetBackendOAS403JSONResponse) VisitGetBackendOASResponse(w http.ResponseWriter) error

type GetBackendOAS404JSONResponse

type GetBackendOAS404JSONResponse APIErrorResponse

func (GetBackendOAS404JSONResponse) VisitGetBackendOASResponse

func (response GetBackendOAS404JSONResponse) VisitGetBackendOASResponse(w http.ResponseWriter) error

type GetBackendOAS500JSONResponse

type GetBackendOAS500JSONResponse APIErrorResponse

func (GetBackendOAS500JSONResponse) VisitGetBackendOASResponse

func (response GetBackendOAS500JSONResponse) VisitGetBackendOASResponse(w http.ResponseWriter) error

type GetBackendOASRequestObject

type GetBackendOASRequestObject struct {
	Backend string `json:"backend"`
}

type GetBackendOASResponseObject

type GetBackendOASResponseObject interface {
	VisitGetBackendOASResponse(w http.ResponseWriter) error
}

type GetDebugSession200JSONResponse added in v0.9.1

type GetDebugSession200JSONResponse DebugSession

func (GetDebugSession200JSONResponse) VisitGetDebugSessionResponse added in v0.9.1

func (response GetDebugSession200JSONResponse) VisitGetDebugSessionResponse(w http.ResponseWriter) error

type GetDebugSession400JSONResponse added in v0.9.1

type GetDebugSession400JSONResponse APIErrorResponse

func (GetDebugSession400JSONResponse) VisitGetDebugSessionResponse added in v0.9.1

func (response GetDebugSession400JSONResponse) VisitGetDebugSessionResponse(w http.ResponseWriter) error

type GetDebugSession404JSONResponse added in v0.9.1

type GetDebugSession404JSONResponse APIErrorResponse

func (GetDebugSession404JSONResponse) VisitGetDebugSessionResponse added in v0.9.1

func (response GetDebugSession404JSONResponse) VisitGetDebugSessionResponse(w http.ResponseWriter) error

type GetDebugSession500JSONResponse added in v0.9.1

type GetDebugSession500JSONResponse APIErrorResponse

func (GetDebugSession500JSONResponse) VisitGetDebugSessionResponse added in v0.9.1

func (response GetDebugSession500JSONResponse) VisitGetDebugSessionResponse(w http.ResponseWriter) error

type GetDebugSessionRequestObject added in v0.9.1

type GetDebugSessionRequestObject struct {
	Backend   string `json:"backend"`
	SessionId string `json:"sessionId"`
}

type GetDebugSessionResponseObject added in v0.9.1

type GetDebugSessionResponseObject interface {
	VisitGetDebugSessionResponse(w http.ResponseWriter) error
}

type GetFlow200JSONResponse

type GetFlow200JSONResponse []FlowMeta

func (GetFlow200JSONResponse) VisitGetFlowResponse

func (response GetFlow200JSONResponse) VisitGetFlowResponse(w http.ResponseWriter) error

type GetFlow401JSONResponse added in v0.9.0

type GetFlow401JSONResponse APIErrorResponse

func (GetFlow401JSONResponse) VisitGetFlowResponse added in v0.9.0

func (response GetFlow401JSONResponse) VisitGetFlowResponse(w http.ResponseWriter) error

type GetFlow403JSONResponse added in v0.9.0

type GetFlow403JSONResponse APIErrorResponse

func (GetFlow403JSONResponse) VisitGetFlowResponse added in v0.9.0

func (response GetFlow403JSONResponse) VisitGetFlowResponse(w http.ResponseWriter) error

type GetFlow500JSONResponse

type GetFlow500JSONResponse APIErrorResponse

func (GetFlow500JSONResponse) VisitGetFlowResponse

func (response GetFlow500JSONResponse) VisitGetFlowResponse(w http.ResponseWriter) error

type GetFlowRequestObject

type GetFlowRequestObject struct {
}

type GetFlowResponseObject

type GetFlowResponseObject interface {
	VisitGetFlowResponse(w http.ResponseWriter) error
}

type GetGroup200JSONResponse added in v0.9.0

type GetGroup200JSONResponse Group

func (GetGroup200JSONResponse) VisitGetGroupResponse added in v0.9.0

func (response GetGroup200JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error

type GetGroup401JSONResponse added in v0.9.0

type GetGroup401JSONResponse APIErrorResponse

func (GetGroup401JSONResponse) VisitGetGroupResponse added in v0.9.0

func (response GetGroup401JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error

type GetGroup403JSONResponse added in v0.9.0

type GetGroup403JSONResponse APIErrorResponse

func (GetGroup403JSONResponse) VisitGetGroupResponse added in v0.9.0

func (response GetGroup403JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error

type GetGroup404JSONResponse added in v0.9.0

type GetGroup404JSONResponse APIErrorResponse

func (GetGroup404JSONResponse) VisitGetGroupResponse added in v0.9.0

func (response GetGroup404JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error

type GetGroup500JSONResponse added in v0.9.0

type GetGroup500JSONResponse APIErrorResponse

func (GetGroup500JSONResponse) VisitGetGroupResponse added in v0.9.0

func (response GetGroup500JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error

type GetGroupRequestObject added in v0.9.0

type GetGroupRequestObject struct {
	GroupID int `json:"groupID"`
}

type GetGroupResponseObject added in v0.9.0

type GetGroupResponseObject interface {
	VisitGetGroupResponse(w http.ResponseWriter) error
}

type GetGroups200JSONResponse added in v0.9.0

type GetGroups200JSONResponse []Group

func (GetGroups200JSONResponse) VisitGetGroupsResponse added in v0.9.0

func (response GetGroups200JSONResponse) VisitGetGroupsResponse(w http.ResponseWriter) error

type GetGroups401JSONResponse added in v0.9.0

type GetGroups401JSONResponse APIErrorResponse

func (GetGroups401JSONResponse) VisitGetGroupsResponse added in v0.9.0

func (response GetGroups401JSONResponse) VisitGetGroupsResponse(w http.ResponseWriter) error

type GetGroups403JSONResponse added in v0.9.0

type GetGroups403JSONResponse APIErrorResponse

func (GetGroups403JSONResponse) VisitGetGroupsResponse added in v0.9.0

func (response GetGroups403JSONResponse) VisitGetGroupsResponse(w http.ResponseWriter) error

type GetGroups500JSONResponse added in v0.9.0

type GetGroups500JSONResponse APIErrorResponse

func (GetGroups500JSONResponse) VisitGetGroupsResponse added in v0.9.0

func (response GetGroups500JSONResponse) VisitGetGroupsResponse(w http.ResponseWriter) error

type GetGroupsRequestObject added in v0.9.0

type GetGroupsRequestObject struct {
}

type GetGroupsResponseObject added in v0.9.0

type GetGroupsResponseObject interface {
	VisitGetGroupsResponse(w http.ResponseWriter) error
}

type GetPermissions200JSONResponse added in v0.9.0

type GetPermissions200JSONResponse []Permission

func (GetPermissions200JSONResponse) VisitGetPermissionsResponse added in v0.9.0

func (response GetPermissions200JSONResponse) VisitGetPermissionsResponse(w http.ResponseWriter) error

type GetPermissions401JSONResponse added in v0.9.0

type GetPermissions401JSONResponse APIErrorResponse

func (GetPermissions401JSONResponse) VisitGetPermissionsResponse added in v0.9.0

func (response GetPermissions401JSONResponse) VisitGetPermissionsResponse(w http.ResponseWriter) error

type GetPermissions500JSONResponse added in v0.9.0

type GetPermissions500JSONResponse APIErrorResponse

func (GetPermissions500JSONResponse) VisitGetPermissionsResponse added in v0.9.0

func (response GetPermissions500JSONResponse) VisitGetPermissionsResponse(w http.ResponseWriter) error

type GetPermissionsRequestObject added in v0.9.0

type GetPermissionsRequestObject struct {
}

type GetPermissionsResponseObject added in v0.9.0

type GetPermissionsResponseObject interface {
	VisitGetPermissionsResponse(w http.ResponseWriter) error
}

type GetUser200JSONResponse added in v0.9.0

type GetUser200JSONResponse User

func (GetUser200JSONResponse) VisitGetUserResponse added in v0.9.0

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

type GetUser400JSONResponse added in v0.9.0

type GetUser400JSONResponse APIErrorResponse

func (GetUser400JSONResponse) VisitGetUserResponse added in v0.9.0

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

type GetUser401JSONResponse added in v0.9.0

type GetUser401JSONResponse APIErrorResponse

func (GetUser401JSONResponse) VisitGetUserResponse added in v0.9.0

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

type GetUser403JSONResponse added in v0.9.0

type GetUser403JSONResponse APIErrorResponse

func (GetUser403JSONResponse) VisitGetUserResponse added in v0.9.0

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

type GetUser404JSONResponse added in v0.9.0

type GetUser404JSONResponse APIErrorResponse

func (GetUser404JSONResponse) VisitGetUserResponse added in v0.9.0

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

type GetUser500JSONResponse added in v0.9.0

type GetUser500JSONResponse APIErrorResponse

func (GetUser500JSONResponse) VisitGetUserResponse added in v0.9.0

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

type GetUserRequestObject added in v0.9.0

type GetUserRequestObject struct {
	UserID int `json:"userID"`
}

type GetUserResponseObject added in v0.9.0

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

type GetUsers200JSONResponse added in v0.9.0

type GetUsers200JSONResponse []User

func (GetUsers200JSONResponse) VisitGetUsersResponse added in v0.9.0

func (response GetUsers200JSONResponse) VisitGetUsersResponse(w http.ResponseWriter) error

type GetUsers401JSONResponse added in v0.9.0

type GetUsers401JSONResponse APIErrorResponse

func (GetUsers401JSONResponse) VisitGetUsersResponse added in v0.9.0

func (response GetUsers401JSONResponse) VisitGetUsersResponse(w http.ResponseWriter) error

type GetUsers403JSONResponse added in v0.9.0

type GetUsers403JSONResponse APIErrorResponse

func (GetUsers403JSONResponse) VisitGetUsersResponse added in v0.9.0

func (response GetUsers403JSONResponse) VisitGetUsersResponse(w http.ResponseWriter) error

type GetUsers500JSONResponse added in v0.9.0

type GetUsers500JSONResponse APIErrorResponse

func (GetUsers500JSONResponse) VisitGetUsersResponse added in v0.9.0

func (response GetUsers500JSONResponse) VisitGetUsersResponse(w http.ResponseWriter) error

type GetUsersRequestObject added in v0.9.0

type GetUsersRequestObject struct {
}

type GetUsersResponseObject added in v0.9.0

type GetUsersResponseObject interface {
	VisitGetUsersResponse(w http.ResponseWriter) error
}

type Group added in v0.9.0

type Group struct {
	Id          int          `json:"id"`
	Name        string       `json:"name"`
	Permissions []Permission `json:"permissions"`
}

Group defines model for Group.

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 ListDebugSessionOperations200JSONResponse added in v0.9.1

type ListDebugSessionOperations200JSONResponse []DebugSessionOperation

func (ListDebugSessionOperations200JSONResponse) VisitListDebugSessionOperationsResponse added in v0.9.1

func (response ListDebugSessionOperations200JSONResponse) VisitListDebugSessionOperationsResponse(w http.ResponseWriter) error

type ListDebugSessionOperations400JSONResponse added in v0.9.1

type ListDebugSessionOperations400JSONResponse APIErrorResponse

func (ListDebugSessionOperations400JSONResponse) VisitListDebugSessionOperationsResponse added in v0.9.1

func (response ListDebugSessionOperations400JSONResponse) VisitListDebugSessionOperationsResponse(w http.ResponseWriter) error

type ListDebugSessionOperations404JSONResponse added in v0.9.1

type ListDebugSessionOperations404JSONResponse APIErrorResponse

func (ListDebugSessionOperations404JSONResponse) VisitListDebugSessionOperationsResponse added in v0.9.1

func (response ListDebugSessionOperations404JSONResponse) VisitListDebugSessionOperationsResponse(w http.ResponseWriter) error

type ListDebugSessionOperations500JSONResponse added in v0.9.1

type ListDebugSessionOperations500JSONResponse APIErrorResponse

func (ListDebugSessionOperations500JSONResponse) VisitListDebugSessionOperationsResponse added in v0.9.1

func (response ListDebugSessionOperations500JSONResponse) VisitListDebugSessionOperationsResponse(w http.ResponseWriter) error

type ListDebugSessionOperationsRequestObject added in v0.9.1

type ListDebugSessionOperationsRequestObject struct {
	Backend   string `json:"backend"`
	SessionId string `json:"sessionId"`
}

type ListDebugSessionOperationsResponseObject added in v0.9.1

type ListDebugSessionOperationsResponseObject interface {
	VisitListDebugSessionOperationsResponse(w http.ResponseWriter) error
}

type ListDebugSessions200JSONResponse added in v0.9.1

type ListDebugSessions200JSONResponse []DebugSession

func (ListDebugSessions200JSONResponse) VisitListDebugSessionsResponse added in v0.9.1

func (response ListDebugSessions200JSONResponse) VisitListDebugSessionsResponse(w http.ResponseWriter) error

type ListDebugSessions404JSONResponse added in v0.9.1

type ListDebugSessions404JSONResponse APIErrorResponse

func (ListDebugSessions404JSONResponse) VisitListDebugSessionsResponse added in v0.9.1

func (response ListDebugSessions404JSONResponse) VisitListDebugSessionsResponse(w http.ResponseWriter) error

type ListDebugSessions500JSONResponse added in v0.9.1

type ListDebugSessions500JSONResponse APIErrorResponse

func (ListDebugSessions500JSONResponse) VisitListDebugSessionsResponse added in v0.9.1

func (response ListDebugSessions500JSONResponse) VisitListDebugSessionsResponse(w http.ResponseWriter) error

type ListDebugSessionsRequestObject added in v0.9.1

type ListDebugSessionsRequestObject struct {
	Backend string `json:"backend"`
}

type ListDebugSessionsResponseObject added in v0.9.1

type ListDebugSessionsResponseObject interface {
	VisitListDebugSessionsResponse(w http.ResponseWriter) error
}

type Login204Response added in v0.9.0

type Login204Response struct {
	Headers Login204ResponseHeaders
}

func (Login204Response) VisitLoginResponse added in v0.9.0

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

type Login204ResponseHeaders added in v0.9.0

type Login204ResponseHeaders struct {
	XKrbSession string
}

type Login400JSONResponse added in v0.9.0

type Login400JSONResponse APIErrorResponse

func (Login400JSONResponse) VisitLoginResponse added in v0.9.0

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

type Login401JSONResponse added in v0.9.0

type Login401JSONResponse APIErrorResponse

func (Login401JSONResponse) VisitLoginResponse added in v0.9.0

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

type Login500JSONResponse added in v0.9.0

type Login500JSONResponse APIErrorResponse

func (Login500JSONResponse) VisitLoginResponse added in v0.9.0

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

type LoginJSONBody added in v0.9.0

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

LoginJSONBody defines parameters for Login.

type LoginJSONRequestBody added in v0.9.0

type LoginJSONRequestBody LoginJSONBody

LoginJSONRequestBody defines body for Login for application/json ContentType.

type LoginRequestObject added in v0.9.0

type LoginRequestObject struct {
	Body *LoginJSONRequestBody
}

type LoginResponseObject added in v0.9.0

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

type LoginSuperuser204Response

type LoginSuperuser204Response struct {
	Headers LoginSuperuser204ResponseHeaders
}

func (LoginSuperuser204Response) VisitLoginSuperuserResponse

func (response LoginSuperuser204Response) VisitLoginSuperuserResponse(w http.ResponseWriter) error

type LoginSuperuser204ResponseHeaders

type LoginSuperuser204ResponseHeaders struct {
	XKrbSession string
}

type LoginSuperuser400JSONResponse

type LoginSuperuser400JSONResponse APIErrorResponse

func (LoginSuperuser400JSONResponse) VisitLoginSuperuserResponse

func (response LoginSuperuser400JSONResponse) VisitLoginSuperuserResponse(w http.ResponseWriter) error

type LoginSuperuser401JSONResponse

type LoginSuperuser401JSONResponse APIErrorResponse

func (LoginSuperuser401JSONResponse) VisitLoginSuperuserResponse

func (response LoginSuperuser401JSONResponse) VisitLoginSuperuserResponse(w http.ResponseWriter) error

type LoginSuperuser429JSONResponse

type LoginSuperuser429JSONResponse APIErrorResponse

func (LoginSuperuser429JSONResponse) VisitLoginSuperuserResponse

func (response LoginSuperuser429JSONResponse) VisitLoginSuperuserResponse(w http.ResponseWriter) error

type LoginSuperuser500JSONResponse

type LoginSuperuser500JSONResponse APIErrorResponse

func (LoginSuperuser500JSONResponse) VisitLoginSuperuserResponse

func (response LoginSuperuser500JSONResponse) VisitLoginSuperuserResponse(w http.ResponseWriter) error

type LoginSuperuserJSONBody

type LoginSuperuserJSONBody struct {
	ClientId     string `json:"clientId"`
	ClientSecret string `json:"clientSecret"`
}

LoginSuperuserJSONBody defines parameters for LoginSuperuser.

type LoginSuperuserJSONRequestBody

type LoginSuperuserJSONRequestBody LoginSuperuserJSONBody

LoginSuperuserJSONRequestBody defines body for LoginSuperuser for application/json ContentType.

type LoginSuperuserRequestObject

type LoginSuperuserRequestObject struct {
	Body *LoginSuperuserJSONRequestBody
}

type LoginSuperuserResponseObject

type LoginSuperuserResponseObject interface {
	VisitLoginSuperuserResponse(w http.ResponseWriter) error
}

type LoginUserRequest added in v0.9.0

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

LoginUserRequest defines model for LoginUserRequest.

type Logout204Response added in v0.9.0

type Logout204Response struct {
}

func (Logout204Response) VisitLogoutResponse added in v0.9.0

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

type Logout400JSONResponse added in v0.9.0

type Logout400JSONResponse APIErrorResponse

func (Logout400JSONResponse) VisitLogoutResponse added in v0.9.0

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

type Logout401JSONResponse added in v0.9.0

type Logout401JSONResponse APIErrorResponse

func (Logout401JSONResponse) VisitLogoutResponse added in v0.9.0

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

type Logout500JSONResponse added in v0.9.0

type Logout500JSONResponse APIErrorResponse

func (Logout500JSONResponse) VisitLogoutResponse added in v0.9.0

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

type LogoutRequestObject added in v0.9.0

type LogoutRequestObject struct {
}

type LogoutResponseObject added in v0.9.0

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

type LogoutSuperuser204Response

type LogoutSuperuser204Response struct {
}

func (LogoutSuperuser204Response) VisitLogoutSuperuserResponse

func (response LogoutSuperuser204Response) VisitLogoutSuperuserResponse(w http.ResponseWriter) error

type LogoutSuperuser403JSONResponse added in v0.9.0

type LogoutSuperuser403JSONResponse APIErrorResponse

func (LogoutSuperuser403JSONResponse) VisitLogoutSuperuserResponse added in v0.9.0

func (response LogoutSuperuser403JSONResponse) VisitLogoutSuperuserResponse(w http.ResponseWriter) error

type LogoutSuperuser500JSONResponse

type LogoutSuperuser500JSONResponse APIErrorResponse

func (LogoutSuperuser500JSONResponse) VisitLogoutSuperuserResponse

func (response LogoutSuperuser500JSONResponse) VisitLogoutSuperuserResponse(w http.ResponseWriter) error

type LogoutSuperuserRequestObject

type LogoutSuperuserRequestObject struct {
}

type LogoutSuperuserResponseObject

type LogoutSuperuserResponseObject interface {
	VisitLogoutSuperuserResponse(w http.ResponseWriter) error
}

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type NoFlowMetaData

type NoFlowMetaData = map[string]interface{}

NoFlowMetaData No metadata for the flow component.

type Permission added in v0.9.0

type Permission struct {
	Id   int    `json:"id"`
	Name string `json:"name"`
}

Permission defines model for Permission.

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 ServeMux

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

ServeMux is an abstraction of http.ServeMux.

type ServerInterface

type ServerInterface interface {

	// (GET /api/admin/debug/{backend}/sessions)
	ListDebugSessions(w http.ResponseWriter, r *http.Request, backend string)

	// (POST /api/admin/debug/{backend}/sessions)
	StartDebugSession(w http.ResponseWriter, r *http.Request, backend string)

	// (DELETE /api/admin/debug/{backend}/sessions/{sessionId})
	StopDebugSession(w http.ResponseWriter, r *http.Request, backend string, sessionId string)

	// (GET /api/admin/debug/{backend}/sessions/{sessionId})
	GetDebugSession(w http.ResponseWriter, r *http.Request, backend string, sessionId string)

	// (PUT /api/admin/debug/{backend}/sessions/{sessionId})
	ExtendDebugSession(w http.ResponseWriter, r *http.Request, backend string, sessionId string)

	// (GET /api/admin/debug/{backend}/sessions/{sessionId}/operations)
	ListDebugSessionOperations(w http.ResponseWriter, r *http.Request, backend string, sessionId string)

	// (GET /api/admin/flow)
	GetFlow(w http.ResponseWriter, r *http.Request)

	// (GET /api/admin/groups)
	GetGroups(w http.ResponseWriter, r *http.Request)

	// (POST /api/admin/groups)
	CreateGroup(w http.ResponseWriter, r *http.Request)

	// (DELETE /api/admin/groups/{groupID})
	DeleteGroup(w http.ResponseWriter, r *http.Request, groupID int)

	// (GET /api/admin/groups/{groupID})
	GetGroup(w http.ResponseWriter, r *http.Request, groupID int)

	// (PUT /api/admin/groups/{groupID})
	UpdateGroup(w http.ResponseWriter, r *http.Request, groupID int)

	// (POST /api/admin/login)
	Login(w http.ResponseWriter, r *http.Request)

	// (POST /api/admin/logout)
	Logout(w http.ResponseWriter, r *http.Request)

	// (GET /api/admin/oas/{backend})
	GetBackendOAS(w http.ResponseWriter, r *http.Request, backend string)

	// (GET /api/admin/permissions)
	GetPermissions(w http.ResponseWriter, r *http.Request)

	// (POST /api/admin/superuser/login)
	LoginSuperuser(w http.ResponseWriter, r *http.Request)

	// (POST /api/admin/superuser/logout)
	LogoutSuperuser(w http.ResponseWriter, r *http.Request)

	// (GET /api/admin/users)
	GetUsers(w http.ResponseWriter, r *http.Request)

	// (POST /api/admin/users)
	CreateUser(w http.ResponseWriter, r *http.Request)

	// (DELETE /api/admin/users/{userID})
	DeleteUser(w http.ResponseWriter, r *http.Request, userID int)

	// (GET /api/admin/users/{userID})
	GetUser(w http.ResponseWriter, r *http.Request, userID int)

	// (PUT /api/admin/users/{userID})
	UpdateUser(w http.ResponseWriter, r *http.Request, userID int)

	// (PUT /api/admin/users/{userID}/groups)
	UpdateUserGroups(w http.ResponseWriter, r *http.Request, userID int)

	// (PUT /api/admin/users/{userID}/password)
	ChangeUserPassword(w http.ResponseWriter, r *http.Request, userID int)
}

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) ChangeUserPassword added in v0.9.0

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

ChangeUserPassword operation middleware

func (*ServerInterfaceWrapper) CreateGroup added in v0.9.0

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

CreateGroup operation middleware

func (*ServerInterfaceWrapper) CreateUser added in v0.9.0

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

CreateUser operation middleware

func (*ServerInterfaceWrapper) DeleteGroup added in v0.9.0

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

DeleteGroup operation middleware

func (*ServerInterfaceWrapper) DeleteUser added in v0.9.0

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

DeleteUser operation middleware

func (*ServerInterfaceWrapper) ExtendDebugSession added in v0.9.1

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

ExtendDebugSession operation middleware

func (*ServerInterfaceWrapper) GetBackendOAS

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

GetBackendOAS operation middleware

func (*ServerInterfaceWrapper) GetDebugSession added in v0.9.1

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

GetDebugSession operation middleware

func (*ServerInterfaceWrapper) GetFlow

GetFlow operation middleware

func (*ServerInterfaceWrapper) GetGroup added in v0.9.0

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

GetGroup operation middleware

func (*ServerInterfaceWrapper) GetGroups added in v0.9.0

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

GetGroups operation middleware

func (*ServerInterfaceWrapper) GetPermissions added in v0.9.0

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

GetPermissions operation middleware

func (*ServerInterfaceWrapper) GetUser added in v0.9.0

GetUser operation middleware

func (*ServerInterfaceWrapper) GetUsers added in v0.9.0

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

GetUsers operation middleware

func (*ServerInterfaceWrapper) ListDebugSessionOperations added in v0.9.1

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

ListDebugSessionOperations operation middleware

func (*ServerInterfaceWrapper) ListDebugSessions added in v0.9.1

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

ListDebugSessions operation middleware

func (*ServerInterfaceWrapper) Login added in v0.9.0

Login operation middleware

func (*ServerInterfaceWrapper) LoginSuperuser

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

LoginSuperuser operation middleware

func (*ServerInterfaceWrapper) Logout added in v0.9.0

Logout operation middleware

func (*ServerInterfaceWrapper) LogoutSuperuser

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

LogoutSuperuser operation middleware

func (*ServerInterfaceWrapper) StartDebugSession added in v0.9.1

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

StartDebugSession operation middleware

func (*ServerInterfaceWrapper) StopDebugSession added in v0.9.1

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

StopDebugSession operation middleware

func (*ServerInterfaceWrapper) UpdateGroup added in v0.9.0

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

UpdateGroup operation middleware

func (*ServerInterfaceWrapper) UpdateUser added in v0.9.0

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

UpdateUser operation middleware

func (*ServerInterfaceWrapper) UpdateUserGroups added in v0.9.0

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

UpdateUserGroups operation middleware

type StartDebugSession200JSONResponse added in v0.9.1

type StartDebugSession200JSONResponse DebugSession

func (StartDebugSession200JSONResponse) VisitStartDebugSessionResponse added in v0.9.1

func (response StartDebugSession200JSONResponse) VisitStartDebugSessionResponse(w http.ResponseWriter) error

type StartDebugSession400JSONResponse added in v0.9.1

type StartDebugSession400JSONResponse APIErrorResponse

func (StartDebugSession400JSONResponse) VisitStartDebugSessionResponse added in v0.9.1

func (response StartDebugSession400JSONResponse) VisitStartDebugSessionResponse(w http.ResponseWriter) error

type StartDebugSession404JSONResponse added in v0.9.1

type StartDebugSession404JSONResponse APIErrorResponse

func (StartDebugSession404JSONResponse) VisitStartDebugSessionResponse added in v0.9.1

func (response StartDebugSession404JSONResponse) VisitStartDebugSessionResponse(w http.ResponseWriter) error

type StartDebugSession409JSONResponse added in v0.9.1

type StartDebugSession409JSONResponse APIErrorResponse

func (StartDebugSession409JSONResponse) VisitStartDebugSessionResponse added in v0.9.1

func (response StartDebugSession409JSONResponse) VisitStartDebugSessionResponse(w http.ResponseWriter) error

type StartDebugSession500JSONResponse added in v0.9.1

type StartDebugSession500JSONResponse APIErrorResponse

func (StartDebugSession500JSONResponse) VisitStartDebugSessionResponse added in v0.9.1

func (response StartDebugSession500JSONResponse) VisitStartDebugSessionResponse(w http.ResponseWriter) error

type StartDebugSessionJSONBody added in v0.9.1

type StartDebugSessionJSONBody struct {
	// DurationSeconds Duration in seconds to keep the backend in debug mode. If not provided, the backend will be kept in debug mode until debug is disabled, or for a maximum of 1 hour. Minimum is 1 minute, defaults to 5 minutes.
	DurationSeconds *int `json:"durationSeconds,omitempty"`
}

StartDebugSessionJSONBody defines parameters for StartDebugSession.

type StartDebugSessionJSONRequestBody added in v0.9.1

type StartDebugSessionJSONRequestBody StartDebugSessionJSONBody

StartDebugSessionJSONRequestBody defines body for StartDebugSession for application/json ContentType.

type StartDebugSessionRequest added in v0.9.1

type StartDebugSessionRequest struct {
	// DurationSeconds Duration in seconds to keep the backend in debug mode. If not provided, the backend will be kept in debug mode until debug is disabled, or for a maximum of 1 hour. Minimum is 1 minute, defaults to 5 minutes.
	DurationSeconds *int `json:"durationSeconds,omitempty"`
}

StartDebugSessionRequest defines model for StartDebugSessionRequest.

type StartDebugSessionRequestObject added in v0.9.1

type StartDebugSessionRequestObject struct {
	Backend string `json:"backend"`
	Body    *StartDebugSessionJSONRequestBody
}

type StartDebugSessionResponseObject added in v0.9.1

type StartDebugSessionResponseObject interface {
	VisitStartDebugSessionResponse(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 StopDebugSession204Response added in v0.9.1

type StopDebugSession204Response struct {
}

func (StopDebugSession204Response) VisitStopDebugSessionResponse added in v0.9.1

func (response StopDebugSession204Response) VisitStopDebugSessionResponse(w http.ResponseWriter) error

type StopDebugSession400JSONResponse added in v0.9.1

type StopDebugSession400JSONResponse APIErrorResponse

func (StopDebugSession400JSONResponse) VisitStopDebugSessionResponse added in v0.9.1

func (response StopDebugSession400JSONResponse) VisitStopDebugSessionResponse(w http.ResponseWriter) error

type StopDebugSession404JSONResponse added in v0.9.1

type StopDebugSession404JSONResponse APIErrorResponse

func (StopDebugSession404JSONResponse) VisitStopDebugSessionResponse added in v0.9.1

func (response StopDebugSession404JSONResponse) VisitStopDebugSessionResponse(w http.ResponseWriter) error

type StopDebugSession500JSONResponse added in v0.9.1

type StopDebugSession500JSONResponse APIErrorResponse

func (StopDebugSession500JSONResponse) VisitStopDebugSessionResponse added in v0.9.1

func (response StopDebugSession500JSONResponse) VisitStopDebugSessionResponse(w http.ResponseWriter) error

type StopDebugSessionRequestObject added in v0.9.1

type StopDebugSessionRequestObject struct {
	Backend   string `json:"backend"`
	SessionId string `json:"sessionId"`
}

type StopDebugSessionResponseObject added in v0.9.1

type StopDebugSessionResponseObject interface {
	VisitStopDebugSessionResponse(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 StrictServerInterface

type StrictServerInterface interface {

	// (GET /api/admin/debug/{backend}/sessions)
	ListDebugSessions(ctx context.Context, request ListDebugSessionsRequestObject) (ListDebugSessionsResponseObject, error)

	// (POST /api/admin/debug/{backend}/sessions)
	StartDebugSession(ctx context.Context, request StartDebugSessionRequestObject) (StartDebugSessionResponseObject, error)

	// (DELETE /api/admin/debug/{backend}/sessions/{sessionId})
	StopDebugSession(ctx context.Context, request StopDebugSessionRequestObject) (StopDebugSessionResponseObject, error)

	// (GET /api/admin/debug/{backend}/sessions/{sessionId})
	GetDebugSession(ctx context.Context, request GetDebugSessionRequestObject) (GetDebugSessionResponseObject, error)

	// (PUT /api/admin/debug/{backend}/sessions/{sessionId})
	ExtendDebugSession(ctx context.Context, request ExtendDebugSessionRequestObject) (ExtendDebugSessionResponseObject, error)

	// (GET /api/admin/debug/{backend}/sessions/{sessionId}/operations)
	ListDebugSessionOperations(ctx context.Context, request ListDebugSessionOperationsRequestObject) (ListDebugSessionOperationsResponseObject, error)

	// (GET /api/admin/flow)
	GetFlow(ctx context.Context, request GetFlowRequestObject) (GetFlowResponseObject, error)

	// (GET /api/admin/groups)
	GetGroups(ctx context.Context, request GetGroupsRequestObject) (GetGroupsResponseObject, error)

	// (POST /api/admin/groups)
	CreateGroup(ctx context.Context, request CreateGroupRequestObject) (CreateGroupResponseObject, error)

	// (DELETE /api/admin/groups/{groupID})
	DeleteGroup(ctx context.Context, request DeleteGroupRequestObject) (DeleteGroupResponseObject, error)

	// (GET /api/admin/groups/{groupID})
	GetGroup(ctx context.Context, request GetGroupRequestObject) (GetGroupResponseObject, error)

	// (PUT /api/admin/groups/{groupID})
	UpdateGroup(ctx context.Context, request UpdateGroupRequestObject) (UpdateGroupResponseObject, error)

	// (POST /api/admin/login)
	Login(ctx context.Context, request LoginRequestObject) (LoginResponseObject, error)

	// (POST /api/admin/logout)
	Logout(ctx context.Context, request LogoutRequestObject) (LogoutResponseObject, error)

	// (GET /api/admin/oas/{backend})
	GetBackendOAS(ctx context.Context, request GetBackendOASRequestObject) (GetBackendOASResponseObject, error)

	// (GET /api/admin/permissions)
	GetPermissions(ctx context.Context, request GetPermissionsRequestObject) (GetPermissionsResponseObject, error)

	// (POST /api/admin/superuser/login)
	LoginSuperuser(ctx context.Context, request LoginSuperuserRequestObject) (LoginSuperuserResponseObject, error)

	// (POST /api/admin/superuser/logout)
	LogoutSuperuser(ctx context.Context, request LogoutSuperuserRequestObject) (LogoutSuperuserResponseObject, error)

	// (GET /api/admin/users)
	GetUsers(ctx context.Context, request GetUsersRequestObject) (GetUsersResponseObject, error)

	// (POST /api/admin/users)
	CreateUser(ctx context.Context, request CreateUserRequestObject) (CreateUserResponseObject, error)

	// (DELETE /api/admin/users/{userID})
	DeleteUser(ctx context.Context, request DeleteUserRequestObject) (DeleteUserResponseObject, error)

	// (GET /api/admin/users/{userID})
	GetUser(ctx context.Context, request GetUserRequestObject) (GetUserResponseObject, error)

	// (PUT /api/admin/users/{userID})
	UpdateUser(ctx context.Context, request UpdateUserRequestObject) (UpdateUserResponseObject, error)

	// (PUT /api/admin/users/{userID}/groups)
	UpdateUserGroups(ctx context.Context, request UpdateUserGroupsRequestObject) (UpdateUserGroupsResponseObject, error)

	// (PUT /api/admin/users/{userID}/password)
	ChangeUserPassword(ctx context.Context, request ChangeUserPasswordRequestObject) (ChangeUserPasswordResponseObject, error)
}

StrictServerInterface represents all server handlers.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

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 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 UpdateGroup204Response added in v0.9.0

type UpdateGroup204Response struct {
}

func (UpdateGroup204Response) VisitUpdateGroupResponse added in v0.9.0

func (response UpdateGroup204Response) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroup400JSONResponse added in v0.9.0

type UpdateGroup400JSONResponse APIErrorResponse

func (UpdateGroup400JSONResponse) VisitUpdateGroupResponse added in v0.9.0

func (response UpdateGroup400JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroup401JSONResponse added in v0.9.0

type UpdateGroup401JSONResponse APIErrorResponse

func (UpdateGroup401JSONResponse) VisitUpdateGroupResponse added in v0.9.0

func (response UpdateGroup401JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroup403JSONResponse added in v0.9.0

type UpdateGroup403JSONResponse APIErrorResponse

func (UpdateGroup403JSONResponse) VisitUpdateGroupResponse added in v0.9.0

func (response UpdateGroup403JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroup404JSONResponse added in v0.9.0

type UpdateGroup404JSONResponse APIErrorResponse

func (UpdateGroup404JSONResponse) VisitUpdateGroupResponse added in v0.9.0

func (response UpdateGroup404JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroup409JSONResponse added in v0.9.0

type UpdateGroup409JSONResponse APIErrorResponse

func (UpdateGroup409JSONResponse) VisitUpdateGroupResponse added in v0.9.0

func (response UpdateGroup409JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroup500JSONResponse added in v0.9.0

type UpdateGroup500JSONResponse APIErrorResponse

func (UpdateGroup500JSONResponse) VisitUpdateGroupResponse added in v0.9.0

func (response UpdateGroup500JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroupJSONBody added in v0.9.0

type UpdateGroupJSONBody struct {
	Name          string `json:"name"`
	PermissionIDs []int  `json:"permissionIDs"`
}

UpdateGroupJSONBody defines parameters for UpdateGroup.

type UpdateGroupJSONRequestBody added in v0.9.0

type UpdateGroupJSONRequestBody UpdateGroupJSONBody

UpdateGroupJSONRequestBody defines body for UpdateGroup for application/json ContentType.

type UpdateGroupRequest added in v0.9.0

type UpdateGroupRequest struct {
	Name          string `json:"name"`
	PermissionIDs []int  `json:"permissionIDs"`
}

UpdateGroupRequest defines model for UpdateGroupRequest.

type UpdateGroupRequestObject added in v0.9.0

type UpdateGroupRequestObject struct {
	GroupID int `json:"groupID"`
	Body    *UpdateGroupJSONRequestBody
}

type UpdateGroupResponseObject added in v0.9.0

type UpdateGroupResponseObject interface {
	VisitUpdateGroupResponse(w http.ResponseWriter) error
}

type UpdateUser204Response added in v0.9.0

type UpdateUser204Response struct {
}

func (UpdateUser204Response) VisitUpdateUserResponse added in v0.9.0

func (response UpdateUser204Response) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser400JSONResponse added in v0.9.0

type UpdateUser400JSONResponse APIErrorResponse

func (UpdateUser400JSONResponse) VisitUpdateUserResponse added in v0.9.0

func (response UpdateUser400JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser401JSONResponse added in v0.9.0

type UpdateUser401JSONResponse APIErrorResponse

func (UpdateUser401JSONResponse) VisitUpdateUserResponse added in v0.9.0

func (response UpdateUser401JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser403JSONResponse added in v0.9.0

type UpdateUser403JSONResponse APIErrorResponse

func (UpdateUser403JSONResponse) VisitUpdateUserResponse added in v0.9.0

func (response UpdateUser403JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser404JSONResponse added in v0.9.0

type UpdateUser404JSONResponse APIErrorResponse

func (UpdateUser404JSONResponse) VisitUpdateUserResponse added in v0.9.0

func (response UpdateUser404JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser409JSONResponse added in v0.9.0

type UpdateUser409JSONResponse APIErrorResponse

func (UpdateUser409JSONResponse) VisitUpdateUserResponse added in v0.9.0

func (response UpdateUser409JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser500JSONResponse added in v0.9.0

type UpdateUser500JSONResponse APIErrorResponse

func (UpdateUser500JSONResponse) VisitUpdateUserResponse added in v0.9.0

func (response UpdateUser500JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUserGroups204Response added in v0.9.0

type UpdateUserGroups204Response struct {
}

func (UpdateUserGroups204Response) VisitUpdateUserGroupsResponse added in v0.9.0

func (response UpdateUserGroups204Response) VisitUpdateUserGroupsResponse(w http.ResponseWriter) error

type UpdateUserGroups400JSONResponse added in v0.9.0

type UpdateUserGroups400JSONResponse APIErrorResponse

func (UpdateUserGroups400JSONResponse) VisitUpdateUserGroupsResponse added in v0.9.0

func (response UpdateUserGroups400JSONResponse) VisitUpdateUserGroupsResponse(w http.ResponseWriter) error

type UpdateUserGroups401JSONResponse added in v0.9.0

type UpdateUserGroups401JSONResponse APIErrorResponse

func (UpdateUserGroups401JSONResponse) VisitUpdateUserGroupsResponse added in v0.9.0

func (response UpdateUserGroups401JSONResponse) VisitUpdateUserGroupsResponse(w http.ResponseWriter) error

type UpdateUserGroups403JSONResponse added in v0.9.0

type UpdateUserGroups403JSONResponse APIErrorResponse

func (UpdateUserGroups403JSONResponse) VisitUpdateUserGroupsResponse added in v0.9.0

func (response UpdateUserGroups403JSONResponse) VisitUpdateUserGroupsResponse(w http.ResponseWriter) error

type UpdateUserGroups404JSONResponse added in v0.9.0

type UpdateUserGroups404JSONResponse APIErrorResponse

func (UpdateUserGroups404JSONResponse) VisitUpdateUserGroupsResponse added in v0.9.0

func (response UpdateUserGroups404JSONResponse) VisitUpdateUserGroupsResponse(w http.ResponseWriter) error

type UpdateUserGroups500JSONResponse added in v0.9.0

type UpdateUserGroups500JSONResponse APIErrorResponse

func (UpdateUserGroups500JSONResponse) VisitUpdateUserGroupsResponse added in v0.9.0

func (response UpdateUserGroups500JSONResponse) VisitUpdateUserGroupsResponse(w http.ResponseWriter) error

type UpdateUserGroupsJSONBody added in v0.9.0

type UpdateUserGroupsJSONBody struct {
	GroupIDs []int `json:"groupIDs"`
}

UpdateUserGroupsJSONBody defines parameters for UpdateUserGroups.

type UpdateUserGroupsJSONRequestBody added in v0.9.0

type UpdateUserGroupsJSONRequestBody UpdateUserGroupsJSONBody

UpdateUserGroupsJSONRequestBody defines body for UpdateUserGroups for application/json ContentType.

type UpdateUserGroupsRequest added in v0.9.0

type UpdateUserGroupsRequest struct {
	GroupIDs []int `json:"groupIDs"`
}

UpdateUserGroupsRequest defines model for UpdateUserGroupsRequest.

type UpdateUserGroupsRequestObject added in v0.9.0

type UpdateUserGroupsRequestObject struct {
	UserID int `json:"userID"`
	Body   *UpdateUserGroupsJSONRequestBody
}

type UpdateUserGroupsResponseObject added in v0.9.0

type UpdateUserGroupsResponseObject interface {
	VisitUpdateUserGroupsResponse(w http.ResponseWriter) error
}

type UpdateUserJSONBody added in v0.9.0

type UpdateUserJSONBody struct {
	Username string `json:"username"`
}

UpdateUserJSONBody defines parameters for UpdateUser.

type UpdateUserJSONRequestBody added in v0.9.0

type UpdateUserJSONRequestBody UpdateUserJSONBody

UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.

type UpdateUserRequest added in v0.9.0

type UpdateUserRequest struct {
	Username string `json:"username"`
}

UpdateUserRequest defines model for UpdateUserRequest.

type UpdateUserRequestObject added in v0.9.0

type UpdateUserRequestObject struct {
	UserID int `json:"userID"`
	Body   *UpdateUserJSONRequestBody
}

type UpdateUserResponseObject added in v0.9.0

type UpdateUserResponseObject interface {
	VisitUpdateUserResponse(w http.ResponseWriter) error
}

type User added in v0.9.0

type User struct {
	Groups   *[]Group `json:"groups,omitempty"`
	Id       int      `json:"id"`
	Username string   `json:"username"`
}

User defines model for User.

Jump to

Keyboard shortcuts

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