Documentation
¶
Index ¶
- Constants
- type CreateSchedulingV1PriorityClass
- type CreateSchedulingV1PriorityClassAccepted
- func (o *CreateSchedulingV1PriorityClassAccepted) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
- func (o *CreateSchedulingV1PriorityClassAccepted) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *CreateSchedulingV1PriorityClassAccepted
- func (o *CreateSchedulingV1PriorityClassAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateSchedulingV1PriorityClassCreated
- func (o *CreateSchedulingV1PriorityClassCreated) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
- func (o *CreateSchedulingV1PriorityClassCreated) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *CreateSchedulingV1PriorityClassCreated
- func (o *CreateSchedulingV1PriorityClassCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateSchedulingV1PriorityClassHandler
- type CreateSchedulingV1PriorityClassHandlerFunc
- type CreateSchedulingV1PriorityClassOK
- func (o *CreateSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
- func (o *CreateSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *CreateSchedulingV1PriorityClassOK
- func (o *CreateSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateSchedulingV1PriorityClassParams
- type CreateSchedulingV1PriorityClassUnauthorized
- type DeleteSchedulingV1CollectionPriorityClass
- type DeleteSchedulingV1CollectionPriorityClassHandler
- type DeleteSchedulingV1CollectionPriorityClassHandlerFunc
- type DeleteSchedulingV1CollectionPriorityClassOK
- func (o *DeleteSchedulingV1CollectionPriorityClassOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteSchedulingV1CollectionPriorityClassOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSchedulingV1CollectionPriorityClassOK
- func (o *DeleteSchedulingV1CollectionPriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteSchedulingV1CollectionPriorityClassParams
- type DeleteSchedulingV1CollectionPriorityClassUnauthorized
- type DeleteSchedulingV1PriorityClass
- type DeleteSchedulingV1PriorityClassAccepted
- func (o *DeleteSchedulingV1PriorityClassAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteSchedulingV1PriorityClassAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSchedulingV1PriorityClassAccepted
- func (o *DeleteSchedulingV1PriorityClassAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteSchedulingV1PriorityClassHandler
- type DeleteSchedulingV1PriorityClassHandlerFunc
- type DeleteSchedulingV1PriorityClassOK
- func (o *DeleteSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSchedulingV1PriorityClassOK
- func (o *DeleteSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteSchedulingV1PriorityClassParams
- type DeleteSchedulingV1PriorityClassUnauthorized
- type GetSchedulingV1APIResources
- type GetSchedulingV1APIResourcesHandler
- type GetSchedulingV1APIResourcesHandlerFunc
- type GetSchedulingV1APIResourcesOK
- func (o *GetSchedulingV1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
- func (o *GetSchedulingV1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetSchedulingV1APIResourcesOK
- func (o *GetSchedulingV1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSchedulingV1APIResourcesParams
- type GetSchedulingV1APIResourcesUnauthorized
- type ListSchedulingV1PriorityClass
- type ListSchedulingV1PriorityClassHandler
- type ListSchedulingV1PriorityClassHandlerFunc
- type ListSchedulingV1PriorityClassOK
- func (o *ListSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClassList)
- func (o *ListSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClassList) *ListSchedulingV1PriorityClassOK
- func (o *ListSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListSchedulingV1PriorityClassParams
- type ListSchedulingV1PriorityClassUnauthorized
- type PatchSchedulingV1PriorityClass
- type PatchSchedulingV1PriorityClassHandler
- type PatchSchedulingV1PriorityClassHandlerFunc
- type PatchSchedulingV1PriorityClassOK
- func (o *PatchSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
- func (o *PatchSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *PatchSchedulingV1PriorityClassOK
- func (o *PatchSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchSchedulingV1PriorityClassParams
- type PatchSchedulingV1PriorityClassUnauthorized
- type ReadSchedulingV1PriorityClass
- type ReadSchedulingV1PriorityClassHandler
- type ReadSchedulingV1PriorityClassHandlerFunc
- type ReadSchedulingV1PriorityClassOK
- func (o *ReadSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
- func (o *ReadSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *ReadSchedulingV1PriorityClassOK
- func (o *ReadSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReadSchedulingV1PriorityClassParams
- type ReadSchedulingV1PriorityClassUnauthorized
- type ReplaceSchedulingV1PriorityClass
- type ReplaceSchedulingV1PriorityClassCreated
- func (o *ReplaceSchedulingV1PriorityClassCreated) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
- func (o *ReplaceSchedulingV1PriorityClassCreated) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *ReplaceSchedulingV1PriorityClassCreated
- func (o *ReplaceSchedulingV1PriorityClassCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceSchedulingV1PriorityClassHandler
- type ReplaceSchedulingV1PriorityClassHandlerFunc
- type ReplaceSchedulingV1PriorityClassOK
- func (o *ReplaceSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
- func (o *ReplaceSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *ReplaceSchedulingV1PriorityClassOK
- func (o *ReplaceSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceSchedulingV1PriorityClassParams
- type ReplaceSchedulingV1PriorityClassUnauthorized
- type WatchSchedulingV1PriorityClass
- type WatchSchedulingV1PriorityClassHandler
- type WatchSchedulingV1PriorityClassHandlerFunc
- type WatchSchedulingV1PriorityClassList
- type WatchSchedulingV1PriorityClassListHandler
- type WatchSchedulingV1PriorityClassListHandlerFunc
- type WatchSchedulingV1PriorityClassListOK
- func (o *WatchSchedulingV1PriorityClassListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchSchedulingV1PriorityClassListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSchedulingV1PriorityClassListOK
- func (o *WatchSchedulingV1PriorityClassListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchSchedulingV1PriorityClassListParams
- type WatchSchedulingV1PriorityClassListUnauthorized
- type WatchSchedulingV1PriorityClassOK
- func (o *WatchSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSchedulingV1PriorityClassOK
- func (o *WatchSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchSchedulingV1PriorityClassParams
- type WatchSchedulingV1PriorityClassUnauthorized
Constants ¶
const CreateSchedulingV1PriorityClassAcceptedCode int = 202
CreateSchedulingV1PriorityClassAcceptedCode is the HTTP code returned for type CreateSchedulingV1PriorityClassAccepted
const CreateSchedulingV1PriorityClassCreatedCode int = 201
CreateSchedulingV1PriorityClassCreatedCode is the HTTP code returned for type CreateSchedulingV1PriorityClassCreated
const CreateSchedulingV1PriorityClassOKCode int = 200
CreateSchedulingV1PriorityClassOKCode is the HTTP code returned for type CreateSchedulingV1PriorityClassOK
CreateSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type CreateSchedulingV1PriorityClassUnauthorized
const DeleteSchedulingV1CollectionPriorityClassOKCode int = 200
DeleteSchedulingV1CollectionPriorityClassOKCode is the HTTP code returned for type DeleteSchedulingV1CollectionPriorityClassOK
DeleteSchedulingV1CollectionPriorityClassUnauthorizedCode is the HTTP code returned for type DeleteSchedulingV1CollectionPriorityClassUnauthorized
const DeleteSchedulingV1PriorityClassAcceptedCode int = 202
DeleteSchedulingV1PriorityClassAcceptedCode is the HTTP code returned for type DeleteSchedulingV1PriorityClassAccepted
const DeleteSchedulingV1PriorityClassOKCode int = 200
DeleteSchedulingV1PriorityClassOKCode is the HTTP code returned for type DeleteSchedulingV1PriorityClassOK
DeleteSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type DeleteSchedulingV1PriorityClassUnauthorized
const GetSchedulingV1APIResourcesOKCode int = 200
GetSchedulingV1APIResourcesOKCode is the HTTP code returned for type GetSchedulingV1APIResourcesOK
GetSchedulingV1APIResourcesUnauthorizedCode is the HTTP code returned for type GetSchedulingV1APIResourcesUnauthorized
const ListSchedulingV1PriorityClassOKCode int = 200
ListSchedulingV1PriorityClassOKCode is the HTTP code returned for type ListSchedulingV1PriorityClassOK
ListSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type ListSchedulingV1PriorityClassUnauthorized
const PatchSchedulingV1PriorityClassOKCode int = 200
PatchSchedulingV1PriorityClassOKCode is the HTTP code returned for type PatchSchedulingV1PriorityClassOK
PatchSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type PatchSchedulingV1PriorityClassUnauthorized
const ReadSchedulingV1PriorityClassOKCode int = 200
ReadSchedulingV1PriorityClassOKCode is the HTTP code returned for type ReadSchedulingV1PriorityClassOK
ReadSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type ReadSchedulingV1PriorityClassUnauthorized
const ReplaceSchedulingV1PriorityClassCreatedCode int = 201
ReplaceSchedulingV1PriorityClassCreatedCode is the HTTP code returned for type ReplaceSchedulingV1PriorityClassCreated
const ReplaceSchedulingV1PriorityClassOKCode int = 200
ReplaceSchedulingV1PriorityClassOKCode is the HTTP code returned for type ReplaceSchedulingV1PriorityClassOK
ReplaceSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type ReplaceSchedulingV1PriorityClassUnauthorized
const WatchSchedulingV1PriorityClassListOKCode int = 200
WatchSchedulingV1PriorityClassListOKCode is the HTTP code returned for type WatchSchedulingV1PriorityClassListOK
WatchSchedulingV1PriorityClassListUnauthorizedCode is the HTTP code returned for type WatchSchedulingV1PriorityClassListUnauthorized
const WatchSchedulingV1PriorityClassOKCode int = 200
WatchSchedulingV1PriorityClassOKCode is the HTTP code returned for type WatchSchedulingV1PriorityClassOK
WatchSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type WatchSchedulingV1PriorityClassUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSchedulingV1PriorityClass ¶
type CreateSchedulingV1PriorityClass struct { Context *middleware.Context Handler CreateSchedulingV1PriorityClassHandler }
CreateSchedulingV1PriorityClass swagger:route POST /apis/scheduling.k8s.io/v1/priorityclasses scheduling_v1 createSchedulingV1PriorityClass
create a PriorityClass
func NewCreateSchedulingV1PriorityClass ¶
func NewCreateSchedulingV1PriorityClass(ctx *middleware.Context, handler CreateSchedulingV1PriorityClassHandler) *CreateSchedulingV1PriorityClass
NewCreateSchedulingV1PriorityClass creates a new http.Handler for the create scheduling v1 priority class operation
func (*CreateSchedulingV1PriorityClass) ServeHTTP ¶
func (o *CreateSchedulingV1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateSchedulingV1PriorityClassAccepted ¶
type CreateSchedulingV1PriorityClassAccepted struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1PriorityClass `json:"body,omitempty"` }
CreateSchedulingV1PriorityClassAccepted Accepted
swagger:response createSchedulingV1PriorityClassAccepted
func NewCreateSchedulingV1PriorityClassAccepted ¶
func NewCreateSchedulingV1PriorityClassAccepted() *CreateSchedulingV1PriorityClassAccepted
NewCreateSchedulingV1PriorityClassAccepted creates CreateSchedulingV1PriorityClassAccepted with default headers values
func (*CreateSchedulingV1PriorityClassAccepted) SetPayload ¶
func (o *CreateSchedulingV1PriorityClassAccepted) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
SetPayload sets the payload to the create scheduling v1 priority class accepted response
func (*CreateSchedulingV1PriorityClassAccepted) WithPayload ¶
func (o *CreateSchedulingV1PriorityClassAccepted) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *CreateSchedulingV1PriorityClassAccepted
WithPayload adds the payload to the create scheduling v1 priority class accepted response
func (*CreateSchedulingV1PriorityClassAccepted) WriteResponse ¶
func (o *CreateSchedulingV1PriorityClassAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSchedulingV1PriorityClassCreated ¶
type CreateSchedulingV1PriorityClassCreated struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1PriorityClass `json:"body,omitempty"` }
CreateSchedulingV1PriorityClassCreated Created
swagger:response createSchedulingV1PriorityClassCreated
func NewCreateSchedulingV1PriorityClassCreated ¶
func NewCreateSchedulingV1PriorityClassCreated() *CreateSchedulingV1PriorityClassCreated
NewCreateSchedulingV1PriorityClassCreated creates CreateSchedulingV1PriorityClassCreated with default headers values
func (*CreateSchedulingV1PriorityClassCreated) SetPayload ¶
func (o *CreateSchedulingV1PriorityClassCreated) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
SetPayload sets the payload to the create scheduling v1 priority class created response
func (*CreateSchedulingV1PriorityClassCreated) WithPayload ¶
func (o *CreateSchedulingV1PriorityClassCreated) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *CreateSchedulingV1PriorityClassCreated
WithPayload adds the payload to the create scheduling v1 priority class created response
func (*CreateSchedulingV1PriorityClassCreated) WriteResponse ¶
func (o *CreateSchedulingV1PriorityClassCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSchedulingV1PriorityClassHandler ¶
type CreateSchedulingV1PriorityClassHandler interface {
Handle(CreateSchedulingV1PriorityClassParams) middleware.Responder
}
CreateSchedulingV1PriorityClassHandler interface for that can handle valid create scheduling v1 priority class params
type CreateSchedulingV1PriorityClassHandlerFunc ¶
type CreateSchedulingV1PriorityClassHandlerFunc func(CreateSchedulingV1PriorityClassParams) middleware.Responder
CreateSchedulingV1PriorityClassHandlerFunc turns a function with the right signature into a create scheduling v1 priority class handler
func (CreateSchedulingV1PriorityClassHandlerFunc) Handle ¶
func (fn CreateSchedulingV1PriorityClassHandlerFunc) Handle(params CreateSchedulingV1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type CreateSchedulingV1PriorityClassOK ¶
type CreateSchedulingV1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1PriorityClass `json:"body,omitempty"` }
CreateSchedulingV1PriorityClassOK OK
swagger:response createSchedulingV1PriorityClassOK
func NewCreateSchedulingV1PriorityClassOK ¶
func NewCreateSchedulingV1PriorityClassOK() *CreateSchedulingV1PriorityClassOK
NewCreateSchedulingV1PriorityClassOK creates CreateSchedulingV1PriorityClassOK with default headers values
func (*CreateSchedulingV1PriorityClassOK) SetPayload ¶
func (o *CreateSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
SetPayload sets the payload to the create scheduling v1 priority class o k response
func (*CreateSchedulingV1PriorityClassOK) WithPayload ¶
func (o *CreateSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *CreateSchedulingV1PriorityClassOK
WithPayload adds the payload to the create scheduling v1 priority class o k response
func (*CreateSchedulingV1PriorityClassOK) WriteResponse ¶
func (o *CreateSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSchedulingV1PriorityClassParams ¶
type CreateSchedulingV1PriorityClassParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sAPISchedulingV1PriorityClass /*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 }
CreateSchedulingV1PriorityClassParams contains all the bound params for the create scheduling v1 priority class operation typically these are obtained from a http.Request
swagger:parameters createSchedulingV1PriorityClass
func NewCreateSchedulingV1PriorityClassParams ¶
func NewCreateSchedulingV1PriorityClassParams() CreateSchedulingV1PriorityClassParams
NewCreateSchedulingV1PriorityClassParams creates a new CreateSchedulingV1PriorityClassParams object no default values defined in spec.
func (*CreateSchedulingV1PriorityClassParams) BindRequest ¶
func (o *CreateSchedulingV1PriorityClassParams) 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 NewCreateSchedulingV1PriorityClassParams() beforehand.
type CreateSchedulingV1PriorityClassUnauthorized ¶
type CreateSchedulingV1PriorityClassUnauthorized struct { }
CreateSchedulingV1PriorityClassUnauthorized Unauthorized
swagger:response createSchedulingV1PriorityClassUnauthorized
func NewCreateSchedulingV1PriorityClassUnauthorized ¶
func NewCreateSchedulingV1PriorityClassUnauthorized() *CreateSchedulingV1PriorityClassUnauthorized
NewCreateSchedulingV1PriorityClassUnauthorized creates CreateSchedulingV1PriorityClassUnauthorized with default headers values
func (*CreateSchedulingV1PriorityClassUnauthorized) WriteResponse ¶
func (o *CreateSchedulingV1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSchedulingV1CollectionPriorityClass ¶
type DeleteSchedulingV1CollectionPriorityClass struct { Context *middleware.Context Handler DeleteSchedulingV1CollectionPriorityClassHandler }
DeleteSchedulingV1CollectionPriorityClass swagger:route DELETE /apis/scheduling.k8s.io/v1/priorityclasses scheduling_v1 deleteSchedulingV1CollectionPriorityClass
delete collection of PriorityClass
func NewDeleteSchedulingV1CollectionPriorityClass ¶
func NewDeleteSchedulingV1CollectionPriorityClass(ctx *middleware.Context, handler DeleteSchedulingV1CollectionPriorityClassHandler) *DeleteSchedulingV1CollectionPriorityClass
NewDeleteSchedulingV1CollectionPriorityClass creates a new http.Handler for the delete scheduling v1 collection priority class operation
func (*DeleteSchedulingV1CollectionPriorityClass) ServeHTTP ¶
func (o *DeleteSchedulingV1CollectionPriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteSchedulingV1CollectionPriorityClassHandler ¶
type DeleteSchedulingV1CollectionPriorityClassHandler interface {
Handle(DeleteSchedulingV1CollectionPriorityClassParams) middleware.Responder
}
DeleteSchedulingV1CollectionPriorityClassHandler interface for that can handle valid delete scheduling v1 collection priority class params
type DeleteSchedulingV1CollectionPriorityClassHandlerFunc ¶
type DeleteSchedulingV1CollectionPriorityClassHandlerFunc func(DeleteSchedulingV1CollectionPriorityClassParams) middleware.Responder
DeleteSchedulingV1CollectionPriorityClassHandlerFunc turns a function with the right signature into a delete scheduling v1 collection priority class handler
func (DeleteSchedulingV1CollectionPriorityClassHandlerFunc) Handle ¶
func (fn DeleteSchedulingV1CollectionPriorityClassHandlerFunc) Handle(params DeleteSchedulingV1CollectionPriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type DeleteSchedulingV1CollectionPriorityClassOK ¶
type DeleteSchedulingV1CollectionPriorityClassOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteSchedulingV1CollectionPriorityClassOK OK
swagger:response deleteSchedulingV1CollectionPriorityClassOK
func NewDeleteSchedulingV1CollectionPriorityClassOK ¶
func NewDeleteSchedulingV1CollectionPriorityClassOK() *DeleteSchedulingV1CollectionPriorityClassOK
NewDeleteSchedulingV1CollectionPriorityClassOK creates DeleteSchedulingV1CollectionPriorityClassOK with default headers values
func (*DeleteSchedulingV1CollectionPriorityClassOK) SetPayload ¶
func (o *DeleteSchedulingV1CollectionPriorityClassOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete scheduling v1 collection priority class o k response
func (*DeleteSchedulingV1CollectionPriorityClassOK) WithPayload ¶
func (o *DeleteSchedulingV1CollectionPriorityClassOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSchedulingV1CollectionPriorityClassOK
WithPayload adds the payload to the delete scheduling v1 collection priority class o k response
func (*DeleteSchedulingV1CollectionPriorityClassOK) WriteResponse ¶
func (o *DeleteSchedulingV1CollectionPriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSchedulingV1CollectionPriorityClassParams ¶
type DeleteSchedulingV1CollectionPriorityClassParams 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 }
DeleteSchedulingV1CollectionPriorityClassParams contains all the bound params for the delete scheduling v1 collection priority class operation typically these are obtained from a http.Request
swagger:parameters deleteSchedulingV1CollectionPriorityClass
func NewDeleteSchedulingV1CollectionPriorityClassParams ¶
func NewDeleteSchedulingV1CollectionPriorityClassParams() DeleteSchedulingV1CollectionPriorityClassParams
NewDeleteSchedulingV1CollectionPriorityClassParams creates a new DeleteSchedulingV1CollectionPriorityClassParams object no default values defined in spec.
func (*DeleteSchedulingV1CollectionPriorityClassParams) BindRequest ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) 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 NewDeleteSchedulingV1CollectionPriorityClassParams() beforehand.
type DeleteSchedulingV1CollectionPriorityClassUnauthorized ¶
type DeleteSchedulingV1CollectionPriorityClassUnauthorized struct { }
DeleteSchedulingV1CollectionPriorityClassUnauthorized Unauthorized
swagger:response deleteSchedulingV1CollectionPriorityClassUnauthorized
func NewDeleteSchedulingV1CollectionPriorityClassUnauthorized ¶
func NewDeleteSchedulingV1CollectionPriorityClassUnauthorized() *DeleteSchedulingV1CollectionPriorityClassUnauthorized
NewDeleteSchedulingV1CollectionPriorityClassUnauthorized creates DeleteSchedulingV1CollectionPriorityClassUnauthorized with default headers values
func (*DeleteSchedulingV1CollectionPriorityClassUnauthorized) WriteResponse ¶
func (o *DeleteSchedulingV1CollectionPriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSchedulingV1PriorityClass ¶
type DeleteSchedulingV1PriorityClass struct { Context *middleware.Context Handler DeleteSchedulingV1PriorityClassHandler }
DeleteSchedulingV1PriorityClass swagger:route DELETE /apis/scheduling.k8s.io/v1/priorityclasses/{name} scheduling_v1 deleteSchedulingV1PriorityClass
delete a PriorityClass
func NewDeleteSchedulingV1PriorityClass ¶
func NewDeleteSchedulingV1PriorityClass(ctx *middleware.Context, handler DeleteSchedulingV1PriorityClassHandler) *DeleteSchedulingV1PriorityClass
NewDeleteSchedulingV1PriorityClass creates a new http.Handler for the delete scheduling v1 priority class operation
func (*DeleteSchedulingV1PriorityClass) ServeHTTP ¶
func (o *DeleteSchedulingV1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteSchedulingV1PriorityClassAccepted ¶
type DeleteSchedulingV1PriorityClassAccepted struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteSchedulingV1PriorityClassAccepted Accepted
swagger:response deleteSchedulingV1PriorityClassAccepted
func NewDeleteSchedulingV1PriorityClassAccepted ¶
func NewDeleteSchedulingV1PriorityClassAccepted() *DeleteSchedulingV1PriorityClassAccepted
NewDeleteSchedulingV1PriorityClassAccepted creates DeleteSchedulingV1PriorityClassAccepted with default headers values
func (*DeleteSchedulingV1PriorityClassAccepted) SetPayload ¶
func (o *DeleteSchedulingV1PriorityClassAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete scheduling v1 priority class accepted response
func (*DeleteSchedulingV1PriorityClassAccepted) WithPayload ¶
func (o *DeleteSchedulingV1PriorityClassAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSchedulingV1PriorityClassAccepted
WithPayload adds the payload to the delete scheduling v1 priority class accepted response
func (*DeleteSchedulingV1PriorityClassAccepted) WriteResponse ¶
func (o *DeleteSchedulingV1PriorityClassAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSchedulingV1PriorityClassHandler ¶
type DeleteSchedulingV1PriorityClassHandler interface {
Handle(DeleteSchedulingV1PriorityClassParams) middleware.Responder
}
DeleteSchedulingV1PriorityClassHandler interface for that can handle valid delete scheduling v1 priority class params
type DeleteSchedulingV1PriorityClassHandlerFunc ¶
type DeleteSchedulingV1PriorityClassHandlerFunc func(DeleteSchedulingV1PriorityClassParams) middleware.Responder
DeleteSchedulingV1PriorityClassHandlerFunc turns a function with the right signature into a delete scheduling v1 priority class handler
func (DeleteSchedulingV1PriorityClassHandlerFunc) Handle ¶
func (fn DeleteSchedulingV1PriorityClassHandlerFunc) Handle(params DeleteSchedulingV1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type DeleteSchedulingV1PriorityClassOK ¶
type DeleteSchedulingV1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteSchedulingV1PriorityClassOK OK
swagger:response deleteSchedulingV1PriorityClassOK
func NewDeleteSchedulingV1PriorityClassOK ¶
func NewDeleteSchedulingV1PriorityClassOK() *DeleteSchedulingV1PriorityClassOK
NewDeleteSchedulingV1PriorityClassOK creates DeleteSchedulingV1PriorityClassOK with default headers values
func (*DeleteSchedulingV1PriorityClassOK) SetPayload ¶
func (o *DeleteSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete scheduling v1 priority class o k response
func (*DeleteSchedulingV1PriorityClassOK) WithPayload ¶
func (o *DeleteSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSchedulingV1PriorityClassOK
WithPayload adds the payload to the delete scheduling v1 priority class o k response
func (*DeleteSchedulingV1PriorityClassOK) WriteResponse ¶
func (o *DeleteSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSchedulingV1PriorityClassParams ¶
type DeleteSchedulingV1PriorityClassParams 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 }
DeleteSchedulingV1PriorityClassParams contains all the bound params for the delete scheduling v1 priority class operation typically these are obtained from a http.Request
swagger:parameters deleteSchedulingV1PriorityClass
func NewDeleteSchedulingV1PriorityClassParams ¶
func NewDeleteSchedulingV1PriorityClassParams() DeleteSchedulingV1PriorityClassParams
NewDeleteSchedulingV1PriorityClassParams creates a new DeleteSchedulingV1PriorityClassParams object no default values defined in spec.
func (*DeleteSchedulingV1PriorityClassParams) BindRequest ¶
func (o *DeleteSchedulingV1PriorityClassParams) 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 NewDeleteSchedulingV1PriorityClassParams() beforehand.
type DeleteSchedulingV1PriorityClassUnauthorized ¶
type DeleteSchedulingV1PriorityClassUnauthorized struct { }
DeleteSchedulingV1PriorityClassUnauthorized Unauthorized
swagger:response deleteSchedulingV1PriorityClassUnauthorized
func NewDeleteSchedulingV1PriorityClassUnauthorized ¶
func NewDeleteSchedulingV1PriorityClassUnauthorized() *DeleteSchedulingV1PriorityClassUnauthorized
NewDeleteSchedulingV1PriorityClassUnauthorized creates DeleteSchedulingV1PriorityClassUnauthorized with default headers values
func (*DeleteSchedulingV1PriorityClassUnauthorized) WriteResponse ¶
func (o *DeleteSchedulingV1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSchedulingV1APIResources ¶
type GetSchedulingV1APIResources struct { Context *middleware.Context Handler GetSchedulingV1APIResourcesHandler }
GetSchedulingV1APIResources swagger:route GET /apis/scheduling.k8s.io/v1/ scheduling_v1 getSchedulingV1ApiResources
get available resources
func NewGetSchedulingV1APIResources ¶
func NewGetSchedulingV1APIResources(ctx *middleware.Context, handler GetSchedulingV1APIResourcesHandler) *GetSchedulingV1APIResources
NewGetSchedulingV1APIResources creates a new http.Handler for the get scheduling v1 API resources operation
func (*GetSchedulingV1APIResources) ServeHTTP ¶
func (o *GetSchedulingV1APIResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetSchedulingV1APIResourcesHandler ¶
type GetSchedulingV1APIResourcesHandler interface {
Handle(GetSchedulingV1APIResourcesParams) middleware.Responder
}
GetSchedulingV1APIResourcesHandler interface for that can handle valid get scheduling v1 API resources params
type GetSchedulingV1APIResourcesHandlerFunc ¶
type GetSchedulingV1APIResourcesHandlerFunc func(GetSchedulingV1APIResourcesParams) middleware.Responder
GetSchedulingV1APIResourcesHandlerFunc turns a function with the right signature into a get scheduling v1 API resources handler
func (GetSchedulingV1APIResourcesHandlerFunc) Handle ¶
func (fn GetSchedulingV1APIResourcesHandlerFunc) Handle(params GetSchedulingV1APIResourcesParams) middleware.Responder
Handle executing the request and returning a response
type GetSchedulingV1APIResourcesOK ¶
type GetSchedulingV1APIResourcesOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList `json:"body,omitempty"` }
GetSchedulingV1APIResourcesOK OK
swagger:response getSchedulingV1ApiResourcesOK
func NewGetSchedulingV1APIResourcesOK ¶
func NewGetSchedulingV1APIResourcesOK() *GetSchedulingV1APIResourcesOK
NewGetSchedulingV1APIResourcesOK creates GetSchedulingV1APIResourcesOK with default headers values
func (*GetSchedulingV1APIResourcesOK) SetPayload ¶
func (o *GetSchedulingV1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
SetPayload sets the payload to the get scheduling v1 Api resources o k response
func (*GetSchedulingV1APIResourcesOK) WithPayload ¶
func (o *GetSchedulingV1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetSchedulingV1APIResourcesOK
WithPayload adds the payload to the get scheduling v1 Api resources o k response
func (*GetSchedulingV1APIResourcesOK) WriteResponse ¶
func (o *GetSchedulingV1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSchedulingV1APIResourcesParams ¶
type GetSchedulingV1APIResourcesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetSchedulingV1APIResourcesParams contains all the bound params for the get scheduling v1 API resources operation typically these are obtained from a http.Request
swagger:parameters getSchedulingV1APIResources
func NewGetSchedulingV1APIResourcesParams ¶
func NewGetSchedulingV1APIResourcesParams() GetSchedulingV1APIResourcesParams
NewGetSchedulingV1APIResourcesParams creates a new GetSchedulingV1APIResourcesParams object no default values defined in spec.
func (*GetSchedulingV1APIResourcesParams) BindRequest ¶
func (o *GetSchedulingV1APIResourcesParams) 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 NewGetSchedulingV1APIResourcesParams() beforehand.
type GetSchedulingV1APIResourcesUnauthorized ¶
type GetSchedulingV1APIResourcesUnauthorized struct { }
GetSchedulingV1APIResourcesUnauthorized Unauthorized
swagger:response getSchedulingV1ApiResourcesUnauthorized
func NewGetSchedulingV1APIResourcesUnauthorized ¶
func NewGetSchedulingV1APIResourcesUnauthorized() *GetSchedulingV1APIResourcesUnauthorized
NewGetSchedulingV1APIResourcesUnauthorized creates GetSchedulingV1APIResourcesUnauthorized with default headers values
func (*GetSchedulingV1APIResourcesUnauthorized) WriteResponse ¶
func (o *GetSchedulingV1APIResourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListSchedulingV1PriorityClass ¶
type ListSchedulingV1PriorityClass struct { Context *middleware.Context Handler ListSchedulingV1PriorityClassHandler }
ListSchedulingV1PriorityClass swagger:route GET /apis/scheduling.k8s.io/v1/priorityclasses scheduling_v1 listSchedulingV1PriorityClass
list or watch objects of kind PriorityClass
func NewListSchedulingV1PriorityClass ¶
func NewListSchedulingV1PriorityClass(ctx *middleware.Context, handler ListSchedulingV1PriorityClassHandler) *ListSchedulingV1PriorityClass
NewListSchedulingV1PriorityClass creates a new http.Handler for the list scheduling v1 priority class operation
func (*ListSchedulingV1PriorityClass) ServeHTTP ¶
func (o *ListSchedulingV1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListSchedulingV1PriorityClassHandler ¶
type ListSchedulingV1PriorityClassHandler interface {
Handle(ListSchedulingV1PriorityClassParams) middleware.Responder
}
ListSchedulingV1PriorityClassHandler interface for that can handle valid list scheduling v1 priority class params
type ListSchedulingV1PriorityClassHandlerFunc ¶
type ListSchedulingV1PriorityClassHandlerFunc func(ListSchedulingV1PriorityClassParams) middleware.Responder
ListSchedulingV1PriorityClassHandlerFunc turns a function with the right signature into a list scheduling v1 priority class handler
func (ListSchedulingV1PriorityClassHandlerFunc) Handle ¶
func (fn ListSchedulingV1PriorityClassHandlerFunc) Handle(params ListSchedulingV1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type ListSchedulingV1PriorityClassOK ¶
type ListSchedulingV1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1PriorityClassList `json:"body,omitempty"` }
ListSchedulingV1PriorityClassOK OK
swagger:response listSchedulingV1PriorityClassOK
func NewListSchedulingV1PriorityClassOK ¶
func NewListSchedulingV1PriorityClassOK() *ListSchedulingV1PriorityClassOK
NewListSchedulingV1PriorityClassOK creates ListSchedulingV1PriorityClassOK with default headers values
func (*ListSchedulingV1PriorityClassOK) SetPayload ¶
func (o *ListSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClassList)
SetPayload sets the payload to the list scheduling v1 priority class o k response
func (*ListSchedulingV1PriorityClassOK) WithPayload ¶
func (o *ListSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClassList) *ListSchedulingV1PriorityClassOK
WithPayload adds the payload to the list scheduling v1 priority class o k response
func (*ListSchedulingV1PriorityClassOK) WriteResponse ¶
func (o *ListSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListSchedulingV1PriorityClassParams ¶
type ListSchedulingV1PriorityClassParams 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 }
ListSchedulingV1PriorityClassParams contains all the bound params for the list scheduling v1 priority class operation typically these are obtained from a http.Request
swagger:parameters listSchedulingV1PriorityClass
func NewListSchedulingV1PriorityClassParams ¶
func NewListSchedulingV1PriorityClassParams() ListSchedulingV1PriorityClassParams
NewListSchedulingV1PriorityClassParams creates a new ListSchedulingV1PriorityClassParams object no default values defined in spec.
func (*ListSchedulingV1PriorityClassParams) BindRequest ¶
func (o *ListSchedulingV1PriorityClassParams) 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 NewListSchedulingV1PriorityClassParams() beforehand.
type ListSchedulingV1PriorityClassUnauthorized ¶
type ListSchedulingV1PriorityClassUnauthorized struct { }
ListSchedulingV1PriorityClassUnauthorized Unauthorized
swagger:response listSchedulingV1PriorityClassUnauthorized
func NewListSchedulingV1PriorityClassUnauthorized ¶
func NewListSchedulingV1PriorityClassUnauthorized() *ListSchedulingV1PriorityClassUnauthorized
NewListSchedulingV1PriorityClassUnauthorized creates ListSchedulingV1PriorityClassUnauthorized with default headers values
func (*ListSchedulingV1PriorityClassUnauthorized) WriteResponse ¶
func (o *ListSchedulingV1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchSchedulingV1PriorityClass ¶
type PatchSchedulingV1PriorityClass struct { Context *middleware.Context Handler PatchSchedulingV1PriorityClassHandler }
PatchSchedulingV1PriorityClass swagger:route PATCH /apis/scheduling.k8s.io/v1/priorityclasses/{name} scheduling_v1 patchSchedulingV1PriorityClass
partially update the specified PriorityClass
func NewPatchSchedulingV1PriorityClass ¶
func NewPatchSchedulingV1PriorityClass(ctx *middleware.Context, handler PatchSchedulingV1PriorityClassHandler) *PatchSchedulingV1PriorityClass
NewPatchSchedulingV1PriorityClass creates a new http.Handler for the patch scheduling v1 priority class operation
func (*PatchSchedulingV1PriorityClass) ServeHTTP ¶
func (o *PatchSchedulingV1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchSchedulingV1PriorityClassHandler ¶
type PatchSchedulingV1PriorityClassHandler interface {
Handle(PatchSchedulingV1PriorityClassParams) middleware.Responder
}
PatchSchedulingV1PriorityClassHandler interface for that can handle valid patch scheduling v1 priority class params
type PatchSchedulingV1PriorityClassHandlerFunc ¶
type PatchSchedulingV1PriorityClassHandlerFunc func(PatchSchedulingV1PriorityClassParams) middleware.Responder
PatchSchedulingV1PriorityClassHandlerFunc turns a function with the right signature into a patch scheduling v1 priority class handler
func (PatchSchedulingV1PriorityClassHandlerFunc) Handle ¶
func (fn PatchSchedulingV1PriorityClassHandlerFunc) Handle(params PatchSchedulingV1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type PatchSchedulingV1PriorityClassOK ¶
type PatchSchedulingV1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1PriorityClass `json:"body,omitempty"` }
PatchSchedulingV1PriorityClassOK OK
swagger:response patchSchedulingV1PriorityClassOK
func NewPatchSchedulingV1PriorityClassOK ¶
func NewPatchSchedulingV1PriorityClassOK() *PatchSchedulingV1PriorityClassOK
NewPatchSchedulingV1PriorityClassOK creates PatchSchedulingV1PriorityClassOK with default headers values
func (*PatchSchedulingV1PriorityClassOK) SetPayload ¶
func (o *PatchSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
SetPayload sets the payload to the patch scheduling v1 priority class o k response
func (*PatchSchedulingV1PriorityClassOK) WithPayload ¶
func (o *PatchSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *PatchSchedulingV1PriorityClassOK
WithPayload adds the payload to the patch scheduling v1 priority class o k response
func (*PatchSchedulingV1PriorityClassOK) WriteResponse ¶
func (o *PatchSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchSchedulingV1PriorityClassParams ¶
type PatchSchedulingV1PriorityClassParams 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 }
PatchSchedulingV1PriorityClassParams contains all the bound params for the patch scheduling v1 priority class operation typically these are obtained from a http.Request
swagger:parameters patchSchedulingV1PriorityClass
func NewPatchSchedulingV1PriorityClassParams ¶
func NewPatchSchedulingV1PriorityClassParams() PatchSchedulingV1PriorityClassParams
NewPatchSchedulingV1PriorityClassParams creates a new PatchSchedulingV1PriorityClassParams object no default values defined in spec.
func (*PatchSchedulingV1PriorityClassParams) BindRequest ¶
func (o *PatchSchedulingV1PriorityClassParams) 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 NewPatchSchedulingV1PriorityClassParams() beforehand.
type PatchSchedulingV1PriorityClassUnauthorized ¶
type PatchSchedulingV1PriorityClassUnauthorized struct { }
PatchSchedulingV1PriorityClassUnauthorized Unauthorized
swagger:response patchSchedulingV1PriorityClassUnauthorized
func NewPatchSchedulingV1PriorityClassUnauthorized ¶
func NewPatchSchedulingV1PriorityClassUnauthorized() *PatchSchedulingV1PriorityClassUnauthorized
NewPatchSchedulingV1PriorityClassUnauthorized creates PatchSchedulingV1PriorityClassUnauthorized with default headers values
func (*PatchSchedulingV1PriorityClassUnauthorized) WriteResponse ¶
func (o *PatchSchedulingV1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadSchedulingV1PriorityClass ¶
type ReadSchedulingV1PriorityClass struct { Context *middleware.Context Handler ReadSchedulingV1PriorityClassHandler }
ReadSchedulingV1PriorityClass swagger:route GET /apis/scheduling.k8s.io/v1/priorityclasses/{name} scheduling_v1 readSchedulingV1PriorityClass
read the specified PriorityClass
func NewReadSchedulingV1PriorityClass ¶
func NewReadSchedulingV1PriorityClass(ctx *middleware.Context, handler ReadSchedulingV1PriorityClassHandler) *ReadSchedulingV1PriorityClass
NewReadSchedulingV1PriorityClass creates a new http.Handler for the read scheduling v1 priority class operation
func (*ReadSchedulingV1PriorityClass) ServeHTTP ¶
func (o *ReadSchedulingV1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReadSchedulingV1PriorityClassHandler ¶
type ReadSchedulingV1PriorityClassHandler interface {
Handle(ReadSchedulingV1PriorityClassParams) middleware.Responder
}
ReadSchedulingV1PriorityClassHandler interface for that can handle valid read scheduling v1 priority class params
type ReadSchedulingV1PriorityClassHandlerFunc ¶
type ReadSchedulingV1PriorityClassHandlerFunc func(ReadSchedulingV1PriorityClassParams) middleware.Responder
ReadSchedulingV1PriorityClassHandlerFunc turns a function with the right signature into a read scheduling v1 priority class handler
func (ReadSchedulingV1PriorityClassHandlerFunc) Handle ¶
func (fn ReadSchedulingV1PriorityClassHandlerFunc) Handle(params ReadSchedulingV1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type ReadSchedulingV1PriorityClassOK ¶
type ReadSchedulingV1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1PriorityClass `json:"body,omitempty"` }
ReadSchedulingV1PriorityClassOK OK
swagger:response readSchedulingV1PriorityClassOK
func NewReadSchedulingV1PriorityClassOK ¶
func NewReadSchedulingV1PriorityClassOK() *ReadSchedulingV1PriorityClassOK
NewReadSchedulingV1PriorityClassOK creates ReadSchedulingV1PriorityClassOK with default headers values
func (*ReadSchedulingV1PriorityClassOK) SetPayload ¶
func (o *ReadSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
SetPayload sets the payload to the read scheduling v1 priority class o k response
func (*ReadSchedulingV1PriorityClassOK) WithPayload ¶
func (o *ReadSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *ReadSchedulingV1PriorityClassOK
WithPayload adds the payload to the read scheduling v1 priority class o k response
func (*ReadSchedulingV1PriorityClassOK) WriteResponse ¶
func (o *ReadSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadSchedulingV1PriorityClassParams ¶
type ReadSchedulingV1PriorityClassParams 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 }
ReadSchedulingV1PriorityClassParams contains all the bound params for the read scheduling v1 priority class operation typically these are obtained from a http.Request
swagger:parameters readSchedulingV1PriorityClass
func NewReadSchedulingV1PriorityClassParams ¶
func NewReadSchedulingV1PriorityClassParams() ReadSchedulingV1PriorityClassParams
NewReadSchedulingV1PriorityClassParams creates a new ReadSchedulingV1PriorityClassParams object no default values defined in spec.
func (*ReadSchedulingV1PriorityClassParams) BindRequest ¶
func (o *ReadSchedulingV1PriorityClassParams) 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 NewReadSchedulingV1PriorityClassParams() beforehand.
type ReadSchedulingV1PriorityClassUnauthorized ¶
type ReadSchedulingV1PriorityClassUnauthorized struct { }
ReadSchedulingV1PriorityClassUnauthorized Unauthorized
swagger:response readSchedulingV1PriorityClassUnauthorized
func NewReadSchedulingV1PriorityClassUnauthorized ¶
func NewReadSchedulingV1PriorityClassUnauthorized() *ReadSchedulingV1PriorityClassUnauthorized
NewReadSchedulingV1PriorityClassUnauthorized creates ReadSchedulingV1PriorityClassUnauthorized with default headers values
func (*ReadSchedulingV1PriorityClassUnauthorized) WriteResponse ¶
func (o *ReadSchedulingV1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceSchedulingV1PriorityClass ¶
type ReplaceSchedulingV1PriorityClass struct { Context *middleware.Context Handler ReplaceSchedulingV1PriorityClassHandler }
ReplaceSchedulingV1PriorityClass swagger:route PUT /apis/scheduling.k8s.io/v1/priorityclasses/{name} scheduling_v1 replaceSchedulingV1PriorityClass
replace the specified PriorityClass
func NewReplaceSchedulingV1PriorityClass ¶
func NewReplaceSchedulingV1PriorityClass(ctx *middleware.Context, handler ReplaceSchedulingV1PriorityClassHandler) *ReplaceSchedulingV1PriorityClass
NewReplaceSchedulingV1PriorityClass creates a new http.Handler for the replace scheduling v1 priority class operation
func (*ReplaceSchedulingV1PriorityClass) ServeHTTP ¶
func (o *ReplaceSchedulingV1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReplaceSchedulingV1PriorityClassCreated ¶
type ReplaceSchedulingV1PriorityClassCreated struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1PriorityClass `json:"body,omitempty"` }
ReplaceSchedulingV1PriorityClassCreated Created
swagger:response replaceSchedulingV1PriorityClassCreated
func NewReplaceSchedulingV1PriorityClassCreated ¶
func NewReplaceSchedulingV1PriorityClassCreated() *ReplaceSchedulingV1PriorityClassCreated
NewReplaceSchedulingV1PriorityClassCreated creates ReplaceSchedulingV1PriorityClassCreated with default headers values
func (*ReplaceSchedulingV1PriorityClassCreated) SetPayload ¶
func (o *ReplaceSchedulingV1PriorityClassCreated) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
SetPayload sets the payload to the replace scheduling v1 priority class created response
func (*ReplaceSchedulingV1PriorityClassCreated) WithPayload ¶
func (o *ReplaceSchedulingV1PriorityClassCreated) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *ReplaceSchedulingV1PriorityClassCreated
WithPayload adds the payload to the replace scheduling v1 priority class created response
func (*ReplaceSchedulingV1PriorityClassCreated) WriteResponse ¶
func (o *ReplaceSchedulingV1PriorityClassCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceSchedulingV1PriorityClassHandler ¶
type ReplaceSchedulingV1PriorityClassHandler interface {
Handle(ReplaceSchedulingV1PriorityClassParams) middleware.Responder
}
ReplaceSchedulingV1PriorityClassHandler interface for that can handle valid replace scheduling v1 priority class params
type ReplaceSchedulingV1PriorityClassHandlerFunc ¶
type ReplaceSchedulingV1PriorityClassHandlerFunc func(ReplaceSchedulingV1PriorityClassParams) middleware.Responder
ReplaceSchedulingV1PriorityClassHandlerFunc turns a function with the right signature into a replace scheduling v1 priority class handler
func (ReplaceSchedulingV1PriorityClassHandlerFunc) Handle ¶
func (fn ReplaceSchedulingV1PriorityClassHandlerFunc) Handle(params ReplaceSchedulingV1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type ReplaceSchedulingV1PriorityClassOK ¶
type ReplaceSchedulingV1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sAPISchedulingV1PriorityClass `json:"body,omitempty"` }
ReplaceSchedulingV1PriorityClassOK OK
swagger:response replaceSchedulingV1PriorityClassOK
func NewReplaceSchedulingV1PriorityClassOK ¶
func NewReplaceSchedulingV1PriorityClassOK() *ReplaceSchedulingV1PriorityClassOK
NewReplaceSchedulingV1PriorityClassOK creates ReplaceSchedulingV1PriorityClassOK with default headers values
func (*ReplaceSchedulingV1PriorityClassOK) SetPayload ¶
func (o *ReplaceSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sAPISchedulingV1PriorityClass)
SetPayload sets the payload to the replace scheduling v1 priority class o k response
func (*ReplaceSchedulingV1PriorityClassOK) WithPayload ¶
func (o *ReplaceSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sAPISchedulingV1PriorityClass) *ReplaceSchedulingV1PriorityClassOK
WithPayload adds the payload to the replace scheduling v1 priority class o k response
func (*ReplaceSchedulingV1PriorityClassOK) WriteResponse ¶
func (o *ReplaceSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceSchedulingV1PriorityClassParams ¶
type ReplaceSchedulingV1PriorityClassParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sAPISchedulingV1PriorityClass /*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 }
ReplaceSchedulingV1PriorityClassParams contains all the bound params for the replace scheduling v1 priority class operation typically these are obtained from a http.Request
swagger:parameters replaceSchedulingV1PriorityClass
func NewReplaceSchedulingV1PriorityClassParams ¶
func NewReplaceSchedulingV1PriorityClassParams() ReplaceSchedulingV1PriorityClassParams
NewReplaceSchedulingV1PriorityClassParams creates a new ReplaceSchedulingV1PriorityClassParams object no default values defined in spec.
func (*ReplaceSchedulingV1PriorityClassParams) BindRequest ¶
func (o *ReplaceSchedulingV1PriorityClassParams) 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 NewReplaceSchedulingV1PriorityClassParams() beforehand.
type ReplaceSchedulingV1PriorityClassUnauthorized ¶
type ReplaceSchedulingV1PriorityClassUnauthorized struct { }
ReplaceSchedulingV1PriorityClassUnauthorized Unauthorized
swagger:response replaceSchedulingV1PriorityClassUnauthorized
func NewReplaceSchedulingV1PriorityClassUnauthorized ¶
func NewReplaceSchedulingV1PriorityClassUnauthorized() *ReplaceSchedulingV1PriorityClassUnauthorized
NewReplaceSchedulingV1PriorityClassUnauthorized creates ReplaceSchedulingV1PriorityClassUnauthorized with default headers values
func (*ReplaceSchedulingV1PriorityClassUnauthorized) WriteResponse ¶
func (o *ReplaceSchedulingV1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSchedulingV1PriorityClass ¶
type WatchSchedulingV1PriorityClass struct { Context *middleware.Context Handler WatchSchedulingV1PriorityClassHandler }
WatchSchedulingV1PriorityClass swagger:route GET /apis/scheduling.k8s.io/v1/watch/priorityclasses/{name} scheduling_v1 watchSchedulingV1PriorityClass
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 NewWatchSchedulingV1PriorityClass ¶
func NewWatchSchedulingV1PriorityClass(ctx *middleware.Context, handler WatchSchedulingV1PriorityClassHandler) *WatchSchedulingV1PriorityClass
NewWatchSchedulingV1PriorityClass creates a new http.Handler for the watch scheduling v1 priority class operation
func (*WatchSchedulingV1PriorityClass) ServeHTTP ¶
func (o *WatchSchedulingV1PriorityClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchSchedulingV1PriorityClassHandler ¶
type WatchSchedulingV1PriorityClassHandler interface {
Handle(WatchSchedulingV1PriorityClassParams) middleware.Responder
}
WatchSchedulingV1PriorityClassHandler interface for that can handle valid watch scheduling v1 priority class params
type WatchSchedulingV1PriorityClassHandlerFunc ¶
type WatchSchedulingV1PriorityClassHandlerFunc func(WatchSchedulingV1PriorityClassParams) middleware.Responder
WatchSchedulingV1PriorityClassHandlerFunc turns a function with the right signature into a watch scheduling v1 priority class handler
func (WatchSchedulingV1PriorityClassHandlerFunc) Handle ¶
func (fn WatchSchedulingV1PriorityClassHandlerFunc) Handle(params WatchSchedulingV1PriorityClassParams) middleware.Responder
Handle executing the request and returning a response
type WatchSchedulingV1PriorityClassList ¶
type WatchSchedulingV1PriorityClassList struct { Context *middleware.Context Handler WatchSchedulingV1PriorityClassListHandler }
WatchSchedulingV1PriorityClassList swagger:route GET /apis/scheduling.k8s.io/v1/watch/priorityclasses scheduling_v1 watchSchedulingV1PriorityClassList
watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.
func NewWatchSchedulingV1PriorityClassList ¶
func NewWatchSchedulingV1PriorityClassList(ctx *middleware.Context, handler WatchSchedulingV1PriorityClassListHandler) *WatchSchedulingV1PriorityClassList
NewWatchSchedulingV1PriorityClassList creates a new http.Handler for the watch scheduling v1 priority class list operation
func (*WatchSchedulingV1PriorityClassList) ServeHTTP ¶
func (o *WatchSchedulingV1PriorityClassList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchSchedulingV1PriorityClassListHandler ¶
type WatchSchedulingV1PriorityClassListHandler interface {
Handle(WatchSchedulingV1PriorityClassListParams) middleware.Responder
}
WatchSchedulingV1PriorityClassListHandler interface for that can handle valid watch scheduling v1 priority class list params
type WatchSchedulingV1PriorityClassListHandlerFunc ¶
type WatchSchedulingV1PriorityClassListHandlerFunc func(WatchSchedulingV1PriorityClassListParams) middleware.Responder
WatchSchedulingV1PriorityClassListHandlerFunc turns a function with the right signature into a watch scheduling v1 priority class list handler
func (WatchSchedulingV1PriorityClassListHandlerFunc) Handle ¶
func (fn WatchSchedulingV1PriorityClassListHandlerFunc) Handle(params WatchSchedulingV1PriorityClassListParams) middleware.Responder
Handle executing the request and returning a response
type WatchSchedulingV1PriorityClassListOK ¶
type WatchSchedulingV1PriorityClassListOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchSchedulingV1PriorityClassListOK OK
swagger:response watchSchedulingV1PriorityClassListOK
func NewWatchSchedulingV1PriorityClassListOK ¶
func NewWatchSchedulingV1PriorityClassListOK() *WatchSchedulingV1PriorityClassListOK
NewWatchSchedulingV1PriorityClassListOK creates WatchSchedulingV1PriorityClassListOK with default headers values
func (*WatchSchedulingV1PriorityClassListOK) SetPayload ¶
func (o *WatchSchedulingV1PriorityClassListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch scheduling v1 priority class list o k response
func (*WatchSchedulingV1PriorityClassListOK) WithPayload ¶
func (o *WatchSchedulingV1PriorityClassListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSchedulingV1PriorityClassListOK
WithPayload adds the payload to the watch scheduling v1 priority class list o k response
func (*WatchSchedulingV1PriorityClassListOK) WriteResponse ¶
func (o *WatchSchedulingV1PriorityClassListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSchedulingV1PriorityClassListParams ¶
type WatchSchedulingV1PriorityClassListParams 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 }
WatchSchedulingV1PriorityClassListParams contains all the bound params for the watch scheduling v1 priority class list operation typically these are obtained from a http.Request
swagger:parameters watchSchedulingV1PriorityClassList
func NewWatchSchedulingV1PriorityClassListParams ¶
func NewWatchSchedulingV1PriorityClassListParams() WatchSchedulingV1PriorityClassListParams
NewWatchSchedulingV1PriorityClassListParams creates a new WatchSchedulingV1PriorityClassListParams object no default values defined in spec.
func (*WatchSchedulingV1PriorityClassListParams) BindRequest ¶
func (o *WatchSchedulingV1PriorityClassListParams) 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 NewWatchSchedulingV1PriorityClassListParams() beforehand.
type WatchSchedulingV1PriorityClassListUnauthorized ¶
type WatchSchedulingV1PriorityClassListUnauthorized struct { }
WatchSchedulingV1PriorityClassListUnauthorized Unauthorized
swagger:response watchSchedulingV1PriorityClassListUnauthorized
func NewWatchSchedulingV1PriorityClassListUnauthorized ¶
func NewWatchSchedulingV1PriorityClassListUnauthorized() *WatchSchedulingV1PriorityClassListUnauthorized
NewWatchSchedulingV1PriorityClassListUnauthorized creates WatchSchedulingV1PriorityClassListUnauthorized with default headers values
func (*WatchSchedulingV1PriorityClassListUnauthorized) WriteResponse ¶
func (o *WatchSchedulingV1PriorityClassListUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSchedulingV1PriorityClassOK ¶
type WatchSchedulingV1PriorityClassOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchSchedulingV1PriorityClassOK OK
swagger:response watchSchedulingV1PriorityClassOK
func NewWatchSchedulingV1PriorityClassOK ¶
func NewWatchSchedulingV1PriorityClassOK() *WatchSchedulingV1PriorityClassOK
NewWatchSchedulingV1PriorityClassOK creates WatchSchedulingV1PriorityClassOK with default headers values
func (*WatchSchedulingV1PriorityClassOK) SetPayload ¶
func (o *WatchSchedulingV1PriorityClassOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch scheduling v1 priority class o k response
func (*WatchSchedulingV1PriorityClassOK) WithPayload ¶
func (o *WatchSchedulingV1PriorityClassOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSchedulingV1PriorityClassOK
WithPayload adds the payload to the watch scheduling v1 priority class o k response
func (*WatchSchedulingV1PriorityClassOK) WriteResponse ¶
func (o *WatchSchedulingV1PriorityClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSchedulingV1PriorityClassParams ¶
type WatchSchedulingV1PriorityClassParams 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 }
WatchSchedulingV1PriorityClassParams contains all the bound params for the watch scheduling v1 priority class operation typically these are obtained from a http.Request
swagger:parameters watchSchedulingV1PriorityClass
func NewWatchSchedulingV1PriorityClassParams ¶
func NewWatchSchedulingV1PriorityClassParams() WatchSchedulingV1PriorityClassParams
NewWatchSchedulingV1PriorityClassParams creates a new WatchSchedulingV1PriorityClassParams object no default values defined in spec.
func (*WatchSchedulingV1PriorityClassParams) BindRequest ¶
func (o *WatchSchedulingV1PriorityClassParams) 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 NewWatchSchedulingV1PriorityClassParams() beforehand.
type WatchSchedulingV1PriorityClassUnauthorized ¶
type WatchSchedulingV1PriorityClassUnauthorized struct { }
WatchSchedulingV1PriorityClassUnauthorized Unauthorized
swagger:response watchSchedulingV1PriorityClassUnauthorized
func NewWatchSchedulingV1PriorityClassUnauthorized ¶
func NewWatchSchedulingV1PriorityClassUnauthorized() *WatchSchedulingV1PriorityClassUnauthorized
NewWatchSchedulingV1PriorityClassUnauthorized creates WatchSchedulingV1PriorityClassUnauthorized with default headers values
func (*WatchSchedulingV1PriorityClassUnauthorized) WriteResponse ¶
func (o *WatchSchedulingV1PriorityClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- create_scheduling_v1_priority_class.go
- create_scheduling_v1_priority_class_parameters.go
- create_scheduling_v1_priority_class_responses.go
- delete_scheduling_v1_collection_priority_class.go
- delete_scheduling_v1_collection_priority_class_parameters.go
- delete_scheduling_v1_collection_priority_class_responses.go
- delete_scheduling_v1_priority_class.go
- delete_scheduling_v1_priority_class_parameters.go
- delete_scheduling_v1_priority_class_responses.go
- get_scheduling_v1_api_resources.go
- get_scheduling_v1_api_resources_parameters.go
- get_scheduling_v1_api_resources_responses.go
- list_scheduling_v1_priority_class.go
- list_scheduling_v1_priority_class_parameters.go
- list_scheduling_v1_priority_class_responses.go
- patch_scheduling_v1_priority_class.go
- patch_scheduling_v1_priority_class_parameters.go
- patch_scheduling_v1_priority_class_responses.go
- read_scheduling_v1_priority_class.go
- read_scheduling_v1_priority_class_parameters.go
- read_scheduling_v1_priority_class_responses.go
- replace_scheduling_v1_priority_class.go
- replace_scheduling_v1_priority_class_parameters.go
- replace_scheduling_v1_priority_class_responses.go
- watch_scheduling_v1_priority_class.go
- watch_scheduling_v1_priority_class_list.go
- watch_scheduling_v1_priority_class_list_parameters.go
- watch_scheduling_v1_priority_class_list_responses.go
- watch_scheduling_v1_priority_class_parameters.go
- watch_scheduling_v1_priority_class_responses.go