Documentation
¶
Index ¶
- Constants
- type GetSchedulingAPIGroup
- type GetSchedulingAPIGroupHandler
- type GetSchedulingAPIGroupHandlerFunc
- type GetSchedulingAPIGroupOK
- func (o *GetSchedulingAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
- func (o *GetSchedulingAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetSchedulingAPIGroupOK
- func (o *GetSchedulingAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSchedulingAPIGroupParams
- type GetSchedulingAPIGroupUnauthorized
Constants ¶
const GetSchedulingAPIGroupOKCode int = 200
GetSchedulingAPIGroupOKCode is the HTTP code returned for type GetSchedulingAPIGroupOK
GetSchedulingAPIGroupUnauthorizedCode is the HTTP code returned for type GetSchedulingAPIGroupUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetSchedulingAPIGroup ¶
type GetSchedulingAPIGroup struct { Context *middleware.Context Handler GetSchedulingAPIGroupHandler }
GetSchedulingAPIGroup swagger:route GET /apis/scheduling.k8s.io/ scheduling getSchedulingApiGroup
get information of a group
func NewGetSchedulingAPIGroup ¶
func NewGetSchedulingAPIGroup(ctx *middleware.Context, handler GetSchedulingAPIGroupHandler) *GetSchedulingAPIGroup
NewGetSchedulingAPIGroup creates a new http.Handler for the get scheduling API group operation
func (*GetSchedulingAPIGroup) ServeHTTP ¶
func (o *GetSchedulingAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetSchedulingAPIGroupHandler ¶
type GetSchedulingAPIGroupHandler interface {
Handle(GetSchedulingAPIGroupParams) middleware.Responder
}
GetSchedulingAPIGroupHandler interface for that can handle valid get scheduling API group params
type GetSchedulingAPIGroupHandlerFunc ¶
type GetSchedulingAPIGroupHandlerFunc func(GetSchedulingAPIGroupParams) middleware.Responder
GetSchedulingAPIGroupHandlerFunc turns a function with the right signature into a get scheduling API group handler
func (GetSchedulingAPIGroupHandlerFunc) Handle ¶
func (fn GetSchedulingAPIGroupHandlerFunc) Handle(params GetSchedulingAPIGroupParams) middleware.Responder
Handle executing the request and returning a response
type GetSchedulingAPIGroupOK ¶
type GetSchedulingAPIGroupOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup `json:"body,omitempty"` }
GetSchedulingAPIGroupOK OK
swagger:response getSchedulingApiGroupOK
func NewGetSchedulingAPIGroupOK ¶
func NewGetSchedulingAPIGroupOK() *GetSchedulingAPIGroupOK
NewGetSchedulingAPIGroupOK creates GetSchedulingAPIGroupOK with default headers values
func (*GetSchedulingAPIGroupOK) SetPayload ¶
func (o *GetSchedulingAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
SetPayload sets the payload to the get scheduling Api group o k response
func (*GetSchedulingAPIGroupOK) WithPayload ¶
func (o *GetSchedulingAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetSchedulingAPIGroupOK
WithPayload adds the payload to the get scheduling Api group o k response
func (*GetSchedulingAPIGroupOK) WriteResponse ¶
func (o *GetSchedulingAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSchedulingAPIGroupParams ¶
type GetSchedulingAPIGroupParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetSchedulingAPIGroupParams contains all the bound params for the get scheduling API group operation typically these are obtained from a http.Request
swagger:parameters getSchedulingAPIGroup
func NewGetSchedulingAPIGroupParams ¶
func NewGetSchedulingAPIGroupParams() GetSchedulingAPIGroupParams
NewGetSchedulingAPIGroupParams creates a new GetSchedulingAPIGroupParams object no default values defined in spec.
func (*GetSchedulingAPIGroupParams) BindRequest ¶
func (o *GetSchedulingAPIGroupParams) 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 NewGetSchedulingAPIGroupParams() beforehand.
type GetSchedulingAPIGroupUnauthorized ¶
type GetSchedulingAPIGroupUnauthorized struct { }
GetSchedulingAPIGroupUnauthorized Unauthorized
swagger:response getSchedulingApiGroupUnauthorized
func NewGetSchedulingAPIGroupUnauthorized ¶
func NewGetSchedulingAPIGroupUnauthorized() *GetSchedulingAPIGroupUnauthorized
NewGetSchedulingAPIGroupUnauthorized creates GetSchedulingAPIGroupUnauthorized with default headers values
func (*GetSchedulingAPIGroupUnauthorized) WriteResponse ¶
func (o *GetSchedulingAPIGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client