Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateSchedulingV1PriorityClass(params *CreateSchedulingV1PriorityClassParams) (*CreateSchedulingV1PriorityClassOK, *CreateSchedulingV1PriorityClassCreated, ...)
- func (a *Client) DeleteSchedulingV1CollectionPriorityClass(params *DeleteSchedulingV1CollectionPriorityClassParams) (*DeleteSchedulingV1CollectionPriorityClassOK, error)
- func (a *Client) DeleteSchedulingV1PriorityClass(params *DeleteSchedulingV1PriorityClassParams) (*DeleteSchedulingV1PriorityClassOK, *DeleteSchedulingV1PriorityClassAccepted, ...)
- func (a *Client) GetSchedulingV1APIResources(params *GetSchedulingV1APIResourcesParams) (*GetSchedulingV1APIResourcesOK, error)
- func (a *Client) ListSchedulingV1PriorityClass(params *ListSchedulingV1PriorityClassParams) (*ListSchedulingV1PriorityClassOK, error)
- func (a *Client) PatchSchedulingV1PriorityClass(params *PatchSchedulingV1PriorityClassParams) (*PatchSchedulingV1PriorityClassOK, error)
- func (a *Client) ReadSchedulingV1PriorityClass(params *ReadSchedulingV1PriorityClassParams) (*ReadSchedulingV1PriorityClassOK, error)
- func (a *Client) ReplaceSchedulingV1PriorityClass(params *ReplaceSchedulingV1PriorityClassParams) (*ReplaceSchedulingV1PriorityClassOK, *ReplaceSchedulingV1PriorityClassCreated, ...)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) WatchSchedulingV1PriorityClass(params *WatchSchedulingV1PriorityClassParams) (*WatchSchedulingV1PriorityClassOK, error)
- func (a *Client) WatchSchedulingV1PriorityClassList(params *WatchSchedulingV1PriorityClassListParams) (*WatchSchedulingV1PriorityClassListOK, error)
- type ClientService
- type CreateSchedulingV1PriorityClassAccepted
- type CreateSchedulingV1PriorityClassCreated
- type CreateSchedulingV1PriorityClassOK
- type CreateSchedulingV1PriorityClassParams
- func NewCreateSchedulingV1PriorityClassParams() *CreateSchedulingV1PriorityClassParams
- func NewCreateSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *CreateSchedulingV1PriorityClassParams
- func NewCreateSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *CreateSchedulingV1PriorityClassParams
- func NewCreateSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *CreateSchedulingV1PriorityClassParams
- func (o *CreateSchedulingV1PriorityClassParams) SetBody(body *models.IoK8sAPISchedulingV1PriorityClass)
- func (o *CreateSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
- func (o *CreateSchedulingV1PriorityClassParams) SetDryRun(dryRun *string)
- func (o *CreateSchedulingV1PriorityClassParams) SetFieldManager(fieldManager *string)
- func (o *CreateSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
- func (o *CreateSchedulingV1PriorityClassParams) SetPretty(pretty *string)
- func (o *CreateSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
- func (o *CreateSchedulingV1PriorityClassParams) WithBody(body *models.IoK8sAPISchedulingV1PriorityClass) *CreateSchedulingV1PriorityClassParams
- func (o *CreateSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *CreateSchedulingV1PriorityClassParams
- func (o *CreateSchedulingV1PriorityClassParams) WithDryRun(dryRun *string) *CreateSchedulingV1PriorityClassParams
- func (o *CreateSchedulingV1PriorityClassParams) WithFieldManager(fieldManager *string) *CreateSchedulingV1PriorityClassParams
- func (o *CreateSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *CreateSchedulingV1PriorityClassParams
- func (o *CreateSchedulingV1PriorityClassParams) WithPretty(pretty *string) *CreateSchedulingV1PriorityClassParams
- func (o *CreateSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *CreateSchedulingV1PriorityClassParams
- func (o *CreateSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSchedulingV1PriorityClassReader
- type CreateSchedulingV1PriorityClassUnauthorized
- type DeleteSchedulingV1CollectionPriorityClassOK
- type DeleteSchedulingV1CollectionPriorityClassParams
- func NewDeleteSchedulingV1CollectionPriorityClassParams() *DeleteSchedulingV1CollectionPriorityClassParams
- func NewDeleteSchedulingV1CollectionPriorityClassParamsWithContext(ctx context.Context) *DeleteSchedulingV1CollectionPriorityClassParams
- func NewDeleteSchedulingV1CollectionPriorityClassParamsWithHTTPClient(client *http.Client) *DeleteSchedulingV1CollectionPriorityClassParams
- func NewDeleteSchedulingV1CollectionPriorityClassParamsWithTimeout(timeout time.Duration) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetBody(body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetContext(ctx context.Context)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetContinue(continueVar *string)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetDryRun(dryRun *string)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetFieldSelector(fieldSelector *string)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetGracePeriodSeconds(gracePeriodSeconds *int64)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetLabelSelector(labelSelector *string)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetLimit(limit *int64)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetOrphanDependents(orphanDependents *bool)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetPretty(pretty *string)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetPropagationPolicy(propagationPolicy *string)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetResourceVersion(resourceVersion *string)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetResourceVersionMatch(resourceVersionMatch *string)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetTimeoutSeconds(timeoutSeconds *int64)
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithBody(body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithContext(ctx context.Context) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithContinue(continueVar *string) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithDryRun(dryRun *string) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithFieldSelector(fieldSelector *string) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithGracePeriodSeconds(gracePeriodSeconds *int64) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithHTTPClient(client *http.Client) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithLabelSelector(labelSelector *string) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithLimit(limit *int64) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithOrphanDependents(orphanDependents *bool) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithPretty(pretty *string) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithPropagationPolicy(propagationPolicy *string) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithResourceVersion(resourceVersion *string) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithResourceVersionMatch(resourceVersionMatch *string) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithTimeout(timeout time.Duration) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithTimeoutSeconds(timeoutSeconds *int64) *DeleteSchedulingV1CollectionPriorityClassParams
- func (o *DeleteSchedulingV1CollectionPriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSchedulingV1CollectionPriorityClassReader
- type DeleteSchedulingV1CollectionPriorityClassUnauthorized
- type DeleteSchedulingV1PriorityClassAccepted
- type DeleteSchedulingV1PriorityClassOK
- type DeleteSchedulingV1PriorityClassParams
- func NewDeleteSchedulingV1PriorityClassParams() *DeleteSchedulingV1PriorityClassParams
- func NewDeleteSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *DeleteSchedulingV1PriorityClassParams
- func NewDeleteSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *DeleteSchedulingV1PriorityClassParams
- func NewDeleteSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *DeleteSchedulingV1PriorityClassParams
- func (o *DeleteSchedulingV1PriorityClassParams) SetBody(body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions)
- func (o *DeleteSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
- func (o *DeleteSchedulingV1PriorityClassParams) SetDryRun(dryRun *string)
- func (o *DeleteSchedulingV1PriorityClassParams) SetGracePeriodSeconds(gracePeriodSeconds *int64)
- func (o *DeleteSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSchedulingV1PriorityClassParams) SetName(name string)
- func (o *DeleteSchedulingV1PriorityClassParams) SetOrphanDependents(orphanDependents *bool)
- func (o *DeleteSchedulingV1PriorityClassParams) SetPretty(pretty *string)
- func (o *DeleteSchedulingV1PriorityClassParams) SetPropagationPolicy(propagationPolicy *string)
- func (o *DeleteSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSchedulingV1PriorityClassParams) WithBody(body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions) *DeleteSchedulingV1PriorityClassParams
- func (o *DeleteSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *DeleteSchedulingV1PriorityClassParams
- func (o *DeleteSchedulingV1PriorityClassParams) WithDryRun(dryRun *string) *DeleteSchedulingV1PriorityClassParams
- func (o *DeleteSchedulingV1PriorityClassParams) WithGracePeriodSeconds(gracePeriodSeconds *int64) *DeleteSchedulingV1PriorityClassParams
- func (o *DeleteSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *DeleteSchedulingV1PriorityClassParams
- func (o *DeleteSchedulingV1PriorityClassParams) WithName(name string) *DeleteSchedulingV1PriorityClassParams
- func (o *DeleteSchedulingV1PriorityClassParams) WithOrphanDependents(orphanDependents *bool) *DeleteSchedulingV1PriorityClassParams
- func (o *DeleteSchedulingV1PriorityClassParams) WithPretty(pretty *string) *DeleteSchedulingV1PriorityClassParams
- func (o *DeleteSchedulingV1PriorityClassParams) WithPropagationPolicy(propagationPolicy *string) *DeleteSchedulingV1PriorityClassParams
- func (o *DeleteSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *DeleteSchedulingV1PriorityClassParams
- func (o *DeleteSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSchedulingV1PriorityClassReader
- type DeleteSchedulingV1PriorityClassUnauthorized
- type GetSchedulingV1APIResourcesOK
- type GetSchedulingV1APIResourcesParams
- func NewGetSchedulingV1APIResourcesParams() *GetSchedulingV1APIResourcesParams
- func NewGetSchedulingV1APIResourcesParamsWithContext(ctx context.Context) *GetSchedulingV1APIResourcesParams
- func NewGetSchedulingV1APIResourcesParamsWithHTTPClient(client *http.Client) *GetSchedulingV1APIResourcesParams
- func NewGetSchedulingV1APIResourcesParamsWithTimeout(timeout time.Duration) *GetSchedulingV1APIResourcesParams
- func (o *GetSchedulingV1APIResourcesParams) SetContext(ctx context.Context)
- func (o *GetSchedulingV1APIResourcesParams) SetHTTPClient(client *http.Client)
- func (o *GetSchedulingV1APIResourcesParams) SetTimeout(timeout time.Duration)
- func (o *GetSchedulingV1APIResourcesParams) WithContext(ctx context.Context) *GetSchedulingV1APIResourcesParams
- func (o *GetSchedulingV1APIResourcesParams) WithHTTPClient(client *http.Client) *GetSchedulingV1APIResourcesParams
- func (o *GetSchedulingV1APIResourcesParams) WithTimeout(timeout time.Duration) *GetSchedulingV1APIResourcesParams
- func (o *GetSchedulingV1APIResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSchedulingV1APIResourcesReader
- type GetSchedulingV1APIResourcesUnauthorized
- type ListSchedulingV1PriorityClassOK
- type ListSchedulingV1PriorityClassParams
- func NewListSchedulingV1PriorityClassParams() *ListSchedulingV1PriorityClassParams
- func NewListSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *ListSchedulingV1PriorityClassParams
- func NewListSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *ListSchedulingV1PriorityClassParams
- func NewListSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) SetAllowWatchBookmarks(allowWatchBookmarks *bool)
- func (o *ListSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
- func (o *ListSchedulingV1PriorityClassParams) SetContinue(continueVar *string)
- func (o *ListSchedulingV1PriorityClassParams) SetFieldSelector(fieldSelector *string)
- func (o *ListSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
- func (o *ListSchedulingV1PriorityClassParams) SetLabelSelector(labelSelector *string)
- func (o *ListSchedulingV1PriorityClassParams) SetLimit(limit *int64)
- func (o *ListSchedulingV1PriorityClassParams) SetPretty(pretty *string)
- func (o *ListSchedulingV1PriorityClassParams) SetResourceVersion(resourceVersion *string)
- func (o *ListSchedulingV1PriorityClassParams) SetResourceVersionMatch(resourceVersionMatch *string)
- func (o *ListSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
- func (o *ListSchedulingV1PriorityClassParams) SetTimeoutSeconds(timeoutSeconds *int64)
- func (o *ListSchedulingV1PriorityClassParams) SetWatch(watch *bool)
- func (o *ListSchedulingV1PriorityClassParams) WithAllowWatchBookmarks(allowWatchBookmarks *bool) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WithContinue(continueVar *string) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WithFieldSelector(fieldSelector *string) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WithLabelSelector(labelSelector *string) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WithLimit(limit *int64) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WithPretty(pretty *string) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WithResourceVersion(resourceVersion *string) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WithResourceVersionMatch(resourceVersionMatch *string) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WithTimeoutSeconds(timeoutSeconds *int64) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WithWatch(watch *bool) *ListSchedulingV1PriorityClassParams
- func (o *ListSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSchedulingV1PriorityClassReader
- type ListSchedulingV1PriorityClassUnauthorized
- type PatchSchedulingV1PriorityClassOK
- type PatchSchedulingV1PriorityClassParams
- func NewPatchSchedulingV1PriorityClassParams() *PatchSchedulingV1PriorityClassParams
- func NewPatchSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *PatchSchedulingV1PriorityClassParams
- func NewPatchSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *PatchSchedulingV1PriorityClassParams
- func NewPatchSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *PatchSchedulingV1PriorityClassParams
- func (o *PatchSchedulingV1PriorityClassParams) SetBody(body models.IoK8sApimachineryPkgApisMetaV1Patch)
- func (o *PatchSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
- func (o *PatchSchedulingV1PriorityClassParams) SetDryRun(dryRun *string)
- func (o *PatchSchedulingV1PriorityClassParams) SetFieldManager(fieldManager *string)
- func (o *PatchSchedulingV1PriorityClassParams) SetForce(force *bool)
- func (o *PatchSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
- func (o *PatchSchedulingV1PriorityClassParams) SetName(name string)
- func (o *PatchSchedulingV1PriorityClassParams) SetPretty(pretty *string)
- func (o *PatchSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
- func (o *PatchSchedulingV1PriorityClassParams) WithBody(body models.IoK8sApimachineryPkgApisMetaV1Patch) *PatchSchedulingV1PriorityClassParams
- func (o *PatchSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *PatchSchedulingV1PriorityClassParams
- func (o *PatchSchedulingV1PriorityClassParams) WithDryRun(dryRun *string) *PatchSchedulingV1PriorityClassParams
- func (o *PatchSchedulingV1PriorityClassParams) WithFieldManager(fieldManager *string) *PatchSchedulingV1PriorityClassParams
- func (o *PatchSchedulingV1PriorityClassParams) WithForce(force *bool) *PatchSchedulingV1PriorityClassParams
- func (o *PatchSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *PatchSchedulingV1PriorityClassParams
- func (o *PatchSchedulingV1PriorityClassParams) WithName(name string) *PatchSchedulingV1PriorityClassParams
- func (o *PatchSchedulingV1PriorityClassParams) WithPretty(pretty *string) *PatchSchedulingV1PriorityClassParams
- func (o *PatchSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *PatchSchedulingV1PriorityClassParams
- func (o *PatchSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchSchedulingV1PriorityClassReader
- type PatchSchedulingV1PriorityClassUnauthorized
- type ReadSchedulingV1PriorityClassOK
- type ReadSchedulingV1PriorityClassParams
- func NewReadSchedulingV1PriorityClassParams() *ReadSchedulingV1PriorityClassParams
- func NewReadSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *ReadSchedulingV1PriorityClassParams
- func NewReadSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *ReadSchedulingV1PriorityClassParams
- func NewReadSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *ReadSchedulingV1PriorityClassParams
- func (o *ReadSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
- func (o *ReadSchedulingV1PriorityClassParams) SetExact(exact *bool)
- func (o *ReadSchedulingV1PriorityClassParams) SetExport(export *bool)
- func (o *ReadSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
- func (o *ReadSchedulingV1PriorityClassParams) SetName(name string)
- func (o *ReadSchedulingV1PriorityClassParams) SetPretty(pretty *string)
- func (o *ReadSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
- func (o *ReadSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *ReadSchedulingV1PriorityClassParams
- func (o *ReadSchedulingV1PriorityClassParams) WithExact(exact *bool) *ReadSchedulingV1PriorityClassParams
- func (o *ReadSchedulingV1PriorityClassParams) WithExport(export *bool) *ReadSchedulingV1PriorityClassParams
- func (o *ReadSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *ReadSchedulingV1PriorityClassParams
- func (o *ReadSchedulingV1PriorityClassParams) WithName(name string) *ReadSchedulingV1PriorityClassParams
- func (o *ReadSchedulingV1PriorityClassParams) WithPretty(pretty *string) *ReadSchedulingV1PriorityClassParams
- func (o *ReadSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *ReadSchedulingV1PriorityClassParams
- func (o *ReadSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadSchedulingV1PriorityClassReader
- type ReadSchedulingV1PriorityClassUnauthorized
- type ReplaceSchedulingV1PriorityClassCreated
- type ReplaceSchedulingV1PriorityClassOK
- type ReplaceSchedulingV1PriorityClassParams
- func NewReplaceSchedulingV1PriorityClassParams() *ReplaceSchedulingV1PriorityClassParams
- func NewReplaceSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *ReplaceSchedulingV1PriorityClassParams
- func NewReplaceSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *ReplaceSchedulingV1PriorityClassParams
- func NewReplaceSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *ReplaceSchedulingV1PriorityClassParams
- func (o *ReplaceSchedulingV1PriorityClassParams) SetBody(body *models.IoK8sAPISchedulingV1PriorityClass)
- func (o *ReplaceSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
- func (o *ReplaceSchedulingV1PriorityClassParams) SetDryRun(dryRun *string)
- func (o *ReplaceSchedulingV1PriorityClassParams) SetFieldManager(fieldManager *string)
- func (o *ReplaceSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceSchedulingV1PriorityClassParams) SetName(name string)
- func (o *ReplaceSchedulingV1PriorityClassParams) SetPretty(pretty *string)
- func (o *ReplaceSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceSchedulingV1PriorityClassParams) WithBody(body *models.IoK8sAPISchedulingV1PriorityClass) *ReplaceSchedulingV1PriorityClassParams
- func (o *ReplaceSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *ReplaceSchedulingV1PriorityClassParams
- func (o *ReplaceSchedulingV1PriorityClassParams) WithDryRun(dryRun *string) *ReplaceSchedulingV1PriorityClassParams
- func (o *ReplaceSchedulingV1PriorityClassParams) WithFieldManager(fieldManager *string) *ReplaceSchedulingV1PriorityClassParams
- func (o *ReplaceSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *ReplaceSchedulingV1PriorityClassParams
- func (o *ReplaceSchedulingV1PriorityClassParams) WithName(name string) *ReplaceSchedulingV1PriorityClassParams
- func (o *ReplaceSchedulingV1PriorityClassParams) WithPretty(pretty *string) *ReplaceSchedulingV1PriorityClassParams
- func (o *ReplaceSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *ReplaceSchedulingV1PriorityClassParams
- func (o *ReplaceSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceSchedulingV1PriorityClassReader
- type ReplaceSchedulingV1PriorityClassUnauthorized
- type WatchSchedulingV1PriorityClassListOK
- type WatchSchedulingV1PriorityClassListParams
- func NewWatchSchedulingV1PriorityClassListParams() *WatchSchedulingV1PriorityClassListParams
- func NewWatchSchedulingV1PriorityClassListParamsWithContext(ctx context.Context) *WatchSchedulingV1PriorityClassListParams
- func NewWatchSchedulingV1PriorityClassListParamsWithHTTPClient(client *http.Client) *WatchSchedulingV1PriorityClassListParams
- func NewWatchSchedulingV1PriorityClassListParamsWithTimeout(timeout time.Duration) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) SetAllowWatchBookmarks(allowWatchBookmarks *bool)
- func (o *WatchSchedulingV1PriorityClassListParams) SetContext(ctx context.Context)
- func (o *WatchSchedulingV1PriorityClassListParams) SetContinue(continueVar *string)
- func (o *WatchSchedulingV1PriorityClassListParams) SetFieldSelector(fieldSelector *string)
- func (o *WatchSchedulingV1PriorityClassListParams) SetHTTPClient(client *http.Client)
- func (o *WatchSchedulingV1PriorityClassListParams) SetLabelSelector(labelSelector *string)
- func (o *WatchSchedulingV1PriorityClassListParams) SetLimit(limit *int64)
- func (o *WatchSchedulingV1PriorityClassListParams) SetPretty(pretty *string)
- func (o *WatchSchedulingV1PriorityClassListParams) SetResourceVersion(resourceVersion *string)
- func (o *WatchSchedulingV1PriorityClassListParams) SetResourceVersionMatch(resourceVersionMatch *string)
- func (o *WatchSchedulingV1PriorityClassListParams) SetTimeout(timeout time.Duration)
- func (o *WatchSchedulingV1PriorityClassListParams) SetTimeoutSeconds(timeoutSeconds *int64)
- func (o *WatchSchedulingV1PriorityClassListParams) SetWatch(watch *bool)
- func (o *WatchSchedulingV1PriorityClassListParams) WithAllowWatchBookmarks(allowWatchBookmarks *bool) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WithContext(ctx context.Context) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WithContinue(continueVar *string) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WithFieldSelector(fieldSelector *string) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WithHTTPClient(client *http.Client) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WithLabelSelector(labelSelector *string) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WithLimit(limit *int64) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WithPretty(pretty *string) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WithResourceVersion(resourceVersion *string) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WithResourceVersionMatch(resourceVersionMatch *string) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WithTimeout(timeout time.Duration) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WithTimeoutSeconds(timeoutSeconds *int64) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WithWatch(watch *bool) *WatchSchedulingV1PriorityClassListParams
- func (o *WatchSchedulingV1PriorityClassListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WatchSchedulingV1PriorityClassListReader
- type WatchSchedulingV1PriorityClassListUnauthorized
- type WatchSchedulingV1PriorityClassOK
- type WatchSchedulingV1PriorityClassParams
- func NewWatchSchedulingV1PriorityClassParams() *WatchSchedulingV1PriorityClassParams
- func NewWatchSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *WatchSchedulingV1PriorityClassParams
- func NewWatchSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *WatchSchedulingV1PriorityClassParams
- func NewWatchSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) SetAllowWatchBookmarks(allowWatchBookmarks *bool)
- func (o *WatchSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
- func (o *WatchSchedulingV1PriorityClassParams) SetContinue(continueVar *string)
- func (o *WatchSchedulingV1PriorityClassParams) SetFieldSelector(fieldSelector *string)
- func (o *WatchSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
- func (o *WatchSchedulingV1PriorityClassParams) SetLabelSelector(labelSelector *string)
- func (o *WatchSchedulingV1PriorityClassParams) SetLimit(limit *int64)
- func (o *WatchSchedulingV1PriorityClassParams) SetName(name string)
- func (o *WatchSchedulingV1PriorityClassParams) SetPretty(pretty *string)
- func (o *WatchSchedulingV1PriorityClassParams) SetResourceVersion(resourceVersion *string)
- func (o *WatchSchedulingV1PriorityClassParams) SetResourceVersionMatch(resourceVersionMatch *string)
- func (o *WatchSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
- func (o *WatchSchedulingV1PriorityClassParams) SetTimeoutSeconds(timeoutSeconds *int64)
- func (o *WatchSchedulingV1PriorityClassParams) SetWatch(watch *bool)
- func (o *WatchSchedulingV1PriorityClassParams) WithAllowWatchBookmarks(allowWatchBookmarks *bool) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithContinue(continueVar *string) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithFieldSelector(fieldSelector *string) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithLabelSelector(labelSelector *string) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithLimit(limit *int64) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithName(name string) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithPretty(pretty *string) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithResourceVersion(resourceVersion *string) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithResourceVersionMatch(resourceVersionMatch *string) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithTimeoutSeconds(timeoutSeconds *int64) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WithWatch(watch *bool) *WatchSchedulingV1PriorityClassParams
- func (o *WatchSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WatchSchedulingV1PriorityClassReader
- type WatchSchedulingV1PriorityClassUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for scheduling v1 API
func (*Client) CreateSchedulingV1PriorityClass ¶
func (a *Client) CreateSchedulingV1PriorityClass(params *CreateSchedulingV1PriorityClassParams) (*CreateSchedulingV1PriorityClassOK, *CreateSchedulingV1PriorityClassCreated, *CreateSchedulingV1PriorityClassAccepted, error)
CreateSchedulingV1PriorityClass create a PriorityClass
func (*Client) DeleteSchedulingV1CollectionPriorityClass ¶
func (a *Client) DeleteSchedulingV1CollectionPriorityClass(params *DeleteSchedulingV1CollectionPriorityClassParams) (*DeleteSchedulingV1CollectionPriorityClassOK, error)
DeleteSchedulingV1CollectionPriorityClass delete collection of PriorityClass
func (*Client) DeleteSchedulingV1PriorityClass ¶
func (a *Client) DeleteSchedulingV1PriorityClass(params *DeleteSchedulingV1PriorityClassParams) (*DeleteSchedulingV1PriorityClassOK, *DeleteSchedulingV1PriorityClassAccepted, error)
DeleteSchedulingV1PriorityClass delete a PriorityClass
func (*Client) GetSchedulingV1APIResources ¶
func (a *Client) GetSchedulingV1APIResources(params *GetSchedulingV1APIResourcesParams) (*GetSchedulingV1APIResourcesOK, error)
GetSchedulingV1APIResources get available resources
func (*Client) ListSchedulingV1PriorityClass ¶
func (a *Client) ListSchedulingV1PriorityClass(params *ListSchedulingV1PriorityClassParams) (*ListSchedulingV1PriorityClassOK, error)
ListSchedulingV1PriorityClass list or watch objects of kind PriorityClass
func (*Client) PatchSchedulingV1PriorityClass ¶
func (a *Client) PatchSchedulingV1PriorityClass(params *PatchSchedulingV1PriorityClassParams) (*PatchSchedulingV1PriorityClassOK, error)
PatchSchedulingV1PriorityClass partially update the specified PriorityClass
func (*Client) ReadSchedulingV1PriorityClass ¶
func (a *Client) ReadSchedulingV1PriorityClass(params *ReadSchedulingV1PriorityClassParams) (*ReadSchedulingV1PriorityClassOK, error)
ReadSchedulingV1PriorityClass read the specified PriorityClass
func (*Client) ReplaceSchedulingV1PriorityClass ¶
func (a *Client) ReplaceSchedulingV1PriorityClass(params *ReplaceSchedulingV1PriorityClassParams) (*ReplaceSchedulingV1PriorityClassOK, *ReplaceSchedulingV1PriorityClassCreated, error)
ReplaceSchedulingV1PriorityClass replace the specified PriorityClass
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) WatchSchedulingV1PriorityClass ¶
func (a *Client) WatchSchedulingV1PriorityClass(params *WatchSchedulingV1PriorityClassParams) (*WatchSchedulingV1PriorityClassOK, error)
WatchSchedulingV1PriorityClass watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
func (*Client) WatchSchedulingV1PriorityClassList ¶
func (a *Client) WatchSchedulingV1PriorityClassList(params *WatchSchedulingV1PriorityClassListParams) (*WatchSchedulingV1PriorityClassListOK, error)
WatchSchedulingV1PriorityClassList watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.
type ClientService ¶
type ClientService interface { CreateSchedulingV1PriorityClass(params *CreateSchedulingV1PriorityClassParams) (*CreateSchedulingV1PriorityClassOK, *CreateSchedulingV1PriorityClassCreated, *CreateSchedulingV1PriorityClassAccepted, error) DeleteSchedulingV1CollectionPriorityClass(params *DeleteSchedulingV1CollectionPriorityClassParams) (*DeleteSchedulingV1CollectionPriorityClassOK, error) DeleteSchedulingV1PriorityClass(params *DeleteSchedulingV1PriorityClassParams) (*DeleteSchedulingV1PriorityClassOK, *DeleteSchedulingV1PriorityClassAccepted, error) GetSchedulingV1APIResources(params *GetSchedulingV1APIResourcesParams) (*GetSchedulingV1APIResourcesOK, error) ListSchedulingV1PriorityClass(params *ListSchedulingV1PriorityClassParams) (*ListSchedulingV1PriorityClassOK, error) PatchSchedulingV1PriorityClass(params *PatchSchedulingV1PriorityClassParams) (*PatchSchedulingV1PriorityClassOK, error) ReadSchedulingV1PriorityClass(params *ReadSchedulingV1PriorityClassParams) (*ReadSchedulingV1PriorityClassOK, error) ReplaceSchedulingV1PriorityClass(params *ReplaceSchedulingV1PriorityClassParams) (*ReplaceSchedulingV1PriorityClassOK, *ReplaceSchedulingV1PriorityClassCreated, error) WatchSchedulingV1PriorityClass(params *WatchSchedulingV1PriorityClassParams) (*WatchSchedulingV1PriorityClassOK, error) WatchSchedulingV1PriorityClassList(params *WatchSchedulingV1PriorityClassListParams) (*WatchSchedulingV1PriorityClassListOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new scheduling v1 API client.
type CreateSchedulingV1PriorityClassAccepted ¶
type CreateSchedulingV1PriorityClassAccepted struct {
Payload *models.IoK8sAPISchedulingV1PriorityClass
}
CreateSchedulingV1PriorityClassAccepted handles this case with default header values.
Accepted
func NewCreateSchedulingV1PriorityClassAccepted ¶
func NewCreateSchedulingV1PriorityClassAccepted() *CreateSchedulingV1PriorityClassAccepted
NewCreateSchedulingV1PriorityClassAccepted creates a CreateSchedulingV1PriorityClassAccepted with default headers values
func (*CreateSchedulingV1PriorityClassAccepted) Error ¶
func (o *CreateSchedulingV1PriorityClassAccepted) Error() string
func (*CreateSchedulingV1PriorityClassAccepted) GetPayload ¶
func (o *CreateSchedulingV1PriorityClassAccepted) GetPayload() *models.IoK8sAPISchedulingV1PriorityClass
type CreateSchedulingV1PriorityClassCreated ¶
type CreateSchedulingV1PriorityClassCreated struct {
Payload *models.IoK8sAPISchedulingV1PriorityClass
}
CreateSchedulingV1PriorityClassCreated handles this case with default header values.
Created
func NewCreateSchedulingV1PriorityClassCreated ¶
func NewCreateSchedulingV1PriorityClassCreated() *CreateSchedulingV1PriorityClassCreated
NewCreateSchedulingV1PriorityClassCreated creates a CreateSchedulingV1PriorityClassCreated with default headers values
func (*CreateSchedulingV1PriorityClassCreated) Error ¶
func (o *CreateSchedulingV1PriorityClassCreated) Error() string
func (*CreateSchedulingV1PriorityClassCreated) GetPayload ¶
func (o *CreateSchedulingV1PriorityClassCreated) GetPayload() *models.IoK8sAPISchedulingV1PriorityClass
type CreateSchedulingV1PriorityClassOK ¶
type CreateSchedulingV1PriorityClassOK struct {
Payload *models.IoK8sAPISchedulingV1PriorityClass
}
CreateSchedulingV1PriorityClassOK handles this case with default header values.
OK
func NewCreateSchedulingV1PriorityClassOK ¶
func NewCreateSchedulingV1PriorityClassOK() *CreateSchedulingV1PriorityClassOK
NewCreateSchedulingV1PriorityClassOK creates a CreateSchedulingV1PriorityClassOK with default headers values
func (*CreateSchedulingV1PriorityClassOK) Error ¶
func (o *CreateSchedulingV1PriorityClassOK) Error() string
func (*CreateSchedulingV1PriorityClassOK) GetPayload ¶
func (o *CreateSchedulingV1PriorityClassOK) GetPayload() *models.IoK8sAPISchedulingV1PriorityClass
type CreateSchedulingV1PriorityClassParams ¶
type CreateSchedulingV1PriorityClassParams struct { /*Body*/ Body *models.IoK8sAPISchedulingV1PriorityClass /*DryRun 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 */ DryRun *string /*FieldManager 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. */ FieldManager *string /*Pretty If 'true', then the output is pretty printed. */ Pretty *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSchedulingV1PriorityClassParams contains all the parameters to send to the API endpoint for the create scheduling v1 priority class operation typically these are written to a http.Request
func NewCreateSchedulingV1PriorityClassParams ¶
func NewCreateSchedulingV1PriorityClassParams() *CreateSchedulingV1PriorityClassParams
NewCreateSchedulingV1PriorityClassParams creates a new CreateSchedulingV1PriorityClassParams object with the default values initialized.
func NewCreateSchedulingV1PriorityClassParamsWithContext ¶
func NewCreateSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *CreateSchedulingV1PriorityClassParams
NewCreateSchedulingV1PriorityClassParamsWithContext creates a new CreateSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a context for a request
func NewCreateSchedulingV1PriorityClassParamsWithHTTPClient ¶
func NewCreateSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *CreateSchedulingV1PriorityClassParams
NewCreateSchedulingV1PriorityClassParamsWithHTTPClient creates a new CreateSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateSchedulingV1PriorityClassParamsWithTimeout ¶
func NewCreateSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *CreateSchedulingV1PriorityClassParams
NewCreateSchedulingV1PriorityClassParamsWithTimeout creates a new CreateSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSchedulingV1PriorityClassParams) SetBody ¶
func (o *CreateSchedulingV1PriorityClassParams) SetBody(body *models.IoK8sAPISchedulingV1PriorityClass)
SetBody adds the body to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) SetContext ¶
func (o *CreateSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
SetContext adds the context to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) SetDryRun ¶
func (o *CreateSchedulingV1PriorityClassParams) SetDryRun(dryRun *string)
SetDryRun adds the dryRun to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) SetFieldManager ¶
func (o *CreateSchedulingV1PriorityClassParams) SetFieldManager(fieldManager *string)
SetFieldManager adds the fieldManager to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) SetHTTPClient ¶
func (o *CreateSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) SetPretty ¶
func (o *CreateSchedulingV1PriorityClassParams) SetPretty(pretty *string)
SetPretty adds the pretty to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) SetTimeout ¶
func (o *CreateSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) WithBody ¶
func (o *CreateSchedulingV1PriorityClassParams) WithBody(body *models.IoK8sAPISchedulingV1PriorityClass) *CreateSchedulingV1PriorityClassParams
WithBody adds the body to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) WithContext ¶
func (o *CreateSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *CreateSchedulingV1PriorityClassParams
WithContext adds the context to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) WithDryRun ¶
func (o *CreateSchedulingV1PriorityClassParams) WithDryRun(dryRun *string) *CreateSchedulingV1PriorityClassParams
WithDryRun adds the dryRun to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) WithFieldManager ¶
func (o *CreateSchedulingV1PriorityClassParams) WithFieldManager(fieldManager *string) *CreateSchedulingV1PriorityClassParams
WithFieldManager adds the fieldManager to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) WithHTTPClient ¶
func (o *CreateSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *CreateSchedulingV1PriorityClassParams
WithHTTPClient adds the HTTPClient to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) WithPretty ¶
func (o *CreateSchedulingV1PriorityClassParams) WithPretty(pretty *string) *CreateSchedulingV1PriorityClassParams
WithPretty adds the pretty to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) WithTimeout ¶
func (o *CreateSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *CreateSchedulingV1PriorityClassParams
WithTimeout adds the timeout to the create scheduling v1 priority class params
func (*CreateSchedulingV1PriorityClassParams) WriteToRequest ¶
func (o *CreateSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSchedulingV1PriorityClassReader ¶
type CreateSchedulingV1PriorityClassReader struct {
// contains filtered or unexported fields
}
CreateSchedulingV1PriorityClassReader is a Reader for the CreateSchedulingV1PriorityClass structure.
func (*CreateSchedulingV1PriorityClassReader) ReadResponse ¶
func (o *CreateSchedulingV1PriorityClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSchedulingV1PriorityClassUnauthorized ¶
type CreateSchedulingV1PriorityClassUnauthorized struct { }
CreateSchedulingV1PriorityClassUnauthorized handles this case with default header values.
Unauthorized
func NewCreateSchedulingV1PriorityClassUnauthorized ¶
func NewCreateSchedulingV1PriorityClassUnauthorized() *CreateSchedulingV1PriorityClassUnauthorized
NewCreateSchedulingV1PriorityClassUnauthorized creates a CreateSchedulingV1PriorityClassUnauthorized with default headers values
func (*CreateSchedulingV1PriorityClassUnauthorized) Error ¶
func (o *CreateSchedulingV1PriorityClassUnauthorized) Error() string
type DeleteSchedulingV1CollectionPriorityClassOK ¶
type DeleteSchedulingV1CollectionPriorityClassOK struct {
Payload *models.IoK8sApimachineryPkgApisMetaV1Status
}
DeleteSchedulingV1CollectionPriorityClassOK handles this case with default header values.
OK
func NewDeleteSchedulingV1CollectionPriorityClassOK ¶
func NewDeleteSchedulingV1CollectionPriorityClassOK() *DeleteSchedulingV1CollectionPriorityClassOK
NewDeleteSchedulingV1CollectionPriorityClassOK creates a DeleteSchedulingV1CollectionPriorityClassOK with default headers values
func (*DeleteSchedulingV1CollectionPriorityClassOK) Error ¶
func (o *DeleteSchedulingV1CollectionPriorityClassOK) Error() string
func (*DeleteSchedulingV1CollectionPriorityClassOK) GetPayload ¶
func (o *DeleteSchedulingV1CollectionPriorityClassOK) GetPayload() *models.IoK8sApimachineryPkgApisMetaV1Status
type DeleteSchedulingV1CollectionPriorityClassParams ¶
type DeleteSchedulingV1CollectionPriorityClassParams struct { /*Body*/ Body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions /*Continue 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. */ Continue *string /*DryRun 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 */ DryRun *string /*FieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. */ FieldSelector *string /*GracePeriodSeconds 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. */ GracePeriodSeconds *int64 /*LabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. */ LabelSelector *string /*Limit 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. */ Limit *int64 /*OrphanDependents 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. */ OrphanDependents *bool /*Pretty If 'true', then the output is pretty printed. */ Pretty *string /*PropagationPolicy 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. */ PropagationPolicy *string /*ResourceVersion 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 */ ResourceVersion *string /*ResourceVersionMatch 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 */ ResourceVersionMatch *string /*TimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. */ TimeoutSeconds *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSchedulingV1CollectionPriorityClassParams contains all the parameters to send to the API endpoint for the delete scheduling v1 collection priority class operation typically these are written to a http.Request
func NewDeleteSchedulingV1CollectionPriorityClassParams ¶
func NewDeleteSchedulingV1CollectionPriorityClassParams() *DeleteSchedulingV1CollectionPriorityClassParams
NewDeleteSchedulingV1CollectionPriorityClassParams creates a new DeleteSchedulingV1CollectionPriorityClassParams object with the default values initialized.
func NewDeleteSchedulingV1CollectionPriorityClassParamsWithContext ¶
func NewDeleteSchedulingV1CollectionPriorityClassParamsWithContext(ctx context.Context) *DeleteSchedulingV1CollectionPriorityClassParams
NewDeleteSchedulingV1CollectionPriorityClassParamsWithContext creates a new DeleteSchedulingV1CollectionPriorityClassParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSchedulingV1CollectionPriorityClassParamsWithHTTPClient ¶
func NewDeleteSchedulingV1CollectionPriorityClassParamsWithHTTPClient(client *http.Client) *DeleteSchedulingV1CollectionPriorityClassParams
NewDeleteSchedulingV1CollectionPriorityClassParamsWithHTTPClient creates a new DeleteSchedulingV1CollectionPriorityClassParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSchedulingV1CollectionPriorityClassParamsWithTimeout ¶
func NewDeleteSchedulingV1CollectionPriorityClassParamsWithTimeout(timeout time.Duration) *DeleteSchedulingV1CollectionPriorityClassParams
NewDeleteSchedulingV1CollectionPriorityClassParamsWithTimeout creates a new DeleteSchedulingV1CollectionPriorityClassParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetBody ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetBody(body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions)
SetBody adds the body to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetContext ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetContext(ctx context.Context)
SetContext adds the context to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetContinue ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetContinue(continueVar *string)
SetContinue adds the continue to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetDryRun ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetDryRun(dryRun *string)
SetDryRun adds the dryRun to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetFieldSelector ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetFieldSelector(fieldSelector *string)
SetFieldSelector adds the fieldSelector to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetGracePeriodSeconds ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetGracePeriodSeconds(gracePeriodSeconds *int64)
SetGracePeriodSeconds adds the gracePeriodSeconds to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetHTTPClient ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetLabelSelector ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetLabelSelector(labelSelector *string)
SetLabelSelector adds the labelSelector to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetLimit ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetLimit(limit *int64)
SetLimit adds the limit to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetOrphanDependents ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetOrphanDependents(orphanDependents *bool)
SetOrphanDependents adds the orphanDependents to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetPretty ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetPretty(pretty *string)
SetPretty adds the pretty to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetPropagationPolicy ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetPropagationPolicy(propagationPolicy *string)
SetPropagationPolicy adds the propagationPolicy to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetResourceVersion ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetResourceVersion(resourceVersion *string)
SetResourceVersion adds the resourceVersion to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetResourceVersionMatch ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetResourceVersionMatch(resourceVersionMatch *string)
SetResourceVersionMatch adds the resourceVersionMatch to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetTimeout ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) SetTimeoutSeconds ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) SetTimeoutSeconds(timeoutSeconds *int64)
SetTimeoutSeconds adds the timeoutSeconds to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithBody ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithBody(body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions) *DeleteSchedulingV1CollectionPriorityClassParams
WithBody adds the body to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithContext ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithContext(ctx context.Context) *DeleteSchedulingV1CollectionPriorityClassParams
WithContext adds the context to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithContinue ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithContinue(continueVar *string) *DeleteSchedulingV1CollectionPriorityClassParams
WithContinue adds the continueVar to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithDryRun ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithDryRun(dryRun *string) *DeleteSchedulingV1CollectionPriorityClassParams
WithDryRun adds the dryRun to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithFieldSelector ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithFieldSelector(fieldSelector *string) *DeleteSchedulingV1CollectionPriorityClassParams
WithFieldSelector adds the fieldSelector to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithGracePeriodSeconds ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithGracePeriodSeconds(gracePeriodSeconds *int64) *DeleteSchedulingV1CollectionPriorityClassParams
WithGracePeriodSeconds adds the gracePeriodSeconds to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithHTTPClient ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithHTTPClient(client *http.Client) *DeleteSchedulingV1CollectionPriorityClassParams
WithHTTPClient adds the HTTPClient to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithLabelSelector ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithLabelSelector(labelSelector *string) *DeleteSchedulingV1CollectionPriorityClassParams
WithLabelSelector adds the labelSelector to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithLimit ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithLimit(limit *int64) *DeleteSchedulingV1CollectionPriorityClassParams
WithLimit adds the limit to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithOrphanDependents ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithOrphanDependents(orphanDependents *bool) *DeleteSchedulingV1CollectionPriorityClassParams
WithOrphanDependents adds the orphanDependents to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithPretty ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithPretty(pretty *string) *DeleteSchedulingV1CollectionPriorityClassParams
WithPretty adds the pretty to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithPropagationPolicy ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithPropagationPolicy(propagationPolicy *string) *DeleteSchedulingV1CollectionPriorityClassParams
WithPropagationPolicy adds the propagationPolicy to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithResourceVersion ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithResourceVersion(resourceVersion *string) *DeleteSchedulingV1CollectionPriorityClassParams
WithResourceVersion adds the resourceVersion to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithResourceVersionMatch ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithResourceVersionMatch(resourceVersionMatch *string) *DeleteSchedulingV1CollectionPriorityClassParams
WithResourceVersionMatch adds the resourceVersionMatch to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithTimeout ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithTimeout(timeout time.Duration) *DeleteSchedulingV1CollectionPriorityClassParams
WithTimeout adds the timeout to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WithTimeoutSeconds ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WithTimeoutSeconds(timeoutSeconds *int64) *DeleteSchedulingV1CollectionPriorityClassParams
WithTimeoutSeconds adds the timeoutSeconds to the delete scheduling v1 collection priority class params
func (*DeleteSchedulingV1CollectionPriorityClassParams) WriteToRequest ¶
func (o *DeleteSchedulingV1CollectionPriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSchedulingV1CollectionPriorityClassReader ¶
type DeleteSchedulingV1CollectionPriorityClassReader struct {
// contains filtered or unexported fields
}
DeleteSchedulingV1CollectionPriorityClassReader is a Reader for the DeleteSchedulingV1CollectionPriorityClass structure.
func (*DeleteSchedulingV1CollectionPriorityClassReader) ReadResponse ¶
func (o *DeleteSchedulingV1CollectionPriorityClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSchedulingV1CollectionPriorityClassUnauthorized ¶
type DeleteSchedulingV1CollectionPriorityClassUnauthorized struct { }
DeleteSchedulingV1CollectionPriorityClassUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteSchedulingV1CollectionPriorityClassUnauthorized ¶
func NewDeleteSchedulingV1CollectionPriorityClassUnauthorized() *DeleteSchedulingV1CollectionPriorityClassUnauthorized
NewDeleteSchedulingV1CollectionPriorityClassUnauthorized creates a DeleteSchedulingV1CollectionPriorityClassUnauthorized with default headers values
func (*DeleteSchedulingV1CollectionPriorityClassUnauthorized) Error ¶
func (o *DeleteSchedulingV1CollectionPriorityClassUnauthorized) Error() string
type DeleteSchedulingV1PriorityClassAccepted ¶
type DeleteSchedulingV1PriorityClassAccepted struct {
Payload *models.IoK8sApimachineryPkgApisMetaV1Status
}
DeleteSchedulingV1PriorityClassAccepted handles this case with default header values.
Accepted
func NewDeleteSchedulingV1PriorityClassAccepted ¶
func NewDeleteSchedulingV1PriorityClassAccepted() *DeleteSchedulingV1PriorityClassAccepted
NewDeleteSchedulingV1PriorityClassAccepted creates a DeleteSchedulingV1PriorityClassAccepted with default headers values
func (*DeleteSchedulingV1PriorityClassAccepted) Error ¶
func (o *DeleteSchedulingV1PriorityClassAccepted) Error() string
func (*DeleteSchedulingV1PriorityClassAccepted) GetPayload ¶
func (o *DeleteSchedulingV1PriorityClassAccepted) GetPayload() *models.IoK8sApimachineryPkgApisMetaV1Status
type DeleteSchedulingV1PriorityClassOK ¶
type DeleteSchedulingV1PriorityClassOK struct {
Payload *models.IoK8sApimachineryPkgApisMetaV1Status
}
DeleteSchedulingV1PriorityClassOK handles this case with default header values.
OK
func NewDeleteSchedulingV1PriorityClassOK ¶
func NewDeleteSchedulingV1PriorityClassOK() *DeleteSchedulingV1PriorityClassOK
NewDeleteSchedulingV1PriorityClassOK creates a DeleteSchedulingV1PriorityClassOK with default headers values
func (*DeleteSchedulingV1PriorityClassOK) Error ¶
func (o *DeleteSchedulingV1PriorityClassOK) Error() string
func (*DeleteSchedulingV1PriorityClassOK) GetPayload ¶
func (o *DeleteSchedulingV1PriorityClassOK) GetPayload() *models.IoK8sApimachineryPkgApisMetaV1Status
type DeleteSchedulingV1PriorityClassParams ¶
type DeleteSchedulingV1PriorityClassParams struct { /*Body*/ Body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions /*DryRun 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 */ DryRun *string /*GracePeriodSeconds 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. */ GracePeriodSeconds *int64 /*Name name of the PriorityClass */ Name string /*OrphanDependents 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. */ OrphanDependents *bool /*Pretty If 'true', then the output is pretty printed. */ Pretty *string /*PropagationPolicy 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. */ PropagationPolicy *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSchedulingV1PriorityClassParams contains all the parameters to send to the API endpoint for the delete scheduling v1 priority class operation typically these are written to a http.Request
func NewDeleteSchedulingV1PriorityClassParams ¶
func NewDeleteSchedulingV1PriorityClassParams() *DeleteSchedulingV1PriorityClassParams
NewDeleteSchedulingV1PriorityClassParams creates a new DeleteSchedulingV1PriorityClassParams object with the default values initialized.
func NewDeleteSchedulingV1PriorityClassParamsWithContext ¶
func NewDeleteSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *DeleteSchedulingV1PriorityClassParams
NewDeleteSchedulingV1PriorityClassParamsWithContext creates a new DeleteSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSchedulingV1PriorityClassParamsWithHTTPClient ¶
func NewDeleteSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *DeleteSchedulingV1PriorityClassParams
NewDeleteSchedulingV1PriorityClassParamsWithHTTPClient creates a new DeleteSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSchedulingV1PriorityClassParamsWithTimeout ¶
func NewDeleteSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *DeleteSchedulingV1PriorityClassParams
NewDeleteSchedulingV1PriorityClassParamsWithTimeout creates a new DeleteSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSchedulingV1PriorityClassParams) SetBody ¶
func (o *DeleteSchedulingV1PriorityClassParams) SetBody(body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions)
SetBody adds the body to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) SetContext ¶
func (o *DeleteSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
SetContext adds the context to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) SetDryRun ¶
func (o *DeleteSchedulingV1PriorityClassParams) SetDryRun(dryRun *string)
SetDryRun adds the dryRun to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) SetGracePeriodSeconds ¶
func (o *DeleteSchedulingV1PriorityClassParams) SetGracePeriodSeconds(gracePeriodSeconds *int64)
SetGracePeriodSeconds adds the gracePeriodSeconds to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) SetHTTPClient ¶
func (o *DeleteSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) SetName ¶
func (o *DeleteSchedulingV1PriorityClassParams) SetName(name string)
SetName adds the name to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) SetOrphanDependents ¶
func (o *DeleteSchedulingV1PriorityClassParams) SetOrphanDependents(orphanDependents *bool)
SetOrphanDependents adds the orphanDependents to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) SetPretty ¶
func (o *DeleteSchedulingV1PriorityClassParams) SetPretty(pretty *string)
SetPretty adds the pretty to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) SetPropagationPolicy ¶
func (o *DeleteSchedulingV1PriorityClassParams) SetPropagationPolicy(propagationPolicy *string)
SetPropagationPolicy adds the propagationPolicy to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) SetTimeout ¶
func (o *DeleteSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) WithBody ¶
func (o *DeleteSchedulingV1PriorityClassParams) WithBody(body *models.IoK8sApimachineryPkgApisMetaV1DeleteOptions) *DeleteSchedulingV1PriorityClassParams
WithBody adds the body to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) WithContext ¶
func (o *DeleteSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *DeleteSchedulingV1PriorityClassParams
WithContext adds the context to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) WithDryRun ¶
func (o *DeleteSchedulingV1PriorityClassParams) WithDryRun(dryRun *string) *DeleteSchedulingV1PriorityClassParams
WithDryRun adds the dryRun to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) WithGracePeriodSeconds ¶
func (o *DeleteSchedulingV1PriorityClassParams) WithGracePeriodSeconds(gracePeriodSeconds *int64) *DeleteSchedulingV1PriorityClassParams
WithGracePeriodSeconds adds the gracePeriodSeconds to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) WithHTTPClient ¶
func (o *DeleteSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *DeleteSchedulingV1PriorityClassParams
WithHTTPClient adds the HTTPClient to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) WithName ¶
func (o *DeleteSchedulingV1PriorityClassParams) WithName(name string) *DeleteSchedulingV1PriorityClassParams
WithName adds the name to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) WithOrphanDependents ¶
func (o *DeleteSchedulingV1PriorityClassParams) WithOrphanDependents(orphanDependents *bool) *DeleteSchedulingV1PriorityClassParams
WithOrphanDependents adds the orphanDependents to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) WithPretty ¶
func (o *DeleteSchedulingV1PriorityClassParams) WithPretty(pretty *string) *DeleteSchedulingV1PriorityClassParams
WithPretty adds the pretty to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) WithPropagationPolicy ¶
func (o *DeleteSchedulingV1PriorityClassParams) WithPropagationPolicy(propagationPolicy *string) *DeleteSchedulingV1PriorityClassParams
WithPropagationPolicy adds the propagationPolicy to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) WithTimeout ¶
func (o *DeleteSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *DeleteSchedulingV1PriorityClassParams
WithTimeout adds the timeout to the delete scheduling v1 priority class params
func (*DeleteSchedulingV1PriorityClassParams) WriteToRequest ¶
func (o *DeleteSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSchedulingV1PriorityClassReader ¶
type DeleteSchedulingV1PriorityClassReader struct {
// contains filtered or unexported fields
}
DeleteSchedulingV1PriorityClassReader is a Reader for the DeleteSchedulingV1PriorityClass structure.
func (*DeleteSchedulingV1PriorityClassReader) ReadResponse ¶
func (o *DeleteSchedulingV1PriorityClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSchedulingV1PriorityClassUnauthorized ¶
type DeleteSchedulingV1PriorityClassUnauthorized struct { }
DeleteSchedulingV1PriorityClassUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteSchedulingV1PriorityClassUnauthorized ¶
func NewDeleteSchedulingV1PriorityClassUnauthorized() *DeleteSchedulingV1PriorityClassUnauthorized
NewDeleteSchedulingV1PriorityClassUnauthorized creates a DeleteSchedulingV1PriorityClassUnauthorized with default headers values
func (*DeleteSchedulingV1PriorityClassUnauthorized) Error ¶
func (o *DeleteSchedulingV1PriorityClassUnauthorized) Error() string
type GetSchedulingV1APIResourcesOK ¶
type GetSchedulingV1APIResourcesOK struct {
Payload *models.IoK8sApimachineryPkgApisMetaV1APIResourceList
}
GetSchedulingV1APIResourcesOK handles this case with default header values.
OK
func NewGetSchedulingV1APIResourcesOK ¶
func NewGetSchedulingV1APIResourcesOK() *GetSchedulingV1APIResourcesOK
NewGetSchedulingV1APIResourcesOK creates a GetSchedulingV1APIResourcesOK with default headers values
func (*GetSchedulingV1APIResourcesOK) Error ¶
func (o *GetSchedulingV1APIResourcesOK) Error() string
func (*GetSchedulingV1APIResourcesOK) GetPayload ¶
func (o *GetSchedulingV1APIResourcesOK) GetPayload() *models.IoK8sApimachineryPkgApisMetaV1APIResourceList
type GetSchedulingV1APIResourcesParams ¶
type GetSchedulingV1APIResourcesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSchedulingV1APIResourcesParams contains all the parameters to send to the API endpoint for the get scheduling v1 API resources operation typically these are written to a http.Request
func NewGetSchedulingV1APIResourcesParams ¶
func NewGetSchedulingV1APIResourcesParams() *GetSchedulingV1APIResourcesParams
NewGetSchedulingV1APIResourcesParams creates a new GetSchedulingV1APIResourcesParams object with the default values initialized.
func NewGetSchedulingV1APIResourcesParamsWithContext ¶
func NewGetSchedulingV1APIResourcesParamsWithContext(ctx context.Context) *GetSchedulingV1APIResourcesParams
NewGetSchedulingV1APIResourcesParamsWithContext creates a new GetSchedulingV1APIResourcesParams object with the default values initialized, and the ability to set a context for a request
func NewGetSchedulingV1APIResourcesParamsWithHTTPClient ¶
func NewGetSchedulingV1APIResourcesParamsWithHTTPClient(client *http.Client) *GetSchedulingV1APIResourcesParams
NewGetSchedulingV1APIResourcesParamsWithHTTPClient creates a new GetSchedulingV1APIResourcesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSchedulingV1APIResourcesParamsWithTimeout ¶
func NewGetSchedulingV1APIResourcesParamsWithTimeout(timeout time.Duration) *GetSchedulingV1APIResourcesParams
NewGetSchedulingV1APIResourcesParamsWithTimeout creates a new GetSchedulingV1APIResourcesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSchedulingV1APIResourcesParams) SetContext ¶
func (o *GetSchedulingV1APIResourcesParams) SetContext(ctx context.Context)
SetContext adds the context to the get scheduling v1 API resources params
func (*GetSchedulingV1APIResourcesParams) SetHTTPClient ¶
func (o *GetSchedulingV1APIResourcesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get scheduling v1 API resources params
func (*GetSchedulingV1APIResourcesParams) SetTimeout ¶
func (o *GetSchedulingV1APIResourcesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get scheduling v1 API resources params
func (*GetSchedulingV1APIResourcesParams) WithContext ¶
func (o *GetSchedulingV1APIResourcesParams) WithContext(ctx context.Context) *GetSchedulingV1APIResourcesParams
WithContext adds the context to the get scheduling v1 API resources params
func (*GetSchedulingV1APIResourcesParams) WithHTTPClient ¶
func (o *GetSchedulingV1APIResourcesParams) WithHTTPClient(client *http.Client) *GetSchedulingV1APIResourcesParams
WithHTTPClient adds the HTTPClient to the get scheduling v1 API resources params
func (*GetSchedulingV1APIResourcesParams) WithTimeout ¶
func (o *GetSchedulingV1APIResourcesParams) WithTimeout(timeout time.Duration) *GetSchedulingV1APIResourcesParams
WithTimeout adds the timeout to the get scheduling v1 API resources params
func (*GetSchedulingV1APIResourcesParams) WriteToRequest ¶
func (o *GetSchedulingV1APIResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSchedulingV1APIResourcesReader ¶
type GetSchedulingV1APIResourcesReader struct {
// contains filtered or unexported fields
}
GetSchedulingV1APIResourcesReader is a Reader for the GetSchedulingV1APIResources structure.
func (*GetSchedulingV1APIResourcesReader) ReadResponse ¶
func (o *GetSchedulingV1APIResourcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSchedulingV1APIResourcesUnauthorized ¶
type GetSchedulingV1APIResourcesUnauthorized struct { }
GetSchedulingV1APIResourcesUnauthorized handles this case with default header values.
Unauthorized
func NewGetSchedulingV1APIResourcesUnauthorized ¶
func NewGetSchedulingV1APIResourcesUnauthorized() *GetSchedulingV1APIResourcesUnauthorized
NewGetSchedulingV1APIResourcesUnauthorized creates a GetSchedulingV1APIResourcesUnauthorized with default headers values
func (*GetSchedulingV1APIResourcesUnauthorized) Error ¶
func (o *GetSchedulingV1APIResourcesUnauthorized) Error() string
type ListSchedulingV1PriorityClassOK ¶
type ListSchedulingV1PriorityClassOK struct {
Payload *models.IoK8sAPISchedulingV1PriorityClassList
}
ListSchedulingV1PriorityClassOK handles this case with default header values.
OK
func NewListSchedulingV1PriorityClassOK ¶
func NewListSchedulingV1PriorityClassOK() *ListSchedulingV1PriorityClassOK
NewListSchedulingV1PriorityClassOK creates a ListSchedulingV1PriorityClassOK with default headers values
func (*ListSchedulingV1PriorityClassOK) Error ¶
func (o *ListSchedulingV1PriorityClassOK) Error() string
func (*ListSchedulingV1PriorityClassOK) GetPayload ¶
func (o *ListSchedulingV1PriorityClassOK) GetPayload() *models.IoK8sAPISchedulingV1PriorityClassList
type ListSchedulingV1PriorityClassParams ¶
type ListSchedulingV1PriorityClassParams struct { /*AllowWatchBookmarks 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. */ AllowWatchBookmarks *bool /*Continue 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. */ Continue *string /*FieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. */ FieldSelector *string /*LabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. */ LabelSelector *string /*Limit 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. */ Limit *int64 /*Pretty If 'true', then the output is pretty printed. */ Pretty *string /*ResourceVersion 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 */ ResourceVersion *string /*ResourceVersionMatch 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 */ ResourceVersionMatch *string /*TimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. */ TimeoutSeconds *int64 /*Watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ Watch *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSchedulingV1PriorityClassParams contains all the parameters to send to the API endpoint for the list scheduling v1 priority class operation typically these are written to a http.Request
func NewListSchedulingV1PriorityClassParams ¶
func NewListSchedulingV1PriorityClassParams() *ListSchedulingV1PriorityClassParams
NewListSchedulingV1PriorityClassParams creates a new ListSchedulingV1PriorityClassParams object with the default values initialized.
func NewListSchedulingV1PriorityClassParamsWithContext ¶
func NewListSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *ListSchedulingV1PriorityClassParams
NewListSchedulingV1PriorityClassParamsWithContext creates a new ListSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a context for a request
func NewListSchedulingV1PriorityClassParamsWithHTTPClient ¶
func NewListSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *ListSchedulingV1PriorityClassParams
NewListSchedulingV1PriorityClassParamsWithHTTPClient creates a new ListSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListSchedulingV1PriorityClassParamsWithTimeout ¶
func NewListSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *ListSchedulingV1PriorityClassParams
NewListSchedulingV1PriorityClassParamsWithTimeout creates a new ListSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListSchedulingV1PriorityClassParams) SetAllowWatchBookmarks ¶
func (o *ListSchedulingV1PriorityClassParams) SetAllowWatchBookmarks(allowWatchBookmarks *bool)
SetAllowWatchBookmarks adds the allowWatchBookmarks to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) SetContext ¶
func (o *ListSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
SetContext adds the context to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) SetContinue ¶
func (o *ListSchedulingV1PriorityClassParams) SetContinue(continueVar *string)
SetContinue adds the continue to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) SetFieldSelector ¶
func (o *ListSchedulingV1PriorityClassParams) SetFieldSelector(fieldSelector *string)
SetFieldSelector adds the fieldSelector to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) SetHTTPClient ¶
func (o *ListSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) SetLabelSelector ¶
func (o *ListSchedulingV1PriorityClassParams) SetLabelSelector(labelSelector *string)
SetLabelSelector adds the labelSelector to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) SetLimit ¶
func (o *ListSchedulingV1PriorityClassParams) SetLimit(limit *int64)
SetLimit adds the limit to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) SetPretty ¶
func (o *ListSchedulingV1PriorityClassParams) SetPretty(pretty *string)
SetPretty adds the pretty to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) SetResourceVersion ¶
func (o *ListSchedulingV1PriorityClassParams) SetResourceVersion(resourceVersion *string)
SetResourceVersion adds the resourceVersion to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) SetResourceVersionMatch ¶
func (o *ListSchedulingV1PriorityClassParams) SetResourceVersionMatch(resourceVersionMatch *string)
SetResourceVersionMatch adds the resourceVersionMatch to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) SetTimeout ¶
func (o *ListSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) SetTimeoutSeconds ¶
func (o *ListSchedulingV1PriorityClassParams) SetTimeoutSeconds(timeoutSeconds *int64)
SetTimeoutSeconds adds the timeoutSeconds to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) SetWatch ¶
func (o *ListSchedulingV1PriorityClassParams) SetWatch(watch *bool)
SetWatch adds the watch to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithAllowWatchBookmarks ¶
func (o *ListSchedulingV1PriorityClassParams) WithAllowWatchBookmarks(allowWatchBookmarks *bool) *ListSchedulingV1PriorityClassParams
WithAllowWatchBookmarks adds the allowWatchBookmarks to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithContext ¶
func (o *ListSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *ListSchedulingV1PriorityClassParams
WithContext adds the context to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithContinue ¶
func (o *ListSchedulingV1PriorityClassParams) WithContinue(continueVar *string) *ListSchedulingV1PriorityClassParams
WithContinue adds the continueVar to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithFieldSelector ¶
func (o *ListSchedulingV1PriorityClassParams) WithFieldSelector(fieldSelector *string) *ListSchedulingV1PriorityClassParams
WithFieldSelector adds the fieldSelector to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithHTTPClient ¶
func (o *ListSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *ListSchedulingV1PriorityClassParams
WithHTTPClient adds the HTTPClient to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithLabelSelector ¶
func (o *ListSchedulingV1PriorityClassParams) WithLabelSelector(labelSelector *string) *ListSchedulingV1PriorityClassParams
WithLabelSelector adds the labelSelector to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithLimit ¶
func (o *ListSchedulingV1PriorityClassParams) WithLimit(limit *int64) *ListSchedulingV1PriorityClassParams
WithLimit adds the limit to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithPretty ¶
func (o *ListSchedulingV1PriorityClassParams) WithPretty(pretty *string) *ListSchedulingV1PriorityClassParams
WithPretty adds the pretty to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithResourceVersion ¶
func (o *ListSchedulingV1PriorityClassParams) WithResourceVersion(resourceVersion *string) *ListSchedulingV1PriorityClassParams
WithResourceVersion adds the resourceVersion to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithResourceVersionMatch ¶
func (o *ListSchedulingV1PriorityClassParams) WithResourceVersionMatch(resourceVersionMatch *string) *ListSchedulingV1PriorityClassParams
WithResourceVersionMatch adds the resourceVersionMatch to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithTimeout ¶
func (o *ListSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *ListSchedulingV1PriorityClassParams
WithTimeout adds the timeout to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithTimeoutSeconds ¶
func (o *ListSchedulingV1PriorityClassParams) WithTimeoutSeconds(timeoutSeconds *int64) *ListSchedulingV1PriorityClassParams
WithTimeoutSeconds adds the timeoutSeconds to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WithWatch ¶
func (o *ListSchedulingV1PriorityClassParams) WithWatch(watch *bool) *ListSchedulingV1PriorityClassParams
WithWatch adds the watch to the list scheduling v1 priority class params
func (*ListSchedulingV1PriorityClassParams) WriteToRequest ¶
func (o *ListSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSchedulingV1PriorityClassReader ¶
type ListSchedulingV1PriorityClassReader struct {
// contains filtered or unexported fields
}
ListSchedulingV1PriorityClassReader is a Reader for the ListSchedulingV1PriorityClass structure.
func (*ListSchedulingV1PriorityClassReader) ReadResponse ¶
func (o *ListSchedulingV1PriorityClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSchedulingV1PriorityClassUnauthorized ¶
type ListSchedulingV1PriorityClassUnauthorized struct { }
ListSchedulingV1PriorityClassUnauthorized handles this case with default header values.
Unauthorized
func NewListSchedulingV1PriorityClassUnauthorized ¶
func NewListSchedulingV1PriorityClassUnauthorized() *ListSchedulingV1PriorityClassUnauthorized
NewListSchedulingV1PriorityClassUnauthorized creates a ListSchedulingV1PriorityClassUnauthorized with default headers values
func (*ListSchedulingV1PriorityClassUnauthorized) Error ¶
func (o *ListSchedulingV1PriorityClassUnauthorized) Error() string
type PatchSchedulingV1PriorityClassOK ¶
type PatchSchedulingV1PriorityClassOK struct {
Payload *models.IoK8sAPISchedulingV1PriorityClass
}
PatchSchedulingV1PriorityClassOK handles this case with default header values.
OK
func NewPatchSchedulingV1PriorityClassOK ¶
func NewPatchSchedulingV1PriorityClassOK() *PatchSchedulingV1PriorityClassOK
NewPatchSchedulingV1PriorityClassOK creates a PatchSchedulingV1PriorityClassOK with default headers values
func (*PatchSchedulingV1PriorityClassOK) Error ¶
func (o *PatchSchedulingV1PriorityClassOK) Error() string
func (*PatchSchedulingV1PriorityClassOK) GetPayload ¶
func (o *PatchSchedulingV1PriorityClassOK) GetPayload() *models.IoK8sAPISchedulingV1PriorityClass
type PatchSchedulingV1PriorityClassParams ¶
type PatchSchedulingV1PriorityClassParams struct { /*Body*/ Body models.IoK8sApimachineryPkgApisMetaV1Patch /*DryRun 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 */ DryRun *string /*FieldManager 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). */ FieldManager *string /*Force 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. */ Force *bool /*Name name of the PriorityClass */ Name string /*Pretty If 'true', then the output is pretty printed. */ Pretty *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchSchedulingV1PriorityClassParams contains all the parameters to send to the API endpoint for the patch scheduling v1 priority class operation typically these are written to a http.Request
func NewPatchSchedulingV1PriorityClassParams ¶
func NewPatchSchedulingV1PriorityClassParams() *PatchSchedulingV1PriorityClassParams
NewPatchSchedulingV1PriorityClassParams creates a new PatchSchedulingV1PriorityClassParams object with the default values initialized.
func NewPatchSchedulingV1PriorityClassParamsWithContext ¶
func NewPatchSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *PatchSchedulingV1PriorityClassParams
NewPatchSchedulingV1PriorityClassParamsWithContext creates a new PatchSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a context for a request
func NewPatchSchedulingV1PriorityClassParamsWithHTTPClient ¶
func NewPatchSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *PatchSchedulingV1PriorityClassParams
NewPatchSchedulingV1PriorityClassParamsWithHTTPClient creates a new PatchSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchSchedulingV1PriorityClassParamsWithTimeout ¶
func NewPatchSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *PatchSchedulingV1PriorityClassParams
NewPatchSchedulingV1PriorityClassParamsWithTimeout creates a new PatchSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchSchedulingV1PriorityClassParams) SetBody ¶
func (o *PatchSchedulingV1PriorityClassParams) SetBody(body models.IoK8sApimachineryPkgApisMetaV1Patch)
SetBody adds the body to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) SetContext ¶
func (o *PatchSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
SetContext adds the context to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) SetDryRun ¶
func (o *PatchSchedulingV1PriorityClassParams) SetDryRun(dryRun *string)
SetDryRun adds the dryRun to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) SetFieldManager ¶
func (o *PatchSchedulingV1PriorityClassParams) SetFieldManager(fieldManager *string)
SetFieldManager adds the fieldManager to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) SetForce ¶
func (o *PatchSchedulingV1PriorityClassParams) SetForce(force *bool)
SetForce adds the force to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) SetHTTPClient ¶
func (o *PatchSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) SetName ¶
func (o *PatchSchedulingV1PriorityClassParams) SetName(name string)
SetName adds the name to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) SetPretty ¶
func (o *PatchSchedulingV1PriorityClassParams) SetPretty(pretty *string)
SetPretty adds the pretty to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) SetTimeout ¶
func (o *PatchSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) WithBody ¶
func (o *PatchSchedulingV1PriorityClassParams) WithBody(body models.IoK8sApimachineryPkgApisMetaV1Patch) *PatchSchedulingV1PriorityClassParams
WithBody adds the body to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) WithContext ¶
func (o *PatchSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *PatchSchedulingV1PriorityClassParams
WithContext adds the context to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) WithDryRun ¶
func (o *PatchSchedulingV1PriorityClassParams) WithDryRun(dryRun *string) *PatchSchedulingV1PriorityClassParams
WithDryRun adds the dryRun to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) WithFieldManager ¶
func (o *PatchSchedulingV1PriorityClassParams) WithFieldManager(fieldManager *string) *PatchSchedulingV1PriorityClassParams
WithFieldManager adds the fieldManager to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) WithForce ¶
func (o *PatchSchedulingV1PriorityClassParams) WithForce(force *bool) *PatchSchedulingV1PriorityClassParams
WithForce adds the force to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) WithHTTPClient ¶
func (o *PatchSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *PatchSchedulingV1PriorityClassParams
WithHTTPClient adds the HTTPClient to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) WithName ¶
func (o *PatchSchedulingV1PriorityClassParams) WithName(name string) *PatchSchedulingV1PriorityClassParams
WithName adds the name to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) WithPretty ¶
func (o *PatchSchedulingV1PriorityClassParams) WithPretty(pretty *string) *PatchSchedulingV1PriorityClassParams
WithPretty adds the pretty to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) WithTimeout ¶
func (o *PatchSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *PatchSchedulingV1PriorityClassParams
WithTimeout adds the timeout to the patch scheduling v1 priority class params
func (*PatchSchedulingV1PriorityClassParams) WriteToRequest ¶
func (o *PatchSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchSchedulingV1PriorityClassReader ¶
type PatchSchedulingV1PriorityClassReader struct {
// contains filtered or unexported fields
}
PatchSchedulingV1PriorityClassReader is a Reader for the PatchSchedulingV1PriorityClass structure.
func (*PatchSchedulingV1PriorityClassReader) ReadResponse ¶
func (o *PatchSchedulingV1PriorityClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchSchedulingV1PriorityClassUnauthorized ¶
type PatchSchedulingV1PriorityClassUnauthorized struct { }
PatchSchedulingV1PriorityClassUnauthorized handles this case with default header values.
Unauthorized
func NewPatchSchedulingV1PriorityClassUnauthorized ¶
func NewPatchSchedulingV1PriorityClassUnauthorized() *PatchSchedulingV1PriorityClassUnauthorized
NewPatchSchedulingV1PriorityClassUnauthorized creates a PatchSchedulingV1PriorityClassUnauthorized with default headers values
func (*PatchSchedulingV1PriorityClassUnauthorized) Error ¶
func (o *PatchSchedulingV1PriorityClassUnauthorized) Error() string
type ReadSchedulingV1PriorityClassOK ¶
type ReadSchedulingV1PriorityClassOK struct {
Payload *models.IoK8sAPISchedulingV1PriorityClass
}
ReadSchedulingV1PriorityClassOK handles this case with default header values.
OK
func NewReadSchedulingV1PriorityClassOK ¶
func NewReadSchedulingV1PriorityClassOK() *ReadSchedulingV1PriorityClassOK
NewReadSchedulingV1PriorityClassOK creates a ReadSchedulingV1PriorityClassOK with default headers values
func (*ReadSchedulingV1PriorityClassOK) Error ¶
func (o *ReadSchedulingV1PriorityClassOK) Error() string
func (*ReadSchedulingV1PriorityClassOK) GetPayload ¶
func (o *ReadSchedulingV1PriorityClassOK) GetPayload() *models.IoK8sAPISchedulingV1PriorityClass
type ReadSchedulingV1PriorityClassParams ¶
type ReadSchedulingV1PriorityClassParams struct { /*Exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. */ Exact *bool /*Export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. */ Export *bool /*Name name of the PriorityClass */ Name string /*Pretty If 'true', then the output is pretty printed. */ Pretty *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadSchedulingV1PriorityClassParams contains all the parameters to send to the API endpoint for the read scheduling v1 priority class operation typically these are written to a http.Request
func NewReadSchedulingV1PriorityClassParams ¶
func NewReadSchedulingV1PriorityClassParams() *ReadSchedulingV1PriorityClassParams
NewReadSchedulingV1PriorityClassParams creates a new ReadSchedulingV1PriorityClassParams object with the default values initialized.
func NewReadSchedulingV1PriorityClassParamsWithContext ¶
func NewReadSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *ReadSchedulingV1PriorityClassParams
NewReadSchedulingV1PriorityClassParamsWithContext creates a new ReadSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a context for a request
func NewReadSchedulingV1PriorityClassParamsWithHTTPClient ¶
func NewReadSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *ReadSchedulingV1PriorityClassParams
NewReadSchedulingV1PriorityClassParamsWithHTTPClient creates a new ReadSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReadSchedulingV1PriorityClassParamsWithTimeout ¶
func NewReadSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *ReadSchedulingV1PriorityClassParams
NewReadSchedulingV1PriorityClassParamsWithTimeout creates a new ReadSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReadSchedulingV1PriorityClassParams) SetContext ¶
func (o *ReadSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
SetContext adds the context to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) SetExact ¶
func (o *ReadSchedulingV1PriorityClassParams) SetExact(exact *bool)
SetExact adds the exact to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) SetExport ¶
func (o *ReadSchedulingV1PriorityClassParams) SetExport(export *bool)
SetExport adds the export to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) SetHTTPClient ¶
func (o *ReadSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) SetName ¶
func (o *ReadSchedulingV1PriorityClassParams) SetName(name string)
SetName adds the name to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) SetPretty ¶
func (o *ReadSchedulingV1PriorityClassParams) SetPretty(pretty *string)
SetPretty adds the pretty to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) SetTimeout ¶
func (o *ReadSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) WithContext ¶
func (o *ReadSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *ReadSchedulingV1PriorityClassParams
WithContext adds the context to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) WithExact ¶
func (o *ReadSchedulingV1PriorityClassParams) WithExact(exact *bool) *ReadSchedulingV1PriorityClassParams
WithExact adds the exact to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) WithExport ¶
func (o *ReadSchedulingV1PriorityClassParams) WithExport(export *bool) *ReadSchedulingV1PriorityClassParams
WithExport adds the export to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) WithHTTPClient ¶
func (o *ReadSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *ReadSchedulingV1PriorityClassParams
WithHTTPClient adds the HTTPClient to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) WithName ¶
func (o *ReadSchedulingV1PriorityClassParams) WithName(name string) *ReadSchedulingV1PriorityClassParams
WithName adds the name to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) WithPretty ¶
func (o *ReadSchedulingV1PriorityClassParams) WithPretty(pretty *string) *ReadSchedulingV1PriorityClassParams
WithPretty adds the pretty to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) WithTimeout ¶
func (o *ReadSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *ReadSchedulingV1PriorityClassParams
WithTimeout adds the timeout to the read scheduling v1 priority class params
func (*ReadSchedulingV1PriorityClassParams) WriteToRequest ¶
func (o *ReadSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadSchedulingV1PriorityClassReader ¶
type ReadSchedulingV1PriorityClassReader struct {
// contains filtered or unexported fields
}
ReadSchedulingV1PriorityClassReader is a Reader for the ReadSchedulingV1PriorityClass structure.
func (*ReadSchedulingV1PriorityClassReader) ReadResponse ¶
func (o *ReadSchedulingV1PriorityClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadSchedulingV1PriorityClassUnauthorized ¶
type ReadSchedulingV1PriorityClassUnauthorized struct { }
ReadSchedulingV1PriorityClassUnauthorized handles this case with default header values.
Unauthorized
func NewReadSchedulingV1PriorityClassUnauthorized ¶
func NewReadSchedulingV1PriorityClassUnauthorized() *ReadSchedulingV1PriorityClassUnauthorized
NewReadSchedulingV1PriorityClassUnauthorized creates a ReadSchedulingV1PriorityClassUnauthorized with default headers values
func (*ReadSchedulingV1PriorityClassUnauthorized) Error ¶
func (o *ReadSchedulingV1PriorityClassUnauthorized) Error() string
type ReplaceSchedulingV1PriorityClassCreated ¶
type ReplaceSchedulingV1PriorityClassCreated struct {
Payload *models.IoK8sAPISchedulingV1PriorityClass
}
ReplaceSchedulingV1PriorityClassCreated handles this case with default header values.
Created
func NewReplaceSchedulingV1PriorityClassCreated ¶
func NewReplaceSchedulingV1PriorityClassCreated() *ReplaceSchedulingV1PriorityClassCreated
NewReplaceSchedulingV1PriorityClassCreated creates a ReplaceSchedulingV1PriorityClassCreated with default headers values
func (*ReplaceSchedulingV1PriorityClassCreated) Error ¶
func (o *ReplaceSchedulingV1PriorityClassCreated) Error() string
func (*ReplaceSchedulingV1PriorityClassCreated) GetPayload ¶
func (o *ReplaceSchedulingV1PriorityClassCreated) GetPayload() *models.IoK8sAPISchedulingV1PriorityClass
type ReplaceSchedulingV1PriorityClassOK ¶
type ReplaceSchedulingV1PriorityClassOK struct {
Payload *models.IoK8sAPISchedulingV1PriorityClass
}
ReplaceSchedulingV1PriorityClassOK handles this case with default header values.
OK
func NewReplaceSchedulingV1PriorityClassOK ¶
func NewReplaceSchedulingV1PriorityClassOK() *ReplaceSchedulingV1PriorityClassOK
NewReplaceSchedulingV1PriorityClassOK creates a ReplaceSchedulingV1PriorityClassOK with default headers values
func (*ReplaceSchedulingV1PriorityClassOK) Error ¶
func (o *ReplaceSchedulingV1PriorityClassOK) Error() string
func (*ReplaceSchedulingV1PriorityClassOK) GetPayload ¶
func (o *ReplaceSchedulingV1PriorityClassOK) GetPayload() *models.IoK8sAPISchedulingV1PriorityClass
type ReplaceSchedulingV1PriorityClassParams ¶
type ReplaceSchedulingV1PriorityClassParams struct { /*Body*/ Body *models.IoK8sAPISchedulingV1PriorityClass /*DryRun 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 */ DryRun *string /*FieldManager 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. */ FieldManager *string /*Name name of the PriorityClass */ Name string /*Pretty If 'true', then the output is pretty printed. */ Pretty *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceSchedulingV1PriorityClassParams contains all the parameters to send to the API endpoint for the replace scheduling v1 priority class operation typically these are written to a http.Request
func NewReplaceSchedulingV1PriorityClassParams ¶
func NewReplaceSchedulingV1PriorityClassParams() *ReplaceSchedulingV1PriorityClassParams
NewReplaceSchedulingV1PriorityClassParams creates a new ReplaceSchedulingV1PriorityClassParams object with the default values initialized.
func NewReplaceSchedulingV1PriorityClassParamsWithContext ¶
func NewReplaceSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *ReplaceSchedulingV1PriorityClassParams
NewReplaceSchedulingV1PriorityClassParamsWithContext creates a new ReplaceSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a context for a request
func NewReplaceSchedulingV1PriorityClassParamsWithHTTPClient ¶
func NewReplaceSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *ReplaceSchedulingV1PriorityClassParams
NewReplaceSchedulingV1PriorityClassParamsWithHTTPClient creates a new ReplaceSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReplaceSchedulingV1PriorityClassParamsWithTimeout ¶
func NewReplaceSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *ReplaceSchedulingV1PriorityClassParams
NewReplaceSchedulingV1PriorityClassParamsWithTimeout creates a new ReplaceSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReplaceSchedulingV1PriorityClassParams) SetBody ¶
func (o *ReplaceSchedulingV1PriorityClassParams) SetBody(body *models.IoK8sAPISchedulingV1PriorityClass)
SetBody adds the body to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) SetContext ¶
func (o *ReplaceSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
SetContext adds the context to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) SetDryRun ¶
func (o *ReplaceSchedulingV1PriorityClassParams) SetDryRun(dryRun *string)
SetDryRun adds the dryRun to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) SetFieldManager ¶
func (o *ReplaceSchedulingV1PriorityClassParams) SetFieldManager(fieldManager *string)
SetFieldManager adds the fieldManager to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) SetHTTPClient ¶
func (o *ReplaceSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) SetName ¶
func (o *ReplaceSchedulingV1PriorityClassParams) SetName(name string)
SetName adds the name to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) SetPretty ¶
func (o *ReplaceSchedulingV1PriorityClassParams) SetPretty(pretty *string)
SetPretty adds the pretty to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) SetTimeout ¶
func (o *ReplaceSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) WithBody ¶
func (o *ReplaceSchedulingV1PriorityClassParams) WithBody(body *models.IoK8sAPISchedulingV1PriorityClass) *ReplaceSchedulingV1PriorityClassParams
WithBody adds the body to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) WithContext ¶
func (o *ReplaceSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *ReplaceSchedulingV1PriorityClassParams
WithContext adds the context to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) WithDryRun ¶
func (o *ReplaceSchedulingV1PriorityClassParams) WithDryRun(dryRun *string) *ReplaceSchedulingV1PriorityClassParams
WithDryRun adds the dryRun to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) WithFieldManager ¶
func (o *ReplaceSchedulingV1PriorityClassParams) WithFieldManager(fieldManager *string) *ReplaceSchedulingV1PriorityClassParams
WithFieldManager adds the fieldManager to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) WithHTTPClient ¶
func (o *ReplaceSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *ReplaceSchedulingV1PriorityClassParams
WithHTTPClient adds the HTTPClient to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) WithName ¶
func (o *ReplaceSchedulingV1PriorityClassParams) WithName(name string) *ReplaceSchedulingV1PriorityClassParams
WithName adds the name to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) WithPretty ¶
func (o *ReplaceSchedulingV1PriorityClassParams) WithPretty(pretty *string) *ReplaceSchedulingV1PriorityClassParams
WithPretty adds the pretty to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) WithTimeout ¶
func (o *ReplaceSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *ReplaceSchedulingV1PriorityClassParams
WithTimeout adds the timeout to the replace scheduling v1 priority class params
func (*ReplaceSchedulingV1PriorityClassParams) WriteToRequest ¶
func (o *ReplaceSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceSchedulingV1PriorityClassReader ¶
type ReplaceSchedulingV1PriorityClassReader struct {
// contains filtered or unexported fields
}
ReplaceSchedulingV1PriorityClassReader is a Reader for the ReplaceSchedulingV1PriorityClass structure.
func (*ReplaceSchedulingV1PriorityClassReader) ReadResponse ¶
func (o *ReplaceSchedulingV1PriorityClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceSchedulingV1PriorityClassUnauthorized ¶
type ReplaceSchedulingV1PriorityClassUnauthorized struct { }
ReplaceSchedulingV1PriorityClassUnauthorized handles this case with default header values.
Unauthorized
func NewReplaceSchedulingV1PriorityClassUnauthorized ¶
func NewReplaceSchedulingV1PriorityClassUnauthorized() *ReplaceSchedulingV1PriorityClassUnauthorized
NewReplaceSchedulingV1PriorityClassUnauthorized creates a ReplaceSchedulingV1PriorityClassUnauthorized with default headers values
func (*ReplaceSchedulingV1PriorityClassUnauthorized) Error ¶
func (o *ReplaceSchedulingV1PriorityClassUnauthorized) Error() string
type WatchSchedulingV1PriorityClassListOK ¶
type WatchSchedulingV1PriorityClassListOK struct {
Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent
}
WatchSchedulingV1PriorityClassListOK handles this case with default header values.
OK
func NewWatchSchedulingV1PriorityClassListOK ¶
func NewWatchSchedulingV1PriorityClassListOK() *WatchSchedulingV1PriorityClassListOK
NewWatchSchedulingV1PriorityClassListOK creates a WatchSchedulingV1PriorityClassListOK with default headers values
func (*WatchSchedulingV1PriorityClassListOK) Error ¶
func (o *WatchSchedulingV1PriorityClassListOK) Error() string
func (*WatchSchedulingV1PriorityClassListOK) GetPayload ¶
func (o *WatchSchedulingV1PriorityClassListOK) GetPayload() *models.IoK8sApimachineryPkgApisMetaV1WatchEvent
type WatchSchedulingV1PriorityClassListParams ¶
type WatchSchedulingV1PriorityClassListParams struct { /*AllowWatchBookmarks 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. */ AllowWatchBookmarks *bool /*Continue 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. */ Continue *string /*FieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. */ FieldSelector *string /*LabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. */ LabelSelector *string /*Limit 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. */ Limit *int64 /*Pretty If 'true', then the output is pretty printed. */ Pretty *string /*ResourceVersion 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 */ ResourceVersion *string /*ResourceVersionMatch 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 */ ResourceVersionMatch *string /*TimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. */ TimeoutSeconds *int64 /*Watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ Watch *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WatchSchedulingV1PriorityClassListParams contains all the parameters to send to the API endpoint for the watch scheduling v1 priority class list operation typically these are written to a http.Request
func NewWatchSchedulingV1PriorityClassListParams ¶
func NewWatchSchedulingV1PriorityClassListParams() *WatchSchedulingV1PriorityClassListParams
NewWatchSchedulingV1PriorityClassListParams creates a new WatchSchedulingV1PriorityClassListParams object with the default values initialized.
func NewWatchSchedulingV1PriorityClassListParamsWithContext ¶
func NewWatchSchedulingV1PriorityClassListParamsWithContext(ctx context.Context) *WatchSchedulingV1PriorityClassListParams
NewWatchSchedulingV1PriorityClassListParamsWithContext creates a new WatchSchedulingV1PriorityClassListParams object with the default values initialized, and the ability to set a context for a request
func NewWatchSchedulingV1PriorityClassListParamsWithHTTPClient ¶
func NewWatchSchedulingV1PriorityClassListParamsWithHTTPClient(client *http.Client) *WatchSchedulingV1PriorityClassListParams
NewWatchSchedulingV1PriorityClassListParamsWithHTTPClient creates a new WatchSchedulingV1PriorityClassListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewWatchSchedulingV1PriorityClassListParamsWithTimeout ¶
func NewWatchSchedulingV1PriorityClassListParamsWithTimeout(timeout time.Duration) *WatchSchedulingV1PriorityClassListParams
NewWatchSchedulingV1PriorityClassListParamsWithTimeout creates a new WatchSchedulingV1PriorityClassListParams object with the default values initialized, and the ability to set a timeout on a request
func (*WatchSchedulingV1PriorityClassListParams) SetAllowWatchBookmarks ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetAllowWatchBookmarks(allowWatchBookmarks *bool)
SetAllowWatchBookmarks adds the allowWatchBookmarks to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) SetContext ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetContext(ctx context.Context)
SetContext adds the context to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) SetContinue ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetContinue(continueVar *string)
SetContinue adds the continue to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) SetFieldSelector ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetFieldSelector(fieldSelector *string)
SetFieldSelector adds the fieldSelector to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) SetHTTPClient ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) SetLabelSelector ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetLabelSelector(labelSelector *string)
SetLabelSelector adds the labelSelector to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) SetLimit ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetLimit(limit *int64)
SetLimit adds the limit to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) SetPretty ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetPretty(pretty *string)
SetPretty adds the pretty to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) SetResourceVersion ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetResourceVersion(resourceVersion *string)
SetResourceVersion adds the resourceVersion to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) SetResourceVersionMatch ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetResourceVersionMatch(resourceVersionMatch *string)
SetResourceVersionMatch adds the resourceVersionMatch to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) SetTimeout ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) SetTimeoutSeconds ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetTimeoutSeconds(timeoutSeconds *int64)
SetTimeoutSeconds adds the timeoutSeconds to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) SetWatch ¶
func (o *WatchSchedulingV1PriorityClassListParams) SetWatch(watch *bool)
SetWatch adds the watch to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithAllowWatchBookmarks ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithAllowWatchBookmarks(allowWatchBookmarks *bool) *WatchSchedulingV1PriorityClassListParams
WithAllowWatchBookmarks adds the allowWatchBookmarks to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithContext ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithContext(ctx context.Context) *WatchSchedulingV1PriorityClassListParams
WithContext adds the context to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithContinue ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithContinue(continueVar *string) *WatchSchedulingV1PriorityClassListParams
WithContinue adds the continueVar to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithFieldSelector ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithFieldSelector(fieldSelector *string) *WatchSchedulingV1PriorityClassListParams
WithFieldSelector adds the fieldSelector to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithHTTPClient ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithHTTPClient(client *http.Client) *WatchSchedulingV1PriorityClassListParams
WithHTTPClient adds the HTTPClient to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithLabelSelector ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithLabelSelector(labelSelector *string) *WatchSchedulingV1PriorityClassListParams
WithLabelSelector adds the labelSelector to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithLimit ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithLimit(limit *int64) *WatchSchedulingV1PriorityClassListParams
WithLimit adds the limit to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithPretty ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithPretty(pretty *string) *WatchSchedulingV1PriorityClassListParams
WithPretty adds the pretty to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithResourceVersion ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithResourceVersion(resourceVersion *string) *WatchSchedulingV1PriorityClassListParams
WithResourceVersion adds the resourceVersion to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithResourceVersionMatch ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithResourceVersionMatch(resourceVersionMatch *string) *WatchSchedulingV1PriorityClassListParams
WithResourceVersionMatch adds the resourceVersionMatch to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithTimeout ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithTimeout(timeout time.Duration) *WatchSchedulingV1PriorityClassListParams
WithTimeout adds the timeout to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithTimeoutSeconds ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithTimeoutSeconds(timeoutSeconds *int64) *WatchSchedulingV1PriorityClassListParams
WithTimeoutSeconds adds the timeoutSeconds to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WithWatch ¶
func (o *WatchSchedulingV1PriorityClassListParams) WithWatch(watch *bool) *WatchSchedulingV1PriorityClassListParams
WithWatch adds the watch to the watch scheduling v1 priority class list params
func (*WatchSchedulingV1PriorityClassListParams) WriteToRequest ¶
func (o *WatchSchedulingV1PriorityClassListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WatchSchedulingV1PriorityClassListReader ¶
type WatchSchedulingV1PriorityClassListReader struct {
// contains filtered or unexported fields
}
WatchSchedulingV1PriorityClassListReader is a Reader for the WatchSchedulingV1PriorityClassList structure.
func (*WatchSchedulingV1PriorityClassListReader) ReadResponse ¶
func (o *WatchSchedulingV1PriorityClassListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WatchSchedulingV1PriorityClassListUnauthorized ¶
type WatchSchedulingV1PriorityClassListUnauthorized struct { }
WatchSchedulingV1PriorityClassListUnauthorized handles this case with default header values.
Unauthorized
func NewWatchSchedulingV1PriorityClassListUnauthorized ¶
func NewWatchSchedulingV1PriorityClassListUnauthorized() *WatchSchedulingV1PriorityClassListUnauthorized
NewWatchSchedulingV1PriorityClassListUnauthorized creates a WatchSchedulingV1PriorityClassListUnauthorized with default headers values
func (*WatchSchedulingV1PriorityClassListUnauthorized) Error ¶
func (o *WatchSchedulingV1PriorityClassListUnauthorized) Error() string
type WatchSchedulingV1PriorityClassOK ¶
type WatchSchedulingV1PriorityClassOK struct {
Payload *models.IoK8sApimachineryPkgApisMetaV1WatchEvent
}
WatchSchedulingV1PriorityClassOK handles this case with default header values.
OK
func NewWatchSchedulingV1PriorityClassOK ¶
func NewWatchSchedulingV1PriorityClassOK() *WatchSchedulingV1PriorityClassOK
NewWatchSchedulingV1PriorityClassOK creates a WatchSchedulingV1PriorityClassOK with default headers values
func (*WatchSchedulingV1PriorityClassOK) Error ¶
func (o *WatchSchedulingV1PriorityClassOK) Error() string
func (*WatchSchedulingV1PriorityClassOK) GetPayload ¶
func (o *WatchSchedulingV1PriorityClassOK) GetPayload() *models.IoK8sApimachineryPkgApisMetaV1WatchEvent
type WatchSchedulingV1PriorityClassParams ¶
type WatchSchedulingV1PriorityClassParams struct { /*AllowWatchBookmarks 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. */ AllowWatchBookmarks *bool /*Continue 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. */ Continue *string /*FieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. */ FieldSelector *string /*LabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. */ LabelSelector *string /*Limit 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. */ Limit *int64 /*Name name of the PriorityClass */ Name string /*Pretty If 'true', then the output is pretty printed. */ Pretty *string /*ResourceVersion 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 */ ResourceVersion *string /*ResourceVersionMatch 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 */ ResourceVersionMatch *string /*TimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. */ TimeoutSeconds *int64 /*Watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ Watch *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WatchSchedulingV1PriorityClassParams contains all the parameters to send to the API endpoint for the watch scheduling v1 priority class operation typically these are written to a http.Request
func NewWatchSchedulingV1PriorityClassParams ¶
func NewWatchSchedulingV1PriorityClassParams() *WatchSchedulingV1PriorityClassParams
NewWatchSchedulingV1PriorityClassParams creates a new WatchSchedulingV1PriorityClassParams object with the default values initialized.
func NewWatchSchedulingV1PriorityClassParamsWithContext ¶
func NewWatchSchedulingV1PriorityClassParamsWithContext(ctx context.Context) *WatchSchedulingV1PriorityClassParams
NewWatchSchedulingV1PriorityClassParamsWithContext creates a new WatchSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a context for a request
func NewWatchSchedulingV1PriorityClassParamsWithHTTPClient ¶
func NewWatchSchedulingV1PriorityClassParamsWithHTTPClient(client *http.Client) *WatchSchedulingV1PriorityClassParams
NewWatchSchedulingV1PriorityClassParamsWithHTTPClient creates a new WatchSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewWatchSchedulingV1PriorityClassParamsWithTimeout ¶
func NewWatchSchedulingV1PriorityClassParamsWithTimeout(timeout time.Duration) *WatchSchedulingV1PriorityClassParams
NewWatchSchedulingV1PriorityClassParamsWithTimeout creates a new WatchSchedulingV1PriorityClassParams object with the default values initialized, and the ability to set a timeout on a request
func (*WatchSchedulingV1PriorityClassParams) SetAllowWatchBookmarks ¶
func (o *WatchSchedulingV1PriorityClassParams) SetAllowWatchBookmarks(allowWatchBookmarks *bool)
SetAllowWatchBookmarks adds the allowWatchBookmarks to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetContext ¶
func (o *WatchSchedulingV1PriorityClassParams) SetContext(ctx context.Context)
SetContext adds the context to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetContinue ¶
func (o *WatchSchedulingV1PriorityClassParams) SetContinue(continueVar *string)
SetContinue adds the continue to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetFieldSelector ¶
func (o *WatchSchedulingV1PriorityClassParams) SetFieldSelector(fieldSelector *string)
SetFieldSelector adds the fieldSelector to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetHTTPClient ¶
func (o *WatchSchedulingV1PriorityClassParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetLabelSelector ¶
func (o *WatchSchedulingV1PriorityClassParams) SetLabelSelector(labelSelector *string)
SetLabelSelector adds the labelSelector to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetLimit ¶
func (o *WatchSchedulingV1PriorityClassParams) SetLimit(limit *int64)
SetLimit adds the limit to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetName ¶
func (o *WatchSchedulingV1PriorityClassParams) SetName(name string)
SetName adds the name to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetPretty ¶
func (o *WatchSchedulingV1PriorityClassParams) SetPretty(pretty *string)
SetPretty adds the pretty to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetResourceVersion ¶
func (o *WatchSchedulingV1PriorityClassParams) SetResourceVersion(resourceVersion *string)
SetResourceVersion adds the resourceVersion to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetResourceVersionMatch ¶
func (o *WatchSchedulingV1PriorityClassParams) SetResourceVersionMatch(resourceVersionMatch *string)
SetResourceVersionMatch adds the resourceVersionMatch to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetTimeout ¶
func (o *WatchSchedulingV1PriorityClassParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetTimeoutSeconds ¶
func (o *WatchSchedulingV1PriorityClassParams) SetTimeoutSeconds(timeoutSeconds *int64)
SetTimeoutSeconds adds the timeoutSeconds to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) SetWatch ¶
func (o *WatchSchedulingV1PriorityClassParams) SetWatch(watch *bool)
SetWatch adds the watch to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithAllowWatchBookmarks ¶
func (o *WatchSchedulingV1PriorityClassParams) WithAllowWatchBookmarks(allowWatchBookmarks *bool) *WatchSchedulingV1PriorityClassParams
WithAllowWatchBookmarks adds the allowWatchBookmarks to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithContext ¶
func (o *WatchSchedulingV1PriorityClassParams) WithContext(ctx context.Context) *WatchSchedulingV1PriorityClassParams
WithContext adds the context to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithContinue ¶
func (o *WatchSchedulingV1PriorityClassParams) WithContinue(continueVar *string) *WatchSchedulingV1PriorityClassParams
WithContinue adds the continueVar to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithFieldSelector ¶
func (o *WatchSchedulingV1PriorityClassParams) WithFieldSelector(fieldSelector *string) *WatchSchedulingV1PriorityClassParams
WithFieldSelector adds the fieldSelector to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithHTTPClient ¶
func (o *WatchSchedulingV1PriorityClassParams) WithHTTPClient(client *http.Client) *WatchSchedulingV1PriorityClassParams
WithHTTPClient adds the HTTPClient to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithLabelSelector ¶
func (o *WatchSchedulingV1PriorityClassParams) WithLabelSelector(labelSelector *string) *WatchSchedulingV1PriorityClassParams
WithLabelSelector adds the labelSelector to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithLimit ¶
func (o *WatchSchedulingV1PriorityClassParams) WithLimit(limit *int64) *WatchSchedulingV1PriorityClassParams
WithLimit adds the limit to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithName ¶
func (o *WatchSchedulingV1PriorityClassParams) WithName(name string) *WatchSchedulingV1PriorityClassParams
WithName adds the name to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithPretty ¶
func (o *WatchSchedulingV1PriorityClassParams) WithPretty(pretty *string) *WatchSchedulingV1PriorityClassParams
WithPretty adds the pretty to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithResourceVersion ¶
func (o *WatchSchedulingV1PriorityClassParams) WithResourceVersion(resourceVersion *string) *WatchSchedulingV1PriorityClassParams
WithResourceVersion adds the resourceVersion to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithResourceVersionMatch ¶
func (o *WatchSchedulingV1PriorityClassParams) WithResourceVersionMatch(resourceVersionMatch *string) *WatchSchedulingV1PriorityClassParams
WithResourceVersionMatch adds the resourceVersionMatch to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithTimeout ¶
func (o *WatchSchedulingV1PriorityClassParams) WithTimeout(timeout time.Duration) *WatchSchedulingV1PriorityClassParams
WithTimeout adds the timeout to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithTimeoutSeconds ¶
func (o *WatchSchedulingV1PriorityClassParams) WithTimeoutSeconds(timeoutSeconds *int64) *WatchSchedulingV1PriorityClassParams
WithTimeoutSeconds adds the timeoutSeconds to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WithWatch ¶
func (o *WatchSchedulingV1PriorityClassParams) WithWatch(watch *bool) *WatchSchedulingV1PriorityClassParams
WithWatch adds the watch to the watch scheduling v1 priority class params
func (*WatchSchedulingV1PriorityClassParams) WriteToRequest ¶
func (o *WatchSchedulingV1PriorityClassParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WatchSchedulingV1PriorityClassReader ¶
type WatchSchedulingV1PriorityClassReader struct {
// contains filtered or unexported fields
}
WatchSchedulingV1PriorityClassReader is a Reader for the WatchSchedulingV1PriorityClass structure.
func (*WatchSchedulingV1PriorityClassReader) ReadResponse ¶
func (o *WatchSchedulingV1PriorityClassReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WatchSchedulingV1PriorityClassUnauthorized ¶
type WatchSchedulingV1PriorityClassUnauthorized struct { }
WatchSchedulingV1PriorityClassUnauthorized handles this case with default header values.
Unauthorized
func NewWatchSchedulingV1PriorityClassUnauthorized ¶
func NewWatchSchedulingV1PriorityClassUnauthorized() *WatchSchedulingV1PriorityClassUnauthorized
NewWatchSchedulingV1PriorityClassUnauthorized creates a WatchSchedulingV1PriorityClassUnauthorized with default headers values
func (*WatchSchedulingV1PriorityClassUnauthorized) Error ¶
func (o *WatchSchedulingV1PriorityClassUnauthorized) Error() string
Source Files
¶
- create_scheduling_v1_priority_class_parameters.go
- create_scheduling_v1_priority_class_responses.go
- delete_scheduling_v1_collection_priority_class_parameters.go
- delete_scheduling_v1_collection_priority_class_responses.go
- delete_scheduling_v1_priority_class_parameters.go
- delete_scheduling_v1_priority_class_responses.go
- get_scheduling_v1_api_resources_parameters.go
- get_scheduling_v1_api_resources_responses.go
- list_scheduling_v1_priority_class_parameters.go
- list_scheduling_v1_priority_class_responses.go
- patch_scheduling_v1_priority_class_parameters.go
- patch_scheduling_v1_priority_class_responses.go
- read_scheduling_v1_priority_class_parameters.go
- read_scheduling_v1_priority_class_responses.go
- replace_scheduling_v1_priority_class_parameters.go
- replace_scheduling_v1_priority_class_responses.go
- scheduling_v1_client.go
- watch_scheduling_v1_priority_class_list_parameters.go
- watch_scheduling_v1_priority_class_list_responses.go
- watch_scheduling_v1_priority_class_parameters.go
- watch_scheduling_v1_priority_class_responses.go