Documentation ¶
Index ¶
- Constants
- type GetAPIVersions
- type GetAPIVersionsHandler
- type GetAPIVersionsHandlerFunc
- type GetAPIVersionsOK
- func (o *GetAPIVersionsOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroupList)
- func (o *GetAPIVersionsOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroupList) *GetAPIVersionsOK
- func (o *GetAPIVersionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAPIVersionsParams
- type GetAPIVersionsUnauthorized
Constants ¶
const GetAPIVersionsOKCode int = 200
GetAPIVersionsOKCode is the HTTP code returned for type GetAPIVersionsOK
GetAPIVersionsUnauthorizedCode is the HTTP code returned for type GetAPIVersionsUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetAPIVersions ¶
type GetAPIVersions struct { Context *middleware.Context Handler GetAPIVersionsHandler }
GetAPIVersions swagger:route GET /apis/ apis getApiVersions
get available API versions
func NewGetAPIVersions ¶
func NewGetAPIVersions(ctx *middleware.Context, handler GetAPIVersionsHandler) *GetAPIVersions
NewGetAPIVersions creates a new http.Handler for the get API versions operation
func (*GetAPIVersions) ServeHTTP ¶
func (o *GetAPIVersions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAPIVersionsHandler ¶
type GetAPIVersionsHandler interface {
Handle(GetAPIVersionsParams) middleware.Responder
}
GetAPIVersionsHandler interface for that can handle valid get API versions params
type GetAPIVersionsHandlerFunc ¶
type GetAPIVersionsHandlerFunc func(GetAPIVersionsParams) middleware.Responder
GetAPIVersionsHandlerFunc turns a function with the right signature into a get API versions handler
func (GetAPIVersionsHandlerFunc) Handle ¶
func (fn GetAPIVersionsHandlerFunc) Handle(params GetAPIVersionsParams) middleware.Responder
Handle executing the request and returning a response
type GetAPIVersionsOK ¶
type GetAPIVersionsOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroupList `json:"body,omitempty"` }
GetAPIVersionsOK OK
swagger:response getApiVersionsOK
func NewGetAPIVersionsOK ¶
func NewGetAPIVersionsOK() *GetAPIVersionsOK
NewGetAPIVersionsOK creates GetAPIVersionsOK with default headers values
func (*GetAPIVersionsOK) SetPayload ¶
func (o *GetAPIVersionsOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroupList)
SetPayload sets the payload to the get Api versions o k response
func (*GetAPIVersionsOK) WithPayload ¶
func (o *GetAPIVersionsOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroupList) *GetAPIVersionsOK
WithPayload adds the payload to the get Api versions o k response
func (*GetAPIVersionsOK) WriteResponse ¶
func (o *GetAPIVersionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAPIVersionsParams ¶
GetAPIVersionsParams contains all the bound params for the get API versions operation typically these are obtained from a http.Request
swagger:parameters getAPIVersions
func NewGetAPIVersionsParams ¶
func NewGetAPIVersionsParams() GetAPIVersionsParams
NewGetAPIVersionsParams creates a new GetAPIVersionsParams object no default values defined in spec.
func (*GetAPIVersionsParams) BindRequest ¶
func (o *GetAPIVersionsParams) 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 NewGetAPIVersionsParams() beforehand.
type GetAPIVersionsUnauthorized ¶
type GetAPIVersionsUnauthorized struct { }
GetAPIVersionsUnauthorized Unauthorized
swagger:response getApiVersionsUnauthorized
func NewGetAPIVersionsUnauthorized ¶
func NewGetAPIVersionsUnauthorized() *GetAPIVersionsUnauthorized
NewGetAPIVersionsUnauthorized creates GetAPIVersionsUnauthorized with default headers values
func (*GetAPIVersionsUnauthorized) WriteResponse ¶
func (o *GetAPIVersionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client