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 ¶ added in v0.15.1
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 ¶ added in v0.15.1
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 ¶ added in v0.15.1
func (o *CheckMinIOVersion) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CheckMinIOVersionDefault ¶ added in v0.15.1
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 ¶ added in v0.15.1
func NewCheckMinIOVersionDefault(code int) *CheckMinIOVersionDefault
NewCheckMinIOVersionDefault creates CheckMinIOVersionDefault with default headers values
func (*CheckMinIOVersionDefault) SetPayload ¶ added in v0.15.1
func (o *CheckMinIOVersionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the check min i o version default response
func (*CheckMinIOVersionDefault) SetStatusCode ¶ added in v0.15.1
func (o *CheckMinIOVersionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the check min i o version default response
func (*CheckMinIOVersionDefault) WithPayload ¶ added in v0.15.1
func (o *CheckMinIOVersionDefault) WithPayload(payload *models.Error) *CheckMinIOVersionDefault
WithPayload adds the payload to the check min i o version default response
func (*CheckMinIOVersionDefault) WithStatusCode ¶ added in v0.15.1
func (o *CheckMinIOVersionDefault) WithStatusCode(code int) *CheckMinIOVersionDefault
WithStatusCode adds the status to the check min i o version default response
func (*CheckMinIOVersionDefault) WriteResponse ¶ added in v0.15.1
func (o *CheckMinIOVersionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckMinIOVersionHandler ¶ added in v0.15.1
type CheckMinIOVersionHandler interface {
Handle(CheckMinIOVersionParams) middleware.Responder
}
CheckMinIOVersionHandler interface for that can handle valid check min i o version params
type CheckMinIOVersionHandlerFunc ¶ added in v0.15.1
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 ¶ added in v0.15.1
func (fn CheckMinIOVersionHandlerFunc) Handle(params CheckMinIOVersionParams) middleware.Responder
Handle executing the request and returning a response
type CheckMinIOVersionOK ¶ added in v0.15.1
type CheckMinIOVersionOK struct { /* In: Body */ Payload *models.CheckOperatorVersionResponse `json:"body,omitempty"` }
CheckMinIOVersionOK A successful response.
swagger:response checkMinIOVersionOK
func NewCheckMinIOVersionOK ¶ added in v0.15.1
func NewCheckMinIOVersionOK() *CheckMinIOVersionOK
NewCheckMinIOVersionOK creates CheckMinIOVersionOK with default headers values
func (*CheckMinIOVersionOK) SetPayload ¶ added in v0.15.1
func (o *CheckMinIOVersionOK) SetPayload(payload *models.CheckOperatorVersionResponse)
SetPayload sets the payload to the check min i o version o k response
func (*CheckMinIOVersionOK) WithPayload ¶ added in v0.15.1
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 ¶ added in v0.15.1
func (o *CheckMinIOVersionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckMinIOVersionParams ¶ added in v0.15.1
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 ¶ added in v0.15.1
func NewCheckMinIOVersionParams() CheckMinIOVersionParams
NewCheckMinIOVersionParams creates a new CheckMinIOVersionParams object
There are no default values defined in the spec.
func (*CheckMinIOVersionParams) BindRequest ¶ added in v0.15.1
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 ¶ added in v0.15.1
type CheckMinIOVersionURL struct {
// contains filtered or unexported fields
}
CheckMinIOVersionURL generates an URL for the check min i o version operation
func (*CheckMinIOVersionURL) Build ¶ added in v0.15.1
func (o *CheckMinIOVersionURL) Build() (*url.URL, error)
Build a url path and query string
func (*CheckMinIOVersionURL) BuildFull ¶ added in v0.15.1
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 ¶ added in v0.15.1
Must is a helper function to panic when the url builder returns an error
func (*CheckMinIOVersionURL) SetBasePath ¶ added in v0.15.1
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 ¶ added in v0.15.1
func (o *CheckMinIOVersionURL) String() string
String returns the string representation of the path with query string
func (*CheckMinIOVersionURL) StringFull ¶ added in v0.15.1
func (o *CheckMinIOVersionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CheckMinIOVersionURL) WithBasePath ¶ added in v0.15.1
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