scheduling_v1

package
v0.0.0-...-1e5aeb1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CreateSchedulingV1PriorityClassAcceptedCode int = 202

CreateSchedulingV1PriorityClassAcceptedCode is the HTTP code returned for type CreateSchedulingV1PriorityClassAccepted

View Source
const CreateSchedulingV1PriorityClassCreatedCode int = 201

CreateSchedulingV1PriorityClassCreatedCode is the HTTP code returned for type CreateSchedulingV1PriorityClassCreated

View Source
const CreateSchedulingV1PriorityClassOKCode int = 200

CreateSchedulingV1PriorityClassOKCode is the HTTP code returned for type CreateSchedulingV1PriorityClassOK

View Source
const CreateSchedulingV1PriorityClassUnauthorizedCode int = 401

CreateSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type CreateSchedulingV1PriorityClassUnauthorized

View Source
const DeleteSchedulingV1CollectionPriorityClassOKCode int = 200

DeleteSchedulingV1CollectionPriorityClassOKCode is the HTTP code returned for type DeleteSchedulingV1CollectionPriorityClassOK

View Source
const DeleteSchedulingV1CollectionPriorityClassUnauthorizedCode int = 401

DeleteSchedulingV1CollectionPriorityClassUnauthorizedCode is the HTTP code returned for type DeleteSchedulingV1CollectionPriorityClassUnauthorized

View Source
const DeleteSchedulingV1PriorityClassAcceptedCode int = 202

DeleteSchedulingV1PriorityClassAcceptedCode is the HTTP code returned for type DeleteSchedulingV1PriorityClassAccepted

View Source
const DeleteSchedulingV1PriorityClassOKCode int = 200

DeleteSchedulingV1PriorityClassOKCode is the HTTP code returned for type DeleteSchedulingV1PriorityClassOK

View Source
const DeleteSchedulingV1PriorityClassUnauthorizedCode int = 401

DeleteSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type DeleteSchedulingV1PriorityClassUnauthorized

View Source
const GetSchedulingV1APIResourcesOKCode int = 200

GetSchedulingV1APIResourcesOKCode is the HTTP code returned for type GetSchedulingV1APIResourcesOK

View Source
const GetSchedulingV1APIResourcesUnauthorizedCode int = 401

GetSchedulingV1APIResourcesUnauthorizedCode is the HTTP code returned for type GetSchedulingV1APIResourcesUnauthorized

View Source
const ListSchedulingV1PriorityClassOKCode int = 200

ListSchedulingV1PriorityClassOKCode is the HTTP code returned for type ListSchedulingV1PriorityClassOK

View Source
const ListSchedulingV1PriorityClassUnauthorizedCode int = 401

ListSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type ListSchedulingV1PriorityClassUnauthorized

View Source
const PatchSchedulingV1PriorityClassOKCode int = 200

PatchSchedulingV1PriorityClassOKCode is the HTTP code returned for type PatchSchedulingV1PriorityClassOK

View Source
const PatchSchedulingV1PriorityClassUnauthorizedCode int = 401

PatchSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type PatchSchedulingV1PriorityClassUnauthorized

View Source
const ReadSchedulingV1PriorityClassOKCode int = 200

ReadSchedulingV1PriorityClassOKCode is the HTTP code returned for type ReadSchedulingV1PriorityClassOK

View Source
const ReadSchedulingV1PriorityClassUnauthorizedCode int = 401

ReadSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type ReadSchedulingV1PriorityClassUnauthorized

View Source
const ReplaceSchedulingV1PriorityClassCreatedCode int = 201

ReplaceSchedulingV1PriorityClassCreatedCode is the HTTP code returned for type ReplaceSchedulingV1PriorityClassCreated

View Source
const ReplaceSchedulingV1PriorityClassOKCode int = 200

ReplaceSchedulingV1PriorityClassOKCode is the HTTP code returned for type ReplaceSchedulingV1PriorityClassOK

View Source
const ReplaceSchedulingV1PriorityClassUnauthorizedCode int = 401

ReplaceSchedulingV1PriorityClassUnauthorizedCode is the HTTP code returned for type ReplaceSchedulingV1PriorityClassUnauthorized

View Source
const WatchSchedulingV1PriorityClassListOKCode int = 200

WatchSchedulingV1PriorityClassListOKCode is the HTTP code returned for type WatchSchedulingV1PriorityClassListOK

View Source
const WatchSchedulingV1PriorityClassListUnauthorizedCode int = 401

WatchSchedulingV1PriorityClassListUnauthorizedCode is the HTTP code returned for type WatchSchedulingV1PriorityClassListUnauthorized

View Source
const WatchSchedulingV1PriorityClassOKCode int = 200

WatchSchedulingV1PriorityClassOKCode is the HTTP code returned for type WatchSchedulingV1PriorityClassOK

View Source
const WatchSchedulingV1PriorityClassUnauthorizedCode int = 401

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

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

SetPayload sets the payload to the create scheduling v1 priority class accepted response

func (*CreateSchedulingV1PriorityClassAccepted) WithPayload

WithPayload adds the payload to the create scheduling v1 priority class accepted response

func (*CreateSchedulingV1PriorityClassAccepted) WriteResponse

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

SetPayload sets the payload to the create scheduling v1 priority class created response

func (*CreateSchedulingV1PriorityClassCreated) WithPayload

WithPayload adds the payload to the create scheduling v1 priority class created response

func (*CreateSchedulingV1PriorityClassCreated) WriteResponse

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

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

SetPayload sets the payload to the create scheduling v1 priority class o k response

func (*CreateSchedulingV1PriorityClassOK) WithPayload

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

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

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

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

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

SetPayload sets the payload to the delete scheduling v1 collection priority class o k response

func (*DeleteSchedulingV1CollectionPriorityClassOK) WithPayload

WithPayload adds the payload to the delete scheduling v1 collection priority class o k response

func (*DeleteSchedulingV1CollectionPriorityClassOK) WriteResponse

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

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

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

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

SetPayload sets the payload to the delete scheduling v1 priority class accepted response

func (*DeleteSchedulingV1PriorityClassAccepted) WithPayload

WithPayload adds the payload to the delete scheduling v1 priority class accepted response

func (*DeleteSchedulingV1PriorityClassAccepted) WriteResponse

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

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

SetPayload sets the payload to the delete scheduling v1 priority class o k response

func (*DeleteSchedulingV1PriorityClassOK) WithPayload

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

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

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

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

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

SetPayload sets the payload to the get scheduling v1 Api resources o k response

func (*GetSchedulingV1APIResourcesOK) WithPayload

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

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

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

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

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

SetPayload sets the payload to the list scheduling v1 priority class o k response

func (*ListSchedulingV1PriorityClassOK) WithPayload

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

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

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

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

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

SetPayload sets the payload to the patch scheduling v1 priority class o k response

func (*PatchSchedulingV1PriorityClassOK) WithPayload

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

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

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

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

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

SetPayload sets the payload to the read scheduling v1 priority class o k response

func (*ReadSchedulingV1PriorityClassOK) WithPayload

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

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

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

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

SetPayload sets the payload to the replace scheduling v1 priority class created response

func (*ReplaceSchedulingV1PriorityClassCreated) WithPayload

WithPayload adds the payload to the replace scheduling v1 priority class created response

func (*ReplaceSchedulingV1PriorityClassCreated) WriteResponse

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

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

SetPayload sets the payload to the replace scheduling v1 priority class o k response

func (*ReplaceSchedulingV1PriorityClassOK) WithPayload

WithPayload adds the payload to the replace scheduling v1 priority class o k response

func (*ReplaceSchedulingV1PriorityClassOK) WriteResponse

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

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

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

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

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

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

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

SetPayload sets the payload to the watch scheduling v1 priority class list o k response

func (*WatchSchedulingV1PriorityClassListOK) WithPayload

WithPayload adds the payload to the watch scheduling v1 priority class list o k response

func (*WatchSchedulingV1PriorityClassListOK) WriteResponse

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

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

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

SetPayload sets the payload to the watch scheduling v1 priority class o k response

func (*WatchSchedulingV1PriorityClassOK) WithPayload

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

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

WriteResponse to the client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL