Documentation ¶
Index ¶
- Constants
- type CreateDiscoveryV1beta1NamespacedEndpointSlice
- type CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted
- func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
- func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted
- func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateDiscoveryV1beta1NamespacedEndpointSliceCreated
- func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceCreated) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
- func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceCreated) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *CreateDiscoveryV1beta1NamespacedEndpointSliceCreated
- func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateDiscoveryV1beta1NamespacedEndpointSliceHandler
- type CreateDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc
- type CreateDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
- func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *CreateDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateDiscoveryV1beta1NamespacedEndpointSliceParams
- type CreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
- type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSlice
- type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceHandler
- type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceHandlerFunc
- type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK
- func (o *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK
- func (o *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams
- type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized
- type DeleteDiscoveryV1beta1NamespacedEndpointSlice
- type DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted
- func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted
- func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteDiscoveryV1beta1NamespacedEndpointSliceHandler
- type DeleteDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc
- type DeleteDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteDiscoveryV1beta1NamespacedEndpointSliceParams
- type DeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
- type GetDiscoveryV1beta1APIResources
- type GetDiscoveryV1beta1APIResourcesHandler
- type GetDiscoveryV1beta1APIResourcesHandlerFunc
- type GetDiscoveryV1beta1APIResourcesOK
- func (o *GetDiscoveryV1beta1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
- func (o *GetDiscoveryV1beta1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetDiscoveryV1beta1APIResourcesOK
- func (o *GetDiscoveryV1beta1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDiscoveryV1beta1APIResourcesParams
- type GetDiscoveryV1beta1APIResourcesUnauthorized
- type ListDiscoveryV1beta1EndpointSliceForAllNamespaces
- type ListDiscoveryV1beta1EndpointSliceForAllNamespacesHandler
- type ListDiscoveryV1beta1EndpointSliceForAllNamespacesHandlerFunc
- type ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK
- func (o *ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSliceList)
- func (o *ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSliceList) *ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK
- func (o *ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListDiscoveryV1beta1EndpointSliceForAllNamespacesParams
- type ListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized
- type ListDiscoveryV1beta1NamespacedEndpointSlice
- type ListDiscoveryV1beta1NamespacedEndpointSliceHandler
- type ListDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc
- type ListDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *ListDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSliceList)
- func (o *ListDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSliceList) *ListDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *ListDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListDiscoveryV1beta1NamespacedEndpointSliceParams
- type ListDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
- type PatchDiscoveryV1beta1NamespacedEndpointSlice
- type PatchDiscoveryV1beta1NamespacedEndpointSliceHandler
- type PatchDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc
- type PatchDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *PatchDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
- func (o *PatchDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *PatchDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *PatchDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchDiscoveryV1beta1NamespacedEndpointSliceParams
- type PatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
- type ReadDiscoveryV1beta1NamespacedEndpointSlice
- type ReadDiscoveryV1beta1NamespacedEndpointSliceHandler
- type ReadDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc
- type ReadDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *ReadDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
- func (o *ReadDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *ReadDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *ReadDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReadDiscoveryV1beta1NamespacedEndpointSliceParams
- type ReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
- type ReplaceDiscoveryV1beta1NamespacedEndpointSlice
- type ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated
- func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
- func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated
- func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceDiscoveryV1beta1NamespacedEndpointSliceHandler
- type ReplaceDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc
- type ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
- func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceDiscoveryV1beta1NamespacedEndpointSliceParams
- type ReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
- type WatchDiscoveryV1beta1EndpointSliceListForAllNamespaces
- type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesHandler
- type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesHandlerFunc
- type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK
- func (o *WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK
- func (o *WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams
- type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized
- type WatchDiscoveryV1beta1NamespacedEndpointSlice
- type WatchDiscoveryV1beta1NamespacedEndpointSliceHandler
- type WatchDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc
- type WatchDiscoveryV1beta1NamespacedEndpointSliceList
- type WatchDiscoveryV1beta1NamespacedEndpointSliceListHandler
- type WatchDiscoveryV1beta1NamespacedEndpointSliceListHandlerFunc
- type WatchDiscoveryV1beta1NamespacedEndpointSliceListOK
- func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchDiscoveryV1beta1NamespacedEndpointSliceListOK
- func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchDiscoveryV1beta1NamespacedEndpointSliceListParams
- type WatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized
- type WatchDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchDiscoveryV1beta1NamespacedEndpointSliceOK
- func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchDiscoveryV1beta1NamespacedEndpointSliceParams
- type WatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
Constants ¶
const CreateDiscoveryV1beta1NamespacedEndpointSliceAcceptedCode int = 202
CreateDiscoveryV1beta1NamespacedEndpointSliceAcceptedCode is the HTTP code returned for type CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted
const CreateDiscoveryV1beta1NamespacedEndpointSliceCreatedCode int = 201
CreateDiscoveryV1beta1NamespacedEndpointSliceCreatedCode is the HTTP code returned for type CreateDiscoveryV1beta1NamespacedEndpointSliceCreated
const CreateDiscoveryV1beta1NamespacedEndpointSliceOKCode int = 200
CreateDiscoveryV1beta1NamespacedEndpointSliceOKCode is the HTTP code returned for type CreateDiscoveryV1beta1NamespacedEndpointSliceOK
CreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorizedCode is the HTTP code returned for type CreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
const DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOKCode int = 200
DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOKCode is the HTTP code returned for type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK
DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorizedCode is the HTTP code returned for type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized
const DeleteDiscoveryV1beta1NamespacedEndpointSliceAcceptedCode int = 202
DeleteDiscoveryV1beta1NamespacedEndpointSliceAcceptedCode is the HTTP code returned for type DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted
const DeleteDiscoveryV1beta1NamespacedEndpointSliceOKCode int = 200
DeleteDiscoveryV1beta1NamespacedEndpointSliceOKCode is the HTTP code returned for type DeleteDiscoveryV1beta1NamespacedEndpointSliceOK
DeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorizedCode is the HTTP code returned for type DeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
const GetDiscoveryV1beta1APIResourcesOKCode int = 200
GetDiscoveryV1beta1APIResourcesOKCode is the HTTP code returned for type GetDiscoveryV1beta1APIResourcesOK
GetDiscoveryV1beta1APIResourcesUnauthorizedCode is the HTTP code returned for type GetDiscoveryV1beta1APIResourcesUnauthorized
const ListDiscoveryV1beta1EndpointSliceForAllNamespacesOKCode int = 200
ListDiscoveryV1beta1EndpointSliceForAllNamespacesOKCode is the HTTP code returned for type ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK
ListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorizedCode is the HTTP code returned for type ListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized
const ListDiscoveryV1beta1NamespacedEndpointSliceOKCode int = 200
ListDiscoveryV1beta1NamespacedEndpointSliceOKCode is the HTTP code returned for type ListDiscoveryV1beta1NamespacedEndpointSliceOK
ListDiscoveryV1beta1NamespacedEndpointSliceUnauthorizedCode is the HTTP code returned for type ListDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
const PatchDiscoveryV1beta1NamespacedEndpointSliceOKCode int = 200
PatchDiscoveryV1beta1NamespacedEndpointSliceOKCode is the HTTP code returned for type PatchDiscoveryV1beta1NamespacedEndpointSliceOK
PatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorizedCode is the HTTP code returned for type PatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
const ReadDiscoveryV1beta1NamespacedEndpointSliceOKCode int = 200
ReadDiscoveryV1beta1NamespacedEndpointSliceOKCode is the HTTP code returned for type ReadDiscoveryV1beta1NamespacedEndpointSliceOK
ReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorizedCode is the HTTP code returned for type ReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
const ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreatedCode int = 201
ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreatedCode is the HTTP code returned for type ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated
const ReplaceDiscoveryV1beta1NamespacedEndpointSliceOKCode int = 200
ReplaceDiscoveryV1beta1NamespacedEndpointSliceOKCode is the HTTP code returned for type ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK
ReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorizedCode is the HTTP code returned for type ReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
const WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOKCode int = 200
WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOKCode is the HTTP code returned for type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK
WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorizedCode is the HTTP code returned for type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized
const WatchDiscoveryV1beta1NamespacedEndpointSliceListOKCode int = 200
WatchDiscoveryV1beta1NamespacedEndpointSliceListOKCode is the HTTP code returned for type WatchDiscoveryV1beta1NamespacedEndpointSliceListOK
WatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorizedCode is the HTTP code returned for type WatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized
const WatchDiscoveryV1beta1NamespacedEndpointSliceOKCode int = 200
WatchDiscoveryV1beta1NamespacedEndpointSliceOKCode is the HTTP code returned for type WatchDiscoveryV1beta1NamespacedEndpointSliceOK
WatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorizedCode is the HTTP code returned for type WatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDiscoveryV1beta1NamespacedEndpointSlice ¶
type CreateDiscoveryV1beta1NamespacedEndpointSlice struct { Context *middleware.Context Handler CreateDiscoveryV1beta1NamespacedEndpointSliceHandler }
CreateDiscoveryV1beta1NamespacedEndpointSlice swagger:route POST /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices discovery_v1beta1 createDiscoveryV1beta1NamespacedEndpointSlice
create an EndpointSlice
func NewCreateDiscoveryV1beta1NamespacedEndpointSlice ¶
func NewCreateDiscoveryV1beta1NamespacedEndpointSlice(ctx *middleware.Context, handler CreateDiscoveryV1beta1NamespacedEndpointSliceHandler) *CreateDiscoveryV1beta1NamespacedEndpointSlice
NewCreateDiscoveryV1beta1NamespacedEndpointSlice creates a new http.Handler for the create discovery v1beta1 namespaced endpoint slice operation
func (*CreateDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP ¶
func (o *CreateDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted ¶
type CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted struct { /* In: Body */ Payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice `json:"body,omitempty"` }
CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted Accepted
swagger:response createDiscoveryV1beta1NamespacedEndpointSliceAccepted
func NewCreateDiscoveryV1beta1NamespacedEndpointSliceAccepted ¶
func NewCreateDiscoveryV1beta1NamespacedEndpointSliceAccepted() *CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted
NewCreateDiscoveryV1beta1NamespacedEndpointSliceAccepted creates CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted with default headers values
func (*CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted) SetPayload ¶
func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
SetPayload sets the payload to the create discovery v1beta1 namespaced endpoint slice accepted response
func (*CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted) WithPayload ¶
func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted
WithPayload adds the payload to the create discovery v1beta1 namespaced endpoint slice accepted response
func (*CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted) WriteResponse ¶
func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateDiscoveryV1beta1NamespacedEndpointSliceCreated ¶
type CreateDiscoveryV1beta1NamespacedEndpointSliceCreated struct { /* In: Body */ Payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice `json:"body,omitempty"` }
CreateDiscoveryV1beta1NamespacedEndpointSliceCreated Created
swagger:response createDiscoveryV1beta1NamespacedEndpointSliceCreated
func NewCreateDiscoveryV1beta1NamespacedEndpointSliceCreated ¶
func NewCreateDiscoveryV1beta1NamespacedEndpointSliceCreated() *CreateDiscoveryV1beta1NamespacedEndpointSliceCreated
NewCreateDiscoveryV1beta1NamespacedEndpointSliceCreated creates CreateDiscoveryV1beta1NamespacedEndpointSliceCreated with default headers values
func (*CreateDiscoveryV1beta1NamespacedEndpointSliceCreated) SetPayload ¶
func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceCreated) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
SetPayload sets the payload to the create discovery v1beta1 namespaced endpoint slice created response
func (*CreateDiscoveryV1beta1NamespacedEndpointSliceCreated) WithPayload ¶
func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceCreated) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *CreateDiscoveryV1beta1NamespacedEndpointSliceCreated
WithPayload adds the payload to the create discovery v1beta1 namespaced endpoint slice created response
func (*CreateDiscoveryV1beta1NamespacedEndpointSliceCreated) WriteResponse ¶
func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateDiscoveryV1beta1NamespacedEndpointSliceHandler ¶
type CreateDiscoveryV1beta1NamespacedEndpointSliceHandler interface {
Handle(CreateDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
}
CreateDiscoveryV1beta1NamespacedEndpointSliceHandler interface for that can handle valid create discovery v1beta1 namespaced endpoint slice params
type CreateDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc ¶
type CreateDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc func(CreateDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
CreateDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc turns a function with the right signature into a create discovery v1beta1 namespaced endpoint slice handler
func (CreateDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle ¶
func (fn CreateDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle(params CreateDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
Handle executing the request and returning a response
type CreateDiscoveryV1beta1NamespacedEndpointSliceOK ¶
type CreateDiscoveryV1beta1NamespacedEndpointSliceOK struct { /* In: Body */ Payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice `json:"body,omitempty"` }
CreateDiscoveryV1beta1NamespacedEndpointSliceOK OK
swagger:response createDiscoveryV1beta1NamespacedEndpointSliceOK
func NewCreateDiscoveryV1beta1NamespacedEndpointSliceOK ¶
func NewCreateDiscoveryV1beta1NamespacedEndpointSliceOK() *CreateDiscoveryV1beta1NamespacedEndpointSliceOK
NewCreateDiscoveryV1beta1NamespacedEndpointSliceOK creates CreateDiscoveryV1beta1NamespacedEndpointSliceOK with default headers values
func (*CreateDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload ¶
func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
SetPayload sets the payload to the create discovery v1beta1 namespaced endpoint slice o k response
func (*CreateDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload ¶
func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *CreateDiscoveryV1beta1NamespacedEndpointSliceOK
WithPayload adds the payload to the create discovery v1beta1 namespaced endpoint slice o k response
func (*CreateDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse ¶
func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateDiscoveryV1beta1NamespacedEndpointSliceParams ¶
type CreateDiscoveryV1beta1NamespacedEndpointSliceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sAPIDiscoveryV1beta1EndpointSlice /*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 }
CreateDiscoveryV1beta1NamespacedEndpointSliceParams contains all the bound params for the create discovery v1beta1 namespaced endpoint slice operation typically these are obtained from a http.Request
swagger:parameters createDiscoveryV1beta1NamespacedEndpointSlice
func NewCreateDiscoveryV1beta1NamespacedEndpointSliceParams ¶
func NewCreateDiscoveryV1beta1NamespacedEndpointSliceParams() CreateDiscoveryV1beta1NamespacedEndpointSliceParams
NewCreateDiscoveryV1beta1NamespacedEndpointSliceParams creates a new CreateDiscoveryV1beta1NamespacedEndpointSliceParams object no default values defined in spec.
func (*CreateDiscoveryV1beta1NamespacedEndpointSliceParams) BindRequest ¶
func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceParams) 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 NewCreateDiscoveryV1beta1NamespacedEndpointSliceParams() beforehand.
type CreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
type CreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorized struct { }
CreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorized Unauthorized
swagger:response createDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
func NewCreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
func NewCreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorized() *CreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
NewCreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorized creates CreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorized with default headers values
func (*CreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse ¶
func (o *CreateDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSlice ¶
type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSlice struct { Context *middleware.Context Handler DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceHandler }
DeleteDiscoveryV1beta1CollectionNamespacedEndpointSlice swagger:route DELETE /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices discovery_v1beta1 deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice
delete collection of EndpointSlice
func NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSlice ¶
func NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSlice(ctx *middleware.Context, handler DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceHandler) *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSlice
NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSlice creates a new http.Handler for the delete discovery v1beta1 collection namespaced endpoint slice operation
func (*DeleteDiscoveryV1beta1CollectionNamespacedEndpointSlice) ServeHTTP ¶
func (o *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSlice) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceHandler ¶
type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceHandler interface {
Handle(DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams) middleware.Responder
}
DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceHandler interface for that can handle valid delete discovery v1beta1 collection namespaced endpoint slice params
type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceHandlerFunc ¶
type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceHandlerFunc func(DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams) middleware.Responder
DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceHandlerFunc turns a function with the right signature into a delete discovery v1beta1 collection namespaced endpoint slice handler
func (DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceHandlerFunc) Handle ¶
func (fn DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceHandlerFunc) Handle(params DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams) middleware.Responder
Handle executing the request and returning a response
type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK ¶
type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK OK
swagger:response deleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK
func NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK ¶
func NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK() *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK
NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK creates DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK with default headers values
func (*DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK) SetPayload ¶
func (o *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete discovery v1beta1 collection namespaced endpoint slice o k response
func (*DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK) WithPayload ¶
func (o *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK
WithPayload adds the payload to the delete discovery v1beta1 collection namespaced endpoint slice o k response
func (*DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK) WriteResponse ¶
func (o *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams ¶
type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams 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 }
DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams contains all the bound params for the delete discovery v1beta1 collection namespaced endpoint slice operation typically these are obtained from a http.Request
swagger:parameters deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice
func NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams ¶
func NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams() DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams
NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams creates a new DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams object no default values defined in spec.
func (*DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams) BindRequest ¶
func (o *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams) 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 NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceParams() beforehand.
type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized ¶
type DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized struct { }
DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized Unauthorized
swagger:response deleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized
func NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized ¶
func NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized() *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized
NewDeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized creates DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized with default headers values
func (*DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized) WriteResponse ¶
func (o *DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteDiscoveryV1beta1NamespacedEndpointSlice ¶
type DeleteDiscoveryV1beta1NamespacedEndpointSlice struct { Context *middleware.Context Handler DeleteDiscoveryV1beta1NamespacedEndpointSliceHandler }
DeleteDiscoveryV1beta1NamespacedEndpointSlice swagger:route DELETE /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name} discovery_v1beta1 deleteDiscoveryV1beta1NamespacedEndpointSlice
delete an EndpointSlice
func NewDeleteDiscoveryV1beta1NamespacedEndpointSlice ¶
func NewDeleteDiscoveryV1beta1NamespacedEndpointSlice(ctx *middleware.Context, handler DeleteDiscoveryV1beta1NamespacedEndpointSliceHandler) *DeleteDiscoveryV1beta1NamespacedEndpointSlice
NewDeleteDiscoveryV1beta1NamespacedEndpointSlice creates a new http.Handler for the delete discovery v1beta1 namespaced endpoint slice operation
func (*DeleteDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP ¶
func (o *DeleteDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted ¶
type DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted Accepted
swagger:response deleteDiscoveryV1beta1NamespacedEndpointSliceAccepted
func NewDeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted ¶
func NewDeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted() *DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted
NewDeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted creates DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted with default headers values
func (*DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted) SetPayload ¶
func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete discovery v1beta1 namespaced endpoint slice accepted response
func (*DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted) WithPayload ¶
func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted
WithPayload adds the payload to the delete discovery v1beta1 namespaced endpoint slice accepted response
func (*DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted) WriteResponse ¶
func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteDiscoveryV1beta1NamespacedEndpointSliceHandler ¶
type DeleteDiscoveryV1beta1NamespacedEndpointSliceHandler interface {
Handle(DeleteDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
}
DeleteDiscoveryV1beta1NamespacedEndpointSliceHandler interface for that can handle valid delete discovery v1beta1 namespaced endpoint slice params
type DeleteDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc ¶
type DeleteDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc func(DeleteDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
DeleteDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc turns a function with the right signature into a delete discovery v1beta1 namespaced endpoint slice handler
func (DeleteDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle ¶
func (fn DeleteDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle(params DeleteDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
Handle executing the request and returning a response
type DeleteDiscoveryV1beta1NamespacedEndpointSliceOK ¶
type DeleteDiscoveryV1beta1NamespacedEndpointSliceOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteDiscoveryV1beta1NamespacedEndpointSliceOK OK
swagger:response deleteDiscoveryV1beta1NamespacedEndpointSliceOK
func NewDeleteDiscoveryV1beta1NamespacedEndpointSliceOK ¶
func NewDeleteDiscoveryV1beta1NamespacedEndpointSliceOK() *DeleteDiscoveryV1beta1NamespacedEndpointSliceOK
NewDeleteDiscoveryV1beta1NamespacedEndpointSliceOK creates DeleteDiscoveryV1beta1NamespacedEndpointSliceOK with default headers values
func (*DeleteDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload ¶
func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete discovery v1beta1 namespaced endpoint slice o k response
func (*DeleteDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload ¶
func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteDiscoveryV1beta1NamespacedEndpointSliceOK
WithPayload adds the payload to the delete discovery v1beta1 namespaced endpoint slice o k response
func (*DeleteDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse ¶
func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteDiscoveryV1beta1NamespacedEndpointSliceParams ¶
type DeleteDiscoveryV1beta1NamespacedEndpointSliceParams 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 EndpointSlice 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 }
DeleteDiscoveryV1beta1NamespacedEndpointSliceParams contains all the bound params for the delete discovery v1beta1 namespaced endpoint slice operation typically these are obtained from a http.Request
swagger:parameters deleteDiscoveryV1beta1NamespacedEndpointSlice
func NewDeleteDiscoveryV1beta1NamespacedEndpointSliceParams ¶
func NewDeleteDiscoveryV1beta1NamespacedEndpointSliceParams() DeleteDiscoveryV1beta1NamespacedEndpointSliceParams
NewDeleteDiscoveryV1beta1NamespacedEndpointSliceParams creates a new DeleteDiscoveryV1beta1NamespacedEndpointSliceParams object no default values defined in spec.
func (*DeleteDiscoveryV1beta1NamespacedEndpointSliceParams) BindRequest ¶
func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceParams) 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 NewDeleteDiscoveryV1beta1NamespacedEndpointSliceParams() beforehand.
type DeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
type DeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized struct { }
DeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized Unauthorized
swagger:response deleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
func NewDeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
func NewDeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized() *DeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
NewDeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized creates DeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized with default headers values
func (*DeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse ¶
func (o *DeleteDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDiscoveryV1beta1APIResources ¶
type GetDiscoveryV1beta1APIResources struct { Context *middleware.Context Handler GetDiscoveryV1beta1APIResourcesHandler }
GetDiscoveryV1beta1APIResources swagger:route GET /apis/discovery.k8s.io/v1beta1/ discovery_v1beta1 getDiscoveryV1beta1ApiResources
get available resources
func NewGetDiscoveryV1beta1APIResources ¶
func NewGetDiscoveryV1beta1APIResources(ctx *middleware.Context, handler GetDiscoveryV1beta1APIResourcesHandler) *GetDiscoveryV1beta1APIResources
NewGetDiscoveryV1beta1APIResources creates a new http.Handler for the get discovery v1beta1 API resources operation
func (*GetDiscoveryV1beta1APIResources) ServeHTTP ¶
func (o *GetDiscoveryV1beta1APIResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDiscoveryV1beta1APIResourcesHandler ¶
type GetDiscoveryV1beta1APIResourcesHandler interface {
Handle(GetDiscoveryV1beta1APIResourcesParams) middleware.Responder
}
GetDiscoveryV1beta1APIResourcesHandler interface for that can handle valid get discovery v1beta1 API resources params
type GetDiscoveryV1beta1APIResourcesHandlerFunc ¶
type GetDiscoveryV1beta1APIResourcesHandlerFunc func(GetDiscoveryV1beta1APIResourcesParams) middleware.Responder
GetDiscoveryV1beta1APIResourcesHandlerFunc turns a function with the right signature into a get discovery v1beta1 API resources handler
func (GetDiscoveryV1beta1APIResourcesHandlerFunc) Handle ¶
func (fn GetDiscoveryV1beta1APIResourcesHandlerFunc) Handle(params GetDiscoveryV1beta1APIResourcesParams) middleware.Responder
Handle executing the request and returning a response
type GetDiscoveryV1beta1APIResourcesOK ¶
type GetDiscoveryV1beta1APIResourcesOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList `json:"body,omitempty"` }
GetDiscoveryV1beta1APIResourcesOK OK
swagger:response getDiscoveryV1beta1ApiResourcesOK
func NewGetDiscoveryV1beta1APIResourcesOK ¶
func NewGetDiscoveryV1beta1APIResourcesOK() *GetDiscoveryV1beta1APIResourcesOK
NewGetDiscoveryV1beta1APIResourcesOK creates GetDiscoveryV1beta1APIResourcesOK with default headers values
func (*GetDiscoveryV1beta1APIResourcesOK) SetPayload ¶
func (o *GetDiscoveryV1beta1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
SetPayload sets the payload to the get discovery v1beta1 Api resources o k response
func (*GetDiscoveryV1beta1APIResourcesOK) WithPayload ¶
func (o *GetDiscoveryV1beta1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetDiscoveryV1beta1APIResourcesOK
WithPayload adds the payload to the get discovery v1beta1 Api resources o k response
func (*GetDiscoveryV1beta1APIResourcesOK) WriteResponse ¶
func (o *GetDiscoveryV1beta1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDiscoveryV1beta1APIResourcesParams ¶
type GetDiscoveryV1beta1APIResourcesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetDiscoveryV1beta1APIResourcesParams contains all the bound params for the get discovery v1beta1 API resources operation typically these are obtained from a http.Request
swagger:parameters getDiscoveryV1beta1APIResources
func NewGetDiscoveryV1beta1APIResourcesParams ¶
func NewGetDiscoveryV1beta1APIResourcesParams() GetDiscoveryV1beta1APIResourcesParams
NewGetDiscoveryV1beta1APIResourcesParams creates a new GetDiscoveryV1beta1APIResourcesParams object no default values defined in spec.
func (*GetDiscoveryV1beta1APIResourcesParams) BindRequest ¶
func (o *GetDiscoveryV1beta1APIResourcesParams) 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 NewGetDiscoveryV1beta1APIResourcesParams() beforehand.
type GetDiscoveryV1beta1APIResourcesUnauthorized ¶
type GetDiscoveryV1beta1APIResourcesUnauthorized struct { }
GetDiscoveryV1beta1APIResourcesUnauthorized Unauthorized
swagger:response getDiscoveryV1beta1ApiResourcesUnauthorized
func NewGetDiscoveryV1beta1APIResourcesUnauthorized ¶
func NewGetDiscoveryV1beta1APIResourcesUnauthorized() *GetDiscoveryV1beta1APIResourcesUnauthorized
NewGetDiscoveryV1beta1APIResourcesUnauthorized creates GetDiscoveryV1beta1APIResourcesUnauthorized with default headers values
func (*GetDiscoveryV1beta1APIResourcesUnauthorized) WriteResponse ¶
func (o *GetDiscoveryV1beta1APIResourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListDiscoveryV1beta1EndpointSliceForAllNamespaces ¶
type ListDiscoveryV1beta1EndpointSliceForAllNamespaces struct { Context *middleware.Context Handler ListDiscoveryV1beta1EndpointSliceForAllNamespacesHandler }
ListDiscoveryV1beta1EndpointSliceForAllNamespaces swagger:route GET /apis/discovery.k8s.io/v1beta1/endpointslices discovery_v1beta1 listDiscoveryV1beta1EndpointSliceForAllNamespaces
list or watch objects of kind EndpointSlice
func NewListDiscoveryV1beta1EndpointSliceForAllNamespaces ¶
func NewListDiscoveryV1beta1EndpointSliceForAllNamespaces(ctx *middleware.Context, handler ListDiscoveryV1beta1EndpointSliceForAllNamespacesHandler) *ListDiscoveryV1beta1EndpointSliceForAllNamespaces
NewListDiscoveryV1beta1EndpointSliceForAllNamespaces creates a new http.Handler for the list discovery v1beta1 endpoint slice for all namespaces operation
func (*ListDiscoveryV1beta1EndpointSliceForAllNamespaces) ServeHTTP ¶
func (o *ListDiscoveryV1beta1EndpointSliceForAllNamespaces) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListDiscoveryV1beta1EndpointSliceForAllNamespacesHandler ¶
type ListDiscoveryV1beta1EndpointSliceForAllNamespacesHandler interface {
Handle(ListDiscoveryV1beta1EndpointSliceForAllNamespacesParams) middleware.Responder
}
ListDiscoveryV1beta1EndpointSliceForAllNamespacesHandler interface for that can handle valid list discovery v1beta1 endpoint slice for all namespaces params
type ListDiscoveryV1beta1EndpointSliceForAllNamespacesHandlerFunc ¶
type ListDiscoveryV1beta1EndpointSliceForAllNamespacesHandlerFunc func(ListDiscoveryV1beta1EndpointSliceForAllNamespacesParams) middleware.Responder
ListDiscoveryV1beta1EndpointSliceForAllNamespacesHandlerFunc turns a function with the right signature into a list discovery v1beta1 endpoint slice for all namespaces handler
func (ListDiscoveryV1beta1EndpointSliceForAllNamespacesHandlerFunc) Handle ¶
func (fn ListDiscoveryV1beta1EndpointSliceForAllNamespacesHandlerFunc) Handle(params ListDiscoveryV1beta1EndpointSliceForAllNamespacesParams) middleware.Responder
Handle executing the request and returning a response
type ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK ¶
type ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK struct { /* In: Body */ Payload *models.IoK8sAPIDiscoveryV1beta1EndpointSliceList `json:"body,omitempty"` }
ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK OK
swagger:response listDiscoveryV1beta1EndpointSliceForAllNamespacesOK
func NewListDiscoveryV1beta1EndpointSliceForAllNamespacesOK ¶
func NewListDiscoveryV1beta1EndpointSliceForAllNamespacesOK() *ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK
NewListDiscoveryV1beta1EndpointSliceForAllNamespacesOK creates ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK with default headers values
func (*ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK) SetPayload ¶
func (o *ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSliceList)
SetPayload sets the payload to the list discovery v1beta1 endpoint slice for all namespaces o k response
func (*ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK) WithPayload ¶
func (o *ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSliceList) *ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK
WithPayload adds the payload to the list discovery v1beta1 endpoint slice for all namespaces o k response
func (*ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK) WriteResponse ¶
func (o *ListDiscoveryV1beta1EndpointSliceForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListDiscoveryV1beta1EndpointSliceForAllNamespacesParams ¶
type ListDiscoveryV1beta1EndpointSliceForAllNamespacesParams 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 }
ListDiscoveryV1beta1EndpointSliceForAllNamespacesParams contains all the bound params for the list discovery v1beta1 endpoint slice for all namespaces operation typically these are obtained from a http.Request
swagger:parameters listDiscoveryV1beta1EndpointSliceForAllNamespaces
func NewListDiscoveryV1beta1EndpointSliceForAllNamespacesParams ¶
func NewListDiscoveryV1beta1EndpointSliceForAllNamespacesParams() ListDiscoveryV1beta1EndpointSliceForAllNamespacesParams
NewListDiscoveryV1beta1EndpointSliceForAllNamespacesParams creates a new ListDiscoveryV1beta1EndpointSliceForAllNamespacesParams object no default values defined in spec.
func (*ListDiscoveryV1beta1EndpointSliceForAllNamespacesParams) BindRequest ¶
func (o *ListDiscoveryV1beta1EndpointSliceForAllNamespacesParams) 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 NewListDiscoveryV1beta1EndpointSliceForAllNamespacesParams() beforehand.
type ListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized ¶
type ListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized struct { }
ListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized Unauthorized
swagger:response listDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized
func NewListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized ¶
func NewListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized() *ListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized
NewListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized creates ListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized with default headers values
func (*ListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized) WriteResponse ¶
func (o *ListDiscoveryV1beta1EndpointSliceForAllNamespacesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListDiscoveryV1beta1NamespacedEndpointSlice ¶
type ListDiscoveryV1beta1NamespacedEndpointSlice struct { Context *middleware.Context Handler ListDiscoveryV1beta1NamespacedEndpointSliceHandler }
ListDiscoveryV1beta1NamespacedEndpointSlice swagger:route GET /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices discovery_v1beta1 listDiscoveryV1beta1NamespacedEndpointSlice
list or watch objects of kind EndpointSlice
func NewListDiscoveryV1beta1NamespacedEndpointSlice ¶
func NewListDiscoveryV1beta1NamespacedEndpointSlice(ctx *middleware.Context, handler ListDiscoveryV1beta1NamespacedEndpointSliceHandler) *ListDiscoveryV1beta1NamespacedEndpointSlice
NewListDiscoveryV1beta1NamespacedEndpointSlice creates a new http.Handler for the list discovery v1beta1 namespaced endpoint slice operation
func (*ListDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP ¶
func (o *ListDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListDiscoveryV1beta1NamespacedEndpointSliceHandler ¶
type ListDiscoveryV1beta1NamespacedEndpointSliceHandler interface {
Handle(ListDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
}
ListDiscoveryV1beta1NamespacedEndpointSliceHandler interface for that can handle valid list discovery v1beta1 namespaced endpoint slice params
type ListDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc ¶
type ListDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc func(ListDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
ListDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc turns a function with the right signature into a list discovery v1beta1 namespaced endpoint slice handler
func (ListDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle ¶
func (fn ListDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle(params ListDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
Handle executing the request and returning a response
type ListDiscoveryV1beta1NamespacedEndpointSliceOK ¶
type ListDiscoveryV1beta1NamespacedEndpointSliceOK struct { /* In: Body */ Payload *models.IoK8sAPIDiscoveryV1beta1EndpointSliceList `json:"body,omitempty"` }
ListDiscoveryV1beta1NamespacedEndpointSliceOK OK
swagger:response listDiscoveryV1beta1NamespacedEndpointSliceOK
func NewListDiscoveryV1beta1NamespacedEndpointSliceOK ¶
func NewListDiscoveryV1beta1NamespacedEndpointSliceOK() *ListDiscoveryV1beta1NamespacedEndpointSliceOK
NewListDiscoveryV1beta1NamespacedEndpointSliceOK creates ListDiscoveryV1beta1NamespacedEndpointSliceOK with default headers values
func (*ListDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload ¶
func (o *ListDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSliceList)
SetPayload sets the payload to the list discovery v1beta1 namespaced endpoint slice o k response
func (*ListDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload ¶
func (o *ListDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSliceList) *ListDiscoveryV1beta1NamespacedEndpointSliceOK
WithPayload adds the payload to the list discovery v1beta1 namespaced endpoint slice o k response
func (*ListDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse ¶
func (o *ListDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListDiscoveryV1beta1NamespacedEndpointSliceParams ¶
type ListDiscoveryV1beta1NamespacedEndpointSliceParams 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 }
ListDiscoveryV1beta1NamespacedEndpointSliceParams contains all the bound params for the list discovery v1beta1 namespaced endpoint slice operation typically these are obtained from a http.Request
swagger:parameters listDiscoveryV1beta1NamespacedEndpointSlice
func NewListDiscoveryV1beta1NamespacedEndpointSliceParams ¶
func NewListDiscoveryV1beta1NamespacedEndpointSliceParams() ListDiscoveryV1beta1NamespacedEndpointSliceParams
NewListDiscoveryV1beta1NamespacedEndpointSliceParams creates a new ListDiscoveryV1beta1NamespacedEndpointSliceParams object no default values defined in spec.
func (*ListDiscoveryV1beta1NamespacedEndpointSliceParams) BindRequest ¶
func (o *ListDiscoveryV1beta1NamespacedEndpointSliceParams) 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 NewListDiscoveryV1beta1NamespacedEndpointSliceParams() beforehand.
type ListDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
type ListDiscoveryV1beta1NamespacedEndpointSliceUnauthorized struct { }
ListDiscoveryV1beta1NamespacedEndpointSliceUnauthorized Unauthorized
swagger:response listDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
func NewListDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
func NewListDiscoveryV1beta1NamespacedEndpointSliceUnauthorized() *ListDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
NewListDiscoveryV1beta1NamespacedEndpointSliceUnauthorized creates ListDiscoveryV1beta1NamespacedEndpointSliceUnauthorized with default headers values
func (*ListDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse ¶
func (o *ListDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchDiscoveryV1beta1NamespacedEndpointSlice ¶
type PatchDiscoveryV1beta1NamespacedEndpointSlice struct { Context *middleware.Context Handler PatchDiscoveryV1beta1NamespacedEndpointSliceHandler }
PatchDiscoveryV1beta1NamespacedEndpointSlice swagger:route PATCH /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name} discovery_v1beta1 patchDiscoveryV1beta1NamespacedEndpointSlice
partially update the specified EndpointSlice
func NewPatchDiscoveryV1beta1NamespacedEndpointSlice ¶
func NewPatchDiscoveryV1beta1NamespacedEndpointSlice(ctx *middleware.Context, handler PatchDiscoveryV1beta1NamespacedEndpointSliceHandler) *PatchDiscoveryV1beta1NamespacedEndpointSlice
NewPatchDiscoveryV1beta1NamespacedEndpointSlice creates a new http.Handler for the patch discovery v1beta1 namespaced endpoint slice operation
func (*PatchDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP ¶
func (o *PatchDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchDiscoveryV1beta1NamespacedEndpointSliceHandler ¶
type PatchDiscoveryV1beta1NamespacedEndpointSliceHandler interface {
Handle(PatchDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
}
PatchDiscoveryV1beta1NamespacedEndpointSliceHandler interface for that can handle valid patch discovery v1beta1 namespaced endpoint slice params
type PatchDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc ¶
type PatchDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc func(PatchDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
PatchDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc turns a function with the right signature into a patch discovery v1beta1 namespaced endpoint slice handler
func (PatchDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle ¶
func (fn PatchDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle(params PatchDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
Handle executing the request and returning a response
type PatchDiscoveryV1beta1NamespacedEndpointSliceOK ¶
type PatchDiscoveryV1beta1NamespacedEndpointSliceOK struct { /* In: Body */ Payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice `json:"body,omitempty"` }
PatchDiscoveryV1beta1NamespacedEndpointSliceOK OK
swagger:response patchDiscoveryV1beta1NamespacedEndpointSliceOK
func NewPatchDiscoveryV1beta1NamespacedEndpointSliceOK ¶
func NewPatchDiscoveryV1beta1NamespacedEndpointSliceOK() *PatchDiscoveryV1beta1NamespacedEndpointSliceOK
NewPatchDiscoveryV1beta1NamespacedEndpointSliceOK creates PatchDiscoveryV1beta1NamespacedEndpointSliceOK with default headers values
func (*PatchDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload ¶
func (o *PatchDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
SetPayload sets the payload to the patch discovery v1beta1 namespaced endpoint slice o k response
func (*PatchDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload ¶
func (o *PatchDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *PatchDiscoveryV1beta1NamespacedEndpointSliceOK
WithPayload adds the payload to the patch discovery v1beta1 namespaced endpoint slice o k response
func (*PatchDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse ¶
func (o *PatchDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchDiscoveryV1beta1NamespacedEndpointSliceParams ¶
type PatchDiscoveryV1beta1NamespacedEndpointSliceParams 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 EndpointSlice 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 }
PatchDiscoveryV1beta1NamespacedEndpointSliceParams contains all the bound params for the patch discovery v1beta1 namespaced endpoint slice operation typically these are obtained from a http.Request
swagger:parameters patchDiscoveryV1beta1NamespacedEndpointSlice
func NewPatchDiscoveryV1beta1NamespacedEndpointSliceParams ¶
func NewPatchDiscoveryV1beta1NamespacedEndpointSliceParams() PatchDiscoveryV1beta1NamespacedEndpointSliceParams
NewPatchDiscoveryV1beta1NamespacedEndpointSliceParams creates a new PatchDiscoveryV1beta1NamespacedEndpointSliceParams object no default values defined in spec.
func (*PatchDiscoveryV1beta1NamespacedEndpointSliceParams) BindRequest ¶
func (o *PatchDiscoveryV1beta1NamespacedEndpointSliceParams) 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 NewPatchDiscoveryV1beta1NamespacedEndpointSliceParams() beforehand.
type PatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
type PatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized struct { }
PatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized Unauthorized
swagger:response patchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
func NewPatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
func NewPatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized() *PatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
NewPatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized creates PatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized with default headers values
func (*PatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse ¶
func (o *PatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadDiscoveryV1beta1NamespacedEndpointSlice ¶
type ReadDiscoveryV1beta1NamespacedEndpointSlice struct { Context *middleware.Context Handler ReadDiscoveryV1beta1NamespacedEndpointSliceHandler }
ReadDiscoveryV1beta1NamespacedEndpointSlice swagger:route GET /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name} discovery_v1beta1 readDiscoveryV1beta1NamespacedEndpointSlice
read the specified EndpointSlice
func NewReadDiscoveryV1beta1NamespacedEndpointSlice ¶
func NewReadDiscoveryV1beta1NamespacedEndpointSlice(ctx *middleware.Context, handler ReadDiscoveryV1beta1NamespacedEndpointSliceHandler) *ReadDiscoveryV1beta1NamespacedEndpointSlice
NewReadDiscoveryV1beta1NamespacedEndpointSlice creates a new http.Handler for the read discovery v1beta1 namespaced endpoint slice operation
func (*ReadDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP ¶
func (o *ReadDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReadDiscoveryV1beta1NamespacedEndpointSliceHandler ¶
type ReadDiscoveryV1beta1NamespacedEndpointSliceHandler interface {
Handle(ReadDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
}
ReadDiscoveryV1beta1NamespacedEndpointSliceHandler interface for that can handle valid read discovery v1beta1 namespaced endpoint slice params
type ReadDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc ¶
type ReadDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc func(ReadDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
ReadDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc turns a function with the right signature into a read discovery v1beta1 namespaced endpoint slice handler
func (ReadDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle ¶
func (fn ReadDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle(params ReadDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
Handle executing the request and returning a response
type ReadDiscoveryV1beta1NamespacedEndpointSliceOK ¶
type ReadDiscoveryV1beta1NamespacedEndpointSliceOK struct { /* In: Body */ Payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice `json:"body,omitempty"` }
ReadDiscoveryV1beta1NamespacedEndpointSliceOK OK
swagger:response readDiscoveryV1beta1NamespacedEndpointSliceOK
func NewReadDiscoveryV1beta1NamespacedEndpointSliceOK ¶
func NewReadDiscoveryV1beta1NamespacedEndpointSliceOK() *ReadDiscoveryV1beta1NamespacedEndpointSliceOK
NewReadDiscoveryV1beta1NamespacedEndpointSliceOK creates ReadDiscoveryV1beta1NamespacedEndpointSliceOK with default headers values
func (*ReadDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload ¶
func (o *ReadDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
SetPayload sets the payload to the read discovery v1beta1 namespaced endpoint slice o k response
func (*ReadDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload ¶
func (o *ReadDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *ReadDiscoveryV1beta1NamespacedEndpointSliceOK
WithPayload adds the payload to the read discovery v1beta1 namespaced endpoint slice o k response
func (*ReadDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse ¶
func (o *ReadDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadDiscoveryV1beta1NamespacedEndpointSliceParams ¶
type ReadDiscoveryV1beta1NamespacedEndpointSliceParams 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 EndpointSlice 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 }
ReadDiscoveryV1beta1NamespacedEndpointSliceParams contains all the bound params for the read discovery v1beta1 namespaced endpoint slice operation typically these are obtained from a http.Request
swagger:parameters readDiscoveryV1beta1NamespacedEndpointSlice
func NewReadDiscoveryV1beta1NamespacedEndpointSliceParams ¶
func NewReadDiscoveryV1beta1NamespacedEndpointSliceParams() ReadDiscoveryV1beta1NamespacedEndpointSliceParams
NewReadDiscoveryV1beta1NamespacedEndpointSliceParams creates a new ReadDiscoveryV1beta1NamespacedEndpointSliceParams object no default values defined in spec.
func (*ReadDiscoveryV1beta1NamespacedEndpointSliceParams) BindRequest ¶
func (o *ReadDiscoveryV1beta1NamespacedEndpointSliceParams) 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 NewReadDiscoveryV1beta1NamespacedEndpointSliceParams() beforehand.
type ReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
type ReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorized struct { }
ReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorized Unauthorized
swagger:response readDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
func NewReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
func NewReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorized() *ReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
NewReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorized creates ReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorized with default headers values
func (*ReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse ¶
func (o *ReadDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceDiscoveryV1beta1NamespacedEndpointSlice ¶
type ReplaceDiscoveryV1beta1NamespacedEndpointSlice struct { Context *middleware.Context Handler ReplaceDiscoveryV1beta1NamespacedEndpointSliceHandler }
ReplaceDiscoveryV1beta1NamespacedEndpointSlice swagger:route PUT /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name} discovery_v1beta1 replaceDiscoveryV1beta1NamespacedEndpointSlice
replace the specified EndpointSlice
func NewReplaceDiscoveryV1beta1NamespacedEndpointSlice ¶
func NewReplaceDiscoveryV1beta1NamespacedEndpointSlice(ctx *middleware.Context, handler ReplaceDiscoveryV1beta1NamespacedEndpointSliceHandler) *ReplaceDiscoveryV1beta1NamespacedEndpointSlice
NewReplaceDiscoveryV1beta1NamespacedEndpointSlice creates a new http.Handler for the replace discovery v1beta1 namespaced endpoint slice operation
func (*ReplaceDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP ¶
func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated ¶
type ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated struct { /* In: Body */ Payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice `json:"body,omitempty"` }
ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated Created
swagger:response replaceDiscoveryV1beta1NamespacedEndpointSliceCreated
func NewReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated ¶
func NewReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated() *ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated
NewReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated creates ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated with default headers values
func (*ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated) SetPayload ¶
func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
SetPayload sets the payload to the replace discovery v1beta1 namespaced endpoint slice created response
func (*ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated) WithPayload ¶
func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated
WithPayload adds the payload to the replace discovery v1beta1 namespaced endpoint slice created response
func (*ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated) WriteResponse ¶
func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceDiscoveryV1beta1NamespacedEndpointSliceHandler ¶
type ReplaceDiscoveryV1beta1NamespacedEndpointSliceHandler interface {
Handle(ReplaceDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
}
ReplaceDiscoveryV1beta1NamespacedEndpointSliceHandler interface for that can handle valid replace discovery v1beta1 namespaced endpoint slice params
type ReplaceDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc ¶
type ReplaceDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc func(ReplaceDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
ReplaceDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc turns a function with the right signature into a replace discovery v1beta1 namespaced endpoint slice handler
func (ReplaceDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle ¶
func (fn ReplaceDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle(params ReplaceDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
Handle executing the request and returning a response
type ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK ¶
type ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK struct { /* In: Body */ Payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice `json:"body,omitempty"` }
ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK OK
swagger:response replaceDiscoveryV1beta1NamespacedEndpointSliceOK
func NewReplaceDiscoveryV1beta1NamespacedEndpointSliceOK ¶
func NewReplaceDiscoveryV1beta1NamespacedEndpointSliceOK() *ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK
NewReplaceDiscoveryV1beta1NamespacedEndpointSliceOK creates ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK with default headers values
func (*ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload ¶
func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice)
SetPayload sets the payload to the replace discovery v1beta1 namespaced endpoint slice o k response
func (*ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload ¶
func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sAPIDiscoveryV1beta1EndpointSlice) *ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK
WithPayload adds the payload to the replace discovery v1beta1 namespaced endpoint slice o k response
func (*ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse ¶
func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceDiscoveryV1beta1NamespacedEndpointSliceParams ¶
type ReplaceDiscoveryV1beta1NamespacedEndpointSliceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sAPIDiscoveryV1beta1EndpointSlice /*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 EndpointSlice 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 }
ReplaceDiscoveryV1beta1NamespacedEndpointSliceParams contains all the bound params for the replace discovery v1beta1 namespaced endpoint slice operation typically these are obtained from a http.Request
swagger:parameters replaceDiscoveryV1beta1NamespacedEndpointSlice
func NewReplaceDiscoveryV1beta1NamespacedEndpointSliceParams ¶
func NewReplaceDiscoveryV1beta1NamespacedEndpointSliceParams() ReplaceDiscoveryV1beta1NamespacedEndpointSliceParams
NewReplaceDiscoveryV1beta1NamespacedEndpointSliceParams creates a new ReplaceDiscoveryV1beta1NamespacedEndpointSliceParams object no default values defined in spec.
func (*ReplaceDiscoveryV1beta1NamespacedEndpointSliceParams) BindRequest ¶
func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceParams) 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 NewReplaceDiscoveryV1beta1NamespacedEndpointSliceParams() beforehand.
type ReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
type ReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized struct { }
ReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized Unauthorized
swagger:response replaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
func NewReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
func NewReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized() *ReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
NewReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized creates ReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized with default headers values
func (*ReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse ¶
func (o *ReplaceDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchDiscoveryV1beta1EndpointSliceListForAllNamespaces ¶
type WatchDiscoveryV1beta1EndpointSliceListForAllNamespaces struct { Context *middleware.Context Handler WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesHandler }
WatchDiscoveryV1beta1EndpointSliceListForAllNamespaces swagger:route GET /apis/discovery.k8s.io/v1beta1/watch/endpointslices discovery_v1beta1 watchDiscoveryV1beta1EndpointSliceListForAllNamespaces
watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.
func NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespaces ¶
func NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespaces(ctx *middleware.Context, handler WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesHandler) *WatchDiscoveryV1beta1EndpointSliceListForAllNamespaces
NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespaces creates a new http.Handler for the watch discovery v1beta1 endpoint slice list for all namespaces operation
func (*WatchDiscoveryV1beta1EndpointSliceListForAllNamespaces) ServeHTTP ¶
func (o *WatchDiscoveryV1beta1EndpointSliceListForAllNamespaces) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesHandler ¶
type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesHandler interface {
Handle(WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams) middleware.Responder
}
WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesHandler interface for that can handle valid watch discovery v1beta1 endpoint slice list for all namespaces params
type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesHandlerFunc ¶
type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesHandlerFunc func(WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams) middleware.Responder
WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesHandlerFunc turns a function with the right signature into a watch discovery v1beta1 endpoint slice list for all namespaces handler
func (WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesHandlerFunc) Handle ¶
func (fn WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesHandlerFunc) Handle(params WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams) middleware.Responder
Handle executing the request and returning a response
type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK ¶
type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK OK
swagger:response watchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK
func NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK ¶
func NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK() *WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK
NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK creates WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK with default headers values
func (*WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK) SetPayload ¶
func (o *WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch discovery v1beta1 endpoint slice list for all namespaces o k response
func (*WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK) WithPayload ¶
func (o *WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK
WithPayload adds the payload to the watch discovery v1beta1 endpoint slice list for all namespaces o k response
func (*WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK) WriteResponse ¶
func (o *WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams ¶
type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams 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 }
WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams contains all the bound params for the watch discovery v1beta1 endpoint slice list for all namespaces operation typically these are obtained from a http.Request
swagger:parameters watchDiscoveryV1beta1EndpointSliceListForAllNamespaces
func NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams ¶
func NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams() WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams
NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams creates a new WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams object no default values defined in spec.
func (*WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams) BindRequest ¶
func (o *WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams) 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 NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespacesParams() beforehand.
type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized ¶
type WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized struct { }
WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized Unauthorized
swagger:response watchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized
func NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized ¶
func NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized() *WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized
NewWatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized creates WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized with default headers values
func (*WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized) WriteResponse ¶
func (o *WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchDiscoveryV1beta1NamespacedEndpointSlice ¶
type WatchDiscoveryV1beta1NamespacedEndpointSlice struct { Context *middleware.Context Handler WatchDiscoveryV1beta1NamespacedEndpointSliceHandler }
WatchDiscoveryV1beta1NamespacedEndpointSlice swagger:route GET /apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices/{name} discovery_v1beta1 watchDiscoveryV1beta1NamespacedEndpointSlice
watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
func NewWatchDiscoveryV1beta1NamespacedEndpointSlice ¶
func NewWatchDiscoveryV1beta1NamespacedEndpointSlice(ctx *middleware.Context, handler WatchDiscoveryV1beta1NamespacedEndpointSliceHandler) *WatchDiscoveryV1beta1NamespacedEndpointSlice
NewWatchDiscoveryV1beta1NamespacedEndpointSlice creates a new http.Handler for the watch discovery v1beta1 namespaced endpoint slice operation
func (*WatchDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP ¶
func (o *WatchDiscoveryV1beta1NamespacedEndpointSlice) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchDiscoveryV1beta1NamespacedEndpointSliceHandler ¶
type WatchDiscoveryV1beta1NamespacedEndpointSliceHandler interface {
Handle(WatchDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
}
WatchDiscoveryV1beta1NamespacedEndpointSliceHandler interface for that can handle valid watch discovery v1beta1 namespaced endpoint slice params
type WatchDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc ¶
type WatchDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc func(WatchDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
WatchDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc turns a function with the right signature into a watch discovery v1beta1 namespaced endpoint slice handler
func (WatchDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle ¶
func (fn WatchDiscoveryV1beta1NamespacedEndpointSliceHandlerFunc) Handle(params WatchDiscoveryV1beta1NamespacedEndpointSliceParams) middleware.Responder
Handle executing the request and returning a response
type WatchDiscoveryV1beta1NamespacedEndpointSliceList ¶
type WatchDiscoveryV1beta1NamespacedEndpointSliceList struct { Context *middleware.Context Handler WatchDiscoveryV1beta1NamespacedEndpointSliceListHandler }
WatchDiscoveryV1beta1NamespacedEndpointSliceList swagger:route GET /apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices discovery_v1beta1 watchDiscoveryV1beta1NamespacedEndpointSliceList
watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceList ¶
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceList(ctx *middleware.Context, handler WatchDiscoveryV1beta1NamespacedEndpointSliceListHandler) *WatchDiscoveryV1beta1NamespacedEndpointSliceList
NewWatchDiscoveryV1beta1NamespacedEndpointSliceList creates a new http.Handler for the watch discovery v1beta1 namespaced endpoint slice list operation
func (*WatchDiscoveryV1beta1NamespacedEndpointSliceList) ServeHTTP ¶
func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchDiscoveryV1beta1NamespacedEndpointSliceListHandler ¶
type WatchDiscoveryV1beta1NamespacedEndpointSliceListHandler interface {
Handle(WatchDiscoveryV1beta1NamespacedEndpointSliceListParams) middleware.Responder
}
WatchDiscoveryV1beta1NamespacedEndpointSliceListHandler interface for that can handle valid watch discovery v1beta1 namespaced endpoint slice list params
type WatchDiscoveryV1beta1NamespacedEndpointSliceListHandlerFunc ¶
type WatchDiscoveryV1beta1NamespacedEndpointSliceListHandlerFunc func(WatchDiscoveryV1beta1NamespacedEndpointSliceListParams) middleware.Responder
WatchDiscoveryV1beta1NamespacedEndpointSliceListHandlerFunc turns a function with the right signature into a watch discovery v1beta1 namespaced endpoint slice list handler
func (WatchDiscoveryV1beta1NamespacedEndpointSliceListHandlerFunc) Handle ¶
func (fn WatchDiscoveryV1beta1NamespacedEndpointSliceListHandlerFunc) Handle(params WatchDiscoveryV1beta1NamespacedEndpointSliceListParams) middleware.Responder
Handle executing the request and returning a response
type WatchDiscoveryV1beta1NamespacedEndpointSliceListOK ¶
type WatchDiscoveryV1beta1NamespacedEndpointSliceListOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchDiscoveryV1beta1NamespacedEndpointSliceListOK OK
swagger:response watchDiscoveryV1beta1NamespacedEndpointSliceListOK
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceListOK ¶
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceListOK() *WatchDiscoveryV1beta1NamespacedEndpointSliceListOK
NewWatchDiscoveryV1beta1NamespacedEndpointSliceListOK creates WatchDiscoveryV1beta1NamespacedEndpointSliceListOK with default headers values
func (*WatchDiscoveryV1beta1NamespacedEndpointSliceListOK) SetPayload ¶
func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch discovery v1beta1 namespaced endpoint slice list o k response
func (*WatchDiscoveryV1beta1NamespacedEndpointSliceListOK) WithPayload ¶
func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchDiscoveryV1beta1NamespacedEndpointSliceListOK
WithPayload adds the payload to the watch discovery v1beta1 namespaced endpoint slice list o k response
func (*WatchDiscoveryV1beta1NamespacedEndpointSliceListOK) WriteResponse ¶
func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchDiscoveryV1beta1NamespacedEndpointSliceListParams ¶
type WatchDiscoveryV1beta1NamespacedEndpointSliceListParams 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 }
WatchDiscoveryV1beta1NamespacedEndpointSliceListParams contains all the bound params for the watch discovery v1beta1 namespaced endpoint slice list operation typically these are obtained from a http.Request
swagger:parameters watchDiscoveryV1beta1NamespacedEndpointSliceList
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceListParams ¶
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceListParams() WatchDiscoveryV1beta1NamespacedEndpointSliceListParams
NewWatchDiscoveryV1beta1NamespacedEndpointSliceListParams creates a new WatchDiscoveryV1beta1NamespacedEndpointSliceListParams object no default values defined in spec.
func (*WatchDiscoveryV1beta1NamespacedEndpointSliceListParams) BindRequest ¶
func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceListParams) 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 NewWatchDiscoveryV1beta1NamespacedEndpointSliceListParams() beforehand.
type WatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized ¶
type WatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized struct { }
WatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized Unauthorized
swagger:response watchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized ¶
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized() *WatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized
NewWatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized creates WatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized with default headers values
func (*WatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized) WriteResponse ¶
func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceListUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchDiscoveryV1beta1NamespacedEndpointSliceOK ¶
type WatchDiscoveryV1beta1NamespacedEndpointSliceOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchDiscoveryV1beta1NamespacedEndpointSliceOK OK
swagger:response watchDiscoveryV1beta1NamespacedEndpointSliceOK
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceOK ¶
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceOK() *WatchDiscoveryV1beta1NamespacedEndpointSliceOK
NewWatchDiscoveryV1beta1NamespacedEndpointSliceOK creates WatchDiscoveryV1beta1NamespacedEndpointSliceOK with default headers values
func (*WatchDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload ¶
func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch discovery v1beta1 namespaced endpoint slice o k response
func (*WatchDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload ¶
func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchDiscoveryV1beta1NamespacedEndpointSliceOK
WithPayload adds the payload to the watch discovery v1beta1 namespaced endpoint slice o k response
func (*WatchDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse ¶
func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchDiscoveryV1beta1NamespacedEndpointSliceParams ¶
type WatchDiscoveryV1beta1NamespacedEndpointSliceParams 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 EndpointSlice 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 }
WatchDiscoveryV1beta1NamespacedEndpointSliceParams contains all the bound params for the watch discovery v1beta1 namespaced endpoint slice operation typically these are obtained from a http.Request
swagger:parameters watchDiscoveryV1beta1NamespacedEndpointSlice
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceParams ¶
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceParams() WatchDiscoveryV1beta1NamespacedEndpointSliceParams
NewWatchDiscoveryV1beta1NamespacedEndpointSliceParams creates a new WatchDiscoveryV1beta1NamespacedEndpointSliceParams object no default values defined in spec.
func (*WatchDiscoveryV1beta1NamespacedEndpointSliceParams) BindRequest ¶
func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceParams) 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 NewWatchDiscoveryV1beta1NamespacedEndpointSliceParams() beforehand.
type WatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
type WatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized struct { }
WatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized Unauthorized
swagger:response watchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized ¶
func NewWatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized() *WatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized
NewWatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized creates WatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized with default headers values
func (*WatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse ¶
func (o *WatchDiscoveryV1beta1NamespacedEndpointSliceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_discovery_v1beta1_namespaced_endpoint_slice.go
- create_discovery_v1beta1_namespaced_endpoint_slice_parameters.go
- create_discovery_v1beta1_namespaced_endpoint_slice_responses.go
- delete_discovery_v1beta1_collection_namespaced_endpoint_slice.go
- delete_discovery_v1beta1_collection_namespaced_endpoint_slice_parameters.go
- delete_discovery_v1beta1_collection_namespaced_endpoint_slice_responses.go
- delete_discovery_v1beta1_namespaced_endpoint_slice.go
- delete_discovery_v1beta1_namespaced_endpoint_slice_parameters.go
- delete_discovery_v1beta1_namespaced_endpoint_slice_responses.go
- get_discovery_v1beta1_api_resources.go
- get_discovery_v1beta1_api_resources_parameters.go
- get_discovery_v1beta1_api_resources_responses.go
- list_discovery_v1beta1_endpoint_slice_for_all_namespaces.go
- list_discovery_v1beta1_endpoint_slice_for_all_namespaces_parameters.go
- list_discovery_v1beta1_endpoint_slice_for_all_namespaces_responses.go
- list_discovery_v1beta1_namespaced_endpoint_slice.go
- list_discovery_v1beta1_namespaced_endpoint_slice_parameters.go
- list_discovery_v1beta1_namespaced_endpoint_slice_responses.go
- patch_discovery_v1beta1_namespaced_endpoint_slice.go
- patch_discovery_v1beta1_namespaced_endpoint_slice_parameters.go
- patch_discovery_v1beta1_namespaced_endpoint_slice_responses.go
- read_discovery_v1beta1_namespaced_endpoint_slice.go
- read_discovery_v1beta1_namespaced_endpoint_slice_parameters.go
- read_discovery_v1beta1_namespaced_endpoint_slice_responses.go
- replace_discovery_v1beta1_namespaced_endpoint_slice.go
- replace_discovery_v1beta1_namespaced_endpoint_slice_parameters.go
- replace_discovery_v1beta1_namespaced_endpoint_slice_responses.go
- watch_discovery_v1beta1_endpoint_slice_list_for_all_namespaces.go
- watch_discovery_v1beta1_endpoint_slice_list_for_all_namespaces_parameters.go
- watch_discovery_v1beta1_endpoint_slice_list_for_all_namespaces_responses.go
- watch_discovery_v1beta1_namespaced_endpoint_slice.go
- watch_discovery_v1beta1_namespaced_endpoint_slice_list.go
- watch_discovery_v1beta1_namespaced_endpoint_slice_list_parameters.go
- watch_discovery_v1beta1_namespaced_endpoint_slice_list_responses.go
- watch_discovery_v1beta1_namespaced_endpoint_slice_parameters.go
- watch_discovery_v1beta1_namespaced_endpoint_slice_responses.go