events_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 CreateEventsV1NamespacedEventAcceptedCode int = 202

CreateEventsV1NamespacedEventAcceptedCode is the HTTP code returned for type CreateEventsV1NamespacedEventAccepted

View Source
const CreateEventsV1NamespacedEventCreatedCode int = 201

CreateEventsV1NamespacedEventCreatedCode is the HTTP code returned for type CreateEventsV1NamespacedEventCreated

View Source
const CreateEventsV1NamespacedEventOKCode int = 200

CreateEventsV1NamespacedEventOKCode is the HTTP code returned for type CreateEventsV1NamespacedEventOK

View Source
const CreateEventsV1NamespacedEventUnauthorizedCode int = 401

CreateEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type CreateEventsV1NamespacedEventUnauthorized

View Source
const DeleteEventsV1CollectionNamespacedEventOKCode int = 200

DeleteEventsV1CollectionNamespacedEventOKCode is the HTTP code returned for type DeleteEventsV1CollectionNamespacedEventOK

View Source
const DeleteEventsV1CollectionNamespacedEventUnauthorizedCode int = 401

DeleteEventsV1CollectionNamespacedEventUnauthorizedCode is the HTTP code returned for type DeleteEventsV1CollectionNamespacedEventUnauthorized

View Source
const DeleteEventsV1NamespacedEventAcceptedCode int = 202

DeleteEventsV1NamespacedEventAcceptedCode is the HTTP code returned for type DeleteEventsV1NamespacedEventAccepted

View Source
const DeleteEventsV1NamespacedEventOKCode int = 200

DeleteEventsV1NamespacedEventOKCode is the HTTP code returned for type DeleteEventsV1NamespacedEventOK

View Source
const DeleteEventsV1NamespacedEventUnauthorizedCode int = 401

DeleteEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type DeleteEventsV1NamespacedEventUnauthorized

View Source
const GetEventsV1APIResourcesOKCode int = 200

GetEventsV1APIResourcesOKCode is the HTTP code returned for type GetEventsV1APIResourcesOK

View Source
const GetEventsV1APIResourcesUnauthorizedCode int = 401

GetEventsV1APIResourcesUnauthorizedCode is the HTTP code returned for type GetEventsV1APIResourcesUnauthorized

View Source
const ListEventsV1EventForAllNamespacesOKCode int = 200

ListEventsV1EventForAllNamespacesOKCode is the HTTP code returned for type ListEventsV1EventForAllNamespacesOK

View Source
const ListEventsV1EventForAllNamespacesUnauthorizedCode int = 401

ListEventsV1EventForAllNamespacesUnauthorizedCode is the HTTP code returned for type ListEventsV1EventForAllNamespacesUnauthorized

View Source
const ListEventsV1NamespacedEventOKCode int = 200

ListEventsV1NamespacedEventOKCode is the HTTP code returned for type ListEventsV1NamespacedEventOK

View Source
const ListEventsV1NamespacedEventUnauthorizedCode int = 401

ListEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type ListEventsV1NamespacedEventUnauthorized

View Source
const PatchEventsV1NamespacedEventOKCode int = 200

PatchEventsV1NamespacedEventOKCode is the HTTP code returned for type PatchEventsV1NamespacedEventOK

View Source
const PatchEventsV1NamespacedEventUnauthorizedCode int = 401

PatchEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type PatchEventsV1NamespacedEventUnauthorized

View Source
const ReadEventsV1NamespacedEventOKCode int = 200

ReadEventsV1NamespacedEventOKCode is the HTTP code returned for type ReadEventsV1NamespacedEventOK

View Source
const ReadEventsV1NamespacedEventUnauthorizedCode int = 401

ReadEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type ReadEventsV1NamespacedEventUnauthorized

View Source
const ReplaceEventsV1NamespacedEventCreatedCode int = 201

ReplaceEventsV1NamespacedEventCreatedCode is the HTTP code returned for type ReplaceEventsV1NamespacedEventCreated

View Source
const ReplaceEventsV1NamespacedEventOKCode int = 200

ReplaceEventsV1NamespacedEventOKCode is the HTTP code returned for type ReplaceEventsV1NamespacedEventOK

View Source
const ReplaceEventsV1NamespacedEventUnauthorizedCode int = 401

ReplaceEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type ReplaceEventsV1NamespacedEventUnauthorized

View Source
const WatchEventsV1EventListForAllNamespacesOKCode int = 200

WatchEventsV1EventListForAllNamespacesOKCode is the HTTP code returned for type WatchEventsV1EventListForAllNamespacesOK

View Source
const WatchEventsV1EventListForAllNamespacesUnauthorizedCode int = 401

WatchEventsV1EventListForAllNamespacesUnauthorizedCode is the HTTP code returned for type WatchEventsV1EventListForAllNamespacesUnauthorized

View Source
const WatchEventsV1NamespacedEventListOKCode int = 200

WatchEventsV1NamespacedEventListOKCode is the HTTP code returned for type WatchEventsV1NamespacedEventListOK

View Source
const WatchEventsV1NamespacedEventListUnauthorizedCode int = 401

WatchEventsV1NamespacedEventListUnauthorizedCode is the HTTP code returned for type WatchEventsV1NamespacedEventListUnauthorized

View Source
const WatchEventsV1NamespacedEventOKCode int = 200

WatchEventsV1NamespacedEventOKCode is the HTTP code returned for type WatchEventsV1NamespacedEventOK

View Source
const WatchEventsV1NamespacedEventUnauthorizedCode int = 401

WatchEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type WatchEventsV1NamespacedEventUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateEventsV1NamespacedEvent

type CreateEventsV1NamespacedEvent struct {
	Context *middleware.Context
	Handler CreateEventsV1NamespacedEventHandler
}

CreateEventsV1NamespacedEvent swagger:route POST /apis/events.k8s.io/v1/namespaces/{namespace}/events events_v1 createEventsV1NamespacedEvent

create an Event

func NewCreateEventsV1NamespacedEvent

func NewCreateEventsV1NamespacedEvent(ctx *middleware.Context, handler CreateEventsV1NamespacedEventHandler) *CreateEventsV1NamespacedEvent

NewCreateEventsV1NamespacedEvent creates a new http.Handler for the create events v1 namespaced event operation

func (*CreateEventsV1NamespacedEvent) ServeHTTP

type CreateEventsV1NamespacedEventAccepted

type CreateEventsV1NamespacedEventAccepted struct {

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

CreateEventsV1NamespacedEventAccepted Accepted

swagger:response createEventsV1NamespacedEventAccepted

func NewCreateEventsV1NamespacedEventAccepted

func NewCreateEventsV1NamespacedEventAccepted() *CreateEventsV1NamespacedEventAccepted

NewCreateEventsV1NamespacedEventAccepted creates CreateEventsV1NamespacedEventAccepted with default headers values

func (*CreateEventsV1NamespacedEventAccepted) SetPayload

SetPayload sets the payload to the create events v1 namespaced event accepted response

func (*CreateEventsV1NamespacedEventAccepted) WithPayload

WithPayload adds the payload to the create events v1 namespaced event accepted response

func (*CreateEventsV1NamespacedEventAccepted) WriteResponse

WriteResponse to the client

type CreateEventsV1NamespacedEventCreated

type CreateEventsV1NamespacedEventCreated struct {

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

CreateEventsV1NamespacedEventCreated Created

swagger:response createEventsV1NamespacedEventCreated

func NewCreateEventsV1NamespacedEventCreated

func NewCreateEventsV1NamespacedEventCreated() *CreateEventsV1NamespacedEventCreated

NewCreateEventsV1NamespacedEventCreated creates CreateEventsV1NamespacedEventCreated with default headers values

func (*CreateEventsV1NamespacedEventCreated) SetPayload

SetPayload sets the payload to the create events v1 namespaced event created response

func (*CreateEventsV1NamespacedEventCreated) WithPayload

WithPayload adds the payload to the create events v1 namespaced event created response

func (*CreateEventsV1NamespacedEventCreated) WriteResponse

WriteResponse to the client

type CreateEventsV1NamespacedEventHandler

type CreateEventsV1NamespacedEventHandler interface {
	Handle(CreateEventsV1NamespacedEventParams) middleware.Responder
}

CreateEventsV1NamespacedEventHandler interface for that can handle valid create events v1 namespaced event params

type CreateEventsV1NamespacedEventHandlerFunc

type CreateEventsV1NamespacedEventHandlerFunc func(CreateEventsV1NamespacedEventParams) middleware.Responder

CreateEventsV1NamespacedEventHandlerFunc turns a function with the right signature into a create events v1 namespaced event handler

func (CreateEventsV1NamespacedEventHandlerFunc) Handle

Handle executing the request and returning a response

type CreateEventsV1NamespacedEventOK

type CreateEventsV1NamespacedEventOK struct {

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

CreateEventsV1NamespacedEventOK OK

swagger:response createEventsV1NamespacedEventOK

func NewCreateEventsV1NamespacedEventOK

func NewCreateEventsV1NamespacedEventOK() *CreateEventsV1NamespacedEventOK

NewCreateEventsV1NamespacedEventOK creates CreateEventsV1NamespacedEventOK with default headers values

func (*CreateEventsV1NamespacedEventOK) SetPayload

SetPayload sets the payload to the create events v1 namespaced event o k response

func (*CreateEventsV1NamespacedEventOK) WithPayload

WithPayload adds the payload to the create events v1 namespaced event o k response

func (*CreateEventsV1NamespacedEventOK) WriteResponse

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

WriteResponse to the client

type CreateEventsV1NamespacedEventParams

type CreateEventsV1NamespacedEventParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.IoK8sAPIEventsV1Event
	/*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
}

CreateEventsV1NamespacedEventParams contains all the bound params for the create events v1 namespaced event operation typically these are obtained from a http.Request

swagger:parameters createEventsV1NamespacedEvent

func NewCreateEventsV1NamespacedEventParams

func NewCreateEventsV1NamespacedEventParams() CreateEventsV1NamespacedEventParams

NewCreateEventsV1NamespacedEventParams creates a new CreateEventsV1NamespacedEventParams object no default values defined in spec.

func (*CreateEventsV1NamespacedEventParams) 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 NewCreateEventsV1NamespacedEventParams() beforehand.

type CreateEventsV1NamespacedEventUnauthorized

type CreateEventsV1NamespacedEventUnauthorized struct {
}

CreateEventsV1NamespacedEventUnauthorized Unauthorized

swagger:response createEventsV1NamespacedEventUnauthorized

func NewCreateEventsV1NamespacedEventUnauthorized

func NewCreateEventsV1NamespacedEventUnauthorized() *CreateEventsV1NamespacedEventUnauthorized

NewCreateEventsV1NamespacedEventUnauthorized creates CreateEventsV1NamespacedEventUnauthorized with default headers values

func (*CreateEventsV1NamespacedEventUnauthorized) WriteResponse

WriteResponse to the client

type DeleteEventsV1CollectionNamespacedEvent

type DeleteEventsV1CollectionNamespacedEvent struct {
	Context *middleware.Context
	Handler DeleteEventsV1CollectionNamespacedEventHandler
}

DeleteEventsV1CollectionNamespacedEvent swagger:route DELETE /apis/events.k8s.io/v1/namespaces/{namespace}/events events_v1 deleteEventsV1CollectionNamespacedEvent

delete collection of Event

func NewDeleteEventsV1CollectionNamespacedEvent

func NewDeleteEventsV1CollectionNamespacedEvent(ctx *middleware.Context, handler DeleteEventsV1CollectionNamespacedEventHandler) *DeleteEventsV1CollectionNamespacedEvent

NewDeleteEventsV1CollectionNamespacedEvent creates a new http.Handler for the delete events v1 collection namespaced event operation

func (*DeleteEventsV1CollectionNamespacedEvent) ServeHTTP

type DeleteEventsV1CollectionNamespacedEventHandler

type DeleteEventsV1CollectionNamespacedEventHandler interface {
	Handle(DeleteEventsV1CollectionNamespacedEventParams) middleware.Responder
}

DeleteEventsV1CollectionNamespacedEventHandler interface for that can handle valid delete events v1 collection namespaced event params

type DeleteEventsV1CollectionNamespacedEventHandlerFunc

type DeleteEventsV1CollectionNamespacedEventHandlerFunc func(DeleteEventsV1CollectionNamespacedEventParams) middleware.Responder

DeleteEventsV1CollectionNamespacedEventHandlerFunc turns a function with the right signature into a delete events v1 collection namespaced event handler

func (DeleteEventsV1CollectionNamespacedEventHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteEventsV1CollectionNamespacedEventOK

type DeleteEventsV1CollectionNamespacedEventOK struct {

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

DeleteEventsV1CollectionNamespacedEventOK OK

swagger:response deleteEventsV1CollectionNamespacedEventOK

func NewDeleteEventsV1CollectionNamespacedEventOK

func NewDeleteEventsV1CollectionNamespacedEventOK() *DeleteEventsV1CollectionNamespacedEventOK

NewDeleteEventsV1CollectionNamespacedEventOK creates DeleteEventsV1CollectionNamespacedEventOK with default headers values

func (*DeleteEventsV1CollectionNamespacedEventOK) SetPayload

SetPayload sets the payload to the delete events v1 collection namespaced event o k response

func (*DeleteEventsV1CollectionNamespacedEventOK) WithPayload

WithPayload adds the payload to the delete events v1 collection namespaced event o k response

func (*DeleteEventsV1CollectionNamespacedEventOK) WriteResponse

WriteResponse to the client

type DeleteEventsV1CollectionNamespacedEventParams

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

DeleteEventsV1CollectionNamespacedEventParams contains all the bound params for the delete events v1 collection namespaced event operation typically these are obtained from a http.Request

swagger:parameters deleteEventsV1CollectionNamespacedEvent

func NewDeleteEventsV1CollectionNamespacedEventParams

func NewDeleteEventsV1CollectionNamespacedEventParams() DeleteEventsV1CollectionNamespacedEventParams

NewDeleteEventsV1CollectionNamespacedEventParams creates a new DeleteEventsV1CollectionNamespacedEventParams object no default values defined in spec.

func (*DeleteEventsV1CollectionNamespacedEventParams) 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 NewDeleteEventsV1CollectionNamespacedEventParams() beforehand.

type DeleteEventsV1CollectionNamespacedEventUnauthorized

type DeleteEventsV1CollectionNamespacedEventUnauthorized struct {
}

DeleteEventsV1CollectionNamespacedEventUnauthorized Unauthorized

swagger:response deleteEventsV1CollectionNamespacedEventUnauthorized

func NewDeleteEventsV1CollectionNamespacedEventUnauthorized

func NewDeleteEventsV1CollectionNamespacedEventUnauthorized() *DeleteEventsV1CollectionNamespacedEventUnauthorized

NewDeleteEventsV1CollectionNamespacedEventUnauthorized creates DeleteEventsV1CollectionNamespacedEventUnauthorized with default headers values

func (*DeleteEventsV1CollectionNamespacedEventUnauthorized) WriteResponse

WriteResponse to the client

type DeleteEventsV1NamespacedEvent

type DeleteEventsV1NamespacedEvent struct {
	Context *middleware.Context
	Handler DeleteEventsV1NamespacedEventHandler
}

DeleteEventsV1NamespacedEvent swagger:route DELETE /apis/events.k8s.io/v1/namespaces/{namespace}/events/{name} events_v1 deleteEventsV1NamespacedEvent

delete an Event

func NewDeleteEventsV1NamespacedEvent

func NewDeleteEventsV1NamespacedEvent(ctx *middleware.Context, handler DeleteEventsV1NamespacedEventHandler) *DeleteEventsV1NamespacedEvent

NewDeleteEventsV1NamespacedEvent creates a new http.Handler for the delete events v1 namespaced event operation

func (*DeleteEventsV1NamespacedEvent) ServeHTTP

type DeleteEventsV1NamespacedEventAccepted

type DeleteEventsV1NamespacedEventAccepted struct {

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

DeleteEventsV1NamespacedEventAccepted Accepted

swagger:response deleteEventsV1NamespacedEventAccepted

func NewDeleteEventsV1NamespacedEventAccepted

func NewDeleteEventsV1NamespacedEventAccepted() *DeleteEventsV1NamespacedEventAccepted

NewDeleteEventsV1NamespacedEventAccepted creates DeleteEventsV1NamespacedEventAccepted with default headers values

func (*DeleteEventsV1NamespacedEventAccepted) SetPayload

SetPayload sets the payload to the delete events v1 namespaced event accepted response

func (*DeleteEventsV1NamespacedEventAccepted) WithPayload

WithPayload adds the payload to the delete events v1 namespaced event accepted response

func (*DeleteEventsV1NamespacedEventAccepted) WriteResponse

WriteResponse to the client

type DeleteEventsV1NamespacedEventHandler

type DeleteEventsV1NamespacedEventHandler interface {
	Handle(DeleteEventsV1NamespacedEventParams) middleware.Responder
}

DeleteEventsV1NamespacedEventHandler interface for that can handle valid delete events v1 namespaced event params

type DeleteEventsV1NamespacedEventHandlerFunc

type DeleteEventsV1NamespacedEventHandlerFunc func(DeleteEventsV1NamespacedEventParams) middleware.Responder

DeleteEventsV1NamespacedEventHandlerFunc turns a function with the right signature into a delete events v1 namespaced event handler

func (DeleteEventsV1NamespacedEventHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteEventsV1NamespacedEventOK

type DeleteEventsV1NamespacedEventOK struct {

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

DeleteEventsV1NamespacedEventOK OK

swagger:response deleteEventsV1NamespacedEventOK

func NewDeleteEventsV1NamespacedEventOK

func NewDeleteEventsV1NamespacedEventOK() *DeleteEventsV1NamespacedEventOK

NewDeleteEventsV1NamespacedEventOK creates DeleteEventsV1NamespacedEventOK with default headers values

func (*DeleteEventsV1NamespacedEventOK) SetPayload

SetPayload sets the payload to the delete events v1 namespaced event o k response

func (*DeleteEventsV1NamespacedEventOK) WithPayload

WithPayload adds the payload to the delete events v1 namespaced event o k response

func (*DeleteEventsV1NamespacedEventOK) WriteResponse

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

WriteResponse to the client

type DeleteEventsV1NamespacedEventParams

type DeleteEventsV1NamespacedEventParams 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 Event
	  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
}

DeleteEventsV1NamespacedEventParams contains all the bound params for the delete events v1 namespaced event operation typically these are obtained from a http.Request

swagger:parameters deleteEventsV1NamespacedEvent

func NewDeleteEventsV1NamespacedEventParams

func NewDeleteEventsV1NamespacedEventParams() DeleteEventsV1NamespacedEventParams

NewDeleteEventsV1NamespacedEventParams creates a new DeleteEventsV1NamespacedEventParams object no default values defined in spec.

func (*DeleteEventsV1NamespacedEventParams) 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 NewDeleteEventsV1NamespacedEventParams() beforehand.

type DeleteEventsV1NamespacedEventUnauthorized

type DeleteEventsV1NamespacedEventUnauthorized struct {
}

DeleteEventsV1NamespacedEventUnauthorized Unauthorized

swagger:response deleteEventsV1NamespacedEventUnauthorized

func NewDeleteEventsV1NamespacedEventUnauthorized

func NewDeleteEventsV1NamespacedEventUnauthorized() *DeleteEventsV1NamespacedEventUnauthorized

NewDeleteEventsV1NamespacedEventUnauthorized creates DeleteEventsV1NamespacedEventUnauthorized with default headers values

func (*DeleteEventsV1NamespacedEventUnauthorized) WriteResponse

WriteResponse to the client

type GetEventsV1APIResources

type GetEventsV1APIResources struct {
	Context *middleware.Context
	Handler GetEventsV1APIResourcesHandler
}

GetEventsV1APIResources swagger:route GET /apis/events.k8s.io/v1/ events_v1 getEventsV1ApiResources

get available resources

func NewGetEventsV1APIResources

func NewGetEventsV1APIResources(ctx *middleware.Context, handler GetEventsV1APIResourcesHandler) *GetEventsV1APIResources

NewGetEventsV1APIResources creates a new http.Handler for the get events v1 API resources operation

func (*GetEventsV1APIResources) ServeHTTP

type GetEventsV1APIResourcesHandler

type GetEventsV1APIResourcesHandler interface {
	Handle(GetEventsV1APIResourcesParams) middleware.Responder
}

GetEventsV1APIResourcesHandler interface for that can handle valid get events v1 API resources params

type GetEventsV1APIResourcesHandlerFunc

type GetEventsV1APIResourcesHandlerFunc func(GetEventsV1APIResourcesParams) middleware.Responder

GetEventsV1APIResourcesHandlerFunc turns a function with the right signature into a get events v1 API resources handler

func (GetEventsV1APIResourcesHandlerFunc) Handle

Handle executing the request and returning a response

type GetEventsV1APIResourcesOK

type GetEventsV1APIResourcesOK struct {

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

GetEventsV1APIResourcesOK OK

swagger:response getEventsV1ApiResourcesOK

func NewGetEventsV1APIResourcesOK

func NewGetEventsV1APIResourcesOK() *GetEventsV1APIResourcesOK

NewGetEventsV1APIResourcesOK creates GetEventsV1APIResourcesOK with default headers values

func (*GetEventsV1APIResourcesOK) SetPayload

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

func (*GetEventsV1APIResourcesOK) WithPayload

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

func (*GetEventsV1APIResourcesOK) WriteResponse

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

WriteResponse to the client

type GetEventsV1APIResourcesParams

type GetEventsV1APIResourcesParams struct {

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

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

swagger:parameters getEventsV1APIResources

func NewGetEventsV1APIResourcesParams

func NewGetEventsV1APIResourcesParams() GetEventsV1APIResourcesParams

NewGetEventsV1APIResourcesParams creates a new GetEventsV1APIResourcesParams object no default values defined in spec.

func (*GetEventsV1APIResourcesParams) 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 NewGetEventsV1APIResourcesParams() beforehand.

type GetEventsV1APIResourcesUnauthorized

type GetEventsV1APIResourcesUnauthorized struct {
}

GetEventsV1APIResourcesUnauthorized Unauthorized

swagger:response getEventsV1ApiResourcesUnauthorized

func NewGetEventsV1APIResourcesUnauthorized

func NewGetEventsV1APIResourcesUnauthorized() *GetEventsV1APIResourcesUnauthorized

NewGetEventsV1APIResourcesUnauthorized creates GetEventsV1APIResourcesUnauthorized with default headers values

func (*GetEventsV1APIResourcesUnauthorized) WriteResponse

WriteResponse to the client

type ListEventsV1EventForAllNamespaces

type ListEventsV1EventForAllNamespaces struct {
	Context *middleware.Context
	Handler ListEventsV1EventForAllNamespacesHandler
}

ListEventsV1EventForAllNamespaces swagger:route GET /apis/events.k8s.io/v1/events events_v1 listEventsV1EventForAllNamespaces

list or watch objects of kind Event

func NewListEventsV1EventForAllNamespaces

func NewListEventsV1EventForAllNamespaces(ctx *middleware.Context, handler ListEventsV1EventForAllNamespacesHandler) *ListEventsV1EventForAllNamespaces

NewListEventsV1EventForAllNamespaces creates a new http.Handler for the list events v1 event for all namespaces operation

func (*ListEventsV1EventForAllNamespaces) ServeHTTP

type ListEventsV1EventForAllNamespacesHandler

type ListEventsV1EventForAllNamespacesHandler interface {
	Handle(ListEventsV1EventForAllNamespacesParams) middleware.Responder
}

ListEventsV1EventForAllNamespacesHandler interface for that can handle valid list events v1 event for all namespaces params

type ListEventsV1EventForAllNamespacesHandlerFunc

type ListEventsV1EventForAllNamespacesHandlerFunc func(ListEventsV1EventForAllNamespacesParams) middleware.Responder

ListEventsV1EventForAllNamespacesHandlerFunc turns a function with the right signature into a list events v1 event for all namespaces handler

func (ListEventsV1EventForAllNamespacesHandlerFunc) Handle

Handle executing the request and returning a response

type ListEventsV1EventForAllNamespacesOK

type ListEventsV1EventForAllNamespacesOK struct {

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

ListEventsV1EventForAllNamespacesOK OK

swagger:response listEventsV1EventForAllNamespacesOK

func NewListEventsV1EventForAllNamespacesOK

func NewListEventsV1EventForAllNamespacesOK() *ListEventsV1EventForAllNamespacesOK

NewListEventsV1EventForAllNamespacesOK creates ListEventsV1EventForAllNamespacesOK with default headers values

func (*ListEventsV1EventForAllNamespacesOK) SetPayload

SetPayload sets the payload to the list events v1 event for all namespaces o k response

func (*ListEventsV1EventForAllNamespacesOK) WithPayload

WithPayload adds the payload to the list events v1 event for all namespaces o k response

func (*ListEventsV1EventForAllNamespacesOK) WriteResponse

WriteResponse to the client

type ListEventsV1EventForAllNamespacesParams

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

ListEventsV1EventForAllNamespacesParams contains all the bound params for the list events v1 event for all namespaces operation typically these are obtained from a http.Request

swagger:parameters listEventsV1EventForAllNamespaces

func NewListEventsV1EventForAllNamespacesParams

func NewListEventsV1EventForAllNamespacesParams() ListEventsV1EventForAllNamespacesParams

NewListEventsV1EventForAllNamespacesParams creates a new ListEventsV1EventForAllNamespacesParams object no default values defined in spec.

func (*ListEventsV1EventForAllNamespacesParams) 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 NewListEventsV1EventForAllNamespacesParams() beforehand.

type ListEventsV1EventForAllNamespacesUnauthorized

type ListEventsV1EventForAllNamespacesUnauthorized struct {
}

ListEventsV1EventForAllNamespacesUnauthorized Unauthorized

swagger:response listEventsV1EventForAllNamespacesUnauthorized

func NewListEventsV1EventForAllNamespacesUnauthorized

func NewListEventsV1EventForAllNamespacesUnauthorized() *ListEventsV1EventForAllNamespacesUnauthorized

NewListEventsV1EventForAllNamespacesUnauthorized creates ListEventsV1EventForAllNamespacesUnauthorized with default headers values

func (*ListEventsV1EventForAllNamespacesUnauthorized) WriteResponse

WriteResponse to the client

type ListEventsV1NamespacedEvent

type ListEventsV1NamespacedEvent struct {
	Context *middleware.Context
	Handler ListEventsV1NamespacedEventHandler
}

ListEventsV1NamespacedEvent swagger:route GET /apis/events.k8s.io/v1/namespaces/{namespace}/events events_v1 listEventsV1NamespacedEvent

list or watch objects of kind Event

func NewListEventsV1NamespacedEvent

func NewListEventsV1NamespacedEvent(ctx *middleware.Context, handler ListEventsV1NamespacedEventHandler) *ListEventsV1NamespacedEvent

NewListEventsV1NamespacedEvent creates a new http.Handler for the list events v1 namespaced event operation

func (*ListEventsV1NamespacedEvent) ServeHTTP

type ListEventsV1NamespacedEventHandler

type ListEventsV1NamespacedEventHandler interface {
	Handle(ListEventsV1NamespacedEventParams) middleware.Responder
}

ListEventsV1NamespacedEventHandler interface for that can handle valid list events v1 namespaced event params

type ListEventsV1NamespacedEventHandlerFunc

type ListEventsV1NamespacedEventHandlerFunc func(ListEventsV1NamespacedEventParams) middleware.Responder

ListEventsV1NamespacedEventHandlerFunc turns a function with the right signature into a list events v1 namespaced event handler

func (ListEventsV1NamespacedEventHandlerFunc) Handle

Handle executing the request and returning a response

type ListEventsV1NamespacedEventOK

type ListEventsV1NamespacedEventOK struct {

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

ListEventsV1NamespacedEventOK OK

swagger:response listEventsV1NamespacedEventOK

func NewListEventsV1NamespacedEventOK

func NewListEventsV1NamespacedEventOK() *ListEventsV1NamespacedEventOK

NewListEventsV1NamespacedEventOK creates ListEventsV1NamespacedEventOK with default headers values

func (*ListEventsV1NamespacedEventOK) SetPayload

SetPayload sets the payload to the list events v1 namespaced event o k response

func (*ListEventsV1NamespacedEventOK) WithPayload

WithPayload adds the payload to the list events v1 namespaced event o k response

func (*ListEventsV1NamespacedEventOK) WriteResponse

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

WriteResponse to the client

type ListEventsV1NamespacedEventParams

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

ListEventsV1NamespacedEventParams contains all the bound params for the list events v1 namespaced event operation typically these are obtained from a http.Request

swagger:parameters listEventsV1NamespacedEvent

func NewListEventsV1NamespacedEventParams

func NewListEventsV1NamespacedEventParams() ListEventsV1NamespacedEventParams

NewListEventsV1NamespacedEventParams creates a new ListEventsV1NamespacedEventParams object no default values defined in spec.

func (*ListEventsV1NamespacedEventParams) 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 NewListEventsV1NamespacedEventParams() beforehand.

type ListEventsV1NamespacedEventUnauthorized

type ListEventsV1NamespacedEventUnauthorized struct {
}

ListEventsV1NamespacedEventUnauthorized Unauthorized

swagger:response listEventsV1NamespacedEventUnauthorized

func NewListEventsV1NamespacedEventUnauthorized

func NewListEventsV1NamespacedEventUnauthorized() *ListEventsV1NamespacedEventUnauthorized

NewListEventsV1NamespacedEventUnauthorized creates ListEventsV1NamespacedEventUnauthorized with default headers values

func (*ListEventsV1NamespacedEventUnauthorized) WriteResponse

WriteResponse to the client

type PatchEventsV1NamespacedEvent

type PatchEventsV1NamespacedEvent struct {
	Context *middleware.Context
	Handler PatchEventsV1NamespacedEventHandler
}

PatchEventsV1NamespacedEvent swagger:route PATCH /apis/events.k8s.io/v1/namespaces/{namespace}/events/{name} events_v1 patchEventsV1NamespacedEvent

partially update the specified Event

func NewPatchEventsV1NamespacedEvent

func NewPatchEventsV1NamespacedEvent(ctx *middleware.Context, handler PatchEventsV1NamespacedEventHandler) *PatchEventsV1NamespacedEvent

NewPatchEventsV1NamespacedEvent creates a new http.Handler for the patch events v1 namespaced event operation

func (*PatchEventsV1NamespacedEvent) ServeHTTP

type PatchEventsV1NamespacedEventHandler

type PatchEventsV1NamespacedEventHandler interface {
	Handle(PatchEventsV1NamespacedEventParams) middleware.Responder
}

PatchEventsV1NamespacedEventHandler interface for that can handle valid patch events v1 namespaced event params

type PatchEventsV1NamespacedEventHandlerFunc

type PatchEventsV1NamespacedEventHandlerFunc func(PatchEventsV1NamespacedEventParams) middleware.Responder

PatchEventsV1NamespacedEventHandlerFunc turns a function with the right signature into a patch events v1 namespaced event handler

func (PatchEventsV1NamespacedEventHandlerFunc) Handle

Handle executing the request and returning a response

type PatchEventsV1NamespacedEventOK

type PatchEventsV1NamespacedEventOK struct {

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

PatchEventsV1NamespacedEventOK OK

swagger:response patchEventsV1NamespacedEventOK

func NewPatchEventsV1NamespacedEventOK

func NewPatchEventsV1NamespacedEventOK() *PatchEventsV1NamespacedEventOK

NewPatchEventsV1NamespacedEventOK creates PatchEventsV1NamespacedEventOK with default headers values

func (*PatchEventsV1NamespacedEventOK) SetPayload

SetPayload sets the payload to the patch events v1 namespaced event o k response

func (*PatchEventsV1NamespacedEventOK) WithPayload

WithPayload adds the payload to the patch events v1 namespaced event o k response

func (*PatchEventsV1NamespacedEventOK) WriteResponse

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

WriteResponse to the client

type PatchEventsV1NamespacedEventParams

type PatchEventsV1NamespacedEventParams 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 Event
	  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
}

PatchEventsV1NamespacedEventParams contains all the bound params for the patch events v1 namespaced event operation typically these are obtained from a http.Request

swagger:parameters patchEventsV1NamespacedEvent

func NewPatchEventsV1NamespacedEventParams

func NewPatchEventsV1NamespacedEventParams() PatchEventsV1NamespacedEventParams

NewPatchEventsV1NamespacedEventParams creates a new PatchEventsV1NamespacedEventParams object no default values defined in spec.

func (*PatchEventsV1NamespacedEventParams) 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 NewPatchEventsV1NamespacedEventParams() beforehand.

type PatchEventsV1NamespacedEventUnauthorized

type PatchEventsV1NamespacedEventUnauthorized struct {
}

PatchEventsV1NamespacedEventUnauthorized Unauthorized

swagger:response patchEventsV1NamespacedEventUnauthorized

func NewPatchEventsV1NamespacedEventUnauthorized

func NewPatchEventsV1NamespacedEventUnauthorized() *PatchEventsV1NamespacedEventUnauthorized

NewPatchEventsV1NamespacedEventUnauthorized creates PatchEventsV1NamespacedEventUnauthorized with default headers values

func (*PatchEventsV1NamespacedEventUnauthorized) WriteResponse

WriteResponse to the client

type ReadEventsV1NamespacedEvent

type ReadEventsV1NamespacedEvent struct {
	Context *middleware.Context
	Handler ReadEventsV1NamespacedEventHandler
}

ReadEventsV1NamespacedEvent swagger:route GET /apis/events.k8s.io/v1/namespaces/{namespace}/events/{name} events_v1 readEventsV1NamespacedEvent

read the specified Event

func NewReadEventsV1NamespacedEvent

func NewReadEventsV1NamespacedEvent(ctx *middleware.Context, handler ReadEventsV1NamespacedEventHandler) *ReadEventsV1NamespacedEvent

NewReadEventsV1NamespacedEvent creates a new http.Handler for the read events v1 namespaced event operation

func (*ReadEventsV1NamespacedEvent) ServeHTTP

type ReadEventsV1NamespacedEventHandler

type ReadEventsV1NamespacedEventHandler interface {
	Handle(ReadEventsV1NamespacedEventParams) middleware.Responder
}

ReadEventsV1NamespacedEventHandler interface for that can handle valid read events v1 namespaced event params

type ReadEventsV1NamespacedEventHandlerFunc

type ReadEventsV1NamespacedEventHandlerFunc func(ReadEventsV1NamespacedEventParams) middleware.Responder

ReadEventsV1NamespacedEventHandlerFunc turns a function with the right signature into a read events v1 namespaced event handler

func (ReadEventsV1NamespacedEventHandlerFunc) Handle

Handle executing the request and returning a response

type ReadEventsV1NamespacedEventOK

type ReadEventsV1NamespacedEventOK struct {

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

ReadEventsV1NamespacedEventOK OK

swagger:response readEventsV1NamespacedEventOK

func NewReadEventsV1NamespacedEventOK

func NewReadEventsV1NamespacedEventOK() *ReadEventsV1NamespacedEventOK

NewReadEventsV1NamespacedEventOK creates ReadEventsV1NamespacedEventOK with default headers values

func (*ReadEventsV1NamespacedEventOK) SetPayload

SetPayload sets the payload to the read events v1 namespaced event o k response

func (*ReadEventsV1NamespacedEventOK) WithPayload

WithPayload adds the payload to the read events v1 namespaced event o k response

func (*ReadEventsV1NamespacedEventOK) WriteResponse

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

WriteResponse to the client

type ReadEventsV1NamespacedEventParams

type ReadEventsV1NamespacedEventParams 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 Event
	  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
}

ReadEventsV1NamespacedEventParams contains all the bound params for the read events v1 namespaced event operation typically these are obtained from a http.Request

swagger:parameters readEventsV1NamespacedEvent

func NewReadEventsV1NamespacedEventParams

func NewReadEventsV1NamespacedEventParams() ReadEventsV1NamespacedEventParams

NewReadEventsV1NamespacedEventParams creates a new ReadEventsV1NamespacedEventParams object no default values defined in spec.

func (*ReadEventsV1NamespacedEventParams) 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 NewReadEventsV1NamespacedEventParams() beforehand.

type ReadEventsV1NamespacedEventUnauthorized

type ReadEventsV1NamespacedEventUnauthorized struct {
}

ReadEventsV1NamespacedEventUnauthorized Unauthorized

swagger:response readEventsV1NamespacedEventUnauthorized

func NewReadEventsV1NamespacedEventUnauthorized

func NewReadEventsV1NamespacedEventUnauthorized() *ReadEventsV1NamespacedEventUnauthorized

NewReadEventsV1NamespacedEventUnauthorized creates ReadEventsV1NamespacedEventUnauthorized with default headers values

func (*ReadEventsV1NamespacedEventUnauthorized) WriteResponse

WriteResponse to the client

type ReplaceEventsV1NamespacedEvent

type ReplaceEventsV1NamespacedEvent struct {
	Context *middleware.Context
	Handler ReplaceEventsV1NamespacedEventHandler
}

ReplaceEventsV1NamespacedEvent swagger:route PUT /apis/events.k8s.io/v1/namespaces/{namespace}/events/{name} events_v1 replaceEventsV1NamespacedEvent

replace the specified Event

func NewReplaceEventsV1NamespacedEvent

func NewReplaceEventsV1NamespacedEvent(ctx *middleware.Context, handler ReplaceEventsV1NamespacedEventHandler) *ReplaceEventsV1NamespacedEvent

NewReplaceEventsV1NamespacedEvent creates a new http.Handler for the replace events v1 namespaced event operation

func (*ReplaceEventsV1NamespacedEvent) ServeHTTP

type ReplaceEventsV1NamespacedEventCreated

type ReplaceEventsV1NamespacedEventCreated struct {

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

ReplaceEventsV1NamespacedEventCreated Created

swagger:response replaceEventsV1NamespacedEventCreated

func NewReplaceEventsV1NamespacedEventCreated

func NewReplaceEventsV1NamespacedEventCreated() *ReplaceEventsV1NamespacedEventCreated

NewReplaceEventsV1NamespacedEventCreated creates ReplaceEventsV1NamespacedEventCreated with default headers values

func (*ReplaceEventsV1NamespacedEventCreated) SetPayload

SetPayload sets the payload to the replace events v1 namespaced event created response

func (*ReplaceEventsV1NamespacedEventCreated) WithPayload

WithPayload adds the payload to the replace events v1 namespaced event created response

func (*ReplaceEventsV1NamespacedEventCreated) WriteResponse

WriteResponse to the client

type ReplaceEventsV1NamespacedEventHandler

type ReplaceEventsV1NamespacedEventHandler interface {
	Handle(ReplaceEventsV1NamespacedEventParams) middleware.Responder
}

ReplaceEventsV1NamespacedEventHandler interface for that can handle valid replace events v1 namespaced event params

type ReplaceEventsV1NamespacedEventHandlerFunc

type ReplaceEventsV1NamespacedEventHandlerFunc func(ReplaceEventsV1NamespacedEventParams) middleware.Responder

ReplaceEventsV1NamespacedEventHandlerFunc turns a function with the right signature into a replace events v1 namespaced event handler

func (ReplaceEventsV1NamespacedEventHandlerFunc) Handle

Handle executing the request and returning a response

type ReplaceEventsV1NamespacedEventOK

type ReplaceEventsV1NamespacedEventOK struct {

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

ReplaceEventsV1NamespacedEventOK OK

swagger:response replaceEventsV1NamespacedEventOK

func NewReplaceEventsV1NamespacedEventOK

func NewReplaceEventsV1NamespacedEventOK() *ReplaceEventsV1NamespacedEventOK

NewReplaceEventsV1NamespacedEventOK creates ReplaceEventsV1NamespacedEventOK with default headers values

func (*ReplaceEventsV1NamespacedEventOK) SetPayload

SetPayload sets the payload to the replace events v1 namespaced event o k response

func (*ReplaceEventsV1NamespacedEventOK) WithPayload

WithPayload adds the payload to the replace events v1 namespaced event o k response

func (*ReplaceEventsV1NamespacedEventOK) WriteResponse

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

WriteResponse to the client

type ReplaceEventsV1NamespacedEventParams

type ReplaceEventsV1NamespacedEventParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.IoK8sAPIEventsV1Event
	/*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 Event
	  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
}

ReplaceEventsV1NamespacedEventParams contains all the bound params for the replace events v1 namespaced event operation typically these are obtained from a http.Request

swagger:parameters replaceEventsV1NamespacedEvent

func NewReplaceEventsV1NamespacedEventParams

func NewReplaceEventsV1NamespacedEventParams() ReplaceEventsV1NamespacedEventParams

NewReplaceEventsV1NamespacedEventParams creates a new ReplaceEventsV1NamespacedEventParams object no default values defined in spec.

func (*ReplaceEventsV1NamespacedEventParams) 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 NewReplaceEventsV1NamespacedEventParams() beforehand.

type ReplaceEventsV1NamespacedEventUnauthorized

type ReplaceEventsV1NamespacedEventUnauthorized struct {
}

ReplaceEventsV1NamespacedEventUnauthorized Unauthorized

swagger:response replaceEventsV1NamespacedEventUnauthorized

func NewReplaceEventsV1NamespacedEventUnauthorized

func NewReplaceEventsV1NamespacedEventUnauthorized() *ReplaceEventsV1NamespacedEventUnauthorized

NewReplaceEventsV1NamespacedEventUnauthorized creates ReplaceEventsV1NamespacedEventUnauthorized with default headers values

func (*ReplaceEventsV1NamespacedEventUnauthorized) WriteResponse

WriteResponse to the client

type WatchEventsV1EventListForAllNamespaces

type WatchEventsV1EventListForAllNamespaces struct {
	Context *middleware.Context
	Handler WatchEventsV1EventListForAllNamespacesHandler
}

WatchEventsV1EventListForAllNamespaces swagger:route GET /apis/events.k8s.io/v1/watch/events events_v1 watchEventsV1EventListForAllNamespaces

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

func NewWatchEventsV1EventListForAllNamespaces

func NewWatchEventsV1EventListForAllNamespaces(ctx *middleware.Context, handler WatchEventsV1EventListForAllNamespacesHandler) *WatchEventsV1EventListForAllNamespaces

NewWatchEventsV1EventListForAllNamespaces creates a new http.Handler for the watch events v1 event list for all namespaces operation

func (*WatchEventsV1EventListForAllNamespaces) ServeHTTP

type WatchEventsV1EventListForAllNamespacesHandler

type WatchEventsV1EventListForAllNamespacesHandler interface {
	Handle(WatchEventsV1EventListForAllNamespacesParams) middleware.Responder
}

WatchEventsV1EventListForAllNamespacesHandler interface for that can handle valid watch events v1 event list for all namespaces params

type WatchEventsV1EventListForAllNamespacesHandlerFunc

type WatchEventsV1EventListForAllNamespacesHandlerFunc func(WatchEventsV1EventListForAllNamespacesParams) middleware.Responder

WatchEventsV1EventListForAllNamespacesHandlerFunc turns a function with the right signature into a watch events v1 event list for all namespaces handler

func (WatchEventsV1EventListForAllNamespacesHandlerFunc) Handle

Handle executing the request and returning a response

type WatchEventsV1EventListForAllNamespacesOK

type WatchEventsV1EventListForAllNamespacesOK struct {

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

WatchEventsV1EventListForAllNamespacesOK OK

swagger:response watchEventsV1EventListForAllNamespacesOK

func NewWatchEventsV1EventListForAllNamespacesOK

func NewWatchEventsV1EventListForAllNamespacesOK() *WatchEventsV1EventListForAllNamespacesOK

NewWatchEventsV1EventListForAllNamespacesOK creates WatchEventsV1EventListForAllNamespacesOK with default headers values

func (*WatchEventsV1EventListForAllNamespacesOK) SetPayload

SetPayload sets the payload to the watch events v1 event list for all namespaces o k response

func (*WatchEventsV1EventListForAllNamespacesOK) WithPayload

WithPayload adds the payload to the watch events v1 event list for all namespaces o k response

func (*WatchEventsV1EventListForAllNamespacesOK) WriteResponse

WriteResponse to the client

type WatchEventsV1EventListForAllNamespacesParams

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

WatchEventsV1EventListForAllNamespacesParams contains all the bound params for the watch events v1 event list for all namespaces operation typically these are obtained from a http.Request

swagger:parameters watchEventsV1EventListForAllNamespaces

func NewWatchEventsV1EventListForAllNamespacesParams

func NewWatchEventsV1EventListForAllNamespacesParams() WatchEventsV1EventListForAllNamespacesParams

NewWatchEventsV1EventListForAllNamespacesParams creates a new WatchEventsV1EventListForAllNamespacesParams object no default values defined in spec.

func (*WatchEventsV1EventListForAllNamespacesParams) 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 NewWatchEventsV1EventListForAllNamespacesParams() beforehand.

type WatchEventsV1EventListForAllNamespacesUnauthorized

type WatchEventsV1EventListForAllNamespacesUnauthorized struct {
}

WatchEventsV1EventListForAllNamespacesUnauthorized Unauthorized

swagger:response watchEventsV1EventListForAllNamespacesUnauthorized

func NewWatchEventsV1EventListForAllNamespacesUnauthorized

func NewWatchEventsV1EventListForAllNamespacesUnauthorized() *WatchEventsV1EventListForAllNamespacesUnauthorized

NewWatchEventsV1EventListForAllNamespacesUnauthorized creates WatchEventsV1EventListForAllNamespacesUnauthorized with default headers values

func (*WatchEventsV1EventListForAllNamespacesUnauthorized) WriteResponse

WriteResponse to the client

type WatchEventsV1NamespacedEvent

type WatchEventsV1NamespacedEvent struct {
	Context *middleware.Context
	Handler WatchEventsV1NamespacedEventHandler
}

WatchEventsV1NamespacedEvent swagger:route GET /apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name} events_v1 watchEventsV1NamespacedEvent

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

func NewWatchEventsV1NamespacedEvent

func NewWatchEventsV1NamespacedEvent(ctx *middleware.Context, handler WatchEventsV1NamespacedEventHandler) *WatchEventsV1NamespacedEvent

NewWatchEventsV1NamespacedEvent creates a new http.Handler for the watch events v1 namespaced event operation

func (*WatchEventsV1NamespacedEvent) ServeHTTP

type WatchEventsV1NamespacedEventHandler

type WatchEventsV1NamespacedEventHandler interface {
	Handle(WatchEventsV1NamespacedEventParams) middleware.Responder
}

WatchEventsV1NamespacedEventHandler interface for that can handle valid watch events v1 namespaced event params

type WatchEventsV1NamespacedEventHandlerFunc

type WatchEventsV1NamespacedEventHandlerFunc func(WatchEventsV1NamespacedEventParams) middleware.Responder

WatchEventsV1NamespacedEventHandlerFunc turns a function with the right signature into a watch events v1 namespaced event handler

func (WatchEventsV1NamespacedEventHandlerFunc) Handle

Handle executing the request and returning a response

type WatchEventsV1NamespacedEventList

type WatchEventsV1NamespacedEventList struct {
	Context *middleware.Context
	Handler WatchEventsV1NamespacedEventListHandler
}

WatchEventsV1NamespacedEventList swagger:route GET /apis/events.k8s.io/v1/watch/namespaces/{namespace}/events events_v1 watchEventsV1NamespacedEventList

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

func NewWatchEventsV1NamespacedEventList

func NewWatchEventsV1NamespacedEventList(ctx *middleware.Context, handler WatchEventsV1NamespacedEventListHandler) *WatchEventsV1NamespacedEventList

NewWatchEventsV1NamespacedEventList creates a new http.Handler for the watch events v1 namespaced event list operation

func (*WatchEventsV1NamespacedEventList) ServeHTTP

type WatchEventsV1NamespacedEventListHandler

type WatchEventsV1NamespacedEventListHandler interface {
	Handle(WatchEventsV1NamespacedEventListParams) middleware.Responder
}

WatchEventsV1NamespacedEventListHandler interface for that can handle valid watch events v1 namespaced event list params

type WatchEventsV1NamespacedEventListHandlerFunc

type WatchEventsV1NamespacedEventListHandlerFunc func(WatchEventsV1NamespacedEventListParams) middleware.Responder

WatchEventsV1NamespacedEventListHandlerFunc turns a function with the right signature into a watch events v1 namespaced event list handler

func (WatchEventsV1NamespacedEventListHandlerFunc) Handle

Handle executing the request and returning a response

type WatchEventsV1NamespacedEventListOK

type WatchEventsV1NamespacedEventListOK struct {

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

WatchEventsV1NamespacedEventListOK OK

swagger:response watchEventsV1NamespacedEventListOK

func NewWatchEventsV1NamespacedEventListOK

func NewWatchEventsV1NamespacedEventListOK() *WatchEventsV1NamespacedEventListOK

NewWatchEventsV1NamespacedEventListOK creates WatchEventsV1NamespacedEventListOK with default headers values

func (*WatchEventsV1NamespacedEventListOK) SetPayload

SetPayload sets the payload to the watch events v1 namespaced event list o k response

func (*WatchEventsV1NamespacedEventListOK) WithPayload

WithPayload adds the payload to the watch events v1 namespaced event list o k response

func (*WatchEventsV1NamespacedEventListOK) WriteResponse

WriteResponse to the client

type WatchEventsV1NamespacedEventListParams

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

WatchEventsV1NamespacedEventListParams contains all the bound params for the watch events v1 namespaced event list operation typically these are obtained from a http.Request

swagger:parameters watchEventsV1NamespacedEventList

func NewWatchEventsV1NamespacedEventListParams

func NewWatchEventsV1NamespacedEventListParams() WatchEventsV1NamespacedEventListParams

NewWatchEventsV1NamespacedEventListParams creates a new WatchEventsV1NamespacedEventListParams object no default values defined in spec.

func (*WatchEventsV1NamespacedEventListParams) 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 NewWatchEventsV1NamespacedEventListParams() beforehand.

type WatchEventsV1NamespacedEventListUnauthorized

type WatchEventsV1NamespacedEventListUnauthorized struct {
}

WatchEventsV1NamespacedEventListUnauthorized Unauthorized

swagger:response watchEventsV1NamespacedEventListUnauthorized

func NewWatchEventsV1NamespacedEventListUnauthorized

func NewWatchEventsV1NamespacedEventListUnauthorized() *WatchEventsV1NamespacedEventListUnauthorized

NewWatchEventsV1NamespacedEventListUnauthorized creates WatchEventsV1NamespacedEventListUnauthorized with default headers values

func (*WatchEventsV1NamespacedEventListUnauthorized) WriteResponse

WriteResponse to the client

type WatchEventsV1NamespacedEventOK

type WatchEventsV1NamespacedEventOK struct {

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

WatchEventsV1NamespacedEventOK OK

swagger:response watchEventsV1NamespacedEventOK

func NewWatchEventsV1NamespacedEventOK

func NewWatchEventsV1NamespacedEventOK() *WatchEventsV1NamespacedEventOK

NewWatchEventsV1NamespacedEventOK creates WatchEventsV1NamespacedEventOK with default headers values

func (*WatchEventsV1NamespacedEventOK) SetPayload

SetPayload sets the payload to the watch events v1 namespaced event o k response

func (*WatchEventsV1NamespacedEventOK) WithPayload

WithPayload adds the payload to the watch events v1 namespaced event o k response

func (*WatchEventsV1NamespacedEventOK) WriteResponse

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

WriteResponse to the client

type WatchEventsV1NamespacedEventParams

type WatchEventsV1NamespacedEventParams 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 Event
	  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
}

WatchEventsV1NamespacedEventParams contains all the bound params for the watch events v1 namespaced event operation typically these are obtained from a http.Request

swagger:parameters watchEventsV1NamespacedEvent

func NewWatchEventsV1NamespacedEventParams

func NewWatchEventsV1NamespacedEventParams() WatchEventsV1NamespacedEventParams

NewWatchEventsV1NamespacedEventParams creates a new WatchEventsV1NamespacedEventParams object no default values defined in spec.

func (*WatchEventsV1NamespacedEventParams) 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 NewWatchEventsV1NamespacedEventParams() beforehand.

type WatchEventsV1NamespacedEventUnauthorized

type WatchEventsV1NamespacedEventUnauthorized struct {
}

WatchEventsV1NamespacedEventUnauthorized Unauthorized

swagger:response watchEventsV1NamespacedEventUnauthorized

func NewWatchEventsV1NamespacedEventUnauthorized

func NewWatchEventsV1NamespacedEventUnauthorized() *WatchEventsV1NamespacedEventUnauthorized

NewWatchEventsV1NamespacedEventUnauthorized creates WatchEventsV1NamespacedEventUnauthorized with default headers values

func (*WatchEventsV1NamespacedEventUnauthorized) 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