coordination_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 CreateCoordinationV1NamespacedLeaseAcceptedCode int = 202

CreateCoordinationV1NamespacedLeaseAcceptedCode is the HTTP code returned for type CreateCoordinationV1NamespacedLeaseAccepted

View Source
const CreateCoordinationV1NamespacedLeaseCreatedCode int = 201

CreateCoordinationV1NamespacedLeaseCreatedCode is the HTTP code returned for type CreateCoordinationV1NamespacedLeaseCreated

View Source
const CreateCoordinationV1NamespacedLeaseOKCode int = 200

CreateCoordinationV1NamespacedLeaseOKCode is the HTTP code returned for type CreateCoordinationV1NamespacedLeaseOK

View Source
const CreateCoordinationV1NamespacedLeaseUnauthorizedCode int = 401

CreateCoordinationV1NamespacedLeaseUnauthorizedCode is the HTTP code returned for type CreateCoordinationV1NamespacedLeaseUnauthorized

View Source
const DeleteCoordinationV1CollectionNamespacedLeaseOKCode int = 200

DeleteCoordinationV1CollectionNamespacedLeaseOKCode is the HTTP code returned for type DeleteCoordinationV1CollectionNamespacedLeaseOK

View Source
const DeleteCoordinationV1CollectionNamespacedLeaseUnauthorizedCode int = 401

DeleteCoordinationV1CollectionNamespacedLeaseUnauthorizedCode is the HTTP code returned for type DeleteCoordinationV1CollectionNamespacedLeaseUnauthorized

View Source
const DeleteCoordinationV1NamespacedLeaseAcceptedCode int = 202

DeleteCoordinationV1NamespacedLeaseAcceptedCode is the HTTP code returned for type DeleteCoordinationV1NamespacedLeaseAccepted

View Source
const DeleteCoordinationV1NamespacedLeaseOKCode int = 200

DeleteCoordinationV1NamespacedLeaseOKCode is the HTTP code returned for type DeleteCoordinationV1NamespacedLeaseOK

View Source
const DeleteCoordinationV1NamespacedLeaseUnauthorizedCode int = 401

DeleteCoordinationV1NamespacedLeaseUnauthorizedCode is the HTTP code returned for type DeleteCoordinationV1NamespacedLeaseUnauthorized

View Source
const GetCoordinationV1APIResourcesOKCode int = 200

GetCoordinationV1APIResourcesOKCode is the HTTP code returned for type GetCoordinationV1APIResourcesOK

View Source
const GetCoordinationV1APIResourcesUnauthorizedCode int = 401

GetCoordinationV1APIResourcesUnauthorizedCode is the HTTP code returned for type GetCoordinationV1APIResourcesUnauthorized

View Source
const ListCoordinationV1LeaseForAllNamespacesOKCode int = 200

ListCoordinationV1LeaseForAllNamespacesOKCode is the HTTP code returned for type ListCoordinationV1LeaseForAllNamespacesOK

View Source
const ListCoordinationV1LeaseForAllNamespacesUnauthorizedCode int = 401

ListCoordinationV1LeaseForAllNamespacesUnauthorizedCode is the HTTP code returned for type ListCoordinationV1LeaseForAllNamespacesUnauthorized

View Source
const ListCoordinationV1NamespacedLeaseOKCode int = 200

ListCoordinationV1NamespacedLeaseOKCode is the HTTP code returned for type ListCoordinationV1NamespacedLeaseOK

View Source
const ListCoordinationV1NamespacedLeaseUnauthorizedCode int = 401

ListCoordinationV1NamespacedLeaseUnauthorizedCode is the HTTP code returned for type ListCoordinationV1NamespacedLeaseUnauthorized

View Source
const PatchCoordinationV1NamespacedLeaseOKCode int = 200

PatchCoordinationV1NamespacedLeaseOKCode is the HTTP code returned for type PatchCoordinationV1NamespacedLeaseOK

View Source
const PatchCoordinationV1NamespacedLeaseUnauthorizedCode int = 401

PatchCoordinationV1NamespacedLeaseUnauthorizedCode is the HTTP code returned for type PatchCoordinationV1NamespacedLeaseUnauthorized

View Source
const ReadCoordinationV1NamespacedLeaseOKCode int = 200

ReadCoordinationV1NamespacedLeaseOKCode is the HTTP code returned for type ReadCoordinationV1NamespacedLeaseOK

View Source
const ReadCoordinationV1NamespacedLeaseUnauthorizedCode int = 401

ReadCoordinationV1NamespacedLeaseUnauthorizedCode is the HTTP code returned for type ReadCoordinationV1NamespacedLeaseUnauthorized

View Source
const ReplaceCoordinationV1NamespacedLeaseCreatedCode int = 201

ReplaceCoordinationV1NamespacedLeaseCreatedCode is the HTTP code returned for type ReplaceCoordinationV1NamespacedLeaseCreated

View Source
const ReplaceCoordinationV1NamespacedLeaseOKCode int = 200

ReplaceCoordinationV1NamespacedLeaseOKCode is the HTTP code returned for type ReplaceCoordinationV1NamespacedLeaseOK

View Source
const ReplaceCoordinationV1NamespacedLeaseUnauthorizedCode int = 401

ReplaceCoordinationV1NamespacedLeaseUnauthorizedCode is the HTTP code returned for type ReplaceCoordinationV1NamespacedLeaseUnauthorized

View Source
const WatchCoordinationV1LeaseListForAllNamespacesOKCode int = 200

WatchCoordinationV1LeaseListForAllNamespacesOKCode is the HTTP code returned for type WatchCoordinationV1LeaseListForAllNamespacesOK

View Source
const WatchCoordinationV1LeaseListForAllNamespacesUnauthorizedCode int = 401

WatchCoordinationV1LeaseListForAllNamespacesUnauthorizedCode is the HTTP code returned for type WatchCoordinationV1LeaseListForAllNamespacesUnauthorized

View Source
const WatchCoordinationV1NamespacedLeaseListOKCode int = 200

WatchCoordinationV1NamespacedLeaseListOKCode is the HTTP code returned for type WatchCoordinationV1NamespacedLeaseListOK

View Source
const WatchCoordinationV1NamespacedLeaseListUnauthorizedCode int = 401

WatchCoordinationV1NamespacedLeaseListUnauthorizedCode is the HTTP code returned for type WatchCoordinationV1NamespacedLeaseListUnauthorized

View Source
const WatchCoordinationV1NamespacedLeaseOKCode int = 200

WatchCoordinationV1NamespacedLeaseOKCode is the HTTP code returned for type WatchCoordinationV1NamespacedLeaseOK

View Source
const WatchCoordinationV1NamespacedLeaseUnauthorizedCode int = 401

WatchCoordinationV1NamespacedLeaseUnauthorizedCode is the HTTP code returned for type WatchCoordinationV1NamespacedLeaseUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCoordinationV1NamespacedLease

type CreateCoordinationV1NamespacedLease struct {
	Context *middleware.Context
	Handler CreateCoordinationV1NamespacedLeaseHandler
}

CreateCoordinationV1NamespacedLease swagger:route POST /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases coordination_v1 createCoordinationV1NamespacedLease

create a Lease

func NewCreateCoordinationV1NamespacedLease

func NewCreateCoordinationV1NamespacedLease(ctx *middleware.Context, handler CreateCoordinationV1NamespacedLeaseHandler) *CreateCoordinationV1NamespacedLease

NewCreateCoordinationV1NamespacedLease creates a new http.Handler for the create coordination v1 namespaced lease operation

func (*CreateCoordinationV1NamespacedLease) ServeHTTP

type CreateCoordinationV1NamespacedLeaseAccepted

type CreateCoordinationV1NamespacedLeaseAccepted struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPICoordinationV1Lease `json:"body,omitempty"`
}

CreateCoordinationV1NamespacedLeaseAccepted Accepted

swagger:response createCoordinationV1NamespacedLeaseAccepted

func NewCreateCoordinationV1NamespacedLeaseAccepted

func NewCreateCoordinationV1NamespacedLeaseAccepted() *CreateCoordinationV1NamespacedLeaseAccepted

NewCreateCoordinationV1NamespacedLeaseAccepted creates CreateCoordinationV1NamespacedLeaseAccepted with default headers values

func (*CreateCoordinationV1NamespacedLeaseAccepted) SetPayload

SetPayload sets the payload to the create coordination v1 namespaced lease accepted response

func (*CreateCoordinationV1NamespacedLeaseAccepted) WithPayload

WithPayload adds the payload to the create coordination v1 namespaced lease accepted response

func (*CreateCoordinationV1NamespacedLeaseAccepted) WriteResponse

WriteResponse to the client

type CreateCoordinationV1NamespacedLeaseCreated

type CreateCoordinationV1NamespacedLeaseCreated struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPICoordinationV1Lease `json:"body,omitempty"`
}

CreateCoordinationV1NamespacedLeaseCreated Created

swagger:response createCoordinationV1NamespacedLeaseCreated

func NewCreateCoordinationV1NamespacedLeaseCreated

func NewCreateCoordinationV1NamespacedLeaseCreated() *CreateCoordinationV1NamespacedLeaseCreated

NewCreateCoordinationV1NamespacedLeaseCreated creates CreateCoordinationV1NamespacedLeaseCreated with default headers values

func (*CreateCoordinationV1NamespacedLeaseCreated) SetPayload

SetPayload sets the payload to the create coordination v1 namespaced lease created response

func (*CreateCoordinationV1NamespacedLeaseCreated) WithPayload

WithPayload adds the payload to the create coordination v1 namespaced lease created response

func (*CreateCoordinationV1NamespacedLeaseCreated) WriteResponse

WriteResponse to the client

type CreateCoordinationV1NamespacedLeaseHandler

type CreateCoordinationV1NamespacedLeaseHandler interface {
	Handle(CreateCoordinationV1NamespacedLeaseParams) middleware.Responder
}

CreateCoordinationV1NamespacedLeaseHandler interface for that can handle valid create coordination v1 namespaced lease params

type CreateCoordinationV1NamespacedLeaseHandlerFunc

type CreateCoordinationV1NamespacedLeaseHandlerFunc func(CreateCoordinationV1NamespacedLeaseParams) middleware.Responder

CreateCoordinationV1NamespacedLeaseHandlerFunc turns a function with the right signature into a create coordination v1 namespaced lease handler

func (CreateCoordinationV1NamespacedLeaseHandlerFunc) Handle

Handle executing the request and returning a response

type CreateCoordinationV1NamespacedLeaseOK

type CreateCoordinationV1NamespacedLeaseOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPICoordinationV1Lease `json:"body,omitempty"`
}

CreateCoordinationV1NamespacedLeaseOK OK

swagger:response createCoordinationV1NamespacedLeaseOK

func NewCreateCoordinationV1NamespacedLeaseOK

func NewCreateCoordinationV1NamespacedLeaseOK() *CreateCoordinationV1NamespacedLeaseOK

NewCreateCoordinationV1NamespacedLeaseOK creates CreateCoordinationV1NamespacedLeaseOK with default headers values

func (*CreateCoordinationV1NamespacedLeaseOK) SetPayload

SetPayload sets the payload to the create coordination v1 namespaced lease o k response

func (*CreateCoordinationV1NamespacedLeaseOK) WithPayload

WithPayload adds the payload to the create coordination v1 namespaced lease o k response

func (*CreateCoordinationV1NamespacedLeaseOK) WriteResponse

WriteResponse to the client

type CreateCoordinationV1NamespacedLeaseParams

type CreateCoordinationV1NamespacedLeaseParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.IoK8sAPICoordinationV1Lease
	/*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
	/*object name and auth scope, such as for teams and projects
	  Required: true
	  Unique: true
	  In: path
	*/
	Namespace string
	/*If 'true', then the output is pretty printed.
	  Unique: true
	  In: query
	*/
	Pretty *string
}

CreateCoordinationV1NamespacedLeaseParams contains all the bound params for the create coordination v1 namespaced lease operation typically these are obtained from a http.Request

swagger:parameters createCoordinationV1NamespacedLease

func NewCreateCoordinationV1NamespacedLeaseParams

func NewCreateCoordinationV1NamespacedLeaseParams() CreateCoordinationV1NamespacedLeaseParams

NewCreateCoordinationV1NamespacedLeaseParams creates a new CreateCoordinationV1NamespacedLeaseParams object no default values defined in spec.

func (*CreateCoordinationV1NamespacedLeaseParams) 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 NewCreateCoordinationV1NamespacedLeaseParams() beforehand.

type CreateCoordinationV1NamespacedLeaseUnauthorized

type CreateCoordinationV1NamespacedLeaseUnauthorized struct {
}

CreateCoordinationV1NamespacedLeaseUnauthorized Unauthorized

swagger:response createCoordinationV1NamespacedLeaseUnauthorized

func NewCreateCoordinationV1NamespacedLeaseUnauthorized

func NewCreateCoordinationV1NamespacedLeaseUnauthorized() *CreateCoordinationV1NamespacedLeaseUnauthorized

NewCreateCoordinationV1NamespacedLeaseUnauthorized creates CreateCoordinationV1NamespacedLeaseUnauthorized with default headers values

func (*CreateCoordinationV1NamespacedLeaseUnauthorized) WriteResponse

WriteResponse to the client

type DeleteCoordinationV1CollectionNamespacedLease

type DeleteCoordinationV1CollectionNamespacedLease struct {
	Context *middleware.Context
	Handler DeleteCoordinationV1CollectionNamespacedLeaseHandler
}

DeleteCoordinationV1CollectionNamespacedLease swagger:route DELETE /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases coordination_v1 deleteCoordinationV1CollectionNamespacedLease

delete collection of Lease

func NewDeleteCoordinationV1CollectionNamespacedLease

NewDeleteCoordinationV1CollectionNamespacedLease creates a new http.Handler for the delete coordination v1 collection namespaced lease operation

func (*DeleteCoordinationV1CollectionNamespacedLease) ServeHTTP

type DeleteCoordinationV1CollectionNamespacedLeaseHandler

type DeleteCoordinationV1CollectionNamespacedLeaseHandler interface {
	Handle(DeleteCoordinationV1CollectionNamespacedLeaseParams) middleware.Responder
}

DeleteCoordinationV1CollectionNamespacedLeaseHandler interface for that can handle valid delete coordination v1 collection namespaced lease params

type DeleteCoordinationV1CollectionNamespacedLeaseHandlerFunc

type DeleteCoordinationV1CollectionNamespacedLeaseHandlerFunc func(DeleteCoordinationV1CollectionNamespacedLeaseParams) middleware.Responder

DeleteCoordinationV1CollectionNamespacedLeaseHandlerFunc turns a function with the right signature into a delete coordination v1 collection namespaced lease handler

func (DeleteCoordinationV1CollectionNamespacedLeaseHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteCoordinationV1CollectionNamespacedLeaseOK

type DeleteCoordinationV1CollectionNamespacedLeaseOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"`
}

DeleteCoordinationV1CollectionNamespacedLeaseOK OK

swagger:response deleteCoordinationV1CollectionNamespacedLeaseOK

func NewDeleteCoordinationV1CollectionNamespacedLeaseOK

func NewDeleteCoordinationV1CollectionNamespacedLeaseOK() *DeleteCoordinationV1CollectionNamespacedLeaseOK

NewDeleteCoordinationV1CollectionNamespacedLeaseOK creates DeleteCoordinationV1CollectionNamespacedLeaseOK with default headers values

func (*DeleteCoordinationV1CollectionNamespacedLeaseOK) SetPayload

SetPayload sets the payload to the delete coordination v1 collection namespaced lease o k response

func (*DeleteCoordinationV1CollectionNamespacedLeaseOK) WithPayload

WithPayload adds the payload to the delete coordination v1 collection namespaced lease o k response

func (*DeleteCoordinationV1CollectionNamespacedLeaseOK) WriteResponse

WriteResponse to the client

type DeleteCoordinationV1CollectionNamespacedLeaseParams

type DeleteCoordinationV1CollectionNamespacedLeaseParams 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
	/*object name and auth scope, such as for teams and projects
	  Required: true
	  Unique: true
	  In: path
	*/
	Namespace 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
	/*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
}

DeleteCoordinationV1CollectionNamespacedLeaseParams contains all the bound params for the delete coordination v1 collection namespaced lease operation typically these are obtained from a http.Request

swagger:parameters deleteCoordinationV1CollectionNamespacedLease

func NewDeleteCoordinationV1CollectionNamespacedLeaseParams

func NewDeleteCoordinationV1CollectionNamespacedLeaseParams() DeleteCoordinationV1CollectionNamespacedLeaseParams

NewDeleteCoordinationV1CollectionNamespacedLeaseParams creates a new DeleteCoordinationV1CollectionNamespacedLeaseParams object no default values defined in spec.

func (*DeleteCoordinationV1CollectionNamespacedLeaseParams) 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 NewDeleteCoordinationV1CollectionNamespacedLeaseParams() beforehand.

type DeleteCoordinationV1CollectionNamespacedLeaseUnauthorized

type DeleteCoordinationV1CollectionNamespacedLeaseUnauthorized struct {
}

DeleteCoordinationV1CollectionNamespacedLeaseUnauthorized Unauthorized

swagger:response deleteCoordinationV1CollectionNamespacedLeaseUnauthorized

func NewDeleteCoordinationV1CollectionNamespacedLeaseUnauthorized

func NewDeleteCoordinationV1CollectionNamespacedLeaseUnauthorized() *DeleteCoordinationV1CollectionNamespacedLeaseUnauthorized

NewDeleteCoordinationV1CollectionNamespacedLeaseUnauthorized creates DeleteCoordinationV1CollectionNamespacedLeaseUnauthorized with default headers values

func (*DeleteCoordinationV1CollectionNamespacedLeaseUnauthorized) WriteResponse

WriteResponse to the client

type DeleteCoordinationV1NamespacedLease

type DeleteCoordinationV1NamespacedLease struct {
	Context *middleware.Context
	Handler DeleteCoordinationV1NamespacedLeaseHandler
}

DeleteCoordinationV1NamespacedLease swagger:route DELETE /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name} coordination_v1 deleteCoordinationV1NamespacedLease

delete a Lease

func NewDeleteCoordinationV1NamespacedLease

func NewDeleteCoordinationV1NamespacedLease(ctx *middleware.Context, handler DeleteCoordinationV1NamespacedLeaseHandler) *DeleteCoordinationV1NamespacedLease

NewDeleteCoordinationV1NamespacedLease creates a new http.Handler for the delete coordination v1 namespaced lease operation

func (*DeleteCoordinationV1NamespacedLease) ServeHTTP

type DeleteCoordinationV1NamespacedLeaseAccepted

type DeleteCoordinationV1NamespacedLeaseAccepted struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"`
}

DeleteCoordinationV1NamespacedLeaseAccepted Accepted

swagger:response deleteCoordinationV1NamespacedLeaseAccepted

func NewDeleteCoordinationV1NamespacedLeaseAccepted

func NewDeleteCoordinationV1NamespacedLeaseAccepted() *DeleteCoordinationV1NamespacedLeaseAccepted

NewDeleteCoordinationV1NamespacedLeaseAccepted creates DeleteCoordinationV1NamespacedLeaseAccepted with default headers values

func (*DeleteCoordinationV1NamespacedLeaseAccepted) SetPayload

SetPayload sets the payload to the delete coordination v1 namespaced lease accepted response

func (*DeleteCoordinationV1NamespacedLeaseAccepted) WithPayload

WithPayload adds the payload to the delete coordination v1 namespaced lease accepted response

func (*DeleteCoordinationV1NamespacedLeaseAccepted) WriteResponse

WriteResponse to the client

type DeleteCoordinationV1NamespacedLeaseHandler

type DeleteCoordinationV1NamespacedLeaseHandler interface {
	Handle(DeleteCoordinationV1NamespacedLeaseParams) middleware.Responder
}

DeleteCoordinationV1NamespacedLeaseHandler interface for that can handle valid delete coordination v1 namespaced lease params

type DeleteCoordinationV1NamespacedLeaseHandlerFunc

type DeleteCoordinationV1NamespacedLeaseHandlerFunc func(DeleteCoordinationV1NamespacedLeaseParams) middleware.Responder

DeleteCoordinationV1NamespacedLeaseHandlerFunc turns a function with the right signature into a delete coordination v1 namespaced lease handler

func (DeleteCoordinationV1NamespacedLeaseHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteCoordinationV1NamespacedLeaseOK

type DeleteCoordinationV1NamespacedLeaseOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"`
}

DeleteCoordinationV1NamespacedLeaseOK OK

swagger:response deleteCoordinationV1NamespacedLeaseOK

func NewDeleteCoordinationV1NamespacedLeaseOK

func NewDeleteCoordinationV1NamespacedLeaseOK() *DeleteCoordinationV1NamespacedLeaseOK

NewDeleteCoordinationV1NamespacedLeaseOK creates DeleteCoordinationV1NamespacedLeaseOK with default headers values

func (*DeleteCoordinationV1NamespacedLeaseOK) SetPayload

SetPayload sets the payload to the delete coordination v1 namespaced lease o k response

func (*DeleteCoordinationV1NamespacedLeaseOK) WithPayload

WithPayload adds the payload to the delete coordination v1 namespaced lease o k response

func (*DeleteCoordinationV1NamespacedLeaseOK) WriteResponse

WriteResponse to the client

type DeleteCoordinationV1NamespacedLeaseParams

type DeleteCoordinationV1NamespacedLeaseParams 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 Lease
	  Required: true
	  Unique: true
	  In: path
	*/
	Name string
	/*object name and auth scope, such as for teams and projects
	  Required: true
	  Unique: true
	  In: path
	*/
	Namespace 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
}

DeleteCoordinationV1NamespacedLeaseParams contains all the bound params for the delete coordination v1 namespaced lease operation typically these are obtained from a http.Request

swagger:parameters deleteCoordinationV1NamespacedLease

func NewDeleteCoordinationV1NamespacedLeaseParams

func NewDeleteCoordinationV1NamespacedLeaseParams() DeleteCoordinationV1NamespacedLeaseParams

NewDeleteCoordinationV1NamespacedLeaseParams creates a new DeleteCoordinationV1NamespacedLeaseParams object no default values defined in spec.

func (*DeleteCoordinationV1NamespacedLeaseParams) 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 NewDeleteCoordinationV1NamespacedLeaseParams() beforehand.

type DeleteCoordinationV1NamespacedLeaseUnauthorized

type DeleteCoordinationV1NamespacedLeaseUnauthorized struct {
}

DeleteCoordinationV1NamespacedLeaseUnauthorized Unauthorized

swagger:response deleteCoordinationV1NamespacedLeaseUnauthorized

func NewDeleteCoordinationV1NamespacedLeaseUnauthorized

func NewDeleteCoordinationV1NamespacedLeaseUnauthorized() *DeleteCoordinationV1NamespacedLeaseUnauthorized

NewDeleteCoordinationV1NamespacedLeaseUnauthorized creates DeleteCoordinationV1NamespacedLeaseUnauthorized with default headers values

func (*DeleteCoordinationV1NamespacedLeaseUnauthorized) WriteResponse

WriteResponse to the client

type GetCoordinationV1APIResources

type GetCoordinationV1APIResources struct {
	Context *middleware.Context
	Handler GetCoordinationV1APIResourcesHandler
}

GetCoordinationV1APIResources swagger:route GET /apis/coordination.k8s.io/v1/ coordination_v1 getCoordinationV1ApiResources

get available resources

func NewGetCoordinationV1APIResources

func NewGetCoordinationV1APIResources(ctx *middleware.Context, handler GetCoordinationV1APIResourcesHandler) *GetCoordinationV1APIResources

NewGetCoordinationV1APIResources creates a new http.Handler for the get coordination v1 API resources operation

func (*GetCoordinationV1APIResources) ServeHTTP

type GetCoordinationV1APIResourcesHandler

type GetCoordinationV1APIResourcesHandler interface {
	Handle(GetCoordinationV1APIResourcesParams) middleware.Responder
}

GetCoordinationV1APIResourcesHandler interface for that can handle valid get coordination v1 API resources params

type GetCoordinationV1APIResourcesHandlerFunc

type GetCoordinationV1APIResourcesHandlerFunc func(GetCoordinationV1APIResourcesParams) middleware.Responder

GetCoordinationV1APIResourcesHandlerFunc turns a function with the right signature into a get coordination v1 API resources handler

func (GetCoordinationV1APIResourcesHandlerFunc) Handle

Handle executing the request and returning a response

type GetCoordinationV1APIResourcesOK

type GetCoordinationV1APIResourcesOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList `json:"body,omitempty"`
}

GetCoordinationV1APIResourcesOK OK

swagger:response getCoordinationV1ApiResourcesOK

func NewGetCoordinationV1APIResourcesOK

func NewGetCoordinationV1APIResourcesOK() *GetCoordinationV1APIResourcesOK

NewGetCoordinationV1APIResourcesOK creates GetCoordinationV1APIResourcesOK with default headers values

func (*GetCoordinationV1APIResourcesOK) SetPayload

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

func (*GetCoordinationV1APIResourcesOK) WithPayload

WithPayload adds the payload to the get coordination v1 Api resources o k response

func (*GetCoordinationV1APIResourcesOK) WriteResponse

func (o *GetCoordinationV1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetCoordinationV1APIResourcesParams

type GetCoordinationV1APIResourcesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetCoordinationV1APIResourcesParams contains all the bound params for the get coordination v1 API resources operation typically these are obtained from a http.Request

swagger:parameters getCoordinationV1APIResources

func NewGetCoordinationV1APIResourcesParams

func NewGetCoordinationV1APIResourcesParams() GetCoordinationV1APIResourcesParams

NewGetCoordinationV1APIResourcesParams creates a new GetCoordinationV1APIResourcesParams object no default values defined in spec.

func (*GetCoordinationV1APIResourcesParams) 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 NewGetCoordinationV1APIResourcesParams() beforehand.

type GetCoordinationV1APIResourcesUnauthorized

type GetCoordinationV1APIResourcesUnauthorized struct {
}

GetCoordinationV1APIResourcesUnauthorized Unauthorized

swagger:response getCoordinationV1ApiResourcesUnauthorized

func NewGetCoordinationV1APIResourcesUnauthorized

func NewGetCoordinationV1APIResourcesUnauthorized() *GetCoordinationV1APIResourcesUnauthorized

NewGetCoordinationV1APIResourcesUnauthorized creates GetCoordinationV1APIResourcesUnauthorized with default headers values

func (*GetCoordinationV1APIResourcesUnauthorized) WriteResponse

WriteResponse to the client

type ListCoordinationV1LeaseForAllNamespaces

type ListCoordinationV1LeaseForAllNamespaces struct {
	Context *middleware.Context
	Handler ListCoordinationV1LeaseForAllNamespacesHandler
}

ListCoordinationV1LeaseForAllNamespaces swagger:route GET /apis/coordination.k8s.io/v1/leases coordination_v1 listCoordinationV1LeaseForAllNamespaces

list or watch objects of kind Lease

func NewListCoordinationV1LeaseForAllNamespaces

func NewListCoordinationV1LeaseForAllNamespaces(ctx *middleware.Context, handler ListCoordinationV1LeaseForAllNamespacesHandler) *ListCoordinationV1LeaseForAllNamespaces

NewListCoordinationV1LeaseForAllNamespaces creates a new http.Handler for the list coordination v1 lease for all namespaces operation

func (*ListCoordinationV1LeaseForAllNamespaces) ServeHTTP

type ListCoordinationV1LeaseForAllNamespacesHandler

type ListCoordinationV1LeaseForAllNamespacesHandler interface {
	Handle(ListCoordinationV1LeaseForAllNamespacesParams) middleware.Responder
}

ListCoordinationV1LeaseForAllNamespacesHandler interface for that can handle valid list coordination v1 lease for all namespaces params

type ListCoordinationV1LeaseForAllNamespacesHandlerFunc

type ListCoordinationV1LeaseForAllNamespacesHandlerFunc func(ListCoordinationV1LeaseForAllNamespacesParams) middleware.Responder

ListCoordinationV1LeaseForAllNamespacesHandlerFunc turns a function with the right signature into a list coordination v1 lease for all namespaces handler

func (ListCoordinationV1LeaseForAllNamespacesHandlerFunc) Handle

Handle executing the request and returning a response

type ListCoordinationV1LeaseForAllNamespacesOK

type ListCoordinationV1LeaseForAllNamespacesOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPICoordinationV1LeaseList `json:"body,omitempty"`
}

ListCoordinationV1LeaseForAllNamespacesOK OK

swagger:response listCoordinationV1LeaseForAllNamespacesOK

func NewListCoordinationV1LeaseForAllNamespacesOK

func NewListCoordinationV1LeaseForAllNamespacesOK() *ListCoordinationV1LeaseForAllNamespacesOK

NewListCoordinationV1LeaseForAllNamespacesOK creates ListCoordinationV1LeaseForAllNamespacesOK with default headers values

func (*ListCoordinationV1LeaseForAllNamespacesOK) SetPayload

SetPayload sets the payload to the list coordination v1 lease for all namespaces o k response

func (*ListCoordinationV1LeaseForAllNamespacesOK) WithPayload

WithPayload adds the payload to the list coordination v1 lease for all namespaces o k response

func (*ListCoordinationV1LeaseForAllNamespacesOK) WriteResponse

WriteResponse to the client

type ListCoordinationV1LeaseForAllNamespacesParams

type ListCoordinationV1LeaseForAllNamespacesParams 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
}

ListCoordinationV1LeaseForAllNamespacesParams contains all the bound params for the list coordination v1 lease for all namespaces operation typically these are obtained from a http.Request

swagger:parameters listCoordinationV1LeaseForAllNamespaces

func NewListCoordinationV1LeaseForAllNamespacesParams

func NewListCoordinationV1LeaseForAllNamespacesParams() ListCoordinationV1LeaseForAllNamespacesParams

NewListCoordinationV1LeaseForAllNamespacesParams creates a new ListCoordinationV1LeaseForAllNamespacesParams object no default values defined in spec.

func (*ListCoordinationV1LeaseForAllNamespacesParams) 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 NewListCoordinationV1LeaseForAllNamespacesParams() beforehand.

type ListCoordinationV1LeaseForAllNamespacesUnauthorized

type ListCoordinationV1LeaseForAllNamespacesUnauthorized struct {
}

ListCoordinationV1LeaseForAllNamespacesUnauthorized Unauthorized

swagger:response listCoordinationV1LeaseForAllNamespacesUnauthorized

func NewListCoordinationV1LeaseForAllNamespacesUnauthorized

func NewListCoordinationV1LeaseForAllNamespacesUnauthorized() *ListCoordinationV1LeaseForAllNamespacesUnauthorized

NewListCoordinationV1LeaseForAllNamespacesUnauthorized creates ListCoordinationV1LeaseForAllNamespacesUnauthorized with default headers values

func (*ListCoordinationV1LeaseForAllNamespacesUnauthorized) WriteResponse

WriteResponse to the client

type ListCoordinationV1NamespacedLease

type ListCoordinationV1NamespacedLease struct {
	Context *middleware.Context
	Handler ListCoordinationV1NamespacedLeaseHandler
}

ListCoordinationV1NamespacedLease swagger:route GET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases coordination_v1 listCoordinationV1NamespacedLease

list or watch objects of kind Lease

func NewListCoordinationV1NamespacedLease

func NewListCoordinationV1NamespacedLease(ctx *middleware.Context, handler ListCoordinationV1NamespacedLeaseHandler) *ListCoordinationV1NamespacedLease

NewListCoordinationV1NamespacedLease creates a new http.Handler for the list coordination v1 namespaced lease operation

func (*ListCoordinationV1NamespacedLease) ServeHTTP

type ListCoordinationV1NamespacedLeaseHandler

type ListCoordinationV1NamespacedLeaseHandler interface {
	Handle(ListCoordinationV1NamespacedLeaseParams) middleware.Responder
}

ListCoordinationV1NamespacedLeaseHandler interface for that can handle valid list coordination v1 namespaced lease params

type ListCoordinationV1NamespacedLeaseHandlerFunc

type ListCoordinationV1NamespacedLeaseHandlerFunc func(ListCoordinationV1NamespacedLeaseParams) middleware.Responder

ListCoordinationV1NamespacedLeaseHandlerFunc turns a function with the right signature into a list coordination v1 namespaced lease handler

func (ListCoordinationV1NamespacedLeaseHandlerFunc) Handle

Handle executing the request and returning a response

type ListCoordinationV1NamespacedLeaseOK

type ListCoordinationV1NamespacedLeaseOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPICoordinationV1LeaseList `json:"body,omitempty"`
}

ListCoordinationV1NamespacedLeaseOK OK

swagger:response listCoordinationV1NamespacedLeaseOK

func NewListCoordinationV1NamespacedLeaseOK

func NewListCoordinationV1NamespacedLeaseOK() *ListCoordinationV1NamespacedLeaseOK

NewListCoordinationV1NamespacedLeaseOK creates ListCoordinationV1NamespacedLeaseOK with default headers values

func (*ListCoordinationV1NamespacedLeaseOK) SetPayload

SetPayload sets the payload to the list coordination v1 namespaced lease o k response

func (*ListCoordinationV1NamespacedLeaseOK) WithPayload

WithPayload adds the payload to the list coordination v1 namespaced lease o k response

func (*ListCoordinationV1NamespacedLeaseOK) WriteResponse

WriteResponse to the client

type ListCoordinationV1NamespacedLeaseParams

type ListCoordinationV1NamespacedLeaseParams 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
	/*object name and auth scope, such as for teams and projects
	  Required: true
	  Unique: true
	  In: path
	*/
	Namespace 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
}

ListCoordinationV1NamespacedLeaseParams contains all the bound params for the list coordination v1 namespaced lease operation typically these are obtained from a http.Request

swagger:parameters listCoordinationV1NamespacedLease

func NewListCoordinationV1NamespacedLeaseParams

func NewListCoordinationV1NamespacedLeaseParams() ListCoordinationV1NamespacedLeaseParams

NewListCoordinationV1NamespacedLeaseParams creates a new ListCoordinationV1NamespacedLeaseParams object no default values defined in spec.

func (*ListCoordinationV1NamespacedLeaseParams) 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 NewListCoordinationV1NamespacedLeaseParams() beforehand.

type ListCoordinationV1NamespacedLeaseUnauthorized

type ListCoordinationV1NamespacedLeaseUnauthorized struct {
}

ListCoordinationV1NamespacedLeaseUnauthorized Unauthorized

swagger:response listCoordinationV1NamespacedLeaseUnauthorized

func NewListCoordinationV1NamespacedLeaseUnauthorized

func NewListCoordinationV1NamespacedLeaseUnauthorized() *ListCoordinationV1NamespacedLeaseUnauthorized

NewListCoordinationV1NamespacedLeaseUnauthorized creates ListCoordinationV1NamespacedLeaseUnauthorized with default headers values

func (*ListCoordinationV1NamespacedLeaseUnauthorized) WriteResponse

WriteResponse to the client

type PatchCoordinationV1NamespacedLease

type PatchCoordinationV1NamespacedLease struct {
	Context *middleware.Context
	Handler PatchCoordinationV1NamespacedLeaseHandler
}

PatchCoordinationV1NamespacedLease swagger:route PATCH /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name} coordination_v1 patchCoordinationV1NamespacedLease

partially update the specified Lease

func NewPatchCoordinationV1NamespacedLease

func NewPatchCoordinationV1NamespacedLease(ctx *middleware.Context, handler PatchCoordinationV1NamespacedLeaseHandler) *PatchCoordinationV1NamespacedLease

NewPatchCoordinationV1NamespacedLease creates a new http.Handler for the patch coordination v1 namespaced lease operation

func (*PatchCoordinationV1NamespacedLease) ServeHTTP

type PatchCoordinationV1NamespacedLeaseHandler

type PatchCoordinationV1NamespacedLeaseHandler interface {
	Handle(PatchCoordinationV1NamespacedLeaseParams) middleware.Responder
}

PatchCoordinationV1NamespacedLeaseHandler interface for that can handle valid patch coordination v1 namespaced lease params

type PatchCoordinationV1NamespacedLeaseHandlerFunc

type PatchCoordinationV1NamespacedLeaseHandlerFunc func(PatchCoordinationV1NamespacedLeaseParams) middleware.Responder

PatchCoordinationV1NamespacedLeaseHandlerFunc turns a function with the right signature into a patch coordination v1 namespaced lease handler

func (PatchCoordinationV1NamespacedLeaseHandlerFunc) Handle

Handle executing the request and returning a response

type PatchCoordinationV1NamespacedLeaseOK

type PatchCoordinationV1NamespacedLeaseOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPICoordinationV1Lease `json:"body,omitempty"`
}

PatchCoordinationV1NamespacedLeaseOK OK

swagger:response patchCoordinationV1NamespacedLeaseOK

func NewPatchCoordinationV1NamespacedLeaseOK

func NewPatchCoordinationV1NamespacedLeaseOK() *PatchCoordinationV1NamespacedLeaseOK

NewPatchCoordinationV1NamespacedLeaseOK creates PatchCoordinationV1NamespacedLeaseOK with default headers values

func (*PatchCoordinationV1NamespacedLeaseOK) SetPayload

SetPayload sets the payload to the patch coordination v1 namespaced lease o k response

func (*PatchCoordinationV1NamespacedLeaseOK) WithPayload

WithPayload adds the payload to the patch coordination v1 namespaced lease o k response

func (*PatchCoordinationV1NamespacedLeaseOK) WriteResponse

WriteResponse to the client

type PatchCoordinationV1NamespacedLeaseParams

type PatchCoordinationV1NamespacedLeaseParams 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 Lease
	  Required: true
	  Unique: true
	  In: path
	*/
	Name string
	/*object name and auth scope, such as for teams and projects
	  Required: true
	  Unique: true
	  In: path
	*/
	Namespace string
	/*If 'true', then the output is pretty printed.
	  Unique: true
	  In: query
	*/
	Pretty *string
}

PatchCoordinationV1NamespacedLeaseParams contains all the bound params for the patch coordination v1 namespaced lease operation typically these are obtained from a http.Request

swagger:parameters patchCoordinationV1NamespacedLease

func NewPatchCoordinationV1NamespacedLeaseParams

func NewPatchCoordinationV1NamespacedLeaseParams() PatchCoordinationV1NamespacedLeaseParams

NewPatchCoordinationV1NamespacedLeaseParams creates a new PatchCoordinationV1NamespacedLeaseParams object no default values defined in spec.

func (*PatchCoordinationV1NamespacedLeaseParams) 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 NewPatchCoordinationV1NamespacedLeaseParams() beforehand.

type PatchCoordinationV1NamespacedLeaseUnauthorized

type PatchCoordinationV1NamespacedLeaseUnauthorized struct {
}

PatchCoordinationV1NamespacedLeaseUnauthorized Unauthorized

swagger:response patchCoordinationV1NamespacedLeaseUnauthorized

func NewPatchCoordinationV1NamespacedLeaseUnauthorized

func NewPatchCoordinationV1NamespacedLeaseUnauthorized() *PatchCoordinationV1NamespacedLeaseUnauthorized

NewPatchCoordinationV1NamespacedLeaseUnauthorized creates PatchCoordinationV1NamespacedLeaseUnauthorized with default headers values

func (*PatchCoordinationV1NamespacedLeaseUnauthorized) WriteResponse

WriteResponse to the client

type ReadCoordinationV1NamespacedLease

type ReadCoordinationV1NamespacedLease struct {
	Context *middleware.Context
	Handler ReadCoordinationV1NamespacedLeaseHandler
}

ReadCoordinationV1NamespacedLease swagger:route GET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name} coordination_v1 readCoordinationV1NamespacedLease

read the specified Lease

func NewReadCoordinationV1NamespacedLease

func NewReadCoordinationV1NamespacedLease(ctx *middleware.Context, handler ReadCoordinationV1NamespacedLeaseHandler) *ReadCoordinationV1NamespacedLease

NewReadCoordinationV1NamespacedLease creates a new http.Handler for the read coordination v1 namespaced lease operation

func (*ReadCoordinationV1NamespacedLease) ServeHTTP

type ReadCoordinationV1NamespacedLeaseHandler

type ReadCoordinationV1NamespacedLeaseHandler interface {
	Handle(ReadCoordinationV1NamespacedLeaseParams) middleware.Responder
}

ReadCoordinationV1NamespacedLeaseHandler interface for that can handle valid read coordination v1 namespaced lease params

type ReadCoordinationV1NamespacedLeaseHandlerFunc

type ReadCoordinationV1NamespacedLeaseHandlerFunc func(ReadCoordinationV1NamespacedLeaseParams) middleware.Responder

ReadCoordinationV1NamespacedLeaseHandlerFunc turns a function with the right signature into a read coordination v1 namespaced lease handler

func (ReadCoordinationV1NamespacedLeaseHandlerFunc) Handle

Handle executing the request and returning a response

type ReadCoordinationV1NamespacedLeaseOK

type ReadCoordinationV1NamespacedLeaseOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPICoordinationV1Lease `json:"body,omitempty"`
}

ReadCoordinationV1NamespacedLeaseOK OK

swagger:response readCoordinationV1NamespacedLeaseOK

func NewReadCoordinationV1NamespacedLeaseOK

func NewReadCoordinationV1NamespacedLeaseOK() *ReadCoordinationV1NamespacedLeaseOK

NewReadCoordinationV1NamespacedLeaseOK creates ReadCoordinationV1NamespacedLeaseOK with default headers values

func (*ReadCoordinationV1NamespacedLeaseOK) SetPayload

SetPayload sets the payload to the read coordination v1 namespaced lease o k response

func (*ReadCoordinationV1NamespacedLeaseOK) WithPayload

WithPayload adds the payload to the read coordination v1 namespaced lease o k response

func (*ReadCoordinationV1NamespacedLeaseOK) WriteResponse

WriteResponse to the client

type ReadCoordinationV1NamespacedLeaseParams

type ReadCoordinationV1NamespacedLeaseParams 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 Lease
	  Required: true
	  Unique: true
	  In: path
	*/
	Name string
	/*object name and auth scope, such as for teams and projects
	  Required: true
	  Unique: true
	  In: path
	*/
	Namespace string
	/*If 'true', then the output is pretty printed.
	  Unique: true
	  In: query
	*/
	Pretty *string
}

ReadCoordinationV1NamespacedLeaseParams contains all the bound params for the read coordination v1 namespaced lease operation typically these are obtained from a http.Request

swagger:parameters readCoordinationV1NamespacedLease

func NewReadCoordinationV1NamespacedLeaseParams

func NewReadCoordinationV1NamespacedLeaseParams() ReadCoordinationV1NamespacedLeaseParams

NewReadCoordinationV1NamespacedLeaseParams creates a new ReadCoordinationV1NamespacedLeaseParams object no default values defined in spec.

func (*ReadCoordinationV1NamespacedLeaseParams) 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 NewReadCoordinationV1NamespacedLeaseParams() beforehand.

type ReadCoordinationV1NamespacedLeaseUnauthorized

type ReadCoordinationV1NamespacedLeaseUnauthorized struct {
}

ReadCoordinationV1NamespacedLeaseUnauthorized Unauthorized

swagger:response readCoordinationV1NamespacedLeaseUnauthorized

func NewReadCoordinationV1NamespacedLeaseUnauthorized

func NewReadCoordinationV1NamespacedLeaseUnauthorized() *ReadCoordinationV1NamespacedLeaseUnauthorized

NewReadCoordinationV1NamespacedLeaseUnauthorized creates ReadCoordinationV1NamespacedLeaseUnauthorized with default headers values

func (*ReadCoordinationV1NamespacedLeaseUnauthorized) WriteResponse

WriteResponse to the client

type ReplaceCoordinationV1NamespacedLease

type ReplaceCoordinationV1NamespacedLease struct {
	Context *middleware.Context
	Handler ReplaceCoordinationV1NamespacedLeaseHandler
}

ReplaceCoordinationV1NamespacedLease swagger:route PUT /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name} coordination_v1 replaceCoordinationV1NamespacedLease

replace the specified Lease

func NewReplaceCoordinationV1NamespacedLease

func NewReplaceCoordinationV1NamespacedLease(ctx *middleware.Context, handler ReplaceCoordinationV1NamespacedLeaseHandler) *ReplaceCoordinationV1NamespacedLease

NewReplaceCoordinationV1NamespacedLease creates a new http.Handler for the replace coordination v1 namespaced lease operation

func (*ReplaceCoordinationV1NamespacedLease) ServeHTTP

type ReplaceCoordinationV1NamespacedLeaseCreated

type ReplaceCoordinationV1NamespacedLeaseCreated struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPICoordinationV1Lease `json:"body,omitempty"`
}

ReplaceCoordinationV1NamespacedLeaseCreated Created

swagger:response replaceCoordinationV1NamespacedLeaseCreated

func NewReplaceCoordinationV1NamespacedLeaseCreated

func NewReplaceCoordinationV1NamespacedLeaseCreated() *ReplaceCoordinationV1NamespacedLeaseCreated

NewReplaceCoordinationV1NamespacedLeaseCreated creates ReplaceCoordinationV1NamespacedLeaseCreated with default headers values

func (*ReplaceCoordinationV1NamespacedLeaseCreated) SetPayload

SetPayload sets the payload to the replace coordination v1 namespaced lease created response

func (*ReplaceCoordinationV1NamespacedLeaseCreated) WithPayload

WithPayload adds the payload to the replace coordination v1 namespaced lease created response

func (*ReplaceCoordinationV1NamespacedLeaseCreated) WriteResponse

WriteResponse to the client

type ReplaceCoordinationV1NamespacedLeaseHandler

type ReplaceCoordinationV1NamespacedLeaseHandler interface {
	Handle(ReplaceCoordinationV1NamespacedLeaseParams) middleware.Responder
}

ReplaceCoordinationV1NamespacedLeaseHandler interface for that can handle valid replace coordination v1 namespaced lease params

type ReplaceCoordinationV1NamespacedLeaseHandlerFunc

type ReplaceCoordinationV1NamespacedLeaseHandlerFunc func(ReplaceCoordinationV1NamespacedLeaseParams) middleware.Responder

ReplaceCoordinationV1NamespacedLeaseHandlerFunc turns a function with the right signature into a replace coordination v1 namespaced lease handler

func (ReplaceCoordinationV1NamespacedLeaseHandlerFunc) Handle

Handle executing the request and returning a response

type ReplaceCoordinationV1NamespacedLeaseOK

type ReplaceCoordinationV1NamespacedLeaseOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sAPICoordinationV1Lease `json:"body,omitempty"`
}

ReplaceCoordinationV1NamespacedLeaseOK OK

swagger:response replaceCoordinationV1NamespacedLeaseOK

func NewReplaceCoordinationV1NamespacedLeaseOK

func NewReplaceCoordinationV1NamespacedLeaseOK() *ReplaceCoordinationV1NamespacedLeaseOK

NewReplaceCoordinationV1NamespacedLeaseOK creates ReplaceCoordinationV1NamespacedLeaseOK with default headers values

func (*ReplaceCoordinationV1NamespacedLeaseOK) SetPayload

SetPayload sets the payload to the replace coordination v1 namespaced lease o k response

func (*ReplaceCoordinationV1NamespacedLeaseOK) WithPayload

WithPayload adds the payload to the replace coordination v1 namespaced lease o k response

func (*ReplaceCoordinationV1NamespacedLeaseOK) WriteResponse

WriteResponse to the client

type ReplaceCoordinationV1NamespacedLeaseParams

type ReplaceCoordinationV1NamespacedLeaseParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.IoK8sAPICoordinationV1Lease
	/*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 Lease
	  Required: true
	  Unique: true
	  In: path
	*/
	Name string
	/*object name and auth scope, such as for teams and projects
	  Required: true
	  Unique: true
	  In: path
	*/
	Namespace string
	/*If 'true', then the output is pretty printed.
	  Unique: true
	  In: query
	*/
	Pretty *string
}

ReplaceCoordinationV1NamespacedLeaseParams contains all the bound params for the replace coordination v1 namespaced lease operation typically these are obtained from a http.Request

swagger:parameters replaceCoordinationV1NamespacedLease

func NewReplaceCoordinationV1NamespacedLeaseParams

func NewReplaceCoordinationV1NamespacedLeaseParams() ReplaceCoordinationV1NamespacedLeaseParams

NewReplaceCoordinationV1NamespacedLeaseParams creates a new ReplaceCoordinationV1NamespacedLeaseParams object no default values defined in spec.

func (*ReplaceCoordinationV1NamespacedLeaseParams) 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 NewReplaceCoordinationV1NamespacedLeaseParams() beforehand.

type ReplaceCoordinationV1NamespacedLeaseUnauthorized

type ReplaceCoordinationV1NamespacedLeaseUnauthorized struct {
}

ReplaceCoordinationV1NamespacedLeaseUnauthorized Unauthorized

swagger:response replaceCoordinationV1NamespacedLeaseUnauthorized

func NewReplaceCoordinationV1NamespacedLeaseUnauthorized

func NewReplaceCoordinationV1NamespacedLeaseUnauthorized() *ReplaceCoordinationV1NamespacedLeaseUnauthorized

NewReplaceCoordinationV1NamespacedLeaseUnauthorized creates ReplaceCoordinationV1NamespacedLeaseUnauthorized with default headers values

func (*ReplaceCoordinationV1NamespacedLeaseUnauthorized) WriteResponse

WriteResponse to the client

type WatchCoordinationV1LeaseListForAllNamespaces

type WatchCoordinationV1LeaseListForAllNamespaces struct {
	Context *middleware.Context
	Handler WatchCoordinationV1LeaseListForAllNamespacesHandler
}

WatchCoordinationV1LeaseListForAllNamespaces swagger:route GET /apis/coordination.k8s.io/v1/watch/leases coordination_v1 watchCoordinationV1LeaseListForAllNamespaces

watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.

func NewWatchCoordinationV1LeaseListForAllNamespaces

NewWatchCoordinationV1LeaseListForAllNamespaces creates a new http.Handler for the watch coordination v1 lease list for all namespaces operation

func (*WatchCoordinationV1LeaseListForAllNamespaces) ServeHTTP

type WatchCoordinationV1LeaseListForAllNamespacesHandler

type WatchCoordinationV1LeaseListForAllNamespacesHandler interface {
	Handle(WatchCoordinationV1LeaseListForAllNamespacesParams) middleware.Responder
}

WatchCoordinationV1LeaseListForAllNamespacesHandler interface for that can handle valid watch coordination v1 lease list for all namespaces params

type WatchCoordinationV1LeaseListForAllNamespacesHandlerFunc

type WatchCoordinationV1LeaseListForAllNamespacesHandlerFunc func(WatchCoordinationV1LeaseListForAllNamespacesParams) middleware.Responder

WatchCoordinationV1LeaseListForAllNamespacesHandlerFunc turns a function with the right signature into a watch coordination v1 lease list for all namespaces handler

func (WatchCoordinationV1LeaseListForAllNamespacesHandlerFunc) Handle

Handle executing the request and returning a response

type WatchCoordinationV1LeaseListForAllNamespacesOK

type WatchCoordinationV1LeaseListForAllNamespacesOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"`
}

WatchCoordinationV1LeaseListForAllNamespacesOK OK

swagger:response watchCoordinationV1LeaseListForAllNamespacesOK

func NewWatchCoordinationV1LeaseListForAllNamespacesOK

func NewWatchCoordinationV1LeaseListForAllNamespacesOK() *WatchCoordinationV1LeaseListForAllNamespacesOK

NewWatchCoordinationV1LeaseListForAllNamespacesOK creates WatchCoordinationV1LeaseListForAllNamespacesOK with default headers values

func (*WatchCoordinationV1LeaseListForAllNamespacesOK) SetPayload

SetPayload sets the payload to the watch coordination v1 lease list for all namespaces o k response

func (*WatchCoordinationV1LeaseListForAllNamespacesOK) WithPayload

WithPayload adds the payload to the watch coordination v1 lease list for all namespaces o k response

func (*WatchCoordinationV1LeaseListForAllNamespacesOK) WriteResponse

WriteResponse to the client

type WatchCoordinationV1LeaseListForAllNamespacesParams

type WatchCoordinationV1LeaseListForAllNamespacesParams 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
}

WatchCoordinationV1LeaseListForAllNamespacesParams contains all the bound params for the watch coordination v1 lease list for all namespaces operation typically these are obtained from a http.Request

swagger:parameters watchCoordinationV1LeaseListForAllNamespaces

func NewWatchCoordinationV1LeaseListForAllNamespacesParams

func NewWatchCoordinationV1LeaseListForAllNamespacesParams() WatchCoordinationV1LeaseListForAllNamespacesParams

NewWatchCoordinationV1LeaseListForAllNamespacesParams creates a new WatchCoordinationV1LeaseListForAllNamespacesParams object no default values defined in spec.

func (*WatchCoordinationV1LeaseListForAllNamespacesParams) 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 NewWatchCoordinationV1LeaseListForAllNamespacesParams() beforehand.

type WatchCoordinationV1LeaseListForAllNamespacesUnauthorized

type WatchCoordinationV1LeaseListForAllNamespacesUnauthorized struct {
}

WatchCoordinationV1LeaseListForAllNamespacesUnauthorized Unauthorized

swagger:response watchCoordinationV1LeaseListForAllNamespacesUnauthorized

func NewWatchCoordinationV1LeaseListForAllNamespacesUnauthorized

func NewWatchCoordinationV1LeaseListForAllNamespacesUnauthorized() *WatchCoordinationV1LeaseListForAllNamespacesUnauthorized

NewWatchCoordinationV1LeaseListForAllNamespacesUnauthorized creates WatchCoordinationV1LeaseListForAllNamespacesUnauthorized with default headers values

func (*WatchCoordinationV1LeaseListForAllNamespacesUnauthorized) WriteResponse

WriteResponse to the client

type WatchCoordinationV1NamespacedLease

type WatchCoordinationV1NamespacedLease struct {
	Context *middleware.Context
	Handler WatchCoordinationV1NamespacedLeaseHandler
}

WatchCoordinationV1NamespacedLease swagger:route GET /apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name} coordination_v1 watchCoordinationV1NamespacedLease

watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.

func NewWatchCoordinationV1NamespacedLease

func NewWatchCoordinationV1NamespacedLease(ctx *middleware.Context, handler WatchCoordinationV1NamespacedLeaseHandler) *WatchCoordinationV1NamespacedLease

NewWatchCoordinationV1NamespacedLease creates a new http.Handler for the watch coordination v1 namespaced lease operation

func (*WatchCoordinationV1NamespacedLease) ServeHTTP

type WatchCoordinationV1NamespacedLeaseHandler

type WatchCoordinationV1NamespacedLeaseHandler interface {
	Handle(WatchCoordinationV1NamespacedLeaseParams) middleware.Responder
}

WatchCoordinationV1NamespacedLeaseHandler interface for that can handle valid watch coordination v1 namespaced lease params

type WatchCoordinationV1NamespacedLeaseHandlerFunc

type WatchCoordinationV1NamespacedLeaseHandlerFunc func(WatchCoordinationV1NamespacedLeaseParams) middleware.Responder

WatchCoordinationV1NamespacedLeaseHandlerFunc turns a function with the right signature into a watch coordination v1 namespaced lease handler

func (WatchCoordinationV1NamespacedLeaseHandlerFunc) Handle

Handle executing the request and returning a response

type WatchCoordinationV1NamespacedLeaseList

type WatchCoordinationV1NamespacedLeaseList struct {
	Context *middleware.Context
	Handler WatchCoordinationV1NamespacedLeaseListHandler
}

WatchCoordinationV1NamespacedLeaseList swagger:route GET /apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases coordination_v1 watchCoordinationV1NamespacedLeaseList

watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.

func NewWatchCoordinationV1NamespacedLeaseList

func NewWatchCoordinationV1NamespacedLeaseList(ctx *middleware.Context, handler WatchCoordinationV1NamespacedLeaseListHandler) *WatchCoordinationV1NamespacedLeaseList

NewWatchCoordinationV1NamespacedLeaseList creates a new http.Handler for the watch coordination v1 namespaced lease list operation

func (*WatchCoordinationV1NamespacedLeaseList) ServeHTTP

type WatchCoordinationV1NamespacedLeaseListHandler

type WatchCoordinationV1NamespacedLeaseListHandler interface {
	Handle(WatchCoordinationV1NamespacedLeaseListParams) middleware.Responder
}

WatchCoordinationV1NamespacedLeaseListHandler interface for that can handle valid watch coordination v1 namespaced lease list params

type WatchCoordinationV1NamespacedLeaseListHandlerFunc

type WatchCoordinationV1NamespacedLeaseListHandlerFunc func(WatchCoordinationV1NamespacedLeaseListParams) middleware.Responder

WatchCoordinationV1NamespacedLeaseListHandlerFunc turns a function with the right signature into a watch coordination v1 namespaced lease list handler

func (WatchCoordinationV1NamespacedLeaseListHandlerFunc) Handle

Handle executing the request and returning a response

type WatchCoordinationV1NamespacedLeaseListOK

type WatchCoordinationV1NamespacedLeaseListOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"`
}

WatchCoordinationV1NamespacedLeaseListOK OK

swagger:response watchCoordinationV1NamespacedLeaseListOK

func NewWatchCoordinationV1NamespacedLeaseListOK

func NewWatchCoordinationV1NamespacedLeaseListOK() *WatchCoordinationV1NamespacedLeaseListOK

NewWatchCoordinationV1NamespacedLeaseListOK creates WatchCoordinationV1NamespacedLeaseListOK with default headers values

func (*WatchCoordinationV1NamespacedLeaseListOK) SetPayload

SetPayload sets the payload to the watch coordination v1 namespaced lease list o k response

func (*WatchCoordinationV1NamespacedLeaseListOK) WithPayload

WithPayload adds the payload to the watch coordination v1 namespaced lease list o k response

func (*WatchCoordinationV1NamespacedLeaseListOK) WriteResponse

WriteResponse to the client

type WatchCoordinationV1NamespacedLeaseListParams

type WatchCoordinationV1NamespacedLeaseListParams 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
	/*object name and auth scope, such as for teams and projects
	  Required: true
	  Unique: true
	  In: path
	*/
	Namespace 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
}

WatchCoordinationV1NamespacedLeaseListParams contains all the bound params for the watch coordination v1 namespaced lease list operation typically these are obtained from a http.Request

swagger:parameters watchCoordinationV1NamespacedLeaseList

func NewWatchCoordinationV1NamespacedLeaseListParams

func NewWatchCoordinationV1NamespacedLeaseListParams() WatchCoordinationV1NamespacedLeaseListParams

NewWatchCoordinationV1NamespacedLeaseListParams creates a new WatchCoordinationV1NamespacedLeaseListParams object no default values defined in spec.

func (*WatchCoordinationV1NamespacedLeaseListParams) 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 NewWatchCoordinationV1NamespacedLeaseListParams() beforehand.

type WatchCoordinationV1NamespacedLeaseListUnauthorized

type WatchCoordinationV1NamespacedLeaseListUnauthorized struct {
}

WatchCoordinationV1NamespacedLeaseListUnauthorized Unauthorized

swagger:response watchCoordinationV1NamespacedLeaseListUnauthorized

func NewWatchCoordinationV1NamespacedLeaseListUnauthorized

func NewWatchCoordinationV1NamespacedLeaseListUnauthorized() *WatchCoordinationV1NamespacedLeaseListUnauthorized

NewWatchCoordinationV1NamespacedLeaseListUnauthorized creates WatchCoordinationV1NamespacedLeaseListUnauthorized with default headers values

func (*WatchCoordinationV1NamespacedLeaseListUnauthorized) WriteResponse

WriteResponse to the client

type WatchCoordinationV1NamespacedLeaseOK

type WatchCoordinationV1NamespacedLeaseOK struct {

	/*
	  In: Body
	*/
	Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"`
}

WatchCoordinationV1NamespacedLeaseOK OK

swagger:response watchCoordinationV1NamespacedLeaseOK

func NewWatchCoordinationV1NamespacedLeaseOK

func NewWatchCoordinationV1NamespacedLeaseOK() *WatchCoordinationV1NamespacedLeaseOK

NewWatchCoordinationV1NamespacedLeaseOK creates WatchCoordinationV1NamespacedLeaseOK with default headers values

func (*WatchCoordinationV1NamespacedLeaseOK) SetPayload

SetPayload sets the payload to the watch coordination v1 namespaced lease o k response

func (*WatchCoordinationV1NamespacedLeaseOK) WithPayload

WithPayload adds the payload to the watch coordination v1 namespaced lease o k response

func (*WatchCoordinationV1NamespacedLeaseOK) WriteResponse

WriteResponse to the client

type WatchCoordinationV1NamespacedLeaseParams

type WatchCoordinationV1NamespacedLeaseParams 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 Lease
	  Required: true
	  Unique: true
	  In: path
	*/
	Name string
	/*object name and auth scope, such as for teams and projects
	  Required: true
	  Unique: true
	  In: path
	*/
	Namespace 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
}

WatchCoordinationV1NamespacedLeaseParams contains all the bound params for the watch coordination v1 namespaced lease operation typically these are obtained from a http.Request

swagger:parameters watchCoordinationV1NamespacedLease

func NewWatchCoordinationV1NamespacedLeaseParams

func NewWatchCoordinationV1NamespacedLeaseParams() WatchCoordinationV1NamespacedLeaseParams

NewWatchCoordinationV1NamespacedLeaseParams creates a new WatchCoordinationV1NamespacedLeaseParams object no default values defined in spec.

func (*WatchCoordinationV1NamespacedLeaseParams) 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 NewWatchCoordinationV1NamespacedLeaseParams() beforehand.

type WatchCoordinationV1NamespacedLeaseUnauthorized

type WatchCoordinationV1NamespacedLeaseUnauthorized struct {
}

WatchCoordinationV1NamespacedLeaseUnauthorized Unauthorized

swagger:response watchCoordinationV1NamespacedLeaseUnauthorized

func NewWatchCoordinationV1NamespacedLeaseUnauthorized

func NewWatchCoordinationV1NamespacedLeaseUnauthorized() *WatchCoordinationV1NamespacedLeaseUnauthorized

NewWatchCoordinationV1NamespacedLeaseUnauthorized creates WatchCoordinationV1NamespacedLeaseUnauthorized with default headers values

func (*WatchCoordinationV1NamespacedLeaseUnauthorized) WriteResponse

WriteResponse to the client

Source Files

Jump to

Keyboard shortcuts

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