Documentation ¶
Index ¶
- Constants
- type GetLogin
- type GetLoginDefault
- func (o *GetLoginDefault) SetPayload(payload *models.Error)
- func (o *GetLoginDefault) SetStatusCode(code int)
- func (o *GetLoginDefault) WithPayload(payload *models.Error) *GetLoginDefault
- func (o *GetLoginDefault) WithStatusCode(code int) *GetLoginDefault
- func (o *GetLoginDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetLoginHandler
- type GetLoginHandlerFunc
- type GetLoginOK
- type GetLoginOKBody
- type GetLoginParams
- type GetLoginURL
- func (o *GetLoginURL) Build() (*url.URL, error)
- func (o *GetLoginURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetLoginURL) Must(u *url.URL, err error) *url.URL
- func (o *GetLoginURL) SetBasePath(bp string)
- func (o *GetLoginURL) String() string
- func (o *GetLoginURL) StringFull(scheme, host string) string
- func (o *GetLoginURL) WithBasePath(bp string) *GetLoginURL
- type GetOidcCallback
- type GetOidcCallbackDefault
- func (o *GetOidcCallbackDefault) SetPayload(payload *models.Error)
- func (o *GetOidcCallbackDefault) SetStatusCode(code int)
- func (o *GetOidcCallbackDefault) WithPayload(payload *models.Error) *GetOidcCallbackDefault
- func (o *GetOidcCallbackDefault) WithStatusCode(code int) *GetOidcCallbackDefault
- func (o *GetOidcCallbackDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetOidcCallbackHandler
- type GetOidcCallbackHandlerFunc
- type GetOidcCallbackOK
- type GetOidcCallbackOKBody
- type GetOidcCallbackParams
- type GetOidcCallbackURL
- func (o *GetOidcCallbackURL) Build() (*url.URL, error)
- func (o *GetOidcCallbackURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetOidcCallbackURL) Must(u *url.URL, err error) *url.URL
- func (o *GetOidcCallbackURL) SetBasePath(bp string)
- func (o *GetOidcCallbackURL) String() string
- func (o *GetOidcCallbackURL) StringFull(scheme, host string) string
- func (o *GetOidcCallbackURL) WithBasePath(bp string) *GetOidcCallbackURL
- type GetOidcInfo
- type GetOidcInfoDefault
- func (o *GetOidcInfoDefault) SetPayload(payload *models.Error)
- func (o *GetOidcInfoDefault) SetStatusCode(code int)
- func (o *GetOidcInfoDefault) WithPayload(payload *models.Error) *GetOidcInfoDefault
- func (o *GetOidcInfoDefault) WithStatusCode(code int) *GetOidcInfoDefault
- func (o *GetOidcInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetOidcInfoHandler
- type GetOidcInfoHandlerFunc
- type GetOidcInfoOK
- type GetOidcInfoParams
- type GetOidcInfoURL
- func (o *GetOidcInfoURL) Build() (*url.URL, error)
- func (o *GetOidcInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetOidcInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetOidcInfoURL) SetBasePath(bp string)
- func (o *GetOidcInfoURL) String() string
- func (o *GetOidcInfoURL) StringFull(scheme, host string) string
- func (o *GetOidcInfoURL) WithBasePath(bp string) *GetOidcInfoURL
- type GetUser
- type GetUserDefault
- func (o *GetUserDefault) SetPayload(payload *models.Error)
- func (o *GetUserDefault) SetStatusCode(code int)
- func (o *GetUserDefault) WithPayload(payload *models.Error) *GetUserDefault
- func (o *GetUserDefault) WithStatusCode(code int) *GetUserDefault
- func (o *GetUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetUserHandler
- type GetUserHandlerFunc
- type GetUserOK
- type GetUserParams
- type GetUserURL
- func (o *GetUserURL) Build() (*url.URL, error)
- func (o *GetUserURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetUserURL) Must(u *url.URL, err error) *url.URL
- func (o *GetUserURL) SetBasePath(bp string)
- func (o *GetUserURL) String() string
- func (o *GetUserURL) StringFull(scheme, host string) string
- func (o *GetUserURL) WithBasePath(bp string) *GetUserURL
Constants ¶
const GetLoginOKCode int = 200
GetLoginOKCode is the HTTP code returned for type GetLoginOK
const GetOidcCallbackOKCode int = 200
GetOidcCallbackOKCode is the HTTP code returned for type GetOidcCallbackOK
const GetOidcInfoOKCode int = 200
GetOidcInfoOKCode is the HTTP code returned for type GetOidcInfoOK
const GetUserOKCode int = 200
GetUserOKCode is the HTTP code returned for type GetUserOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetLogin ¶
type GetLogin struct { Context *middleware.Context Handler GetLoginHandler }
GetLogin swagger:route GET /login login getLogin
login through oauth2 server
func NewGetLogin ¶
func NewGetLogin(ctx *middleware.Context, handler GetLoginHandler) *GetLogin
NewGetLogin creates a new http.Handler for the get login operation
type GetLoginDefault ¶
type GetLoginDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetLoginDefault error
swagger:response getLoginDefault
func NewGetLoginDefault ¶
func NewGetLoginDefault(code int) *GetLoginDefault
NewGetLoginDefault creates GetLoginDefault with default headers values
func (*GetLoginDefault) SetPayload ¶
func (o *GetLoginDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get login default response
func (*GetLoginDefault) SetStatusCode ¶
func (o *GetLoginDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get login default response
func (*GetLoginDefault) WithPayload ¶
func (o *GetLoginDefault) WithPayload(payload *models.Error) *GetLoginDefault
WithPayload adds the payload to the get login default response
func (*GetLoginDefault) WithStatusCode ¶
func (o *GetLoginDefault) WithStatusCode(code int) *GetLoginDefault
WithStatusCode adds the status to the get login default response
func (*GetLoginDefault) WriteResponse ¶
func (o *GetLoginDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetLoginHandler ¶
type GetLoginHandler interface {
Handle(GetLoginParams) middleware.Responder
}
GetLoginHandler interface for that can handle valid get login params
type GetLoginHandlerFunc ¶
type GetLoginHandlerFunc func(GetLoginParams) middleware.Responder
GetLoginHandlerFunc turns a function with the right signature into a get login handler
func (GetLoginHandlerFunc) Handle ¶
func (fn GetLoginHandlerFunc) Handle(params GetLoginParams) middleware.Responder
Handle executing the request and returning a response
type GetLoginOK ¶
type GetLoginOK struct { /* In: Body */ Payload *GetLoginOKBody `json:"body,omitempty"` }
GetLoginOK login
swagger:response getLoginOK
func NewGetLoginOK ¶
func NewGetLoginOK() *GetLoginOK
NewGetLoginOK creates GetLoginOK with default headers values
func (*GetLoginOK) SetPayload ¶
func (o *GetLoginOK) SetPayload(payload *GetLoginOKBody)
SetPayload sets the payload to the get login o k response
func (*GetLoginOK) WithPayload ¶
func (o *GetLoginOK) WithPayload(payload *GetLoginOKBody) *GetLoginOK
WithPayload adds the payload to the get login o k response
func (*GetLoginOK) WriteResponse ¶
func (o *GetLoginOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetLoginOKBody ¶
type GetLoginOKBody struct { // access token AccessToken string `json:"access_token,omitempty"` }
GetLoginOKBody get login o k body
swagger:model GetLoginOKBody
func (*GetLoginOKBody) ContextValidate ¶
ContextValidate validates this get login o k body based on context it is used
func (*GetLoginOKBody) MarshalBinary ¶
func (o *GetLoginOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetLoginOKBody) UnmarshalBinary ¶
func (o *GetLoginOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetLoginParams ¶
GetLoginParams contains all the bound params for the get login operation typically these are obtained from a http.Request
swagger:parameters GetLogin
func NewGetLoginParams ¶
func NewGetLoginParams() GetLoginParams
NewGetLoginParams creates a new GetLoginParams object
There are no default values defined in the spec.
func (*GetLoginParams) BindRequest ¶
func (o *GetLoginParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetLoginParams() beforehand.
type GetLoginURL ¶
type GetLoginURL struct {
// contains filtered or unexported fields
}
GetLoginURL generates an URL for the get login operation
func (*GetLoginURL) Build ¶
func (o *GetLoginURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetLoginURL) BuildFull ¶
func (o *GetLoginURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetLoginURL) SetBasePath ¶
func (o *GetLoginURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetLoginURL) String ¶
func (o *GetLoginURL) String() string
String returns the string representation of the path with query string
func (*GetLoginURL) StringFull ¶
func (o *GetLoginURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetLoginURL) WithBasePath ¶
func (o *GetLoginURL) WithBasePath(bp string) *GetLoginURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetOidcCallback ¶
type GetOidcCallback struct { Context *middleware.Context Handler GetOidcCallbackHandler }
GetOidcCallback swagger:route GET /oidc_callback login getOidcCallback
return access_token
func NewGetOidcCallback ¶
func NewGetOidcCallback(ctx *middleware.Context, handler GetOidcCallbackHandler) *GetOidcCallback
NewGetOidcCallback creates a new http.Handler for the get oidc callback operation
func (*GetOidcCallback) ServeHTTP ¶
func (o *GetOidcCallback) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetOidcCallbackDefault ¶
type GetOidcCallbackDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetOidcCallbackDefault error
swagger:response getOidcCallbackDefault
func NewGetOidcCallbackDefault ¶
func NewGetOidcCallbackDefault(code int) *GetOidcCallbackDefault
NewGetOidcCallbackDefault creates GetOidcCallbackDefault with default headers values
func (*GetOidcCallbackDefault) SetPayload ¶
func (o *GetOidcCallbackDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get oidc callback default response
func (*GetOidcCallbackDefault) SetStatusCode ¶
func (o *GetOidcCallbackDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get oidc callback default response
func (*GetOidcCallbackDefault) WithPayload ¶
func (o *GetOidcCallbackDefault) WithPayload(payload *models.Error) *GetOidcCallbackDefault
WithPayload adds the payload to the get oidc callback default response
func (*GetOidcCallbackDefault) WithStatusCode ¶
func (o *GetOidcCallbackDefault) WithStatusCode(code int) *GetOidcCallbackDefault
WithStatusCode adds the status to the get oidc callback default response
func (*GetOidcCallbackDefault) WriteResponse ¶
func (o *GetOidcCallbackDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOidcCallbackHandler ¶
type GetOidcCallbackHandler interface {
Handle(GetOidcCallbackParams) middleware.Responder
}
GetOidcCallbackHandler interface for that can handle valid get oidc callback params
type GetOidcCallbackHandlerFunc ¶
type GetOidcCallbackHandlerFunc func(GetOidcCallbackParams) middleware.Responder
GetOidcCallbackHandlerFunc turns a function with the right signature into a get oidc callback handler
func (GetOidcCallbackHandlerFunc) Handle ¶
func (fn GetOidcCallbackHandlerFunc) Handle(params GetOidcCallbackParams) middleware.Responder
Handle executing the request and returning a response
type GetOidcCallbackOK ¶
type GetOidcCallbackOK struct { /* In: Body */ Payload *GetOidcCallbackOKBody `json:"body,omitempty"` }
GetOidcCallbackOK login
swagger:response getOidcCallbackOK
func NewGetOidcCallbackOK ¶
func NewGetOidcCallbackOK() *GetOidcCallbackOK
NewGetOidcCallbackOK creates GetOidcCallbackOK with default headers values
func (*GetOidcCallbackOK) SetPayload ¶
func (o *GetOidcCallbackOK) SetPayload(payload *GetOidcCallbackOKBody)
SetPayload sets the payload to the get oidc callback o k response
func (*GetOidcCallbackOK) WithPayload ¶
func (o *GetOidcCallbackOK) WithPayload(payload *GetOidcCallbackOKBody) *GetOidcCallbackOK
WithPayload adds the payload to the get oidc callback o k response
func (*GetOidcCallbackOK) WriteResponse ¶
func (o *GetOidcCallbackOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOidcCallbackOKBody ¶
type GetOidcCallbackOKBody struct { // access token AccessToken string `json:"access_token,omitempty"` }
GetOidcCallbackOKBody get oidc callback o k body
swagger:model GetOidcCallbackOKBody
func (*GetOidcCallbackOKBody) ContextValidate ¶
ContextValidate validates this get oidc callback o k body based on context it is used
func (*GetOidcCallbackOKBody) MarshalBinary ¶
func (o *GetOidcCallbackOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOidcCallbackOKBody) UnmarshalBinary ¶
func (o *GetOidcCallbackOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOidcCallbackParams ¶
GetOidcCallbackParams contains all the bound params for the get oidc callback operation typically these are obtained from a http.Request
swagger:parameters GetOidcCallback
func NewGetOidcCallbackParams ¶
func NewGetOidcCallbackParams() GetOidcCallbackParams
NewGetOidcCallbackParams creates a new GetOidcCallbackParams object
There are no default values defined in the spec.
func (*GetOidcCallbackParams) BindRequest ¶
func (o *GetOidcCallbackParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetOidcCallbackParams() beforehand.
type GetOidcCallbackURL ¶
type GetOidcCallbackURL struct {
// contains filtered or unexported fields
}
GetOidcCallbackURL generates an URL for the get oidc callback operation
func (*GetOidcCallbackURL) Build ¶
func (o *GetOidcCallbackURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetOidcCallbackURL) BuildFull ¶
func (o *GetOidcCallbackURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetOidcCallbackURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetOidcCallbackURL) SetBasePath ¶
func (o *GetOidcCallbackURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetOidcCallbackURL) String ¶
func (o *GetOidcCallbackURL) String() string
String returns the string representation of the path with query string
func (*GetOidcCallbackURL) StringFull ¶
func (o *GetOidcCallbackURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetOidcCallbackURL) WithBasePath ¶
func (o *GetOidcCallbackURL) WithBasePath(bp string) *GetOidcCallbackURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetOidcInfo ¶
type GetOidcInfo struct { Context *middleware.Context Handler GetOidcInfoHandler }
GetOidcInfo swagger:route GET /oidc_info login getOidcInfo
Obtain information about OpenID Connect
func NewGetOidcInfo ¶
func NewGetOidcInfo(ctx *middleware.Context, handler GetOidcInfoHandler) *GetOidcInfo
NewGetOidcInfo creates a new http.Handler for the get oidc info operation
func (*GetOidcInfo) ServeHTTP ¶
func (o *GetOidcInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetOidcInfoDefault ¶
type GetOidcInfoDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetOidcInfoDefault error
swagger:response getOidcInfoDefault
func NewGetOidcInfoDefault ¶
func NewGetOidcInfoDefault(code int) *GetOidcInfoDefault
NewGetOidcInfoDefault creates GetOidcInfoDefault with default headers values
func (*GetOidcInfoDefault) SetPayload ¶
func (o *GetOidcInfoDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get oidc info default response
func (*GetOidcInfoDefault) SetStatusCode ¶
func (o *GetOidcInfoDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get oidc info default response
func (*GetOidcInfoDefault) WithPayload ¶
func (o *GetOidcInfoDefault) WithPayload(payload *models.Error) *GetOidcInfoDefault
WithPayload adds the payload to the get oidc info default response
func (*GetOidcInfoDefault) WithStatusCode ¶
func (o *GetOidcInfoDefault) WithStatusCode(code int) *GetOidcInfoDefault
WithStatusCode adds the status to the get oidc info default response
func (*GetOidcInfoDefault) WriteResponse ¶
func (o *GetOidcInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOidcInfoHandler ¶
type GetOidcInfoHandler interface {
Handle(GetOidcInfoParams) middleware.Responder
}
GetOidcInfoHandler interface for that can handle valid get oidc info params
type GetOidcInfoHandlerFunc ¶
type GetOidcInfoHandlerFunc func(GetOidcInfoParams) middleware.Responder
GetOidcInfoHandlerFunc turns a function with the right signature into a get oidc info handler
func (GetOidcInfoHandlerFunc) Handle ¶
func (fn GetOidcInfoHandlerFunc) Handle(params GetOidcInfoParams) middleware.Responder
Handle executing the request and returning a response
type GetOidcInfoOK ¶
GetOidcInfoOK OpenID Connect information
swagger:response getOidcInfoOK
func NewGetOidcInfoOK ¶
func NewGetOidcInfoOK() *GetOidcInfoOK
NewGetOidcInfoOK creates GetOidcInfoOK with default headers values
func (*GetOidcInfoOK) SetPayload ¶
func (o *GetOidcInfoOK) SetPayload(payload *models.OidcInfo)
SetPayload sets the payload to the get oidc info o k response
func (*GetOidcInfoOK) WithPayload ¶
func (o *GetOidcInfoOK) WithPayload(payload *models.OidcInfo) *GetOidcInfoOK
WithPayload adds the payload to the get oidc info o k response
func (*GetOidcInfoOK) WriteResponse ¶
func (o *GetOidcInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOidcInfoParams ¶
GetOidcInfoParams contains all the bound params for the get oidc info operation typically these are obtained from a http.Request
swagger:parameters GetOidcInfo
func NewGetOidcInfoParams ¶
func NewGetOidcInfoParams() GetOidcInfoParams
NewGetOidcInfoParams creates a new GetOidcInfoParams object
There are no default values defined in the spec.
func (*GetOidcInfoParams) BindRequest ¶
func (o *GetOidcInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetOidcInfoParams() beforehand.
type GetOidcInfoURL ¶
type GetOidcInfoURL struct {
// contains filtered or unexported fields
}
GetOidcInfoURL generates an URL for the get oidc info operation
func (*GetOidcInfoURL) Build ¶
func (o *GetOidcInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetOidcInfoURL) BuildFull ¶
func (o *GetOidcInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetOidcInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetOidcInfoURL) SetBasePath ¶
func (o *GetOidcInfoURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetOidcInfoURL) String ¶
func (o *GetOidcInfoURL) String() string
String returns the string representation of the path with query string
func (*GetOidcInfoURL) StringFull ¶
func (o *GetOidcInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetOidcInfoURL) WithBasePath ¶
func (o *GetOidcInfoURL) WithBasePath(bp string) *GetOidcInfoURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetUser ¶
type GetUser struct { Context *middleware.Context Handler GetUserHandler }
GetUser swagger:route GET /user/ login getUser
GetUser get user API
func NewGetUser ¶
func NewGetUser(ctx *middleware.Context, handler GetUserHandler) *GetUser
NewGetUser creates a new http.Handler for the get user operation
type GetUserDefault ¶
type GetUserDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetUserDefault Error
swagger:response getUserDefault
func NewGetUserDefault ¶
func NewGetUserDefault(code int) *GetUserDefault
NewGetUserDefault creates GetUserDefault with default headers values
func (*GetUserDefault) SetPayload ¶
func (o *GetUserDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get user default response
func (*GetUserDefault) SetStatusCode ¶
func (o *GetUserDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get user default response
func (*GetUserDefault) WithPayload ¶
func (o *GetUserDefault) WithPayload(payload *models.Error) *GetUserDefault
WithPayload adds the payload to the get user default response
func (*GetUserDefault) WithStatusCode ¶
func (o *GetUserDefault) WithStatusCode(code int) *GetUserDefault
WithStatusCode adds the status to the get user default response
func (*GetUserDefault) WriteResponse ¶
func (o *GetUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserHandler ¶
type GetUserHandler interface {
Handle(GetUserParams, *schemas.User) middleware.Responder
}
GetUserHandler interface for that can handle valid get user params
type GetUserHandlerFunc ¶
type GetUserHandlerFunc func(GetUserParams, *schemas.User) middleware.Responder
GetUserHandlerFunc turns a function with the right signature into a get user handler
func (GetUserHandlerFunc) Handle ¶
func (fn GetUserHandlerFunc) Handle(params GetUserParams, principal *schemas.User) middleware.Responder
Handle executing the request and returning a response
type GetUserOK ¶
GetUserOK User info
swagger:response getUserOK
func NewGetUserOK ¶
func NewGetUserOK() *GetUserOK
NewGetUserOK creates GetUserOK with default headers values
func (*GetUserOK) SetPayload ¶
SetPayload sets the payload to the get user o k response
func (*GetUserOK) WithPayload ¶
WithPayload adds the payload to the get user o k response
func (*GetUserOK) WriteResponse ¶
func (o *GetUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserParams ¶
GetUserParams contains all the bound params for the get user operation typically these are obtained from a http.Request
swagger:parameters GetUser
func NewGetUserParams ¶
func NewGetUserParams() GetUserParams
NewGetUserParams creates a new GetUserParams object
There are no default values defined in the spec.
func (*GetUserParams) BindRequest ¶
func (o *GetUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetUserParams() beforehand.
type GetUserURL ¶
type GetUserURL struct {
// contains filtered or unexported fields
}
GetUserURL generates an URL for the get user operation
func (*GetUserURL) Build ¶
func (o *GetUserURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetUserURL) BuildFull ¶
func (o *GetUserURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetUserURL) SetBasePath ¶
func (o *GetUserURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetUserURL) String ¶
func (o *GetUserURL) String() string
String returns the string representation of the path with query string
func (*GetUserURL) StringFull ¶
func (o *GetUserURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetUserURL) WithBasePath ¶
func (o *GetUserURL) WithBasePath(bp string) *GetUserURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- get_login.go
- get_login_parameters.go
- get_login_responses.go
- get_login_urlbuilder.go
- get_oidc_callback.go
- get_oidc_callback_parameters.go
- get_oidc_callback_responses.go
- get_oidc_callback_urlbuilder.go
- get_oidc_info.go
- get_oidc_info_parameters.go
- get_oidc_info_responses.go
- get_oidc_info_urlbuilder.go
- get_user.go
- get_user_parameters.go
- get_user_responses.go
- get_user_urlbuilder.go