Documentation ¶
Index ¶
- Constants
- type GetAdmissionregistrationAPIGroup
- type GetAdmissionregistrationAPIGroupHandler
- type GetAdmissionregistrationAPIGroupHandlerFunc
- type GetAdmissionregistrationAPIGroupOK
- func (o *GetAdmissionregistrationAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
- func (o *GetAdmissionregistrationAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetAdmissionregistrationAPIGroupOK
- func (o *GetAdmissionregistrationAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAdmissionregistrationAPIGroupParams
- type GetAdmissionregistrationAPIGroupUnauthorized
Constants ¶
const GetAdmissionregistrationAPIGroupOKCode int = 200
GetAdmissionregistrationAPIGroupOKCode is the HTTP code returned for type GetAdmissionregistrationAPIGroupOK
GetAdmissionregistrationAPIGroupUnauthorizedCode is the HTTP code returned for type GetAdmissionregistrationAPIGroupUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetAdmissionregistrationAPIGroup ¶
type GetAdmissionregistrationAPIGroup struct { Context *middleware.Context Handler GetAdmissionregistrationAPIGroupHandler }
GetAdmissionregistrationAPIGroup swagger:route GET /apis/admissionregistration.k8s.io/ admissionregistration getAdmissionregistrationApiGroup
get information of a group
func NewGetAdmissionregistrationAPIGroup ¶
func NewGetAdmissionregistrationAPIGroup(ctx *middleware.Context, handler GetAdmissionregistrationAPIGroupHandler) *GetAdmissionregistrationAPIGroup
NewGetAdmissionregistrationAPIGroup creates a new http.Handler for the get admissionregistration API group operation
func (*GetAdmissionregistrationAPIGroup) ServeHTTP ¶
func (o *GetAdmissionregistrationAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAdmissionregistrationAPIGroupHandler ¶
type GetAdmissionregistrationAPIGroupHandler interface {
Handle(GetAdmissionregistrationAPIGroupParams) middleware.Responder
}
GetAdmissionregistrationAPIGroupHandler interface for that can handle valid get admissionregistration API group params
type GetAdmissionregistrationAPIGroupHandlerFunc ¶
type GetAdmissionregistrationAPIGroupHandlerFunc func(GetAdmissionregistrationAPIGroupParams) middleware.Responder
GetAdmissionregistrationAPIGroupHandlerFunc turns a function with the right signature into a get admissionregistration API group handler
func (GetAdmissionregistrationAPIGroupHandlerFunc) Handle ¶
func (fn GetAdmissionregistrationAPIGroupHandlerFunc) Handle(params GetAdmissionregistrationAPIGroupParams) middleware.Responder
Handle executing the request and returning a response
type GetAdmissionregistrationAPIGroupOK ¶
type GetAdmissionregistrationAPIGroupOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup `json:"body,omitempty"` }
GetAdmissionregistrationAPIGroupOK OK
swagger:response getAdmissionregistrationApiGroupOK
func NewGetAdmissionregistrationAPIGroupOK ¶
func NewGetAdmissionregistrationAPIGroupOK() *GetAdmissionregistrationAPIGroupOK
NewGetAdmissionregistrationAPIGroupOK creates GetAdmissionregistrationAPIGroupOK with default headers values
func (*GetAdmissionregistrationAPIGroupOK) SetPayload ¶
func (o *GetAdmissionregistrationAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
SetPayload sets the payload to the get admissionregistration Api group o k response
func (*GetAdmissionregistrationAPIGroupOK) WithPayload ¶
func (o *GetAdmissionregistrationAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetAdmissionregistrationAPIGroupOK
WithPayload adds the payload to the get admissionregistration Api group o k response
func (*GetAdmissionregistrationAPIGroupOK) WriteResponse ¶
func (o *GetAdmissionregistrationAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAdmissionregistrationAPIGroupParams ¶
type GetAdmissionregistrationAPIGroupParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetAdmissionregistrationAPIGroupParams contains all the bound params for the get admissionregistration API group operation typically these are obtained from a http.Request
swagger:parameters getAdmissionregistrationAPIGroup
func NewGetAdmissionregistrationAPIGroupParams ¶
func NewGetAdmissionregistrationAPIGroupParams() GetAdmissionregistrationAPIGroupParams
NewGetAdmissionregistrationAPIGroupParams creates a new GetAdmissionregistrationAPIGroupParams object no default values defined in spec.
func (*GetAdmissionregistrationAPIGroupParams) BindRequest ¶
func (o *GetAdmissionregistrationAPIGroupParams) 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 NewGetAdmissionregistrationAPIGroupParams() beforehand.
type GetAdmissionregistrationAPIGroupUnauthorized ¶
type GetAdmissionregistrationAPIGroupUnauthorized struct { }
GetAdmissionregistrationAPIGroupUnauthorized Unauthorized
swagger:response getAdmissionregistrationApiGroupUnauthorized
func NewGetAdmissionregistrationAPIGroupUnauthorized ¶
func NewGetAdmissionregistrationAPIGroupUnauthorized() *GetAdmissionregistrationAPIGroupUnauthorized
NewGetAdmissionregistrationAPIGroupUnauthorized creates GetAdmissionregistrationAPIGroupUnauthorized with default headers values
func (*GetAdmissionregistrationAPIGroupUnauthorized) WriteResponse ¶
func (o *GetAdmissionregistrationAPIGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client