Documentation ¶
Index ¶
- Constants
- type GetCoreAPIVersions
- type GetCoreAPIVersionsHandler
- type GetCoreAPIVersionsHandlerFunc
- type GetCoreAPIVersionsOK
- func (o *GetCoreAPIVersionsOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIVersions)
- func (o *GetCoreAPIVersionsOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIVersions) *GetCoreAPIVersionsOK
- func (o *GetCoreAPIVersionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetCoreAPIVersionsParams
- type GetCoreAPIVersionsUnauthorized
Constants ¶
const GetCoreAPIVersionsOKCode int = 200
GetCoreAPIVersionsOKCode is the HTTP code returned for type GetCoreAPIVersionsOK
GetCoreAPIVersionsUnauthorizedCode is the HTTP code returned for type GetCoreAPIVersionsUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetCoreAPIVersions ¶
type GetCoreAPIVersions struct { Context *middleware.Context Handler GetCoreAPIVersionsHandler }
GetCoreAPIVersions swagger:route GET /api/ core getCoreApiVersions
get available API versions
func NewGetCoreAPIVersions ¶
func NewGetCoreAPIVersions(ctx *middleware.Context, handler GetCoreAPIVersionsHandler) *GetCoreAPIVersions
NewGetCoreAPIVersions creates a new http.Handler for the get core API versions operation
func (*GetCoreAPIVersions) ServeHTTP ¶
func (o *GetCoreAPIVersions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetCoreAPIVersionsHandler ¶
type GetCoreAPIVersionsHandler interface {
Handle(GetCoreAPIVersionsParams) middleware.Responder
}
GetCoreAPIVersionsHandler interface for that can handle valid get core API versions params
type GetCoreAPIVersionsHandlerFunc ¶
type GetCoreAPIVersionsHandlerFunc func(GetCoreAPIVersionsParams) middleware.Responder
GetCoreAPIVersionsHandlerFunc turns a function with the right signature into a get core API versions handler
func (GetCoreAPIVersionsHandlerFunc) Handle ¶
func (fn GetCoreAPIVersionsHandlerFunc) Handle(params GetCoreAPIVersionsParams) middleware.Responder
Handle executing the request and returning a response
type GetCoreAPIVersionsOK ¶
type GetCoreAPIVersionsOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIVersions `json:"body,omitempty"` }
GetCoreAPIVersionsOK OK
swagger:response getCoreApiVersionsOK
func NewGetCoreAPIVersionsOK ¶
func NewGetCoreAPIVersionsOK() *GetCoreAPIVersionsOK
NewGetCoreAPIVersionsOK creates GetCoreAPIVersionsOK with default headers values
func (*GetCoreAPIVersionsOK) SetPayload ¶
func (o *GetCoreAPIVersionsOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIVersions)
SetPayload sets the payload to the get core Api versions o k response
func (*GetCoreAPIVersionsOK) WithPayload ¶
func (o *GetCoreAPIVersionsOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIVersions) *GetCoreAPIVersionsOK
WithPayload adds the payload to the get core Api versions o k response
func (*GetCoreAPIVersionsOK) WriteResponse ¶
func (o *GetCoreAPIVersionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCoreAPIVersionsParams ¶
type GetCoreAPIVersionsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetCoreAPIVersionsParams contains all the bound params for the get core API versions operation typically these are obtained from a http.Request
swagger:parameters getCoreAPIVersions
func NewGetCoreAPIVersionsParams ¶
func NewGetCoreAPIVersionsParams() GetCoreAPIVersionsParams
NewGetCoreAPIVersionsParams creates a new GetCoreAPIVersionsParams object no default values defined in spec.
func (*GetCoreAPIVersionsParams) BindRequest ¶
func (o *GetCoreAPIVersionsParams) 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 NewGetCoreAPIVersionsParams() beforehand.
type GetCoreAPIVersionsUnauthorized ¶
type GetCoreAPIVersionsUnauthorized struct { }
GetCoreAPIVersionsUnauthorized Unauthorized
swagger:response getCoreApiVersionsUnauthorized
func NewGetCoreAPIVersionsUnauthorized ¶
func NewGetCoreAPIVersionsUnauthorized() *GetCoreAPIVersionsUnauthorized
NewGetCoreAPIVersionsUnauthorized creates GetCoreAPIVersionsUnauthorized with default headers values
func (*GetCoreAPIVersionsUnauthorized) WriteResponse ¶
func (o *GetCoreAPIVersionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client