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
- 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 APIErrorResponse
- type ChangePasswordRequest
- type ChangeUserPassword204Response
- type ChangeUserPassword400JSONResponse
- type ChangeUserPassword401JSONResponse
- type ChangeUserPassword403JSONResponse
- type ChangeUserPassword404JSONResponse
- type ChangeUserPassword500JSONResponse
- type ChangeUserPasswordJSONBody
- type ChangeUserPasswordJSONRequestBody
- type ChangeUserPasswordRequestObject
- type ChangeUserPasswordResponseObject
- type CreateGroup201JSONResponse
- type CreateGroup400JSONResponse
- type CreateGroup401JSONResponse
- type CreateGroup403JSONResponse
- type CreateGroup409JSONResponse
- type CreateGroup500JSONResponse
- type CreateGroupJSONBody
- type CreateGroupJSONRequestBody
- type CreateGroupRequest
- type CreateGroupRequestObject
- type CreateGroupResponseObject
- type CreateUser201JSONResponse
- type CreateUser400JSONResponse
- type CreateUser401JSONResponse
- type CreateUser403JSONResponse
- type CreateUser409JSONResponse
- type CreateUser500JSONResponse
- type CreateUserJSONBody
- type CreateUserJSONRequestBody
- type CreateUserRequest
- type CreateUserRequestObject
- type CreateUserResponseObject
- type DebugSession
- type DebugSessionCall
- type DeleteDebugSession204Response
- type DeleteDebugSession400JSONResponse
- type DeleteDebugSession403JSONResponse
- type DeleteDebugSession404JSONResponse
- type DeleteDebugSession500JSONResponse
- type DeleteDebugSessionRequestObject
- type DeleteDebugSessionResponseObject
- type DeleteGroup204Response
- type DeleteGroup400JSONResponse
- type DeleteGroup401JSONResponse
- type DeleteGroup403JSONResponse
- type DeleteGroup404JSONResponse
- type DeleteGroup500JSONResponse
- type DeleteGroupRequestObject
- type DeleteGroupResponseObject
- type DeleteUser204Response
- type DeleteUser400JSONResponse
- type DeleteUser401JSONResponse
- type DeleteUser403JSONResponse
- type DeleteUser404JSONResponse
- type DeleteUser500JSONResponse
- type DeleteUserRequestObject
- type DeleteUserResponseObject
- type ExtendDebugSession200JSONResponse
- type ExtendDebugSession400JSONResponse
- type ExtendDebugSession403JSONResponse
- type ExtendDebugSession404JSONResponse
- type ExtendDebugSession409JSONResponse
- type ExtendDebugSession500JSONResponse
- type ExtendDebugSessionJSONBody
- type ExtendDebugSessionJSONRequestBody
- type ExtendDebugSessionRequestObject
- type ExtendDebugSessionResponseObject
- type FlowMeta
- type FlowMetaDataAuth
- type FlowMetaDataAuthMethodBasic
- type FlowMetaDataAuthMethods
- type FlowMetaDataAuthScheme
- type FlowMetaDataAuthSchemeMapping
- type FlowMetaDataAuthSchemeMappingAuthorization
- type FlowMetaDataOAS
- type FlowMetaDataObservability
- type FlowMetaDataRouter
- type FlowMetaDataRouterBackend
- type FlowMeta_Data
- func (t FlowMeta_Data) AsFlowMetaDataAuth() (FlowMetaDataAuth, error)
- func (t FlowMeta_Data) AsFlowMetaDataOAS() (FlowMetaDataOAS, error)
- func (t FlowMeta_Data) AsFlowMetaDataObservability() (FlowMetaDataObservability, error)
- func (t FlowMeta_Data) AsFlowMetaDataRouter() (FlowMetaDataRouter, error)
- func (t FlowMeta_Data) AsNoFlowMetaData() (NoFlowMetaData, error)
- func (t *FlowMeta_Data) FromFlowMetaDataAuth(v FlowMetaDataAuth) error
- func (t *FlowMeta_Data) FromFlowMetaDataOAS(v FlowMetaDataOAS) error
- func (t *FlowMeta_Data) FromFlowMetaDataObservability(v FlowMetaDataObservability) error
- func (t *FlowMeta_Data) FromFlowMetaDataRouter(v FlowMetaDataRouter) error
- func (t *FlowMeta_Data) FromNoFlowMetaData(v NoFlowMetaData) error
- func (t FlowMeta_Data) MarshalJSON() ([]byte, error)
- func (t *FlowMeta_Data) MergeFlowMetaDataAuth(v FlowMetaDataAuth) error
- func (t *FlowMeta_Data) MergeFlowMetaDataOAS(v FlowMetaDataOAS) error
- func (t *FlowMeta_Data) MergeFlowMetaDataObservability(v FlowMetaDataObservability) error
- func (t *FlowMeta_Data) MergeFlowMetaDataRouter(v FlowMetaDataRouter) error
- func (t *FlowMeta_Data) MergeNoFlowMetaData(v NoFlowMetaData) error
- func (t *FlowMeta_Data) UnmarshalJSON(b []byte) error
- type FlowTransition
- type FlowTransitionDirection
- type FlowTransitionResult
- type FlowTransitionResultOutcome
- type GetBackendOAS200ApplicationyamlResponse
- type GetBackendOAS401JSONResponse
- type GetBackendOAS403JSONResponse
- type GetBackendOAS404JSONResponse
- type GetBackendOAS500JSONResponse
- type GetBackendOASRequestObject
- type GetBackendOASResponseObject
- type GetDebugSession200JSONResponse
- type GetDebugSession400JSONResponse
- type GetDebugSession403JSONResponse
- type GetDebugSession404JSONResponse
- type GetDebugSession500JSONResponse
- type GetDebugSessionCall200JSONResponse
- type GetDebugSessionCall400JSONResponse
- type GetDebugSessionCall403JSONResponse
- type GetDebugSessionCall404JSONResponse
- type GetDebugSessionCall500JSONResponse
- type GetDebugSessionCallRequestObject
- type GetDebugSessionCallResponseObject
- type GetDebugSessionRequestObject
- type GetDebugSessionResponseObject
- type GetFlow200JSONResponse
- type GetFlow401JSONResponse
- type GetFlow403JSONResponse
- type GetFlow500JSONResponse
- type GetFlowRequestObject
- type GetFlowResponseObject
- type GetGroup200JSONResponse
- type GetGroup401JSONResponse
- type GetGroup403JSONResponse
- type GetGroup404JSONResponse
- type GetGroup500JSONResponse
- type GetGroupRequestObject
- type GetGroupResponseObject
- type GetGroups200JSONResponse
- type GetGroups401JSONResponse
- type GetGroups403JSONResponse
- type GetGroups500JSONResponse
- type GetGroupsRequestObject
- type GetGroupsResponseObject
- type GetPermissions200JSONResponse
- type GetPermissions401JSONResponse
- type GetPermissions500JSONResponse
- type GetPermissionsRequestObject
- type GetPermissionsResponseObject
- type GetUser200JSONResponse
- type GetUser400JSONResponse
- type GetUser401JSONResponse
- type GetUser403JSONResponse
- type GetUser404JSONResponse
- type GetUser500JSONResponse
- type GetUserRequestObject
- type GetUserResponseObject
- type GetUsers200JSONResponse
- type GetUsers401JSONResponse
- type GetUsers403JSONResponse
- type GetUsers500JSONResponse
- type GetUsersRequestObject
- type GetUsersResponseObject
- type Group
- type InvalidParamFormatError
- type ListDebugSessionCalls200JSONResponse
- type ListDebugSessionCalls400JSONResponse
- type ListDebugSessionCalls403JSONResponse
- type ListDebugSessionCalls404JSONResponse
- type ListDebugSessionCalls500JSONResponse
- type ListDebugSessionCallsParams
- type ListDebugSessionCallsRequestObject
- type ListDebugSessionCallsResponseObject
- type ListDebugSessions200JSONResponse
- type ListDebugSessions403JSONResponse
- type ListDebugSessions404JSONResponse
- type ListDebugSessions500JSONResponse
- type ListDebugSessionsRequestObject
- type ListDebugSessionsResponseObject
- type Login204Response
- type Login204ResponseHeaders
- type Login400JSONResponse
- type Login401JSONResponse
- type Login500JSONResponse
- type LoginJSONBody
- type LoginJSONRequestBody
- type LoginRequestObject
- type LoginResponseObject
- type LoginSuperuser204Response
- type LoginSuperuser204ResponseHeaders
- type LoginSuperuser400JSONResponse
- type LoginSuperuser401JSONResponse
- type LoginSuperuser429JSONResponse
- type LoginSuperuser500JSONResponse
- type LoginSuperuserJSONBody
- type LoginSuperuserJSONRequestBody
- type LoginSuperuserRequestObject
- type LoginSuperuserResponseObject
- type LoginUserRequest
- type Logout204Response
- type Logout400JSONResponse
- type Logout401JSONResponse
- type Logout500JSONResponse
- type LogoutRequestObject
- type LogoutResponseObject
- type LogoutSuperuser204Response
- type LogoutSuperuser403JSONResponse
- type LogoutSuperuser500JSONResponse
- type LogoutSuperuserRequestObject
- type LogoutSuperuserResponseObject
- type MiddlewareFunc
- type NoFlowMetaData
- type Permission
- type RequiredHeaderError
- type RequiredParamError
- type ServeMux
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) ChangeUserPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteDebugSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ExtendDebugSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetBackendOAS(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDebugSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDebugSessionCall(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetFlow(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGroups(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetPermissions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetUsers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDebugSessionCalls(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDebugSessions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Login(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LoginSuperuser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Logout(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LogoutSuperuser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartDebugSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StopDebugSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateUserGroups(w http.ResponseWriter, r *http.Request)
- type StartDebugSession200JSONResponse
- type StartDebugSession400JSONResponse
- type StartDebugSession403JSONResponse
- type StartDebugSession404JSONResponse
- type StartDebugSession409JSONResponse
- type StartDebugSession500JSONResponse
- type StartDebugSessionJSONBody
- type StartDebugSessionJSONRequestBody
- type StartDebugSessionRequest
- type StartDebugSessionRequestObject
- type StartDebugSessionResponseObject
- type StdHTTPServerOptions
- type StopDebugSession204Response
- type StopDebugSession400JSONResponse
- type StopDebugSession403JSONResponse
- type StopDebugSession404JSONResponse
- type StopDebugSession500JSONResponse
- type StopDebugSessionRequestObject
- type StopDebugSessionResponseObject
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type UnmarshalingParamError
- type UpdateGroup204Response
- type UpdateGroup400JSONResponse
- type UpdateGroup401JSONResponse
- type UpdateGroup403JSONResponse
- type UpdateGroup404JSONResponse
- type UpdateGroup409JSONResponse
- type UpdateGroup500JSONResponse
- type UpdateGroupJSONBody
- type UpdateGroupJSONRequestBody
- type UpdateGroupRequest
- type UpdateGroupRequestObject
- type UpdateGroupResponseObject
- type UpdateUser204Response
- type UpdateUser400JSONResponse
- type UpdateUser401JSONResponse
- type UpdateUser403JSONResponse
- type UpdateUser404JSONResponse
- type UpdateUser409JSONResponse
- type UpdateUser500JSONResponse
- type UpdateUserGroups204Response
- type UpdateUserGroups400JSONResponse
- type UpdateUserGroups401JSONResponse
- type UpdateUserGroups403JSONResponse
- type UpdateUserGroups404JSONResponse
- type UpdateUserGroups500JSONResponse
- type UpdateUserGroupsJSONBody
- type UpdateUserGroupsJSONRequestBody
- type UpdateUserGroupsRequest
- type UpdateUserGroupsRequestObject
- type UpdateUserGroupsResponseObject
- type UpdateUserJSONBody
- type UpdateUserJSONRequestBody
- type UpdateUserRequest
- type UpdateUserRequestObject
- type UpdateUserResponseObject
- type User
Constants ¶
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 {
// Backend The backend that the call was made to.
Backend string `json:"backend"`
// ExpiresAt The time when the debug session expires.
ExpiresAt time.Time `json:"expiresAt"`
// Id The ID for the debug session.
Id int `json:"id"`
// StartedAt The time when the debug session started.
StartedAt time.Time `json:"startedAt"`
// StoppedAt The time when the debug session was stopped. Null if the session is still active.
StoppedAt *time.Time `json:"stoppedAt,omitempty"`
}
DebugSession defines model for DebugSession.
type DebugSessionCall ¶ added in v1.0.0
type DebugSessionCall struct {
// FlowTransitions The flow transitions that occurred during this operation, in chronological order.
FlowTransitions []FlowTransition `json:"flowTransitions"`
// Id The ID for the call.
Id int `json:"id"`
// Method The HTTP method of the operation.
Method string `json:"method"`
// StartedAt The time when the call was received.
StartedAt time.Time `json:"startedAt"`
// StatusCode The HTTP status code of the response.
StatusCode int `json:"statusCode"`
// StoppedAt The time when the call was finished being handled. Null if the call is still being handled.
StoppedAt time.Time `json:"stoppedAt"`
// Url The full URL of the request.
Url string `json:"url"`
}
DebugSessionCall defines model for DebugSessionCall.
type DeleteDebugSession204Response ¶ added in v1.0.0
type DeleteDebugSession204Response struct {
}
func (DeleteDebugSession204Response) VisitDeleteDebugSessionResponse ¶ added in v1.0.0
func (response DeleteDebugSession204Response) VisitDeleteDebugSessionResponse(w http.ResponseWriter) error
type DeleteDebugSession400JSONResponse ¶ added in v1.0.0
type DeleteDebugSession400JSONResponse APIErrorResponse
func (DeleteDebugSession400JSONResponse) VisitDeleteDebugSessionResponse ¶ added in v1.0.0
func (response DeleteDebugSession400JSONResponse) VisitDeleteDebugSessionResponse(w http.ResponseWriter) error
type DeleteDebugSession403JSONResponse ¶ added in v1.0.0
type DeleteDebugSession403JSONResponse APIErrorResponse
func (DeleteDebugSession403JSONResponse) VisitDeleteDebugSessionResponse ¶ added in v1.0.0
func (response DeleteDebugSession403JSONResponse) VisitDeleteDebugSessionResponse(w http.ResponseWriter) error
type DeleteDebugSession404JSONResponse ¶ added in v1.0.0
type DeleteDebugSession404JSONResponse APIErrorResponse
func (DeleteDebugSession404JSONResponse) VisitDeleteDebugSessionResponse ¶ added in v1.0.0
func (response DeleteDebugSession404JSONResponse) VisitDeleteDebugSessionResponse(w http.ResponseWriter) error
type DeleteDebugSession500JSONResponse ¶ added in v1.0.0
type DeleteDebugSession500JSONResponse APIErrorResponse
func (DeleteDebugSession500JSONResponse) VisitDeleteDebugSessionResponse ¶ added in v1.0.0
func (response DeleteDebugSession500JSONResponse) VisitDeleteDebugSessionResponse(w http.ResponseWriter) error
type DeleteDebugSessionRequestObject ¶ added in v1.0.0
type DeleteDebugSessionResponseObject ¶ added in v1.0.0
type DeleteDebugSessionResponseObject interface {
VisitDeleteDebugSessionResponse(w http.ResponseWriter) error
}
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 ExtendDebugSession403JSONResponse ¶ added in v1.0.0
type ExtendDebugSession403JSONResponse APIErrorResponse
func (ExtendDebugSession403JSONResponse) VisitExtendDebugSessionResponse ¶ added in v1.0.0
func (response ExtendDebugSession403JSONResponse) 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 int `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 FlowTransition ¶ added in v1.0.0
type FlowTransition struct {
// Component The flow component that the transition corresponds to.
Component string `json:"component"`
// Direction The direction of the flow transition. Some components handle requests
// both coming into the system (inbound) and going out of the system (outbound).
Direction FlowTransitionDirection `json:"direction"`
// Result The result of a flow transition. A flow transition can either succeed or fail.
Result FlowTransitionResult `json:"result"`
// StartedAt The time when the flow transition started.
StartedAt time.Time `json:"startedAt"`
// StoppedAt The time when the flow transition stopped. Null if the transition is still active.
StoppedAt time.Time `json:"stoppedAt"`
}
FlowTransition A flow transition that occurred during a debug session call. A flow transition represents a flow component's handling of a request, in both directions.
type FlowTransitionDirection ¶ added in v1.0.0
type FlowTransitionDirection string
FlowTransitionDirection The direction of the flow transition. Some components handle requests both coming into the system (inbound) and going out of the system (outbound).
const ( Inbound FlowTransitionDirection = "inbound" Outbound FlowTransitionDirection = "outbound" )
Defines values for FlowTransitionDirection.
func (FlowTransitionDirection) Valid ¶ added in v1.0.0
func (e FlowTransitionDirection) Valid() bool
Valid indicates whether the value is a known member of the FlowTransitionDirection enum.
type FlowTransitionResult ¶ added in v1.0.0
type FlowTransitionResult struct {
// Cause The cause of the flow transition result, if outcome is 'failure'.
Cause *string `json:"cause,omitempty"`
Outcome FlowTransitionResultOutcome `json:"outcome"`
}
FlowTransitionResult The result of a flow transition. A flow transition can either succeed or fail.
type FlowTransitionResultOutcome ¶ added in v1.0.0
type FlowTransitionResultOutcome string
FlowTransitionResultOutcome defines model for FlowTransitionResult.Outcome.
const ( Failure FlowTransitionResultOutcome = "failure" Success FlowTransitionResultOutcome = "success" )
Defines values for FlowTransitionResultOutcome.
func (FlowTransitionResultOutcome) Valid ¶ added in v1.0.0
func (e FlowTransitionResultOutcome) Valid() bool
Valid indicates whether the value is a known member of the FlowTransitionResultOutcome enum.
type GetBackendOAS200ApplicationyamlResponse ¶
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 GetDebugSession403JSONResponse ¶ added in v1.0.0
type GetDebugSession403JSONResponse APIErrorResponse
func (GetDebugSession403JSONResponse) VisitGetDebugSessionResponse ¶ added in v1.0.0
func (response GetDebugSession403JSONResponse) 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 GetDebugSessionCall200JSONResponse ¶ added in v1.0.0
type GetDebugSessionCall200JSONResponse DebugSessionCall
func (GetDebugSessionCall200JSONResponse) VisitGetDebugSessionCallResponse ¶ added in v1.0.0
func (response GetDebugSessionCall200JSONResponse) VisitGetDebugSessionCallResponse(w http.ResponseWriter) error
type GetDebugSessionCall400JSONResponse ¶ added in v1.0.0
type GetDebugSessionCall400JSONResponse APIErrorResponse
func (GetDebugSessionCall400JSONResponse) VisitGetDebugSessionCallResponse ¶ added in v1.0.0
func (response GetDebugSessionCall400JSONResponse) VisitGetDebugSessionCallResponse(w http.ResponseWriter) error
type GetDebugSessionCall403JSONResponse ¶ added in v1.0.0
type GetDebugSessionCall403JSONResponse APIErrorResponse
func (GetDebugSessionCall403JSONResponse) VisitGetDebugSessionCallResponse ¶ added in v1.0.0
func (response GetDebugSessionCall403JSONResponse) VisitGetDebugSessionCallResponse(w http.ResponseWriter) error
type GetDebugSessionCall404JSONResponse ¶ added in v1.0.0
type GetDebugSessionCall404JSONResponse APIErrorResponse
func (GetDebugSessionCall404JSONResponse) VisitGetDebugSessionCallResponse ¶ added in v1.0.0
func (response GetDebugSessionCall404JSONResponse) VisitGetDebugSessionCallResponse(w http.ResponseWriter) error
type GetDebugSessionCall500JSONResponse ¶ added in v1.0.0
type GetDebugSessionCall500JSONResponse APIErrorResponse
func (GetDebugSessionCall500JSONResponse) VisitGetDebugSessionCallResponse ¶ added in v1.0.0
func (response GetDebugSessionCall500JSONResponse) VisitGetDebugSessionCallResponse(w http.ResponseWriter) error
type GetDebugSessionCallRequestObject ¶ added in v1.0.0
type GetDebugSessionCallResponseObject ¶ added in v1.0.0
type GetDebugSessionCallResponseObject interface {
VisitGetDebugSessionCallResponse(w http.ResponseWriter) error
}
type GetDebugSessionRequestObject ¶ added in v0.9.1
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 ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type ListDebugSessionCalls200JSONResponse ¶ added in v1.0.0
type ListDebugSessionCalls200JSONResponse []DebugSessionCall
func (ListDebugSessionCalls200JSONResponse) VisitListDebugSessionCallsResponse ¶ added in v1.0.0
func (response ListDebugSessionCalls200JSONResponse) VisitListDebugSessionCallsResponse(w http.ResponseWriter) error
type ListDebugSessionCalls400JSONResponse ¶ added in v1.0.0
type ListDebugSessionCalls400JSONResponse APIErrorResponse
func (ListDebugSessionCalls400JSONResponse) VisitListDebugSessionCallsResponse ¶ added in v1.0.0
func (response ListDebugSessionCalls400JSONResponse) VisitListDebugSessionCallsResponse(w http.ResponseWriter) error
type ListDebugSessionCalls403JSONResponse ¶ added in v1.0.0
type ListDebugSessionCalls403JSONResponse APIErrorResponse
func (ListDebugSessionCalls403JSONResponse) VisitListDebugSessionCallsResponse ¶ added in v1.0.0
func (response ListDebugSessionCalls403JSONResponse) VisitListDebugSessionCallsResponse(w http.ResponseWriter) error
type ListDebugSessionCalls404JSONResponse ¶ added in v1.0.0
type ListDebugSessionCalls404JSONResponse APIErrorResponse
func (ListDebugSessionCalls404JSONResponse) VisitListDebugSessionCallsResponse ¶ added in v1.0.0
func (response ListDebugSessionCalls404JSONResponse) VisitListDebugSessionCallsResponse(w http.ResponseWriter) error
type ListDebugSessionCalls500JSONResponse ¶ added in v1.0.0
type ListDebugSessionCalls500JSONResponse APIErrorResponse
func (ListDebugSessionCalls500JSONResponse) VisitListDebugSessionCallsResponse ¶ added in v1.0.0
func (response ListDebugSessionCalls500JSONResponse) VisitListDebugSessionCallsResponse(w http.ResponseWriter) error
type ListDebugSessionCallsParams ¶ added in v1.0.0
type ListDebugSessionCallsParams struct {
IncludeTransitions bool `form:"includeTransitions" json:"includeTransitions"`
}
ListDebugSessionCallsParams defines parameters for ListDebugSessionCalls.
type ListDebugSessionCallsRequestObject ¶ added in v1.0.0
type ListDebugSessionCallsRequestObject struct {
Backend string `json:"backend"`
SessionId int `json:"sessionId"`
Params ListDebugSessionCallsParams
}
type ListDebugSessionCallsResponseObject ¶ added in v1.0.0
type ListDebugSessionCallsResponseObject interface {
VisitListDebugSessionCallsResponse(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 ListDebugSessions403JSONResponse ¶ added in v1.0.0
type ListDebugSessions403JSONResponse APIErrorResponse
func (ListDebugSessions403JSONResponse) VisitListDebugSessionsResponse ¶ added in v1.0.0
func (response ListDebugSessions403JSONResponse) 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
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 NoFlowMetaData ¶
type NoFlowMetaData = map[string]interface{}
NoFlowMetaData No metadata for the flow component.
type Permission ¶ added in v0.9.0
Permission defines model for Permission.
type RequiredHeaderError ¶
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})
DeleteDebugSession(w http.ResponseWriter, r *http.Request, backend string, sessionId int)
// (GET /api/admin/debug/{backend}/sessions/{sessionId})
GetDebugSession(w http.ResponseWriter, r *http.Request, backend string, sessionId int)
// (POST /api/admin/debug/{backend}/sessions/{sessionId})
StopDebugSession(w http.ResponseWriter, r *http.Request, backend string, sessionId int)
// (PUT /api/admin/debug/{backend}/sessions/{sessionId})
ExtendDebugSession(w http.ResponseWriter, r *http.Request, backend string, sessionId int)
// (GET /api/admin/debug/{backend}/sessions/{sessionId}/calls)
ListDebugSessionCalls(w http.ResponseWriter, r *http.Request, backend string, sessionId int, params ListDebugSessionCallsParams)
// (GET /api/admin/debug/{backend}/sessions/{sessionId}/calls/{callId})
GetDebugSessionCall(w http.ResponseWriter, r *http.Request, backend string, sessionId int, callId int)
// (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) DeleteDebugSession ¶ added in v1.0.0
func (siw *ServerInterfaceWrapper) DeleteDebugSession(w http.ResponseWriter, r *http.Request)
DeleteDebugSession 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) GetDebugSessionCall ¶ added in v1.0.0
func (siw *ServerInterfaceWrapper) GetDebugSessionCall(w http.ResponseWriter, r *http.Request)
GetDebugSessionCall operation middleware
func (*ServerInterfaceWrapper) GetFlow ¶
func (siw *ServerInterfaceWrapper) GetFlow(w http.ResponseWriter, r *http.Request)
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
func (siw *ServerInterfaceWrapper) GetUser(w http.ResponseWriter, r *http.Request)
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) ListDebugSessionCalls ¶ added in v1.0.0
func (siw *ServerInterfaceWrapper) ListDebugSessionCalls(w http.ResponseWriter, r *http.Request)
ListDebugSessionCalls 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
func (siw *ServerInterfaceWrapper) Login(w http.ResponseWriter, r *http.Request)
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
func (siw *ServerInterfaceWrapper) Logout(w http.ResponseWriter, r *http.Request)
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 StartDebugSession403JSONResponse ¶ added in v1.0.0
type StartDebugSession403JSONResponse APIErrorResponse
func (StartDebugSession403JSONResponse) VisitStartDebugSessionResponse ¶ added in v1.0.0
func (response StartDebugSession403JSONResponse) 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 StopDebugSession403JSONResponse ¶ added in v1.0.0
type StopDebugSession403JSONResponse APIErrorResponse
func (StopDebugSession403JSONResponse) VisitStopDebugSessionResponse ¶ added in v1.0.0
func (response StopDebugSession403JSONResponse) 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 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 StrictHandlerFunc ¶
type StrictHandlerFunc = strictnethttp.StrictHTTPHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictnethttp.StrictHTTPMiddlewareFunc
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})
DeleteDebugSession(ctx context.Context, request DeleteDebugSessionRequestObject) (DeleteDebugSessionResponseObject, error)
// (GET /api/admin/debug/{backend}/sessions/{sessionId})
GetDebugSession(ctx context.Context, request GetDebugSessionRequestObject) (GetDebugSessionResponseObject, error)
// (POST /api/admin/debug/{backend}/sessions/{sessionId})
StopDebugSession(ctx context.Context, request StopDebugSessionRequestObject) (StopDebugSessionResponseObject, error)
// (PUT /api/admin/debug/{backend}/sessions/{sessionId})
ExtendDebugSession(ctx context.Context, request ExtendDebugSessionRequestObject) (ExtendDebugSessionResponseObject, error)
// (GET /api/admin/debug/{backend}/sessions/{sessionId}/calls)
ListDebugSessionCalls(ctx context.Context, request ListDebugSessionCallsRequestObject) (ListDebugSessionCallsResponseObject, error)
// (GET /api/admin/debug/{backend}/sessions/{sessionId}/calls/{callId})
GetDebugSessionCall(ctx context.Context, request GetDebugSessionCallRequestObject) (GetDebugSessionCallResponseObject, 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 ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type UnmarshalingParamError ¶
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
}