Documentation
¶
Index ¶
- Constants
- type GetExtensionsAPIGroup
- type GetExtensionsAPIGroupHandler
- type GetExtensionsAPIGroupHandlerFunc
- type GetExtensionsAPIGroupOK
- func (o *GetExtensionsAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
- func (o *GetExtensionsAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetExtensionsAPIGroupOK
- func (o *GetExtensionsAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetExtensionsAPIGroupParams
- type GetExtensionsAPIGroupUnauthorized
Constants ¶
const GetExtensionsAPIGroupOKCode int = 200
GetExtensionsAPIGroupOKCode is the HTTP code returned for type GetExtensionsAPIGroupOK
GetExtensionsAPIGroupUnauthorizedCode is the HTTP code returned for type GetExtensionsAPIGroupUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetExtensionsAPIGroup ¶
type GetExtensionsAPIGroup struct { Context *middleware.Context Handler GetExtensionsAPIGroupHandler }
GetExtensionsAPIGroup swagger:route GET /apis/extensions/ extensions getExtensionsApiGroup
get information of a group
func NewGetExtensionsAPIGroup ¶
func NewGetExtensionsAPIGroup(ctx *middleware.Context, handler GetExtensionsAPIGroupHandler) *GetExtensionsAPIGroup
NewGetExtensionsAPIGroup creates a new http.Handler for the get extensions API group operation
func (*GetExtensionsAPIGroup) ServeHTTP ¶
func (o *GetExtensionsAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetExtensionsAPIGroupHandler ¶
type GetExtensionsAPIGroupHandler interface {
Handle(GetExtensionsAPIGroupParams) middleware.Responder
}
GetExtensionsAPIGroupHandler interface for that can handle valid get extensions API group params
type GetExtensionsAPIGroupHandlerFunc ¶
type GetExtensionsAPIGroupHandlerFunc func(GetExtensionsAPIGroupParams) middleware.Responder
GetExtensionsAPIGroupHandlerFunc turns a function with the right signature into a get extensions API group handler
func (GetExtensionsAPIGroupHandlerFunc) Handle ¶
func (fn GetExtensionsAPIGroupHandlerFunc) Handle(params GetExtensionsAPIGroupParams) middleware.Responder
Handle executing the request and returning a response
type GetExtensionsAPIGroupOK ¶
type GetExtensionsAPIGroupOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup `json:"body,omitempty"` }
GetExtensionsAPIGroupOK OK
swagger:response getExtensionsApiGroupOK
func NewGetExtensionsAPIGroupOK ¶
func NewGetExtensionsAPIGroupOK() *GetExtensionsAPIGroupOK
NewGetExtensionsAPIGroupOK creates GetExtensionsAPIGroupOK with default headers values
func (*GetExtensionsAPIGroupOK) SetPayload ¶
func (o *GetExtensionsAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
SetPayload sets the payload to the get extensions Api group o k response
func (*GetExtensionsAPIGroupOK) WithPayload ¶
func (o *GetExtensionsAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetExtensionsAPIGroupOK
WithPayload adds the payload to the get extensions Api group o k response
func (*GetExtensionsAPIGroupOK) WriteResponse ¶
func (o *GetExtensionsAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetExtensionsAPIGroupParams ¶
type GetExtensionsAPIGroupParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetExtensionsAPIGroupParams contains all the bound params for the get extensions API group operation typically these are obtained from a http.Request
swagger:parameters getExtensionsAPIGroup
func NewGetExtensionsAPIGroupParams ¶
func NewGetExtensionsAPIGroupParams() GetExtensionsAPIGroupParams
NewGetExtensionsAPIGroupParams creates a new GetExtensionsAPIGroupParams object no default values defined in spec.
func (*GetExtensionsAPIGroupParams) BindRequest ¶
func (o *GetExtensionsAPIGroupParams) 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 NewGetExtensionsAPIGroupParams() beforehand.
type GetExtensionsAPIGroupUnauthorized ¶
type GetExtensionsAPIGroupUnauthorized struct { }
GetExtensionsAPIGroupUnauthorized Unauthorized
swagger:response getExtensionsApiGroupUnauthorized
func NewGetExtensionsAPIGroupUnauthorized ¶
func NewGetExtensionsAPIGroupUnauthorized() *GetExtensionsAPIGroupUnauthorized
NewGetExtensionsAPIGroupUnauthorized creates GetExtensionsAPIGroupUnauthorized with default headers values
func (*GetExtensionsAPIGroupUnauthorized) WriteResponse ¶
func (o *GetExtensionsAPIGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client