Documentation
¶
Index ¶
- Constants
- type CreateEventsV1beta1NamespacedEvent
- type CreateEventsV1beta1NamespacedEventAccepted
- func (o *CreateEventsV1beta1NamespacedEventAccepted) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
- func (o *CreateEventsV1beta1NamespacedEventAccepted) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *CreateEventsV1beta1NamespacedEventAccepted
- func (o *CreateEventsV1beta1NamespacedEventAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateEventsV1beta1NamespacedEventCreated
- func (o *CreateEventsV1beta1NamespacedEventCreated) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
- func (o *CreateEventsV1beta1NamespacedEventCreated) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *CreateEventsV1beta1NamespacedEventCreated
- func (o *CreateEventsV1beta1NamespacedEventCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateEventsV1beta1NamespacedEventHandler
- type CreateEventsV1beta1NamespacedEventHandlerFunc
- type CreateEventsV1beta1NamespacedEventOK
- func (o *CreateEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
- func (o *CreateEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *CreateEventsV1beta1NamespacedEventOK
- func (o *CreateEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateEventsV1beta1NamespacedEventParams
- type CreateEventsV1beta1NamespacedEventUnauthorized
- type DeleteEventsV1beta1CollectionNamespacedEvent
- type DeleteEventsV1beta1CollectionNamespacedEventHandler
- type DeleteEventsV1beta1CollectionNamespacedEventHandlerFunc
- type DeleteEventsV1beta1CollectionNamespacedEventOK
- func (o *DeleteEventsV1beta1CollectionNamespacedEventOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteEventsV1beta1CollectionNamespacedEventOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteEventsV1beta1CollectionNamespacedEventOK
- func (o *DeleteEventsV1beta1CollectionNamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEventsV1beta1CollectionNamespacedEventParams
- type DeleteEventsV1beta1CollectionNamespacedEventUnauthorized
- type DeleteEventsV1beta1NamespacedEvent
- type DeleteEventsV1beta1NamespacedEventAccepted
- func (o *DeleteEventsV1beta1NamespacedEventAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteEventsV1beta1NamespacedEventAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteEventsV1beta1NamespacedEventAccepted
- func (o *DeleteEventsV1beta1NamespacedEventAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEventsV1beta1NamespacedEventHandler
- type DeleteEventsV1beta1NamespacedEventHandlerFunc
- type DeleteEventsV1beta1NamespacedEventOK
- func (o *DeleteEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteEventsV1beta1NamespacedEventOK
- func (o *DeleteEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEventsV1beta1NamespacedEventParams
- type DeleteEventsV1beta1NamespacedEventUnauthorized
- type GetEventsV1beta1APIResources
- type GetEventsV1beta1APIResourcesHandler
- type GetEventsV1beta1APIResourcesHandlerFunc
- type GetEventsV1beta1APIResourcesOK
- func (o *GetEventsV1beta1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
- func (o *GetEventsV1beta1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetEventsV1beta1APIResourcesOK
- func (o *GetEventsV1beta1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetEventsV1beta1APIResourcesParams
- type GetEventsV1beta1APIResourcesUnauthorized
- type ListEventsV1beta1EventForAllNamespaces
- type ListEventsV1beta1EventForAllNamespacesHandler
- type ListEventsV1beta1EventForAllNamespacesHandlerFunc
- type ListEventsV1beta1EventForAllNamespacesOK
- func (o *ListEventsV1beta1EventForAllNamespacesOK) SetPayload(payload *models.IoK8sAPIEventsV1beta1EventList)
- func (o *ListEventsV1beta1EventForAllNamespacesOK) WithPayload(payload *models.IoK8sAPIEventsV1beta1EventList) *ListEventsV1beta1EventForAllNamespacesOK
- func (o *ListEventsV1beta1EventForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEventsV1beta1EventForAllNamespacesParams
- type ListEventsV1beta1EventForAllNamespacesUnauthorized
- type ListEventsV1beta1NamespacedEvent
- type ListEventsV1beta1NamespacedEventHandler
- type ListEventsV1beta1NamespacedEventHandlerFunc
- type ListEventsV1beta1NamespacedEventOK
- func (o *ListEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1beta1EventList)
- func (o *ListEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1beta1EventList) *ListEventsV1beta1NamespacedEventOK
- func (o *ListEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEventsV1beta1NamespacedEventParams
- type ListEventsV1beta1NamespacedEventUnauthorized
- type PatchEventsV1beta1NamespacedEvent
- type PatchEventsV1beta1NamespacedEventHandler
- type PatchEventsV1beta1NamespacedEventHandlerFunc
- type PatchEventsV1beta1NamespacedEventOK
- func (o *PatchEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
- func (o *PatchEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *PatchEventsV1beta1NamespacedEventOK
- func (o *PatchEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchEventsV1beta1NamespacedEventParams
- type PatchEventsV1beta1NamespacedEventUnauthorized
- type ReadEventsV1beta1NamespacedEvent
- type ReadEventsV1beta1NamespacedEventHandler
- type ReadEventsV1beta1NamespacedEventHandlerFunc
- type ReadEventsV1beta1NamespacedEventOK
- func (o *ReadEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
- func (o *ReadEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *ReadEventsV1beta1NamespacedEventOK
- func (o *ReadEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReadEventsV1beta1NamespacedEventParams
- type ReadEventsV1beta1NamespacedEventUnauthorized
- type ReplaceEventsV1beta1NamespacedEvent
- type ReplaceEventsV1beta1NamespacedEventCreated
- func (o *ReplaceEventsV1beta1NamespacedEventCreated) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
- func (o *ReplaceEventsV1beta1NamespacedEventCreated) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *ReplaceEventsV1beta1NamespacedEventCreated
- func (o *ReplaceEventsV1beta1NamespacedEventCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceEventsV1beta1NamespacedEventHandler
- type ReplaceEventsV1beta1NamespacedEventHandlerFunc
- type ReplaceEventsV1beta1NamespacedEventOK
- func (o *ReplaceEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
- func (o *ReplaceEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *ReplaceEventsV1beta1NamespacedEventOK
- func (o *ReplaceEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceEventsV1beta1NamespacedEventParams
- type ReplaceEventsV1beta1NamespacedEventUnauthorized
- type WatchEventsV1beta1EventListForAllNamespaces
- type WatchEventsV1beta1EventListForAllNamespacesHandler
- type WatchEventsV1beta1EventListForAllNamespacesHandlerFunc
- type WatchEventsV1beta1EventListForAllNamespacesOK
- func (o *WatchEventsV1beta1EventListForAllNamespacesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchEventsV1beta1EventListForAllNamespacesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchEventsV1beta1EventListForAllNamespacesOK
- func (o *WatchEventsV1beta1EventListForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchEventsV1beta1EventListForAllNamespacesParams
- type WatchEventsV1beta1EventListForAllNamespacesUnauthorized
- type WatchEventsV1beta1NamespacedEvent
- type WatchEventsV1beta1NamespacedEventHandler
- type WatchEventsV1beta1NamespacedEventHandlerFunc
- type WatchEventsV1beta1NamespacedEventList
- type WatchEventsV1beta1NamespacedEventListHandler
- type WatchEventsV1beta1NamespacedEventListHandlerFunc
- type WatchEventsV1beta1NamespacedEventListOK
- func (o *WatchEventsV1beta1NamespacedEventListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchEventsV1beta1NamespacedEventListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchEventsV1beta1NamespacedEventListOK
- func (o *WatchEventsV1beta1NamespacedEventListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchEventsV1beta1NamespacedEventListParams
- type WatchEventsV1beta1NamespacedEventListUnauthorized
- type WatchEventsV1beta1NamespacedEventOK
- func (o *WatchEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchEventsV1beta1NamespacedEventOK
- func (o *WatchEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchEventsV1beta1NamespacedEventParams
- type WatchEventsV1beta1NamespacedEventUnauthorized
Constants ¶
const CreateEventsV1beta1NamespacedEventAcceptedCode int = 202
CreateEventsV1beta1NamespacedEventAcceptedCode is the HTTP code returned for type CreateEventsV1beta1NamespacedEventAccepted
const CreateEventsV1beta1NamespacedEventCreatedCode int = 201
CreateEventsV1beta1NamespacedEventCreatedCode is the HTTP code returned for type CreateEventsV1beta1NamespacedEventCreated
const CreateEventsV1beta1NamespacedEventOKCode int = 200
CreateEventsV1beta1NamespacedEventOKCode is the HTTP code returned for type CreateEventsV1beta1NamespacedEventOK
CreateEventsV1beta1NamespacedEventUnauthorizedCode is the HTTP code returned for type CreateEventsV1beta1NamespacedEventUnauthorized
const DeleteEventsV1beta1CollectionNamespacedEventOKCode int = 200
DeleteEventsV1beta1CollectionNamespacedEventOKCode is the HTTP code returned for type DeleteEventsV1beta1CollectionNamespacedEventOK
DeleteEventsV1beta1CollectionNamespacedEventUnauthorizedCode is the HTTP code returned for type DeleteEventsV1beta1CollectionNamespacedEventUnauthorized
const DeleteEventsV1beta1NamespacedEventAcceptedCode int = 202
DeleteEventsV1beta1NamespacedEventAcceptedCode is the HTTP code returned for type DeleteEventsV1beta1NamespacedEventAccepted
const DeleteEventsV1beta1NamespacedEventOKCode int = 200
DeleteEventsV1beta1NamespacedEventOKCode is the HTTP code returned for type DeleteEventsV1beta1NamespacedEventOK
DeleteEventsV1beta1NamespacedEventUnauthorizedCode is the HTTP code returned for type DeleteEventsV1beta1NamespacedEventUnauthorized
const GetEventsV1beta1APIResourcesOKCode int = 200
GetEventsV1beta1APIResourcesOKCode is the HTTP code returned for type GetEventsV1beta1APIResourcesOK
GetEventsV1beta1APIResourcesUnauthorizedCode is the HTTP code returned for type GetEventsV1beta1APIResourcesUnauthorized
const ListEventsV1beta1EventForAllNamespacesOKCode int = 200
ListEventsV1beta1EventForAllNamespacesOKCode is the HTTP code returned for type ListEventsV1beta1EventForAllNamespacesOK
ListEventsV1beta1EventForAllNamespacesUnauthorizedCode is the HTTP code returned for type ListEventsV1beta1EventForAllNamespacesUnauthorized
const ListEventsV1beta1NamespacedEventOKCode int = 200
ListEventsV1beta1NamespacedEventOKCode is the HTTP code returned for type ListEventsV1beta1NamespacedEventOK
ListEventsV1beta1NamespacedEventUnauthorizedCode is the HTTP code returned for type ListEventsV1beta1NamespacedEventUnauthorized
const PatchEventsV1beta1NamespacedEventOKCode int = 200
PatchEventsV1beta1NamespacedEventOKCode is the HTTP code returned for type PatchEventsV1beta1NamespacedEventOK
PatchEventsV1beta1NamespacedEventUnauthorizedCode is the HTTP code returned for type PatchEventsV1beta1NamespacedEventUnauthorized
const ReadEventsV1beta1NamespacedEventOKCode int = 200
ReadEventsV1beta1NamespacedEventOKCode is the HTTP code returned for type ReadEventsV1beta1NamespacedEventOK
ReadEventsV1beta1NamespacedEventUnauthorizedCode is the HTTP code returned for type ReadEventsV1beta1NamespacedEventUnauthorized
const ReplaceEventsV1beta1NamespacedEventCreatedCode int = 201
ReplaceEventsV1beta1NamespacedEventCreatedCode is the HTTP code returned for type ReplaceEventsV1beta1NamespacedEventCreated
const ReplaceEventsV1beta1NamespacedEventOKCode int = 200
ReplaceEventsV1beta1NamespacedEventOKCode is the HTTP code returned for type ReplaceEventsV1beta1NamespacedEventOK
ReplaceEventsV1beta1NamespacedEventUnauthorizedCode is the HTTP code returned for type ReplaceEventsV1beta1NamespacedEventUnauthorized
const WatchEventsV1beta1EventListForAllNamespacesOKCode int = 200
WatchEventsV1beta1EventListForAllNamespacesOKCode is the HTTP code returned for type WatchEventsV1beta1EventListForAllNamespacesOK
WatchEventsV1beta1EventListForAllNamespacesUnauthorizedCode is the HTTP code returned for type WatchEventsV1beta1EventListForAllNamespacesUnauthorized
const WatchEventsV1beta1NamespacedEventListOKCode int = 200
WatchEventsV1beta1NamespacedEventListOKCode is the HTTP code returned for type WatchEventsV1beta1NamespacedEventListOK
WatchEventsV1beta1NamespacedEventListUnauthorizedCode is the HTTP code returned for type WatchEventsV1beta1NamespacedEventListUnauthorized
const WatchEventsV1beta1NamespacedEventOKCode int = 200
WatchEventsV1beta1NamespacedEventOKCode is the HTTP code returned for type WatchEventsV1beta1NamespacedEventOK
WatchEventsV1beta1NamespacedEventUnauthorizedCode is the HTTP code returned for type WatchEventsV1beta1NamespacedEventUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateEventsV1beta1NamespacedEvent ¶
type CreateEventsV1beta1NamespacedEvent struct { Context *middleware.Context Handler CreateEventsV1beta1NamespacedEventHandler }
CreateEventsV1beta1NamespacedEvent swagger:route POST /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events events_v1beta1 createEventsV1beta1NamespacedEvent
create an Event
func NewCreateEventsV1beta1NamespacedEvent ¶
func NewCreateEventsV1beta1NamespacedEvent(ctx *middleware.Context, handler CreateEventsV1beta1NamespacedEventHandler) *CreateEventsV1beta1NamespacedEvent
NewCreateEventsV1beta1NamespacedEvent creates a new http.Handler for the create events v1beta1 namespaced event operation
func (*CreateEventsV1beta1NamespacedEvent) ServeHTTP ¶
func (o *CreateEventsV1beta1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateEventsV1beta1NamespacedEventAccepted ¶
type CreateEventsV1beta1NamespacedEventAccepted struct { /* In: Body */ Payload *models.IoK8sAPIEventsV1beta1Event `json:"body,omitempty"` }
CreateEventsV1beta1NamespacedEventAccepted Accepted
swagger:response createEventsV1beta1NamespacedEventAccepted
func NewCreateEventsV1beta1NamespacedEventAccepted ¶
func NewCreateEventsV1beta1NamespacedEventAccepted() *CreateEventsV1beta1NamespacedEventAccepted
NewCreateEventsV1beta1NamespacedEventAccepted creates CreateEventsV1beta1NamespacedEventAccepted with default headers values
func (*CreateEventsV1beta1NamespacedEventAccepted) SetPayload ¶
func (o *CreateEventsV1beta1NamespacedEventAccepted) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
SetPayload sets the payload to the create events v1beta1 namespaced event accepted response
func (*CreateEventsV1beta1NamespacedEventAccepted) WithPayload ¶
func (o *CreateEventsV1beta1NamespacedEventAccepted) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *CreateEventsV1beta1NamespacedEventAccepted
WithPayload adds the payload to the create events v1beta1 namespaced event accepted response
func (*CreateEventsV1beta1NamespacedEventAccepted) WriteResponse ¶
func (o *CreateEventsV1beta1NamespacedEventAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateEventsV1beta1NamespacedEventCreated ¶
type CreateEventsV1beta1NamespacedEventCreated struct { /* In: Body */ Payload *models.IoK8sAPIEventsV1beta1Event `json:"body,omitempty"` }
CreateEventsV1beta1NamespacedEventCreated Created
swagger:response createEventsV1beta1NamespacedEventCreated
func NewCreateEventsV1beta1NamespacedEventCreated ¶
func NewCreateEventsV1beta1NamespacedEventCreated() *CreateEventsV1beta1NamespacedEventCreated
NewCreateEventsV1beta1NamespacedEventCreated creates CreateEventsV1beta1NamespacedEventCreated with default headers values
func (*CreateEventsV1beta1NamespacedEventCreated) SetPayload ¶
func (o *CreateEventsV1beta1NamespacedEventCreated) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
SetPayload sets the payload to the create events v1beta1 namespaced event created response
func (*CreateEventsV1beta1NamespacedEventCreated) WithPayload ¶
func (o *CreateEventsV1beta1NamespacedEventCreated) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *CreateEventsV1beta1NamespacedEventCreated
WithPayload adds the payload to the create events v1beta1 namespaced event created response
func (*CreateEventsV1beta1NamespacedEventCreated) WriteResponse ¶
func (o *CreateEventsV1beta1NamespacedEventCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateEventsV1beta1NamespacedEventHandler ¶
type CreateEventsV1beta1NamespacedEventHandler interface {
Handle(CreateEventsV1beta1NamespacedEventParams) middleware.Responder
}
CreateEventsV1beta1NamespacedEventHandler interface for that can handle valid create events v1beta1 namespaced event params
type CreateEventsV1beta1NamespacedEventHandlerFunc ¶
type CreateEventsV1beta1NamespacedEventHandlerFunc func(CreateEventsV1beta1NamespacedEventParams) middleware.Responder
CreateEventsV1beta1NamespacedEventHandlerFunc turns a function with the right signature into a create events v1beta1 namespaced event handler
func (CreateEventsV1beta1NamespacedEventHandlerFunc) Handle ¶
func (fn CreateEventsV1beta1NamespacedEventHandlerFunc) Handle(params CreateEventsV1beta1NamespacedEventParams) middleware.Responder
Handle executing the request and returning a response
type CreateEventsV1beta1NamespacedEventOK ¶
type CreateEventsV1beta1NamespacedEventOK struct { /* In: Body */ Payload *models.IoK8sAPIEventsV1beta1Event `json:"body,omitempty"` }
CreateEventsV1beta1NamespacedEventOK OK
swagger:response createEventsV1beta1NamespacedEventOK
func NewCreateEventsV1beta1NamespacedEventOK ¶
func NewCreateEventsV1beta1NamespacedEventOK() *CreateEventsV1beta1NamespacedEventOK
NewCreateEventsV1beta1NamespacedEventOK creates CreateEventsV1beta1NamespacedEventOK with default headers values
func (*CreateEventsV1beta1NamespacedEventOK) SetPayload ¶
func (o *CreateEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
SetPayload sets the payload to the create events v1beta1 namespaced event o k response
func (*CreateEventsV1beta1NamespacedEventOK) WithPayload ¶
func (o *CreateEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *CreateEventsV1beta1NamespacedEventOK
WithPayload adds the payload to the create events v1beta1 namespaced event o k response
func (*CreateEventsV1beta1NamespacedEventOK) WriteResponse ¶
func (o *CreateEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateEventsV1beta1NamespacedEventParams ¶
type CreateEventsV1beta1NamespacedEventParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sAPIEventsV1beta1Event /*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 }
CreateEventsV1beta1NamespacedEventParams contains all the bound params for the create events v1beta1 namespaced event operation typically these are obtained from a http.Request
swagger:parameters createEventsV1beta1NamespacedEvent
func NewCreateEventsV1beta1NamespacedEventParams ¶
func NewCreateEventsV1beta1NamespacedEventParams() CreateEventsV1beta1NamespacedEventParams
NewCreateEventsV1beta1NamespacedEventParams creates a new CreateEventsV1beta1NamespacedEventParams object no default values defined in spec.
func (*CreateEventsV1beta1NamespacedEventParams) BindRequest ¶
func (o *CreateEventsV1beta1NamespacedEventParams) 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 NewCreateEventsV1beta1NamespacedEventParams() beforehand.
type CreateEventsV1beta1NamespacedEventUnauthorized ¶
type CreateEventsV1beta1NamespacedEventUnauthorized struct { }
CreateEventsV1beta1NamespacedEventUnauthorized Unauthorized
swagger:response createEventsV1beta1NamespacedEventUnauthorized
func NewCreateEventsV1beta1NamespacedEventUnauthorized ¶
func NewCreateEventsV1beta1NamespacedEventUnauthorized() *CreateEventsV1beta1NamespacedEventUnauthorized
NewCreateEventsV1beta1NamespacedEventUnauthorized creates CreateEventsV1beta1NamespacedEventUnauthorized with default headers values
func (*CreateEventsV1beta1NamespacedEventUnauthorized) WriteResponse ¶
func (o *CreateEventsV1beta1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEventsV1beta1CollectionNamespacedEvent ¶
type DeleteEventsV1beta1CollectionNamespacedEvent struct { Context *middleware.Context Handler DeleteEventsV1beta1CollectionNamespacedEventHandler }
DeleteEventsV1beta1CollectionNamespacedEvent swagger:route DELETE /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events events_v1beta1 deleteEventsV1beta1CollectionNamespacedEvent
delete collection of Event
func NewDeleteEventsV1beta1CollectionNamespacedEvent ¶
func NewDeleteEventsV1beta1CollectionNamespacedEvent(ctx *middleware.Context, handler DeleteEventsV1beta1CollectionNamespacedEventHandler) *DeleteEventsV1beta1CollectionNamespacedEvent
NewDeleteEventsV1beta1CollectionNamespacedEvent creates a new http.Handler for the delete events v1beta1 collection namespaced event operation
func (*DeleteEventsV1beta1CollectionNamespacedEvent) ServeHTTP ¶
func (o *DeleteEventsV1beta1CollectionNamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteEventsV1beta1CollectionNamespacedEventHandler ¶
type DeleteEventsV1beta1CollectionNamespacedEventHandler interface {
Handle(DeleteEventsV1beta1CollectionNamespacedEventParams) middleware.Responder
}
DeleteEventsV1beta1CollectionNamespacedEventHandler interface for that can handle valid delete events v1beta1 collection namespaced event params
type DeleteEventsV1beta1CollectionNamespacedEventHandlerFunc ¶
type DeleteEventsV1beta1CollectionNamespacedEventHandlerFunc func(DeleteEventsV1beta1CollectionNamespacedEventParams) middleware.Responder
DeleteEventsV1beta1CollectionNamespacedEventHandlerFunc turns a function with the right signature into a delete events v1beta1 collection namespaced event handler
func (DeleteEventsV1beta1CollectionNamespacedEventHandlerFunc) Handle ¶
func (fn DeleteEventsV1beta1CollectionNamespacedEventHandlerFunc) Handle(params DeleteEventsV1beta1CollectionNamespacedEventParams) middleware.Responder
Handle executing the request and returning a response
type DeleteEventsV1beta1CollectionNamespacedEventOK ¶
type DeleteEventsV1beta1CollectionNamespacedEventOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteEventsV1beta1CollectionNamespacedEventOK OK
swagger:response deleteEventsV1beta1CollectionNamespacedEventOK
func NewDeleteEventsV1beta1CollectionNamespacedEventOK ¶
func NewDeleteEventsV1beta1CollectionNamespacedEventOK() *DeleteEventsV1beta1CollectionNamespacedEventOK
NewDeleteEventsV1beta1CollectionNamespacedEventOK creates DeleteEventsV1beta1CollectionNamespacedEventOK with default headers values
func (*DeleteEventsV1beta1CollectionNamespacedEventOK) SetPayload ¶
func (o *DeleteEventsV1beta1CollectionNamespacedEventOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete events v1beta1 collection namespaced event o k response
func (*DeleteEventsV1beta1CollectionNamespacedEventOK) WithPayload ¶
func (o *DeleteEventsV1beta1CollectionNamespacedEventOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteEventsV1beta1CollectionNamespacedEventOK
WithPayload adds the payload to the delete events v1beta1 collection namespaced event o k response
func (*DeleteEventsV1beta1CollectionNamespacedEventOK) WriteResponse ¶
func (o *DeleteEventsV1beta1CollectionNamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEventsV1beta1CollectionNamespacedEventParams ¶
type DeleteEventsV1beta1CollectionNamespacedEventParams 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 }
DeleteEventsV1beta1CollectionNamespacedEventParams contains all the bound params for the delete events v1beta1 collection namespaced event operation typically these are obtained from a http.Request
swagger:parameters deleteEventsV1beta1CollectionNamespacedEvent
func NewDeleteEventsV1beta1CollectionNamespacedEventParams ¶
func NewDeleteEventsV1beta1CollectionNamespacedEventParams() DeleteEventsV1beta1CollectionNamespacedEventParams
NewDeleteEventsV1beta1CollectionNamespacedEventParams creates a new DeleteEventsV1beta1CollectionNamespacedEventParams object no default values defined in spec.
func (*DeleteEventsV1beta1CollectionNamespacedEventParams) BindRequest ¶
func (o *DeleteEventsV1beta1CollectionNamespacedEventParams) 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 NewDeleteEventsV1beta1CollectionNamespacedEventParams() beforehand.
type DeleteEventsV1beta1CollectionNamespacedEventUnauthorized ¶
type DeleteEventsV1beta1CollectionNamespacedEventUnauthorized struct { }
DeleteEventsV1beta1CollectionNamespacedEventUnauthorized Unauthorized
swagger:response deleteEventsV1beta1CollectionNamespacedEventUnauthorized
func NewDeleteEventsV1beta1CollectionNamespacedEventUnauthorized ¶
func NewDeleteEventsV1beta1CollectionNamespacedEventUnauthorized() *DeleteEventsV1beta1CollectionNamespacedEventUnauthorized
NewDeleteEventsV1beta1CollectionNamespacedEventUnauthorized creates DeleteEventsV1beta1CollectionNamespacedEventUnauthorized with default headers values
func (*DeleteEventsV1beta1CollectionNamespacedEventUnauthorized) WriteResponse ¶
func (o *DeleteEventsV1beta1CollectionNamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEventsV1beta1NamespacedEvent ¶
type DeleteEventsV1beta1NamespacedEvent struct { Context *middleware.Context Handler DeleteEventsV1beta1NamespacedEventHandler }
DeleteEventsV1beta1NamespacedEvent swagger:route DELETE /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name} events_v1beta1 deleteEventsV1beta1NamespacedEvent
delete an Event
func NewDeleteEventsV1beta1NamespacedEvent ¶
func NewDeleteEventsV1beta1NamespacedEvent(ctx *middleware.Context, handler DeleteEventsV1beta1NamespacedEventHandler) *DeleteEventsV1beta1NamespacedEvent
NewDeleteEventsV1beta1NamespacedEvent creates a new http.Handler for the delete events v1beta1 namespaced event operation
func (*DeleteEventsV1beta1NamespacedEvent) ServeHTTP ¶
func (o *DeleteEventsV1beta1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteEventsV1beta1NamespacedEventAccepted ¶
type DeleteEventsV1beta1NamespacedEventAccepted struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteEventsV1beta1NamespacedEventAccepted Accepted
swagger:response deleteEventsV1beta1NamespacedEventAccepted
func NewDeleteEventsV1beta1NamespacedEventAccepted ¶
func NewDeleteEventsV1beta1NamespacedEventAccepted() *DeleteEventsV1beta1NamespacedEventAccepted
NewDeleteEventsV1beta1NamespacedEventAccepted creates DeleteEventsV1beta1NamespacedEventAccepted with default headers values
func (*DeleteEventsV1beta1NamespacedEventAccepted) SetPayload ¶
func (o *DeleteEventsV1beta1NamespacedEventAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete events v1beta1 namespaced event accepted response
func (*DeleteEventsV1beta1NamespacedEventAccepted) WithPayload ¶
func (o *DeleteEventsV1beta1NamespacedEventAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteEventsV1beta1NamespacedEventAccepted
WithPayload adds the payload to the delete events v1beta1 namespaced event accepted response
func (*DeleteEventsV1beta1NamespacedEventAccepted) WriteResponse ¶
func (o *DeleteEventsV1beta1NamespacedEventAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEventsV1beta1NamespacedEventHandler ¶
type DeleteEventsV1beta1NamespacedEventHandler interface {
Handle(DeleteEventsV1beta1NamespacedEventParams) middleware.Responder
}
DeleteEventsV1beta1NamespacedEventHandler interface for that can handle valid delete events v1beta1 namespaced event params
type DeleteEventsV1beta1NamespacedEventHandlerFunc ¶
type DeleteEventsV1beta1NamespacedEventHandlerFunc func(DeleteEventsV1beta1NamespacedEventParams) middleware.Responder
DeleteEventsV1beta1NamespacedEventHandlerFunc turns a function with the right signature into a delete events v1beta1 namespaced event handler
func (DeleteEventsV1beta1NamespacedEventHandlerFunc) Handle ¶
func (fn DeleteEventsV1beta1NamespacedEventHandlerFunc) Handle(params DeleteEventsV1beta1NamespacedEventParams) middleware.Responder
Handle executing the request and returning a response
type DeleteEventsV1beta1NamespacedEventOK ¶
type DeleteEventsV1beta1NamespacedEventOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteEventsV1beta1NamespacedEventOK OK
swagger:response deleteEventsV1beta1NamespacedEventOK
func NewDeleteEventsV1beta1NamespacedEventOK ¶
func NewDeleteEventsV1beta1NamespacedEventOK() *DeleteEventsV1beta1NamespacedEventOK
NewDeleteEventsV1beta1NamespacedEventOK creates DeleteEventsV1beta1NamespacedEventOK with default headers values
func (*DeleteEventsV1beta1NamespacedEventOK) SetPayload ¶
func (o *DeleteEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete events v1beta1 namespaced event o k response
func (*DeleteEventsV1beta1NamespacedEventOK) WithPayload ¶
func (o *DeleteEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteEventsV1beta1NamespacedEventOK
WithPayload adds the payload to the delete events v1beta1 namespaced event o k response
func (*DeleteEventsV1beta1NamespacedEventOK) WriteResponse ¶
func (o *DeleteEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEventsV1beta1NamespacedEventParams ¶
type DeleteEventsV1beta1NamespacedEventParams 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 }
DeleteEventsV1beta1NamespacedEventParams contains all the bound params for the delete events v1beta1 namespaced event operation typically these are obtained from a http.Request
swagger:parameters deleteEventsV1beta1NamespacedEvent
func NewDeleteEventsV1beta1NamespacedEventParams ¶
func NewDeleteEventsV1beta1NamespacedEventParams() DeleteEventsV1beta1NamespacedEventParams
NewDeleteEventsV1beta1NamespacedEventParams creates a new DeleteEventsV1beta1NamespacedEventParams object no default values defined in spec.
func (*DeleteEventsV1beta1NamespacedEventParams) BindRequest ¶
func (o *DeleteEventsV1beta1NamespacedEventParams) 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 NewDeleteEventsV1beta1NamespacedEventParams() beforehand.
type DeleteEventsV1beta1NamespacedEventUnauthorized ¶
type DeleteEventsV1beta1NamespacedEventUnauthorized struct { }
DeleteEventsV1beta1NamespacedEventUnauthorized Unauthorized
swagger:response deleteEventsV1beta1NamespacedEventUnauthorized
func NewDeleteEventsV1beta1NamespacedEventUnauthorized ¶
func NewDeleteEventsV1beta1NamespacedEventUnauthorized() *DeleteEventsV1beta1NamespacedEventUnauthorized
NewDeleteEventsV1beta1NamespacedEventUnauthorized creates DeleteEventsV1beta1NamespacedEventUnauthorized with default headers values
func (*DeleteEventsV1beta1NamespacedEventUnauthorized) WriteResponse ¶
func (o *DeleteEventsV1beta1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEventsV1beta1APIResources ¶
type GetEventsV1beta1APIResources struct { Context *middleware.Context Handler GetEventsV1beta1APIResourcesHandler }
GetEventsV1beta1APIResources swagger:route GET /apis/events.k8s.io/v1beta1/ events_v1beta1 getEventsV1beta1ApiResources
get available resources
func NewGetEventsV1beta1APIResources ¶
func NewGetEventsV1beta1APIResources(ctx *middleware.Context, handler GetEventsV1beta1APIResourcesHandler) *GetEventsV1beta1APIResources
NewGetEventsV1beta1APIResources creates a new http.Handler for the get events v1beta1 API resources operation
func (*GetEventsV1beta1APIResources) ServeHTTP ¶
func (o *GetEventsV1beta1APIResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetEventsV1beta1APIResourcesHandler ¶
type GetEventsV1beta1APIResourcesHandler interface {
Handle(GetEventsV1beta1APIResourcesParams) middleware.Responder
}
GetEventsV1beta1APIResourcesHandler interface for that can handle valid get events v1beta1 API resources params
type GetEventsV1beta1APIResourcesHandlerFunc ¶
type GetEventsV1beta1APIResourcesHandlerFunc func(GetEventsV1beta1APIResourcesParams) middleware.Responder
GetEventsV1beta1APIResourcesHandlerFunc turns a function with the right signature into a get events v1beta1 API resources handler
func (GetEventsV1beta1APIResourcesHandlerFunc) Handle ¶
func (fn GetEventsV1beta1APIResourcesHandlerFunc) Handle(params GetEventsV1beta1APIResourcesParams) middleware.Responder
Handle executing the request and returning a response
type GetEventsV1beta1APIResourcesOK ¶
type GetEventsV1beta1APIResourcesOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList `json:"body,omitempty"` }
GetEventsV1beta1APIResourcesOK OK
swagger:response getEventsV1beta1ApiResourcesOK
func NewGetEventsV1beta1APIResourcesOK ¶
func NewGetEventsV1beta1APIResourcesOK() *GetEventsV1beta1APIResourcesOK
NewGetEventsV1beta1APIResourcesOK creates GetEventsV1beta1APIResourcesOK with default headers values
func (*GetEventsV1beta1APIResourcesOK) SetPayload ¶
func (o *GetEventsV1beta1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
SetPayload sets the payload to the get events v1beta1 Api resources o k response
func (*GetEventsV1beta1APIResourcesOK) WithPayload ¶
func (o *GetEventsV1beta1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetEventsV1beta1APIResourcesOK
WithPayload adds the payload to the get events v1beta1 Api resources o k response
func (*GetEventsV1beta1APIResourcesOK) WriteResponse ¶
func (o *GetEventsV1beta1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEventsV1beta1APIResourcesParams ¶
type GetEventsV1beta1APIResourcesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetEventsV1beta1APIResourcesParams contains all the bound params for the get events v1beta1 API resources operation typically these are obtained from a http.Request
swagger:parameters getEventsV1beta1APIResources
func NewGetEventsV1beta1APIResourcesParams ¶
func NewGetEventsV1beta1APIResourcesParams() GetEventsV1beta1APIResourcesParams
NewGetEventsV1beta1APIResourcesParams creates a new GetEventsV1beta1APIResourcesParams object no default values defined in spec.
func (*GetEventsV1beta1APIResourcesParams) BindRequest ¶
func (o *GetEventsV1beta1APIResourcesParams) 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 NewGetEventsV1beta1APIResourcesParams() beforehand.
type GetEventsV1beta1APIResourcesUnauthorized ¶
type GetEventsV1beta1APIResourcesUnauthorized struct { }
GetEventsV1beta1APIResourcesUnauthorized Unauthorized
swagger:response getEventsV1beta1ApiResourcesUnauthorized
func NewGetEventsV1beta1APIResourcesUnauthorized ¶
func NewGetEventsV1beta1APIResourcesUnauthorized() *GetEventsV1beta1APIResourcesUnauthorized
NewGetEventsV1beta1APIResourcesUnauthorized creates GetEventsV1beta1APIResourcesUnauthorized with default headers values
func (*GetEventsV1beta1APIResourcesUnauthorized) WriteResponse ¶
func (o *GetEventsV1beta1APIResourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEventsV1beta1EventForAllNamespaces ¶
type ListEventsV1beta1EventForAllNamespaces struct { Context *middleware.Context Handler ListEventsV1beta1EventForAllNamespacesHandler }
ListEventsV1beta1EventForAllNamespaces swagger:route GET /apis/events.k8s.io/v1beta1/events events_v1beta1 listEventsV1beta1EventForAllNamespaces
list or watch objects of kind Event
func NewListEventsV1beta1EventForAllNamespaces ¶
func NewListEventsV1beta1EventForAllNamespaces(ctx *middleware.Context, handler ListEventsV1beta1EventForAllNamespacesHandler) *ListEventsV1beta1EventForAllNamespaces
NewListEventsV1beta1EventForAllNamespaces creates a new http.Handler for the list events v1beta1 event for all namespaces operation
func (*ListEventsV1beta1EventForAllNamespaces) ServeHTTP ¶
func (o *ListEventsV1beta1EventForAllNamespaces) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListEventsV1beta1EventForAllNamespacesHandler ¶
type ListEventsV1beta1EventForAllNamespacesHandler interface {
Handle(ListEventsV1beta1EventForAllNamespacesParams) middleware.Responder
}
ListEventsV1beta1EventForAllNamespacesHandler interface for that can handle valid list events v1beta1 event for all namespaces params
type ListEventsV1beta1EventForAllNamespacesHandlerFunc ¶
type ListEventsV1beta1EventForAllNamespacesHandlerFunc func(ListEventsV1beta1EventForAllNamespacesParams) middleware.Responder
ListEventsV1beta1EventForAllNamespacesHandlerFunc turns a function with the right signature into a list events v1beta1 event for all namespaces handler
func (ListEventsV1beta1EventForAllNamespacesHandlerFunc) Handle ¶
func (fn ListEventsV1beta1EventForAllNamespacesHandlerFunc) Handle(params ListEventsV1beta1EventForAllNamespacesParams) middleware.Responder
Handle executing the request and returning a response
type ListEventsV1beta1EventForAllNamespacesOK ¶
type ListEventsV1beta1EventForAllNamespacesOK struct { /* In: Body */ Payload *models.IoK8sAPIEventsV1beta1EventList `json:"body,omitempty"` }
ListEventsV1beta1EventForAllNamespacesOK OK
swagger:response listEventsV1beta1EventForAllNamespacesOK
func NewListEventsV1beta1EventForAllNamespacesOK ¶
func NewListEventsV1beta1EventForAllNamespacesOK() *ListEventsV1beta1EventForAllNamespacesOK
NewListEventsV1beta1EventForAllNamespacesOK creates ListEventsV1beta1EventForAllNamespacesOK with default headers values
func (*ListEventsV1beta1EventForAllNamespacesOK) SetPayload ¶
func (o *ListEventsV1beta1EventForAllNamespacesOK) SetPayload(payload *models.IoK8sAPIEventsV1beta1EventList)
SetPayload sets the payload to the list events v1beta1 event for all namespaces o k response
func (*ListEventsV1beta1EventForAllNamespacesOK) WithPayload ¶
func (o *ListEventsV1beta1EventForAllNamespacesOK) WithPayload(payload *models.IoK8sAPIEventsV1beta1EventList) *ListEventsV1beta1EventForAllNamespacesOK
WithPayload adds the payload to the list events v1beta1 event for all namespaces o k response
func (*ListEventsV1beta1EventForAllNamespacesOK) WriteResponse ¶
func (o *ListEventsV1beta1EventForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEventsV1beta1EventForAllNamespacesParams ¶
type ListEventsV1beta1EventForAllNamespacesParams 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 }
ListEventsV1beta1EventForAllNamespacesParams contains all the bound params for the list events v1beta1 event for all namespaces operation typically these are obtained from a http.Request
swagger:parameters listEventsV1beta1EventForAllNamespaces
func NewListEventsV1beta1EventForAllNamespacesParams ¶
func NewListEventsV1beta1EventForAllNamespacesParams() ListEventsV1beta1EventForAllNamespacesParams
NewListEventsV1beta1EventForAllNamespacesParams creates a new ListEventsV1beta1EventForAllNamespacesParams object no default values defined in spec.
func (*ListEventsV1beta1EventForAllNamespacesParams) BindRequest ¶
func (o *ListEventsV1beta1EventForAllNamespacesParams) 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 NewListEventsV1beta1EventForAllNamespacesParams() beforehand.
type ListEventsV1beta1EventForAllNamespacesUnauthorized ¶
type ListEventsV1beta1EventForAllNamespacesUnauthorized struct { }
ListEventsV1beta1EventForAllNamespacesUnauthorized Unauthorized
swagger:response listEventsV1beta1EventForAllNamespacesUnauthorized
func NewListEventsV1beta1EventForAllNamespacesUnauthorized ¶
func NewListEventsV1beta1EventForAllNamespacesUnauthorized() *ListEventsV1beta1EventForAllNamespacesUnauthorized
NewListEventsV1beta1EventForAllNamespacesUnauthorized creates ListEventsV1beta1EventForAllNamespacesUnauthorized with default headers values
func (*ListEventsV1beta1EventForAllNamespacesUnauthorized) WriteResponse ¶
func (o *ListEventsV1beta1EventForAllNamespacesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEventsV1beta1NamespacedEvent ¶
type ListEventsV1beta1NamespacedEvent struct { Context *middleware.Context Handler ListEventsV1beta1NamespacedEventHandler }
ListEventsV1beta1NamespacedEvent swagger:route GET /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events events_v1beta1 listEventsV1beta1NamespacedEvent
list or watch objects of kind Event
func NewListEventsV1beta1NamespacedEvent ¶
func NewListEventsV1beta1NamespacedEvent(ctx *middleware.Context, handler ListEventsV1beta1NamespacedEventHandler) *ListEventsV1beta1NamespacedEvent
NewListEventsV1beta1NamespacedEvent creates a new http.Handler for the list events v1beta1 namespaced event operation
func (*ListEventsV1beta1NamespacedEvent) ServeHTTP ¶
func (o *ListEventsV1beta1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListEventsV1beta1NamespacedEventHandler ¶
type ListEventsV1beta1NamespacedEventHandler interface {
Handle(ListEventsV1beta1NamespacedEventParams) middleware.Responder
}
ListEventsV1beta1NamespacedEventHandler interface for that can handle valid list events v1beta1 namespaced event params
type ListEventsV1beta1NamespacedEventHandlerFunc ¶
type ListEventsV1beta1NamespacedEventHandlerFunc func(ListEventsV1beta1NamespacedEventParams) middleware.Responder
ListEventsV1beta1NamespacedEventHandlerFunc turns a function with the right signature into a list events v1beta1 namespaced event handler
func (ListEventsV1beta1NamespacedEventHandlerFunc) Handle ¶
func (fn ListEventsV1beta1NamespacedEventHandlerFunc) Handle(params ListEventsV1beta1NamespacedEventParams) middleware.Responder
Handle executing the request and returning a response
type ListEventsV1beta1NamespacedEventOK ¶
type ListEventsV1beta1NamespacedEventOK struct { /* In: Body */ Payload *models.IoK8sAPIEventsV1beta1EventList `json:"body,omitempty"` }
ListEventsV1beta1NamespacedEventOK OK
swagger:response listEventsV1beta1NamespacedEventOK
func NewListEventsV1beta1NamespacedEventOK ¶
func NewListEventsV1beta1NamespacedEventOK() *ListEventsV1beta1NamespacedEventOK
NewListEventsV1beta1NamespacedEventOK creates ListEventsV1beta1NamespacedEventOK with default headers values
func (*ListEventsV1beta1NamespacedEventOK) SetPayload ¶
func (o *ListEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1beta1EventList)
SetPayload sets the payload to the list events v1beta1 namespaced event o k response
func (*ListEventsV1beta1NamespacedEventOK) WithPayload ¶
func (o *ListEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1beta1EventList) *ListEventsV1beta1NamespacedEventOK
WithPayload adds the payload to the list events v1beta1 namespaced event o k response
func (*ListEventsV1beta1NamespacedEventOK) WriteResponse ¶
func (o *ListEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEventsV1beta1NamespacedEventParams ¶
type ListEventsV1beta1NamespacedEventParams 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 }
ListEventsV1beta1NamespacedEventParams contains all the bound params for the list events v1beta1 namespaced event operation typically these are obtained from a http.Request
swagger:parameters listEventsV1beta1NamespacedEvent
func NewListEventsV1beta1NamespacedEventParams ¶
func NewListEventsV1beta1NamespacedEventParams() ListEventsV1beta1NamespacedEventParams
NewListEventsV1beta1NamespacedEventParams creates a new ListEventsV1beta1NamespacedEventParams object no default values defined in spec.
func (*ListEventsV1beta1NamespacedEventParams) BindRequest ¶
func (o *ListEventsV1beta1NamespacedEventParams) 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 NewListEventsV1beta1NamespacedEventParams() beforehand.
type ListEventsV1beta1NamespacedEventUnauthorized ¶
type ListEventsV1beta1NamespacedEventUnauthorized struct { }
ListEventsV1beta1NamespacedEventUnauthorized Unauthorized
swagger:response listEventsV1beta1NamespacedEventUnauthorized
func NewListEventsV1beta1NamespacedEventUnauthorized ¶
func NewListEventsV1beta1NamespacedEventUnauthorized() *ListEventsV1beta1NamespacedEventUnauthorized
NewListEventsV1beta1NamespacedEventUnauthorized creates ListEventsV1beta1NamespacedEventUnauthorized with default headers values
func (*ListEventsV1beta1NamespacedEventUnauthorized) WriteResponse ¶
func (o *ListEventsV1beta1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchEventsV1beta1NamespacedEvent ¶
type PatchEventsV1beta1NamespacedEvent struct { Context *middleware.Context Handler PatchEventsV1beta1NamespacedEventHandler }
PatchEventsV1beta1NamespacedEvent swagger:route PATCH /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name} events_v1beta1 patchEventsV1beta1NamespacedEvent
partially update the specified Event
func NewPatchEventsV1beta1NamespacedEvent ¶
func NewPatchEventsV1beta1NamespacedEvent(ctx *middleware.Context, handler PatchEventsV1beta1NamespacedEventHandler) *PatchEventsV1beta1NamespacedEvent
NewPatchEventsV1beta1NamespacedEvent creates a new http.Handler for the patch events v1beta1 namespaced event operation
func (*PatchEventsV1beta1NamespacedEvent) ServeHTTP ¶
func (o *PatchEventsV1beta1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchEventsV1beta1NamespacedEventHandler ¶
type PatchEventsV1beta1NamespacedEventHandler interface {
Handle(PatchEventsV1beta1NamespacedEventParams) middleware.Responder
}
PatchEventsV1beta1NamespacedEventHandler interface for that can handle valid patch events v1beta1 namespaced event params
type PatchEventsV1beta1NamespacedEventHandlerFunc ¶
type PatchEventsV1beta1NamespacedEventHandlerFunc func(PatchEventsV1beta1NamespacedEventParams) middleware.Responder
PatchEventsV1beta1NamespacedEventHandlerFunc turns a function with the right signature into a patch events v1beta1 namespaced event handler
func (PatchEventsV1beta1NamespacedEventHandlerFunc) Handle ¶
func (fn PatchEventsV1beta1NamespacedEventHandlerFunc) Handle(params PatchEventsV1beta1NamespacedEventParams) middleware.Responder
Handle executing the request and returning a response
type PatchEventsV1beta1NamespacedEventOK ¶
type PatchEventsV1beta1NamespacedEventOK struct { /* In: Body */ Payload *models.IoK8sAPIEventsV1beta1Event `json:"body,omitempty"` }
PatchEventsV1beta1NamespacedEventOK OK
swagger:response patchEventsV1beta1NamespacedEventOK
func NewPatchEventsV1beta1NamespacedEventOK ¶
func NewPatchEventsV1beta1NamespacedEventOK() *PatchEventsV1beta1NamespacedEventOK
NewPatchEventsV1beta1NamespacedEventOK creates PatchEventsV1beta1NamespacedEventOK with default headers values
func (*PatchEventsV1beta1NamespacedEventOK) SetPayload ¶
func (o *PatchEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
SetPayload sets the payload to the patch events v1beta1 namespaced event o k response
func (*PatchEventsV1beta1NamespacedEventOK) WithPayload ¶
func (o *PatchEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *PatchEventsV1beta1NamespacedEventOK
WithPayload adds the payload to the patch events v1beta1 namespaced event o k response
func (*PatchEventsV1beta1NamespacedEventOK) WriteResponse ¶
func (o *PatchEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchEventsV1beta1NamespacedEventParams ¶
type PatchEventsV1beta1NamespacedEventParams 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 }
PatchEventsV1beta1NamespacedEventParams contains all the bound params for the patch events v1beta1 namespaced event operation typically these are obtained from a http.Request
swagger:parameters patchEventsV1beta1NamespacedEvent
func NewPatchEventsV1beta1NamespacedEventParams ¶
func NewPatchEventsV1beta1NamespacedEventParams() PatchEventsV1beta1NamespacedEventParams
NewPatchEventsV1beta1NamespacedEventParams creates a new PatchEventsV1beta1NamespacedEventParams object no default values defined in spec.
func (*PatchEventsV1beta1NamespacedEventParams) BindRequest ¶
func (o *PatchEventsV1beta1NamespacedEventParams) 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 NewPatchEventsV1beta1NamespacedEventParams() beforehand.
type PatchEventsV1beta1NamespacedEventUnauthorized ¶
type PatchEventsV1beta1NamespacedEventUnauthorized struct { }
PatchEventsV1beta1NamespacedEventUnauthorized Unauthorized
swagger:response patchEventsV1beta1NamespacedEventUnauthorized
func NewPatchEventsV1beta1NamespacedEventUnauthorized ¶
func NewPatchEventsV1beta1NamespacedEventUnauthorized() *PatchEventsV1beta1NamespacedEventUnauthorized
NewPatchEventsV1beta1NamespacedEventUnauthorized creates PatchEventsV1beta1NamespacedEventUnauthorized with default headers values
func (*PatchEventsV1beta1NamespacedEventUnauthorized) WriteResponse ¶
func (o *PatchEventsV1beta1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadEventsV1beta1NamespacedEvent ¶
type ReadEventsV1beta1NamespacedEvent struct { Context *middleware.Context Handler ReadEventsV1beta1NamespacedEventHandler }
ReadEventsV1beta1NamespacedEvent swagger:route GET /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name} events_v1beta1 readEventsV1beta1NamespacedEvent
read the specified Event
func NewReadEventsV1beta1NamespacedEvent ¶
func NewReadEventsV1beta1NamespacedEvent(ctx *middleware.Context, handler ReadEventsV1beta1NamespacedEventHandler) *ReadEventsV1beta1NamespacedEvent
NewReadEventsV1beta1NamespacedEvent creates a new http.Handler for the read events v1beta1 namespaced event operation
func (*ReadEventsV1beta1NamespacedEvent) ServeHTTP ¶
func (o *ReadEventsV1beta1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReadEventsV1beta1NamespacedEventHandler ¶
type ReadEventsV1beta1NamespacedEventHandler interface {
Handle(ReadEventsV1beta1NamespacedEventParams) middleware.Responder
}
ReadEventsV1beta1NamespacedEventHandler interface for that can handle valid read events v1beta1 namespaced event params
type ReadEventsV1beta1NamespacedEventHandlerFunc ¶
type ReadEventsV1beta1NamespacedEventHandlerFunc func(ReadEventsV1beta1NamespacedEventParams) middleware.Responder
ReadEventsV1beta1NamespacedEventHandlerFunc turns a function with the right signature into a read events v1beta1 namespaced event handler
func (ReadEventsV1beta1NamespacedEventHandlerFunc) Handle ¶
func (fn ReadEventsV1beta1NamespacedEventHandlerFunc) Handle(params ReadEventsV1beta1NamespacedEventParams) middleware.Responder
Handle executing the request and returning a response
type ReadEventsV1beta1NamespacedEventOK ¶
type ReadEventsV1beta1NamespacedEventOK struct { /* In: Body */ Payload *models.IoK8sAPIEventsV1beta1Event `json:"body,omitempty"` }
ReadEventsV1beta1NamespacedEventOK OK
swagger:response readEventsV1beta1NamespacedEventOK
func NewReadEventsV1beta1NamespacedEventOK ¶
func NewReadEventsV1beta1NamespacedEventOK() *ReadEventsV1beta1NamespacedEventOK
NewReadEventsV1beta1NamespacedEventOK creates ReadEventsV1beta1NamespacedEventOK with default headers values
func (*ReadEventsV1beta1NamespacedEventOK) SetPayload ¶
func (o *ReadEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
SetPayload sets the payload to the read events v1beta1 namespaced event o k response
func (*ReadEventsV1beta1NamespacedEventOK) WithPayload ¶
func (o *ReadEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *ReadEventsV1beta1NamespacedEventOK
WithPayload adds the payload to the read events v1beta1 namespaced event o k response
func (*ReadEventsV1beta1NamespacedEventOK) WriteResponse ¶
func (o *ReadEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadEventsV1beta1NamespacedEventParams ¶
type ReadEventsV1beta1NamespacedEventParams 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 }
ReadEventsV1beta1NamespacedEventParams contains all the bound params for the read events v1beta1 namespaced event operation typically these are obtained from a http.Request
swagger:parameters readEventsV1beta1NamespacedEvent
func NewReadEventsV1beta1NamespacedEventParams ¶
func NewReadEventsV1beta1NamespacedEventParams() ReadEventsV1beta1NamespacedEventParams
NewReadEventsV1beta1NamespacedEventParams creates a new ReadEventsV1beta1NamespacedEventParams object no default values defined in spec.
func (*ReadEventsV1beta1NamespacedEventParams) BindRequest ¶
func (o *ReadEventsV1beta1NamespacedEventParams) 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 NewReadEventsV1beta1NamespacedEventParams() beforehand.
type ReadEventsV1beta1NamespacedEventUnauthorized ¶
type ReadEventsV1beta1NamespacedEventUnauthorized struct { }
ReadEventsV1beta1NamespacedEventUnauthorized Unauthorized
swagger:response readEventsV1beta1NamespacedEventUnauthorized
func NewReadEventsV1beta1NamespacedEventUnauthorized ¶
func NewReadEventsV1beta1NamespacedEventUnauthorized() *ReadEventsV1beta1NamespacedEventUnauthorized
NewReadEventsV1beta1NamespacedEventUnauthorized creates ReadEventsV1beta1NamespacedEventUnauthorized with default headers values
func (*ReadEventsV1beta1NamespacedEventUnauthorized) WriteResponse ¶
func (o *ReadEventsV1beta1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceEventsV1beta1NamespacedEvent ¶
type ReplaceEventsV1beta1NamespacedEvent struct { Context *middleware.Context Handler ReplaceEventsV1beta1NamespacedEventHandler }
ReplaceEventsV1beta1NamespacedEvent swagger:route PUT /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name} events_v1beta1 replaceEventsV1beta1NamespacedEvent
replace the specified Event
func NewReplaceEventsV1beta1NamespacedEvent ¶
func NewReplaceEventsV1beta1NamespacedEvent(ctx *middleware.Context, handler ReplaceEventsV1beta1NamespacedEventHandler) *ReplaceEventsV1beta1NamespacedEvent
NewReplaceEventsV1beta1NamespacedEvent creates a new http.Handler for the replace events v1beta1 namespaced event operation
func (*ReplaceEventsV1beta1NamespacedEvent) ServeHTTP ¶
func (o *ReplaceEventsV1beta1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReplaceEventsV1beta1NamespacedEventCreated ¶
type ReplaceEventsV1beta1NamespacedEventCreated struct { /* In: Body */ Payload *models.IoK8sAPIEventsV1beta1Event `json:"body,omitempty"` }
ReplaceEventsV1beta1NamespacedEventCreated Created
swagger:response replaceEventsV1beta1NamespacedEventCreated
func NewReplaceEventsV1beta1NamespacedEventCreated ¶
func NewReplaceEventsV1beta1NamespacedEventCreated() *ReplaceEventsV1beta1NamespacedEventCreated
NewReplaceEventsV1beta1NamespacedEventCreated creates ReplaceEventsV1beta1NamespacedEventCreated with default headers values
func (*ReplaceEventsV1beta1NamespacedEventCreated) SetPayload ¶
func (o *ReplaceEventsV1beta1NamespacedEventCreated) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
SetPayload sets the payload to the replace events v1beta1 namespaced event created response
func (*ReplaceEventsV1beta1NamespacedEventCreated) WithPayload ¶
func (o *ReplaceEventsV1beta1NamespacedEventCreated) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *ReplaceEventsV1beta1NamespacedEventCreated
WithPayload adds the payload to the replace events v1beta1 namespaced event created response
func (*ReplaceEventsV1beta1NamespacedEventCreated) WriteResponse ¶
func (o *ReplaceEventsV1beta1NamespacedEventCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceEventsV1beta1NamespacedEventHandler ¶
type ReplaceEventsV1beta1NamespacedEventHandler interface {
Handle(ReplaceEventsV1beta1NamespacedEventParams) middleware.Responder
}
ReplaceEventsV1beta1NamespacedEventHandler interface for that can handle valid replace events v1beta1 namespaced event params
type ReplaceEventsV1beta1NamespacedEventHandlerFunc ¶
type ReplaceEventsV1beta1NamespacedEventHandlerFunc func(ReplaceEventsV1beta1NamespacedEventParams) middleware.Responder
ReplaceEventsV1beta1NamespacedEventHandlerFunc turns a function with the right signature into a replace events v1beta1 namespaced event handler
func (ReplaceEventsV1beta1NamespacedEventHandlerFunc) Handle ¶
func (fn ReplaceEventsV1beta1NamespacedEventHandlerFunc) Handle(params ReplaceEventsV1beta1NamespacedEventParams) middleware.Responder
Handle executing the request and returning a response
type ReplaceEventsV1beta1NamespacedEventOK ¶
type ReplaceEventsV1beta1NamespacedEventOK struct { /* In: Body */ Payload *models.IoK8sAPIEventsV1beta1Event `json:"body,omitempty"` }
ReplaceEventsV1beta1NamespacedEventOK OK
swagger:response replaceEventsV1beta1NamespacedEventOK
func NewReplaceEventsV1beta1NamespacedEventOK ¶
func NewReplaceEventsV1beta1NamespacedEventOK() *ReplaceEventsV1beta1NamespacedEventOK
NewReplaceEventsV1beta1NamespacedEventOK creates ReplaceEventsV1beta1NamespacedEventOK with default headers values
func (*ReplaceEventsV1beta1NamespacedEventOK) SetPayload ¶
func (o *ReplaceEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sAPIEventsV1beta1Event)
SetPayload sets the payload to the replace events v1beta1 namespaced event o k response
func (*ReplaceEventsV1beta1NamespacedEventOK) WithPayload ¶
func (o *ReplaceEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sAPIEventsV1beta1Event) *ReplaceEventsV1beta1NamespacedEventOK
WithPayload adds the payload to the replace events v1beta1 namespaced event o k response
func (*ReplaceEventsV1beta1NamespacedEventOK) WriteResponse ¶
func (o *ReplaceEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceEventsV1beta1NamespacedEventParams ¶
type ReplaceEventsV1beta1NamespacedEventParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sAPIEventsV1beta1Event /*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 }
ReplaceEventsV1beta1NamespacedEventParams contains all the bound params for the replace events v1beta1 namespaced event operation typically these are obtained from a http.Request
swagger:parameters replaceEventsV1beta1NamespacedEvent
func NewReplaceEventsV1beta1NamespacedEventParams ¶
func NewReplaceEventsV1beta1NamespacedEventParams() ReplaceEventsV1beta1NamespacedEventParams
NewReplaceEventsV1beta1NamespacedEventParams creates a new ReplaceEventsV1beta1NamespacedEventParams object no default values defined in spec.
func (*ReplaceEventsV1beta1NamespacedEventParams) BindRequest ¶
func (o *ReplaceEventsV1beta1NamespacedEventParams) 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 NewReplaceEventsV1beta1NamespacedEventParams() beforehand.
type ReplaceEventsV1beta1NamespacedEventUnauthorized ¶
type ReplaceEventsV1beta1NamespacedEventUnauthorized struct { }
ReplaceEventsV1beta1NamespacedEventUnauthorized Unauthorized
swagger:response replaceEventsV1beta1NamespacedEventUnauthorized
func NewReplaceEventsV1beta1NamespacedEventUnauthorized ¶
func NewReplaceEventsV1beta1NamespacedEventUnauthorized() *ReplaceEventsV1beta1NamespacedEventUnauthorized
NewReplaceEventsV1beta1NamespacedEventUnauthorized creates ReplaceEventsV1beta1NamespacedEventUnauthorized with default headers values
func (*ReplaceEventsV1beta1NamespacedEventUnauthorized) WriteResponse ¶
func (o *ReplaceEventsV1beta1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchEventsV1beta1EventListForAllNamespaces ¶
type WatchEventsV1beta1EventListForAllNamespaces struct { Context *middleware.Context Handler WatchEventsV1beta1EventListForAllNamespacesHandler }
WatchEventsV1beta1EventListForAllNamespaces swagger:route GET /apis/events.k8s.io/v1beta1/watch/events events_v1beta1 watchEventsV1beta1EventListForAllNamespaces
watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.
func NewWatchEventsV1beta1EventListForAllNamespaces ¶
func NewWatchEventsV1beta1EventListForAllNamespaces(ctx *middleware.Context, handler WatchEventsV1beta1EventListForAllNamespacesHandler) *WatchEventsV1beta1EventListForAllNamespaces
NewWatchEventsV1beta1EventListForAllNamespaces creates a new http.Handler for the watch events v1beta1 event list for all namespaces operation
func (*WatchEventsV1beta1EventListForAllNamespaces) ServeHTTP ¶
func (o *WatchEventsV1beta1EventListForAllNamespaces) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchEventsV1beta1EventListForAllNamespacesHandler ¶
type WatchEventsV1beta1EventListForAllNamespacesHandler interface {
Handle(WatchEventsV1beta1EventListForAllNamespacesParams) middleware.Responder
}
WatchEventsV1beta1EventListForAllNamespacesHandler interface for that can handle valid watch events v1beta1 event list for all namespaces params
type WatchEventsV1beta1EventListForAllNamespacesHandlerFunc ¶
type WatchEventsV1beta1EventListForAllNamespacesHandlerFunc func(WatchEventsV1beta1EventListForAllNamespacesParams) middleware.Responder
WatchEventsV1beta1EventListForAllNamespacesHandlerFunc turns a function with the right signature into a watch events v1beta1 event list for all namespaces handler
func (WatchEventsV1beta1EventListForAllNamespacesHandlerFunc) Handle ¶
func (fn WatchEventsV1beta1EventListForAllNamespacesHandlerFunc) Handle(params WatchEventsV1beta1EventListForAllNamespacesParams) middleware.Responder
Handle executing the request and returning a response
type WatchEventsV1beta1EventListForAllNamespacesOK ¶
type WatchEventsV1beta1EventListForAllNamespacesOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchEventsV1beta1EventListForAllNamespacesOK OK
swagger:response watchEventsV1beta1EventListForAllNamespacesOK
func NewWatchEventsV1beta1EventListForAllNamespacesOK ¶
func NewWatchEventsV1beta1EventListForAllNamespacesOK() *WatchEventsV1beta1EventListForAllNamespacesOK
NewWatchEventsV1beta1EventListForAllNamespacesOK creates WatchEventsV1beta1EventListForAllNamespacesOK with default headers values
func (*WatchEventsV1beta1EventListForAllNamespacesOK) SetPayload ¶
func (o *WatchEventsV1beta1EventListForAllNamespacesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch events v1beta1 event list for all namespaces o k response
func (*WatchEventsV1beta1EventListForAllNamespacesOK) WithPayload ¶
func (o *WatchEventsV1beta1EventListForAllNamespacesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchEventsV1beta1EventListForAllNamespacesOK
WithPayload adds the payload to the watch events v1beta1 event list for all namespaces o k response
func (*WatchEventsV1beta1EventListForAllNamespacesOK) WriteResponse ¶
func (o *WatchEventsV1beta1EventListForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchEventsV1beta1EventListForAllNamespacesParams ¶
type WatchEventsV1beta1EventListForAllNamespacesParams 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 }
WatchEventsV1beta1EventListForAllNamespacesParams contains all the bound params for the watch events v1beta1 event list for all namespaces operation typically these are obtained from a http.Request
swagger:parameters watchEventsV1beta1EventListForAllNamespaces
func NewWatchEventsV1beta1EventListForAllNamespacesParams ¶
func NewWatchEventsV1beta1EventListForAllNamespacesParams() WatchEventsV1beta1EventListForAllNamespacesParams
NewWatchEventsV1beta1EventListForAllNamespacesParams creates a new WatchEventsV1beta1EventListForAllNamespacesParams object no default values defined in spec.
func (*WatchEventsV1beta1EventListForAllNamespacesParams) BindRequest ¶
func (o *WatchEventsV1beta1EventListForAllNamespacesParams) 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 NewWatchEventsV1beta1EventListForAllNamespacesParams() beforehand.
type WatchEventsV1beta1EventListForAllNamespacesUnauthorized ¶
type WatchEventsV1beta1EventListForAllNamespacesUnauthorized struct { }
WatchEventsV1beta1EventListForAllNamespacesUnauthorized Unauthorized
swagger:response watchEventsV1beta1EventListForAllNamespacesUnauthorized
func NewWatchEventsV1beta1EventListForAllNamespacesUnauthorized ¶
func NewWatchEventsV1beta1EventListForAllNamespacesUnauthorized() *WatchEventsV1beta1EventListForAllNamespacesUnauthorized
NewWatchEventsV1beta1EventListForAllNamespacesUnauthorized creates WatchEventsV1beta1EventListForAllNamespacesUnauthorized with default headers values
func (*WatchEventsV1beta1EventListForAllNamespacesUnauthorized) WriteResponse ¶
func (o *WatchEventsV1beta1EventListForAllNamespacesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchEventsV1beta1NamespacedEvent ¶
type WatchEventsV1beta1NamespacedEvent struct { Context *middleware.Context Handler WatchEventsV1beta1NamespacedEventHandler }
WatchEventsV1beta1NamespacedEvent swagger:route GET /apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name} events_v1beta1 watchEventsV1beta1NamespacedEvent
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 NewWatchEventsV1beta1NamespacedEvent ¶
func NewWatchEventsV1beta1NamespacedEvent(ctx *middleware.Context, handler WatchEventsV1beta1NamespacedEventHandler) *WatchEventsV1beta1NamespacedEvent
NewWatchEventsV1beta1NamespacedEvent creates a new http.Handler for the watch events v1beta1 namespaced event operation
func (*WatchEventsV1beta1NamespacedEvent) ServeHTTP ¶
func (o *WatchEventsV1beta1NamespacedEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchEventsV1beta1NamespacedEventHandler ¶
type WatchEventsV1beta1NamespacedEventHandler interface {
Handle(WatchEventsV1beta1NamespacedEventParams) middleware.Responder
}
WatchEventsV1beta1NamespacedEventHandler interface for that can handle valid watch events v1beta1 namespaced event params
type WatchEventsV1beta1NamespacedEventHandlerFunc ¶
type WatchEventsV1beta1NamespacedEventHandlerFunc func(WatchEventsV1beta1NamespacedEventParams) middleware.Responder
WatchEventsV1beta1NamespacedEventHandlerFunc turns a function with the right signature into a watch events v1beta1 namespaced event handler
func (WatchEventsV1beta1NamespacedEventHandlerFunc) Handle ¶
func (fn WatchEventsV1beta1NamespacedEventHandlerFunc) Handle(params WatchEventsV1beta1NamespacedEventParams) middleware.Responder
Handle executing the request and returning a response
type WatchEventsV1beta1NamespacedEventList ¶
type WatchEventsV1beta1NamespacedEventList struct { Context *middleware.Context Handler WatchEventsV1beta1NamespacedEventListHandler }
WatchEventsV1beta1NamespacedEventList swagger:route GET /apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events events_v1beta1 watchEventsV1beta1NamespacedEventList
watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.
func NewWatchEventsV1beta1NamespacedEventList ¶
func NewWatchEventsV1beta1NamespacedEventList(ctx *middleware.Context, handler WatchEventsV1beta1NamespacedEventListHandler) *WatchEventsV1beta1NamespacedEventList
NewWatchEventsV1beta1NamespacedEventList creates a new http.Handler for the watch events v1beta1 namespaced event list operation
func (*WatchEventsV1beta1NamespacedEventList) ServeHTTP ¶
func (o *WatchEventsV1beta1NamespacedEventList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchEventsV1beta1NamespacedEventListHandler ¶
type WatchEventsV1beta1NamespacedEventListHandler interface {
Handle(WatchEventsV1beta1NamespacedEventListParams) middleware.Responder
}
WatchEventsV1beta1NamespacedEventListHandler interface for that can handle valid watch events v1beta1 namespaced event list params
type WatchEventsV1beta1NamespacedEventListHandlerFunc ¶
type WatchEventsV1beta1NamespacedEventListHandlerFunc func(WatchEventsV1beta1NamespacedEventListParams) middleware.Responder
WatchEventsV1beta1NamespacedEventListHandlerFunc turns a function with the right signature into a watch events v1beta1 namespaced event list handler
func (WatchEventsV1beta1NamespacedEventListHandlerFunc) Handle ¶
func (fn WatchEventsV1beta1NamespacedEventListHandlerFunc) Handle(params WatchEventsV1beta1NamespacedEventListParams) middleware.Responder
Handle executing the request and returning a response
type WatchEventsV1beta1NamespacedEventListOK ¶
type WatchEventsV1beta1NamespacedEventListOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchEventsV1beta1NamespacedEventListOK OK
swagger:response watchEventsV1beta1NamespacedEventListOK
func NewWatchEventsV1beta1NamespacedEventListOK ¶
func NewWatchEventsV1beta1NamespacedEventListOK() *WatchEventsV1beta1NamespacedEventListOK
NewWatchEventsV1beta1NamespacedEventListOK creates WatchEventsV1beta1NamespacedEventListOK with default headers values
func (*WatchEventsV1beta1NamespacedEventListOK) SetPayload ¶
func (o *WatchEventsV1beta1NamespacedEventListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch events v1beta1 namespaced event list o k response
func (*WatchEventsV1beta1NamespacedEventListOK) WithPayload ¶
func (o *WatchEventsV1beta1NamespacedEventListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchEventsV1beta1NamespacedEventListOK
WithPayload adds the payload to the watch events v1beta1 namespaced event list o k response
func (*WatchEventsV1beta1NamespacedEventListOK) WriteResponse ¶
func (o *WatchEventsV1beta1NamespacedEventListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchEventsV1beta1NamespacedEventListParams ¶
type WatchEventsV1beta1NamespacedEventListParams 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 }
WatchEventsV1beta1NamespacedEventListParams contains all the bound params for the watch events v1beta1 namespaced event list operation typically these are obtained from a http.Request
swagger:parameters watchEventsV1beta1NamespacedEventList
func NewWatchEventsV1beta1NamespacedEventListParams ¶
func NewWatchEventsV1beta1NamespacedEventListParams() WatchEventsV1beta1NamespacedEventListParams
NewWatchEventsV1beta1NamespacedEventListParams creates a new WatchEventsV1beta1NamespacedEventListParams object no default values defined in spec.
func (*WatchEventsV1beta1NamespacedEventListParams) BindRequest ¶
func (o *WatchEventsV1beta1NamespacedEventListParams) 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 NewWatchEventsV1beta1NamespacedEventListParams() beforehand.
type WatchEventsV1beta1NamespacedEventListUnauthorized ¶
type WatchEventsV1beta1NamespacedEventListUnauthorized struct { }
WatchEventsV1beta1NamespacedEventListUnauthorized Unauthorized
swagger:response watchEventsV1beta1NamespacedEventListUnauthorized
func NewWatchEventsV1beta1NamespacedEventListUnauthorized ¶
func NewWatchEventsV1beta1NamespacedEventListUnauthorized() *WatchEventsV1beta1NamespacedEventListUnauthorized
NewWatchEventsV1beta1NamespacedEventListUnauthorized creates WatchEventsV1beta1NamespacedEventListUnauthorized with default headers values
func (*WatchEventsV1beta1NamespacedEventListUnauthorized) WriteResponse ¶
func (o *WatchEventsV1beta1NamespacedEventListUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchEventsV1beta1NamespacedEventOK ¶
type WatchEventsV1beta1NamespacedEventOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchEventsV1beta1NamespacedEventOK OK
swagger:response watchEventsV1beta1NamespacedEventOK
func NewWatchEventsV1beta1NamespacedEventOK ¶
func NewWatchEventsV1beta1NamespacedEventOK() *WatchEventsV1beta1NamespacedEventOK
NewWatchEventsV1beta1NamespacedEventOK creates WatchEventsV1beta1NamespacedEventOK with default headers values
func (*WatchEventsV1beta1NamespacedEventOK) SetPayload ¶
func (o *WatchEventsV1beta1NamespacedEventOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch events v1beta1 namespaced event o k response
func (*WatchEventsV1beta1NamespacedEventOK) WithPayload ¶
func (o *WatchEventsV1beta1NamespacedEventOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchEventsV1beta1NamespacedEventOK
WithPayload adds the payload to the watch events v1beta1 namespaced event o k response
func (*WatchEventsV1beta1NamespacedEventOK) WriteResponse ¶
func (o *WatchEventsV1beta1NamespacedEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchEventsV1beta1NamespacedEventParams ¶
type WatchEventsV1beta1NamespacedEventParams 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 }
WatchEventsV1beta1NamespacedEventParams contains all the bound params for the watch events v1beta1 namespaced event operation typically these are obtained from a http.Request
swagger:parameters watchEventsV1beta1NamespacedEvent
func NewWatchEventsV1beta1NamespacedEventParams ¶
func NewWatchEventsV1beta1NamespacedEventParams() WatchEventsV1beta1NamespacedEventParams
NewWatchEventsV1beta1NamespacedEventParams creates a new WatchEventsV1beta1NamespacedEventParams object no default values defined in spec.
func (*WatchEventsV1beta1NamespacedEventParams) BindRequest ¶
func (o *WatchEventsV1beta1NamespacedEventParams) 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 NewWatchEventsV1beta1NamespacedEventParams() beforehand.
type WatchEventsV1beta1NamespacedEventUnauthorized ¶
type WatchEventsV1beta1NamespacedEventUnauthorized struct { }
WatchEventsV1beta1NamespacedEventUnauthorized Unauthorized
swagger:response watchEventsV1beta1NamespacedEventUnauthorized
func NewWatchEventsV1beta1NamespacedEventUnauthorized ¶
func NewWatchEventsV1beta1NamespacedEventUnauthorized() *WatchEventsV1beta1NamespacedEventUnauthorized
NewWatchEventsV1beta1NamespacedEventUnauthorized creates WatchEventsV1beta1NamespacedEventUnauthorized with default headers values
func (*WatchEventsV1beta1NamespacedEventUnauthorized) WriteResponse ¶
func (o *WatchEventsV1beta1NamespacedEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- create_events_v1beta1_namespaced_event.go
- create_events_v1beta1_namespaced_event_parameters.go
- create_events_v1beta1_namespaced_event_responses.go
- delete_events_v1beta1_collection_namespaced_event.go
- delete_events_v1beta1_collection_namespaced_event_parameters.go
- delete_events_v1beta1_collection_namespaced_event_responses.go
- delete_events_v1beta1_namespaced_event.go
- delete_events_v1beta1_namespaced_event_parameters.go
- delete_events_v1beta1_namespaced_event_responses.go
- get_events_v1beta1_api_resources.go
- get_events_v1beta1_api_resources_parameters.go
- get_events_v1beta1_api_resources_responses.go
- list_events_v1beta1_event_for_all_namespaces.go
- list_events_v1beta1_event_for_all_namespaces_parameters.go
- list_events_v1beta1_event_for_all_namespaces_responses.go
- list_events_v1beta1_namespaced_event.go
- list_events_v1beta1_namespaced_event_parameters.go
- list_events_v1beta1_namespaced_event_responses.go
- patch_events_v1beta1_namespaced_event.go
- patch_events_v1beta1_namespaced_event_parameters.go
- patch_events_v1beta1_namespaced_event_responses.go
- read_events_v1beta1_namespaced_event.go
- read_events_v1beta1_namespaced_event_parameters.go
- read_events_v1beta1_namespaced_event_responses.go
- replace_events_v1beta1_namespaced_event.go
- replace_events_v1beta1_namespaced_event_parameters.go
- replace_events_v1beta1_namespaced_event_responses.go
- watch_events_v1beta1_event_list_for_all_namespaces.go
- watch_events_v1beta1_event_list_for_all_namespaces_parameters.go
- watch_events_v1beta1_event_list_for_all_namespaces_responses.go
- watch_events_v1beta1_namespaced_event.go
- watch_events_v1beta1_namespaced_event_list.go
- watch_events_v1beta1_namespaced_event_list_parameters.go
- watch_events_v1beta1_namespaced_event_list_responses.go
- watch_events_v1beta1_namespaced_event_parameters.go
- watch_events_v1beta1_namespaced_event_responses.go