Documentation
¶
Index ¶
- Constants
- type GetBatchAPIGroup
- type GetBatchAPIGroupHandler
- type GetBatchAPIGroupHandlerFunc
- type GetBatchAPIGroupOK
- func (o *GetBatchAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
- func (o *GetBatchAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetBatchAPIGroupOK
- func (o *GetBatchAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBatchAPIGroupParams
- type GetBatchAPIGroupUnauthorized
Constants ¶
const GetBatchAPIGroupOKCode int = 200
GetBatchAPIGroupOKCode is the HTTP code returned for type GetBatchAPIGroupOK
GetBatchAPIGroupUnauthorizedCode is the HTTP code returned for type GetBatchAPIGroupUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetBatchAPIGroup ¶
type GetBatchAPIGroup struct { Context *middleware.Context Handler GetBatchAPIGroupHandler }
GetBatchAPIGroup swagger:route GET /apis/batch/ batch getBatchApiGroup
get information of a group
func NewGetBatchAPIGroup ¶
func NewGetBatchAPIGroup(ctx *middleware.Context, handler GetBatchAPIGroupHandler) *GetBatchAPIGroup
NewGetBatchAPIGroup creates a new http.Handler for the get batch API group operation
func (*GetBatchAPIGroup) ServeHTTP ¶
func (o *GetBatchAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetBatchAPIGroupHandler ¶
type GetBatchAPIGroupHandler interface {
Handle(GetBatchAPIGroupParams) middleware.Responder
}
GetBatchAPIGroupHandler interface for that can handle valid get batch API group params
type GetBatchAPIGroupHandlerFunc ¶
type GetBatchAPIGroupHandlerFunc func(GetBatchAPIGroupParams) middleware.Responder
GetBatchAPIGroupHandlerFunc turns a function with the right signature into a get batch API group handler
func (GetBatchAPIGroupHandlerFunc) Handle ¶
func (fn GetBatchAPIGroupHandlerFunc) Handle(params GetBatchAPIGroupParams) middleware.Responder
Handle executing the request and returning a response
type GetBatchAPIGroupOK ¶
type GetBatchAPIGroupOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup `json:"body,omitempty"` }
GetBatchAPIGroupOK OK
swagger:response getBatchApiGroupOK
func NewGetBatchAPIGroupOK ¶
func NewGetBatchAPIGroupOK() *GetBatchAPIGroupOK
NewGetBatchAPIGroupOK creates GetBatchAPIGroupOK with default headers values
func (*GetBatchAPIGroupOK) SetPayload ¶
func (o *GetBatchAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
SetPayload sets the payload to the get batch Api group o k response
func (*GetBatchAPIGroupOK) WithPayload ¶
func (o *GetBatchAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetBatchAPIGroupOK
WithPayload adds the payload to the get batch Api group o k response
func (*GetBatchAPIGroupOK) WriteResponse ¶
func (o *GetBatchAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBatchAPIGroupParams ¶
GetBatchAPIGroupParams contains all the bound params for the get batch API group operation typically these are obtained from a http.Request
swagger:parameters getBatchAPIGroup
func NewGetBatchAPIGroupParams ¶
func NewGetBatchAPIGroupParams() GetBatchAPIGroupParams
NewGetBatchAPIGroupParams creates a new GetBatchAPIGroupParams object no default values defined in spec.
func (*GetBatchAPIGroupParams) BindRequest ¶
func (o *GetBatchAPIGroupParams) 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 NewGetBatchAPIGroupParams() beforehand.
type GetBatchAPIGroupUnauthorized ¶
type GetBatchAPIGroupUnauthorized struct { }
GetBatchAPIGroupUnauthorized Unauthorized
swagger:response getBatchApiGroupUnauthorized
func NewGetBatchAPIGroupUnauthorized ¶
func NewGetBatchAPIGroupUnauthorized() *GetBatchAPIGroupUnauthorized
NewGetBatchAPIGroupUnauthorized creates GetBatchAPIGroupUnauthorized with default headers values
func (*GetBatchAPIGroupUnauthorized) WriteResponse ¶
func (o *GetBatchAPIGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client