Documentation ¶
Index ¶
- Constants
- type GetApiregistrationAPIGroup
- type GetApiregistrationAPIGroupHandler
- type GetApiregistrationAPIGroupHandlerFunc
- type GetApiregistrationAPIGroupOK
- func (o *GetApiregistrationAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
- func (o *GetApiregistrationAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetApiregistrationAPIGroupOK
- func (o *GetApiregistrationAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetApiregistrationAPIGroupParams
- type GetApiregistrationAPIGroupUnauthorized
Constants ¶
const GetApiregistrationAPIGroupOKCode int = 200
GetApiregistrationAPIGroupOKCode is the HTTP code returned for type GetApiregistrationAPIGroupOK
GetApiregistrationAPIGroupUnauthorizedCode is the HTTP code returned for type GetApiregistrationAPIGroupUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetApiregistrationAPIGroup ¶
type GetApiregistrationAPIGroup struct { Context *middleware.Context Handler GetApiregistrationAPIGroupHandler }
GetApiregistrationAPIGroup swagger:route GET /apis/apiregistration.k8s.io/ apiregistration getApiregistrationApiGroup
get information of a group
func NewGetApiregistrationAPIGroup ¶
func NewGetApiregistrationAPIGroup(ctx *middleware.Context, handler GetApiregistrationAPIGroupHandler) *GetApiregistrationAPIGroup
NewGetApiregistrationAPIGroup creates a new http.Handler for the get apiregistration API group operation
func (*GetApiregistrationAPIGroup) ServeHTTP ¶
func (o *GetApiregistrationAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetApiregistrationAPIGroupHandler ¶
type GetApiregistrationAPIGroupHandler interface {
Handle(GetApiregistrationAPIGroupParams) middleware.Responder
}
GetApiregistrationAPIGroupHandler interface for that can handle valid get apiregistration API group params
type GetApiregistrationAPIGroupHandlerFunc ¶
type GetApiregistrationAPIGroupHandlerFunc func(GetApiregistrationAPIGroupParams) middleware.Responder
GetApiregistrationAPIGroupHandlerFunc turns a function with the right signature into a get apiregistration API group handler
func (GetApiregistrationAPIGroupHandlerFunc) Handle ¶
func (fn GetApiregistrationAPIGroupHandlerFunc) Handle(params GetApiregistrationAPIGroupParams) middleware.Responder
Handle executing the request and returning a response
type GetApiregistrationAPIGroupOK ¶
type GetApiregistrationAPIGroupOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup `json:"body,omitempty"` }
GetApiregistrationAPIGroupOK OK
swagger:response getApiregistrationApiGroupOK
func NewGetApiregistrationAPIGroupOK ¶
func NewGetApiregistrationAPIGroupOK() *GetApiregistrationAPIGroupOK
NewGetApiregistrationAPIGroupOK creates GetApiregistrationAPIGroupOK with default headers values
func (*GetApiregistrationAPIGroupOK) SetPayload ¶
func (o *GetApiregistrationAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
SetPayload sets the payload to the get apiregistration Api group o k response
func (*GetApiregistrationAPIGroupOK) WithPayload ¶
func (o *GetApiregistrationAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetApiregistrationAPIGroupOK
WithPayload adds the payload to the get apiregistration Api group o k response
func (*GetApiregistrationAPIGroupOK) WriteResponse ¶
func (o *GetApiregistrationAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApiregistrationAPIGroupParams ¶
type GetApiregistrationAPIGroupParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetApiregistrationAPIGroupParams contains all the bound params for the get apiregistration API group operation typically these are obtained from a http.Request
swagger:parameters getApiregistrationAPIGroup
func NewGetApiregistrationAPIGroupParams ¶
func NewGetApiregistrationAPIGroupParams() GetApiregistrationAPIGroupParams
NewGetApiregistrationAPIGroupParams creates a new GetApiregistrationAPIGroupParams object no default values defined in spec.
func (*GetApiregistrationAPIGroupParams) BindRequest ¶
func (o *GetApiregistrationAPIGroupParams) 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 NewGetApiregistrationAPIGroupParams() beforehand.
type GetApiregistrationAPIGroupUnauthorized ¶
type GetApiregistrationAPIGroupUnauthorized struct { }
GetApiregistrationAPIGroupUnauthorized Unauthorized
swagger:response getApiregistrationApiGroupUnauthorized
func NewGetApiregistrationAPIGroupUnauthorized ¶
func NewGetApiregistrationAPIGroupUnauthorized() *GetApiregistrationAPIGroupUnauthorized
NewGetApiregistrationAPIGroupUnauthorized creates GetApiregistrationAPIGroupUnauthorized with default headers values
func (*GetApiregistrationAPIGroupUnauthorized) WriteResponse ¶
func (o *GetApiregistrationAPIGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client