user_api

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
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

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

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

SetPayload sets the payload to the check min i o version o k response

func (*CheckMinIOVersionOK) WithPayload added in v0.15.1

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

type CheckMinIOVersionParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

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

func (o *CheckMinIOVersionURL) Must(u *url.URL, err error) *url.URL

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL