Documentation ¶
Index ¶
- Constants
- type CreateSettingsV1alpha1NamespacedPodPreset
- type CreateSettingsV1alpha1NamespacedPodPresetAccepted
- func (o *CreateSettingsV1alpha1NamespacedPodPresetAccepted) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
- func (o *CreateSettingsV1alpha1NamespacedPodPresetAccepted) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *CreateSettingsV1alpha1NamespacedPodPresetAccepted
- func (o *CreateSettingsV1alpha1NamespacedPodPresetAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateSettingsV1alpha1NamespacedPodPresetCreated
- func (o *CreateSettingsV1alpha1NamespacedPodPresetCreated) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
- func (o *CreateSettingsV1alpha1NamespacedPodPresetCreated) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *CreateSettingsV1alpha1NamespacedPodPresetCreated
- func (o *CreateSettingsV1alpha1NamespacedPodPresetCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateSettingsV1alpha1NamespacedPodPresetHandler
- type CreateSettingsV1alpha1NamespacedPodPresetHandlerFunc
- type CreateSettingsV1alpha1NamespacedPodPresetOK
- func (o *CreateSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
- func (o *CreateSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *CreateSettingsV1alpha1NamespacedPodPresetOK
- func (o *CreateSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateSettingsV1alpha1NamespacedPodPresetParams
- type CreateSettingsV1alpha1NamespacedPodPresetUnauthorized
- type DeleteSettingsV1alpha1CollectionNamespacedPodPreset
- type DeleteSettingsV1alpha1CollectionNamespacedPodPresetHandler
- type DeleteSettingsV1alpha1CollectionNamespacedPodPresetHandlerFunc
- type DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK
- func (o *DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK
- func (o *DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteSettingsV1alpha1CollectionNamespacedPodPresetParams
- type DeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized
- type DeleteSettingsV1alpha1NamespacedPodPreset
- type DeleteSettingsV1alpha1NamespacedPodPresetAccepted
- func (o *DeleteSettingsV1alpha1NamespacedPodPresetAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteSettingsV1alpha1NamespacedPodPresetAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSettingsV1alpha1NamespacedPodPresetAccepted
- func (o *DeleteSettingsV1alpha1NamespacedPodPresetAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteSettingsV1alpha1NamespacedPodPresetHandler
- type DeleteSettingsV1alpha1NamespacedPodPresetHandlerFunc
- type DeleteSettingsV1alpha1NamespacedPodPresetOK
- func (o *DeleteSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
- func (o *DeleteSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSettingsV1alpha1NamespacedPodPresetOK
- func (o *DeleteSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteSettingsV1alpha1NamespacedPodPresetParams
- type DeleteSettingsV1alpha1NamespacedPodPresetUnauthorized
- type GetSettingsV1alpha1APIResources
- type GetSettingsV1alpha1APIResourcesHandler
- type GetSettingsV1alpha1APIResourcesHandlerFunc
- type GetSettingsV1alpha1APIResourcesOK
- func (o *GetSettingsV1alpha1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
- func (o *GetSettingsV1alpha1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetSettingsV1alpha1APIResourcesOK
- func (o *GetSettingsV1alpha1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSettingsV1alpha1APIResourcesParams
- type GetSettingsV1alpha1APIResourcesUnauthorized
- type ListSettingsV1alpha1NamespacedPodPreset
- type ListSettingsV1alpha1NamespacedPodPresetHandler
- type ListSettingsV1alpha1NamespacedPodPresetHandlerFunc
- type ListSettingsV1alpha1NamespacedPodPresetOK
- func (o *ListSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPresetList)
- func (o *ListSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPresetList) *ListSettingsV1alpha1NamespacedPodPresetOK
- func (o *ListSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListSettingsV1alpha1NamespacedPodPresetParams
- type ListSettingsV1alpha1NamespacedPodPresetUnauthorized
- type ListSettingsV1alpha1PodPresetForAllNamespaces
- type ListSettingsV1alpha1PodPresetForAllNamespacesHandler
- type ListSettingsV1alpha1PodPresetForAllNamespacesHandlerFunc
- type ListSettingsV1alpha1PodPresetForAllNamespacesOK
- func (o *ListSettingsV1alpha1PodPresetForAllNamespacesOK) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPresetList)
- func (o *ListSettingsV1alpha1PodPresetForAllNamespacesOK) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPresetList) *ListSettingsV1alpha1PodPresetForAllNamespacesOK
- func (o *ListSettingsV1alpha1PodPresetForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListSettingsV1alpha1PodPresetForAllNamespacesParams
- type ListSettingsV1alpha1PodPresetForAllNamespacesUnauthorized
- type PatchSettingsV1alpha1NamespacedPodPreset
- type PatchSettingsV1alpha1NamespacedPodPresetHandler
- type PatchSettingsV1alpha1NamespacedPodPresetHandlerFunc
- type PatchSettingsV1alpha1NamespacedPodPresetOK
- func (o *PatchSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
- func (o *PatchSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *PatchSettingsV1alpha1NamespacedPodPresetOK
- func (o *PatchSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchSettingsV1alpha1NamespacedPodPresetParams
- type PatchSettingsV1alpha1NamespacedPodPresetUnauthorized
- type ReadSettingsV1alpha1NamespacedPodPreset
- type ReadSettingsV1alpha1NamespacedPodPresetHandler
- type ReadSettingsV1alpha1NamespacedPodPresetHandlerFunc
- type ReadSettingsV1alpha1NamespacedPodPresetOK
- func (o *ReadSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
- func (o *ReadSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *ReadSettingsV1alpha1NamespacedPodPresetOK
- func (o *ReadSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReadSettingsV1alpha1NamespacedPodPresetParams
- type ReadSettingsV1alpha1NamespacedPodPresetUnauthorized
- type ReplaceSettingsV1alpha1NamespacedPodPreset
- type ReplaceSettingsV1alpha1NamespacedPodPresetCreated
- func (o *ReplaceSettingsV1alpha1NamespacedPodPresetCreated) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
- func (o *ReplaceSettingsV1alpha1NamespacedPodPresetCreated) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *ReplaceSettingsV1alpha1NamespacedPodPresetCreated
- func (o *ReplaceSettingsV1alpha1NamespacedPodPresetCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceSettingsV1alpha1NamespacedPodPresetHandler
- type ReplaceSettingsV1alpha1NamespacedPodPresetHandlerFunc
- type ReplaceSettingsV1alpha1NamespacedPodPresetOK
- func (o *ReplaceSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
- func (o *ReplaceSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *ReplaceSettingsV1alpha1NamespacedPodPresetOK
- func (o *ReplaceSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceSettingsV1alpha1NamespacedPodPresetParams
- type ReplaceSettingsV1alpha1NamespacedPodPresetUnauthorized
- type WatchSettingsV1alpha1NamespacedPodPreset
- type WatchSettingsV1alpha1NamespacedPodPresetHandler
- type WatchSettingsV1alpha1NamespacedPodPresetHandlerFunc
- type WatchSettingsV1alpha1NamespacedPodPresetList
- type WatchSettingsV1alpha1NamespacedPodPresetListHandler
- type WatchSettingsV1alpha1NamespacedPodPresetListHandlerFunc
- type WatchSettingsV1alpha1NamespacedPodPresetListOK
- func (o *WatchSettingsV1alpha1NamespacedPodPresetListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchSettingsV1alpha1NamespacedPodPresetListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSettingsV1alpha1NamespacedPodPresetListOK
- func (o *WatchSettingsV1alpha1NamespacedPodPresetListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchSettingsV1alpha1NamespacedPodPresetListParams
- type WatchSettingsV1alpha1NamespacedPodPresetListUnauthorized
- type WatchSettingsV1alpha1NamespacedPodPresetOK
- func (o *WatchSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSettingsV1alpha1NamespacedPodPresetOK
- func (o *WatchSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchSettingsV1alpha1NamespacedPodPresetParams
- type WatchSettingsV1alpha1NamespacedPodPresetUnauthorized
- type WatchSettingsV1alpha1PodPresetListForAllNamespaces
- type WatchSettingsV1alpha1PodPresetListForAllNamespacesHandler
- type WatchSettingsV1alpha1PodPresetListForAllNamespacesHandlerFunc
- type WatchSettingsV1alpha1PodPresetListForAllNamespacesOK
- func (o *WatchSettingsV1alpha1PodPresetListForAllNamespacesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
- func (o *WatchSettingsV1alpha1PodPresetListForAllNamespacesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSettingsV1alpha1PodPresetListForAllNamespacesOK
- func (o *WatchSettingsV1alpha1PodPresetListForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WatchSettingsV1alpha1PodPresetListForAllNamespacesParams
- type WatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized
Constants ¶
const CreateSettingsV1alpha1NamespacedPodPresetAcceptedCode int = 202
CreateSettingsV1alpha1NamespacedPodPresetAcceptedCode is the HTTP code returned for type CreateSettingsV1alpha1NamespacedPodPresetAccepted
const CreateSettingsV1alpha1NamespacedPodPresetCreatedCode int = 201
CreateSettingsV1alpha1NamespacedPodPresetCreatedCode is the HTTP code returned for type CreateSettingsV1alpha1NamespacedPodPresetCreated
const CreateSettingsV1alpha1NamespacedPodPresetOKCode int = 200
CreateSettingsV1alpha1NamespacedPodPresetOKCode is the HTTP code returned for type CreateSettingsV1alpha1NamespacedPodPresetOK
CreateSettingsV1alpha1NamespacedPodPresetUnauthorizedCode is the HTTP code returned for type CreateSettingsV1alpha1NamespacedPodPresetUnauthorized
const DeleteSettingsV1alpha1CollectionNamespacedPodPresetOKCode int = 200
DeleteSettingsV1alpha1CollectionNamespacedPodPresetOKCode is the HTTP code returned for type DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK
DeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorizedCode is the HTTP code returned for type DeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized
const DeleteSettingsV1alpha1NamespacedPodPresetAcceptedCode int = 202
DeleteSettingsV1alpha1NamespacedPodPresetAcceptedCode is the HTTP code returned for type DeleteSettingsV1alpha1NamespacedPodPresetAccepted
const DeleteSettingsV1alpha1NamespacedPodPresetOKCode int = 200
DeleteSettingsV1alpha1NamespacedPodPresetOKCode is the HTTP code returned for type DeleteSettingsV1alpha1NamespacedPodPresetOK
DeleteSettingsV1alpha1NamespacedPodPresetUnauthorizedCode is the HTTP code returned for type DeleteSettingsV1alpha1NamespacedPodPresetUnauthorized
const GetSettingsV1alpha1APIResourcesOKCode int = 200
GetSettingsV1alpha1APIResourcesOKCode is the HTTP code returned for type GetSettingsV1alpha1APIResourcesOK
GetSettingsV1alpha1APIResourcesUnauthorizedCode is the HTTP code returned for type GetSettingsV1alpha1APIResourcesUnauthorized
const ListSettingsV1alpha1NamespacedPodPresetOKCode int = 200
ListSettingsV1alpha1NamespacedPodPresetOKCode is the HTTP code returned for type ListSettingsV1alpha1NamespacedPodPresetOK
ListSettingsV1alpha1NamespacedPodPresetUnauthorizedCode is the HTTP code returned for type ListSettingsV1alpha1NamespacedPodPresetUnauthorized
const ListSettingsV1alpha1PodPresetForAllNamespacesOKCode int = 200
ListSettingsV1alpha1PodPresetForAllNamespacesOKCode is the HTTP code returned for type ListSettingsV1alpha1PodPresetForAllNamespacesOK
ListSettingsV1alpha1PodPresetForAllNamespacesUnauthorizedCode is the HTTP code returned for type ListSettingsV1alpha1PodPresetForAllNamespacesUnauthorized
const PatchSettingsV1alpha1NamespacedPodPresetOKCode int = 200
PatchSettingsV1alpha1NamespacedPodPresetOKCode is the HTTP code returned for type PatchSettingsV1alpha1NamespacedPodPresetOK
PatchSettingsV1alpha1NamespacedPodPresetUnauthorizedCode is the HTTP code returned for type PatchSettingsV1alpha1NamespacedPodPresetUnauthorized
const ReadSettingsV1alpha1NamespacedPodPresetOKCode int = 200
ReadSettingsV1alpha1NamespacedPodPresetOKCode is the HTTP code returned for type ReadSettingsV1alpha1NamespacedPodPresetOK
ReadSettingsV1alpha1NamespacedPodPresetUnauthorizedCode is the HTTP code returned for type ReadSettingsV1alpha1NamespacedPodPresetUnauthorized
const ReplaceSettingsV1alpha1NamespacedPodPresetCreatedCode int = 201
ReplaceSettingsV1alpha1NamespacedPodPresetCreatedCode is the HTTP code returned for type ReplaceSettingsV1alpha1NamespacedPodPresetCreated
const ReplaceSettingsV1alpha1NamespacedPodPresetOKCode int = 200
ReplaceSettingsV1alpha1NamespacedPodPresetOKCode is the HTTP code returned for type ReplaceSettingsV1alpha1NamespacedPodPresetOK
ReplaceSettingsV1alpha1NamespacedPodPresetUnauthorizedCode is the HTTP code returned for type ReplaceSettingsV1alpha1NamespacedPodPresetUnauthorized
const WatchSettingsV1alpha1NamespacedPodPresetListOKCode int = 200
WatchSettingsV1alpha1NamespacedPodPresetListOKCode is the HTTP code returned for type WatchSettingsV1alpha1NamespacedPodPresetListOK
WatchSettingsV1alpha1NamespacedPodPresetListUnauthorizedCode is the HTTP code returned for type WatchSettingsV1alpha1NamespacedPodPresetListUnauthorized
const WatchSettingsV1alpha1NamespacedPodPresetOKCode int = 200
WatchSettingsV1alpha1NamespacedPodPresetOKCode is the HTTP code returned for type WatchSettingsV1alpha1NamespacedPodPresetOK
WatchSettingsV1alpha1NamespacedPodPresetUnauthorizedCode is the HTTP code returned for type WatchSettingsV1alpha1NamespacedPodPresetUnauthorized
const WatchSettingsV1alpha1PodPresetListForAllNamespacesOKCode int = 200
WatchSettingsV1alpha1PodPresetListForAllNamespacesOKCode is the HTTP code returned for type WatchSettingsV1alpha1PodPresetListForAllNamespacesOK
WatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorizedCode is the HTTP code returned for type WatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSettingsV1alpha1NamespacedPodPreset ¶
type CreateSettingsV1alpha1NamespacedPodPreset struct { Context *middleware.Context Handler CreateSettingsV1alpha1NamespacedPodPresetHandler }
CreateSettingsV1alpha1NamespacedPodPreset swagger:route POST /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets settings_v1alpha1 createSettingsV1alpha1NamespacedPodPreset
create a PodPreset
func NewCreateSettingsV1alpha1NamespacedPodPreset ¶
func NewCreateSettingsV1alpha1NamespacedPodPreset(ctx *middleware.Context, handler CreateSettingsV1alpha1NamespacedPodPresetHandler) *CreateSettingsV1alpha1NamespacedPodPreset
NewCreateSettingsV1alpha1NamespacedPodPreset creates a new http.Handler for the create settings v1alpha1 namespaced pod preset operation
func (*CreateSettingsV1alpha1NamespacedPodPreset) ServeHTTP ¶
func (o *CreateSettingsV1alpha1NamespacedPodPreset) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateSettingsV1alpha1NamespacedPodPresetAccepted ¶
type CreateSettingsV1alpha1NamespacedPodPresetAccepted struct { /* In: Body */ Payload *models.IoK8sAPISettingsV1alpha1PodPreset `json:"body,omitempty"` }
CreateSettingsV1alpha1NamespacedPodPresetAccepted Accepted
swagger:response createSettingsV1alpha1NamespacedPodPresetAccepted
func NewCreateSettingsV1alpha1NamespacedPodPresetAccepted ¶
func NewCreateSettingsV1alpha1NamespacedPodPresetAccepted() *CreateSettingsV1alpha1NamespacedPodPresetAccepted
NewCreateSettingsV1alpha1NamespacedPodPresetAccepted creates CreateSettingsV1alpha1NamespacedPodPresetAccepted with default headers values
func (*CreateSettingsV1alpha1NamespacedPodPresetAccepted) SetPayload ¶
func (o *CreateSettingsV1alpha1NamespacedPodPresetAccepted) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
SetPayload sets the payload to the create settings v1alpha1 namespaced pod preset accepted response
func (*CreateSettingsV1alpha1NamespacedPodPresetAccepted) WithPayload ¶
func (o *CreateSettingsV1alpha1NamespacedPodPresetAccepted) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *CreateSettingsV1alpha1NamespacedPodPresetAccepted
WithPayload adds the payload to the create settings v1alpha1 namespaced pod preset accepted response
func (*CreateSettingsV1alpha1NamespacedPodPresetAccepted) WriteResponse ¶
func (o *CreateSettingsV1alpha1NamespacedPodPresetAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSettingsV1alpha1NamespacedPodPresetCreated ¶
type CreateSettingsV1alpha1NamespacedPodPresetCreated struct { /* In: Body */ Payload *models.IoK8sAPISettingsV1alpha1PodPreset `json:"body,omitempty"` }
CreateSettingsV1alpha1NamespacedPodPresetCreated Created
swagger:response createSettingsV1alpha1NamespacedPodPresetCreated
func NewCreateSettingsV1alpha1NamespacedPodPresetCreated ¶
func NewCreateSettingsV1alpha1NamespacedPodPresetCreated() *CreateSettingsV1alpha1NamespacedPodPresetCreated
NewCreateSettingsV1alpha1NamespacedPodPresetCreated creates CreateSettingsV1alpha1NamespacedPodPresetCreated with default headers values
func (*CreateSettingsV1alpha1NamespacedPodPresetCreated) SetPayload ¶
func (o *CreateSettingsV1alpha1NamespacedPodPresetCreated) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
SetPayload sets the payload to the create settings v1alpha1 namespaced pod preset created response
func (*CreateSettingsV1alpha1NamespacedPodPresetCreated) WithPayload ¶
func (o *CreateSettingsV1alpha1NamespacedPodPresetCreated) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *CreateSettingsV1alpha1NamespacedPodPresetCreated
WithPayload adds the payload to the create settings v1alpha1 namespaced pod preset created response
func (*CreateSettingsV1alpha1NamespacedPodPresetCreated) WriteResponse ¶
func (o *CreateSettingsV1alpha1NamespacedPodPresetCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSettingsV1alpha1NamespacedPodPresetHandler ¶
type CreateSettingsV1alpha1NamespacedPodPresetHandler interface {
Handle(CreateSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
}
CreateSettingsV1alpha1NamespacedPodPresetHandler interface for that can handle valid create settings v1alpha1 namespaced pod preset params
type CreateSettingsV1alpha1NamespacedPodPresetHandlerFunc ¶
type CreateSettingsV1alpha1NamespacedPodPresetHandlerFunc func(CreateSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
CreateSettingsV1alpha1NamespacedPodPresetHandlerFunc turns a function with the right signature into a create settings v1alpha1 namespaced pod preset handler
func (CreateSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle ¶
func (fn CreateSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle(params CreateSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
Handle executing the request and returning a response
type CreateSettingsV1alpha1NamespacedPodPresetOK ¶
type CreateSettingsV1alpha1NamespacedPodPresetOK struct { /* In: Body */ Payload *models.IoK8sAPISettingsV1alpha1PodPreset `json:"body,omitempty"` }
CreateSettingsV1alpha1NamespacedPodPresetOK OK
swagger:response createSettingsV1alpha1NamespacedPodPresetOK
func NewCreateSettingsV1alpha1NamespacedPodPresetOK ¶
func NewCreateSettingsV1alpha1NamespacedPodPresetOK() *CreateSettingsV1alpha1NamespacedPodPresetOK
NewCreateSettingsV1alpha1NamespacedPodPresetOK creates CreateSettingsV1alpha1NamespacedPodPresetOK with default headers values
func (*CreateSettingsV1alpha1NamespacedPodPresetOK) SetPayload ¶
func (o *CreateSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
SetPayload sets the payload to the create settings v1alpha1 namespaced pod preset o k response
func (*CreateSettingsV1alpha1NamespacedPodPresetOK) WithPayload ¶
func (o *CreateSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *CreateSettingsV1alpha1NamespacedPodPresetOK
WithPayload adds the payload to the create settings v1alpha1 namespaced pod preset o k response
func (*CreateSettingsV1alpha1NamespacedPodPresetOK) WriteResponse ¶
func (o *CreateSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSettingsV1alpha1NamespacedPodPresetParams ¶
type CreateSettingsV1alpha1NamespacedPodPresetParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sAPISettingsV1alpha1PodPreset /*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 }
CreateSettingsV1alpha1NamespacedPodPresetParams contains all the bound params for the create settings v1alpha1 namespaced pod preset operation typically these are obtained from a http.Request
swagger:parameters createSettingsV1alpha1NamespacedPodPreset
func NewCreateSettingsV1alpha1NamespacedPodPresetParams ¶
func NewCreateSettingsV1alpha1NamespacedPodPresetParams() CreateSettingsV1alpha1NamespacedPodPresetParams
NewCreateSettingsV1alpha1NamespacedPodPresetParams creates a new CreateSettingsV1alpha1NamespacedPodPresetParams object no default values defined in spec.
func (*CreateSettingsV1alpha1NamespacedPodPresetParams) BindRequest ¶
func (o *CreateSettingsV1alpha1NamespacedPodPresetParams) 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 NewCreateSettingsV1alpha1NamespacedPodPresetParams() beforehand.
type CreateSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
type CreateSettingsV1alpha1NamespacedPodPresetUnauthorized struct { }
CreateSettingsV1alpha1NamespacedPodPresetUnauthorized Unauthorized
swagger:response createSettingsV1alpha1NamespacedPodPresetUnauthorized
func NewCreateSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
func NewCreateSettingsV1alpha1NamespacedPodPresetUnauthorized() *CreateSettingsV1alpha1NamespacedPodPresetUnauthorized
NewCreateSettingsV1alpha1NamespacedPodPresetUnauthorized creates CreateSettingsV1alpha1NamespacedPodPresetUnauthorized with default headers values
func (*CreateSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse ¶
func (o *CreateSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSettingsV1alpha1CollectionNamespacedPodPreset ¶
type DeleteSettingsV1alpha1CollectionNamespacedPodPreset struct { Context *middleware.Context Handler DeleteSettingsV1alpha1CollectionNamespacedPodPresetHandler }
DeleteSettingsV1alpha1CollectionNamespacedPodPreset swagger:route DELETE /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets settings_v1alpha1 deleteSettingsV1alpha1CollectionNamespacedPodPreset
delete collection of PodPreset
func NewDeleteSettingsV1alpha1CollectionNamespacedPodPreset ¶
func NewDeleteSettingsV1alpha1CollectionNamespacedPodPreset(ctx *middleware.Context, handler DeleteSettingsV1alpha1CollectionNamespacedPodPresetHandler) *DeleteSettingsV1alpha1CollectionNamespacedPodPreset
NewDeleteSettingsV1alpha1CollectionNamespacedPodPreset creates a new http.Handler for the delete settings v1alpha1 collection namespaced pod preset operation
func (*DeleteSettingsV1alpha1CollectionNamespacedPodPreset) ServeHTTP ¶
func (o *DeleteSettingsV1alpha1CollectionNamespacedPodPreset) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteSettingsV1alpha1CollectionNamespacedPodPresetHandler ¶
type DeleteSettingsV1alpha1CollectionNamespacedPodPresetHandler interface {
Handle(DeleteSettingsV1alpha1CollectionNamespacedPodPresetParams) middleware.Responder
}
DeleteSettingsV1alpha1CollectionNamespacedPodPresetHandler interface for that can handle valid delete settings v1alpha1 collection namespaced pod preset params
type DeleteSettingsV1alpha1CollectionNamespacedPodPresetHandlerFunc ¶
type DeleteSettingsV1alpha1CollectionNamespacedPodPresetHandlerFunc func(DeleteSettingsV1alpha1CollectionNamespacedPodPresetParams) middleware.Responder
DeleteSettingsV1alpha1CollectionNamespacedPodPresetHandlerFunc turns a function with the right signature into a delete settings v1alpha1 collection namespaced pod preset handler
func (DeleteSettingsV1alpha1CollectionNamespacedPodPresetHandlerFunc) Handle ¶
func (fn DeleteSettingsV1alpha1CollectionNamespacedPodPresetHandlerFunc) Handle(params DeleteSettingsV1alpha1CollectionNamespacedPodPresetParams) middleware.Responder
Handle executing the request and returning a response
type DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK ¶
type DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK OK
swagger:response deleteSettingsV1alpha1CollectionNamespacedPodPresetOK
func NewDeleteSettingsV1alpha1CollectionNamespacedPodPresetOK ¶
func NewDeleteSettingsV1alpha1CollectionNamespacedPodPresetOK() *DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK
NewDeleteSettingsV1alpha1CollectionNamespacedPodPresetOK creates DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK with default headers values
func (*DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK) SetPayload ¶
func (o *DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete settings v1alpha1 collection namespaced pod preset o k response
func (*DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK) WithPayload ¶
func (o *DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK
WithPayload adds the payload to the delete settings v1alpha1 collection namespaced pod preset o k response
func (*DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK) WriteResponse ¶
func (o *DeleteSettingsV1alpha1CollectionNamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSettingsV1alpha1CollectionNamespacedPodPresetParams ¶
type DeleteSettingsV1alpha1CollectionNamespacedPodPresetParams 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 }
DeleteSettingsV1alpha1CollectionNamespacedPodPresetParams contains all the bound params for the delete settings v1alpha1 collection namespaced pod preset operation typically these are obtained from a http.Request
swagger:parameters deleteSettingsV1alpha1CollectionNamespacedPodPreset
func NewDeleteSettingsV1alpha1CollectionNamespacedPodPresetParams ¶
func NewDeleteSettingsV1alpha1CollectionNamespacedPodPresetParams() DeleteSettingsV1alpha1CollectionNamespacedPodPresetParams
NewDeleteSettingsV1alpha1CollectionNamespacedPodPresetParams creates a new DeleteSettingsV1alpha1CollectionNamespacedPodPresetParams object no default values defined in spec.
func (*DeleteSettingsV1alpha1CollectionNamespacedPodPresetParams) BindRequest ¶
func (o *DeleteSettingsV1alpha1CollectionNamespacedPodPresetParams) 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 NewDeleteSettingsV1alpha1CollectionNamespacedPodPresetParams() beforehand.
type DeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized ¶
type DeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized struct { }
DeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized Unauthorized
swagger:response deleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized
func NewDeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized ¶
func NewDeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized() *DeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized
NewDeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized creates DeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized with default headers values
func (*DeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized) WriteResponse ¶
func (o *DeleteSettingsV1alpha1CollectionNamespacedPodPresetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSettingsV1alpha1NamespacedPodPreset ¶
type DeleteSettingsV1alpha1NamespacedPodPreset struct { Context *middleware.Context Handler DeleteSettingsV1alpha1NamespacedPodPresetHandler }
DeleteSettingsV1alpha1NamespacedPodPreset swagger:route DELETE /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} settings_v1alpha1 deleteSettingsV1alpha1NamespacedPodPreset
delete a PodPreset
func NewDeleteSettingsV1alpha1NamespacedPodPreset ¶
func NewDeleteSettingsV1alpha1NamespacedPodPreset(ctx *middleware.Context, handler DeleteSettingsV1alpha1NamespacedPodPresetHandler) *DeleteSettingsV1alpha1NamespacedPodPreset
NewDeleteSettingsV1alpha1NamespacedPodPreset creates a new http.Handler for the delete settings v1alpha1 namespaced pod preset operation
func (*DeleteSettingsV1alpha1NamespacedPodPreset) ServeHTTP ¶
func (o *DeleteSettingsV1alpha1NamespacedPodPreset) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteSettingsV1alpha1NamespacedPodPresetAccepted ¶
type DeleteSettingsV1alpha1NamespacedPodPresetAccepted struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteSettingsV1alpha1NamespacedPodPresetAccepted Accepted
swagger:response deleteSettingsV1alpha1NamespacedPodPresetAccepted
func NewDeleteSettingsV1alpha1NamespacedPodPresetAccepted ¶
func NewDeleteSettingsV1alpha1NamespacedPodPresetAccepted() *DeleteSettingsV1alpha1NamespacedPodPresetAccepted
NewDeleteSettingsV1alpha1NamespacedPodPresetAccepted creates DeleteSettingsV1alpha1NamespacedPodPresetAccepted with default headers values
func (*DeleteSettingsV1alpha1NamespacedPodPresetAccepted) SetPayload ¶
func (o *DeleteSettingsV1alpha1NamespacedPodPresetAccepted) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete settings v1alpha1 namespaced pod preset accepted response
func (*DeleteSettingsV1alpha1NamespacedPodPresetAccepted) WithPayload ¶
func (o *DeleteSettingsV1alpha1NamespacedPodPresetAccepted) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSettingsV1alpha1NamespacedPodPresetAccepted
WithPayload adds the payload to the delete settings v1alpha1 namespaced pod preset accepted response
func (*DeleteSettingsV1alpha1NamespacedPodPresetAccepted) WriteResponse ¶
func (o *DeleteSettingsV1alpha1NamespacedPodPresetAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSettingsV1alpha1NamespacedPodPresetHandler ¶
type DeleteSettingsV1alpha1NamespacedPodPresetHandler interface {
Handle(DeleteSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
}
DeleteSettingsV1alpha1NamespacedPodPresetHandler interface for that can handle valid delete settings v1alpha1 namespaced pod preset params
type DeleteSettingsV1alpha1NamespacedPodPresetHandlerFunc ¶
type DeleteSettingsV1alpha1NamespacedPodPresetHandlerFunc func(DeleteSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
DeleteSettingsV1alpha1NamespacedPodPresetHandlerFunc turns a function with the right signature into a delete settings v1alpha1 namespaced pod preset handler
func (DeleteSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle ¶
func (fn DeleteSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle(params DeleteSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
Handle executing the request and returning a response
type DeleteSettingsV1alpha1NamespacedPodPresetOK ¶
type DeleteSettingsV1alpha1NamespacedPodPresetOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1Status `json:"body,omitempty"` }
DeleteSettingsV1alpha1NamespacedPodPresetOK OK
swagger:response deleteSettingsV1alpha1NamespacedPodPresetOK
func NewDeleteSettingsV1alpha1NamespacedPodPresetOK ¶
func NewDeleteSettingsV1alpha1NamespacedPodPresetOK() *DeleteSettingsV1alpha1NamespacedPodPresetOK
NewDeleteSettingsV1alpha1NamespacedPodPresetOK creates DeleteSettingsV1alpha1NamespacedPodPresetOK with default headers values
func (*DeleteSettingsV1alpha1NamespacedPodPresetOK) SetPayload ¶
func (o *DeleteSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status)
SetPayload sets the payload to the delete settings v1alpha1 namespaced pod preset o k response
func (*DeleteSettingsV1alpha1NamespacedPodPresetOK) WithPayload ¶
func (o *DeleteSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) *DeleteSettingsV1alpha1NamespacedPodPresetOK
WithPayload adds the payload to the delete settings v1alpha1 namespaced pod preset o k response
func (*DeleteSettingsV1alpha1NamespacedPodPresetOK) WriteResponse ¶
func (o *DeleteSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSettingsV1alpha1NamespacedPodPresetParams ¶
type DeleteSettingsV1alpha1NamespacedPodPresetParams 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 PodPreset 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 }
DeleteSettingsV1alpha1NamespacedPodPresetParams contains all the bound params for the delete settings v1alpha1 namespaced pod preset operation typically these are obtained from a http.Request
swagger:parameters deleteSettingsV1alpha1NamespacedPodPreset
func NewDeleteSettingsV1alpha1NamespacedPodPresetParams ¶
func NewDeleteSettingsV1alpha1NamespacedPodPresetParams() DeleteSettingsV1alpha1NamespacedPodPresetParams
NewDeleteSettingsV1alpha1NamespacedPodPresetParams creates a new DeleteSettingsV1alpha1NamespacedPodPresetParams object no default values defined in spec.
func (*DeleteSettingsV1alpha1NamespacedPodPresetParams) BindRequest ¶
func (o *DeleteSettingsV1alpha1NamespacedPodPresetParams) 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 NewDeleteSettingsV1alpha1NamespacedPodPresetParams() beforehand.
type DeleteSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
type DeleteSettingsV1alpha1NamespacedPodPresetUnauthorized struct { }
DeleteSettingsV1alpha1NamespacedPodPresetUnauthorized Unauthorized
swagger:response deleteSettingsV1alpha1NamespacedPodPresetUnauthorized
func NewDeleteSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
func NewDeleteSettingsV1alpha1NamespacedPodPresetUnauthorized() *DeleteSettingsV1alpha1NamespacedPodPresetUnauthorized
NewDeleteSettingsV1alpha1NamespacedPodPresetUnauthorized creates DeleteSettingsV1alpha1NamespacedPodPresetUnauthorized with default headers values
func (*DeleteSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse ¶
func (o *DeleteSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSettingsV1alpha1APIResources ¶
type GetSettingsV1alpha1APIResources struct { Context *middleware.Context Handler GetSettingsV1alpha1APIResourcesHandler }
GetSettingsV1alpha1APIResources swagger:route GET /apis/settings.k8s.io/v1alpha1/ settings_v1alpha1 getSettingsV1alpha1ApiResources
get available resources
func NewGetSettingsV1alpha1APIResources ¶
func NewGetSettingsV1alpha1APIResources(ctx *middleware.Context, handler GetSettingsV1alpha1APIResourcesHandler) *GetSettingsV1alpha1APIResources
NewGetSettingsV1alpha1APIResources creates a new http.Handler for the get settings v1alpha1 API resources operation
func (*GetSettingsV1alpha1APIResources) ServeHTTP ¶
func (o *GetSettingsV1alpha1APIResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetSettingsV1alpha1APIResourcesHandler ¶
type GetSettingsV1alpha1APIResourcesHandler interface {
Handle(GetSettingsV1alpha1APIResourcesParams) middleware.Responder
}
GetSettingsV1alpha1APIResourcesHandler interface for that can handle valid get settings v1alpha1 API resources params
type GetSettingsV1alpha1APIResourcesHandlerFunc ¶
type GetSettingsV1alpha1APIResourcesHandlerFunc func(GetSettingsV1alpha1APIResourcesParams) middleware.Responder
GetSettingsV1alpha1APIResourcesHandlerFunc turns a function with the right signature into a get settings v1alpha1 API resources handler
func (GetSettingsV1alpha1APIResourcesHandlerFunc) Handle ¶
func (fn GetSettingsV1alpha1APIResourcesHandlerFunc) Handle(params GetSettingsV1alpha1APIResourcesParams) middleware.Responder
Handle executing the request and returning a response
type GetSettingsV1alpha1APIResourcesOK ¶
type GetSettingsV1alpha1APIResourcesOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList `json:"body,omitempty"` }
GetSettingsV1alpha1APIResourcesOK OK
swagger:response getSettingsV1alpha1ApiResourcesOK
func NewGetSettingsV1alpha1APIResourcesOK ¶
func NewGetSettingsV1alpha1APIResourcesOK() *GetSettingsV1alpha1APIResourcesOK
NewGetSettingsV1alpha1APIResourcesOK creates GetSettingsV1alpha1APIResourcesOK with default headers values
func (*GetSettingsV1alpha1APIResourcesOK) SetPayload ¶
func (o *GetSettingsV1alpha1APIResourcesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList)
SetPayload sets the payload to the get settings v1alpha1 Api resources o k response
func (*GetSettingsV1alpha1APIResourcesOK) WithPayload ¶
func (o *GetSettingsV1alpha1APIResourcesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList) *GetSettingsV1alpha1APIResourcesOK
WithPayload adds the payload to the get settings v1alpha1 Api resources o k response
func (*GetSettingsV1alpha1APIResourcesOK) WriteResponse ¶
func (o *GetSettingsV1alpha1APIResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSettingsV1alpha1APIResourcesParams ¶
type GetSettingsV1alpha1APIResourcesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetSettingsV1alpha1APIResourcesParams contains all the bound params for the get settings v1alpha1 API resources operation typically these are obtained from a http.Request
swagger:parameters getSettingsV1alpha1APIResources
func NewGetSettingsV1alpha1APIResourcesParams ¶
func NewGetSettingsV1alpha1APIResourcesParams() GetSettingsV1alpha1APIResourcesParams
NewGetSettingsV1alpha1APIResourcesParams creates a new GetSettingsV1alpha1APIResourcesParams object no default values defined in spec.
func (*GetSettingsV1alpha1APIResourcesParams) BindRequest ¶
func (o *GetSettingsV1alpha1APIResourcesParams) 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 NewGetSettingsV1alpha1APIResourcesParams() beforehand.
type GetSettingsV1alpha1APIResourcesUnauthorized ¶
type GetSettingsV1alpha1APIResourcesUnauthorized struct { }
GetSettingsV1alpha1APIResourcesUnauthorized Unauthorized
swagger:response getSettingsV1alpha1ApiResourcesUnauthorized
func NewGetSettingsV1alpha1APIResourcesUnauthorized ¶
func NewGetSettingsV1alpha1APIResourcesUnauthorized() *GetSettingsV1alpha1APIResourcesUnauthorized
NewGetSettingsV1alpha1APIResourcesUnauthorized creates GetSettingsV1alpha1APIResourcesUnauthorized with default headers values
func (*GetSettingsV1alpha1APIResourcesUnauthorized) WriteResponse ¶
func (o *GetSettingsV1alpha1APIResourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListSettingsV1alpha1NamespacedPodPreset ¶
type ListSettingsV1alpha1NamespacedPodPreset struct { Context *middleware.Context Handler ListSettingsV1alpha1NamespacedPodPresetHandler }
ListSettingsV1alpha1NamespacedPodPreset swagger:route GET /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets settings_v1alpha1 listSettingsV1alpha1NamespacedPodPreset
list or watch objects of kind PodPreset
func NewListSettingsV1alpha1NamespacedPodPreset ¶
func NewListSettingsV1alpha1NamespacedPodPreset(ctx *middleware.Context, handler ListSettingsV1alpha1NamespacedPodPresetHandler) *ListSettingsV1alpha1NamespacedPodPreset
NewListSettingsV1alpha1NamespacedPodPreset creates a new http.Handler for the list settings v1alpha1 namespaced pod preset operation
func (*ListSettingsV1alpha1NamespacedPodPreset) ServeHTTP ¶
func (o *ListSettingsV1alpha1NamespacedPodPreset) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListSettingsV1alpha1NamespacedPodPresetHandler ¶
type ListSettingsV1alpha1NamespacedPodPresetHandler interface {
Handle(ListSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
}
ListSettingsV1alpha1NamespacedPodPresetHandler interface for that can handle valid list settings v1alpha1 namespaced pod preset params
type ListSettingsV1alpha1NamespacedPodPresetHandlerFunc ¶
type ListSettingsV1alpha1NamespacedPodPresetHandlerFunc func(ListSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
ListSettingsV1alpha1NamespacedPodPresetHandlerFunc turns a function with the right signature into a list settings v1alpha1 namespaced pod preset handler
func (ListSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle ¶
func (fn ListSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle(params ListSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
Handle executing the request and returning a response
type ListSettingsV1alpha1NamespacedPodPresetOK ¶
type ListSettingsV1alpha1NamespacedPodPresetOK struct { /* In: Body */ Payload *models.IoK8sAPISettingsV1alpha1PodPresetList `json:"body,omitempty"` }
ListSettingsV1alpha1NamespacedPodPresetOK OK
swagger:response listSettingsV1alpha1NamespacedPodPresetOK
func NewListSettingsV1alpha1NamespacedPodPresetOK ¶
func NewListSettingsV1alpha1NamespacedPodPresetOK() *ListSettingsV1alpha1NamespacedPodPresetOK
NewListSettingsV1alpha1NamespacedPodPresetOK creates ListSettingsV1alpha1NamespacedPodPresetOK with default headers values
func (*ListSettingsV1alpha1NamespacedPodPresetOK) SetPayload ¶
func (o *ListSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPresetList)
SetPayload sets the payload to the list settings v1alpha1 namespaced pod preset o k response
func (*ListSettingsV1alpha1NamespacedPodPresetOK) WithPayload ¶
func (o *ListSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPresetList) *ListSettingsV1alpha1NamespacedPodPresetOK
WithPayload adds the payload to the list settings v1alpha1 namespaced pod preset o k response
func (*ListSettingsV1alpha1NamespacedPodPresetOK) WriteResponse ¶
func (o *ListSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListSettingsV1alpha1NamespacedPodPresetParams ¶
type ListSettingsV1alpha1NamespacedPodPresetParams 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 }
ListSettingsV1alpha1NamespacedPodPresetParams contains all the bound params for the list settings v1alpha1 namespaced pod preset operation typically these are obtained from a http.Request
swagger:parameters listSettingsV1alpha1NamespacedPodPreset
func NewListSettingsV1alpha1NamespacedPodPresetParams ¶
func NewListSettingsV1alpha1NamespacedPodPresetParams() ListSettingsV1alpha1NamespacedPodPresetParams
NewListSettingsV1alpha1NamespacedPodPresetParams creates a new ListSettingsV1alpha1NamespacedPodPresetParams object no default values defined in spec.
func (*ListSettingsV1alpha1NamespacedPodPresetParams) BindRequest ¶
func (o *ListSettingsV1alpha1NamespacedPodPresetParams) 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 NewListSettingsV1alpha1NamespacedPodPresetParams() beforehand.
type ListSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
type ListSettingsV1alpha1NamespacedPodPresetUnauthorized struct { }
ListSettingsV1alpha1NamespacedPodPresetUnauthorized Unauthorized
swagger:response listSettingsV1alpha1NamespacedPodPresetUnauthorized
func NewListSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
func NewListSettingsV1alpha1NamespacedPodPresetUnauthorized() *ListSettingsV1alpha1NamespacedPodPresetUnauthorized
NewListSettingsV1alpha1NamespacedPodPresetUnauthorized creates ListSettingsV1alpha1NamespacedPodPresetUnauthorized with default headers values
func (*ListSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse ¶
func (o *ListSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListSettingsV1alpha1PodPresetForAllNamespaces ¶
type ListSettingsV1alpha1PodPresetForAllNamespaces struct { Context *middleware.Context Handler ListSettingsV1alpha1PodPresetForAllNamespacesHandler }
ListSettingsV1alpha1PodPresetForAllNamespaces swagger:route GET /apis/settings.k8s.io/v1alpha1/podpresets settings_v1alpha1 listSettingsV1alpha1PodPresetForAllNamespaces
list or watch objects of kind PodPreset
func NewListSettingsV1alpha1PodPresetForAllNamespaces ¶
func NewListSettingsV1alpha1PodPresetForAllNamespaces(ctx *middleware.Context, handler ListSettingsV1alpha1PodPresetForAllNamespacesHandler) *ListSettingsV1alpha1PodPresetForAllNamespaces
NewListSettingsV1alpha1PodPresetForAllNamespaces creates a new http.Handler for the list settings v1alpha1 pod preset for all namespaces operation
func (*ListSettingsV1alpha1PodPresetForAllNamespaces) ServeHTTP ¶
func (o *ListSettingsV1alpha1PodPresetForAllNamespaces) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListSettingsV1alpha1PodPresetForAllNamespacesHandler ¶
type ListSettingsV1alpha1PodPresetForAllNamespacesHandler interface {
Handle(ListSettingsV1alpha1PodPresetForAllNamespacesParams) middleware.Responder
}
ListSettingsV1alpha1PodPresetForAllNamespacesHandler interface for that can handle valid list settings v1alpha1 pod preset for all namespaces params
type ListSettingsV1alpha1PodPresetForAllNamespacesHandlerFunc ¶
type ListSettingsV1alpha1PodPresetForAllNamespacesHandlerFunc func(ListSettingsV1alpha1PodPresetForAllNamespacesParams) middleware.Responder
ListSettingsV1alpha1PodPresetForAllNamespacesHandlerFunc turns a function with the right signature into a list settings v1alpha1 pod preset for all namespaces handler
func (ListSettingsV1alpha1PodPresetForAllNamespacesHandlerFunc) Handle ¶
func (fn ListSettingsV1alpha1PodPresetForAllNamespacesHandlerFunc) Handle(params ListSettingsV1alpha1PodPresetForAllNamespacesParams) middleware.Responder
Handle executing the request and returning a response
type ListSettingsV1alpha1PodPresetForAllNamespacesOK ¶
type ListSettingsV1alpha1PodPresetForAllNamespacesOK struct { /* In: Body */ Payload *models.IoK8sAPISettingsV1alpha1PodPresetList `json:"body,omitempty"` }
ListSettingsV1alpha1PodPresetForAllNamespacesOK OK
swagger:response listSettingsV1alpha1PodPresetForAllNamespacesOK
func NewListSettingsV1alpha1PodPresetForAllNamespacesOK ¶
func NewListSettingsV1alpha1PodPresetForAllNamespacesOK() *ListSettingsV1alpha1PodPresetForAllNamespacesOK
NewListSettingsV1alpha1PodPresetForAllNamespacesOK creates ListSettingsV1alpha1PodPresetForAllNamespacesOK with default headers values
func (*ListSettingsV1alpha1PodPresetForAllNamespacesOK) SetPayload ¶
func (o *ListSettingsV1alpha1PodPresetForAllNamespacesOK) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPresetList)
SetPayload sets the payload to the list settings v1alpha1 pod preset for all namespaces o k response
func (*ListSettingsV1alpha1PodPresetForAllNamespacesOK) WithPayload ¶
func (o *ListSettingsV1alpha1PodPresetForAllNamespacesOK) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPresetList) *ListSettingsV1alpha1PodPresetForAllNamespacesOK
WithPayload adds the payload to the list settings v1alpha1 pod preset for all namespaces o k response
func (*ListSettingsV1alpha1PodPresetForAllNamespacesOK) WriteResponse ¶
func (o *ListSettingsV1alpha1PodPresetForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListSettingsV1alpha1PodPresetForAllNamespacesParams ¶
type ListSettingsV1alpha1PodPresetForAllNamespacesParams 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 }
ListSettingsV1alpha1PodPresetForAllNamespacesParams contains all the bound params for the list settings v1alpha1 pod preset for all namespaces operation typically these are obtained from a http.Request
swagger:parameters listSettingsV1alpha1PodPresetForAllNamespaces
func NewListSettingsV1alpha1PodPresetForAllNamespacesParams ¶
func NewListSettingsV1alpha1PodPresetForAllNamespacesParams() ListSettingsV1alpha1PodPresetForAllNamespacesParams
NewListSettingsV1alpha1PodPresetForAllNamespacesParams creates a new ListSettingsV1alpha1PodPresetForAllNamespacesParams object no default values defined in spec.
func (*ListSettingsV1alpha1PodPresetForAllNamespacesParams) BindRequest ¶
func (o *ListSettingsV1alpha1PodPresetForAllNamespacesParams) 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 NewListSettingsV1alpha1PodPresetForAllNamespacesParams() beforehand.
type ListSettingsV1alpha1PodPresetForAllNamespacesUnauthorized ¶
type ListSettingsV1alpha1PodPresetForAllNamespacesUnauthorized struct { }
ListSettingsV1alpha1PodPresetForAllNamespacesUnauthorized Unauthorized
swagger:response listSettingsV1alpha1PodPresetForAllNamespacesUnauthorized
func NewListSettingsV1alpha1PodPresetForAllNamespacesUnauthorized ¶
func NewListSettingsV1alpha1PodPresetForAllNamespacesUnauthorized() *ListSettingsV1alpha1PodPresetForAllNamespacesUnauthorized
NewListSettingsV1alpha1PodPresetForAllNamespacesUnauthorized creates ListSettingsV1alpha1PodPresetForAllNamespacesUnauthorized with default headers values
func (*ListSettingsV1alpha1PodPresetForAllNamespacesUnauthorized) WriteResponse ¶
func (o *ListSettingsV1alpha1PodPresetForAllNamespacesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchSettingsV1alpha1NamespacedPodPreset ¶
type PatchSettingsV1alpha1NamespacedPodPreset struct { Context *middleware.Context Handler PatchSettingsV1alpha1NamespacedPodPresetHandler }
PatchSettingsV1alpha1NamespacedPodPreset swagger:route PATCH /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} settings_v1alpha1 patchSettingsV1alpha1NamespacedPodPreset
partially update the specified PodPreset
func NewPatchSettingsV1alpha1NamespacedPodPreset ¶
func NewPatchSettingsV1alpha1NamespacedPodPreset(ctx *middleware.Context, handler PatchSettingsV1alpha1NamespacedPodPresetHandler) *PatchSettingsV1alpha1NamespacedPodPreset
NewPatchSettingsV1alpha1NamespacedPodPreset creates a new http.Handler for the patch settings v1alpha1 namespaced pod preset operation
func (*PatchSettingsV1alpha1NamespacedPodPreset) ServeHTTP ¶
func (o *PatchSettingsV1alpha1NamespacedPodPreset) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchSettingsV1alpha1NamespacedPodPresetHandler ¶
type PatchSettingsV1alpha1NamespacedPodPresetHandler interface {
Handle(PatchSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
}
PatchSettingsV1alpha1NamespacedPodPresetHandler interface for that can handle valid patch settings v1alpha1 namespaced pod preset params
type PatchSettingsV1alpha1NamespacedPodPresetHandlerFunc ¶
type PatchSettingsV1alpha1NamespacedPodPresetHandlerFunc func(PatchSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
PatchSettingsV1alpha1NamespacedPodPresetHandlerFunc turns a function with the right signature into a patch settings v1alpha1 namespaced pod preset handler
func (PatchSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle ¶
func (fn PatchSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle(params PatchSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
Handle executing the request and returning a response
type PatchSettingsV1alpha1NamespacedPodPresetOK ¶
type PatchSettingsV1alpha1NamespacedPodPresetOK struct { /* In: Body */ Payload *models.IoK8sAPISettingsV1alpha1PodPreset `json:"body,omitempty"` }
PatchSettingsV1alpha1NamespacedPodPresetOK OK
swagger:response patchSettingsV1alpha1NamespacedPodPresetOK
func NewPatchSettingsV1alpha1NamespacedPodPresetOK ¶
func NewPatchSettingsV1alpha1NamespacedPodPresetOK() *PatchSettingsV1alpha1NamespacedPodPresetOK
NewPatchSettingsV1alpha1NamespacedPodPresetOK creates PatchSettingsV1alpha1NamespacedPodPresetOK with default headers values
func (*PatchSettingsV1alpha1NamespacedPodPresetOK) SetPayload ¶
func (o *PatchSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
SetPayload sets the payload to the patch settings v1alpha1 namespaced pod preset o k response
func (*PatchSettingsV1alpha1NamespacedPodPresetOK) WithPayload ¶
func (o *PatchSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *PatchSettingsV1alpha1NamespacedPodPresetOK
WithPayload adds the payload to the patch settings v1alpha1 namespaced pod preset o k response
func (*PatchSettingsV1alpha1NamespacedPodPresetOK) WriteResponse ¶
func (o *PatchSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchSettingsV1alpha1NamespacedPodPresetParams ¶
type PatchSettingsV1alpha1NamespacedPodPresetParams 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 PodPreset 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 }
PatchSettingsV1alpha1NamespacedPodPresetParams contains all the bound params for the patch settings v1alpha1 namespaced pod preset operation typically these are obtained from a http.Request
swagger:parameters patchSettingsV1alpha1NamespacedPodPreset
func NewPatchSettingsV1alpha1NamespacedPodPresetParams ¶
func NewPatchSettingsV1alpha1NamespacedPodPresetParams() PatchSettingsV1alpha1NamespacedPodPresetParams
NewPatchSettingsV1alpha1NamespacedPodPresetParams creates a new PatchSettingsV1alpha1NamespacedPodPresetParams object no default values defined in spec.
func (*PatchSettingsV1alpha1NamespacedPodPresetParams) BindRequest ¶
func (o *PatchSettingsV1alpha1NamespacedPodPresetParams) 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 NewPatchSettingsV1alpha1NamespacedPodPresetParams() beforehand.
type PatchSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
type PatchSettingsV1alpha1NamespacedPodPresetUnauthorized struct { }
PatchSettingsV1alpha1NamespacedPodPresetUnauthorized Unauthorized
swagger:response patchSettingsV1alpha1NamespacedPodPresetUnauthorized
func NewPatchSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
func NewPatchSettingsV1alpha1NamespacedPodPresetUnauthorized() *PatchSettingsV1alpha1NamespacedPodPresetUnauthorized
NewPatchSettingsV1alpha1NamespacedPodPresetUnauthorized creates PatchSettingsV1alpha1NamespacedPodPresetUnauthorized with default headers values
func (*PatchSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse ¶
func (o *PatchSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadSettingsV1alpha1NamespacedPodPreset ¶
type ReadSettingsV1alpha1NamespacedPodPreset struct { Context *middleware.Context Handler ReadSettingsV1alpha1NamespacedPodPresetHandler }
ReadSettingsV1alpha1NamespacedPodPreset swagger:route GET /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} settings_v1alpha1 readSettingsV1alpha1NamespacedPodPreset
read the specified PodPreset
func NewReadSettingsV1alpha1NamespacedPodPreset ¶
func NewReadSettingsV1alpha1NamespacedPodPreset(ctx *middleware.Context, handler ReadSettingsV1alpha1NamespacedPodPresetHandler) *ReadSettingsV1alpha1NamespacedPodPreset
NewReadSettingsV1alpha1NamespacedPodPreset creates a new http.Handler for the read settings v1alpha1 namespaced pod preset operation
func (*ReadSettingsV1alpha1NamespacedPodPreset) ServeHTTP ¶
func (o *ReadSettingsV1alpha1NamespacedPodPreset) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReadSettingsV1alpha1NamespacedPodPresetHandler ¶
type ReadSettingsV1alpha1NamespacedPodPresetHandler interface {
Handle(ReadSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
}
ReadSettingsV1alpha1NamespacedPodPresetHandler interface for that can handle valid read settings v1alpha1 namespaced pod preset params
type ReadSettingsV1alpha1NamespacedPodPresetHandlerFunc ¶
type ReadSettingsV1alpha1NamespacedPodPresetHandlerFunc func(ReadSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
ReadSettingsV1alpha1NamespacedPodPresetHandlerFunc turns a function with the right signature into a read settings v1alpha1 namespaced pod preset handler
func (ReadSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle ¶
func (fn ReadSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle(params ReadSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
Handle executing the request and returning a response
type ReadSettingsV1alpha1NamespacedPodPresetOK ¶
type ReadSettingsV1alpha1NamespacedPodPresetOK struct { /* In: Body */ Payload *models.IoK8sAPISettingsV1alpha1PodPreset `json:"body,omitempty"` }
ReadSettingsV1alpha1NamespacedPodPresetOK OK
swagger:response readSettingsV1alpha1NamespacedPodPresetOK
func NewReadSettingsV1alpha1NamespacedPodPresetOK ¶
func NewReadSettingsV1alpha1NamespacedPodPresetOK() *ReadSettingsV1alpha1NamespacedPodPresetOK
NewReadSettingsV1alpha1NamespacedPodPresetOK creates ReadSettingsV1alpha1NamespacedPodPresetOK with default headers values
func (*ReadSettingsV1alpha1NamespacedPodPresetOK) SetPayload ¶
func (o *ReadSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
SetPayload sets the payload to the read settings v1alpha1 namespaced pod preset o k response
func (*ReadSettingsV1alpha1NamespacedPodPresetOK) WithPayload ¶
func (o *ReadSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *ReadSettingsV1alpha1NamespacedPodPresetOK
WithPayload adds the payload to the read settings v1alpha1 namespaced pod preset o k response
func (*ReadSettingsV1alpha1NamespacedPodPresetOK) WriteResponse ¶
func (o *ReadSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReadSettingsV1alpha1NamespacedPodPresetParams ¶
type ReadSettingsV1alpha1NamespacedPodPresetParams 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 PodPreset 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 }
ReadSettingsV1alpha1NamespacedPodPresetParams contains all the bound params for the read settings v1alpha1 namespaced pod preset operation typically these are obtained from a http.Request
swagger:parameters readSettingsV1alpha1NamespacedPodPreset
func NewReadSettingsV1alpha1NamespacedPodPresetParams ¶
func NewReadSettingsV1alpha1NamespacedPodPresetParams() ReadSettingsV1alpha1NamespacedPodPresetParams
NewReadSettingsV1alpha1NamespacedPodPresetParams creates a new ReadSettingsV1alpha1NamespacedPodPresetParams object no default values defined in spec.
func (*ReadSettingsV1alpha1NamespacedPodPresetParams) BindRequest ¶
func (o *ReadSettingsV1alpha1NamespacedPodPresetParams) 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 NewReadSettingsV1alpha1NamespacedPodPresetParams() beforehand.
type ReadSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
type ReadSettingsV1alpha1NamespacedPodPresetUnauthorized struct { }
ReadSettingsV1alpha1NamespacedPodPresetUnauthorized Unauthorized
swagger:response readSettingsV1alpha1NamespacedPodPresetUnauthorized
func NewReadSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
func NewReadSettingsV1alpha1NamespacedPodPresetUnauthorized() *ReadSettingsV1alpha1NamespacedPodPresetUnauthorized
NewReadSettingsV1alpha1NamespacedPodPresetUnauthorized creates ReadSettingsV1alpha1NamespacedPodPresetUnauthorized with default headers values
func (*ReadSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse ¶
func (o *ReadSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceSettingsV1alpha1NamespacedPodPreset ¶
type ReplaceSettingsV1alpha1NamespacedPodPreset struct { Context *middleware.Context Handler ReplaceSettingsV1alpha1NamespacedPodPresetHandler }
ReplaceSettingsV1alpha1NamespacedPodPreset swagger:route PUT /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} settings_v1alpha1 replaceSettingsV1alpha1NamespacedPodPreset
replace the specified PodPreset
func NewReplaceSettingsV1alpha1NamespacedPodPreset ¶
func NewReplaceSettingsV1alpha1NamespacedPodPreset(ctx *middleware.Context, handler ReplaceSettingsV1alpha1NamespacedPodPresetHandler) *ReplaceSettingsV1alpha1NamespacedPodPreset
NewReplaceSettingsV1alpha1NamespacedPodPreset creates a new http.Handler for the replace settings v1alpha1 namespaced pod preset operation
func (*ReplaceSettingsV1alpha1NamespacedPodPreset) ServeHTTP ¶
func (o *ReplaceSettingsV1alpha1NamespacedPodPreset) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReplaceSettingsV1alpha1NamespacedPodPresetCreated ¶
type ReplaceSettingsV1alpha1NamespacedPodPresetCreated struct { /* In: Body */ Payload *models.IoK8sAPISettingsV1alpha1PodPreset `json:"body,omitempty"` }
ReplaceSettingsV1alpha1NamespacedPodPresetCreated Created
swagger:response replaceSettingsV1alpha1NamespacedPodPresetCreated
func NewReplaceSettingsV1alpha1NamespacedPodPresetCreated ¶
func NewReplaceSettingsV1alpha1NamespacedPodPresetCreated() *ReplaceSettingsV1alpha1NamespacedPodPresetCreated
NewReplaceSettingsV1alpha1NamespacedPodPresetCreated creates ReplaceSettingsV1alpha1NamespacedPodPresetCreated with default headers values
func (*ReplaceSettingsV1alpha1NamespacedPodPresetCreated) SetPayload ¶
func (o *ReplaceSettingsV1alpha1NamespacedPodPresetCreated) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
SetPayload sets the payload to the replace settings v1alpha1 namespaced pod preset created response
func (*ReplaceSettingsV1alpha1NamespacedPodPresetCreated) WithPayload ¶
func (o *ReplaceSettingsV1alpha1NamespacedPodPresetCreated) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *ReplaceSettingsV1alpha1NamespacedPodPresetCreated
WithPayload adds the payload to the replace settings v1alpha1 namespaced pod preset created response
func (*ReplaceSettingsV1alpha1NamespacedPodPresetCreated) WriteResponse ¶
func (o *ReplaceSettingsV1alpha1NamespacedPodPresetCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceSettingsV1alpha1NamespacedPodPresetHandler ¶
type ReplaceSettingsV1alpha1NamespacedPodPresetHandler interface {
Handle(ReplaceSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
}
ReplaceSettingsV1alpha1NamespacedPodPresetHandler interface for that can handle valid replace settings v1alpha1 namespaced pod preset params
type ReplaceSettingsV1alpha1NamespacedPodPresetHandlerFunc ¶
type ReplaceSettingsV1alpha1NamespacedPodPresetHandlerFunc func(ReplaceSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
ReplaceSettingsV1alpha1NamespacedPodPresetHandlerFunc turns a function with the right signature into a replace settings v1alpha1 namespaced pod preset handler
func (ReplaceSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle ¶
func (fn ReplaceSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle(params ReplaceSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
Handle executing the request and returning a response
type ReplaceSettingsV1alpha1NamespacedPodPresetOK ¶
type ReplaceSettingsV1alpha1NamespacedPodPresetOK struct { /* In: Body */ Payload *models.IoK8sAPISettingsV1alpha1PodPreset `json:"body,omitempty"` }
ReplaceSettingsV1alpha1NamespacedPodPresetOK OK
swagger:response replaceSettingsV1alpha1NamespacedPodPresetOK
func NewReplaceSettingsV1alpha1NamespacedPodPresetOK ¶
func NewReplaceSettingsV1alpha1NamespacedPodPresetOK() *ReplaceSettingsV1alpha1NamespacedPodPresetOK
NewReplaceSettingsV1alpha1NamespacedPodPresetOK creates ReplaceSettingsV1alpha1NamespacedPodPresetOK with default headers values
func (*ReplaceSettingsV1alpha1NamespacedPodPresetOK) SetPayload ¶
func (o *ReplaceSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset)
SetPayload sets the payload to the replace settings v1alpha1 namespaced pod preset o k response
func (*ReplaceSettingsV1alpha1NamespacedPodPresetOK) WithPayload ¶
func (o *ReplaceSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sAPISettingsV1alpha1PodPreset) *ReplaceSettingsV1alpha1NamespacedPodPresetOK
WithPayload adds the payload to the replace settings v1alpha1 namespaced pod preset o k response
func (*ReplaceSettingsV1alpha1NamespacedPodPresetOK) WriteResponse ¶
func (o *ReplaceSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceSettingsV1alpha1NamespacedPodPresetParams ¶
type ReplaceSettingsV1alpha1NamespacedPodPresetParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.IoK8sAPISettingsV1alpha1PodPreset /*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 PodPreset 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 }
ReplaceSettingsV1alpha1NamespacedPodPresetParams contains all the bound params for the replace settings v1alpha1 namespaced pod preset operation typically these are obtained from a http.Request
swagger:parameters replaceSettingsV1alpha1NamespacedPodPreset
func NewReplaceSettingsV1alpha1NamespacedPodPresetParams ¶
func NewReplaceSettingsV1alpha1NamespacedPodPresetParams() ReplaceSettingsV1alpha1NamespacedPodPresetParams
NewReplaceSettingsV1alpha1NamespacedPodPresetParams creates a new ReplaceSettingsV1alpha1NamespacedPodPresetParams object no default values defined in spec.
func (*ReplaceSettingsV1alpha1NamespacedPodPresetParams) BindRequest ¶
func (o *ReplaceSettingsV1alpha1NamespacedPodPresetParams) 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 NewReplaceSettingsV1alpha1NamespacedPodPresetParams() beforehand.
type ReplaceSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
type ReplaceSettingsV1alpha1NamespacedPodPresetUnauthorized struct { }
ReplaceSettingsV1alpha1NamespacedPodPresetUnauthorized Unauthorized
swagger:response replaceSettingsV1alpha1NamespacedPodPresetUnauthorized
func NewReplaceSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
func NewReplaceSettingsV1alpha1NamespacedPodPresetUnauthorized() *ReplaceSettingsV1alpha1NamespacedPodPresetUnauthorized
NewReplaceSettingsV1alpha1NamespacedPodPresetUnauthorized creates ReplaceSettingsV1alpha1NamespacedPodPresetUnauthorized with default headers values
func (*ReplaceSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse ¶
func (o *ReplaceSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSettingsV1alpha1NamespacedPodPreset ¶
type WatchSettingsV1alpha1NamespacedPodPreset struct { Context *middleware.Context Handler WatchSettingsV1alpha1NamespacedPodPresetHandler }
WatchSettingsV1alpha1NamespacedPodPreset swagger:route GET /apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name} settings_v1alpha1 watchSettingsV1alpha1NamespacedPodPreset
watch changes to an object of kind PodPreset. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
func NewWatchSettingsV1alpha1NamespacedPodPreset ¶
func NewWatchSettingsV1alpha1NamespacedPodPreset(ctx *middleware.Context, handler WatchSettingsV1alpha1NamespacedPodPresetHandler) *WatchSettingsV1alpha1NamespacedPodPreset
NewWatchSettingsV1alpha1NamespacedPodPreset creates a new http.Handler for the watch settings v1alpha1 namespaced pod preset operation
func (*WatchSettingsV1alpha1NamespacedPodPreset) ServeHTTP ¶
func (o *WatchSettingsV1alpha1NamespacedPodPreset) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchSettingsV1alpha1NamespacedPodPresetHandler ¶
type WatchSettingsV1alpha1NamespacedPodPresetHandler interface {
Handle(WatchSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
}
WatchSettingsV1alpha1NamespacedPodPresetHandler interface for that can handle valid watch settings v1alpha1 namespaced pod preset params
type WatchSettingsV1alpha1NamespacedPodPresetHandlerFunc ¶
type WatchSettingsV1alpha1NamespacedPodPresetHandlerFunc func(WatchSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
WatchSettingsV1alpha1NamespacedPodPresetHandlerFunc turns a function with the right signature into a watch settings v1alpha1 namespaced pod preset handler
func (WatchSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle ¶
func (fn WatchSettingsV1alpha1NamespacedPodPresetHandlerFunc) Handle(params WatchSettingsV1alpha1NamespacedPodPresetParams) middleware.Responder
Handle executing the request and returning a response
type WatchSettingsV1alpha1NamespacedPodPresetList ¶
type WatchSettingsV1alpha1NamespacedPodPresetList struct { Context *middleware.Context Handler WatchSettingsV1alpha1NamespacedPodPresetListHandler }
WatchSettingsV1alpha1NamespacedPodPresetList swagger:route GET /apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets settings_v1alpha1 watchSettingsV1alpha1NamespacedPodPresetList
watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.
func NewWatchSettingsV1alpha1NamespacedPodPresetList ¶
func NewWatchSettingsV1alpha1NamespacedPodPresetList(ctx *middleware.Context, handler WatchSettingsV1alpha1NamespacedPodPresetListHandler) *WatchSettingsV1alpha1NamespacedPodPresetList
NewWatchSettingsV1alpha1NamespacedPodPresetList creates a new http.Handler for the watch settings v1alpha1 namespaced pod preset list operation
func (*WatchSettingsV1alpha1NamespacedPodPresetList) ServeHTTP ¶
func (o *WatchSettingsV1alpha1NamespacedPodPresetList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchSettingsV1alpha1NamespacedPodPresetListHandler ¶
type WatchSettingsV1alpha1NamespacedPodPresetListHandler interface {
Handle(WatchSettingsV1alpha1NamespacedPodPresetListParams) middleware.Responder
}
WatchSettingsV1alpha1NamespacedPodPresetListHandler interface for that can handle valid watch settings v1alpha1 namespaced pod preset list params
type WatchSettingsV1alpha1NamespacedPodPresetListHandlerFunc ¶
type WatchSettingsV1alpha1NamespacedPodPresetListHandlerFunc func(WatchSettingsV1alpha1NamespacedPodPresetListParams) middleware.Responder
WatchSettingsV1alpha1NamespacedPodPresetListHandlerFunc turns a function with the right signature into a watch settings v1alpha1 namespaced pod preset list handler
func (WatchSettingsV1alpha1NamespacedPodPresetListHandlerFunc) Handle ¶
func (fn WatchSettingsV1alpha1NamespacedPodPresetListHandlerFunc) Handle(params WatchSettingsV1alpha1NamespacedPodPresetListParams) middleware.Responder
Handle executing the request and returning a response
type WatchSettingsV1alpha1NamespacedPodPresetListOK ¶
type WatchSettingsV1alpha1NamespacedPodPresetListOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchSettingsV1alpha1NamespacedPodPresetListOK OK
swagger:response watchSettingsV1alpha1NamespacedPodPresetListOK
func NewWatchSettingsV1alpha1NamespacedPodPresetListOK ¶
func NewWatchSettingsV1alpha1NamespacedPodPresetListOK() *WatchSettingsV1alpha1NamespacedPodPresetListOK
NewWatchSettingsV1alpha1NamespacedPodPresetListOK creates WatchSettingsV1alpha1NamespacedPodPresetListOK with default headers values
func (*WatchSettingsV1alpha1NamespacedPodPresetListOK) SetPayload ¶
func (o *WatchSettingsV1alpha1NamespacedPodPresetListOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch settings v1alpha1 namespaced pod preset list o k response
func (*WatchSettingsV1alpha1NamespacedPodPresetListOK) WithPayload ¶
func (o *WatchSettingsV1alpha1NamespacedPodPresetListOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSettingsV1alpha1NamespacedPodPresetListOK
WithPayload adds the payload to the watch settings v1alpha1 namespaced pod preset list o k response
func (*WatchSettingsV1alpha1NamespacedPodPresetListOK) WriteResponse ¶
func (o *WatchSettingsV1alpha1NamespacedPodPresetListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSettingsV1alpha1NamespacedPodPresetListParams ¶
type WatchSettingsV1alpha1NamespacedPodPresetListParams 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 }
WatchSettingsV1alpha1NamespacedPodPresetListParams contains all the bound params for the watch settings v1alpha1 namespaced pod preset list operation typically these are obtained from a http.Request
swagger:parameters watchSettingsV1alpha1NamespacedPodPresetList
func NewWatchSettingsV1alpha1NamespacedPodPresetListParams ¶
func NewWatchSettingsV1alpha1NamespacedPodPresetListParams() WatchSettingsV1alpha1NamespacedPodPresetListParams
NewWatchSettingsV1alpha1NamespacedPodPresetListParams creates a new WatchSettingsV1alpha1NamespacedPodPresetListParams object no default values defined in spec.
func (*WatchSettingsV1alpha1NamespacedPodPresetListParams) BindRequest ¶
func (o *WatchSettingsV1alpha1NamespacedPodPresetListParams) 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 NewWatchSettingsV1alpha1NamespacedPodPresetListParams() beforehand.
type WatchSettingsV1alpha1NamespacedPodPresetListUnauthorized ¶
type WatchSettingsV1alpha1NamespacedPodPresetListUnauthorized struct { }
WatchSettingsV1alpha1NamespacedPodPresetListUnauthorized Unauthorized
swagger:response watchSettingsV1alpha1NamespacedPodPresetListUnauthorized
func NewWatchSettingsV1alpha1NamespacedPodPresetListUnauthorized ¶
func NewWatchSettingsV1alpha1NamespacedPodPresetListUnauthorized() *WatchSettingsV1alpha1NamespacedPodPresetListUnauthorized
NewWatchSettingsV1alpha1NamespacedPodPresetListUnauthorized creates WatchSettingsV1alpha1NamespacedPodPresetListUnauthorized with default headers values
func (*WatchSettingsV1alpha1NamespacedPodPresetListUnauthorized) WriteResponse ¶
func (o *WatchSettingsV1alpha1NamespacedPodPresetListUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSettingsV1alpha1NamespacedPodPresetOK ¶
type WatchSettingsV1alpha1NamespacedPodPresetOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchSettingsV1alpha1NamespacedPodPresetOK OK
swagger:response watchSettingsV1alpha1NamespacedPodPresetOK
func NewWatchSettingsV1alpha1NamespacedPodPresetOK ¶
func NewWatchSettingsV1alpha1NamespacedPodPresetOK() *WatchSettingsV1alpha1NamespacedPodPresetOK
NewWatchSettingsV1alpha1NamespacedPodPresetOK creates WatchSettingsV1alpha1NamespacedPodPresetOK with default headers values
func (*WatchSettingsV1alpha1NamespacedPodPresetOK) SetPayload ¶
func (o *WatchSettingsV1alpha1NamespacedPodPresetOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch settings v1alpha1 namespaced pod preset o k response
func (*WatchSettingsV1alpha1NamespacedPodPresetOK) WithPayload ¶
func (o *WatchSettingsV1alpha1NamespacedPodPresetOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSettingsV1alpha1NamespacedPodPresetOK
WithPayload adds the payload to the watch settings v1alpha1 namespaced pod preset o k response
func (*WatchSettingsV1alpha1NamespacedPodPresetOK) WriteResponse ¶
func (o *WatchSettingsV1alpha1NamespacedPodPresetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSettingsV1alpha1NamespacedPodPresetParams ¶
type WatchSettingsV1alpha1NamespacedPodPresetParams 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 PodPreset 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 }
WatchSettingsV1alpha1NamespacedPodPresetParams contains all the bound params for the watch settings v1alpha1 namespaced pod preset operation typically these are obtained from a http.Request
swagger:parameters watchSettingsV1alpha1NamespacedPodPreset
func NewWatchSettingsV1alpha1NamespacedPodPresetParams ¶
func NewWatchSettingsV1alpha1NamespacedPodPresetParams() WatchSettingsV1alpha1NamespacedPodPresetParams
NewWatchSettingsV1alpha1NamespacedPodPresetParams creates a new WatchSettingsV1alpha1NamespacedPodPresetParams object no default values defined in spec.
func (*WatchSettingsV1alpha1NamespacedPodPresetParams) BindRequest ¶
func (o *WatchSettingsV1alpha1NamespacedPodPresetParams) 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 NewWatchSettingsV1alpha1NamespacedPodPresetParams() beforehand.
type WatchSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
type WatchSettingsV1alpha1NamespacedPodPresetUnauthorized struct { }
WatchSettingsV1alpha1NamespacedPodPresetUnauthorized Unauthorized
swagger:response watchSettingsV1alpha1NamespacedPodPresetUnauthorized
func NewWatchSettingsV1alpha1NamespacedPodPresetUnauthorized ¶
func NewWatchSettingsV1alpha1NamespacedPodPresetUnauthorized() *WatchSettingsV1alpha1NamespacedPodPresetUnauthorized
NewWatchSettingsV1alpha1NamespacedPodPresetUnauthorized creates WatchSettingsV1alpha1NamespacedPodPresetUnauthorized with default headers values
func (*WatchSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse ¶
func (o *WatchSettingsV1alpha1NamespacedPodPresetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSettingsV1alpha1PodPresetListForAllNamespaces ¶
type WatchSettingsV1alpha1PodPresetListForAllNamespaces struct { Context *middleware.Context Handler WatchSettingsV1alpha1PodPresetListForAllNamespacesHandler }
WatchSettingsV1alpha1PodPresetListForAllNamespaces swagger:route GET /apis/settings.k8s.io/v1alpha1/watch/podpresets settings_v1alpha1 watchSettingsV1alpha1PodPresetListForAllNamespaces
watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.
func NewWatchSettingsV1alpha1PodPresetListForAllNamespaces ¶
func NewWatchSettingsV1alpha1PodPresetListForAllNamespaces(ctx *middleware.Context, handler WatchSettingsV1alpha1PodPresetListForAllNamespacesHandler) *WatchSettingsV1alpha1PodPresetListForAllNamespaces
NewWatchSettingsV1alpha1PodPresetListForAllNamespaces creates a new http.Handler for the watch settings v1alpha1 pod preset list for all namespaces operation
func (*WatchSettingsV1alpha1PodPresetListForAllNamespaces) ServeHTTP ¶
func (o *WatchSettingsV1alpha1PodPresetListForAllNamespaces) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WatchSettingsV1alpha1PodPresetListForAllNamespacesHandler ¶
type WatchSettingsV1alpha1PodPresetListForAllNamespacesHandler interface {
Handle(WatchSettingsV1alpha1PodPresetListForAllNamespacesParams) middleware.Responder
}
WatchSettingsV1alpha1PodPresetListForAllNamespacesHandler interface for that can handle valid watch settings v1alpha1 pod preset list for all namespaces params
type WatchSettingsV1alpha1PodPresetListForAllNamespacesHandlerFunc ¶
type WatchSettingsV1alpha1PodPresetListForAllNamespacesHandlerFunc func(WatchSettingsV1alpha1PodPresetListForAllNamespacesParams) middleware.Responder
WatchSettingsV1alpha1PodPresetListForAllNamespacesHandlerFunc turns a function with the right signature into a watch settings v1alpha1 pod preset list for all namespaces handler
func (WatchSettingsV1alpha1PodPresetListForAllNamespacesHandlerFunc) Handle ¶
func (fn WatchSettingsV1alpha1PodPresetListForAllNamespacesHandlerFunc) Handle(params WatchSettingsV1alpha1PodPresetListForAllNamespacesParams) middleware.Responder
Handle executing the request and returning a response
type WatchSettingsV1alpha1PodPresetListForAllNamespacesOK ¶
type WatchSettingsV1alpha1PodPresetListForAllNamespacesOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent `json:"body,omitempty"` }
WatchSettingsV1alpha1PodPresetListForAllNamespacesOK OK
swagger:response watchSettingsV1alpha1PodPresetListForAllNamespacesOK
func NewWatchSettingsV1alpha1PodPresetListForAllNamespacesOK ¶
func NewWatchSettingsV1alpha1PodPresetListForAllNamespacesOK() *WatchSettingsV1alpha1PodPresetListForAllNamespacesOK
NewWatchSettingsV1alpha1PodPresetListForAllNamespacesOK creates WatchSettingsV1alpha1PodPresetListForAllNamespacesOK with default headers values
func (*WatchSettingsV1alpha1PodPresetListForAllNamespacesOK) SetPayload ¶
func (o *WatchSettingsV1alpha1PodPresetListForAllNamespacesOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent)
SetPayload sets the payload to the watch settings v1alpha1 pod preset list for all namespaces o k response
func (*WatchSettingsV1alpha1PodPresetListForAllNamespacesOK) WithPayload ¶
func (o *WatchSettingsV1alpha1PodPresetListForAllNamespacesOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent) *WatchSettingsV1alpha1PodPresetListForAllNamespacesOK
WithPayload adds the payload to the watch settings v1alpha1 pod preset list for all namespaces o k response
func (*WatchSettingsV1alpha1PodPresetListForAllNamespacesOK) WriteResponse ¶
func (o *WatchSettingsV1alpha1PodPresetListForAllNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WatchSettingsV1alpha1PodPresetListForAllNamespacesParams ¶
type WatchSettingsV1alpha1PodPresetListForAllNamespacesParams 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 }
WatchSettingsV1alpha1PodPresetListForAllNamespacesParams contains all the bound params for the watch settings v1alpha1 pod preset list for all namespaces operation typically these are obtained from a http.Request
swagger:parameters watchSettingsV1alpha1PodPresetListForAllNamespaces
func NewWatchSettingsV1alpha1PodPresetListForAllNamespacesParams ¶
func NewWatchSettingsV1alpha1PodPresetListForAllNamespacesParams() WatchSettingsV1alpha1PodPresetListForAllNamespacesParams
NewWatchSettingsV1alpha1PodPresetListForAllNamespacesParams creates a new WatchSettingsV1alpha1PodPresetListForAllNamespacesParams object no default values defined in spec.
func (*WatchSettingsV1alpha1PodPresetListForAllNamespacesParams) BindRequest ¶
func (o *WatchSettingsV1alpha1PodPresetListForAllNamespacesParams) 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 NewWatchSettingsV1alpha1PodPresetListForAllNamespacesParams() beforehand.
type WatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized ¶
type WatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized struct { }
WatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized Unauthorized
swagger:response watchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized
func NewWatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized ¶
func NewWatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized() *WatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized
NewWatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized creates WatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized with default headers values
func (*WatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized) WriteResponse ¶
func (o *WatchSettingsV1alpha1PodPresetListForAllNamespacesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_settings_v1alpha1_namespaced_pod_preset.go
- create_settings_v1alpha1_namespaced_pod_preset_parameters.go
- create_settings_v1alpha1_namespaced_pod_preset_responses.go
- delete_settings_v1alpha1_collection_namespaced_pod_preset.go
- delete_settings_v1alpha1_collection_namespaced_pod_preset_parameters.go
- delete_settings_v1alpha1_collection_namespaced_pod_preset_responses.go
- delete_settings_v1alpha1_namespaced_pod_preset.go
- delete_settings_v1alpha1_namespaced_pod_preset_parameters.go
- delete_settings_v1alpha1_namespaced_pod_preset_responses.go
- get_settings_v1alpha1_api_resources.go
- get_settings_v1alpha1_api_resources_parameters.go
- get_settings_v1alpha1_api_resources_responses.go
- list_settings_v1alpha1_namespaced_pod_preset.go
- list_settings_v1alpha1_namespaced_pod_preset_parameters.go
- list_settings_v1alpha1_namespaced_pod_preset_responses.go
- list_settings_v1alpha1_pod_preset_for_all_namespaces.go
- list_settings_v1alpha1_pod_preset_for_all_namespaces_parameters.go
- list_settings_v1alpha1_pod_preset_for_all_namespaces_responses.go
- patch_settings_v1alpha1_namespaced_pod_preset.go
- patch_settings_v1alpha1_namespaced_pod_preset_parameters.go
- patch_settings_v1alpha1_namespaced_pod_preset_responses.go
- read_settings_v1alpha1_namespaced_pod_preset.go
- read_settings_v1alpha1_namespaced_pod_preset_parameters.go
- read_settings_v1alpha1_namespaced_pod_preset_responses.go
- replace_settings_v1alpha1_namespaced_pod_preset.go
- replace_settings_v1alpha1_namespaced_pod_preset_parameters.go
- replace_settings_v1alpha1_namespaced_pod_preset_responses.go
- watch_settings_v1alpha1_namespaced_pod_preset.go
- watch_settings_v1alpha1_namespaced_pod_preset_list.go
- watch_settings_v1alpha1_namespaced_pod_preset_list_parameters.go
- watch_settings_v1alpha1_namespaced_pod_preset_list_responses.go
- watch_settings_v1alpha1_namespaced_pod_preset_parameters.go
- watch_settings_v1alpha1_namespaced_pod_preset_responses.go
- watch_settings_v1alpha1_pod_preset_list_for_all_namespaces.go
- watch_settings_v1alpha1_pod_preset_list_for_all_namespaces_parameters.go
- watch_settings_v1alpha1_pod_preset_list_for_all_namespaces_responses.go