Documentation ¶
Index ¶
- Constants
- type CheckMinIOVersion
- type CheckMinIOVersionDefault
- func (o *CheckMinIOVersionDefault) SetPayload(payload *models.Error)
- func (o *CheckMinIOVersionDefault) SetStatusCode(code int)
- func (o *CheckMinIOVersionDefault) WithPayload(payload *models.Error) *CheckMinIOVersionDefault
- func (o *CheckMinIOVersionDefault) WithStatusCode(code int) *CheckMinIOVersionDefault
- func (o *CheckMinIOVersionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CheckMinIOVersionHandler
- type CheckMinIOVersionHandlerFunc
- type CheckMinIOVersionOK
- type CheckMinIOVersionParams
- type CheckMinIOVersionURL
- func (o *CheckMinIOVersionURL) Build() (*url.URL, error)
- func (o *CheckMinIOVersionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CheckMinIOVersionURL) Must(u *url.URL, err error) *url.URL
- func (o *CheckMinIOVersionURL) SetBasePath(bp string)
- func (o *CheckMinIOVersionURL) String() string
- func (o *CheckMinIOVersionURL) StringFull(scheme, host string) string
- func (o *CheckMinIOVersionURL) WithBasePath(bp string) *CheckMinIOVersionURL
- type LoginDetail
- type LoginDetailDefault
- func (o *LoginDetailDefault) SetPayload(payload *models.Error)
- func (o *LoginDetailDefault) SetStatusCode(code int)
- func (o *LoginDetailDefault) WithPayload(payload *models.Error) *LoginDetailDefault
- func (o *LoginDetailDefault) WithStatusCode(code int) *LoginDetailDefault
- func (o *LoginDetailDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LoginDetailHandler
- type LoginDetailHandlerFunc
- type LoginDetailOK
- type LoginDetailParams
- type LoginDetailURL
- func (o *LoginDetailURL) Build() (*url.URL, error)
- func (o *LoginDetailURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LoginDetailURL) Must(u *url.URL, err error) *url.URL
- func (o *LoginDetailURL) SetBasePath(bp string)
- func (o *LoginDetailURL) String() string
- func (o *LoginDetailURL) StringFull(scheme, host string) string
- func (o *LoginDetailURL) WithBasePath(bp string) *LoginDetailURL
- type LoginOauth2Auth
- type LoginOauth2AuthDefault
- func (o *LoginOauth2AuthDefault) SetPayload(payload *models.Error)
- func (o *LoginOauth2AuthDefault) SetStatusCode(code int)
- func (o *LoginOauth2AuthDefault) WithPayload(payload *models.Error) *LoginOauth2AuthDefault
- func (o *LoginOauth2AuthDefault) WithStatusCode(code int) *LoginOauth2AuthDefault
- func (o *LoginOauth2AuthDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LoginOauth2AuthHandler
- type LoginOauth2AuthHandlerFunc
- type LoginOauth2AuthNoContent
- type LoginOauth2AuthParams
- type LoginOauth2AuthURL
- func (o *LoginOauth2AuthURL) Build() (*url.URL, error)
- func (o *LoginOauth2AuthURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LoginOauth2AuthURL) Must(u *url.URL, err error) *url.URL
- func (o *LoginOauth2AuthURL) SetBasePath(bp string)
- func (o *LoginOauth2AuthURL) String() string
- func (o *LoginOauth2AuthURL) StringFull(scheme, host string) string
- func (o *LoginOauth2AuthURL) WithBasePath(bp string) *LoginOauth2AuthURL
- type LoginOperator
- type LoginOperatorDefault
- func (o *LoginOperatorDefault) SetPayload(payload *models.Error)
- func (o *LoginOperatorDefault) SetStatusCode(code int)
- func (o *LoginOperatorDefault) WithPayload(payload *models.Error) *LoginOperatorDefault
- func (o *LoginOperatorDefault) WithStatusCode(code int) *LoginOperatorDefault
- func (o *LoginOperatorDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LoginOperatorHandler
- type LoginOperatorHandlerFunc
- type LoginOperatorNoContent
- type LoginOperatorParams
- type LoginOperatorURL
- func (o *LoginOperatorURL) Build() (*url.URL, error)
- func (o *LoginOperatorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LoginOperatorURL) Must(u *url.URL, err error) *url.URL
- func (o *LoginOperatorURL) SetBasePath(bp string)
- func (o *LoginOperatorURL) String() string
- func (o *LoginOperatorURL) StringFull(scheme, host string) string
- func (o *LoginOperatorURL) WithBasePath(bp string) *LoginOperatorURL
- type Logout
- type LogoutDefault
- func (o *LogoutDefault) SetPayload(payload *models.Error)
- func (o *LogoutDefault) SetStatusCode(code int)
- func (o *LogoutDefault) WithPayload(payload *models.Error) *LogoutDefault
- func (o *LogoutDefault) WithStatusCode(code int) *LogoutDefault
- func (o *LogoutDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LogoutHandler
- type LogoutHandlerFunc
- type LogoutOK
- type LogoutParams
- type LogoutURL
- func (o *LogoutURL) Build() (*url.URL, error)
- func (o *LogoutURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LogoutURL) Must(u *url.URL, err error) *url.URL
- func (o *LogoutURL) SetBasePath(bp string)
- func (o *LogoutURL) String() string
- func (o *LogoutURL) StringFull(scheme, host string) string
- func (o *LogoutURL) WithBasePath(bp string) *LogoutURL
- type SessionCheck
- type SessionCheckDefault
- func (o *SessionCheckDefault) SetPayload(payload *models.Error)
- func (o *SessionCheckDefault) SetStatusCode(code int)
- func (o *SessionCheckDefault) WithPayload(payload *models.Error) *SessionCheckDefault
- func (o *SessionCheckDefault) WithStatusCode(code int) *SessionCheckDefault
- func (o *SessionCheckDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SessionCheckHandler
- type SessionCheckHandlerFunc
- type SessionCheckOK
- type SessionCheckParams
- type SessionCheckURL
- func (o *SessionCheckURL) Build() (*url.URL, error)
- func (o *SessionCheckURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SessionCheckURL) Must(u *url.URL, err error) *url.URL
- func (o *SessionCheckURL) SetBasePath(bp string)
- func (o *SessionCheckURL) String() string
- func (o *SessionCheckURL) StringFull(scheme, host string) string
- func (o *SessionCheckURL) WithBasePath(bp string) *SessionCheckURL
Constants ¶
const CheckMinIOVersionOKCode int = 200
CheckMinIOVersionOKCode is the HTTP code returned for type CheckMinIOVersionOK
const LoginDetailOKCode int = 200
LoginDetailOKCode is the HTTP code returned for type LoginDetailOK
const LoginOauth2AuthNoContentCode int = 204
LoginOauth2AuthNoContentCode is the HTTP code returned for type LoginOauth2AuthNoContent
const LoginOperatorNoContentCode int = 204
LoginOperatorNoContentCode is the HTTP code returned for type LoginOperatorNoContent
const LogoutOKCode int = 200
LogoutOKCode is the HTTP code returned for type LogoutOK
const SessionCheckOKCode int = 200
SessionCheckOKCode is the HTTP code returned for type SessionCheckOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckMinIOVersion ¶
type CheckMinIOVersion struct { Context *middleware.Context Handler CheckMinIOVersionHandler }
CheckMinIOVersion swagger:route GET /check-version UserAPI checkMinIOVersion
Checks the current Operator version against the latest
func NewCheckMinIOVersion ¶
func NewCheckMinIOVersion(ctx *middleware.Context, handler CheckMinIOVersionHandler) *CheckMinIOVersion
NewCheckMinIOVersion creates a new http.Handler for the check min i o version operation
func (*CheckMinIOVersion) ServeHTTP ¶
func (o *CheckMinIOVersion) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CheckMinIOVersionDefault ¶
type CheckMinIOVersionDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CheckMinIOVersionDefault Generic error response.
swagger:response checkMinIOVersionDefault
func NewCheckMinIOVersionDefault ¶
func NewCheckMinIOVersionDefault(code int) *CheckMinIOVersionDefault
NewCheckMinIOVersionDefault creates CheckMinIOVersionDefault with default headers values
func (*CheckMinIOVersionDefault) SetPayload ¶
func (o *CheckMinIOVersionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the check min i o version default response
func (*CheckMinIOVersionDefault) SetStatusCode ¶
func (o *CheckMinIOVersionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the check min i o version default response
func (*CheckMinIOVersionDefault) WithPayload ¶
func (o *CheckMinIOVersionDefault) WithPayload(payload *models.Error) *CheckMinIOVersionDefault
WithPayload adds the payload to the check min i o version default response
func (*CheckMinIOVersionDefault) WithStatusCode ¶
func (o *CheckMinIOVersionDefault) WithStatusCode(code int) *CheckMinIOVersionDefault
WithStatusCode adds the status to the check min i o version default response
func (*CheckMinIOVersionDefault) WriteResponse ¶
func (o *CheckMinIOVersionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckMinIOVersionHandler ¶
type CheckMinIOVersionHandler interface {
Handle(CheckMinIOVersionParams) middleware.Responder
}
CheckMinIOVersionHandler interface for that can handle valid check min i o version params
type CheckMinIOVersionHandlerFunc ¶
type CheckMinIOVersionHandlerFunc func(CheckMinIOVersionParams) middleware.Responder
CheckMinIOVersionHandlerFunc turns a function with the right signature into a check min i o version handler
func (CheckMinIOVersionHandlerFunc) Handle ¶
func (fn CheckMinIOVersionHandlerFunc) Handle(params CheckMinIOVersionParams) middleware.Responder
Handle executing the request and returning a response
type CheckMinIOVersionOK ¶
type CheckMinIOVersionOK struct { /* In: Body */ Payload *models.CheckOperatorVersionResponse `json:"body,omitempty"` }
CheckMinIOVersionOK A successful response.
swagger:response checkMinIOVersionOK
func NewCheckMinIOVersionOK ¶
func NewCheckMinIOVersionOK() *CheckMinIOVersionOK
NewCheckMinIOVersionOK creates CheckMinIOVersionOK with default headers values
func (*CheckMinIOVersionOK) SetPayload ¶
func (o *CheckMinIOVersionOK) SetPayload(payload *models.CheckOperatorVersionResponse)
SetPayload sets the payload to the check min i o version o k response
func (*CheckMinIOVersionOK) WithPayload ¶
func (o *CheckMinIOVersionOK) WithPayload(payload *models.CheckOperatorVersionResponse) *CheckMinIOVersionOK
WithPayload adds the payload to the check min i o version o k response
func (*CheckMinIOVersionOK) WriteResponse ¶
func (o *CheckMinIOVersionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckMinIOVersionParams ¶
CheckMinIOVersionParams contains all the bound params for the check min i o version operation typically these are obtained from a http.Request
swagger:parameters CheckMinIOVersion”
func NewCheckMinIOVersionParams ¶
func NewCheckMinIOVersionParams() CheckMinIOVersionParams
NewCheckMinIOVersionParams creates a new CheckMinIOVersionParams object
There are no default values defined in the spec.
func (*CheckMinIOVersionParams) BindRequest ¶
func (o *CheckMinIOVersionParams) 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 NewCheckMinIOVersionParams() beforehand.
type CheckMinIOVersionURL ¶
type CheckMinIOVersionURL struct {
// contains filtered or unexported fields
}
CheckMinIOVersionURL generates an URL for the check min i o version operation
func (*CheckMinIOVersionURL) Build ¶
func (o *CheckMinIOVersionURL) Build() (*url.URL, error)
Build a url path and query string
func (*CheckMinIOVersionURL) BuildFull ¶
func (o *CheckMinIOVersionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CheckMinIOVersionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CheckMinIOVersionURL) SetBasePath ¶
func (o *CheckMinIOVersionURL) 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 (*CheckMinIOVersionURL) String ¶
func (o *CheckMinIOVersionURL) String() string
String returns the string representation of the path with query string
func (*CheckMinIOVersionURL) StringFull ¶
func (o *CheckMinIOVersionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CheckMinIOVersionURL) WithBasePath ¶
func (o *CheckMinIOVersionURL) WithBasePath(bp string) *CheckMinIOVersionURL
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 LoginDetail ¶
type LoginDetail struct { Context *middleware.Context Handler LoginDetailHandler }
LoginDetail swagger:route GET /login UserAPI loginDetail
Returns login strategy, form or sso.
func NewLoginDetail ¶
func NewLoginDetail(ctx *middleware.Context, handler LoginDetailHandler) *LoginDetail
NewLoginDetail creates a new http.Handler for the login detail operation
func (*LoginDetail) ServeHTTP ¶
func (o *LoginDetail) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type LoginDetailDefault ¶
type LoginDetailDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
LoginDetailDefault Generic error response.
swagger:response loginDetailDefault
func NewLoginDetailDefault ¶
func NewLoginDetailDefault(code int) *LoginDetailDefault
NewLoginDetailDefault creates LoginDetailDefault with default headers values
func (*LoginDetailDefault) SetPayload ¶
func (o *LoginDetailDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the login detail default response
func (*LoginDetailDefault) SetStatusCode ¶
func (o *LoginDetailDefault) SetStatusCode(code int)
SetStatusCode sets the status to the login detail default response
func (*LoginDetailDefault) WithPayload ¶
func (o *LoginDetailDefault) WithPayload(payload *models.Error) *LoginDetailDefault
WithPayload adds the payload to the login detail default response
func (*LoginDetailDefault) WithStatusCode ¶
func (o *LoginDetailDefault) WithStatusCode(code int) *LoginDetailDefault
WithStatusCode adds the status to the login detail default response
func (*LoginDetailDefault) WriteResponse ¶
func (o *LoginDetailDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginDetailHandler ¶
type LoginDetailHandler interface {
Handle(LoginDetailParams) middleware.Responder
}
LoginDetailHandler interface for that can handle valid login detail params
type LoginDetailHandlerFunc ¶
type LoginDetailHandlerFunc func(LoginDetailParams) middleware.Responder
LoginDetailHandlerFunc turns a function with the right signature into a login detail handler
func (LoginDetailHandlerFunc) Handle ¶
func (fn LoginDetailHandlerFunc) Handle(params LoginDetailParams) middleware.Responder
Handle executing the request and returning a response
type LoginDetailOK ¶
type LoginDetailOK struct { /* In: Body */ Payload *models.LoginDetails `json:"body,omitempty"` }
LoginDetailOK A successful response.
swagger:response loginDetailOK
func NewLoginDetailOK ¶
func NewLoginDetailOK() *LoginDetailOK
NewLoginDetailOK creates LoginDetailOK with default headers values
func (*LoginDetailOK) SetPayload ¶
func (o *LoginDetailOK) SetPayload(payload *models.LoginDetails)
SetPayload sets the payload to the login detail o k response
func (*LoginDetailOK) WithPayload ¶
func (o *LoginDetailOK) WithPayload(payload *models.LoginDetails) *LoginDetailOK
WithPayload adds the payload to the login detail o k response
func (*LoginDetailOK) WriteResponse ¶
func (o *LoginDetailOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginDetailParams ¶
LoginDetailParams contains all the bound params for the login detail operation typically these are obtained from a http.Request
swagger:parameters LoginDetail
func NewLoginDetailParams ¶
func NewLoginDetailParams() LoginDetailParams
NewLoginDetailParams creates a new LoginDetailParams object
There are no default values defined in the spec.
func (*LoginDetailParams) BindRequest ¶
func (o *LoginDetailParams) 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 NewLoginDetailParams() beforehand.
type LoginDetailURL ¶
type LoginDetailURL struct {
// contains filtered or unexported fields
}
LoginDetailURL generates an URL for the login detail operation
func (*LoginDetailURL) Build ¶
func (o *LoginDetailURL) Build() (*url.URL, error)
Build a url path and query string
func (*LoginDetailURL) BuildFull ¶
func (o *LoginDetailURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*LoginDetailURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*LoginDetailURL) SetBasePath ¶
func (o *LoginDetailURL) 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 (*LoginDetailURL) String ¶
func (o *LoginDetailURL) String() string
String returns the string representation of the path with query string
func (*LoginDetailURL) StringFull ¶
func (o *LoginDetailURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*LoginDetailURL) WithBasePath ¶
func (o *LoginDetailURL) WithBasePath(bp string) *LoginDetailURL
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 LoginOauth2Auth ¶
type LoginOauth2Auth struct { Context *middleware.Context Handler LoginOauth2AuthHandler }
LoginOauth2Auth swagger:route POST /login/oauth2/auth UserAPI loginOauth2Auth
Identity Provider oauth2 callback endpoint.
func NewLoginOauth2Auth ¶
func NewLoginOauth2Auth(ctx *middleware.Context, handler LoginOauth2AuthHandler) *LoginOauth2Auth
NewLoginOauth2Auth creates a new http.Handler for the login oauth2 auth operation
func (*LoginOauth2Auth) ServeHTTP ¶
func (o *LoginOauth2Auth) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type LoginOauth2AuthDefault ¶
type LoginOauth2AuthDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
LoginOauth2AuthDefault Generic error response.
swagger:response loginOauth2AuthDefault
func NewLoginOauth2AuthDefault ¶
func NewLoginOauth2AuthDefault(code int) *LoginOauth2AuthDefault
NewLoginOauth2AuthDefault creates LoginOauth2AuthDefault with default headers values
func (*LoginOauth2AuthDefault) SetPayload ¶
func (o *LoginOauth2AuthDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the login oauth2 auth default response
func (*LoginOauth2AuthDefault) SetStatusCode ¶
func (o *LoginOauth2AuthDefault) SetStatusCode(code int)
SetStatusCode sets the status to the login oauth2 auth default response
func (*LoginOauth2AuthDefault) WithPayload ¶
func (o *LoginOauth2AuthDefault) WithPayload(payload *models.Error) *LoginOauth2AuthDefault
WithPayload adds the payload to the login oauth2 auth default response
func (*LoginOauth2AuthDefault) WithStatusCode ¶
func (o *LoginOauth2AuthDefault) WithStatusCode(code int) *LoginOauth2AuthDefault
WithStatusCode adds the status to the login oauth2 auth default response
func (*LoginOauth2AuthDefault) WriteResponse ¶
func (o *LoginOauth2AuthDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginOauth2AuthHandler ¶
type LoginOauth2AuthHandler interface {
Handle(LoginOauth2AuthParams) middleware.Responder
}
LoginOauth2AuthHandler interface for that can handle valid login oauth2 auth params
type LoginOauth2AuthHandlerFunc ¶
type LoginOauth2AuthHandlerFunc func(LoginOauth2AuthParams) middleware.Responder
LoginOauth2AuthHandlerFunc turns a function with the right signature into a login oauth2 auth handler
func (LoginOauth2AuthHandlerFunc) Handle ¶
func (fn LoginOauth2AuthHandlerFunc) Handle(params LoginOauth2AuthParams) middleware.Responder
Handle executing the request and returning a response
type LoginOauth2AuthNoContent ¶
type LoginOauth2AuthNoContent struct { }
LoginOauth2AuthNoContent A successful login.
swagger:response loginOauth2AuthNoContent
func NewLoginOauth2AuthNoContent ¶
func NewLoginOauth2AuthNoContent() *LoginOauth2AuthNoContent
NewLoginOauth2AuthNoContent creates LoginOauth2AuthNoContent with default headers values
func (*LoginOauth2AuthNoContent) WriteResponse ¶
func (o *LoginOauth2AuthNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginOauth2AuthParams ¶
type LoginOauth2AuthParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.LoginOauth2AuthRequest }
LoginOauth2AuthParams contains all the bound params for the login oauth2 auth operation typically these are obtained from a http.Request
swagger:parameters LoginOauth2Auth
func NewLoginOauth2AuthParams ¶
func NewLoginOauth2AuthParams() LoginOauth2AuthParams
NewLoginOauth2AuthParams creates a new LoginOauth2AuthParams object
There are no default values defined in the spec.
func (*LoginOauth2AuthParams) BindRequest ¶
func (o *LoginOauth2AuthParams) 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 NewLoginOauth2AuthParams() beforehand.
type LoginOauth2AuthURL ¶
type LoginOauth2AuthURL struct {
// contains filtered or unexported fields
}
LoginOauth2AuthURL generates an URL for the login oauth2 auth operation
func (*LoginOauth2AuthURL) Build ¶
func (o *LoginOauth2AuthURL) Build() (*url.URL, error)
Build a url path and query string
func (*LoginOauth2AuthURL) BuildFull ¶
func (o *LoginOauth2AuthURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*LoginOauth2AuthURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*LoginOauth2AuthURL) SetBasePath ¶
func (o *LoginOauth2AuthURL) 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 (*LoginOauth2AuthURL) String ¶
func (o *LoginOauth2AuthURL) String() string
String returns the string representation of the path with query string
func (*LoginOauth2AuthURL) StringFull ¶
func (o *LoginOauth2AuthURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*LoginOauth2AuthURL) WithBasePath ¶
func (o *LoginOauth2AuthURL) WithBasePath(bp string) *LoginOauth2AuthURL
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 LoginOperator ¶
type LoginOperator struct { Context *middleware.Context Handler LoginOperatorHandler }
LoginOperator swagger:route POST /login/operator UserAPI loginOperator
Login to Operator Console.
func NewLoginOperator ¶
func NewLoginOperator(ctx *middleware.Context, handler LoginOperatorHandler) *LoginOperator
NewLoginOperator creates a new http.Handler for the login operator operation
func (*LoginOperator) ServeHTTP ¶
func (o *LoginOperator) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type LoginOperatorDefault ¶
type LoginOperatorDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
LoginOperatorDefault Generic error response.
swagger:response loginOperatorDefault
func NewLoginOperatorDefault ¶
func NewLoginOperatorDefault(code int) *LoginOperatorDefault
NewLoginOperatorDefault creates LoginOperatorDefault with default headers values
func (*LoginOperatorDefault) SetPayload ¶
func (o *LoginOperatorDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the login operator default response
func (*LoginOperatorDefault) SetStatusCode ¶
func (o *LoginOperatorDefault) SetStatusCode(code int)
SetStatusCode sets the status to the login operator default response
func (*LoginOperatorDefault) WithPayload ¶
func (o *LoginOperatorDefault) WithPayload(payload *models.Error) *LoginOperatorDefault
WithPayload adds the payload to the login operator default response
func (*LoginOperatorDefault) WithStatusCode ¶
func (o *LoginOperatorDefault) WithStatusCode(code int) *LoginOperatorDefault
WithStatusCode adds the status to the login operator default response
func (*LoginOperatorDefault) WriteResponse ¶
func (o *LoginOperatorDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginOperatorHandler ¶
type LoginOperatorHandler interface {
Handle(LoginOperatorParams) middleware.Responder
}
LoginOperatorHandler interface for that can handle valid login operator params
type LoginOperatorHandlerFunc ¶
type LoginOperatorHandlerFunc func(LoginOperatorParams) middleware.Responder
LoginOperatorHandlerFunc turns a function with the right signature into a login operator handler
func (LoginOperatorHandlerFunc) Handle ¶
func (fn LoginOperatorHandlerFunc) Handle(params LoginOperatorParams) middleware.Responder
Handle executing the request and returning a response
type LoginOperatorNoContent ¶
type LoginOperatorNoContent struct { }
LoginOperatorNoContent A successful login.
swagger:response loginOperatorNoContent
func NewLoginOperatorNoContent ¶
func NewLoginOperatorNoContent() *LoginOperatorNoContent
NewLoginOperatorNoContent creates LoginOperatorNoContent with default headers values
func (*LoginOperatorNoContent) WriteResponse ¶
func (o *LoginOperatorNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LoginOperatorParams ¶
type LoginOperatorParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.LoginOperatorRequest }
LoginOperatorParams contains all the bound params for the login operator operation typically these are obtained from a http.Request
swagger:parameters LoginOperator
func NewLoginOperatorParams ¶
func NewLoginOperatorParams() LoginOperatorParams
NewLoginOperatorParams creates a new LoginOperatorParams object
There are no default values defined in the spec.
func (*LoginOperatorParams) BindRequest ¶
func (o *LoginOperatorParams) 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 NewLoginOperatorParams() beforehand.
type LoginOperatorURL ¶
type LoginOperatorURL struct {
// contains filtered or unexported fields
}
LoginOperatorURL generates an URL for the login operator operation
func (*LoginOperatorURL) Build ¶
func (o *LoginOperatorURL) Build() (*url.URL, error)
Build a url path and query string
func (*LoginOperatorURL) BuildFull ¶
func (o *LoginOperatorURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*LoginOperatorURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*LoginOperatorURL) SetBasePath ¶
func (o *LoginOperatorURL) 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 (*LoginOperatorURL) String ¶
func (o *LoginOperatorURL) String() string
String returns the string representation of the path with query string
func (*LoginOperatorURL) StringFull ¶
func (o *LoginOperatorURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*LoginOperatorURL) WithBasePath ¶
func (o *LoginOperatorURL) WithBasePath(bp string) *LoginOperatorURL
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 Logout ¶
type Logout struct { Context *middleware.Context Handler LogoutHandler }
Logout swagger:route POST /logout UserAPI logout
Logout from Operator.
func NewLogout ¶
func NewLogout(ctx *middleware.Context, handler LogoutHandler) *Logout
NewLogout creates a new http.Handler for the logout operation
type LogoutDefault ¶
type LogoutDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
LogoutDefault Generic error response.
swagger:response logoutDefault
func NewLogoutDefault ¶
func NewLogoutDefault(code int) *LogoutDefault
NewLogoutDefault creates LogoutDefault with default headers values
func (*LogoutDefault) SetPayload ¶
func (o *LogoutDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the logout default response
func (*LogoutDefault) SetStatusCode ¶
func (o *LogoutDefault) SetStatusCode(code int)
SetStatusCode sets the status to the logout default response
func (*LogoutDefault) WithPayload ¶
func (o *LogoutDefault) WithPayload(payload *models.Error) *LogoutDefault
WithPayload adds the payload to the logout default response
func (*LogoutDefault) WithStatusCode ¶
func (o *LogoutDefault) WithStatusCode(code int) *LogoutDefault
WithStatusCode adds the status to the logout default response
func (*LogoutDefault) WriteResponse ¶
func (o *LogoutDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LogoutHandler ¶
type LogoutHandler interface {
Handle(LogoutParams, *models.Principal) middleware.Responder
}
LogoutHandler interface for that can handle valid logout params
type LogoutHandlerFunc ¶
type LogoutHandlerFunc func(LogoutParams, *models.Principal) middleware.Responder
LogoutHandlerFunc turns a function with the right signature into a logout handler
func (LogoutHandlerFunc) Handle ¶
func (fn LogoutHandlerFunc) Handle(params LogoutParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type LogoutOK ¶
type LogoutOK struct { }
LogoutOK A successful response.
swagger:response logoutOK
func NewLogoutOK ¶
func NewLogoutOK() *LogoutOK
NewLogoutOK creates LogoutOK with default headers values
func (*LogoutOK) WriteResponse ¶
func (o *LogoutOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LogoutParams ¶
LogoutParams contains all the bound params for the logout operation typically these are obtained from a http.Request
swagger:parameters Logout
func NewLogoutParams ¶
func NewLogoutParams() LogoutParams
NewLogoutParams creates a new LogoutParams object
There are no default values defined in the spec.
func (*LogoutParams) BindRequest ¶
func (o *LogoutParams) 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 NewLogoutParams() beforehand.
type LogoutURL ¶
type LogoutURL struct {
// contains filtered or unexported fields
}
LogoutURL generates an URL for the logout operation
func (*LogoutURL) SetBasePath ¶
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 (*LogoutURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*LogoutURL) WithBasePath ¶
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 SessionCheck ¶
type SessionCheck struct { Context *middleware.Context Handler SessionCheckHandler }
SessionCheck swagger:route GET /session UserAPI sessionCheck
Endpoint to check if your session is still valid
func NewSessionCheck ¶
func NewSessionCheck(ctx *middleware.Context, handler SessionCheckHandler) *SessionCheck
NewSessionCheck creates a new http.Handler for the session check operation
func (*SessionCheck) ServeHTTP ¶
func (o *SessionCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SessionCheckDefault ¶
type SessionCheckDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SessionCheckDefault Generic error response.
swagger:response sessionCheckDefault
func NewSessionCheckDefault ¶
func NewSessionCheckDefault(code int) *SessionCheckDefault
NewSessionCheckDefault creates SessionCheckDefault with default headers values
func (*SessionCheckDefault) SetPayload ¶
func (o *SessionCheckDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the session check default response
func (*SessionCheckDefault) SetStatusCode ¶
func (o *SessionCheckDefault) SetStatusCode(code int)
SetStatusCode sets the status to the session check default response
func (*SessionCheckDefault) WithPayload ¶
func (o *SessionCheckDefault) WithPayload(payload *models.Error) *SessionCheckDefault
WithPayload adds the payload to the session check default response
func (*SessionCheckDefault) WithStatusCode ¶
func (o *SessionCheckDefault) WithStatusCode(code int) *SessionCheckDefault
WithStatusCode adds the status to the session check default response
func (*SessionCheckDefault) WriteResponse ¶
func (o *SessionCheckDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SessionCheckHandler ¶
type SessionCheckHandler interface {
Handle(SessionCheckParams, *models.Principal) middleware.Responder
}
SessionCheckHandler interface for that can handle valid session check params
type SessionCheckHandlerFunc ¶
type SessionCheckHandlerFunc func(SessionCheckParams, *models.Principal) middleware.Responder
SessionCheckHandlerFunc turns a function with the right signature into a session check handler
func (SessionCheckHandlerFunc) Handle ¶
func (fn SessionCheckHandlerFunc) Handle(params SessionCheckParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SessionCheckOK ¶
type SessionCheckOK struct { /* In: Body */ Payload *models.OperatorSessionResponse `json:"body,omitempty"` }
SessionCheckOK A successful response.
swagger:response sessionCheckOK
func NewSessionCheckOK ¶
func NewSessionCheckOK() *SessionCheckOK
NewSessionCheckOK creates SessionCheckOK with default headers values
func (*SessionCheckOK) SetPayload ¶
func (o *SessionCheckOK) SetPayload(payload *models.OperatorSessionResponse)
SetPayload sets the payload to the session check o k response
func (*SessionCheckOK) WithPayload ¶
func (o *SessionCheckOK) WithPayload(payload *models.OperatorSessionResponse) *SessionCheckOK
WithPayload adds the payload to the session check o k response
func (*SessionCheckOK) WriteResponse ¶
func (o *SessionCheckOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SessionCheckParams ¶
SessionCheckParams contains all the bound params for the session check operation typically these are obtained from a http.Request
swagger:parameters SessionCheck
func NewSessionCheckParams ¶
func NewSessionCheckParams() SessionCheckParams
NewSessionCheckParams creates a new SessionCheckParams object
There are no default values defined in the spec.
func (*SessionCheckParams) BindRequest ¶
func (o *SessionCheckParams) 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 NewSessionCheckParams() beforehand.
type SessionCheckURL ¶
type SessionCheckURL struct {
// contains filtered or unexported fields
}
SessionCheckURL generates an URL for the session check operation
func (*SessionCheckURL) Build ¶
func (o *SessionCheckURL) Build() (*url.URL, error)
Build a url path and query string
func (*SessionCheckURL) BuildFull ¶
func (o *SessionCheckURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SessionCheckURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SessionCheckURL) SetBasePath ¶
func (o *SessionCheckURL) 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 (*SessionCheckURL) String ¶
func (o *SessionCheckURL) String() string
String returns the string representation of the path with query string
func (*SessionCheckURL) StringFull ¶
func (o *SessionCheckURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SessionCheckURL) WithBasePath ¶
func (o *SessionCheckURL) WithBasePath(bp string) *SessionCheckURL
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 ¶
- check_min_i_o_version.go
- check_min_i_o_version_parameters.go
- check_min_i_o_version_responses.go
- check_min_i_o_version_urlbuilder.go
- login_detail.go
- login_detail_parameters.go
- login_detail_responses.go
- login_detail_urlbuilder.go
- login_oauth2_auth.go
- login_oauth2_auth_parameters.go
- login_oauth2_auth_responses.go
- login_oauth2_auth_urlbuilder.go
- login_operator.go
- login_operator_parameters.go
- login_operator_responses.go
- login_operator_urlbuilder.go
- logout.go
- logout_parameters.go
- logout_responses.go
- logout_urlbuilder.go
- session_check.go
- session_check_parameters.go
- session_check_responses.go
- session_check_urlbuilder.go