Documentation ¶
Index ¶
- Constants
- type CreateEventsV1NamespacedEvent
- type CreateEventsV1NamespacedEventAccepted
- func (o *CreateEventsV1NamespacedEventAccepted) SetPayload(payload *models.IoK8sAPIEventsV1Event)
- func (o *CreateEventsV1NamespacedEventAccepted) WithPayload(payload *models.IoK8sAPIEventsV1Event) *CreateEventsV1NamespacedEventAccepted
- func (o *CreateEventsV1NamespacedEventAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateEventsV1NamespacedEventCreated
- func (o *CreateEventsV1NamespacedEventCreated) SetPayload(payload *models.IoK8sAPIEventsV1Event)
- func (o *CreateEventsV1NamespacedEventCreated) WithPayload(payload *models.IoK8sAPIEventsV1Event) *CreateEventsV1NamespacedEventCreated
- func (o *CreateEventsV1NamespacedEventCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateEventsV1NamespacedEventHandler
- type CreateEventsV1NamespacedEventHandlerFunc
- type CreateEventsV1NamespacedEventOK
- func (o *CreateEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1Event)
- func (o *CreateEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1Event) *CreateEventsV1NamespacedEventOK
- func (o *CreateEventsV1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateEventsV1NamespacedEventParams
- type CreateEventsV1NamespacedEventUnauthorized
- type DeleteEventsV1CollectionNamespacedEvent
- type DeleteEventsV1CollectionNamespacedEventHandler
- type DeleteEventsV1CollectionNamespacedEventHandlerFunc
- type DeleteEventsV1CollectionNamespacedEventOK
- func (o *DeleteEventsV1CollectionNamespacedEventOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteEventsV1CollectionNamespacedEventOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteEventsV1CollectionNamespacedEventOK
- func (o *DeleteEventsV1CollectionNamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEventsV1CollectionNamespacedEventParams
- type DeleteEventsV1CollectionNamespacedEventUnauthorized
- type DeleteEventsV1NamespacedEvent
- type DeleteEventsV1NamespacedEventAccepted
- func (o *DeleteEventsV1NamespacedEventAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteEventsV1NamespacedEventAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteEventsV1NamespacedEventAccepted
- func (o *DeleteEventsV1NamespacedEventAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEventsV1NamespacedEventHandler
- type DeleteEventsV1NamespacedEventHandlerFunc
- type DeleteEventsV1NamespacedEventOK
- func (o *DeleteEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteEventsV1NamespacedEventOK
- func (o *DeleteEventsV1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEventsV1NamespacedEventParams
- type DeleteEventsV1NamespacedEventUnauthorized
- type GetEventsV1APIResources
- type GetEventsV1APIResourcesHandler
- type GetEventsV1APIResourcesHandlerFunc
- type GetEventsV1APIResourcesOK
- func (o *GetEventsV1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
- func (o *GetEventsV1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetEventsV1APIResourcesOK
- func (o *GetEventsV1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetEventsV1APIResourcesParams
- type GetEventsV1APIResourcesUnauthorized
- type ListEventsV1EventForAllNamespaces
- type ListEventsV1EventForAllNamespacesHandler
- type ListEventsV1EventForAllNamespacesHandlerFunc
- type ListEventsV1EventForAllNamespacesOK
- func (o *ListEventsV1EventForAllNamespacesOK) SetPayload(payload *models.IoK8sAPIEventsV1EventList)
- func (o *ListEventsV1EventForAllNamespacesOK) WithPayload(payload *models.IoK8sAPIEventsV1EventList) *ListEventsV1EventForAllNamespacesOK
- func (o *ListEventsV1EventForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEventsV1EventForAllNamespacesParams
- type ListEventsV1EventForAllNamespacesUnauthorized
- type ListEventsV1NamespacedEvent
- type ListEventsV1NamespacedEventHandler
- type ListEventsV1NamespacedEventHandlerFunc
- type ListEventsV1NamespacedEventOK
- func (o *ListEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1EventList)
- func (o *ListEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1EventList) *ListEventsV1NamespacedEventOK
- func (o *ListEventsV1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEventsV1NamespacedEventParams
- type ListEventsV1NamespacedEventUnauthorized
- type PatchEventsV1NamespacedEvent
- type PatchEventsV1NamespacedEventHandler
- type PatchEventsV1NamespacedEventHandlerFunc
- type PatchEventsV1NamespacedEventOK
- func (o *PatchEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1Event)
- func (o *PatchEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1Event) *PatchEventsV1NamespacedEventOK
- func (o *PatchEventsV1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchEventsV1NamespacedEventParams
- type PatchEventsV1NamespacedEventUnauthorized
- type ReadEventsV1NamespacedEvent
- type ReadEventsV1NamespacedEventHandler
- type ReadEventsV1NamespacedEventHandlerFunc
- type ReadEventsV1NamespacedEventOK
- func (o *ReadEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1Event)
- func (o *ReadEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1Event) *ReadEventsV1NamespacedEventOK
- func (o *ReadEventsV1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReadEventsV1NamespacedEventParams
- type ReadEventsV1NamespacedEventUnauthorized
- type ReplaceEventsV1NamespacedEvent
- type ReplaceEventsV1NamespacedEventCreated
- func (o *ReplaceEventsV1NamespacedEventCreated) SetPayload(payload *models.IoK8sAPIEventsV1Event)
- func (o *ReplaceEventsV1NamespacedEventCreated) WithPayload(payload *models.IoK8sAPIEventsV1Event) *ReplaceEventsV1NamespacedEventCreated
- func (o *ReplaceEventsV1NamespacedEventCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceEventsV1NamespacedEventHandler
- type ReplaceEventsV1NamespacedEventHandlerFunc
- type ReplaceEventsV1NamespacedEventOK
- func (o *ReplaceEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1Event)
- func (o *ReplaceEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1Event) *ReplaceEventsV1NamespacedEventOK
- func (o *ReplaceEventsV1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceEventsV1NamespacedEventParams
- type ReplaceEventsV1NamespacedEventUnauthorized
- type WatchEventsV1EventListForAllNamespaces
- type WatchEventsV1EventListForAllNamespacesHandler
- type WatchEventsV1EventListForAllNamespacesHandlerFunc
- type WatchEventsV1EventListForAllNamespacesOK
- func (o *WatchEventsV1EventListForAllNamespacesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchEventsV1EventListForAllNamespacesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchEventsV1EventListForAllNamespacesOK
- func (o *WatchEventsV1EventListForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchEventsV1EventListForAllNamespacesParams
- type WatchEventsV1EventListForAllNamespacesUnauthorized
- type WatchEventsV1NamespacedEvent
- type WatchEventsV1NamespacedEventHandler
- type WatchEventsV1NamespacedEventHandlerFunc
- type WatchEventsV1NamespacedEventList
- type WatchEventsV1NamespacedEventListHandler
- type WatchEventsV1NamespacedEventListHandlerFunc
- type WatchEventsV1NamespacedEventListOK
- func (o *WatchEventsV1NamespacedEventListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchEventsV1NamespacedEventListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchEventsV1NamespacedEventListOK
- func (o *WatchEventsV1NamespacedEventListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchEventsV1NamespacedEventListParams
- type WatchEventsV1NamespacedEventListUnauthorized
- type WatchEventsV1NamespacedEventOK
- func (o *WatchEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchEventsV1NamespacedEventOK
- func (o *WatchEventsV1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchEventsV1NamespacedEventParams
- type WatchEventsV1NamespacedEventUnauthorized
Constants ¶
const CreateEventsV1NamespacedEventAcceptedCode int = 202
CreateEventsV1NamespacedEventAcceptedCode is the HTTP code returned for type CreateEventsV1NamespacedEventAccepted
const CreateEventsV1NamespacedEventCreatedCode int = 201
CreateEventsV1NamespacedEventCreatedCode is the HTTP code returned for type CreateEventsV1NamespacedEventCreated
const CreateEventsV1NamespacedEventOKCode int = 200
CreateEventsV1NamespacedEventOKCode is the HTTP code returned for type CreateEventsV1NamespacedEventOK
CreateEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type CreateEventsV1NamespacedEventUnauthorized
const DeleteEventsV1CollectionNamespacedEventOKCode int = 200
DeleteEventsV1CollectionNamespacedEventOKCode is the HTTP code returned for type DeleteEventsV1CollectionNamespacedEventOK
DeleteEventsV1CollectionNamespacedEventUnauthorizedCode is the HTTP code returned for type DeleteEventsV1CollectionNamespacedEventUnauthorized
const DeleteEventsV1NamespacedEventAcceptedCode int = 202
DeleteEventsV1NamespacedEventAcceptedCode is the HTTP code returned for type DeleteEventsV1NamespacedEventAccepted
const DeleteEventsV1NamespacedEventOKCode int = 200
DeleteEventsV1NamespacedEventOKCode is the HTTP code returned for type DeleteEventsV1NamespacedEventOK
DeleteEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type DeleteEventsV1NamespacedEventUnauthorized
const GetEventsV1APIResourcesOKCode int = 200
GetEventsV1APIResourcesOKCode is the HTTP code returned for type GetEventsV1APIResourcesOK
GetEventsV1APIResourcesUnauthorizedCode is the HTTP code returned for type GetEventsV1APIResourcesUnauthorized
const ListEventsV1EventForAllNamespacesOKCode int = 200
ListEventsV1EventForAllNamespacesOKCode is the HTTP code returned for type ListEventsV1EventForAllNamespacesOK
ListEventsV1EventForAllNamespacesUnauthorizedCode is the HTTP code returned for type ListEventsV1EventForAllNamespacesUnauthorized
const ListEventsV1NamespacedEventOKCode int = 200
ListEventsV1NamespacedEventOKCode is the HTTP code returned for type ListEventsV1NamespacedEventOK
ListEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type ListEventsV1NamespacedEventUnauthorized
const PatchEventsV1NamespacedEventOKCode int = 200
PatchEventsV1NamespacedEventOKCode is the HTTP code returned for type PatchEventsV1NamespacedEventOK
PatchEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type PatchEventsV1NamespacedEventUnauthorized
const ReadEventsV1NamespacedEventOKCode int = 200
ReadEventsV1NamespacedEventOKCode is the HTTP code returned for type ReadEventsV1NamespacedEventOK
ReadEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type ReadEventsV1NamespacedEventUnauthorized
const ReplaceEventsV1NamespacedEventCreatedCode int = 201
ReplaceEventsV1NamespacedEventCreatedCode is the HTTP code returned for type ReplaceEventsV1NamespacedEventCreated
const ReplaceEventsV1NamespacedEventOKCode int = 200
ReplaceEventsV1NamespacedEventOKCode is the HTTP code returned for type ReplaceEventsV1NamespacedEventOK
ReplaceEventsV1NamespacedEventUnauthorizedCode is the HTTP code returned for type ReplaceEventsV1NamespacedEventUnauthorized
const WatchEventsV1EventListForAllNamespacesOKCode int = 200
WatchEventsV1EventListForAllNamespacesOKCode is the HTTP code returned for type WatchEventsV1EventListForAllNamespacesOK
WatchEventsV1EventListForAllNamespacesUnauthorizedCode is the HTTP code returned for type WatchEventsV1EventListForAllNamespacesUnauthorized
const WatchEventsV1NamespacedEventListOKCode int = 200
WatchEventsV1NamespacedEventListOKCode is the HTTP code returned for type WatchEventsV1NamespacedEventListOK
WatchEventsV1NamespacedEventListUnauthorizedCode is the HTTP code returned for type WatchEventsV1NamespacedEventListUnauthorized
const WatchEventsV1NamespacedEventOKCode int = 200
WatchEventsV1NamespacedEventOKCode is the HTTP code returned for type WatchEventsV1NamespacedEventOK
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 ¶
func (o *CreateEventsV1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *CreateEventsV1NamespacedEventAccepted) SetPayload(payload *models.IoK8sAPIEventsV1Event)
SetPayload sets the payload to the create events v1 namespaced event accepted response
func (*CreateEventsV1NamespacedEventAccepted) WithPayload ¶
func (o *CreateEventsV1NamespacedEventAccepted) WithPayload(payload *models.IoK8sAPIEventsV1Event) *CreateEventsV1NamespacedEventAccepted
WithPayload adds the payload to the create events v1 namespaced event accepted response
func (*CreateEventsV1NamespacedEventAccepted) WriteResponse ¶
func (o *CreateEventsV1NamespacedEventAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *CreateEventsV1NamespacedEventCreated) SetPayload(payload *models.IoK8sAPIEventsV1Event)
SetPayload sets the payload to the create events v1 namespaced event created response
func (*CreateEventsV1NamespacedEventCreated) WithPayload ¶
func (o *CreateEventsV1NamespacedEventCreated) WithPayload(payload *models.IoK8sAPIEventsV1Event) *CreateEventsV1NamespacedEventCreated
WithPayload adds the payload to the create events v1 namespaced event created response
func (*CreateEventsV1NamespacedEventCreated) WriteResponse ¶
func (o *CreateEventsV1NamespacedEventCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn CreateEventsV1NamespacedEventHandlerFunc) Handle(params CreateEventsV1NamespacedEventParams) middleware.Responder
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 ¶
func (o *CreateEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1Event)
SetPayload sets the payload to the create events v1 namespaced event o k response
func (*CreateEventsV1NamespacedEventOK) WithPayload ¶
func (o *CreateEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1Event) *CreateEventsV1NamespacedEventOK
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 ¶
func (o *CreateEventsV1NamespacedEventParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with 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 ¶
func (o *CreateEventsV1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DeleteEventsV1CollectionNamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn DeleteEventsV1CollectionNamespacedEventHandlerFunc) Handle(params DeleteEventsV1CollectionNamespacedEventParams) middleware.Responder
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 ¶
func (o *DeleteEventsV1CollectionNamespacedEventOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete events v1 collection namespaced event o k response
func (*DeleteEventsV1CollectionNamespacedEventOK) WithPayload ¶
func (o *DeleteEventsV1CollectionNamespacedEventOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteEventsV1CollectionNamespacedEventOK
WithPayload adds the payload to the delete events v1 collection namespaced event o k response
func (*DeleteEventsV1CollectionNamespacedEventOK) WriteResponse ¶
func (o *DeleteEventsV1CollectionNamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DeleteEventsV1CollectionNamespacedEventParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with 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 ¶
func (o *DeleteEventsV1CollectionNamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DeleteEventsV1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *DeleteEventsV1NamespacedEventAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete events v1 namespaced event accepted response
func (*DeleteEventsV1NamespacedEventAccepted) WithPayload ¶
func (o *DeleteEventsV1NamespacedEventAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteEventsV1NamespacedEventAccepted
WithPayload adds the payload to the delete events v1 namespaced event accepted response
func (*DeleteEventsV1NamespacedEventAccepted) WriteResponse ¶
func (o *DeleteEventsV1NamespacedEventAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn DeleteEventsV1NamespacedEventHandlerFunc) Handle(params DeleteEventsV1NamespacedEventParams) middleware.Responder
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 ¶
func (o *DeleteEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete events v1 namespaced event o k response
func (*DeleteEventsV1NamespacedEventOK) WithPayload ¶
func (o *DeleteEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteEventsV1NamespacedEventOK
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 ¶
func (o *DeleteEventsV1NamespacedEventParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with 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 ¶
func (o *DeleteEventsV1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetEventsV1APIResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn GetEventsV1APIResourcesHandlerFunc) Handle(params GetEventsV1APIResourcesParams) middleware.Responder
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 ¶
func (o *GetEventsV1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
SetPayload sets the payload to the get events v1 Api resources o k response
func (*GetEventsV1APIResourcesOK) WithPayload ¶
func (o *GetEventsV1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetEventsV1APIResourcesOK
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 ¶
func (o *GetEventsV1APIResourcesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with 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 ¶
func (o *GetEventsV1APIResourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *ListEventsV1EventForAllNamespaces) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn ListEventsV1EventForAllNamespacesHandlerFunc) Handle(params ListEventsV1EventForAllNamespacesParams) middleware.Responder
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 ¶
func (o *ListEventsV1EventForAllNamespacesOK) SetPayload(payload *models.IoK8sAPIEventsV1EventList)
SetPayload sets the payload to the list events v1 event for all namespaces o k response
func (*ListEventsV1EventForAllNamespacesOK) WithPayload ¶
func (o *ListEventsV1EventForAllNamespacesOK) WithPayload(payload *models.IoK8sAPIEventsV1EventList) *ListEventsV1EventForAllNamespacesOK
WithPayload adds the payload to the list events v1 event for all namespaces o k response
func (*ListEventsV1EventForAllNamespacesOK) WriteResponse ¶
func (o *ListEventsV1EventForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *ListEventsV1EventForAllNamespacesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with 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 ¶
func (o *ListEventsV1EventForAllNamespacesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *ListEventsV1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn ListEventsV1NamespacedEventHandlerFunc) Handle(params ListEventsV1NamespacedEventParams) middleware.Responder
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 ¶
func (o *ListEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1EventList)
SetPayload sets the payload to the list events v1 namespaced event o k response
func (*ListEventsV1NamespacedEventOK) WithPayload ¶
func (o *ListEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1EventList) *ListEventsV1NamespacedEventOK
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 ¶
func (o *ListEventsV1NamespacedEventParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with 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 ¶
func (o *ListEventsV1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *PatchEventsV1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn PatchEventsV1NamespacedEventHandlerFunc) Handle(params PatchEventsV1NamespacedEventParams) middleware.Responder
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 ¶
func (o *PatchEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1Event)
SetPayload sets the payload to the patch events v1 namespaced event o k response
func (*PatchEventsV1NamespacedEventOK) WithPayload ¶
func (o *PatchEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1Event) *PatchEventsV1NamespacedEventOK
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 ¶
func (o *PatchEventsV1NamespacedEventParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with 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 ¶
func (o *PatchEventsV1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *ReadEventsV1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn ReadEventsV1NamespacedEventHandlerFunc) Handle(params ReadEventsV1NamespacedEventParams) middleware.Responder
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 ¶
func (o *ReadEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1Event)
SetPayload sets the payload to the read events v1 namespaced event o k response
func (*ReadEventsV1NamespacedEventOK) WithPayload ¶
func (o *ReadEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1Event) *ReadEventsV1NamespacedEventOK
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 ¶
func (o *ReadEventsV1NamespacedEventParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with 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 ¶
func (o *ReadEventsV1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *ReplaceEventsV1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *ReplaceEventsV1NamespacedEventCreated) SetPayload(payload *models.IoK8sAPIEventsV1Event)
SetPayload sets the payload to the replace events v1 namespaced event created response
func (*ReplaceEventsV1NamespacedEventCreated) WithPayload ¶
func (o *ReplaceEventsV1NamespacedEventCreated) WithPayload(payload *models.IoK8sAPIEventsV1Event) *ReplaceEventsV1NamespacedEventCreated
WithPayload adds the payload to the replace events v1 namespaced event created response
func (*ReplaceEventsV1NamespacedEventCreated) WriteResponse ¶
func (o *ReplaceEventsV1NamespacedEventCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn ReplaceEventsV1NamespacedEventHandlerFunc) Handle(params ReplaceEventsV1NamespacedEventParams) middleware.Responder
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 ¶
func (o *ReplaceEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1Event)
SetPayload sets the payload to the replace events v1 namespaced event o k response
func (*ReplaceEventsV1NamespacedEventOK) WithPayload ¶
func (o *ReplaceEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1Event) *ReplaceEventsV1NamespacedEventOK
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 ¶
func (o *ReplaceEventsV1NamespacedEventParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with 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 ¶
func (o *ReplaceEventsV1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WatchEventsV1EventListForAllNamespaces) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn WatchEventsV1EventListForAllNamespacesHandlerFunc) Handle(params WatchEventsV1EventListForAllNamespacesParams) middleware.Responder
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 ¶
func (o *WatchEventsV1EventListForAllNamespacesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch events v1 event list for all namespaces o k response
func (*WatchEventsV1EventListForAllNamespacesOK) WithPayload ¶
func (o *WatchEventsV1EventListForAllNamespacesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchEventsV1EventListForAllNamespacesOK
WithPayload adds the payload to the watch events v1 event list for all namespaces o k response
func (*WatchEventsV1EventListForAllNamespacesOK) WriteResponse ¶
func (o *WatchEventsV1EventListForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WatchEventsV1EventListForAllNamespacesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with 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 ¶
func (o *WatchEventsV1EventListForAllNamespacesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WatchEventsV1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn WatchEventsV1NamespacedEventHandlerFunc) Handle(params WatchEventsV1NamespacedEventParams) middleware.Responder
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 ¶
func (o *WatchEventsV1NamespacedEventList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn WatchEventsV1NamespacedEventListHandlerFunc) Handle(params WatchEventsV1NamespacedEventListParams) middleware.Responder
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 ¶
func (o *WatchEventsV1NamespacedEventListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch events v1 namespaced event list o k response
func (*WatchEventsV1NamespacedEventListOK) WithPayload ¶
func (o *WatchEventsV1NamespacedEventListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchEventsV1NamespacedEventListOK
WithPayload adds the payload to the watch events v1 namespaced event list o k response
func (*WatchEventsV1NamespacedEventListOK) WriteResponse ¶
func (o *WatchEventsV1NamespacedEventListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WatchEventsV1NamespacedEventListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with 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 ¶
func (o *WatchEventsV1NamespacedEventListUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WatchEventsV1NamespacedEventOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch events v1 namespaced event o k response
func (*WatchEventsV1NamespacedEventOK) WithPayload ¶
func (o *WatchEventsV1NamespacedEventOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchEventsV1NamespacedEventOK
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 ¶
func (o *WatchEventsV1NamespacedEventParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with 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 ¶
func (o *WatchEventsV1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_events_v1_namespaced_event.go
- create_events_v1_namespaced_event_parameters.go
- create_events_v1_namespaced_event_responses.go
- delete_events_v1_collection_namespaced_event.go
- delete_events_v1_collection_namespaced_event_parameters.go
- delete_events_v1_collection_namespaced_event_responses.go
- delete_events_v1_namespaced_event.go
- delete_events_v1_namespaced_event_parameters.go
- delete_events_v1_namespaced_event_responses.go
- get_events_v1_api_resources.go
- get_events_v1_api_resources_parameters.go
- get_events_v1_api_resources_responses.go
- list_events_v1_event_for_all_namespaces.go
- list_events_v1_event_for_all_namespaces_parameters.go
- list_events_v1_event_for_all_namespaces_responses.go
- list_events_v1_namespaced_event.go
- list_events_v1_namespaced_event_parameters.go
- list_events_v1_namespaced_event_responses.go
- patch_events_v1_namespaced_event.go
- patch_events_v1_namespaced_event_parameters.go
- patch_events_v1_namespaced_event_responses.go
- read_events_v1_namespaced_event.go
- read_events_v1_namespaced_event_parameters.go
- read_events_v1_namespaced_event_responses.go
- replace_events_v1_namespaced_event.go
- replace_events_v1_namespaced_event_parameters.go
- replace_events_v1_namespaced_event_responses.go
- watch_events_v1_event_list_for_all_namespaces.go
- watch_events_v1_event_list_for_all_namespaces_parameters.go
- watch_events_v1_event_list_for_all_namespaces_responses.go
- watch_events_v1_namespaced_event.go
- watch_events_v1_namespaced_event_list.go
- watch_events_v1_namespaced_event_list_parameters.go
- watch_events_v1_namespaced_event_list_responses.go
- watch_events_v1_namespaced_event_parameters.go
- watch_events_v1_namespaced_event_responses.go