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
Constants ¶
const CheckMinIOVersionOKCode int = 200
CheckMinIOVersionOKCode is the HTTP code returned for type CheckMinIOVersionOK
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