Documentation ¶
Index ¶
- Constants
- type CreateSchedulingV1alpha1PriorityClass
- type CreateSchedulingV1alpha1PriorityClassAccepted
- func (o *CreateSchedulingV1alpha1PriorityClassAccepted) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
- func (o *CreateSchedulingV1alpha1PriorityClassAccepted) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *CreateSchedulingV1alpha1PriorityClassAccepted
- func (o *CreateSchedulingV1alpha1PriorityClassAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateSchedulingV1alpha1PriorityClassCreated
- func (o *CreateSchedulingV1alpha1PriorityClassCreated) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
- func (o *CreateSchedulingV1alpha1PriorityClassCreated) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *CreateSchedulingV1alpha1PriorityClassCreated
- func (o *CreateSchedulingV1alpha1PriorityClassCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateSchedulingV1alpha1PriorityClassHandler
- type CreateSchedulingV1alpha1PriorityClassHandlerFunc
- type CreateSchedulingV1alpha1PriorityClassOK
- func (o *CreateSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
- func (o *CreateSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *CreateSchedulingV1alpha1PriorityClassOK
- func (o *CreateSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateSchedulingV1alpha1PriorityClassParams
- type CreateSchedulingV1alpha1PriorityClassUnauthorized
- type DeleteSchedulingV1alpha1CollectionPriorityClass
- type DeleteSchedulingV1alpha1CollectionPriorityClassHandler
- type DeleteSchedulingV1alpha1CollectionPriorityClassHandlerFunc
- type DeleteSchedulingV1alpha1CollectionPriorityClassOK
- func (o *DeleteSchedulingV1alpha1CollectionPriorityClassOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteSchedulingV1alpha1CollectionPriorityClassOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSchedulingV1alpha1CollectionPriorityClassOK
- func (o *DeleteSchedulingV1alpha1CollectionPriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteSchedulingV1alpha1CollectionPriorityClassParams
- type DeleteSchedulingV1alpha1CollectionPriorityClassUnauthorized
- type DeleteSchedulingV1alpha1PriorityClass
- type DeleteSchedulingV1alpha1PriorityClassAccepted
- func (o *DeleteSchedulingV1alpha1PriorityClassAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteSchedulingV1alpha1PriorityClassAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSchedulingV1alpha1PriorityClassAccepted
- func (o *DeleteSchedulingV1alpha1PriorityClassAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteSchedulingV1alpha1PriorityClassHandler
- type DeleteSchedulingV1alpha1PriorityClassHandlerFunc
- type DeleteSchedulingV1alpha1PriorityClassOK
- func (o *DeleteSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSchedulingV1alpha1PriorityClassOK
- func (o *DeleteSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteSchedulingV1alpha1PriorityClassParams
- type DeleteSchedulingV1alpha1PriorityClassUnauthorized
- type GetSchedulingV1alpha1APIResources
- type GetSchedulingV1alpha1APIResourcesHandler
- type GetSchedulingV1alpha1APIResourcesHandlerFunc
- type GetSchedulingV1alpha1APIResourcesOK
- func (o *GetSchedulingV1alpha1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
- func (o *GetSchedulingV1alpha1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetSchedulingV1alpha1APIResourcesOK
- func (o *GetSchedulingV1alpha1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSchedulingV1alpha1APIResourcesParams
- type GetSchedulingV1alpha1APIResourcesUnauthorized
- type ListSchedulingV1alpha1PriorityClass
- type ListSchedulingV1alpha1PriorityClassHandler
- type ListSchedulingV1alpha1PriorityClassHandlerFunc
- type ListSchedulingV1alpha1PriorityClassOK
- func (o *ListSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClassList)
- func (o *ListSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClassList) *ListSchedulingV1alpha1PriorityClassOK
- func (o *ListSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListSchedulingV1alpha1PriorityClassParams
- type ListSchedulingV1alpha1PriorityClassUnauthorized
- type PatchSchedulingV1alpha1PriorityClass
- type PatchSchedulingV1alpha1PriorityClassHandler
- type PatchSchedulingV1alpha1PriorityClassHandlerFunc
- type PatchSchedulingV1alpha1PriorityClassOK
- func (o *PatchSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
- func (o *PatchSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *PatchSchedulingV1alpha1PriorityClassOK
- func (o *PatchSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchSchedulingV1alpha1PriorityClassParams
- type PatchSchedulingV1alpha1PriorityClassUnauthorized
- type ReadSchedulingV1alpha1PriorityClass
- type ReadSchedulingV1alpha1PriorityClassHandler
- type ReadSchedulingV1alpha1PriorityClassHandlerFunc
- type ReadSchedulingV1alpha1PriorityClassOK
- func (o *ReadSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
- func (o *ReadSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *ReadSchedulingV1alpha1PriorityClassOK
- func (o *ReadSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReadSchedulingV1alpha1PriorityClassParams
- type ReadSchedulingV1alpha1PriorityClassUnauthorized
- type ReplaceSchedulingV1alpha1PriorityClass
- type ReplaceSchedulingV1alpha1PriorityClassCreated
- func (o *ReplaceSchedulingV1alpha1PriorityClassCreated) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
- func (o *ReplaceSchedulingV1alpha1PriorityClassCreated) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *ReplaceSchedulingV1alpha1PriorityClassCreated
- func (o *ReplaceSchedulingV1alpha1PriorityClassCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceSchedulingV1alpha1PriorityClassHandler
- type ReplaceSchedulingV1alpha1PriorityClassHandlerFunc
- type ReplaceSchedulingV1alpha1PriorityClassOK
- func (o *ReplaceSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
- func (o *ReplaceSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *ReplaceSchedulingV1alpha1PriorityClassOK
- func (o *ReplaceSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceSchedulingV1alpha1PriorityClassParams
- type ReplaceSchedulingV1alpha1PriorityClassUnauthorized
- type WatchSchedulingV1alpha1PriorityClass
- type WatchSchedulingV1alpha1PriorityClassHandler
- type WatchSchedulingV1alpha1PriorityClassHandlerFunc
- type WatchSchedulingV1alpha1PriorityClassList
- type WatchSchedulingV1alpha1PriorityClassListHandler
- type WatchSchedulingV1alpha1PriorityClassListHandlerFunc
- type WatchSchedulingV1alpha1PriorityClassListOK
- func (o *WatchSchedulingV1alpha1PriorityClassListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchSchedulingV1alpha1PriorityClassListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSchedulingV1alpha1PriorityClassListOK
- func (o *WatchSchedulingV1alpha1PriorityClassListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchSchedulingV1alpha1PriorityClassListParams
- type WatchSchedulingV1alpha1PriorityClassListUnauthorized
- type WatchSchedulingV1alpha1PriorityClassOK
- func (o *WatchSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSchedulingV1alpha1PriorityClassOK
- func (o *WatchSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchSchedulingV1alpha1PriorityClassParams
- type WatchSchedulingV1alpha1PriorityClassUnauthorized
Constants ¶
const CreateSchedulingV1alpha1PriorityClassAcceptedCode int = 202
CreateSchedulingV1alpha1PriorityClassAcceptedCode is the HTTP code returned for type CreateSchedulingV1alpha1PriorityClassAccepted
const CreateSchedulingV1alpha1PriorityClassCreatedCode int = 201
CreateSchedulingV1alpha1PriorityClassCreatedCode is the HTTP code returned for type CreateSchedulingV1alpha1PriorityClassCreated
const CreateSchedulingV1alpha1PriorityClassOKCode int = 200
CreateSchedulingV1alpha1PriorityClassOKCode is the HTTP code returned for type CreateSchedulingV1alpha1PriorityClassOK
CreateSchedulingV1alpha1PriorityClassUnauthorizedCode is the HTTP code returned for type CreateSchedulingV1alpha1PriorityClassUnauthorized
const DeleteSchedulingV1alpha1CollectionPriorityClassOKCode int = 200
DeleteSchedulingV1alpha1CollectionPriorityClassOKCode is the HTTP code returned for type DeleteSchedulingV1alpha1CollectionPriorityClassOK
DeleteSchedulingV1alpha1CollectionPriorityClassUnauthorizedCode is the HTTP code returned for type DeleteSchedulingV1alpha1CollectionPriorityClassUnauthorized
const DeleteSchedulingV1alpha1PriorityClassAcceptedCode int = 202
DeleteSchedulingV1alpha1PriorityClassAcceptedCode is the HTTP code returned for type DeleteSchedulingV1alpha1PriorityClassAccepted
const DeleteSchedulingV1alpha1PriorityClassOKCode int = 200
DeleteSchedulingV1alpha1PriorityClassOKCode is the HTTP code returned for type DeleteSchedulingV1alpha1PriorityClassOK
DeleteSchedulingV1alpha1PriorityClassUnauthorizedCode is the HTTP code returned for type DeleteSchedulingV1alpha1PriorityClassUnauthorized
const GetSchedulingV1alpha1APIResourcesOKCode int = 200
GetSchedulingV1alpha1APIResourcesOKCode is the HTTP code returned for type GetSchedulingV1alpha1APIResourcesOK
GetSchedulingV1alpha1APIResourcesUnauthorizedCode is the HTTP code returned for type GetSchedulingV1alpha1APIResourcesUnauthorized
const ListSchedulingV1alpha1PriorityClassOKCode int = 200
ListSchedulingV1alpha1PriorityClassOKCode is the HTTP code returned for type ListSchedulingV1alpha1PriorityClassOK
ListSchedulingV1alpha1PriorityClassUnauthorizedCode is the HTTP code returned for type ListSchedulingV1alpha1PriorityClassUnauthorized
const PatchSchedulingV1alpha1PriorityClassOKCode int = 200
PatchSchedulingV1alpha1PriorityClassOKCode is the HTTP code returned for type PatchSchedulingV1alpha1PriorityClassOK
PatchSchedulingV1alpha1PriorityClassUnauthorizedCode is the HTTP code returned for type PatchSchedulingV1alpha1PriorityClassUnauthorized
const ReadSchedulingV1alpha1PriorityClassOKCode int = 200
ReadSchedulingV1alpha1PriorityClassOKCode is the HTTP code returned for type ReadSchedulingV1alpha1PriorityClassOK
ReadSchedulingV1alpha1PriorityClassUnauthorizedCode is the HTTP code returned for type ReadSchedulingV1alpha1PriorityClassUnauthorized
const ReplaceSchedulingV1alpha1PriorityClassCreatedCode int = 201
ReplaceSchedulingV1alpha1PriorityClassCreatedCode is the HTTP code returned for type ReplaceSchedulingV1alpha1PriorityClassCreated
const ReplaceSchedulingV1alpha1PriorityClassOKCode int = 200
ReplaceSchedulingV1alpha1PriorityClassOKCode is the HTTP code returned for type ReplaceSchedulingV1alpha1PriorityClassOK
ReplaceSchedulingV1alpha1PriorityClassUnauthorizedCode is the HTTP code returned for type ReplaceSchedulingV1alpha1PriorityClassUnauthorized
const WatchSchedulingV1alpha1PriorityClassListOKCode int = 200
WatchSchedulingV1alpha1PriorityClassListOKCode is the HTTP code returned for type WatchSchedulingV1alpha1PriorityClassListOK
WatchSchedulingV1alpha1PriorityClassListUnauthorizedCode is the HTTP code returned for type WatchSchedulingV1alpha1PriorityClassListUnauthorized
const WatchSchedulingV1alpha1PriorityClassOKCode int = 200
WatchSchedulingV1alpha1PriorityClassOKCode is the HTTP code returned for type WatchSchedulingV1alpha1PriorityClassOK
WatchSchedulingV1alpha1PriorityClassUnauthorizedCode is the HTTP code returned for type WatchSchedulingV1alpha1PriorityClassUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSchedulingV1alpha1PriorityClass ¶
type CreateSchedulingV1alpha1PriorityClass struct { Context *middleware.Context Handler CreateSchedulingV1alpha1PriorityClassHandler }
CreateSchedulingV1alpha1PriorityClass swagger:route POST /apis/scheduling.k8s.io/v1alpha1/priorityclasses scheduling_v1alpha1 createSchedulingV1alpha1PriorityClass
create a PriorityClass
func NewCreateSchedulingV1alpha1PriorityClass ¶
func NewCreateSchedulingV1alpha1PriorityClass(ctx *middleware.Context, handler CreateSchedulingV1alpha1PriorityClassHandler) *CreateSchedulingV1alpha1PriorityClass
NewCreateSchedulingV1alpha1PriorityClass creates a new http.Handler for the create scheduling v1alpha1 priority class operation
func (*CreateSchedulingV1alpha1PriorityClass) ServeHTTP ¶
func (o *CreateSchedulingV1alpha1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateSchedulingV1alpha1PriorityClassAccepted ¶
type CreateSchedulingV1alpha1PriorityClassAccepted struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1alpha1PriorityClass `json:"body,omitempty"` }
CreateSchedulingV1alpha1PriorityClassAccepted Accepted
swagger:response createSchedulingV1alpha1PriorityClassAccepted
func NewCreateSchedulingV1alpha1PriorityClassAccepted ¶
func NewCreateSchedulingV1alpha1PriorityClassAccepted() *CreateSchedulingV1alpha1PriorityClassAccepted
NewCreateSchedulingV1alpha1PriorityClassAccepted creates CreateSchedulingV1alpha1PriorityClassAccepted with default headers values
func (*CreateSchedulingV1alpha1PriorityClassAccepted) SetPayload ¶
func (o *CreateSchedulingV1alpha1PriorityClassAccepted) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
SetPayload sets the payload to the create scheduling v1alpha1 priority class accepted response
func (*CreateSchedulingV1alpha1PriorityClassAccepted) WithPayload ¶
func (o *CreateSchedulingV1alpha1PriorityClassAccepted) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *CreateSchedulingV1alpha1PriorityClassAccepted
WithPayload adds the payload to the create scheduling v1alpha1 priority class accepted response
func (*CreateSchedulingV1alpha1PriorityClassAccepted) WriteResponse ¶
func (o *CreateSchedulingV1alpha1PriorityClassAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSchedulingV1alpha1PriorityClassCreated ¶
type CreateSchedulingV1alpha1PriorityClassCreated struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1alpha1PriorityClass `json:"body,omitempty"` }
CreateSchedulingV1alpha1PriorityClassCreated Created
swagger:response createSchedulingV1alpha1PriorityClassCreated
func NewCreateSchedulingV1alpha1PriorityClassCreated ¶
func NewCreateSchedulingV1alpha1PriorityClassCreated() *CreateSchedulingV1alpha1PriorityClassCreated
NewCreateSchedulingV1alpha1PriorityClassCreated creates CreateSchedulingV1alpha1PriorityClassCreated with default headers values
func (*CreateSchedulingV1alpha1PriorityClassCreated) SetPayload ¶
func (o *CreateSchedulingV1alpha1PriorityClassCreated) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
SetPayload sets the payload to the create scheduling v1alpha1 priority class created response
func (*CreateSchedulingV1alpha1PriorityClassCreated) WithPayload ¶
func (o *CreateSchedulingV1alpha1PriorityClassCreated) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *CreateSchedulingV1alpha1PriorityClassCreated
WithPayload adds the payload to the create scheduling v1alpha1 priority class created response
func (*CreateSchedulingV1alpha1PriorityClassCreated) WriteResponse ¶
func (o *CreateSchedulingV1alpha1PriorityClassCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSchedulingV1alpha1PriorityClassHandler ¶
type CreateSchedulingV1alpha1PriorityClassHandler interface {
Handle(CreateSchedulingV1alpha1PriorityClassParams) middleware.Responder
}
CreateSchedulingV1alpha1PriorityClassHandler interface for that can handle valid create scheduling v1alpha1 priority class params
type CreateSchedulingV1alpha1PriorityClassHandlerFunc ¶
type CreateSchedulingV1alpha1PriorityClassHandlerFunc func(CreateSchedulingV1alpha1PriorityClassParams) middleware.Responder
CreateSchedulingV1alpha1PriorityClassHandlerFunc turns a function with the right signature into a create scheduling v1alpha1 priority class handler
func (CreateSchedulingV1alpha1PriorityClassHandlerFunc) Handle ¶
func (fn CreateSchedulingV1alpha1PriorityClassHandlerFunc) Handle(params CreateSchedulingV1alpha1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type CreateSchedulingV1alpha1PriorityClassOK ¶
type CreateSchedulingV1alpha1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1alpha1PriorityClass `json:"body,omitempty"` }
CreateSchedulingV1alpha1PriorityClassOK OK
swagger:response createSchedulingV1alpha1PriorityClassOK
func NewCreateSchedulingV1alpha1PriorityClassOK ¶
func NewCreateSchedulingV1alpha1PriorityClassOK() *CreateSchedulingV1alpha1PriorityClassOK
NewCreateSchedulingV1alpha1PriorityClassOK creates CreateSchedulingV1alpha1PriorityClassOK with default headers values
func (*CreateSchedulingV1alpha1PriorityClassOK) SetPayload ¶
func (o *CreateSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
SetPayload sets the payload to the create scheduling v1alpha1 priority class o k response
func (*CreateSchedulingV1alpha1PriorityClassOK) WithPayload ¶
func (o *CreateSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *CreateSchedulingV1alpha1PriorityClassOK
WithPayload adds the payload to the create scheduling v1alpha1 priority class o k response
func (*CreateSchedulingV1alpha1PriorityClassOK) WriteResponse ¶
func (o *CreateSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSchedulingV1alpha1PriorityClassParams ¶
type CreateSchedulingV1alpha1PriorityClassParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sAPISchedulingV1alpha1PriorityClass /*When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed Unique: true In: query */ DryRun *string /*fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. Unique: true In: query */ FieldManager *string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string }
CreateSchedulingV1alpha1PriorityClassParams contains all the bound params for the create scheduling v1alpha1 priority class operation typically these are obtained from a http.Request
swagger:parameters createSchedulingV1alpha1PriorityClass
func NewCreateSchedulingV1alpha1PriorityClassParams ¶
func NewCreateSchedulingV1alpha1PriorityClassParams() CreateSchedulingV1alpha1PriorityClassParams
NewCreateSchedulingV1alpha1PriorityClassParams creates a new CreateSchedulingV1alpha1PriorityClassParams object no default values defined in spec.
func (*CreateSchedulingV1alpha1PriorityClassParams) BindRequest ¶
func (o *CreateSchedulingV1alpha1PriorityClassParams) 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 NewCreateSchedulingV1alpha1PriorityClassParams() beforehand.
type CreateSchedulingV1alpha1PriorityClassUnauthorized ¶
type CreateSchedulingV1alpha1PriorityClassUnauthorized struct { }
CreateSchedulingV1alpha1PriorityClassUnauthorized Unauthorized
swagger:response createSchedulingV1alpha1PriorityClassUnauthorized
func NewCreateSchedulingV1alpha1PriorityClassUnauthorized ¶
func NewCreateSchedulingV1alpha1PriorityClassUnauthorized() *CreateSchedulingV1alpha1PriorityClassUnauthorized
NewCreateSchedulingV1alpha1PriorityClassUnauthorized creates CreateSchedulingV1alpha1PriorityClassUnauthorized with default headers values
func (*CreateSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse ¶
func (o *CreateSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSchedulingV1alpha1CollectionPriorityClass ¶
type DeleteSchedulingV1alpha1CollectionPriorityClass struct { Context *middleware.Context Handler DeleteSchedulingV1alpha1CollectionPriorityClassHandler }
DeleteSchedulingV1alpha1CollectionPriorityClass swagger:route DELETE /apis/scheduling.k8s.io/v1alpha1/priorityclasses scheduling_v1alpha1 deleteSchedulingV1alpha1CollectionPriorityClass
delete collection of PriorityClass
func NewDeleteSchedulingV1alpha1CollectionPriorityClass ¶
func NewDeleteSchedulingV1alpha1CollectionPriorityClass(ctx *middleware.Context, handler DeleteSchedulingV1alpha1CollectionPriorityClassHandler) *DeleteSchedulingV1alpha1CollectionPriorityClass
NewDeleteSchedulingV1alpha1CollectionPriorityClass creates a new http.Handler for the delete scheduling v1alpha1 collection priority class operation
func (*DeleteSchedulingV1alpha1CollectionPriorityClass) ServeHTTP ¶
func (o *DeleteSchedulingV1alpha1CollectionPriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteSchedulingV1alpha1CollectionPriorityClassHandler ¶
type DeleteSchedulingV1alpha1CollectionPriorityClassHandler interface {
Handle(DeleteSchedulingV1alpha1CollectionPriorityClassParams) middleware.Responder
}
DeleteSchedulingV1alpha1CollectionPriorityClassHandler interface for that can handle valid delete scheduling v1alpha1 collection priority class params
type DeleteSchedulingV1alpha1CollectionPriorityClassHandlerFunc ¶
type DeleteSchedulingV1alpha1CollectionPriorityClassHandlerFunc func(DeleteSchedulingV1alpha1CollectionPriorityClassParams) middleware.Responder
DeleteSchedulingV1alpha1CollectionPriorityClassHandlerFunc turns a function with the right signature into a delete scheduling v1alpha1 collection priority class handler
func (DeleteSchedulingV1alpha1CollectionPriorityClassHandlerFunc) Handle ¶
func (fn DeleteSchedulingV1alpha1CollectionPriorityClassHandlerFunc) Handle(params DeleteSchedulingV1alpha1CollectionPriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type DeleteSchedulingV1alpha1CollectionPriorityClassOK ¶
type DeleteSchedulingV1alpha1CollectionPriorityClassOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteSchedulingV1alpha1CollectionPriorityClassOK OK
swagger:response deleteSchedulingV1alpha1CollectionPriorityClassOK
func NewDeleteSchedulingV1alpha1CollectionPriorityClassOK ¶
func NewDeleteSchedulingV1alpha1CollectionPriorityClassOK() *DeleteSchedulingV1alpha1CollectionPriorityClassOK
NewDeleteSchedulingV1alpha1CollectionPriorityClassOK creates DeleteSchedulingV1alpha1CollectionPriorityClassOK with default headers values
func (*DeleteSchedulingV1alpha1CollectionPriorityClassOK) SetPayload ¶
func (o *DeleteSchedulingV1alpha1CollectionPriorityClassOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete scheduling v1alpha1 collection priority class o k response
func (*DeleteSchedulingV1alpha1CollectionPriorityClassOK) WithPayload ¶
func (o *DeleteSchedulingV1alpha1CollectionPriorityClassOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSchedulingV1alpha1CollectionPriorityClassOK
WithPayload adds the payload to the delete scheduling v1alpha1 collection priority class o k response
func (*DeleteSchedulingV1alpha1CollectionPriorityClassOK) WriteResponse ¶
func (o *DeleteSchedulingV1alpha1CollectionPriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSchedulingV1alpha1CollectionPriorityClassParams ¶
type DeleteSchedulingV1alpha1CollectionPriorityClassParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions /*The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. Unique: true In: query */ Continue *string /*When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed Unique: true In: query */ DryRun *string /*A selector to restrict the list of returned objects by their fields. Defaults to everything. Unique: true In: query */ FieldSelector *string /*The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. Unique: true In: query */ GracePeriodSeconds *int64 /*A selector to restrict the list of returned objects by their labels. Defaults to everything. Unique: true In: query */ LabelSelector *string /*limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. Unique: true In: query */ Limit *int64 /*Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. Unique: true In: query */ OrphanDependents *bool /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string /*Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. Unique: true In: query */ PropagationPolicy *string /*resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersion *string /*resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersionMatch *string /*Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Unique: true In: query */ TimeoutSeconds *int64 }
DeleteSchedulingV1alpha1CollectionPriorityClassParams contains all the bound params for the delete scheduling v1alpha1 collection priority class operation typically these are obtained from a http.Request
swagger:parameters deleteSchedulingV1alpha1CollectionPriorityClass
func NewDeleteSchedulingV1alpha1CollectionPriorityClassParams ¶
func NewDeleteSchedulingV1alpha1CollectionPriorityClassParams() DeleteSchedulingV1alpha1CollectionPriorityClassParams
NewDeleteSchedulingV1alpha1CollectionPriorityClassParams creates a new DeleteSchedulingV1alpha1CollectionPriorityClassParams object no default values defined in spec.
func (*DeleteSchedulingV1alpha1CollectionPriorityClassParams) BindRequest ¶
func (o *DeleteSchedulingV1alpha1CollectionPriorityClassParams) 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 NewDeleteSchedulingV1alpha1CollectionPriorityClassParams() beforehand.
type DeleteSchedulingV1alpha1CollectionPriorityClassUnauthorized ¶
type DeleteSchedulingV1alpha1CollectionPriorityClassUnauthorized struct { }
DeleteSchedulingV1alpha1CollectionPriorityClassUnauthorized Unauthorized
swagger:response deleteSchedulingV1alpha1CollectionPriorityClassUnauthorized
func NewDeleteSchedulingV1alpha1CollectionPriorityClassUnauthorized ¶
func NewDeleteSchedulingV1alpha1CollectionPriorityClassUnauthorized() *DeleteSchedulingV1alpha1CollectionPriorityClassUnauthorized
NewDeleteSchedulingV1alpha1CollectionPriorityClassUnauthorized creates DeleteSchedulingV1alpha1CollectionPriorityClassUnauthorized with default headers values
func (*DeleteSchedulingV1alpha1CollectionPriorityClassUnauthorized) WriteResponse ¶
func (o *DeleteSchedulingV1alpha1CollectionPriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSchedulingV1alpha1PriorityClass ¶
type DeleteSchedulingV1alpha1PriorityClass struct { Context *middleware.Context Handler DeleteSchedulingV1alpha1PriorityClassHandler }
DeleteSchedulingV1alpha1PriorityClass swagger:route DELETE /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} scheduling_v1alpha1 deleteSchedulingV1alpha1PriorityClass
delete a PriorityClass
func NewDeleteSchedulingV1alpha1PriorityClass ¶
func NewDeleteSchedulingV1alpha1PriorityClass(ctx *middleware.Context, handler DeleteSchedulingV1alpha1PriorityClassHandler) *DeleteSchedulingV1alpha1PriorityClass
NewDeleteSchedulingV1alpha1PriorityClass creates a new http.Handler for the delete scheduling v1alpha1 priority class operation
func (*DeleteSchedulingV1alpha1PriorityClass) ServeHTTP ¶
func (o *DeleteSchedulingV1alpha1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteSchedulingV1alpha1PriorityClassAccepted ¶
type DeleteSchedulingV1alpha1PriorityClassAccepted struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteSchedulingV1alpha1PriorityClassAccepted Accepted
swagger:response deleteSchedulingV1alpha1PriorityClassAccepted
func NewDeleteSchedulingV1alpha1PriorityClassAccepted ¶
func NewDeleteSchedulingV1alpha1PriorityClassAccepted() *DeleteSchedulingV1alpha1PriorityClassAccepted
NewDeleteSchedulingV1alpha1PriorityClassAccepted creates DeleteSchedulingV1alpha1PriorityClassAccepted with default headers values
func (*DeleteSchedulingV1alpha1PriorityClassAccepted) SetPayload ¶
func (o *DeleteSchedulingV1alpha1PriorityClassAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete scheduling v1alpha1 priority class accepted response
func (*DeleteSchedulingV1alpha1PriorityClassAccepted) WithPayload ¶
func (o *DeleteSchedulingV1alpha1PriorityClassAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSchedulingV1alpha1PriorityClassAccepted
WithPayload adds the payload to the delete scheduling v1alpha1 priority class accepted response
func (*DeleteSchedulingV1alpha1PriorityClassAccepted) WriteResponse ¶
func (o *DeleteSchedulingV1alpha1PriorityClassAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSchedulingV1alpha1PriorityClassHandler ¶
type DeleteSchedulingV1alpha1PriorityClassHandler interface {
Handle(DeleteSchedulingV1alpha1PriorityClassParams) middleware.Responder
}
DeleteSchedulingV1alpha1PriorityClassHandler interface for that can handle valid delete scheduling v1alpha1 priority class params
type DeleteSchedulingV1alpha1PriorityClassHandlerFunc ¶
type DeleteSchedulingV1alpha1PriorityClassHandlerFunc func(DeleteSchedulingV1alpha1PriorityClassParams) middleware.Responder
DeleteSchedulingV1alpha1PriorityClassHandlerFunc turns a function with the right signature into a delete scheduling v1alpha1 priority class handler
func (DeleteSchedulingV1alpha1PriorityClassHandlerFunc) Handle ¶
func (fn DeleteSchedulingV1alpha1PriorityClassHandlerFunc) Handle(params DeleteSchedulingV1alpha1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type DeleteSchedulingV1alpha1PriorityClassOK ¶
type DeleteSchedulingV1alpha1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteSchedulingV1alpha1PriorityClassOK OK
swagger:response deleteSchedulingV1alpha1PriorityClassOK
func NewDeleteSchedulingV1alpha1PriorityClassOK ¶
func NewDeleteSchedulingV1alpha1PriorityClassOK() *DeleteSchedulingV1alpha1PriorityClassOK
NewDeleteSchedulingV1alpha1PriorityClassOK creates DeleteSchedulingV1alpha1PriorityClassOK with default headers values
func (*DeleteSchedulingV1alpha1PriorityClassOK) SetPayload ¶
func (o *DeleteSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete scheduling v1alpha1 priority class o k response
func (*DeleteSchedulingV1alpha1PriorityClassOK) WithPayload ¶
func (o *DeleteSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSchedulingV1alpha1PriorityClassOK
WithPayload adds the payload to the delete scheduling v1alpha1 priority class o k response
func (*DeleteSchedulingV1alpha1PriorityClassOK) WriteResponse ¶
func (o *DeleteSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSchedulingV1alpha1PriorityClassParams ¶
type DeleteSchedulingV1alpha1PriorityClassParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions /*When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed Unique: true In: query */ DryRun *string /*The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. Unique: true In: query */ GracePeriodSeconds *int64 /*name of the PriorityClass Required: true Unique: true In: path */ Name string /*Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. Unique: true In: query */ OrphanDependents *bool /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string /*Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. Unique: true In: query */ PropagationPolicy *string }
DeleteSchedulingV1alpha1PriorityClassParams contains all the bound params for the delete scheduling v1alpha1 priority class operation typically these are obtained from a http.Request
swagger:parameters deleteSchedulingV1alpha1PriorityClass
func NewDeleteSchedulingV1alpha1PriorityClassParams ¶
func NewDeleteSchedulingV1alpha1PriorityClassParams() DeleteSchedulingV1alpha1PriorityClassParams
NewDeleteSchedulingV1alpha1PriorityClassParams creates a new DeleteSchedulingV1alpha1PriorityClassParams object no default values defined in spec.
func (*DeleteSchedulingV1alpha1PriorityClassParams) BindRequest ¶
func (o *DeleteSchedulingV1alpha1PriorityClassParams) 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 NewDeleteSchedulingV1alpha1PriorityClassParams() beforehand.
type DeleteSchedulingV1alpha1PriorityClassUnauthorized ¶
type DeleteSchedulingV1alpha1PriorityClassUnauthorized struct { }
DeleteSchedulingV1alpha1PriorityClassUnauthorized Unauthorized
swagger:response deleteSchedulingV1alpha1PriorityClassUnauthorized
func NewDeleteSchedulingV1alpha1PriorityClassUnauthorized ¶
func NewDeleteSchedulingV1alpha1PriorityClassUnauthorized() *DeleteSchedulingV1alpha1PriorityClassUnauthorized
NewDeleteSchedulingV1alpha1PriorityClassUnauthorized creates DeleteSchedulingV1alpha1PriorityClassUnauthorized with default headers values
func (*DeleteSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse ¶
func (o *DeleteSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSchedulingV1alpha1APIResources ¶
type GetSchedulingV1alpha1APIResources struct { Context *middleware.Context Handler GetSchedulingV1alpha1APIResourcesHandler }
GetSchedulingV1alpha1APIResources swagger:route GET /apis/scheduling.k8s.io/v1alpha1/ scheduling_v1alpha1 getSchedulingV1alpha1ApiResources
get available resources
func NewGetSchedulingV1alpha1APIResources ¶
func NewGetSchedulingV1alpha1APIResources(ctx *middleware.Context, handler GetSchedulingV1alpha1APIResourcesHandler) *GetSchedulingV1alpha1APIResources
NewGetSchedulingV1alpha1APIResources creates a new http.Handler for the get scheduling v1alpha1 API resources operation
func (*GetSchedulingV1alpha1APIResources) ServeHTTP ¶
func (o *GetSchedulingV1alpha1APIResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetSchedulingV1alpha1APIResourcesHandler ¶
type GetSchedulingV1alpha1APIResourcesHandler interface {
Handle(GetSchedulingV1alpha1APIResourcesParams) middleware.Responder
}
GetSchedulingV1alpha1APIResourcesHandler interface for that can handle valid get scheduling v1alpha1 API resources params
type GetSchedulingV1alpha1APIResourcesHandlerFunc ¶
type GetSchedulingV1alpha1APIResourcesHandlerFunc func(GetSchedulingV1alpha1APIResourcesParams) middleware.Responder
GetSchedulingV1alpha1APIResourcesHandlerFunc turns a function with the right signature into a get scheduling v1alpha1 API resources handler
func (GetSchedulingV1alpha1APIResourcesHandlerFunc) Handle ¶
func (fn GetSchedulingV1alpha1APIResourcesHandlerFunc) Handle(params GetSchedulingV1alpha1APIResourcesParams) middleware.Responder
Handle executing the request and returning a response
type GetSchedulingV1alpha1APIResourcesOK ¶
type GetSchedulingV1alpha1APIResourcesOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList `json:"body,omitempty"` }
GetSchedulingV1alpha1APIResourcesOK OK
swagger:response getSchedulingV1alpha1ApiResourcesOK
func NewGetSchedulingV1alpha1APIResourcesOK ¶
func NewGetSchedulingV1alpha1APIResourcesOK() *GetSchedulingV1alpha1APIResourcesOK
NewGetSchedulingV1alpha1APIResourcesOK creates GetSchedulingV1alpha1APIResourcesOK with default headers values
func (*GetSchedulingV1alpha1APIResourcesOK) SetPayload ¶
func (o *GetSchedulingV1alpha1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
SetPayload sets the payload to the get scheduling v1alpha1 Api resources o k response
func (*GetSchedulingV1alpha1APIResourcesOK) WithPayload ¶
func (o *GetSchedulingV1alpha1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetSchedulingV1alpha1APIResourcesOK
WithPayload adds the payload to the get scheduling v1alpha1 Api resources o k response
func (*GetSchedulingV1alpha1APIResourcesOK) WriteResponse ¶
func (o *GetSchedulingV1alpha1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSchedulingV1alpha1APIResourcesParams ¶
type GetSchedulingV1alpha1APIResourcesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetSchedulingV1alpha1APIResourcesParams contains all the bound params for the get scheduling v1alpha1 API resources operation typically these are obtained from a http.Request
swagger:parameters getSchedulingV1alpha1APIResources
func NewGetSchedulingV1alpha1APIResourcesParams ¶
func NewGetSchedulingV1alpha1APIResourcesParams() GetSchedulingV1alpha1APIResourcesParams
NewGetSchedulingV1alpha1APIResourcesParams creates a new GetSchedulingV1alpha1APIResourcesParams object no default values defined in spec.
func (*GetSchedulingV1alpha1APIResourcesParams) BindRequest ¶
func (o *GetSchedulingV1alpha1APIResourcesParams) 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 NewGetSchedulingV1alpha1APIResourcesParams() beforehand.
type GetSchedulingV1alpha1APIResourcesUnauthorized ¶
type GetSchedulingV1alpha1APIResourcesUnauthorized struct { }
GetSchedulingV1alpha1APIResourcesUnauthorized Unauthorized
swagger:response getSchedulingV1alpha1ApiResourcesUnauthorized
func NewGetSchedulingV1alpha1APIResourcesUnauthorized ¶
func NewGetSchedulingV1alpha1APIResourcesUnauthorized() *GetSchedulingV1alpha1APIResourcesUnauthorized
NewGetSchedulingV1alpha1APIResourcesUnauthorized creates GetSchedulingV1alpha1APIResourcesUnauthorized with default headers values
func (*GetSchedulingV1alpha1APIResourcesUnauthorized) WriteResponse ¶
func (o *GetSchedulingV1alpha1APIResourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListSchedulingV1alpha1PriorityClass ¶
type ListSchedulingV1alpha1PriorityClass struct { Context *middleware.Context Handler ListSchedulingV1alpha1PriorityClassHandler }
ListSchedulingV1alpha1PriorityClass swagger:route GET /apis/scheduling.k8s.io/v1alpha1/priorityclasses scheduling_v1alpha1 listSchedulingV1alpha1PriorityClass
list or watch objects of kind PriorityClass
func NewListSchedulingV1alpha1PriorityClass ¶
func NewListSchedulingV1alpha1PriorityClass(ctx *middleware.Context, handler ListSchedulingV1alpha1PriorityClassHandler) *ListSchedulingV1alpha1PriorityClass
NewListSchedulingV1alpha1PriorityClass creates a new http.Handler for the list scheduling v1alpha1 priority class operation
func (*ListSchedulingV1alpha1PriorityClass) ServeHTTP ¶
func (o *ListSchedulingV1alpha1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListSchedulingV1alpha1PriorityClassHandler ¶
type ListSchedulingV1alpha1PriorityClassHandler interface {
Handle(ListSchedulingV1alpha1PriorityClassParams) middleware.Responder
}
ListSchedulingV1alpha1PriorityClassHandler interface for that can handle valid list scheduling v1alpha1 priority class params
type ListSchedulingV1alpha1PriorityClassHandlerFunc ¶
type ListSchedulingV1alpha1PriorityClassHandlerFunc func(ListSchedulingV1alpha1PriorityClassParams) middleware.Responder
ListSchedulingV1alpha1PriorityClassHandlerFunc turns a function with the right signature into a list scheduling v1alpha1 priority class handler
func (ListSchedulingV1alpha1PriorityClassHandlerFunc) Handle ¶
func (fn ListSchedulingV1alpha1PriorityClassHandlerFunc) Handle(params ListSchedulingV1alpha1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type ListSchedulingV1alpha1PriorityClassOK ¶
type ListSchedulingV1alpha1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1alpha1PriorityClassList `json:"body,omitempty"` }
ListSchedulingV1alpha1PriorityClassOK OK
swagger:response listSchedulingV1alpha1PriorityClassOK
func NewListSchedulingV1alpha1PriorityClassOK ¶
func NewListSchedulingV1alpha1PriorityClassOK() *ListSchedulingV1alpha1PriorityClassOK
NewListSchedulingV1alpha1PriorityClassOK creates ListSchedulingV1alpha1PriorityClassOK with default headers values
func (*ListSchedulingV1alpha1PriorityClassOK) SetPayload ¶
func (o *ListSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClassList)
SetPayload sets the payload to the list scheduling v1alpha1 priority class o k response
func (*ListSchedulingV1alpha1PriorityClassOK) WithPayload ¶
func (o *ListSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClassList) *ListSchedulingV1alpha1PriorityClassOK
WithPayload adds the payload to the list scheduling v1alpha1 priority class o k response
func (*ListSchedulingV1alpha1PriorityClassOK) WriteResponse ¶
func (o *ListSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListSchedulingV1alpha1PriorityClassParams ¶
type ListSchedulingV1alpha1PriorityClassParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. Unique: true In: query */ AllowWatchBookmarks *bool /*The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. Unique: true In: query */ Continue *string /*A selector to restrict the list of returned objects by their fields. Defaults to everything. Unique: true In: query */ FieldSelector *string /*A selector to restrict the list of returned objects by their labels. Defaults to everything. Unique: true In: query */ LabelSelector *string /*limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. Unique: true In: query */ Limit *int64 /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string /*resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersion *string /*resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersionMatch *string /*Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Unique: true In: query */ TimeoutSeconds *int64 /*Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. Unique: true In: query */ Watch *bool }
ListSchedulingV1alpha1PriorityClassParams contains all the bound params for the list scheduling v1alpha1 priority class operation typically these are obtained from a http.Request
swagger:parameters listSchedulingV1alpha1PriorityClass
func NewListSchedulingV1alpha1PriorityClassParams ¶
func NewListSchedulingV1alpha1PriorityClassParams() ListSchedulingV1alpha1PriorityClassParams
NewListSchedulingV1alpha1PriorityClassParams creates a new ListSchedulingV1alpha1PriorityClassParams object no default values defined in spec.
func (*ListSchedulingV1alpha1PriorityClassParams) BindRequest ¶
func (o *ListSchedulingV1alpha1PriorityClassParams) 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 NewListSchedulingV1alpha1PriorityClassParams() beforehand.
type ListSchedulingV1alpha1PriorityClassUnauthorized ¶
type ListSchedulingV1alpha1PriorityClassUnauthorized struct { }
ListSchedulingV1alpha1PriorityClassUnauthorized Unauthorized
swagger:response listSchedulingV1alpha1PriorityClassUnauthorized
func NewListSchedulingV1alpha1PriorityClassUnauthorized ¶
func NewListSchedulingV1alpha1PriorityClassUnauthorized() *ListSchedulingV1alpha1PriorityClassUnauthorized
NewListSchedulingV1alpha1PriorityClassUnauthorized creates ListSchedulingV1alpha1PriorityClassUnauthorized with default headers values
func (*ListSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse ¶
func (o *ListSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchSchedulingV1alpha1PriorityClass ¶
type PatchSchedulingV1alpha1PriorityClass struct { Context *middleware.Context Handler PatchSchedulingV1alpha1PriorityClassHandler }
PatchSchedulingV1alpha1PriorityClass swagger:route PATCH /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} scheduling_v1alpha1 patchSchedulingV1alpha1PriorityClass
partially update the specified PriorityClass
func NewPatchSchedulingV1alpha1PriorityClass ¶
func NewPatchSchedulingV1alpha1PriorityClass(ctx *middleware.Context, handler PatchSchedulingV1alpha1PriorityClassHandler) *PatchSchedulingV1alpha1PriorityClass
NewPatchSchedulingV1alpha1PriorityClass creates a new http.Handler for the patch scheduling v1alpha1 priority class operation
func (*PatchSchedulingV1alpha1PriorityClass) ServeHTTP ¶
func (o *PatchSchedulingV1alpha1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchSchedulingV1alpha1PriorityClassHandler ¶
type PatchSchedulingV1alpha1PriorityClassHandler interface {
Handle(PatchSchedulingV1alpha1PriorityClassParams) middleware.Responder
}
PatchSchedulingV1alpha1PriorityClassHandler interface for that can handle valid patch scheduling v1alpha1 priority class params
type PatchSchedulingV1alpha1PriorityClassHandlerFunc ¶
type PatchSchedulingV1alpha1PriorityClassHandlerFunc func(PatchSchedulingV1alpha1PriorityClassParams) middleware.Responder
PatchSchedulingV1alpha1PriorityClassHandlerFunc turns a function with the right signature into a patch scheduling v1alpha1 priority class handler
func (PatchSchedulingV1alpha1PriorityClassHandlerFunc) Handle ¶
func (fn PatchSchedulingV1alpha1PriorityClassHandlerFunc) Handle(params PatchSchedulingV1alpha1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type PatchSchedulingV1alpha1PriorityClassOK ¶
type PatchSchedulingV1alpha1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1alpha1PriorityClass `json:"body,omitempty"` }
PatchSchedulingV1alpha1PriorityClassOK OK
swagger:response patchSchedulingV1alpha1PriorityClassOK
func NewPatchSchedulingV1alpha1PriorityClassOK ¶
func NewPatchSchedulingV1alpha1PriorityClassOK() *PatchSchedulingV1alpha1PriorityClassOK
NewPatchSchedulingV1alpha1PriorityClassOK creates PatchSchedulingV1alpha1PriorityClassOK with default headers values
func (*PatchSchedulingV1alpha1PriorityClassOK) SetPayload ¶
func (o *PatchSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
SetPayload sets the payload to the patch scheduling v1alpha1 priority class o k response
func (*PatchSchedulingV1alpha1PriorityClassOK) WithPayload ¶
func (o *PatchSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *PatchSchedulingV1alpha1PriorityClassOK
WithPayload adds the payload to the patch scheduling v1alpha1 priority class o k response
func (*PatchSchedulingV1alpha1PriorityClassOK) WriteResponse ¶
func (o *PatchSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchSchedulingV1alpha1PriorityClassParams ¶
type PatchSchedulingV1alpha1PriorityClassParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body models.IoK8sApimachineryPkgApisMetaV1Patch /*When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed Unique: true In: query */ DryRun *string /*fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). Unique: true In: query */ FieldManager *string /*Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. Unique: true In: query */ Force *bool /*name of the PriorityClass Required: true Unique: true In: path */ Name string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string }
PatchSchedulingV1alpha1PriorityClassParams contains all the bound params for the patch scheduling v1alpha1 priority class operation typically these are obtained from a http.Request
swagger:parameters patchSchedulingV1alpha1PriorityClass
func NewPatchSchedulingV1alpha1PriorityClassParams ¶
func NewPatchSchedulingV1alpha1PriorityClassParams() PatchSchedulingV1alpha1PriorityClassParams
NewPatchSchedulingV1alpha1PriorityClassParams creates a new PatchSchedulingV1alpha1PriorityClassParams object no default values defined in spec.
func (*PatchSchedulingV1alpha1PriorityClassParams) BindRequest ¶
func (o *PatchSchedulingV1alpha1PriorityClassParams) 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 NewPatchSchedulingV1alpha1PriorityClassParams() beforehand.
type PatchSchedulingV1alpha1PriorityClassUnauthorized ¶
type PatchSchedulingV1alpha1PriorityClassUnauthorized struct { }
PatchSchedulingV1alpha1PriorityClassUnauthorized Unauthorized
swagger:response patchSchedulingV1alpha1PriorityClassUnauthorized
func NewPatchSchedulingV1alpha1PriorityClassUnauthorized ¶
func NewPatchSchedulingV1alpha1PriorityClassUnauthorized() *PatchSchedulingV1alpha1PriorityClassUnauthorized
NewPatchSchedulingV1alpha1PriorityClassUnauthorized creates PatchSchedulingV1alpha1PriorityClassUnauthorized with default headers values
func (*PatchSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse ¶
func (o *PatchSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadSchedulingV1alpha1PriorityClass ¶
type ReadSchedulingV1alpha1PriorityClass struct { Context *middleware.Context Handler ReadSchedulingV1alpha1PriorityClassHandler }
ReadSchedulingV1alpha1PriorityClass swagger:route GET /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} scheduling_v1alpha1 readSchedulingV1alpha1PriorityClass
read the specified PriorityClass
func NewReadSchedulingV1alpha1PriorityClass ¶
func NewReadSchedulingV1alpha1PriorityClass(ctx *middleware.Context, handler ReadSchedulingV1alpha1PriorityClassHandler) *ReadSchedulingV1alpha1PriorityClass
NewReadSchedulingV1alpha1PriorityClass creates a new http.Handler for the read scheduling v1alpha1 priority class operation
func (*ReadSchedulingV1alpha1PriorityClass) ServeHTTP ¶
func (o *ReadSchedulingV1alpha1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReadSchedulingV1alpha1PriorityClassHandler ¶
type ReadSchedulingV1alpha1PriorityClassHandler interface {
Handle(ReadSchedulingV1alpha1PriorityClassParams) middleware.Responder
}
ReadSchedulingV1alpha1PriorityClassHandler interface for that can handle valid read scheduling v1alpha1 priority class params
type ReadSchedulingV1alpha1PriorityClassHandlerFunc ¶
type ReadSchedulingV1alpha1PriorityClassHandlerFunc func(ReadSchedulingV1alpha1PriorityClassParams) middleware.Responder
ReadSchedulingV1alpha1PriorityClassHandlerFunc turns a function with the right signature into a read scheduling v1alpha1 priority class handler
func (ReadSchedulingV1alpha1PriorityClassHandlerFunc) Handle ¶
func (fn ReadSchedulingV1alpha1PriorityClassHandlerFunc) Handle(params ReadSchedulingV1alpha1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type ReadSchedulingV1alpha1PriorityClassOK ¶
type ReadSchedulingV1alpha1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1alpha1PriorityClass `json:"body,omitempty"` }
ReadSchedulingV1alpha1PriorityClassOK OK
swagger:response readSchedulingV1alpha1PriorityClassOK
func NewReadSchedulingV1alpha1PriorityClassOK ¶
func NewReadSchedulingV1alpha1PriorityClassOK() *ReadSchedulingV1alpha1PriorityClassOK
NewReadSchedulingV1alpha1PriorityClassOK creates ReadSchedulingV1alpha1PriorityClassOK with default headers values
func (*ReadSchedulingV1alpha1PriorityClassOK) SetPayload ¶
func (o *ReadSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
SetPayload sets the payload to the read scheduling v1alpha1 priority class o k response
func (*ReadSchedulingV1alpha1PriorityClassOK) WithPayload ¶
func (o *ReadSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *ReadSchedulingV1alpha1PriorityClassOK
WithPayload adds the payload to the read scheduling v1alpha1 priority class o k response
func (*ReadSchedulingV1alpha1PriorityClassOK) WriteResponse ¶
func (o *ReadSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadSchedulingV1alpha1PriorityClassParams ¶
type ReadSchedulingV1alpha1PriorityClassParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. Unique: true In: query */ Exact *bool /*Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. Unique: true In: query */ Export *bool /*name of the PriorityClass Required: true Unique: true In: path */ Name string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string }
ReadSchedulingV1alpha1PriorityClassParams contains all the bound params for the read scheduling v1alpha1 priority class operation typically these are obtained from a http.Request
swagger:parameters readSchedulingV1alpha1PriorityClass
func NewReadSchedulingV1alpha1PriorityClassParams ¶
func NewReadSchedulingV1alpha1PriorityClassParams() ReadSchedulingV1alpha1PriorityClassParams
NewReadSchedulingV1alpha1PriorityClassParams creates a new ReadSchedulingV1alpha1PriorityClassParams object no default values defined in spec.
func (*ReadSchedulingV1alpha1PriorityClassParams) BindRequest ¶
func (o *ReadSchedulingV1alpha1PriorityClassParams) 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 NewReadSchedulingV1alpha1PriorityClassParams() beforehand.
type ReadSchedulingV1alpha1PriorityClassUnauthorized ¶
type ReadSchedulingV1alpha1PriorityClassUnauthorized struct { }
ReadSchedulingV1alpha1PriorityClassUnauthorized Unauthorized
swagger:response readSchedulingV1alpha1PriorityClassUnauthorized
func NewReadSchedulingV1alpha1PriorityClassUnauthorized ¶
func NewReadSchedulingV1alpha1PriorityClassUnauthorized() *ReadSchedulingV1alpha1PriorityClassUnauthorized
NewReadSchedulingV1alpha1PriorityClassUnauthorized creates ReadSchedulingV1alpha1PriorityClassUnauthorized with default headers values
func (*ReadSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse ¶
func (o *ReadSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceSchedulingV1alpha1PriorityClass ¶
type ReplaceSchedulingV1alpha1PriorityClass struct { Context *middleware.Context Handler ReplaceSchedulingV1alpha1PriorityClassHandler }
ReplaceSchedulingV1alpha1PriorityClass swagger:route PUT /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} scheduling_v1alpha1 replaceSchedulingV1alpha1PriorityClass
replace the specified PriorityClass
func NewReplaceSchedulingV1alpha1PriorityClass ¶
func NewReplaceSchedulingV1alpha1PriorityClass(ctx *middleware.Context, handler ReplaceSchedulingV1alpha1PriorityClassHandler) *ReplaceSchedulingV1alpha1PriorityClass
NewReplaceSchedulingV1alpha1PriorityClass creates a new http.Handler for the replace scheduling v1alpha1 priority class operation
func (*ReplaceSchedulingV1alpha1PriorityClass) ServeHTTP ¶
func (o *ReplaceSchedulingV1alpha1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReplaceSchedulingV1alpha1PriorityClassCreated ¶
type ReplaceSchedulingV1alpha1PriorityClassCreated struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1alpha1PriorityClass `json:"body,omitempty"` }
ReplaceSchedulingV1alpha1PriorityClassCreated Created
swagger:response replaceSchedulingV1alpha1PriorityClassCreated
func NewReplaceSchedulingV1alpha1PriorityClassCreated ¶
func NewReplaceSchedulingV1alpha1PriorityClassCreated() *ReplaceSchedulingV1alpha1PriorityClassCreated
NewReplaceSchedulingV1alpha1PriorityClassCreated creates ReplaceSchedulingV1alpha1PriorityClassCreated with default headers values
func (*ReplaceSchedulingV1alpha1PriorityClassCreated) SetPayload ¶
func (o *ReplaceSchedulingV1alpha1PriorityClassCreated) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
SetPayload sets the payload to the replace scheduling v1alpha1 priority class created response
func (*ReplaceSchedulingV1alpha1PriorityClassCreated) WithPayload ¶
func (o *ReplaceSchedulingV1alpha1PriorityClassCreated) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *ReplaceSchedulingV1alpha1PriorityClassCreated
WithPayload adds the payload to the replace scheduling v1alpha1 priority class created response
func (*ReplaceSchedulingV1alpha1PriorityClassCreated) WriteResponse ¶
func (o *ReplaceSchedulingV1alpha1PriorityClassCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceSchedulingV1alpha1PriorityClassHandler ¶
type ReplaceSchedulingV1alpha1PriorityClassHandler interface {
Handle(ReplaceSchedulingV1alpha1PriorityClassParams) middleware.Responder
}
ReplaceSchedulingV1alpha1PriorityClassHandler interface for that can handle valid replace scheduling v1alpha1 priority class params
type ReplaceSchedulingV1alpha1PriorityClassHandlerFunc ¶
type ReplaceSchedulingV1alpha1PriorityClassHandlerFunc func(ReplaceSchedulingV1alpha1PriorityClassParams) middleware.Responder
ReplaceSchedulingV1alpha1PriorityClassHandlerFunc turns a function with the right signature into a replace scheduling v1alpha1 priority class handler
func (ReplaceSchedulingV1alpha1PriorityClassHandlerFunc) Handle ¶
func (fn ReplaceSchedulingV1alpha1PriorityClassHandlerFunc) Handle(params ReplaceSchedulingV1alpha1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type ReplaceSchedulingV1alpha1PriorityClassOK ¶
type ReplaceSchedulingV1alpha1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1alpha1PriorityClass `json:"body,omitempty"` }
ReplaceSchedulingV1alpha1PriorityClassOK OK
swagger:response replaceSchedulingV1alpha1PriorityClassOK
func NewReplaceSchedulingV1alpha1PriorityClassOK ¶
func NewReplaceSchedulingV1alpha1PriorityClassOK() *ReplaceSchedulingV1alpha1PriorityClassOK
NewReplaceSchedulingV1alpha1PriorityClassOK creates ReplaceSchedulingV1alpha1PriorityClassOK with default headers values
func (*ReplaceSchedulingV1alpha1PriorityClassOK) SetPayload ¶
func (o *ReplaceSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass)
SetPayload sets the payload to the replace scheduling v1alpha1 priority class o k response
func (*ReplaceSchedulingV1alpha1PriorityClassOK) WithPayload ¶
func (o *ReplaceSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1alpha1PriorityClass) *ReplaceSchedulingV1alpha1PriorityClassOK
WithPayload adds the payload to the replace scheduling v1alpha1 priority class o k response
func (*ReplaceSchedulingV1alpha1PriorityClassOK) WriteResponse ¶
func (o *ReplaceSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceSchedulingV1alpha1PriorityClassParams ¶
type ReplaceSchedulingV1alpha1PriorityClassParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sAPISchedulingV1alpha1PriorityClass /*When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed Unique: true In: query */ DryRun *string /*fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. Unique: true In: query */ FieldManager *string /*name of the PriorityClass Required: true Unique: true In: path */ Name string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string }
ReplaceSchedulingV1alpha1PriorityClassParams contains all the bound params for the replace scheduling v1alpha1 priority class operation typically these are obtained from a http.Request
swagger:parameters replaceSchedulingV1alpha1PriorityClass
func NewReplaceSchedulingV1alpha1PriorityClassParams ¶
func NewReplaceSchedulingV1alpha1PriorityClassParams() ReplaceSchedulingV1alpha1PriorityClassParams
NewReplaceSchedulingV1alpha1PriorityClassParams creates a new ReplaceSchedulingV1alpha1PriorityClassParams object no default values defined in spec.
func (*ReplaceSchedulingV1alpha1PriorityClassParams) BindRequest ¶
func (o *ReplaceSchedulingV1alpha1PriorityClassParams) 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 NewReplaceSchedulingV1alpha1PriorityClassParams() beforehand.
type ReplaceSchedulingV1alpha1PriorityClassUnauthorized ¶
type ReplaceSchedulingV1alpha1PriorityClassUnauthorized struct { }
ReplaceSchedulingV1alpha1PriorityClassUnauthorized Unauthorized
swagger:response replaceSchedulingV1alpha1PriorityClassUnauthorized
func NewReplaceSchedulingV1alpha1PriorityClassUnauthorized ¶
func NewReplaceSchedulingV1alpha1PriorityClassUnauthorized() *ReplaceSchedulingV1alpha1PriorityClassUnauthorized
NewReplaceSchedulingV1alpha1PriorityClassUnauthorized creates ReplaceSchedulingV1alpha1PriorityClassUnauthorized with default headers values
func (*ReplaceSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse ¶
func (o *ReplaceSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSchedulingV1alpha1PriorityClass ¶
type WatchSchedulingV1alpha1PriorityClass struct { Context *middleware.Context Handler WatchSchedulingV1alpha1PriorityClassHandler }
WatchSchedulingV1alpha1PriorityClass swagger:route GET /apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name} scheduling_v1alpha1 watchSchedulingV1alpha1PriorityClass
watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
func NewWatchSchedulingV1alpha1PriorityClass ¶
func NewWatchSchedulingV1alpha1PriorityClass(ctx *middleware.Context, handler WatchSchedulingV1alpha1PriorityClassHandler) *WatchSchedulingV1alpha1PriorityClass
NewWatchSchedulingV1alpha1PriorityClass creates a new http.Handler for the watch scheduling v1alpha1 priority class operation
func (*WatchSchedulingV1alpha1PriorityClass) ServeHTTP ¶
func (o *WatchSchedulingV1alpha1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchSchedulingV1alpha1PriorityClassHandler ¶
type WatchSchedulingV1alpha1PriorityClassHandler interface {
Handle(WatchSchedulingV1alpha1PriorityClassParams) middleware.Responder
}
WatchSchedulingV1alpha1PriorityClassHandler interface for that can handle valid watch scheduling v1alpha1 priority class params
type WatchSchedulingV1alpha1PriorityClassHandlerFunc ¶
type WatchSchedulingV1alpha1PriorityClassHandlerFunc func(WatchSchedulingV1alpha1PriorityClassParams) middleware.Responder
WatchSchedulingV1alpha1PriorityClassHandlerFunc turns a function with the right signature into a watch scheduling v1alpha1 priority class handler
func (WatchSchedulingV1alpha1PriorityClassHandlerFunc) Handle ¶
func (fn WatchSchedulingV1alpha1PriorityClassHandlerFunc) Handle(params WatchSchedulingV1alpha1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type WatchSchedulingV1alpha1PriorityClassList ¶
type WatchSchedulingV1alpha1PriorityClassList struct { Context *middleware.Context Handler WatchSchedulingV1alpha1PriorityClassListHandler }
WatchSchedulingV1alpha1PriorityClassList swagger:route GET /apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses scheduling_v1alpha1 watchSchedulingV1alpha1PriorityClassList
watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.
func NewWatchSchedulingV1alpha1PriorityClassList ¶
func NewWatchSchedulingV1alpha1PriorityClassList(ctx *middleware.Context, handler WatchSchedulingV1alpha1PriorityClassListHandler) *WatchSchedulingV1alpha1PriorityClassList
NewWatchSchedulingV1alpha1PriorityClassList creates a new http.Handler for the watch scheduling v1alpha1 priority class list operation
func (*WatchSchedulingV1alpha1PriorityClassList) ServeHTTP ¶
func (o *WatchSchedulingV1alpha1PriorityClassList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchSchedulingV1alpha1PriorityClassListHandler ¶
type WatchSchedulingV1alpha1PriorityClassListHandler interface {
Handle(WatchSchedulingV1alpha1PriorityClassListParams) middleware.Responder
}
WatchSchedulingV1alpha1PriorityClassListHandler interface for that can handle valid watch scheduling v1alpha1 priority class list params
type WatchSchedulingV1alpha1PriorityClassListHandlerFunc ¶
type WatchSchedulingV1alpha1PriorityClassListHandlerFunc func(WatchSchedulingV1alpha1PriorityClassListParams) middleware.Responder
WatchSchedulingV1alpha1PriorityClassListHandlerFunc turns a function with the right signature into a watch scheduling v1alpha1 priority class list handler
func (WatchSchedulingV1alpha1PriorityClassListHandlerFunc) Handle ¶
func (fn WatchSchedulingV1alpha1PriorityClassListHandlerFunc) Handle(params WatchSchedulingV1alpha1PriorityClassListParams) middleware.Responder
Handle executing the request and returning a response
type WatchSchedulingV1alpha1PriorityClassListOK ¶
type WatchSchedulingV1alpha1PriorityClassListOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchSchedulingV1alpha1PriorityClassListOK OK
swagger:response watchSchedulingV1alpha1PriorityClassListOK
func NewWatchSchedulingV1alpha1PriorityClassListOK ¶
func NewWatchSchedulingV1alpha1PriorityClassListOK() *WatchSchedulingV1alpha1PriorityClassListOK
NewWatchSchedulingV1alpha1PriorityClassListOK creates WatchSchedulingV1alpha1PriorityClassListOK with default headers values
func (*WatchSchedulingV1alpha1PriorityClassListOK) SetPayload ¶
func (o *WatchSchedulingV1alpha1PriorityClassListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch scheduling v1alpha1 priority class list o k response
func (*WatchSchedulingV1alpha1PriorityClassListOK) WithPayload ¶
func (o *WatchSchedulingV1alpha1PriorityClassListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSchedulingV1alpha1PriorityClassListOK
WithPayload adds the payload to the watch scheduling v1alpha1 priority class list o k response
func (*WatchSchedulingV1alpha1PriorityClassListOK) WriteResponse ¶
func (o *WatchSchedulingV1alpha1PriorityClassListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSchedulingV1alpha1PriorityClassListParams ¶
type WatchSchedulingV1alpha1PriorityClassListParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. Unique: true In: query */ AllowWatchBookmarks *bool /*The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. Unique: true In: query */ Continue *string /*A selector to restrict the list of returned objects by their fields. Defaults to everything. Unique: true In: query */ FieldSelector *string /*A selector to restrict the list of returned objects by their labels. Defaults to everything. Unique: true In: query */ LabelSelector *string /*limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. Unique: true In: query */ Limit *int64 /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string /*resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersion *string /*resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersionMatch *string /*Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Unique: true In: query */ TimeoutSeconds *int64 /*Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. Unique: true In: query */ Watch *bool }
WatchSchedulingV1alpha1PriorityClassListParams contains all the bound params for the watch scheduling v1alpha1 priority class list operation typically these are obtained from a http.Request
swagger:parameters watchSchedulingV1alpha1PriorityClassList
func NewWatchSchedulingV1alpha1PriorityClassListParams ¶
func NewWatchSchedulingV1alpha1PriorityClassListParams() WatchSchedulingV1alpha1PriorityClassListParams
NewWatchSchedulingV1alpha1PriorityClassListParams creates a new WatchSchedulingV1alpha1PriorityClassListParams object no default values defined in spec.
func (*WatchSchedulingV1alpha1PriorityClassListParams) BindRequest ¶
func (o *WatchSchedulingV1alpha1PriorityClassListParams) 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 NewWatchSchedulingV1alpha1PriorityClassListParams() beforehand.
type WatchSchedulingV1alpha1PriorityClassListUnauthorized ¶
type WatchSchedulingV1alpha1PriorityClassListUnauthorized struct { }
WatchSchedulingV1alpha1PriorityClassListUnauthorized Unauthorized
swagger:response watchSchedulingV1alpha1PriorityClassListUnauthorized
func NewWatchSchedulingV1alpha1PriorityClassListUnauthorized ¶
func NewWatchSchedulingV1alpha1PriorityClassListUnauthorized() *WatchSchedulingV1alpha1PriorityClassListUnauthorized
NewWatchSchedulingV1alpha1PriorityClassListUnauthorized creates WatchSchedulingV1alpha1PriorityClassListUnauthorized with default headers values
func (*WatchSchedulingV1alpha1PriorityClassListUnauthorized) WriteResponse ¶
func (o *WatchSchedulingV1alpha1PriorityClassListUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSchedulingV1alpha1PriorityClassOK ¶
type WatchSchedulingV1alpha1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchSchedulingV1alpha1PriorityClassOK OK
swagger:response watchSchedulingV1alpha1PriorityClassOK
func NewWatchSchedulingV1alpha1PriorityClassOK ¶
func NewWatchSchedulingV1alpha1PriorityClassOK() *WatchSchedulingV1alpha1PriorityClassOK
NewWatchSchedulingV1alpha1PriorityClassOK creates WatchSchedulingV1alpha1PriorityClassOK with default headers values
func (*WatchSchedulingV1alpha1PriorityClassOK) SetPayload ¶
func (o *WatchSchedulingV1alpha1PriorityClassOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch scheduling v1alpha1 priority class o k response
func (*WatchSchedulingV1alpha1PriorityClassOK) WithPayload ¶
func (o *WatchSchedulingV1alpha1PriorityClassOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSchedulingV1alpha1PriorityClassOK
WithPayload adds the payload to the watch scheduling v1alpha1 priority class o k response
func (*WatchSchedulingV1alpha1PriorityClassOK) WriteResponse ¶
func (o *WatchSchedulingV1alpha1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSchedulingV1alpha1PriorityClassParams ¶
type WatchSchedulingV1alpha1PriorityClassParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. Unique: true In: query */ AllowWatchBookmarks *bool /*The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. Unique: true In: query */ Continue *string /*A selector to restrict the list of returned objects by their fields. Defaults to everything. Unique: true In: query */ FieldSelector *string /*A selector to restrict the list of returned objects by their labels. Defaults to everything. Unique: true In: query */ LabelSelector *string /*limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. Unique: true In: query */ Limit *int64 /*name of the PriorityClass Required: true Unique: true In: path */ Name string /*If 'true', then the output is pretty printed. Unique: true In: query */ Pretty *string /*resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersion *string /*resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset Unique: true In: query */ ResourceVersionMatch *string /*Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Unique: true In: query */ TimeoutSeconds *int64 /*Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. Unique: true In: query */ Watch *bool }
WatchSchedulingV1alpha1PriorityClassParams contains all the bound params for the watch scheduling v1alpha1 priority class operation typically these are obtained from a http.Request
swagger:parameters watchSchedulingV1alpha1PriorityClass
func NewWatchSchedulingV1alpha1PriorityClassParams ¶
func NewWatchSchedulingV1alpha1PriorityClassParams() WatchSchedulingV1alpha1PriorityClassParams
NewWatchSchedulingV1alpha1PriorityClassParams creates a new WatchSchedulingV1alpha1PriorityClassParams object no default values defined in spec.
func (*WatchSchedulingV1alpha1PriorityClassParams) BindRequest ¶
func (o *WatchSchedulingV1alpha1PriorityClassParams) 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 NewWatchSchedulingV1alpha1PriorityClassParams() beforehand.
type WatchSchedulingV1alpha1PriorityClassUnauthorized ¶
type WatchSchedulingV1alpha1PriorityClassUnauthorized struct { }
WatchSchedulingV1alpha1PriorityClassUnauthorized Unauthorized
swagger:response watchSchedulingV1alpha1PriorityClassUnauthorized
func NewWatchSchedulingV1alpha1PriorityClassUnauthorized ¶
func NewWatchSchedulingV1alpha1PriorityClassUnauthorized() *WatchSchedulingV1alpha1PriorityClassUnauthorized
NewWatchSchedulingV1alpha1PriorityClassUnauthorized creates WatchSchedulingV1alpha1PriorityClassUnauthorized with default headers values
func (*WatchSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse ¶
func (o *WatchSchedulingV1alpha1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_scheduling_v1alpha1_priority_class.go
- create_scheduling_v1alpha1_priority_class_parameters.go
- create_scheduling_v1alpha1_priority_class_responses.go
- delete_scheduling_v1alpha1_collection_priority_class.go
- delete_scheduling_v1alpha1_collection_priority_class_parameters.go
- delete_scheduling_v1alpha1_collection_priority_class_responses.go
- delete_scheduling_v1alpha1_priority_class.go
- delete_scheduling_v1alpha1_priority_class_parameters.go
- delete_scheduling_v1alpha1_priority_class_responses.go
- get_scheduling_v1alpha1_api_resources.go
- get_scheduling_v1alpha1_api_resources_parameters.go
- get_scheduling_v1alpha1_api_resources_responses.go
- list_scheduling_v1alpha1_priority_class.go
- list_scheduling_v1alpha1_priority_class_parameters.go
- list_scheduling_v1alpha1_priority_class_responses.go
- patch_scheduling_v1alpha1_priority_class.go
- patch_scheduling_v1alpha1_priority_class_parameters.go
- patch_scheduling_v1alpha1_priority_class_responses.go
- read_scheduling_v1alpha1_priority_class.go
- read_scheduling_v1alpha1_priority_class_parameters.go
- read_scheduling_v1alpha1_priority_class_responses.go
- replace_scheduling_v1alpha1_priority_class.go
- replace_scheduling_v1alpha1_priority_class_parameters.go
- replace_scheduling_v1alpha1_priority_class_responses.go
- watch_scheduling_v1alpha1_priority_class.go
- watch_scheduling_v1alpha1_priority_class_list.go
- watch_scheduling_v1alpha1_priority_class_list_parameters.go
- watch_scheduling_v1alpha1_priority_class_list_responses.go
- watch_scheduling_v1alpha1_priority_class_parameters.go
- watch_scheduling_v1alpha1_priority_class_responses.go