Documentation
¶
Index ¶
- type Client
- func (a *Client) CopyBatch(params *CopyBatchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CopyBatchOK, error)
- func (a *Client) CopyBatchContext(ctx context.Context, params *CopyBatchParams, ...) (*CopyBatchOK, error)
- func (a *Client) CopyJob(params *CopyJobParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CopyJobOK, error)
- func (a *Client) CopyJobContext(ctx context.Context, params *CopyJobParams, ...) (*CopyJobOK, error)
- func (a *Client) DeleteBatch(params *DeleteBatchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBatchNoContent, error)
- func (a *Client) DeleteBatchContext(ctx context.Context, params *DeleteBatchParams, ...) (*DeleteBatchNoContent, error)
- func (a *Client) DeleteJob(params *DeleteJobParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteJobNoContent, error)
- func (a *Client) DeleteJobContext(ctx context.Context, params *DeleteJobParams, ...) (*DeleteJobNoContent, error)
- func (a *Client) GetBatch(params *GetBatchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBatchOK, error)
- func (a *Client) GetBatchContext(ctx context.Context, params *GetBatchParams, ...) (*GetBatchOK, error)
- func (a *Client) GetBatches(params *GetBatchesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBatchesOK, error)
- func (a *Client) GetBatchesContext(ctx context.Context, params *GetBatchesParams, ...) (*GetBatchesOK, error)
- func (a *Client) GetJob(params *GetJobParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetJobOK, error)
- func (a *Client) GetJobComponentDeployments(params *GetJobComponentDeploymentsParams, ...) (*GetJobComponentDeploymentsOK, error)
- func (a *Client) GetJobComponentDeploymentsContext(ctx context.Context, params *GetJobComponentDeploymentsParams, ...) (*GetJobComponentDeploymentsOK, error)
- func (a *Client) GetJobContext(ctx context.Context, params *GetJobParams, ...) (*GetJobOK, error)
- func (a *Client) GetJobPayload(params *GetJobPayloadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetJobPayloadOK, error)
- func (a *Client) GetJobPayloadContext(ctx context.Context, params *GetJobPayloadParams, ...) (*GetJobPayloadOK, error)
- func (a *Client) GetJobs(params *GetJobsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetJobsOK, error)
- func (a *Client) GetJobsContext(ctx context.Context, params *GetJobsParams, ...) (*GetJobsOK, error)
- func (a *Client) JobLog(params *JobLogParams, authInfo runtime.ClientAuthInfoWriter, ...) (*JobLogOK, error)
- func (a *Client) JobLogContext(ctx context.Context, params *JobLogParams, ...) (*JobLogOK, error)
- func (a *Client) RestartBatch(params *RestartBatchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestartBatchNoContent, error)
- func (a *Client) RestartBatchContext(ctx context.Context, params *RestartBatchParams, ...) (*RestartBatchNoContent, error)
- func (a *Client) RestartJob(params *RestartJobParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestartJobNoContent, error)
- func (a *Client) RestartJobContext(ctx context.Context, params *RestartJobParams, ...) (*RestartJobNoContent, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- func (a *Client) StopAllBatches(params *StopAllBatchesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StopAllBatchesNoContent, error)
- func (a *Client) StopAllBatchesAndJobsForEnvironment(params *StopAllBatchesAndJobsForEnvironmentParams, ...) (*StopAllBatchesAndJobsForEnvironmentNoContent, error)
- func (a *Client) StopAllBatchesAndJobsForEnvironmentContext(ctx context.Context, params *StopAllBatchesAndJobsForEnvironmentParams, ...) (*StopAllBatchesAndJobsForEnvironmentNoContent, error)
- func (a *Client) StopAllBatchesAndJobsForJobComponent(params *StopAllBatchesAndJobsForJobComponentParams, ...) (*StopAllBatchesAndJobsForJobComponentNoContent, error)
- func (a *Client) StopAllBatchesAndJobsForJobComponentContext(ctx context.Context, params *StopAllBatchesAndJobsForJobComponentParams, ...) (*StopAllBatchesAndJobsForJobComponentNoContent, error)
- func (a *Client) StopAllBatchesContext(ctx context.Context, params *StopAllBatchesParams, ...) (*StopAllBatchesNoContent, error)
- func (a *Client) StopAllJobs(params *StopAllJobsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StopAllJobsNoContent, error)
- func (a *Client) StopAllJobsContext(ctx context.Context, params *StopAllJobsParams, ...) (*StopAllJobsNoContent, error)
- func (a *Client) StopBatch(params *StopBatchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StopBatchNoContent, error)
- func (a *Client) StopBatchContext(ctx context.Context, params *StopBatchParams, ...) (*StopBatchNoContent, error)
- func (a *Client) StopJob(params *StopJobParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StopJobNoContent, error)
- func (a *Client) StopJobContext(ctx context.Context, params *StopJobParams, ...) (*StopJobNoContent, error)
- type ClientOption
- type ClientService
- type CopyBatchBadRequest
- func (o *CopyBatchBadRequest) Code() int
- func (o *CopyBatchBadRequest) Error() string
- func (o *CopyBatchBadRequest) IsClientError() bool
- func (o *CopyBatchBadRequest) IsCode(code int) bool
- func (o *CopyBatchBadRequest) IsRedirect() bool
- func (o *CopyBatchBadRequest) IsServerError() bool
- func (o *CopyBatchBadRequest) IsSuccess() bool
- func (o *CopyBatchBadRequest) String() string
- type CopyBatchForbidden
- func (o *CopyBatchForbidden) Code() int
- func (o *CopyBatchForbidden) Error() string
- func (o *CopyBatchForbidden) IsClientError() bool
- func (o *CopyBatchForbidden) IsCode(code int) bool
- func (o *CopyBatchForbidden) IsRedirect() bool
- func (o *CopyBatchForbidden) IsServerError() bool
- func (o *CopyBatchForbidden) IsSuccess() bool
- func (o *CopyBatchForbidden) String() string
- type CopyBatchNotFound
- func (o *CopyBatchNotFound) Code() int
- func (o *CopyBatchNotFound) Error() string
- func (o *CopyBatchNotFound) IsClientError() bool
- func (o *CopyBatchNotFound) IsCode(code int) bool
- func (o *CopyBatchNotFound) IsRedirect() bool
- func (o *CopyBatchNotFound) IsServerError() bool
- func (o *CopyBatchNotFound) IsSuccess() bool
- func (o *CopyBatchNotFound) String() string
- type CopyBatchOK
- func (o *CopyBatchOK) Code() int
- func (o *CopyBatchOK) Error() string
- func (o *CopyBatchOK) GetPayload() *models.ScheduledBatchSummary
- func (o *CopyBatchOK) IsClientError() bool
- func (o *CopyBatchOK) IsCode(code int) bool
- func (o *CopyBatchOK) IsRedirect() bool
- func (o *CopyBatchOK) IsServerError() bool
- func (o *CopyBatchOK) IsSuccess() bool
- func (o *CopyBatchOK) String() string
- type CopyBatchParams
- func (o *CopyBatchParams) SetAppName(appName string)
- func (o *CopyBatchParams) SetBatchName(batchName string)
- func (o *CopyBatchParams) SetContext(ctx context.Context)deprecated
- func (o *CopyBatchParams) SetDefaults()
- func (o *CopyBatchParams) SetEnvName(envName string)
- func (o *CopyBatchParams) SetHTTPClient(client *http.Client)
- func (o *CopyBatchParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *CopyBatchParams) SetImpersonateUser(impersonateUser *string)
- func (o *CopyBatchParams) SetJobComponentName(jobComponentName string)
- func (o *CopyBatchParams) SetScheduledBatchRequest(scheduledBatchRequest *models.ScheduledBatchRequest)
- func (o *CopyBatchParams) SetTimeout(timeout time.Duration)
- func (o *CopyBatchParams) WithAppName(appName string) *CopyBatchParams
- func (o *CopyBatchParams) WithBatchName(batchName string) *CopyBatchParams
- func (o *CopyBatchParams) WithContext(ctx context.Context) *CopyBatchParamsdeprecated
- func (o *CopyBatchParams) WithDefaults() *CopyBatchParams
- func (o *CopyBatchParams) WithEnvName(envName string) *CopyBatchParams
- func (o *CopyBatchParams) WithHTTPClient(client *http.Client) *CopyBatchParams
- func (o *CopyBatchParams) WithImpersonateGroup(impersonateGroup *string) *CopyBatchParams
- func (o *CopyBatchParams) WithImpersonateUser(impersonateUser *string) *CopyBatchParams
- func (o *CopyBatchParams) WithJobComponentName(jobComponentName string) *CopyBatchParams
- func (o *CopyBatchParams) WithScheduledBatchRequest(scheduledBatchRequest *models.ScheduledBatchRequest) *CopyBatchParams
- func (o *CopyBatchParams) WithTimeout(timeout time.Duration) *CopyBatchParams
- func (o *CopyBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CopyBatchReader
- type CopyBatchUnauthorized
- func (o *CopyBatchUnauthorized) Code() int
- func (o *CopyBatchUnauthorized) Error() string
- func (o *CopyBatchUnauthorized) IsClientError() bool
- func (o *CopyBatchUnauthorized) IsCode(code int) bool
- func (o *CopyBatchUnauthorized) IsRedirect() bool
- func (o *CopyBatchUnauthorized) IsServerError() bool
- func (o *CopyBatchUnauthorized) IsSuccess() bool
- func (o *CopyBatchUnauthorized) String() string
- type CopyJobBadRequest
- func (o *CopyJobBadRequest) Code() int
- func (o *CopyJobBadRequest) Error() string
- func (o *CopyJobBadRequest) IsClientError() bool
- func (o *CopyJobBadRequest) IsCode(code int) bool
- func (o *CopyJobBadRequest) IsRedirect() bool
- func (o *CopyJobBadRequest) IsServerError() bool
- func (o *CopyJobBadRequest) IsSuccess() bool
- func (o *CopyJobBadRequest) String() string
- type CopyJobForbidden
- func (o *CopyJobForbidden) Code() int
- func (o *CopyJobForbidden) Error() string
- func (o *CopyJobForbidden) IsClientError() bool
- func (o *CopyJobForbidden) IsCode(code int) bool
- func (o *CopyJobForbidden) IsRedirect() bool
- func (o *CopyJobForbidden) IsServerError() bool
- func (o *CopyJobForbidden) IsSuccess() bool
- func (o *CopyJobForbidden) String() string
- type CopyJobNotFound
- func (o *CopyJobNotFound) Code() int
- func (o *CopyJobNotFound) Error() string
- func (o *CopyJobNotFound) IsClientError() bool
- func (o *CopyJobNotFound) IsCode(code int) bool
- func (o *CopyJobNotFound) IsRedirect() bool
- func (o *CopyJobNotFound) IsServerError() bool
- func (o *CopyJobNotFound) IsSuccess() bool
- func (o *CopyJobNotFound) String() string
- type CopyJobOK
- func (o *CopyJobOK) Code() int
- func (o *CopyJobOK) Error() string
- func (o *CopyJobOK) GetPayload() *models.ScheduledJobSummary
- func (o *CopyJobOK) IsClientError() bool
- func (o *CopyJobOK) IsCode(code int) bool
- func (o *CopyJobOK) IsRedirect() bool
- func (o *CopyJobOK) IsServerError() bool
- func (o *CopyJobOK) IsSuccess() bool
- func (o *CopyJobOK) String() string
- type CopyJobParams
- func (o *CopyJobParams) SetAppName(appName string)
- func (o *CopyJobParams) SetContext(ctx context.Context)deprecated
- func (o *CopyJobParams) SetDefaults()
- func (o *CopyJobParams) SetEnvName(envName string)
- func (o *CopyJobParams) SetHTTPClient(client *http.Client)
- func (o *CopyJobParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *CopyJobParams) SetImpersonateUser(impersonateUser *string)
- func (o *CopyJobParams) SetJobComponentName(jobComponentName string)
- func (o *CopyJobParams) SetJobName(jobName string)
- func (o *CopyJobParams) SetScheduledJobRequest(scheduledJobRequest *models.ScheduledJobRequest)
- func (o *CopyJobParams) SetTimeout(timeout time.Duration)
- func (o *CopyJobParams) WithAppName(appName string) *CopyJobParams
- func (o *CopyJobParams) WithContext(ctx context.Context) *CopyJobParamsdeprecated
- func (o *CopyJobParams) WithDefaults() *CopyJobParams
- func (o *CopyJobParams) WithEnvName(envName string) *CopyJobParams
- func (o *CopyJobParams) WithHTTPClient(client *http.Client) *CopyJobParams
- func (o *CopyJobParams) WithImpersonateGroup(impersonateGroup *string) *CopyJobParams
- func (o *CopyJobParams) WithImpersonateUser(impersonateUser *string) *CopyJobParams
- func (o *CopyJobParams) WithJobComponentName(jobComponentName string) *CopyJobParams
- func (o *CopyJobParams) WithJobName(jobName string) *CopyJobParams
- func (o *CopyJobParams) WithScheduledJobRequest(scheduledJobRequest *models.ScheduledJobRequest) *CopyJobParams
- func (o *CopyJobParams) WithTimeout(timeout time.Duration) *CopyJobParams
- func (o *CopyJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CopyJobReader
- type CopyJobUnauthorized
- func (o *CopyJobUnauthorized) Code() int
- func (o *CopyJobUnauthorized) Error() string
- func (o *CopyJobUnauthorized) IsClientError() bool
- func (o *CopyJobUnauthorized) IsCode(code int) bool
- func (o *CopyJobUnauthorized) IsRedirect() bool
- func (o *CopyJobUnauthorized) IsServerError() bool
- func (o *CopyJobUnauthorized) IsSuccess() bool
- func (o *CopyJobUnauthorized) String() string
- type DeleteBatchBadRequest
- func (o *DeleteBatchBadRequest) Code() int
- func (o *DeleteBatchBadRequest) Error() string
- func (o *DeleteBatchBadRequest) IsClientError() bool
- func (o *DeleteBatchBadRequest) IsCode(code int) bool
- func (o *DeleteBatchBadRequest) IsRedirect() bool
- func (o *DeleteBatchBadRequest) IsServerError() bool
- func (o *DeleteBatchBadRequest) IsSuccess() bool
- func (o *DeleteBatchBadRequest) String() string
- type DeleteBatchForbidden
- func (o *DeleteBatchForbidden) Code() int
- func (o *DeleteBatchForbidden) Error() string
- func (o *DeleteBatchForbidden) IsClientError() bool
- func (o *DeleteBatchForbidden) IsCode(code int) bool
- func (o *DeleteBatchForbidden) IsRedirect() bool
- func (o *DeleteBatchForbidden) IsServerError() bool
- func (o *DeleteBatchForbidden) IsSuccess() bool
- func (o *DeleteBatchForbidden) String() string
- type DeleteBatchNoContent
- func (o *DeleteBatchNoContent) Code() int
- func (o *DeleteBatchNoContent) Error() string
- func (o *DeleteBatchNoContent) IsClientError() bool
- func (o *DeleteBatchNoContent) IsCode(code int) bool
- func (o *DeleteBatchNoContent) IsRedirect() bool
- func (o *DeleteBatchNoContent) IsServerError() bool
- func (o *DeleteBatchNoContent) IsSuccess() bool
- func (o *DeleteBatchNoContent) String() string
- type DeleteBatchNotFound
- func (o *DeleteBatchNotFound) Code() int
- func (o *DeleteBatchNotFound) Error() string
- func (o *DeleteBatchNotFound) IsClientError() bool
- func (o *DeleteBatchNotFound) IsCode(code int) bool
- func (o *DeleteBatchNotFound) IsRedirect() bool
- func (o *DeleteBatchNotFound) IsServerError() bool
- func (o *DeleteBatchNotFound) IsSuccess() bool
- func (o *DeleteBatchNotFound) String() string
- type DeleteBatchParams
- func (o *DeleteBatchParams) SetAppName(appName string)
- func (o *DeleteBatchParams) SetBatchName(batchName string)
- func (o *DeleteBatchParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteBatchParams) SetDefaults()
- func (o *DeleteBatchParams) SetEnvName(envName string)
- func (o *DeleteBatchParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBatchParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *DeleteBatchParams) SetImpersonateUser(impersonateUser *string)
- func (o *DeleteBatchParams) SetJobComponentName(jobComponentName string)
- func (o *DeleteBatchParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBatchParams) WithAppName(appName string) *DeleteBatchParams
- func (o *DeleteBatchParams) WithBatchName(batchName string) *DeleteBatchParams
- func (o *DeleteBatchParams) WithContext(ctx context.Context) *DeleteBatchParamsdeprecated
- func (o *DeleteBatchParams) WithDefaults() *DeleteBatchParams
- func (o *DeleteBatchParams) WithEnvName(envName string) *DeleteBatchParams
- func (o *DeleteBatchParams) WithHTTPClient(client *http.Client) *DeleteBatchParams
- func (o *DeleteBatchParams) WithImpersonateGroup(impersonateGroup *string) *DeleteBatchParams
- func (o *DeleteBatchParams) WithImpersonateUser(impersonateUser *string) *DeleteBatchParams
- func (o *DeleteBatchParams) WithJobComponentName(jobComponentName string) *DeleteBatchParams
- func (o *DeleteBatchParams) WithTimeout(timeout time.Duration) *DeleteBatchParams
- func (o *DeleteBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBatchReader
- type DeleteBatchUnauthorized
- func (o *DeleteBatchUnauthorized) Code() int
- func (o *DeleteBatchUnauthorized) Error() string
- func (o *DeleteBatchUnauthorized) IsClientError() bool
- func (o *DeleteBatchUnauthorized) IsCode(code int) bool
- func (o *DeleteBatchUnauthorized) IsRedirect() bool
- func (o *DeleteBatchUnauthorized) IsServerError() bool
- func (o *DeleteBatchUnauthorized) IsSuccess() bool
- func (o *DeleteBatchUnauthorized) String() string
- type DeleteJobBadRequest
- func (o *DeleteJobBadRequest) Code() int
- func (o *DeleteJobBadRequest) Error() string
- func (o *DeleteJobBadRequest) IsClientError() bool
- func (o *DeleteJobBadRequest) IsCode(code int) bool
- func (o *DeleteJobBadRequest) IsRedirect() bool
- func (o *DeleteJobBadRequest) IsServerError() bool
- func (o *DeleteJobBadRequest) IsSuccess() bool
- func (o *DeleteJobBadRequest) String() string
- type DeleteJobForbidden
- func (o *DeleteJobForbidden) Code() int
- func (o *DeleteJobForbidden) Error() string
- func (o *DeleteJobForbidden) IsClientError() bool
- func (o *DeleteJobForbidden) IsCode(code int) bool
- func (o *DeleteJobForbidden) IsRedirect() bool
- func (o *DeleteJobForbidden) IsServerError() bool
- func (o *DeleteJobForbidden) IsSuccess() bool
- func (o *DeleteJobForbidden) String() string
- type DeleteJobNoContent
- func (o *DeleteJobNoContent) Code() int
- func (o *DeleteJobNoContent) Error() string
- func (o *DeleteJobNoContent) IsClientError() bool
- func (o *DeleteJobNoContent) IsCode(code int) bool
- func (o *DeleteJobNoContent) IsRedirect() bool
- func (o *DeleteJobNoContent) IsServerError() bool
- func (o *DeleteJobNoContent) IsSuccess() bool
- func (o *DeleteJobNoContent) String() string
- type DeleteJobNotFound
- func (o *DeleteJobNotFound) Code() int
- func (o *DeleteJobNotFound) Error() string
- func (o *DeleteJobNotFound) IsClientError() bool
- func (o *DeleteJobNotFound) IsCode(code int) bool
- func (o *DeleteJobNotFound) IsRedirect() bool
- func (o *DeleteJobNotFound) IsServerError() bool
- func (o *DeleteJobNotFound) IsSuccess() bool
- func (o *DeleteJobNotFound) String() string
- type DeleteJobParams
- func (o *DeleteJobParams) SetAppName(appName string)
- func (o *DeleteJobParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteJobParams) SetDefaults()
- func (o *DeleteJobParams) SetEnvName(envName string)
- func (o *DeleteJobParams) SetHTTPClient(client *http.Client)
- func (o *DeleteJobParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *DeleteJobParams) SetImpersonateUser(impersonateUser *string)
- func (o *DeleteJobParams) SetJobComponentName(jobComponentName string)
- func (o *DeleteJobParams) SetJobName(jobName string)
- func (o *DeleteJobParams) SetTimeout(timeout time.Duration)
- func (o *DeleteJobParams) WithAppName(appName string) *DeleteJobParams
- func (o *DeleteJobParams) WithContext(ctx context.Context) *DeleteJobParamsdeprecated
- func (o *DeleteJobParams) WithDefaults() *DeleteJobParams
- func (o *DeleteJobParams) WithEnvName(envName string) *DeleteJobParams
- func (o *DeleteJobParams) WithHTTPClient(client *http.Client) *DeleteJobParams
- func (o *DeleteJobParams) WithImpersonateGroup(impersonateGroup *string) *DeleteJobParams
- func (o *DeleteJobParams) WithImpersonateUser(impersonateUser *string) *DeleteJobParams
- func (o *DeleteJobParams) WithJobComponentName(jobComponentName string) *DeleteJobParams
- func (o *DeleteJobParams) WithJobName(jobName string) *DeleteJobParams
- func (o *DeleteJobParams) WithTimeout(timeout time.Duration) *DeleteJobParams
- func (o *DeleteJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteJobReader
- type DeleteJobUnauthorized
- func (o *DeleteJobUnauthorized) Code() int
- func (o *DeleteJobUnauthorized) Error() string
- func (o *DeleteJobUnauthorized) IsClientError() bool
- func (o *DeleteJobUnauthorized) IsCode(code int) bool
- func (o *DeleteJobUnauthorized) IsRedirect() bool
- func (o *DeleteJobUnauthorized) IsServerError() bool
- func (o *DeleteJobUnauthorized) IsSuccess() bool
- func (o *DeleteJobUnauthorized) String() string
- type GetBatchNotFound
- func (o *GetBatchNotFound) Code() int
- func (o *GetBatchNotFound) Error() string
- func (o *GetBatchNotFound) IsClientError() bool
- func (o *GetBatchNotFound) IsCode(code int) bool
- func (o *GetBatchNotFound) IsRedirect() bool
- func (o *GetBatchNotFound) IsServerError() bool
- func (o *GetBatchNotFound) IsSuccess() bool
- func (o *GetBatchNotFound) String() string
- type GetBatchOK
- func (o *GetBatchOK) Code() int
- func (o *GetBatchOK) Error() string
- func (o *GetBatchOK) GetPayload() *models.ScheduledBatchSummary
- func (o *GetBatchOK) IsClientError() bool
- func (o *GetBatchOK) IsCode(code int) bool
- func (o *GetBatchOK) IsRedirect() bool
- func (o *GetBatchOK) IsServerError() bool
- func (o *GetBatchOK) IsSuccess() bool
- func (o *GetBatchOK) String() string
- type GetBatchParams
- func (o *GetBatchParams) SetAppName(appName string)
- func (o *GetBatchParams) SetBatchName(batchName string)
- func (o *GetBatchParams) SetContext(ctx context.Context)deprecated
- func (o *GetBatchParams) SetDefaults()
- func (o *GetBatchParams) SetEnvName(envName string)
- func (o *GetBatchParams) SetHTTPClient(client *http.Client)
- func (o *GetBatchParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *GetBatchParams) SetImpersonateUser(impersonateUser *string)
- func (o *GetBatchParams) SetJobComponentName(jobComponentName string)
- func (o *GetBatchParams) SetTimeout(timeout time.Duration)
- func (o *GetBatchParams) WithAppName(appName string) *GetBatchParams
- func (o *GetBatchParams) WithBatchName(batchName string) *GetBatchParams
- func (o *GetBatchParams) WithContext(ctx context.Context) *GetBatchParamsdeprecated
- func (o *GetBatchParams) WithDefaults() *GetBatchParams
- func (o *GetBatchParams) WithEnvName(envName string) *GetBatchParams
- func (o *GetBatchParams) WithHTTPClient(client *http.Client) *GetBatchParams
- func (o *GetBatchParams) WithImpersonateGroup(impersonateGroup *string) *GetBatchParams
- func (o *GetBatchParams) WithImpersonateUser(impersonateUser *string) *GetBatchParams
- func (o *GetBatchParams) WithJobComponentName(jobComponentName string) *GetBatchParams
- func (o *GetBatchParams) WithTimeout(timeout time.Duration) *GetBatchParams
- func (o *GetBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBatchReader
- type GetBatchesNotFound
- func (o *GetBatchesNotFound) Code() int
- func (o *GetBatchesNotFound) Error() string
- func (o *GetBatchesNotFound) IsClientError() bool
- func (o *GetBatchesNotFound) IsCode(code int) bool
- func (o *GetBatchesNotFound) IsRedirect() bool
- func (o *GetBatchesNotFound) IsServerError() bool
- func (o *GetBatchesNotFound) IsSuccess() bool
- func (o *GetBatchesNotFound) String() string
- type GetBatchesOK
- func (o *GetBatchesOK) Code() int
- func (o *GetBatchesOK) Error() string
- func (o *GetBatchesOK) GetPayload() []*models.ScheduledBatchSummary
- func (o *GetBatchesOK) IsClientError() bool
- func (o *GetBatchesOK) IsCode(code int) bool
- func (o *GetBatchesOK) IsRedirect() bool
- func (o *GetBatchesOK) IsServerError() bool
- func (o *GetBatchesOK) IsSuccess() bool
- func (o *GetBatchesOK) String() string
- type GetBatchesParams
- func (o *GetBatchesParams) SetAppName(appName string)
- func (o *GetBatchesParams) SetContext(ctx context.Context)deprecated
- func (o *GetBatchesParams) SetDefaults()
- func (o *GetBatchesParams) SetEnvName(envName string)
- func (o *GetBatchesParams) SetHTTPClient(client *http.Client)
- func (o *GetBatchesParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *GetBatchesParams) SetImpersonateUser(impersonateUser *string)
- func (o *GetBatchesParams) SetJobComponentName(jobComponentName string)
- func (o *GetBatchesParams) SetTimeout(timeout time.Duration)
- func (o *GetBatchesParams) WithAppName(appName string) *GetBatchesParams
- func (o *GetBatchesParams) WithContext(ctx context.Context) *GetBatchesParamsdeprecated
- func (o *GetBatchesParams) WithDefaults() *GetBatchesParams
- func (o *GetBatchesParams) WithEnvName(envName string) *GetBatchesParams
- func (o *GetBatchesParams) WithHTTPClient(client *http.Client) *GetBatchesParams
- func (o *GetBatchesParams) WithImpersonateGroup(impersonateGroup *string) *GetBatchesParams
- func (o *GetBatchesParams) WithImpersonateUser(impersonateUser *string) *GetBatchesParams
- func (o *GetBatchesParams) WithJobComponentName(jobComponentName string) *GetBatchesParams
- func (o *GetBatchesParams) WithTimeout(timeout time.Duration) *GetBatchesParams
- func (o *GetBatchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBatchesReader
- type GetJobComponentDeploymentsNotFound
- func (o *GetJobComponentDeploymentsNotFound) Code() int
- func (o *GetJobComponentDeploymentsNotFound) Error() string
- func (o *GetJobComponentDeploymentsNotFound) IsClientError() bool
- func (o *GetJobComponentDeploymentsNotFound) IsCode(code int) bool
- func (o *GetJobComponentDeploymentsNotFound) IsRedirect() bool
- func (o *GetJobComponentDeploymentsNotFound) IsServerError() bool
- func (o *GetJobComponentDeploymentsNotFound) IsSuccess() bool
- func (o *GetJobComponentDeploymentsNotFound) String() string
- type GetJobComponentDeploymentsOK
- func (o *GetJobComponentDeploymentsOK) Code() int
- func (o *GetJobComponentDeploymentsOK) Error() string
- func (o *GetJobComponentDeploymentsOK) GetPayload() []*models.DeploymentItem
- func (o *GetJobComponentDeploymentsOK) IsClientError() bool
- func (o *GetJobComponentDeploymentsOK) IsCode(code int) bool
- func (o *GetJobComponentDeploymentsOK) IsRedirect() bool
- func (o *GetJobComponentDeploymentsOK) IsServerError() bool
- func (o *GetJobComponentDeploymentsOK) IsSuccess() bool
- func (o *GetJobComponentDeploymentsOK) String() string
- type GetJobComponentDeploymentsParams
- func NewGetJobComponentDeploymentsParams() *GetJobComponentDeploymentsParams
- func NewGetJobComponentDeploymentsParamsWithContext(ctx context.Context) *GetJobComponentDeploymentsParamsdeprecated
- func NewGetJobComponentDeploymentsParamsWithHTTPClient(client *http.Client) *GetJobComponentDeploymentsParams
- func NewGetJobComponentDeploymentsParamsWithTimeout(timeout time.Duration) *GetJobComponentDeploymentsParams
- func (o *GetJobComponentDeploymentsParams) SetAppName(appName string)
- func (o *GetJobComponentDeploymentsParams) SetContext(ctx context.Context)deprecated
- func (o *GetJobComponentDeploymentsParams) SetDefaults()
- func (o *GetJobComponentDeploymentsParams) SetEnvName(envName string)
- func (o *GetJobComponentDeploymentsParams) SetHTTPClient(client *http.Client)
- func (o *GetJobComponentDeploymentsParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *GetJobComponentDeploymentsParams) SetImpersonateUser(impersonateUser *string)
- func (o *GetJobComponentDeploymentsParams) SetJobComponentName(jobComponentName string)
- func (o *GetJobComponentDeploymentsParams) SetTimeout(timeout time.Duration)
- func (o *GetJobComponentDeploymentsParams) WithAppName(appName string) *GetJobComponentDeploymentsParams
- func (o *GetJobComponentDeploymentsParams) WithContext(ctx context.Context) *GetJobComponentDeploymentsParamsdeprecated
- func (o *GetJobComponentDeploymentsParams) WithDefaults() *GetJobComponentDeploymentsParams
- func (o *GetJobComponentDeploymentsParams) WithEnvName(envName string) *GetJobComponentDeploymentsParams
- func (o *GetJobComponentDeploymentsParams) WithHTTPClient(client *http.Client) *GetJobComponentDeploymentsParams
- func (o *GetJobComponentDeploymentsParams) WithImpersonateGroup(impersonateGroup *string) *GetJobComponentDeploymentsParams
- func (o *GetJobComponentDeploymentsParams) WithImpersonateUser(impersonateUser *string) *GetJobComponentDeploymentsParams
- func (o *GetJobComponentDeploymentsParams) WithJobComponentName(jobComponentName string) *GetJobComponentDeploymentsParams
- func (o *GetJobComponentDeploymentsParams) WithTimeout(timeout time.Duration) *GetJobComponentDeploymentsParams
- func (o *GetJobComponentDeploymentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobComponentDeploymentsReader
- type GetJobNotFound
- func (o *GetJobNotFound) Code() int
- func (o *GetJobNotFound) Error() string
- func (o *GetJobNotFound) IsClientError() bool
- func (o *GetJobNotFound) IsCode(code int) bool
- func (o *GetJobNotFound) IsRedirect() bool
- func (o *GetJobNotFound) IsServerError() bool
- func (o *GetJobNotFound) IsSuccess() bool
- func (o *GetJobNotFound) String() string
- type GetJobOK
- func (o *GetJobOK) Code() int
- func (o *GetJobOK) Error() string
- func (o *GetJobOK) GetPayload() *models.ScheduledJobSummary
- func (o *GetJobOK) IsClientError() bool
- func (o *GetJobOK) IsCode(code int) bool
- func (o *GetJobOK) IsRedirect() bool
- func (o *GetJobOK) IsServerError() bool
- func (o *GetJobOK) IsSuccess() bool
- func (o *GetJobOK) String() string
- type GetJobParams
- func (o *GetJobParams) SetAppName(appName string)
- func (o *GetJobParams) SetContext(ctx context.Context)deprecated
- func (o *GetJobParams) SetDefaults()
- func (o *GetJobParams) SetEnvName(envName string)
- func (o *GetJobParams) SetHTTPClient(client *http.Client)
- func (o *GetJobParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *GetJobParams) SetImpersonateUser(impersonateUser *string)
- func (o *GetJobParams) SetJobComponentName(jobComponentName string)
- func (o *GetJobParams) SetJobName(jobName string)
- func (o *GetJobParams) SetTimeout(timeout time.Duration)
- func (o *GetJobParams) WithAppName(appName string) *GetJobParams
- func (o *GetJobParams) WithContext(ctx context.Context) *GetJobParamsdeprecated
- func (o *GetJobParams) WithDefaults() *GetJobParams
- func (o *GetJobParams) WithEnvName(envName string) *GetJobParams
- func (o *GetJobParams) WithHTTPClient(client *http.Client) *GetJobParams
- func (o *GetJobParams) WithImpersonateGroup(impersonateGroup *string) *GetJobParams
- func (o *GetJobParams) WithImpersonateUser(impersonateUser *string) *GetJobParams
- func (o *GetJobParams) WithJobComponentName(jobComponentName string) *GetJobParams
- func (o *GetJobParams) WithJobName(jobName string) *GetJobParams
- func (o *GetJobParams) WithTimeout(timeout time.Duration) *GetJobParams
- func (o *GetJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobPayloadNotFound
- func (o *GetJobPayloadNotFound) Code() int
- func (o *GetJobPayloadNotFound) Error() string
- func (o *GetJobPayloadNotFound) IsClientError() bool
- func (o *GetJobPayloadNotFound) IsCode(code int) bool
- func (o *GetJobPayloadNotFound) IsRedirect() bool
- func (o *GetJobPayloadNotFound) IsServerError() bool
- func (o *GetJobPayloadNotFound) IsSuccess() bool
- func (o *GetJobPayloadNotFound) String() string
- type GetJobPayloadOK
- func (o *GetJobPayloadOK) Code() int
- func (o *GetJobPayloadOK) Error() string
- func (o *GetJobPayloadOK) GetPayload() string
- func (o *GetJobPayloadOK) IsClientError() bool
- func (o *GetJobPayloadOK) IsCode(code int) bool
- func (o *GetJobPayloadOK) IsRedirect() bool
- func (o *GetJobPayloadOK) IsServerError() bool
- func (o *GetJobPayloadOK) IsSuccess() bool
- func (o *GetJobPayloadOK) String() string
- type GetJobPayloadParams
- func NewGetJobPayloadParams() *GetJobPayloadParams
- func NewGetJobPayloadParamsWithContext(ctx context.Context) *GetJobPayloadParamsdeprecated
- func NewGetJobPayloadParamsWithHTTPClient(client *http.Client) *GetJobPayloadParams
- func NewGetJobPayloadParamsWithTimeout(timeout time.Duration) *GetJobPayloadParams
- func (o *GetJobPayloadParams) SetAppName(appName string)
- func (o *GetJobPayloadParams) SetContext(ctx context.Context)deprecated
- func (o *GetJobPayloadParams) SetDefaults()
- func (o *GetJobPayloadParams) SetEnvName(envName string)
- func (o *GetJobPayloadParams) SetHTTPClient(client *http.Client)
- func (o *GetJobPayloadParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *GetJobPayloadParams) SetImpersonateUser(impersonateUser *string)
- func (o *GetJobPayloadParams) SetJobComponentName(jobComponentName string)
- func (o *GetJobPayloadParams) SetJobName(jobName string)
- func (o *GetJobPayloadParams) SetTimeout(timeout time.Duration)
- func (o *GetJobPayloadParams) WithAppName(appName string) *GetJobPayloadParams
- func (o *GetJobPayloadParams) WithContext(ctx context.Context) *GetJobPayloadParamsdeprecated
- func (o *GetJobPayloadParams) WithDefaults() *GetJobPayloadParams
- func (o *GetJobPayloadParams) WithEnvName(envName string) *GetJobPayloadParams
- func (o *GetJobPayloadParams) WithHTTPClient(client *http.Client) *GetJobPayloadParams
- func (o *GetJobPayloadParams) WithImpersonateGroup(impersonateGroup *string) *GetJobPayloadParams
- func (o *GetJobPayloadParams) WithImpersonateUser(impersonateUser *string) *GetJobPayloadParams
- func (o *GetJobPayloadParams) WithJobComponentName(jobComponentName string) *GetJobPayloadParams
- func (o *GetJobPayloadParams) WithJobName(jobName string) *GetJobPayloadParams
- func (o *GetJobPayloadParams) WithTimeout(timeout time.Duration) *GetJobPayloadParams
- func (o *GetJobPayloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobPayloadReader
- type GetJobReader
- type GetJobsNotFound
- func (o *GetJobsNotFound) Code() int
- func (o *GetJobsNotFound) Error() string
- func (o *GetJobsNotFound) IsClientError() bool
- func (o *GetJobsNotFound) IsCode(code int) bool
- func (o *GetJobsNotFound) IsRedirect() bool
- func (o *GetJobsNotFound) IsServerError() bool
- func (o *GetJobsNotFound) IsSuccess() bool
- func (o *GetJobsNotFound) String() string
- type GetJobsOK
- func (o *GetJobsOK) Code() int
- func (o *GetJobsOK) Error() string
- func (o *GetJobsOK) GetPayload() []*models.ScheduledJobSummary
- func (o *GetJobsOK) IsClientError() bool
- func (o *GetJobsOK) IsCode(code int) bool
- func (o *GetJobsOK) IsRedirect() bool
- func (o *GetJobsOK) IsServerError() bool
- func (o *GetJobsOK) IsSuccess() bool
- func (o *GetJobsOK) String() string
- type GetJobsParams
- func (o *GetJobsParams) SetAppName(appName string)
- func (o *GetJobsParams) SetContext(ctx context.Context)deprecated
- func (o *GetJobsParams) SetDefaults()
- func (o *GetJobsParams) SetEnvName(envName string)
- func (o *GetJobsParams) SetHTTPClient(client *http.Client)
- func (o *GetJobsParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *GetJobsParams) SetImpersonateUser(impersonateUser *string)
- func (o *GetJobsParams) SetJobComponentName(jobComponentName string)
- func (o *GetJobsParams) SetTimeout(timeout time.Duration)
- func (o *GetJobsParams) WithAppName(appName string) *GetJobsParams
- func (o *GetJobsParams) WithContext(ctx context.Context) *GetJobsParamsdeprecated
- func (o *GetJobsParams) WithDefaults() *GetJobsParams
- func (o *GetJobsParams) WithEnvName(envName string) *GetJobsParams
- func (o *GetJobsParams) WithHTTPClient(client *http.Client) *GetJobsParams
- func (o *GetJobsParams) WithImpersonateGroup(impersonateGroup *string) *GetJobsParams
- func (o *GetJobsParams) WithImpersonateUser(impersonateUser *string) *GetJobsParams
- func (o *GetJobsParams) WithJobComponentName(jobComponentName string) *GetJobsParams
- func (o *GetJobsParams) WithTimeout(timeout time.Duration) *GetJobsParams
- func (o *GetJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobsReader
- type JobLogNotFound
- func (o *JobLogNotFound) Code() int
- func (o *JobLogNotFound) Error() string
- func (o *JobLogNotFound) IsClientError() bool
- func (o *JobLogNotFound) IsCode(code int) bool
- func (o *JobLogNotFound) IsRedirect() bool
- func (o *JobLogNotFound) IsServerError() bool
- func (o *JobLogNotFound) IsSuccess() bool
- func (o *JobLogNotFound) String() string
- type JobLogOK
- func (o *JobLogOK) Code() int
- func (o *JobLogOK) Error() string
- func (o *JobLogOK) GetPayload() string
- func (o *JobLogOK) IsClientError() bool
- func (o *JobLogOK) IsCode(code int) bool
- func (o *JobLogOK) IsRedirect() bool
- func (o *JobLogOK) IsServerError() bool
- func (o *JobLogOK) IsSuccess() bool
- func (o *JobLogOK) String() string
- type JobLogParams
- func (o *JobLogParams) SetAppName(appName string)
- func (o *JobLogParams) SetContext(ctx context.Context)deprecated
- func (o *JobLogParams) SetDefaults()
- func (o *JobLogParams) SetEnvName(envName string)
- func (o *JobLogParams) SetFile(file *string)
- func (o *JobLogParams) SetFollow(follow *string)
- func (o *JobLogParams) SetHTTPClient(client *http.Client)
- func (o *JobLogParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *JobLogParams) SetImpersonateUser(impersonateUser *string)
- func (o *JobLogParams) SetJobComponentName(jobComponentName string)
- func (o *JobLogParams) SetLines(lines *string)
- func (o *JobLogParams) SetReplicaName(replicaName *string)
- func (o *JobLogParams) SetScheduledJobName(scheduledJobName string)
- func (o *JobLogParams) SetSinceTime(sinceTime *strfmt.DateTime)
- func (o *JobLogParams) SetTimeout(timeout time.Duration)
- func (o *JobLogParams) WithAppName(appName string) *JobLogParams
- func (o *JobLogParams) WithContext(ctx context.Context) *JobLogParamsdeprecated
- func (o *JobLogParams) WithDefaults() *JobLogParams
- func (o *JobLogParams) WithEnvName(envName string) *JobLogParams
- func (o *JobLogParams) WithFile(file *string) *JobLogParams
- func (o *JobLogParams) WithFollow(follow *string) *JobLogParams
- func (o *JobLogParams) WithHTTPClient(client *http.Client) *JobLogParams
- func (o *JobLogParams) WithImpersonateGroup(impersonateGroup *string) *JobLogParams
- func (o *JobLogParams) WithImpersonateUser(impersonateUser *string) *JobLogParams
- func (o *JobLogParams) WithJobComponentName(jobComponentName string) *JobLogParams
- func (o *JobLogParams) WithLines(lines *string) *JobLogParams
- func (o *JobLogParams) WithReplicaName(replicaName *string) *JobLogParams
- func (o *JobLogParams) WithScheduledJobName(scheduledJobName string) *JobLogParams
- func (o *JobLogParams) WithSinceTime(sinceTime *strfmt.DateTime) *JobLogParams
- func (o *JobLogParams) WithTimeout(timeout time.Duration) *JobLogParams
- func (o *JobLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JobLogReader
- type RestartBatchBadRequest
- func (o *RestartBatchBadRequest) Code() int
- func (o *RestartBatchBadRequest) Error() string
- func (o *RestartBatchBadRequest) IsClientError() bool
- func (o *RestartBatchBadRequest) IsCode(code int) bool
- func (o *RestartBatchBadRequest) IsRedirect() bool
- func (o *RestartBatchBadRequest) IsServerError() bool
- func (o *RestartBatchBadRequest) IsSuccess() bool
- func (o *RestartBatchBadRequest) String() string
- type RestartBatchForbidden
- func (o *RestartBatchForbidden) Code() int
- func (o *RestartBatchForbidden) Error() string
- func (o *RestartBatchForbidden) IsClientError() bool
- func (o *RestartBatchForbidden) IsCode(code int) bool
- func (o *RestartBatchForbidden) IsRedirect() bool
- func (o *RestartBatchForbidden) IsServerError() bool
- func (o *RestartBatchForbidden) IsSuccess() bool
- func (o *RestartBatchForbidden) String() string
- type RestartBatchNoContent
- func (o *RestartBatchNoContent) Code() int
- func (o *RestartBatchNoContent) Error() string
- func (o *RestartBatchNoContent) IsClientError() bool
- func (o *RestartBatchNoContent) IsCode(code int) bool
- func (o *RestartBatchNoContent) IsRedirect() bool
- func (o *RestartBatchNoContent) IsServerError() bool
- func (o *RestartBatchNoContent) IsSuccess() bool
- func (o *RestartBatchNoContent) String() string
- type RestartBatchNotFound
- func (o *RestartBatchNotFound) Code() int
- func (o *RestartBatchNotFound) Error() string
- func (o *RestartBatchNotFound) IsClientError() bool
- func (o *RestartBatchNotFound) IsCode(code int) bool
- func (o *RestartBatchNotFound) IsRedirect() bool
- func (o *RestartBatchNotFound) IsServerError() bool
- func (o *RestartBatchNotFound) IsSuccess() bool
- func (o *RestartBatchNotFound) String() string
- type RestartBatchParams
- func NewRestartBatchParams() *RestartBatchParams
- func NewRestartBatchParamsWithContext(ctx context.Context) *RestartBatchParamsdeprecated
- func NewRestartBatchParamsWithHTTPClient(client *http.Client) *RestartBatchParams
- func NewRestartBatchParamsWithTimeout(timeout time.Duration) *RestartBatchParams
- func (o *RestartBatchParams) SetAppName(appName string)
- func (o *RestartBatchParams) SetBatchName(batchName string)
- func (o *RestartBatchParams) SetContext(ctx context.Context)deprecated
- func (o *RestartBatchParams) SetDefaults()
- func (o *RestartBatchParams) SetEnvName(envName string)
- func (o *RestartBatchParams) SetHTTPClient(client *http.Client)
- func (o *RestartBatchParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *RestartBatchParams) SetImpersonateUser(impersonateUser *string)
- func (o *RestartBatchParams) SetJobComponentName(jobComponentName string)
- func (o *RestartBatchParams) SetTimeout(timeout time.Duration)
- func (o *RestartBatchParams) WithAppName(appName string) *RestartBatchParams
- func (o *RestartBatchParams) WithBatchName(batchName string) *RestartBatchParams
- func (o *RestartBatchParams) WithContext(ctx context.Context) *RestartBatchParamsdeprecated
- func (o *RestartBatchParams) WithDefaults() *RestartBatchParams
- func (o *RestartBatchParams) WithEnvName(envName string) *RestartBatchParams
- func (o *RestartBatchParams) WithHTTPClient(client *http.Client) *RestartBatchParams
- func (o *RestartBatchParams) WithImpersonateGroup(impersonateGroup *string) *RestartBatchParams
- func (o *RestartBatchParams) WithImpersonateUser(impersonateUser *string) *RestartBatchParams
- func (o *RestartBatchParams) WithJobComponentName(jobComponentName string) *RestartBatchParams
- func (o *RestartBatchParams) WithTimeout(timeout time.Duration) *RestartBatchParams
- func (o *RestartBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestartBatchReader
- type RestartBatchUnauthorized
- func (o *RestartBatchUnauthorized) Code() int
- func (o *RestartBatchUnauthorized) Error() string
- func (o *RestartBatchUnauthorized) IsClientError() bool
- func (o *RestartBatchUnauthorized) IsCode(code int) bool
- func (o *RestartBatchUnauthorized) IsRedirect() bool
- func (o *RestartBatchUnauthorized) IsServerError() bool
- func (o *RestartBatchUnauthorized) IsSuccess() bool
- func (o *RestartBatchUnauthorized) String() string
- type RestartJobBadRequest
- func (o *RestartJobBadRequest) Code() int
- func (o *RestartJobBadRequest) Error() string
- func (o *RestartJobBadRequest) IsClientError() bool
- func (o *RestartJobBadRequest) IsCode(code int) bool
- func (o *RestartJobBadRequest) IsRedirect() bool
- func (o *RestartJobBadRequest) IsServerError() bool
- func (o *RestartJobBadRequest) IsSuccess() bool
- func (o *RestartJobBadRequest) String() string
- type RestartJobForbidden
- func (o *RestartJobForbidden) Code() int
- func (o *RestartJobForbidden) Error() string
- func (o *RestartJobForbidden) IsClientError() bool
- func (o *RestartJobForbidden) IsCode(code int) bool
- func (o *RestartJobForbidden) IsRedirect() bool
- func (o *RestartJobForbidden) IsServerError() bool
- func (o *RestartJobForbidden) IsSuccess() bool
- func (o *RestartJobForbidden) String() string
- type RestartJobNoContent
- func (o *RestartJobNoContent) Code() int
- func (o *RestartJobNoContent) Error() string
- func (o *RestartJobNoContent) IsClientError() bool
- func (o *RestartJobNoContent) IsCode(code int) bool
- func (o *RestartJobNoContent) IsRedirect() bool
- func (o *RestartJobNoContent) IsServerError() bool
- func (o *RestartJobNoContent) IsSuccess() bool
- func (o *RestartJobNoContent) String() string
- type RestartJobNotFound
- func (o *RestartJobNotFound) Code() int
- func (o *RestartJobNotFound) Error() string
- func (o *RestartJobNotFound) IsClientError() bool
- func (o *RestartJobNotFound) IsCode(code int) bool
- func (o *RestartJobNotFound) IsRedirect() bool
- func (o *RestartJobNotFound) IsServerError() bool
- func (o *RestartJobNotFound) IsSuccess() bool
- func (o *RestartJobNotFound) String() string
- type RestartJobParams
- func (o *RestartJobParams) SetAppName(appName string)
- func (o *RestartJobParams) SetContext(ctx context.Context)deprecated
- func (o *RestartJobParams) SetDefaults()
- func (o *RestartJobParams) SetEnvName(envName string)
- func (o *RestartJobParams) SetHTTPClient(client *http.Client)
- func (o *RestartJobParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *RestartJobParams) SetImpersonateUser(impersonateUser *string)
- func (o *RestartJobParams) SetJobComponentName(jobComponentName string)
- func (o *RestartJobParams) SetJobName(jobName string)
- func (o *RestartJobParams) SetTimeout(timeout time.Duration)
- func (o *RestartJobParams) WithAppName(appName string) *RestartJobParams
- func (o *RestartJobParams) WithContext(ctx context.Context) *RestartJobParamsdeprecated
- func (o *RestartJobParams) WithDefaults() *RestartJobParams
- func (o *RestartJobParams) WithEnvName(envName string) *RestartJobParams
- func (o *RestartJobParams) WithHTTPClient(client *http.Client) *RestartJobParams
- func (o *RestartJobParams) WithImpersonateGroup(impersonateGroup *string) *RestartJobParams
- func (o *RestartJobParams) WithImpersonateUser(impersonateUser *string) *RestartJobParams
- func (o *RestartJobParams) WithJobComponentName(jobComponentName string) *RestartJobParams
- func (o *RestartJobParams) WithJobName(jobName string) *RestartJobParams
- func (o *RestartJobParams) WithTimeout(timeout time.Duration) *RestartJobParams
- func (o *RestartJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestartJobReader
- type RestartJobUnauthorized
- func (o *RestartJobUnauthorized) Code() int
- func (o *RestartJobUnauthorized) Error() string
- func (o *RestartJobUnauthorized) IsClientError() bool
- func (o *RestartJobUnauthorized) IsCode(code int) bool
- func (o *RestartJobUnauthorized) IsRedirect() bool
- func (o *RestartJobUnauthorized) IsServerError() bool
- func (o *RestartJobUnauthorized) IsSuccess() bool
- func (o *RestartJobUnauthorized) String() string
- type StopAllBatchesAndJobsForEnvironmentBadRequest
- func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) Code() int
- func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) Error() string
- func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) IsClientError() bool
- func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) IsCode(code int) bool
- func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) IsRedirect() bool
- func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) IsServerError() bool
- func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) IsSuccess() bool
- func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) String() string
- type StopAllBatchesAndJobsForEnvironmentForbidden
- func (o *StopAllBatchesAndJobsForEnvironmentForbidden) Code() int
- func (o *StopAllBatchesAndJobsForEnvironmentForbidden) Error() string
- func (o *StopAllBatchesAndJobsForEnvironmentForbidden) IsClientError() bool
- func (o *StopAllBatchesAndJobsForEnvironmentForbidden) IsCode(code int) bool
- func (o *StopAllBatchesAndJobsForEnvironmentForbidden) IsRedirect() bool
- func (o *StopAllBatchesAndJobsForEnvironmentForbidden) IsServerError() bool
- func (o *StopAllBatchesAndJobsForEnvironmentForbidden) IsSuccess() bool
- func (o *StopAllBatchesAndJobsForEnvironmentForbidden) String() string
- type StopAllBatchesAndJobsForEnvironmentNoContent
- func (o *StopAllBatchesAndJobsForEnvironmentNoContent) Code() int
- func (o *StopAllBatchesAndJobsForEnvironmentNoContent) Error() string
- func (o *StopAllBatchesAndJobsForEnvironmentNoContent) IsClientError() bool
- func (o *StopAllBatchesAndJobsForEnvironmentNoContent) IsCode(code int) bool
- func (o *StopAllBatchesAndJobsForEnvironmentNoContent) IsRedirect() bool
- func (o *StopAllBatchesAndJobsForEnvironmentNoContent) IsServerError() bool
- func (o *StopAllBatchesAndJobsForEnvironmentNoContent) IsSuccess() bool
- func (o *StopAllBatchesAndJobsForEnvironmentNoContent) String() string
- type StopAllBatchesAndJobsForEnvironmentNotFound
- func (o *StopAllBatchesAndJobsForEnvironmentNotFound) Code() int
- func (o *StopAllBatchesAndJobsForEnvironmentNotFound) Error() string
- func (o *StopAllBatchesAndJobsForEnvironmentNotFound) IsClientError() bool
- func (o *StopAllBatchesAndJobsForEnvironmentNotFound) IsCode(code int) bool
- func (o *StopAllBatchesAndJobsForEnvironmentNotFound) IsRedirect() bool
- func (o *StopAllBatchesAndJobsForEnvironmentNotFound) IsServerError() bool
- func (o *StopAllBatchesAndJobsForEnvironmentNotFound) IsSuccess() bool
- func (o *StopAllBatchesAndJobsForEnvironmentNotFound) String() string
- type StopAllBatchesAndJobsForEnvironmentParams
- func NewStopAllBatchesAndJobsForEnvironmentParams() *StopAllBatchesAndJobsForEnvironmentParams
- func NewStopAllBatchesAndJobsForEnvironmentParamsWithContext(ctx context.Context) *StopAllBatchesAndJobsForEnvironmentParamsdeprecated
- func NewStopAllBatchesAndJobsForEnvironmentParamsWithHTTPClient(client *http.Client) *StopAllBatchesAndJobsForEnvironmentParams
- func NewStopAllBatchesAndJobsForEnvironmentParamsWithTimeout(timeout time.Duration) *StopAllBatchesAndJobsForEnvironmentParams
- func (o *StopAllBatchesAndJobsForEnvironmentParams) SetAppName(appName string)
- func (o *StopAllBatchesAndJobsForEnvironmentParams) SetContext(ctx context.Context)deprecated
- func (o *StopAllBatchesAndJobsForEnvironmentParams) SetDefaults()
- func (o *StopAllBatchesAndJobsForEnvironmentParams) SetEnvName(envName string)
- func (o *StopAllBatchesAndJobsForEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *StopAllBatchesAndJobsForEnvironmentParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *StopAllBatchesAndJobsForEnvironmentParams) SetImpersonateUser(impersonateUser *string)
- func (o *StopAllBatchesAndJobsForEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *StopAllBatchesAndJobsForEnvironmentParams) WithAppName(appName string) *StopAllBatchesAndJobsForEnvironmentParams
- func (o *StopAllBatchesAndJobsForEnvironmentParams) WithContext(ctx context.Context) *StopAllBatchesAndJobsForEnvironmentParamsdeprecated
- func (o *StopAllBatchesAndJobsForEnvironmentParams) WithDefaults() *StopAllBatchesAndJobsForEnvironmentParams
- func (o *StopAllBatchesAndJobsForEnvironmentParams) WithEnvName(envName string) *StopAllBatchesAndJobsForEnvironmentParams
- func (o *StopAllBatchesAndJobsForEnvironmentParams) WithHTTPClient(client *http.Client) *StopAllBatchesAndJobsForEnvironmentParams
- func (o *StopAllBatchesAndJobsForEnvironmentParams) WithImpersonateGroup(impersonateGroup *string) *StopAllBatchesAndJobsForEnvironmentParams
- func (o *StopAllBatchesAndJobsForEnvironmentParams) WithImpersonateUser(impersonateUser *string) *StopAllBatchesAndJobsForEnvironmentParams
- func (o *StopAllBatchesAndJobsForEnvironmentParams) WithTimeout(timeout time.Duration) *StopAllBatchesAndJobsForEnvironmentParams
- func (o *StopAllBatchesAndJobsForEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopAllBatchesAndJobsForEnvironmentReader
- type StopAllBatchesAndJobsForEnvironmentUnauthorized
- func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) Code() int
- func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) Error() string
- func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) IsClientError() bool
- func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) IsCode(code int) bool
- func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) IsRedirect() bool
- func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) IsServerError() bool
- func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) IsSuccess() bool
- func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) String() string
- type StopAllBatchesAndJobsForJobComponentBadRequest
- func (o *StopAllBatchesAndJobsForJobComponentBadRequest) Code() int
- func (o *StopAllBatchesAndJobsForJobComponentBadRequest) Error() string
- func (o *StopAllBatchesAndJobsForJobComponentBadRequest) IsClientError() bool
- func (o *StopAllBatchesAndJobsForJobComponentBadRequest) IsCode(code int) bool
- func (o *StopAllBatchesAndJobsForJobComponentBadRequest) IsRedirect() bool
- func (o *StopAllBatchesAndJobsForJobComponentBadRequest) IsServerError() bool
- func (o *StopAllBatchesAndJobsForJobComponentBadRequest) IsSuccess() bool
- func (o *StopAllBatchesAndJobsForJobComponentBadRequest) String() string
- type StopAllBatchesAndJobsForJobComponentForbidden
- func (o *StopAllBatchesAndJobsForJobComponentForbidden) Code() int
- func (o *StopAllBatchesAndJobsForJobComponentForbidden) Error() string
- func (o *StopAllBatchesAndJobsForJobComponentForbidden) IsClientError() bool
- func (o *StopAllBatchesAndJobsForJobComponentForbidden) IsCode(code int) bool
- func (o *StopAllBatchesAndJobsForJobComponentForbidden) IsRedirect() bool
- func (o *StopAllBatchesAndJobsForJobComponentForbidden) IsServerError() bool
- func (o *StopAllBatchesAndJobsForJobComponentForbidden) IsSuccess() bool
- func (o *StopAllBatchesAndJobsForJobComponentForbidden) String() string
- type StopAllBatchesAndJobsForJobComponentNoContent
- func (o *StopAllBatchesAndJobsForJobComponentNoContent) Code() int
- func (o *StopAllBatchesAndJobsForJobComponentNoContent) Error() string
- func (o *StopAllBatchesAndJobsForJobComponentNoContent) IsClientError() bool
- func (o *StopAllBatchesAndJobsForJobComponentNoContent) IsCode(code int) bool
- func (o *StopAllBatchesAndJobsForJobComponentNoContent) IsRedirect() bool
- func (o *StopAllBatchesAndJobsForJobComponentNoContent) IsServerError() bool
- func (o *StopAllBatchesAndJobsForJobComponentNoContent) IsSuccess() bool
- func (o *StopAllBatchesAndJobsForJobComponentNoContent) String() string
- type StopAllBatchesAndJobsForJobComponentNotFound
- func (o *StopAllBatchesAndJobsForJobComponentNotFound) Code() int
- func (o *StopAllBatchesAndJobsForJobComponentNotFound) Error() string
- func (o *StopAllBatchesAndJobsForJobComponentNotFound) IsClientError() bool
- func (o *StopAllBatchesAndJobsForJobComponentNotFound) IsCode(code int) bool
- func (o *StopAllBatchesAndJobsForJobComponentNotFound) IsRedirect() bool
- func (o *StopAllBatchesAndJobsForJobComponentNotFound) IsServerError() bool
- func (o *StopAllBatchesAndJobsForJobComponentNotFound) IsSuccess() bool
- func (o *StopAllBatchesAndJobsForJobComponentNotFound) String() string
- type StopAllBatchesAndJobsForJobComponentParams
- func NewStopAllBatchesAndJobsForJobComponentParams() *StopAllBatchesAndJobsForJobComponentParams
- func NewStopAllBatchesAndJobsForJobComponentParamsWithContext(ctx context.Context) *StopAllBatchesAndJobsForJobComponentParamsdeprecated
- func NewStopAllBatchesAndJobsForJobComponentParamsWithHTTPClient(client *http.Client) *StopAllBatchesAndJobsForJobComponentParams
- func NewStopAllBatchesAndJobsForJobComponentParamsWithTimeout(timeout time.Duration) *StopAllBatchesAndJobsForJobComponentParams
- func (o *StopAllBatchesAndJobsForJobComponentParams) SetAppName(appName string)
- func (o *StopAllBatchesAndJobsForJobComponentParams) SetContext(ctx context.Context)deprecated
- func (o *StopAllBatchesAndJobsForJobComponentParams) SetDefaults()
- func (o *StopAllBatchesAndJobsForJobComponentParams) SetEnvName(envName string)
- func (o *StopAllBatchesAndJobsForJobComponentParams) SetHTTPClient(client *http.Client)
- func (o *StopAllBatchesAndJobsForJobComponentParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *StopAllBatchesAndJobsForJobComponentParams) SetImpersonateUser(impersonateUser *string)
- func (o *StopAllBatchesAndJobsForJobComponentParams) SetJobComponentName(jobComponentName string)
- func (o *StopAllBatchesAndJobsForJobComponentParams) SetTimeout(timeout time.Duration)
- func (o *StopAllBatchesAndJobsForJobComponentParams) WithAppName(appName string) *StopAllBatchesAndJobsForJobComponentParams
- func (o *StopAllBatchesAndJobsForJobComponentParams) WithContext(ctx context.Context) *StopAllBatchesAndJobsForJobComponentParamsdeprecated
- func (o *StopAllBatchesAndJobsForJobComponentParams) WithDefaults() *StopAllBatchesAndJobsForJobComponentParams
- func (o *StopAllBatchesAndJobsForJobComponentParams) WithEnvName(envName string) *StopAllBatchesAndJobsForJobComponentParams
- func (o *StopAllBatchesAndJobsForJobComponentParams) WithHTTPClient(client *http.Client) *StopAllBatchesAndJobsForJobComponentParams
- func (o *StopAllBatchesAndJobsForJobComponentParams) WithImpersonateGroup(impersonateGroup *string) *StopAllBatchesAndJobsForJobComponentParams
- func (o *StopAllBatchesAndJobsForJobComponentParams) WithImpersonateUser(impersonateUser *string) *StopAllBatchesAndJobsForJobComponentParams
- func (o *StopAllBatchesAndJobsForJobComponentParams) WithJobComponentName(jobComponentName string) *StopAllBatchesAndJobsForJobComponentParams
- func (o *StopAllBatchesAndJobsForJobComponentParams) WithTimeout(timeout time.Duration) *StopAllBatchesAndJobsForJobComponentParams
- func (o *StopAllBatchesAndJobsForJobComponentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopAllBatchesAndJobsForJobComponentReader
- type StopAllBatchesAndJobsForJobComponentUnauthorized
- func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) Code() int
- func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) Error() string
- func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) IsClientError() bool
- func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) IsCode(code int) bool
- func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) IsRedirect() bool
- func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) IsServerError() bool
- func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) IsSuccess() bool
- func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) String() string
- type StopAllBatchesBadRequest
- func (o *StopAllBatchesBadRequest) Code() int
- func (o *StopAllBatchesBadRequest) Error() string
- func (o *StopAllBatchesBadRequest) IsClientError() bool
- func (o *StopAllBatchesBadRequest) IsCode(code int) bool
- func (o *StopAllBatchesBadRequest) IsRedirect() bool
- func (o *StopAllBatchesBadRequest) IsServerError() bool
- func (o *StopAllBatchesBadRequest) IsSuccess() bool
- func (o *StopAllBatchesBadRequest) String() string
- type StopAllBatchesForbidden
- func (o *StopAllBatchesForbidden) Code() int
- func (o *StopAllBatchesForbidden) Error() string
- func (o *StopAllBatchesForbidden) IsClientError() bool
- func (o *StopAllBatchesForbidden) IsCode(code int) bool
- func (o *StopAllBatchesForbidden) IsRedirect() bool
- func (o *StopAllBatchesForbidden) IsServerError() bool
- func (o *StopAllBatchesForbidden) IsSuccess() bool
- func (o *StopAllBatchesForbidden) String() string
- type StopAllBatchesNoContent
- func (o *StopAllBatchesNoContent) Code() int
- func (o *StopAllBatchesNoContent) Error() string
- func (o *StopAllBatchesNoContent) IsClientError() bool
- func (o *StopAllBatchesNoContent) IsCode(code int) bool
- func (o *StopAllBatchesNoContent) IsRedirect() bool
- func (o *StopAllBatchesNoContent) IsServerError() bool
- func (o *StopAllBatchesNoContent) IsSuccess() bool
- func (o *StopAllBatchesNoContent) String() string
- type StopAllBatchesNotFound
- func (o *StopAllBatchesNotFound) Code() int
- func (o *StopAllBatchesNotFound) Error() string
- func (o *StopAllBatchesNotFound) IsClientError() bool
- func (o *StopAllBatchesNotFound) IsCode(code int) bool
- func (o *StopAllBatchesNotFound) IsRedirect() bool
- func (o *StopAllBatchesNotFound) IsServerError() bool
- func (o *StopAllBatchesNotFound) IsSuccess() bool
- func (o *StopAllBatchesNotFound) String() string
- type StopAllBatchesParams
- func NewStopAllBatchesParams() *StopAllBatchesParams
- func NewStopAllBatchesParamsWithContext(ctx context.Context) *StopAllBatchesParamsdeprecated
- func NewStopAllBatchesParamsWithHTTPClient(client *http.Client) *StopAllBatchesParams
- func NewStopAllBatchesParamsWithTimeout(timeout time.Duration) *StopAllBatchesParams
- func (o *StopAllBatchesParams) SetAppName(appName string)
- func (o *StopAllBatchesParams) SetContext(ctx context.Context)deprecated
- func (o *StopAllBatchesParams) SetDefaults()
- func (o *StopAllBatchesParams) SetEnvName(envName string)
- func (o *StopAllBatchesParams) SetHTTPClient(client *http.Client)
- func (o *StopAllBatchesParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *StopAllBatchesParams) SetImpersonateUser(impersonateUser *string)
- func (o *StopAllBatchesParams) SetJobComponentName(jobComponentName string)
- func (o *StopAllBatchesParams) SetTimeout(timeout time.Duration)
- func (o *StopAllBatchesParams) WithAppName(appName string) *StopAllBatchesParams
- func (o *StopAllBatchesParams) WithContext(ctx context.Context) *StopAllBatchesParamsdeprecated
- func (o *StopAllBatchesParams) WithDefaults() *StopAllBatchesParams
- func (o *StopAllBatchesParams) WithEnvName(envName string) *StopAllBatchesParams
- func (o *StopAllBatchesParams) WithHTTPClient(client *http.Client) *StopAllBatchesParams
- func (o *StopAllBatchesParams) WithImpersonateGroup(impersonateGroup *string) *StopAllBatchesParams
- func (o *StopAllBatchesParams) WithImpersonateUser(impersonateUser *string) *StopAllBatchesParams
- func (o *StopAllBatchesParams) WithJobComponentName(jobComponentName string) *StopAllBatchesParams
- func (o *StopAllBatchesParams) WithTimeout(timeout time.Duration) *StopAllBatchesParams
- func (o *StopAllBatchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopAllBatchesReader
- type StopAllBatchesUnauthorized
- func (o *StopAllBatchesUnauthorized) Code() int
- func (o *StopAllBatchesUnauthorized) Error() string
- func (o *StopAllBatchesUnauthorized) IsClientError() bool
- func (o *StopAllBatchesUnauthorized) IsCode(code int) bool
- func (o *StopAllBatchesUnauthorized) IsRedirect() bool
- func (o *StopAllBatchesUnauthorized) IsServerError() bool
- func (o *StopAllBatchesUnauthorized) IsSuccess() bool
- func (o *StopAllBatchesUnauthorized) String() string
- type StopAllJobsBadRequest
- func (o *StopAllJobsBadRequest) Code() int
- func (o *StopAllJobsBadRequest) Error() string
- func (o *StopAllJobsBadRequest) IsClientError() bool
- func (o *StopAllJobsBadRequest) IsCode(code int) bool
- func (o *StopAllJobsBadRequest) IsRedirect() bool
- func (o *StopAllJobsBadRequest) IsServerError() bool
- func (o *StopAllJobsBadRequest) IsSuccess() bool
- func (o *StopAllJobsBadRequest) String() string
- type StopAllJobsForbidden
- func (o *StopAllJobsForbidden) Code() int
- func (o *StopAllJobsForbidden) Error() string
- func (o *StopAllJobsForbidden) IsClientError() bool
- func (o *StopAllJobsForbidden) IsCode(code int) bool
- func (o *StopAllJobsForbidden) IsRedirect() bool
- func (o *StopAllJobsForbidden) IsServerError() bool
- func (o *StopAllJobsForbidden) IsSuccess() bool
- func (o *StopAllJobsForbidden) String() string
- type StopAllJobsNoContent
- func (o *StopAllJobsNoContent) Code() int
- func (o *StopAllJobsNoContent) Error() string
- func (o *StopAllJobsNoContent) IsClientError() bool
- func (o *StopAllJobsNoContent) IsCode(code int) bool
- func (o *StopAllJobsNoContent) IsRedirect() bool
- func (o *StopAllJobsNoContent) IsServerError() bool
- func (o *StopAllJobsNoContent) IsSuccess() bool
- func (o *StopAllJobsNoContent) String() string
- type StopAllJobsNotFound
- func (o *StopAllJobsNotFound) Code() int
- func (o *StopAllJobsNotFound) Error() string
- func (o *StopAllJobsNotFound) IsClientError() bool
- func (o *StopAllJobsNotFound) IsCode(code int) bool
- func (o *StopAllJobsNotFound) IsRedirect() bool
- func (o *StopAllJobsNotFound) IsServerError() bool
- func (o *StopAllJobsNotFound) IsSuccess() bool
- func (o *StopAllJobsNotFound) String() string
- type StopAllJobsParams
- func (o *StopAllJobsParams) SetAppName(appName string)
- func (o *StopAllJobsParams) SetContext(ctx context.Context)deprecated
- func (o *StopAllJobsParams) SetDefaults()
- func (o *StopAllJobsParams) SetEnvName(envName string)
- func (o *StopAllJobsParams) SetHTTPClient(client *http.Client)
- func (o *StopAllJobsParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *StopAllJobsParams) SetImpersonateUser(impersonateUser *string)
- func (o *StopAllJobsParams) SetJobComponentName(jobComponentName string)
- func (o *StopAllJobsParams) SetTimeout(timeout time.Duration)
- func (o *StopAllJobsParams) WithAppName(appName string) *StopAllJobsParams
- func (o *StopAllJobsParams) WithContext(ctx context.Context) *StopAllJobsParamsdeprecated
- func (o *StopAllJobsParams) WithDefaults() *StopAllJobsParams
- func (o *StopAllJobsParams) WithEnvName(envName string) *StopAllJobsParams
- func (o *StopAllJobsParams) WithHTTPClient(client *http.Client) *StopAllJobsParams
- func (o *StopAllJobsParams) WithImpersonateGroup(impersonateGroup *string) *StopAllJobsParams
- func (o *StopAllJobsParams) WithImpersonateUser(impersonateUser *string) *StopAllJobsParams
- func (o *StopAllJobsParams) WithJobComponentName(jobComponentName string) *StopAllJobsParams
- func (o *StopAllJobsParams) WithTimeout(timeout time.Duration) *StopAllJobsParams
- func (o *StopAllJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopAllJobsReader
- type StopAllJobsUnauthorized
- func (o *StopAllJobsUnauthorized) Code() int
- func (o *StopAllJobsUnauthorized) Error() string
- func (o *StopAllJobsUnauthorized) IsClientError() bool
- func (o *StopAllJobsUnauthorized) IsCode(code int) bool
- func (o *StopAllJobsUnauthorized) IsRedirect() bool
- func (o *StopAllJobsUnauthorized) IsServerError() bool
- func (o *StopAllJobsUnauthorized) IsSuccess() bool
- func (o *StopAllJobsUnauthorized) String() string
- type StopBatchBadRequest
- func (o *StopBatchBadRequest) Code() int
- func (o *StopBatchBadRequest) Error() string
- func (o *StopBatchBadRequest) IsClientError() bool
- func (o *StopBatchBadRequest) IsCode(code int) bool
- func (o *StopBatchBadRequest) IsRedirect() bool
- func (o *StopBatchBadRequest) IsServerError() bool
- func (o *StopBatchBadRequest) IsSuccess() bool
- func (o *StopBatchBadRequest) String() string
- type StopBatchForbidden
- func (o *StopBatchForbidden) Code() int
- func (o *StopBatchForbidden) Error() string
- func (o *StopBatchForbidden) IsClientError() bool
- func (o *StopBatchForbidden) IsCode(code int) bool
- func (o *StopBatchForbidden) IsRedirect() bool
- func (o *StopBatchForbidden) IsServerError() bool
- func (o *StopBatchForbidden) IsSuccess() bool
- func (o *StopBatchForbidden) String() string
- type StopBatchNoContent
- func (o *StopBatchNoContent) Code() int
- func (o *StopBatchNoContent) Error() string
- func (o *StopBatchNoContent) IsClientError() bool
- func (o *StopBatchNoContent) IsCode(code int) bool
- func (o *StopBatchNoContent) IsRedirect() bool
- func (o *StopBatchNoContent) IsServerError() bool
- func (o *StopBatchNoContent) IsSuccess() bool
- func (o *StopBatchNoContent) String() string
- type StopBatchNotFound
- func (o *StopBatchNotFound) Code() int
- func (o *StopBatchNotFound) Error() string
- func (o *StopBatchNotFound) IsClientError() bool
- func (o *StopBatchNotFound) IsCode(code int) bool
- func (o *StopBatchNotFound) IsRedirect() bool
- func (o *StopBatchNotFound) IsServerError() bool
- func (o *StopBatchNotFound) IsSuccess() bool
- func (o *StopBatchNotFound) String() string
- type StopBatchParams
- func (o *StopBatchParams) SetAppName(appName string)
- func (o *StopBatchParams) SetBatchName(batchName string)
- func (o *StopBatchParams) SetContext(ctx context.Context)deprecated
- func (o *StopBatchParams) SetDefaults()
- func (o *StopBatchParams) SetEnvName(envName string)
- func (o *StopBatchParams) SetHTTPClient(client *http.Client)
- func (o *StopBatchParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *StopBatchParams) SetImpersonateUser(impersonateUser *string)
- func (o *StopBatchParams) SetJobComponentName(jobComponentName string)
- func (o *StopBatchParams) SetTimeout(timeout time.Duration)
- func (o *StopBatchParams) WithAppName(appName string) *StopBatchParams
- func (o *StopBatchParams) WithBatchName(batchName string) *StopBatchParams
- func (o *StopBatchParams) WithContext(ctx context.Context) *StopBatchParamsdeprecated
- func (o *StopBatchParams) WithDefaults() *StopBatchParams
- func (o *StopBatchParams) WithEnvName(envName string) *StopBatchParams
- func (o *StopBatchParams) WithHTTPClient(client *http.Client) *StopBatchParams
- func (o *StopBatchParams) WithImpersonateGroup(impersonateGroup *string) *StopBatchParams
- func (o *StopBatchParams) WithImpersonateUser(impersonateUser *string) *StopBatchParams
- func (o *StopBatchParams) WithJobComponentName(jobComponentName string) *StopBatchParams
- func (o *StopBatchParams) WithTimeout(timeout time.Duration) *StopBatchParams
- func (o *StopBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopBatchReader
- type StopBatchUnauthorized
- func (o *StopBatchUnauthorized) Code() int
- func (o *StopBatchUnauthorized) Error() string
- func (o *StopBatchUnauthorized) IsClientError() bool
- func (o *StopBatchUnauthorized) IsCode(code int) bool
- func (o *StopBatchUnauthorized) IsRedirect() bool
- func (o *StopBatchUnauthorized) IsServerError() bool
- func (o *StopBatchUnauthorized) IsSuccess() bool
- func (o *StopBatchUnauthorized) String() string
- type StopJobBadRequest
- func (o *StopJobBadRequest) Code() int
- func (o *StopJobBadRequest) Error() string
- func (o *StopJobBadRequest) IsClientError() bool
- func (o *StopJobBadRequest) IsCode(code int) bool
- func (o *StopJobBadRequest) IsRedirect() bool
- func (o *StopJobBadRequest) IsServerError() bool
- func (o *StopJobBadRequest) IsSuccess() bool
- func (o *StopJobBadRequest) String() string
- type StopJobForbidden
- func (o *StopJobForbidden) Code() int
- func (o *StopJobForbidden) Error() string
- func (o *StopJobForbidden) IsClientError() bool
- func (o *StopJobForbidden) IsCode(code int) bool
- func (o *StopJobForbidden) IsRedirect() bool
- func (o *StopJobForbidden) IsServerError() bool
- func (o *StopJobForbidden) IsSuccess() bool
- func (o *StopJobForbidden) String() string
- type StopJobNoContent
- func (o *StopJobNoContent) Code() int
- func (o *StopJobNoContent) Error() string
- func (o *StopJobNoContent) IsClientError() bool
- func (o *StopJobNoContent) IsCode(code int) bool
- func (o *StopJobNoContent) IsRedirect() bool
- func (o *StopJobNoContent) IsServerError() bool
- func (o *StopJobNoContent) IsSuccess() bool
- func (o *StopJobNoContent) String() string
- type StopJobNotFound
- func (o *StopJobNotFound) Code() int
- func (o *StopJobNotFound) Error() string
- func (o *StopJobNotFound) IsClientError() bool
- func (o *StopJobNotFound) IsCode(code int) bool
- func (o *StopJobNotFound) IsRedirect() bool
- func (o *StopJobNotFound) IsServerError() bool
- func (o *StopJobNotFound) IsSuccess() bool
- func (o *StopJobNotFound) String() string
- type StopJobParams
- func (o *StopJobParams) SetAppName(appName string)
- func (o *StopJobParams) SetContext(ctx context.Context)deprecated
- func (o *StopJobParams) SetDefaults()
- func (o *StopJobParams) SetEnvName(envName string)
- func (o *StopJobParams) SetHTTPClient(client *http.Client)
- func (o *StopJobParams) SetImpersonateGroup(impersonateGroup *string)
- func (o *StopJobParams) SetImpersonateUser(impersonateUser *string)
- func (o *StopJobParams) SetJobComponentName(jobComponentName string)
- func (o *StopJobParams) SetJobName(jobName string)
- func (o *StopJobParams) SetTimeout(timeout time.Duration)
- func (o *StopJobParams) WithAppName(appName string) *StopJobParams
- func (o *StopJobParams) WithContext(ctx context.Context) *StopJobParamsdeprecated
- func (o *StopJobParams) WithDefaults() *StopJobParams
- func (o *StopJobParams) WithEnvName(envName string) *StopJobParams
- func (o *StopJobParams) WithHTTPClient(client *http.Client) *StopJobParams
- func (o *StopJobParams) WithImpersonateGroup(impersonateGroup *string) *StopJobParams
- func (o *StopJobParams) WithImpersonateUser(impersonateUser *string) *StopJobParams
- func (o *StopJobParams) WithJobComponentName(jobComponentName string) *StopJobParams
- func (o *StopJobParams) WithJobName(jobName string) *StopJobParams
- func (o *StopJobParams) WithTimeout(timeout time.Duration) *StopJobParams
- func (o *StopJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopJobReader
- type StopJobUnauthorized
- func (o *StopJobUnauthorized) Code() int
- func (o *StopJobUnauthorized) Error() string
- func (o *StopJobUnauthorized) IsClientError() bool
- func (o *StopJobUnauthorized) IsCode(code int) bool
- func (o *StopJobUnauthorized) IsRedirect() bool
- func (o *StopJobUnauthorized) IsServerError() bool
- func (o *StopJobUnauthorized) IsSuccess() bool
- func (o *StopJobUnauthorized) String() string
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 job API.
func (*Client) CopyBatch ¶
func (a *Client) CopyBatch(params *CopyBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CopyBatchOK, error)
CopyBatch creates a copy of existing scheduled batch with optional changes.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.CopyBatchContext instead.
func (*Client) CopyBatchContext ¶ added in v1.40.2
func (a *Client) CopyBatchContext(ctx context.Context, params *CopyBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CopyBatchOK, error)
CopyBatchContext creates a copy of existing scheduled batch with optional changes.
Do not use the deprecated [CopyBatchParams.Context] with this method: it would be ignored.
func (*Client) CopyJob ¶
func (a *Client) CopyJob(params *CopyJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CopyJobOK, error)
CopyJob creates a copy of existing scheduled job with optional changes.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.CopyJobContext instead.
func (*Client) CopyJobContext ¶ added in v1.40.2
func (a *Client) CopyJobContext(ctx context.Context, params *CopyJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CopyJobOK, error)
CopyJobContext creates a copy of existing scheduled job with optional changes.
Do not use the deprecated [CopyJobParams.Context] with this method: it would be ignored.
func (*Client) DeleteBatch ¶
func (a *Client) DeleteBatch(params *DeleteBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBatchNoContent, error)
DeleteBatch deletes batch.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.DeleteBatchContext instead.
func (*Client) DeleteBatchContext ¶ added in v1.40.2
func (a *Client) DeleteBatchContext(ctx context.Context, params *DeleteBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBatchNoContent, error)
DeleteBatchContext deletes batch.
Do not use the deprecated [DeleteBatchParams.Context] with this method: it would be ignored.
func (*Client) DeleteJob ¶
func (a *Client) DeleteJob(params *DeleteJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteJobNoContent, error)
DeleteJob deletes job.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.DeleteJobContext instead.
func (*Client) DeleteJobContext ¶ added in v1.40.2
func (a *Client) DeleteJobContext(ctx context.Context, params *DeleteJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteJobNoContent, error)
DeleteJobContext deletes job.
Do not use the deprecated [DeleteJobParams.Context] with this method: it would be ignored.
func (*Client) GetBatch ¶
func (a *Client) GetBatch(params *GetBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBatchOK, error)
GetBatch gets list of scheduled batches.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetBatchContext instead.
func (*Client) GetBatchContext ¶ added in v1.40.2
func (a *Client) GetBatchContext(ctx context.Context, params *GetBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBatchOK, error)
GetBatchContext gets list of scheduled batches.
Do not use the deprecated [GetBatchParams.Context] with this method: it would be ignored.
func (*Client) GetBatches ¶
func (a *Client) GetBatches(params *GetBatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBatchesOK, error)
GetBatches gets list of scheduled batches.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetBatchesContext instead.
func (*Client) GetBatchesContext ¶ added in v1.40.2
func (a *Client) GetBatchesContext(ctx context.Context, params *GetBatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBatchesOK, error)
GetBatchesContext gets list of scheduled batches.
Do not use the deprecated [GetBatchesParams.Context] with this method: it would be ignored.
func (*Client) GetJob ¶
func (a *Client) GetJob(params *GetJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobOK, error)
GetJob gets list of scheduled jobs.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetJobContext instead.
func (*Client) GetJobComponentDeployments ¶
func (a *Client) GetJobComponentDeployments(params *GetJobComponentDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobComponentDeploymentsOK, error)
GetJobComponentDeployments gets list of deployments for the job component.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetJobComponentDeploymentsContext instead.
func (*Client) GetJobComponentDeploymentsContext ¶ added in v1.40.2
func (a *Client) GetJobComponentDeploymentsContext(ctx context.Context, params *GetJobComponentDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobComponentDeploymentsOK, error)
GetJobComponentDeploymentsContext gets list of deployments for the job component.
Do not use the deprecated [GetJobComponentDeploymentsParams.Context] with this method: it would be ignored.
func (*Client) GetJobContext ¶ added in v1.40.2
func (a *Client) GetJobContext(ctx context.Context, params *GetJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobOK, error)
GetJobContext gets list of scheduled jobs.
Do not use the deprecated [GetJobParams.Context] with this method: it would be ignored.
func (*Client) GetJobPayload ¶
func (a *Client) GetJobPayload(params *GetJobPayloadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobPayloadOK, error)
GetJobPayload gets payload of a scheduled job.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetJobPayloadContext instead.
func (*Client) GetJobPayloadContext ¶ added in v1.40.2
func (a *Client) GetJobPayloadContext(ctx context.Context, params *GetJobPayloadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobPayloadOK, error)
GetJobPayloadContext gets payload of a scheduled job.
Do not use the deprecated [GetJobPayloadParams.Context] with this method: it would be ignored.
func (*Client) GetJobs ¶
func (a *Client) GetJobs(params *GetJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobsOK, error)
GetJobs gets list of scheduled jobs.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetJobsContext instead.
func (*Client) GetJobsContext ¶ added in v1.40.2
func (a *Client) GetJobsContext(ctx context.Context, params *GetJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobsOK, error)
GetJobsContext gets list of scheduled jobs.
Do not use the deprecated [GetJobsParams.Context] with this method: it would be ignored.
func (*Client) JobLog ¶
func (a *Client) JobLog(params *JobLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*JobLogOK, error)
JobLog gets log from a scheduled job.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.JobLogContext instead.
func (*Client) JobLogContext ¶ added in v1.40.2
func (a *Client) JobLogContext(ctx context.Context, params *JobLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*JobLogOK, error)
JobLogContext gets log from a scheduled job.
Do not use the deprecated [JobLogParams.Context] with this method: it would be ignored.
func (*Client) RestartBatch ¶
func (a *Client) RestartBatch(params *RestartBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartBatchNoContent, error)
RestartBatch restarts a scheduled or stopped batch.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.RestartBatchContext instead.
func (*Client) RestartBatchContext ¶ added in v1.40.2
func (a *Client) RestartBatchContext(ctx context.Context, params *RestartBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartBatchNoContent, error)
RestartBatchContext restarts a scheduled or stopped batch.
Do not use the deprecated [RestartBatchParams.Context] with this method: it would be ignored.
func (*Client) RestartJob ¶
func (a *Client) RestartJob(params *RestartJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartJobNoContent, error)
RestartJob restarts a running or stopped scheduled job.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.RestartJobContext instead.
func (*Client) RestartJobContext ¶ added in v1.40.2
func (a *Client) RestartJobContext(ctx context.Context, params *RestartJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartJobNoContent, error)
RestartJobContext restarts a running or stopped scheduled job.
Do not use the deprecated [RestartJobParams.Context] with this method: it would be ignored.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ContextualTransport)
SetTransport changes the transport on the client
func (*Client) StopAllBatches ¶ added in v1.26.1
func (a *Client) StopAllBatches(params *StopAllBatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllBatchesNoContent, error)
StopAllBatches stops scheduled batch.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.StopAllBatchesContext instead.
func (*Client) StopAllBatchesAndJobsForEnvironment ¶ added in v1.26.1
func (a *Client) StopAllBatchesAndJobsForEnvironment(params *StopAllBatchesAndJobsForEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllBatchesAndJobsForEnvironmentNoContent, error)
StopAllBatchesAndJobsForEnvironment stops all scheduled batches and jobs in the environment.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.StopAllBatchesAndJobsForEnvironmentContext instead.
func (*Client) StopAllBatchesAndJobsForEnvironmentContext ¶ added in v1.40.2
func (a *Client) StopAllBatchesAndJobsForEnvironmentContext(ctx context.Context, params *StopAllBatchesAndJobsForEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllBatchesAndJobsForEnvironmentNoContent, error)
StopAllBatchesAndJobsForEnvironmentContext stops all scheduled batches and jobs in the environment.
Do not use the deprecated [StopAllBatchesAndJobsForEnvironmentParams.Context] with this method: it would be ignored.
func (*Client) StopAllBatchesAndJobsForJobComponent ¶ added in v1.26.1
func (a *Client) StopAllBatchesAndJobsForJobComponent(params *StopAllBatchesAndJobsForJobComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllBatchesAndJobsForJobComponentNoContent, error)
StopAllBatchesAndJobsForJobComponent stops all scheduled batches for the job component.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.StopAllBatchesAndJobsForJobComponentContext instead.
func (*Client) StopAllBatchesAndJobsForJobComponentContext ¶ added in v1.40.2
func (a *Client) StopAllBatchesAndJobsForJobComponentContext(ctx context.Context, params *StopAllBatchesAndJobsForJobComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllBatchesAndJobsForJobComponentNoContent, error)
StopAllBatchesAndJobsForJobComponentContext stops all scheduled batches for the job component.
Do not use the deprecated [StopAllBatchesAndJobsForJobComponentParams.Context] with this method: it would be ignored.
func (*Client) StopAllBatchesContext ¶ added in v1.40.2
func (a *Client) StopAllBatchesContext(ctx context.Context, params *StopAllBatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllBatchesNoContent, error)
StopAllBatchesContext stops scheduled batch.
Do not use the deprecated [StopAllBatchesParams.Context] with this method: it would be ignored.
func (*Client) StopAllJobs ¶ added in v1.26.1
func (a *Client) StopAllJobs(params *StopAllJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllJobsNoContent, error)
StopAllJobs stops all scheduled jobs.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.StopAllJobsContext instead.
func (*Client) StopAllJobsContext ¶ added in v1.40.2
func (a *Client) StopAllJobsContext(ctx context.Context, params *StopAllJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllJobsNoContent, error)
StopAllJobsContext stops all scheduled jobs.
Do not use the deprecated [StopAllJobsParams.Context] with this method: it would be ignored.
func (*Client) StopBatch ¶
func (a *Client) StopBatch(params *StopBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopBatchNoContent, error)
StopBatch stops scheduled batch.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.StopBatchContext instead.
func (*Client) StopBatchContext ¶ added in v1.40.2
func (a *Client) StopBatchContext(ctx context.Context, params *StopBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopBatchNoContent, error)
StopBatchContext stops scheduled batch.
Do not use the deprecated [StopBatchParams.Context] with this method: it would be ignored.
func (*Client) StopJob ¶
func (a *Client) StopJob(params *StopJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopJobNoContent, error)
StopJob stops scheduled job.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.StopJobContext instead.
func (*Client) StopJobContext ¶ added in v1.40.2
func (a *Client) StopJobContext(ctx context.Context, params *StopJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopJobNoContent, error)
StopJobContext stops scheduled job.
Do not use the deprecated [StopJobParams.Context] with this method: it would be ignored.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
// GetJobComponentDeployments get list of deployments for the job component.
GetJobComponentDeployments(params *GetJobComponentDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobComponentDeploymentsOK, error)
// GetJobComponentDeploymentsContext get list of deployments for the job component.
GetJobComponentDeploymentsContext(ctx context.Context, params *GetJobComponentDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobComponentDeploymentsOK, error)
// CopyBatch create a copy of existing scheduled batch with optional changes.
CopyBatch(params *CopyBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CopyBatchOK, error)
// CopyBatchContext create a copy of existing scheduled batch with optional changes.
CopyBatchContext(ctx context.Context, params *CopyBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CopyBatchOK, error)
// CopyJob create a copy of existing scheduled job with optional changes.
CopyJob(params *CopyJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CopyJobOK, error)
// CopyJobContext create a copy of existing scheduled job with optional changes.
CopyJobContext(ctx context.Context, params *CopyJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CopyJobOK, error)
// DeleteBatch delete batch.
DeleteBatch(params *DeleteBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBatchNoContent, error)
// DeleteBatchContext delete batch.
DeleteBatchContext(ctx context.Context, params *DeleteBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBatchNoContent, error)
// DeleteJob delete job.
DeleteJob(params *DeleteJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteJobNoContent, error)
// DeleteJobContext delete job.
DeleteJobContext(ctx context.Context, params *DeleteJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteJobNoContent, error)
// GetBatch get list of scheduled batches.
GetBatch(params *GetBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBatchOK, error)
// GetBatchContext get list of scheduled batches.
GetBatchContext(ctx context.Context, params *GetBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBatchOK, error)
// GetBatches get list of scheduled batches.
GetBatches(params *GetBatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBatchesOK, error)
// GetBatchesContext get list of scheduled batches.
GetBatchesContext(ctx context.Context, params *GetBatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBatchesOK, error)
// GetJob get list of scheduled jobs.
GetJob(params *GetJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobOK, error)
// GetJobContext get list of scheduled jobs.
GetJobContext(ctx context.Context, params *GetJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobOK, error)
// GetJobPayload get payload of a scheduled job.
GetJobPayload(params *GetJobPayloadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobPayloadOK, error)
// GetJobPayloadContext get payload of a scheduled job.
GetJobPayloadContext(ctx context.Context, params *GetJobPayloadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobPayloadOK, error)
// GetJobs get list of scheduled jobs.
GetJobs(params *GetJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobsOK, error)
// GetJobsContext get list of scheduled jobs.
GetJobsContext(ctx context.Context, params *GetJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobsOK, error)
// JobLog get log from a scheduled job.
JobLog(params *JobLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*JobLogOK, error)
// JobLogContext get log from a scheduled job.
JobLogContext(ctx context.Context, params *JobLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*JobLogOK, error)
// RestartBatch restart a scheduled or stopped batch.
RestartBatch(params *RestartBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartBatchNoContent, error)
// RestartBatchContext restart a scheduled or stopped batch.
RestartBatchContext(ctx context.Context, params *RestartBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartBatchNoContent, error)
// RestartJob restart a running or stopped scheduled job.
RestartJob(params *RestartJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartJobNoContent, error)
// RestartJobContext restart a running or stopped scheduled job.
RestartJobContext(ctx context.Context, params *RestartJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartJobNoContent, error)
// StopAllBatches stop scheduled batch.
StopAllBatches(params *StopAllBatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllBatchesNoContent, error)
// StopAllBatchesContext stop scheduled batch.
StopAllBatchesContext(ctx context.Context, params *StopAllBatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllBatchesNoContent, error)
// StopAllBatchesAndJobsForEnvironment stop all scheduled batches and jobs in the environment.
StopAllBatchesAndJobsForEnvironment(params *StopAllBatchesAndJobsForEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllBatchesAndJobsForEnvironmentNoContent, error)
// StopAllBatchesAndJobsForEnvironmentContext stop all scheduled batches and jobs in the environment.
StopAllBatchesAndJobsForEnvironmentContext(ctx context.Context, params *StopAllBatchesAndJobsForEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllBatchesAndJobsForEnvironmentNoContent, error)
// StopAllBatchesAndJobsForJobComponent stop all scheduled batches for the job component.
StopAllBatchesAndJobsForJobComponent(params *StopAllBatchesAndJobsForJobComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllBatchesAndJobsForJobComponentNoContent, error)
// StopAllBatchesAndJobsForJobComponentContext stop all scheduled batches for the job component.
StopAllBatchesAndJobsForJobComponentContext(ctx context.Context, params *StopAllBatchesAndJobsForJobComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllBatchesAndJobsForJobComponentNoContent, error)
// StopAllJobs stop all scheduled jobs.
StopAllJobs(params *StopAllJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllJobsNoContent, error)
// StopAllJobsContext stop all scheduled jobs.
StopAllJobsContext(ctx context.Context, params *StopAllJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopAllJobsNoContent, error)
// StopBatch stop scheduled batch.
StopBatch(params *StopBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopBatchNoContent, error)
// StopBatchContext stop scheduled batch.
StopBatchContext(ctx context.Context, params *StopBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopBatchNoContent, error)
// StopJob stop scheduled job.
StopJob(params *StopJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopJobNoContent, error)
// StopJobContext stop scheduled job.
StopJobContext(ctx context.Context, params *StopJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopJobNoContent, error)
SetTransport(transport runtime.ContextualTransport)
}
ClientService is the interface for Client methods.
func New ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry) ClientService
New creates a new job API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new job API client with basic auth credentials.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new job API client with a bearer token for authentication.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CopyBatchBadRequest ¶
type CopyBatchBadRequest struct {
}
CopyBatchBadRequest describes a response with status code 400, with default header values.
Invalid batch
func NewCopyBatchBadRequest ¶
func NewCopyBatchBadRequest() *CopyBatchBadRequest
NewCopyBatchBadRequest creates a CopyBatchBadRequest with default headers values
func (*CopyBatchBadRequest) Code ¶
func (o *CopyBatchBadRequest) Code() int
Code gets the status code for the copy batch bad request response
func (*CopyBatchBadRequest) Error ¶
func (o *CopyBatchBadRequest) Error() string
func (*CopyBatchBadRequest) IsClientError ¶
func (o *CopyBatchBadRequest) IsClientError() bool
IsClientError returns true when this copy batch bad request response has a 4xx status code
func (*CopyBatchBadRequest) IsCode ¶
func (o *CopyBatchBadRequest) IsCode(code int) bool
IsCode returns true when this copy batch bad request response a status code equal to that given
func (*CopyBatchBadRequest) IsRedirect ¶
func (o *CopyBatchBadRequest) IsRedirect() bool
IsRedirect returns true when this copy batch bad request response has a 3xx status code
func (*CopyBatchBadRequest) IsServerError ¶
func (o *CopyBatchBadRequest) IsServerError() bool
IsServerError returns true when this copy batch bad request response has a 5xx status code
func (*CopyBatchBadRequest) IsSuccess ¶
func (o *CopyBatchBadRequest) IsSuccess() bool
IsSuccess returns true when this copy batch bad request response has a 2xx status code
func (*CopyBatchBadRequest) String ¶
func (o *CopyBatchBadRequest) String() string
type CopyBatchForbidden ¶
type CopyBatchForbidden struct {
}
CopyBatchForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCopyBatchForbidden ¶
func NewCopyBatchForbidden() *CopyBatchForbidden
NewCopyBatchForbidden creates a CopyBatchForbidden with default headers values
func (*CopyBatchForbidden) Code ¶
func (o *CopyBatchForbidden) Code() int
Code gets the status code for the copy batch forbidden response
func (*CopyBatchForbidden) Error ¶
func (o *CopyBatchForbidden) Error() string
func (*CopyBatchForbidden) IsClientError ¶
func (o *CopyBatchForbidden) IsClientError() bool
IsClientError returns true when this copy batch forbidden response has a 4xx status code
func (*CopyBatchForbidden) IsCode ¶
func (o *CopyBatchForbidden) IsCode(code int) bool
IsCode returns true when this copy batch forbidden response a status code equal to that given
func (*CopyBatchForbidden) IsRedirect ¶
func (o *CopyBatchForbidden) IsRedirect() bool
IsRedirect returns true when this copy batch forbidden response has a 3xx status code
func (*CopyBatchForbidden) IsServerError ¶
func (o *CopyBatchForbidden) IsServerError() bool
IsServerError returns true when this copy batch forbidden response has a 5xx status code
func (*CopyBatchForbidden) IsSuccess ¶
func (o *CopyBatchForbidden) IsSuccess() bool
IsSuccess returns true when this copy batch forbidden response has a 2xx status code
func (*CopyBatchForbidden) String ¶
func (o *CopyBatchForbidden) String() string
type CopyBatchNotFound ¶
type CopyBatchNotFound struct {
}
CopyBatchNotFound describes a response with status code 404, with default header values.
Not found
func NewCopyBatchNotFound ¶
func NewCopyBatchNotFound() *CopyBatchNotFound
NewCopyBatchNotFound creates a CopyBatchNotFound with default headers values
func (*CopyBatchNotFound) Code ¶
func (o *CopyBatchNotFound) Code() int
Code gets the status code for the copy batch not found response
func (*CopyBatchNotFound) Error ¶
func (o *CopyBatchNotFound) Error() string
func (*CopyBatchNotFound) IsClientError ¶
func (o *CopyBatchNotFound) IsClientError() bool
IsClientError returns true when this copy batch not found response has a 4xx status code
func (*CopyBatchNotFound) IsCode ¶
func (o *CopyBatchNotFound) IsCode(code int) bool
IsCode returns true when this copy batch not found response a status code equal to that given
func (*CopyBatchNotFound) IsRedirect ¶
func (o *CopyBatchNotFound) IsRedirect() bool
IsRedirect returns true when this copy batch not found response has a 3xx status code
func (*CopyBatchNotFound) IsServerError ¶
func (o *CopyBatchNotFound) IsServerError() bool
IsServerError returns true when this copy batch not found response has a 5xx status code
func (*CopyBatchNotFound) IsSuccess ¶
func (o *CopyBatchNotFound) IsSuccess() bool
IsSuccess returns true when this copy batch not found response has a 2xx status code
func (*CopyBatchNotFound) String ¶
func (o *CopyBatchNotFound) String() string
type CopyBatchOK ¶
type CopyBatchOK struct {
Payload *models.ScheduledBatchSummary
}
CopyBatchOK describes a response with status code 200, with default header values.
Success
func NewCopyBatchOK ¶
func NewCopyBatchOK() *CopyBatchOK
NewCopyBatchOK creates a CopyBatchOK with default headers values
func (*CopyBatchOK) Code ¶
func (o *CopyBatchOK) Code() int
Code gets the status code for the copy batch o k response
func (*CopyBatchOK) Error ¶
func (o *CopyBatchOK) Error() string
func (*CopyBatchOK) GetPayload ¶
func (o *CopyBatchOK) GetPayload() *models.ScheduledBatchSummary
func (*CopyBatchOK) IsClientError ¶
func (o *CopyBatchOK) IsClientError() bool
IsClientError returns true when this copy batch o k response has a 4xx status code
func (*CopyBatchOK) IsCode ¶
func (o *CopyBatchOK) IsCode(code int) bool
IsCode returns true when this copy batch o k response a status code equal to that given
func (*CopyBatchOK) IsRedirect ¶
func (o *CopyBatchOK) IsRedirect() bool
IsRedirect returns true when this copy batch o k response has a 3xx status code
func (*CopyBatchOK) IsServerError ¶
func (o *CopyBatchOK) IsServerError() bool
IsServerError returns true when this copy batch o k response has a 5xx status code
func (*CopyBatchOK) IsSuccess ¶
func (o *CopyBatchOK) IsSuccess() bool
IsSuccess returns true when this copy batch o k response has a 2xx status code
func (*CopyBatchOK) String ¶
func (o *CopyBatchOK) String() string
type CopyBatchParams ¶
type CopyBatchParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// BatchName.
//
// Name of batch to be copied
BatchName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
// ScheduledBatchRequest.
//
// Request for creating a scheduled batch
ScheduledBatchRequest *models.ScheduledBatchRequest
HTTPClient *http.Client
// contains filtered or unexported fields
}
CopyBatchParams contains all the parameters to send to the API endpoint
for the copy batch operation. Typically these are written to a http.Request.
func NewCopyBatchParams ¶
func NewCopyBatchParams() *CopyBatchParams
NewCopyBatchParams creates a new CopyBatchParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCopyBatchParamsWithContext
deprecated
func NewCopyBatchParamsWithContext(ctx context.Context) *CopyBatchParams
NewCopyBatchParamsWithContext creates a new CopyBatchParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of CopyBatchParams.
func NewCopyBatchParamsWithHTTPClient ¶
func NewCopyBatchParamsWithHTTPClient(client *http.Client) *CopyBatchParams
NewCopyBatchParamsWithHTTPClient creates a new CopyBatchParams object with the ability to set a custom HTTPClient for a request.
func NewCopyBatchParamsWithTimeout ¶
func NewCopyBatchParamsWithTimeout(timeout time.Duration) *CopyBatchParams
NewCopyBatchParamsWithTimeout creates a new CopyBatchParams object with the ability to set a timeout on a request.
func (*CopyBatchParams) SetAppName ¶
func (o *CopyBatchParams) SetAppName(appName string)
SetAppName adds the appName to the copy batch params.
func (*CopyBatchParams) SetBatchName ¶
func (o *CopyBatchParams) SetBatchName(batchName string)
SetBatchName adds the batchName to the copy batch params.
func (*CopyBatchParams) SetContext
deprecated
func (o *CopyBatchParams) SetContext(ctx context.Context)
SetContext adds the context to the copy batch params.
Deprecated: use the operation call with context to pass the context instead of CopyBatchParams.
func (*CopyBatchParams) SetDefaults ¶
func (o *CopyBatchParams) SetDefaults()
SetDefaults hydrates default values in the copy batch params (not the query body).
All values with no default are reset to their zero value.
func (*CopyBatchParams) SetEnvName ¶
func (o *CopyBatchParams) SetEnvName(envName string)
SetEnvName adds the envName to the copy batch params.
func (*CopyBatchParams) SetHTTPClient ¶
func (o *CopyBatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the copy batch params.
func (*CopyBatchParams) SetImpersonateGroup ¶
func (o *CopyBatchParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the copy batch params.
func (*CopyBatchParams) SetImpersonateUser ¶
func (o *CopyBatchParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the copy batch params.
func (*CopyBatchParams) SetJobComponentName ¶
func (o *CopyBatchParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the copy batch params.
func (*CopyBatchParams) SetScheduledBatchRequest ¶
func (o *CopyBatchParams) SetScheduledBatchRequest(scheduledBatchRequest *models.ScheduledBatchRequest)
SetScheduledBatchRequest adds the scheduledBatchRequest to the copy batch params.
func (*CopyBatchParams) SetTimeout ¶
func (o *CopyBatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the copy batch params.
func (*CopyBatchParams) WithAppName ¶
func (o *CopyBatchParams) WithAppName(appName string) *CopyBatchParams
WithAppName adds the appName to the copy batch params.
func (*CopyBatchParams) WithBatchName ¶
func (o *CopyBatchParams) WithBatchName(batchName string) *CopyBatchParams
WithBatchName adds the batchName to the copy batch params.
func (*CopyBatchParams) WithContext
deprecated
func (o *CopyBatchParams) WithContext(ctx context.Context) *CopyBatchParams
WithContext adds the context to the copy batch params.
Deprecated: use the operation call with context to pass the context instead of CopyBatchParams.
func (*CopyBatchParams) WithDefaults ¶
func (o *CopyBatchParams) WithDefaults() *CopyBatchParams
WithDefaults hydrates default values in the copy batch params (not the query body).
All values with no default are reset to their zero value.
func (*CopyBatchParams) WithEnvName ¶
func (o *CopyBatchParams) WithEnvName(envName string) *CopyBatchParams
WithEnvName adds the envName to the copy batch params.
func (*CopyBatchParams) WithHTTPClient ¶
func (o *CopyBatchParams) WithHTTPClient(client *http.Client) *CopyBatchParams
WithHTTPClient adds the HTTPClient to the copy batch params.
func (*CopyBatchParams) WithImpersonateGroup ¶
func (o *CopyBatchParams) WithImpersonateGroup(impersonateGroup *string) *CopyBatchParams
WithImpersonateGroup adds the impersonateGroup to the copy batch params.
func (*CopyBatchParams) WithImpersonateUser ¶
func (o *CopyBatchParams) WithImpersonateUser(impersonateUser *string) *CopyBatchParams
WithImpersonateUser adds the impersonateUser to the copy batch params.
func (*CopyBatchParams) WithJobComponentName ¶
func (o *CopyBatchParams) WithJobComponentName(jobComponentName string) *CopyBatchParams
WithJobComponentName adds the jobComponentName to the copy batch params.
func (*CopyBatchParams) WithScheduledBatchRequest ¶
func (o *CopyBatchParams) WithScheduledBatchRequest(scheduledBatchRequest *models.ScheduledBatchRequest) *CopyBatchParams
WithScheduledBatchRequest adds the scheduledBatchRequest to the copy batch params.
func (*CopyBatchParams) WithTimeout ¶
func (o *CopyBatchParams) WithTimeout(timeout time.Duration) *CopyBatchParams
WithTimeout adds the timeout to the copy batch params.
func (*CopyBatchParams) WriteToRequest ¶
func (o *CopyBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type CopyBatchReader ¶
type CopyBatchReader struct {
// contains filtered or unexported fields
}
CopyBatchReader is a Reader for the CopyBatch structure.
func (*CopyBatchReader) ReadResponse ¶
func (o *CopyBatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CopyBatchUnauthorized ¶
type CopyBatchUnauthorized struct {
}
CopyBatchUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCopyBatchUnauthorized ¶
func NewCopyBatchUnauthorized() *CopyBatchUnauthorized
NewCopyBatchUnauthorized creates a CopyBatchUnauthorized with default headers values
func (*CopyBatchUnauthorized) Code ¶
func (o *CopyBatchUnauthorized) Code() int
Code gets the status code for the copy batch unauthorized response
func (*CopyBatchUnauthorized) Error ¶
func (o *CopyBatchUnauthorized) Error() string
func (*CopyBatchUnauthorized) IsClientError ¶
func (o *CopyBatchUnauthorized) IsClientError() bool
IsClientError returns true when this copy batch unauthorized response has a 4xx status code
func (*CopyBatchUnauthorized) IsCode ¶
func (o *CopyBatchUnauthorized) IsCode(code int) bool
IsCode returns true when this copy batch unauthorized response a status code equal to that given
func (*CopyBatchUnauthorized) IsRedirect ¶
func (o *CopyBatchUnauthorized) IsRedirect() bool
IsRedirect returns true when this copy batch unauthorized response has a 3xx status code
func (*CopyBatchUnauthorized) IsServerError ¶
func (o *CopyBatchUnauthorized) IsServerError() bool
IsServerError returns true when this copy batch unauthorized response has a 5xx status code
func (*CopyBatchUnauthorized) IsSuccess ¶
func (o *CopyBatchUnauthorized) IsSuccess() bool
IsSuccess returns true when this copy batch unauthorized response has a 2xx status code
func (*CopyBatchUnauthorized) String ¶
func (o *CopyBatchUnauthorized) String() string
type CopyJobBadRequest ¶
type CopyJobBadRequest struct {
}
CopyJobBadRequest describes a response with status code 400, with default header values.
Invalid batch
func NewCopyJobBadRequest ¶
func NewCopyJobBadRequest() *CopyJobBadRequest
NewCopyJobBadRequest creates a CopyJobBadRequest with default headers values
func (*CopyJobBadRequest) Code ¶
func (o *CopyJobBadRequest) Code() int
Code gets the status code for the copy job bad request response
func (*CopyJobBadRequest) Error ¶
func (o *CopyJobBadRequest) Error() string
func (*CopyJobBadRequest) IsClientError ¶
func (o *CopyJobBadRequest) IsClientError() bool
IsClientError returns true when this copy job bad request response has a 4xx status code
func (*CopyJobBadRequest) IsCode ¶
func (o *CopyJobBadRequest) IsCode(code int) bool
IsCode returns true when this copy job bad request response a status code equal to that given
func (*CopyJobBadRequest) IsRedirect ¶
func (o *CopyJobBadRequest) IsRedirect() bool
IsRedirect returns true when this copy job bad request response has a 3xx status code
func (*CopyJobBadRequest) IsServerError ¶
func (o *CopyJobBadRequest) IsServerError() bool
IsServerError returns true when this copy job bad request response has a 5xx status code
func (*CopyJobBadRequest) IsSuccess ¶
func (o *CopyJobBadRequest) IsSuccess() bool
IsSuccess returns true when this copy job bad request response has a 2xx status code
func (*CopyJobBadRequest) String ¶
func (o *CopyJobBadRequest) String() string
type CopyJobForbidden ¶
type CopyJobForbidden struct {
}
CopyJobForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCopyJobForbidden ¶
func NewCopyJobForbidden() *CopyJobForbidden
NewCopyJobForbidden creates a CopyJobForbidden with default headers values
func (*CopyJobForbidden) Code ¶
func (o *CopyJobForbidden) Code() int
Code gets the status code for the copy job forbidden response
func (*CopyJobForbidden) Error ¶
func (o *CopyJobForbidden) Error() string
func (*CopyJobForbidden) IsClientError ¶
func (o *CopyJobForbidden) IsClientError() bool
IsClientError returns true when this copy job forbidden response has a 4xx status code
func (*CopyJobForbidden) IsCode ¶
func (o *CopyJobForbidden) IsCode(code int) bool
IsCode returns true when this copy job forbidden response a status code equal to that given
func (*CopyJobForbidden) IsRedirect ¶
func (o *CopyJobForbidden) IsRedirect() bool
IsRedirect returns true when this copy job forbidden response has a 3xx status code
func (*CopyJobForbidden) IsServerError ¶
func (o *CopyJobForbidden) IsServerError() bool
IsServerError returns true when this copy job forbidden response has a 5xx status code
func (*CopyJobForbidden) IsSuccess ¶
func (o *CopyJobForbidden) IsSuccess() bool
IsSuccess returns true when this copy job forbidden response has a 2xx status code
func (*CopyJobForbidden) String ¶
func (o *CopyJobForbidden) String() string
type CopyJobNotFound ¶
type CopyJobNotFound struct {
}
CopyJobNotFound describes a response with status code 404, with default header values.
Not found
func NewCopyJobNotFound ¶
func NewCopyJobNotFound() *CopyJobNotFound
NewCopyJobNotFound creates a CopyJobNotFound with default headers values
func (*CopyJobNotFound) Code ¶
func (o *CopyJobNotFound) Code() int
Code gets the status code for the copy job not found response
func (*CopyJobNotFound) Error ¶
func (o *CopyJobNotFound) Error() string
func (*CopyJobNotFound) IsClientError ¶
func (o *CopyJobNotFound) IsClientError() bool
IsClientError returns true when this copy job not found response has a 4xx status code
func (*CopyJobNotFound) IsCode ¶
func (o *CopyJobNotFound) IsCode(code int) bool
IsCode returns true when this copy job not found response a status code equal to that given
func (*CopyJobNotFound) IsRedirect ¶
func (o *CopyJobNotFound) IsRedirect() bool
IsRedirect returns true when this copy job not found response has a 3xx status code
func (*CopyJobNotFound) IsServerError ¶
func (o *CopyJobNotFound) IsServerError() bool
IsServerError returns true when this copy job not found response has a 5xx status code
func (*CopyJobNotFound) IsSuccess ¶
func (o *CopyJobNotFound) IsSuccess() bool
IsSuccess returns true when this copy job not found response has a 2xx status code
func (*CopyJobNotFound) String ¶
func (o *CopyJobNotFound) String() string
type CopyJobOK ¶
type CopyJobOK struct {
Payload *models.ScheduledJobSummary
}
CopyJobOK describes a response with status code 200, with default header values.
Success
func NewCopyJobOK ¶
func NewCopyJobOK() *CopyJobOK
NewCopyJobOK creates a CopyJobOK with default headers values
func (*CopyJobOK) GetPayload ¶
func (o *CopyJobOK) GetPayload() *models.ScheduledJobSummary
func (*CopyJobOK) IsClientError ¶
IsClientError returns true when this copy job o k response has a 4xx status code
func (*CopyJobOK) IsCode ¶
IsCode returns true when this copy job o k response a status code equal to that given
func (*CopyJobOK) IsRedirect ¶
IsRedirect returns true when this copy job o k response has a 3xx status code
func (*CopyJobOK) IsServerError ¶
IsServerError returns true when this copy job o k response has a 5xx status code
type CopyJobParams ¶
type CopyJobParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
// JobName.
//
// Name of job to be copied
JobName string
// ScheduledJobRequest.
//
// Request for creating a scheduled job
ScheduledJobRequest *models.ScheduledJobRequest
HTTPClient *http.Client
// contains filtered or unexported fields
}
CopyJobParams contains all the parameters to send to the API endpoint
for the copy job operation. Typically these are written to a http.Request.
func NewCopyJobParams ¶
func NewCopyJobParams() *CopyJobParams
NewCopyJobParams creates a new CopyJobParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCopyJobParamsWithContext
deprecated
func NewCopyJobParamsWithContext(ctx context.Context) *CopyJobParams
NewCopyJobParamsWithContext creates a new CopyJobParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of CopyJobParams.
func NewCopyJobParamsWithHTTPClient ¶
func NewCopyJobParamsWithHTTPClient(client *http.Client) *CopyJobParams
NewCopyJobParamsWithHTTPClient creates a new CopyJobParams object with the ability to set a custom HTTPClient for a request.
func NewCopyJobParamsWithTimeout ¶
func NewCopyJobParamsWithTimeout(timeout time.Duration) *CopyJobParams
NewCopyJobParamsWithTimeout creates a new CopyJobParams object with the ability to set a timeout on a request.
func (*CopyJobParams) SetAppName ¶
func (o *CopyJobParams) SetAppName(appName string)
SetAppName adds the appName to the copy job params.
func (*CopyJobParams) SetContext
deprecated
func (o *CopyJobParams) SetContext(ctx context.Context)
SetContext adds the context to the copy job params.
Deprecated: use the operation call with context to pass the context instead of CopyJobParams.
func (*CopyJobParams) SetDefaults ¶
func (o *CopyJobParams) SetDefaults()
SetDefaults hydrates default values in the copy job params (not the query body).
All values with no default are reset to their zero value.
func (*CopyJobParams) SetEnvName ¶
func (o *CopyJobParams) SetEnvName(envName string)
SetEnvName adds the envName to the copy job params.
func (*CopyJobParams) SetHTTPClient ¶
func (o *CopyJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the copy job params.
func (*CopyJobParams) SetImpersonateGroup ¶
func (o *CopyJobParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the copy job params.
func (*CopyJobParams) SetImpersonateUser ¶
func (o *CopyJobParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the copy job params.
func (*CopyJobParams) SetJobComponentName ¶
func (o *CopyJobParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the copy job params.
func (*CopyJobParams) SetJobName ¶
func (o *CopyJobParams) SetJobName(jobName string)
SetJobName adds the jobName to the copy job params.
func (*CopyJobParams) SetScheduledJobRequest ¶
func (o *CopyJobParams) SetScheduledJobRequest(scheduledJobRequest *models.ScheduledJobRequest)
SetScheduledJobRequest adds the scheduledJobRequest to the copy job params.
func (*CopyJobParams) SetTimeout ¶
func (o *CopyJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the copy job params.
func (*CopyJobParams) WithAppName ¶
func (o *CopyJobParams) WithAppName(appName string) *CopyJobParams
WithAppName adds the appName to the copy job params.
func (*CopyJobParams) WithContext
deprecated
func (o *CopyJobParams) WithContext(ctx context.Context) *CopyJobParams
WithContext adds the context to the copy job params.
Deprecated: use the operation call with context to pass the context instead of CopyJobParams.
func (*CopyJobParams) WithDefaults ¶
func (o *CopyJobParams) WithDefaults() *CopyJobParams
WithDefaults hydrates default values in the copy job params (not the query body).
All values with no default are reset to their zero value.
func (*CopyJobParams) WithEnvName ¶
func (o *CopyJobParams) WithEnvName(envName string) *CopyJobParams
WithEnvName adds the envName to the copy job params.
func (*CopyJobParams) WithHTTPClient ¶
func (o *CopyJobParams) WithHTTPClient(client *http.Client) *CopyJobParams
WithHTTPClient adds the HTTPClient to the copy job params.
func (*CopyJobParams) WithImpersonateGroup ¶
func (o *CopyJobParams) WithImpersonateGroup(impersonateGroup *string) *CopyJobParams
WithImpersonateGroup adds the impersonateGroup to the copy job params.
func (*CopyJobParams) WithImpersonateUser ¶
func (o *CopyJobParams) WithImpersonateUser(impersonateUser *string) *CopyJobParams
WithImpersonateUser adds the impersonateUser to the copy job params.
func (*CopyJobParams) WithJobComponentName ¶
func (o *CopyJobParams) WithJobComponentName(jobComponentName string) *CopyJobParams
WithJobComponentName adds the jobComponentName to the copy job params.
func (*CopyJobParams) WithJobName ¶
func (o *CopyJobParams) WithJobName(jobName string) *CopyJobParams
WithJobName adds the jobName to the copy job params.
func (*CopyJobParams) WithScheduledJobRequest ¶
func (o *CopyJobParams) WithScheduledJobRequest(scheduledJobRequest *models.ScheduledJobRequest) *CopyJobParams
WithScheduledJobRequest adds the scheduledJobRequest to the copy job params.
func (*CopyJobParams) WithTimeout ¶
func (o *CopyJobParams) WithTimeout(timeout time.Duration) *CopyJobParams
WithTimeout adds the timeout to the copy job params.
func (*CopyJobParams) WriteToRequest ¶
func (o *CopyJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type CopyJobReader ¶
type CopyJobReader struct {
// contains filtered or unexported fields
}
CopyJobReader is a Reader for the CopyJob structure.
func (*CopyJobReader) ReadResponse ¶
func (o *CopyJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CopyJobUnauthorized ¶
type CopyJobUnauthorized struct {
}
CopyJobUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCopyJobUnauthorized ¶
func NewCopyJobUnauthorized() *CopyJobUnauthorized
NewCopyJobUnauthorized creates a CopyJobUnauthorized with default headers values
func (*CopyJobUnauthorized) Code ¶
func (o *CopyJobUnauthorized) Code() int
Code gets the status code for the copy job unauthorized response
func (*CopyJobUnauthorized) Error ¶
func (o *CopyJobUnauthorized) Error() string
func (*CopyJobUnauthorized) IsClientError ¶
func (o *CopyJobUnauthorized) IsClientError() bool
IsClientError returns true when this copy job unauthorized response has a 4xx status code
func (*CopyJobUnauthorized) IsCode ¶
func (o *CopyJobUnauthorized) IsCode(code int) bool
IsCode returns true when this copy job unauthorized response a status code equal to that given
func (*CopyJobUnauthorized) IsRedirect ¶
func (o *CopyJobUnauthorized) IsRedirect() bool
IsRedirect returns true when this copy job unauthorized response has a 3xx status code
func (*CopyJobUnauthorized) IsServerError ¶
func (o *CopyJobUnauthorized) IsServerError() bool
IsServerError returns true when this copy job unauthorized response has a 5xx status code
func (*CopyJobUnauthorized) IsSuccess ¶
func (o *CopyJobUnauthorized) IsSuccess() bool
IsSuccess returns true when this copy job unauthorized response has a 2xx status code
func (*CopyJobUnauthorized) String ¶
func (o *CopyJobUnauthorized) String() string
type DeleteBatchBadRequest ¶
type DeleteBatchBadRequest struct {
}
DeleteBatchBadRequest describes a response with status code 400, with default header values.
Invalid batch
func NewDeleteBatchBadRequest ¶
func NewDeleteBatchBadRequest() *DeleteBatchBadRequest
NewDeleteBatchBadRequest creates a DeleteBatchBadRequest with default headers values
func (*DeleteBatchBadRequest) Code ¶
func (o *DeleteBatchBadRequest) Code() int
Code gets the status code for the delete batch bad request response
func (*DeleteBatchBadRequest) Error ¶
func (o *DeleteBatchBadRequest) Error() string
func (*DeleteBatchBadRequest) IsClientError ¶
func (o *DeleteBatchBadRequest) IsClientError() bool
IsClientError returns true when this delete batch bad request response has a 4xx status code
func (*DeleteBatchBadRequest) IsCode ¶
func (o *DeleteBatchBadRequest) IsCode(code int) bool
IsCode returns true when this delete batch bad request response a status code equal to that given
func (*DeleteBatchBadRequest) IsRedirect ¶
func (o *DeleteBatchBadRequest) IsRedirect() bool
IsRedirect returns true when this delete batch bad request response has a 3xx status code
func (*DeleteBatchBadRequest) IsServerError ¶
func (o *DeleteBatchBadRequest) IsServerError() bool
IsServerError returns true when this delete batch bad request response has a 5xx status code
func (*DeleteBatchBadRequest) IsSuccess ¶
func (o *DeleteBatchBadRequest) IsSuccess() bool
IsSuccess returns true when this delete batch bad request response has a 2xx status code
func (*DeleteBatchBadRequest) String ¶
func (o *DeleteBatchBadRequest) String() string
type DeleteBatchForbidden ¶
type DeleteBatchForbidden struct {
}
DeleteBatchForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteBatchForbidden ¶
func NewDeleteBatchForbidden() *DeleteBatchForbidden
NewDeleteBatchForbidden creates a DeleteBatchForbidden with default headers values
func (*DeleteBatchForbidden) Code ¶
func (o *DeleteBatchForbidden) Code() int
Code gets the status code for the delete batch forbidden response
func (*DeleteBatchForbidden) Error ¶
func (o *DeleteBatchForbidden) Error() string
func (*DeleteBatchForbidden) IsClientError ¶
func (o *DeleteBatchForbidden) IsClientError() bool
IsClientError returns true when this delete batch forbidden response has a 4xx status code
func (*DeleteBatchForbidden) IsCode ¶
func (o *DeleteBatchForbidden) IsCode(code int) bool
IsCode returns true when this delete batch forbidden response a status code equal to that given
func (*DeleteBatchForbidden) IsRedirect ¶
func (o *DeleteBatchForbidden) IsRedirect() bool
IsRedirect returns true when this delete batch forbidden response has a 3xx status code
func (*DeleteBatchForbidden) IsServerError ¶
func (o *DeleteBatchForbidden) IsServerError() bool
IsServerError returns true when this delete batch forbidden response has a 5xx status code
func (*DeleteBatchForbidden) IsSuccess ¶
func (o *DeleteBatchForbidden) IsSuccess() bool
IsSuccess returns true when this delete batch forbidden response has a 2xx status code
func (*DeleteBatchForbidden) String ¶
func (o *DeleteBatchForbidden) String() string
type DeleteBatchNoContent ¶
type DeleteBatchNoContent struct {
}
DeleteBatchNoContent describes a response with status code 204, with default header values.
Success
func NewDeleteBatchNoContent ¶
func NewDeleteBatchNoContent() *DeleteBatchNoContent
NewDeleteBatchNoContent creates a DeleteBatchNoContent with default headers values
func (*DeleteBatchNoContent) Code ¶
func (o *DeleteBatchNoContent) Code() int
Code gets the status code for the delete batch no content response
func (*DeleteBatchNoContent) Error ¶
func (o *DeleteBatchNoContent) Error() string
func (*DeleteBatchNoContent) IsClientError ¶
func (o *DeleteBatchNoContent) IsClientError() bool
IsClientError returns true when this delete batch no content response has a 4xx status code
func (*DeleteBatchNoContent) IsCode ¶
func (o *DeleteBatchNoContent) IsCode(code int) bool
IsCode returns true when this delete batch no content response a status code equal to that given
func (*DeleteBatchNoContent) IsRedirect ¶
func (o *DeleteBatchNoContent) IsRedirect() bool
IsRedirect returns true when this delete batch no content response has a 3xx status code
func (*DeleteBatchNoContent) IsServerError ¶
func (o *DeleteBatchNoContent) IsServerError() bool
IsServerError returns true when this delete batch no content response has a 5xx status code
func (*DeleteBatchNoContent) IsSuccess ¶
func (o *DeleteBatchNoContent) IsSuccess() bool
IsSuccess returns true when this delete batch no content response has a 2xx status code
func (*DeleteBatchNoContent) String ¶
func (o *DeleteBatchNoContent) String() string
type DeleteBatchNotFound ¶
type DeleteBatchNotFound struct {
}
DeleteBatchNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteBatchNotFound ¶
func NewDeleteBatchNotFound() *DeleteBatchNotFound
NewDeleteBatchNotFound creates a DeleteBatchNotFound with default headers values
func (*DeleteBatchNotFound) Code ¶
func (o *DeleteBatchNotFound) Code() int
Code gets the status code for the delete batch not found response
func (*DeleteBatchNotFound) Error ¶
func (o *DeleteBatchNotFound) Error() string
func (*DeleteBatchNotFound) IsClientError ¶
func (o *DeleteBatchNotFound) IsClientError() bool
IsClientError returns true when this delete batch not found response has a 4xx status code
func (*DeleteBatchNotFound) IsCode ¶
func (o *DeleteBatchNotFound) IsCode(code int) bool
IsCode returns true when this delete batch not found response a status code equal to that given
func (*DeleteBatchNotFound) IsRedirect ¶
func (o *DeleteBatchNotFound) IsRedirect() bool
IsRedirect returns true when this delete batch not found response has a 3xx status code
func (*DeleteBatchNotFound) IsServerError ¶
func (o *DeleteBatchNotFound) IsServerError() bool
IsServerError returns true when this delete batch not found response has a 5xx status code
func (*DeleteBatchNotFound) IsSuccess ¶
func (o *DeleteBatchNotFound) IsSuccess() bool
IsSuccess returns true when this delete batch not found response has a 2xx status code
func (*DeleteBatchNotFound) String ¶
func (o *DeleteBatchNotFound) String() string
type DeleteBatchParams ¶
type DeleteBatchParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// BatchName.
//
// Name of batch
BatchName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteBatchParams contains all the parameters to send to the API endpoint
for the delete batch operation. Typically these are written to a http.Request.
func NewDeleteBatchParams ¶
func NewDeleteBatchParams() *DeleteBatchParams
NewDeleteBatchParams creates a new DeleteBatchParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteBatchParamsWithContext
deprecated
func NewDeleteBatchParamsWithContext(ctx context.Context) *DeleteBatchParams
NewDeleteBatchParamsWithContext creates a new DeleteBatchParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of DeleteBatchParams.
func NewDeleteBatchParamsWithHTTPClient ¶
func NewDeleteBatchParamsWithHTTPClient(client *http.Client) *DeleteBatchParams
NewDeleteBatchParamsWithHTTPClient creates a new DeleteBatchParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBatchParamsWithTimeout ¶
func NewDeleteBatchParamsWithTimeout(timeout time.Duration) *DeleteBatchParams
NewDeleteBatchParamsWithTimeout creates a new DeleteBatchParams object with the ability to set a timeout on a request.
func (*DeleteBatchParams) SetAppName ¶
func (o *DeleteBatchParams) SetAppName(appName string)
SetAppName adds the appName to the delete batch params.
func (*DeleteBatchParams) SetBatchName ¶
func (o *DeleteBatchParams) SetBatchName(batchName string)
SetBatchName adds the batchName to the delete batch params.
func (*DeleteBatchParams) SetContext
deprecated
func (o *DeleteBatchParams) SetContext(ctx context.Context)
SetContext adds the context to the delete batch params.
Deprecated: use the operation call with context to pass the context instead of DeleteBatchParams.
func (*DeleteBatchParams) SetDefaults ¶
func (o *DeleteBatchParams) SetDefaults()
SetDefaults hydrates default values in the delete batch params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBatchParams) SetEnvName ¶
func (o *DeleteBatchParams) SetEnvName(envName string)
SetEnvName adds the envName to the delete batch params.
func (*DeleteBatchParams) SetHTTPClient ¶
func (o *DeleteBatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete batch params.
func (*DeleteBatchParams) SetImpersonateGroup ¶
func (o *DeleteBatchParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the delete batch params.
func (*DeleteBatchParams) SetImpersonateUser ¶
func (o *DeleteBatchParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the delete batch params.
func (*DeleteBatchParams) SetJobComponentName ¶
func (o *DeleteBatchParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the delete batch params.
func (*DeleteBatchParams) SetTimeout ¶
func (o *DeleteBatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete batch params.
func (*DeleteBatchParams) WithAppName ¶
func (o *DeleteBatchParams) WithAppName(appName string) *DeleteBatchParams
WithAppName adds the appName to the delete batch params.
func (*DeleteBatchParams) WithBatchName ¶
func (o *DeleteBatchParams) WithBatchName(batchName string) *DeleteBatchParams
WithBatchName adds the batchName to the delete batch params.
func (*DeleteBatchParams) WithContext
deprecated
func (o *DeleteBatchParams) WithContext(ctx context.Context) *DeleteBatchParams
WithContext adds the context to the delete batch params.
Deprecated: use the operation call with context to pass the context instead of DeleteBatchParams.
func (*DeleteBatchParams) WithDefaults ¶
func (o *DeleteBatchParams) WithDefaults() *DeleteBatchParams
WithDefaults hydrates default values in the delete batch params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBatchParams) WithEnvName ¶
func (o *DeleteBatchParams) WithEnvName(envName string) *DeleteBatchParams
WithEnvName adds the envName to the delete batch params.
func (*DeleteBatchParams) WithHTTPClient ¶
func (o *DeleteBatchParams) WithHTTPClient(client *http.Client) *DeleteBatchParams
WithHTTPClient adds the HTTPClient to the delete batch params.
func (*DeleteBatchParams) WithImpersonateGroup ¶
func (o *DeleteBatchParams) WithImpersonateGroup(impersonateGroup *string) *DeleteBatchParams
WithImpersonateGroup adds the impersonateGroup to the delete batch params.
func (*DeleteBatchParams) WithImpersonateUser ¶
func (o *DeleteBatchParams) WithImpersonateUser(impersonateUser *string) *DeleteBatchParams
WithImpersonateUser adds the impersonateUser to the delete batch params.
func (*DeleteBatchParams) WithJobComponentName ¶
func (o *DeleteBatchParams) WithJobComponentName(jobComponentName string) *DeleteBatchParams
WithJobComponentName adds the jobComponentName to the delete batch params.
func (*DeleteBatchParams) WithTimeout ¶
func (o *DeleteBatchParams) WithTimeout(timeout time.Duration) *DeleteBatchParams
WithTimeout adds the timeout to the delete batch params.
func (*DeleteBatchParams) WriteToRequest ¶
func (o *DeleteBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type DeleteBatchReader ¶
type DeleteBatchReader struct {
// contains filtered or unexported fields
}
DeleteBatchReader is a Reader for the DeleteBatch structure.
func (*DeleteBatchReader) ReadResponse ¶
func (o *DeleteBatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteBatchUnauthorized ¶
type DeleteBatchUnauthorized struct {
}
DeleteBatchUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteBatchUnauthorized ¶
func NewDeleteBatchUnauthorized() *DeleteBatchUnauthorized
NewDeleteBatchUnauthorized creates a DeleteBatchUnauthorized with default headers values
func (*DeleteBatchUnauthorized) Code ¶
func (o *DeleteBatchUnauthorized) Code() int
Code gets the status code for the delete batch unauthorized response
func (*DeleteBatchUnauthorized) Error ¶
func (o *DeleteBatchUnauthorized) Error() string
func (*DeleteBatchUnauthorized) IsClientError ¶
func (o *DeleteBatchUnauthorized) IsClientError() bool
IsClientError returns true when this delete batch unauthorized response has a 4xx status code
func (*DeleteBatchUnauthorized) IsCode ¶
func (o *DeleteBatchUnauthorized) IsCode(code int) bool
IsCode returns true when this delete batch unauthorized response a status code equal to that given
func (*DeleteBatchUnauthorized) IsRedirect ¶
func (o *DeleteBatchUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete batch unauthorized response has a 3xx status code
func (*DeleteBatchUnauthorized) IsServerError ¶
func (o *DeleteBatchUnauthorized) IsServerError() bool
IsServerError returns true when this delete batch unauthorized response has a 5xx status code
func (*DeleteBatchUnauthorized) IsSuccess ¶
func (o *DeleteBatchUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete batch unauthorized response has a 2xx status code
func (*DeleteBatchUnauthorized) String ¶
func (o *DeleteBatchUnauthorized) String() string
type DeleteJobBadRequest ¶
type DeleteJobBadRequest struct {
}
DeleteJobBadRequest describes a response with status code 400, with default header values.
Invalid job
func NewDeleteJobBadRequest ¶
func NewDeleteJobBadRequest() *DeleteJobBadRequest
NewDeleteJobBadRequest creates a DeleteJobBadRequest with default headers values
func (*DeleteJobBadRequest) Code ¶
func (o *DeleteJobBadRequest) Code() int
Code gets the status code for the delete job bad request response
func (*DeleteJobBadRequest) Error ¶
func (o *DeleteJobBadRequest) Error() string
func (*DeleteJobBadRequest) IsClientError ¶
func (o *DeleteJobBadRequest) IsClientError() bool
IsClientError returns true when this delete job bad request response has a 4xx status code
func (*DeleteJobBadRequest) IsCode ¶
func (o *DeleteJobBadRequest) IsCode(code int) bool
IsCode returns true when this delete job bad request response a status code equal to that given
func (*DeleteJobBadRequest) IsRedirect ¶
func (o *DeleteJobBadRequest) IsRedirect() bool
IsRedirect returns true when this delete job bad request response has a 3xx status code
func (*DeleteJobBadRequest) IsServerError ¶
func (o *DeleteJobBadRequest) IsServerError() bool
IsServerError returns true when this delete job bad request response has a 5xx status code
func (*DeleteJobBadRequest) IsSuccess ¶
func (o *DeleteJobBadRequest) IsSuccess() bool
IsSuccess returns true when this delete job bad request response has a 2xx status code
func (*DeleteJobBadRequest) String ¶
func (o *DeleteJobBadRequest) String() string
type DeleteJobForbidden ¶
type DeleteJobForbidden struct {
}
DeleteJobForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteJobForbidden ¶
func NewDeleteJobForbidden() *DeleteJobForbidden
NewDeleteJobForbidden creates a DeleteJobForbidden with default headers values
func (*DeleteJobForbidden) Code ¶
func (o *DeleteJobForbidden) Code() int
Code gets the status code for the delete job forbidden response
func (*DeleteJobForbidden) Error ¶
func (o *DeleteJobForbidden) Error() string
func (*DeleteJobForbidden) IsClientError ¶
func (o *DeleteJobForbidden) IsClientError() bool
IsClientError returns true when this delete job forbidden response has a 4xx status code
func (*DeleteJobForbidden) IsCode ¶
func (o *DeleteJobForbidden) IsCode(code int) bool
IsCode returns true when this delete job forbidden response a status code equal to that given
func (*DeleteJobForbidden) IsRedirect ¶
func (o *DeleteJobForbidden) IsRedirect() bool
IsRedirect returns true when this delete job forbidden response has a 3xx status code
func (*DeleteJobForbidden) IsServerError ¶
func (o *DeleteJobForbidden) IsServerError() bool
IsServerError returns true when this delete job forbidden response has a 5xx status code
func (*DeleteJobForbidden) IsSuccess ¶
func (o *DeleteJobForbidden) IsSuccess() bool
IsSuccess returns true when this delete job forbidden response has a 2xx status code
func (*DeleteJobForbidden) String ¶
func (o *DeleteJobForbidden) String() string
type DeleteJobNoContent ¶
type DeleteJobNoContent struct {
}
DeleteJobNoContent describes a response with status code 204, with default header values.
Success
func NewDeleteJobNoContent ¶
func NewDeleteJobNoContent() *DeleteJobNoContent
NewDeleteJobNoContent creates a DeleteJobNoContent with default headers values
func (*DeleteJobNoContent) Code ¶
func (o *DeleteJobNoContent) Code() int
Code gets the status code for the delete job no content response
func (*DeleteJobNoContent) Error ¶
func (o *DeleteJobNoContent) Error() string
func (*DeleteJobNoContent) IsClientError ¶
func (o *DeleteJobNoContent) IsClientError() bool
IsClientError returns true when this delete job no content response has a 4xx status code
func (*DeleteJobNoContent) IsCode ¶
func (o *DeleteJobNoContent) IsCode(code int) bool
IsCode returns true when this delete job no content response a status code equal to that given
func (*DeleteJobNoContent) IsRedirect ¶
func (o *DeleteJobNoContent) IsRedirect() bool
IsRedirect returns true when this delete job no content response has a 3xx status code
func (*DeleteJobNoContent) IsServerError ¶
func (o *DeleteJobNoContent) IsServerError() bool
IsServerError returns true when this delete job no content response has a 5xx status code
func (*DeleteJobNoContent) IsSuccess ¶
func (o *DeleteJobNoContent) IsSuccess() bool
IsSuccess returns true when this delete job no content response has a 2xx status code
func (*DeleteJobNoContent) String ¶
func (o *DeleteJobNoContent) String() string
type DeleteJobNotFound ¶
type DeleteJobNotFound struct {
}
DeleteJobNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteJobNotFound ¶
func NewDeleteJobNotFound() *DeleteJobNotFound
NewDeleteJobNotFound creates a DeleteJobNotFound with default headers values
func (*DeleteJobNotFound) Code ¶
func (o *DeleteJobNotFound) Code() int
Code gets the status code for the delete job not found response
func (*DeleteJobNotFound) Error ¶
func (o *DeleteJobNotFound) Error() string
func (*DeleteJobNotFound) IsClientError ¶
func (o *DeleteJobNotFound) IsClientError() bool
IsClientError returns true when this delete job not found response has a 4xx status code
func (*DeleteJobNotFound) IsCode ¶
func (o *DeleteJobNotFound) IsCode(code int) bool
IsCode returns true when this delete job not found response a status code equal to that given
func (*DeleteJobNotFound) IsRedirect ¶
func (o *DeleteJobNotFound) IsRedirect() bool
IsRedirect returns true when this delete job not found response has a 3xx status code
func (*DeleteJobNotFound) IsServerError ¶
func (o *DeleteJobNotFound) IsServerError() bool
IsServerError returns true when this delete job not found response has a 5xx status code
func (*DeleteJobNotFound) IsSuccess ¶
func (o *DeleteJobNotFound) IsSuccess() bool
IsSuccess returns true when this delete job not found response has a 2xx status code
func (*DeleteJobNotFound) String ¶
func (o *DeleteJobNotFound) String() string
type DeleteJobParams ¶
type DeleteJobParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
// JobName.
//
// Name of job
JobName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteJobParams contains all the parameters to send to the API endpoint
for the delete job operation. Typically these are written to a http.Request.
func NewDeleteJobParams ¶
func NewDeleteJobParams() *DeleteJobParams
NewDeleteJobParams creates a new DeleteJobParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteJobParamsWithContext
deprecated
func NewDeleteJobParamsWithContext(ctx context.Context) *DeleteJobParams
NewDeleteJobParamsWithContext creates a new DeleteJobParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of DeleteJobParams.
func NewDeleteJobParamsWithHTTPClient ¶
func NewDeleteJobParamsWithHTTPClient(client *http.Client) *DeleteJobParams
NewDeleteJobParamsWithHTTPClient creates a new DeleteJobParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteJobParamsWithTimeout ¶
func NewDeleteJobParamsWithTimeout(timeout time.Duration) *DeleteJobParams
NewDeleteJobParamsWithTimeout creates a new DeleteJobParams object with the ability to set a timeout on a request.
func (*DeleteJobParams) SetAppName ¶
func (o *DeleteJobParams) SetAppName(appName string)
SetAppName adds the appName to the delete job params.
func (*DeleteJobParams) SetContext
deprecated
func (o *DeleteJobParams) SetContext(ctx context.Context)
SetContext adds the context to the delete job params.
Deprecated: use the operation call with context to pass the context instead of DeleteJobParams.
func (*DeleteJobParams) SetDefaults ¶
func (o *DeleteJobParams) SetDefaults()
SetDefaults hydrates default values in the delete job params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteJobParams) SetEnvName ¶
func (o *DeleteJobParams) SetEnvName(envName string)
SetEnvName adds the envName to the delete job params.
func (*DeleteJobParams) SetHTTPClient ¶
func (o *DeleteJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete job params.
func (*DeleteJobParams) SetImpersonateGroup ¶
func (o *DeleteJobParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the delete job params.
func (*DeleteJobParams) SetImpersonateUser ¶
func (o *DeleteJobParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the delete job params.
func (*DeleteJobParams) SetJobComponentName ¶
func (o *DeleteJobParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the delete job params.
func (*DeleteJobParams) SetJobName ¶
func (o *DeleteJobParams) SetJobName(jobName string)
SetJobName adds the jobName to the delete job params.
func (*DeleteJobParams) SetTimeout ¶
func (o *DeleteJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete job params.
func (*DeleteJobParams) WithAppName ¶
func (o *DeleteJobParams) WithAppName(appName string) *DeleteJobParams
WithAppName adds the appName to the delete job params.
func (*DeleteJobParams) WithContext
deprecated
func (o *DeleteJobParams) WithContext(ctx context.Context) *DeleteJobParams
WithContext adds the context to the delete job params.
Deprecated: use the operation call with context to pass the context instead of DeleteJobParams.
func (*DeleteJobParams) WithDefaults ¶
func (o *DeleteJobParams) WithDefaults() *DeleteJobParams
WithDefaults hydrates default values in the delete job params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteJobParams) WithEnvName ¶
func (o *DeleteJobParams) WithEnvName(envName string) *DeleteJobParams
WithEnvName adds the envName to the delete job params.
func (*DeleteJobParams) WithHTTPClient ¶
func (o *DeleteJobParams) WithHTTPClient(client *http.Client) *DeleteJobParams
WithHTTPClient adds the HTTPClient to the delete job params.
func (*DeleteJobParams) WithImpersonateGroup ¶
func (o *DeleteJobParams) WithImpersonateGroup(impersonateGroup *string) *DeleteJobParams
WithImpersonateGroup adds the impersonateGroup to the delete job params.
func (*DeleteJobParams) WithImpersonateUser ¶
func (o *DeleteJobParams) WithImpersonateUser(impersonateUser *string) *DeleteJobParams
WithImpersonateUser adds the impersonateUser to the delete job params.
func (*DeleteJobParams) WithJobComponentName ¶
func (o *DeleteJobParams) WithJobComponentName(jobComponentName string) *DeleteJobParams
WithJobComponentName adds the jobComponentName to the delete job params.
func (*DeleteJobParams) WithJobName ¶
func (o *DeleteJobParams) WithJobName(jobName string) *DeleteJobParams
WithJobName adds the jobName to the delete job params.
func (*DeleteJobParams) WithTimeout ¶
func (o *DeleteJobParams) WithTimeout(timeout time.Duration) *DeleteJobParams
WithTimeout adds the timeout to the delete job params.
func (*DeleteJobParams) WriteToRequest ¶
func (o *DeleteJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type DeleteJobReader ¶
type DeleteJobReader struct {
// contains filtered or unexported fields
}
DeleteJobReader is a Reader for the DeleteJob structure.
func (*DeleteJobReader) ReadResponse ¶
func (o *DeleteJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteJobUnauthorized ¶
type DeleteJobUnauthorized struct {
}
DeleteJobUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteJobUnauthorized ¶
func NewDeleteJobUnauthorized() *DeleteJobUnauthorized
NewDeleteJobUnauthorized creates a DeleteJobUnauthorized with default headers values
func (*DeleteJobUnauthorized) Code ¶
func (o *DeleteJobUnauthorized) Code() int
Code gets the status code for the delete job unauthorized response
func (*DeleteJobUnauthorized) Error ¶
func (o *DeleteJobUnauthorized) Error() string
func (*DeleteJobUnauthorized) IsClientError ¶
func (o *DeleteJobUnauthorized) IsClientError() bool
IsClientError returns true when this delete job unauthorized response has a 4xx status code
func (*DeleteJobUnauthorized) IsCode ¶
func (o *DeleteJobUnauthorized) IsCode(code int) bool
IsCode returns true when this delete job unauthorized response a status code equal to that given
func (*DeleteJobUnauthorized) IsRedirect ¶
func (o *DeleteJobUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete job unauthorized response has a 3xx status code
func (*DeleteJobUnauthorized) IsServerError ¶
func (o *DeleteJobUnauthorized) IsServerError() bool
IsServerError returns true when this delete job unauthorized response has a 5xx status code
func (*DeleteJobUnauthorized) IsSuccess ¶
func (o *DeleteJobUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete job unauthorized response has a 2xx status code
func (*DeleteJobUnauthorized) String ¶
func (o *DeleteJobUnauthorized) String() string
type GetBatchNotFound ¶
type GetBatchNotFound struct {
}
GetBatchNotFound describes a response with status code 404, with default header values.
Not found
func NewGetBatchNotFound ¶
func NewGetBatchNotFound() *GetBatchNotFound
NewGetBatchNotFound creates a GetBatchNotFound with default headers values
func (*GetBatchNotFound) Code ¶
func (o *GetBatchNotFound) Code() int
Code gets the status code for the get batch not found response
func (*GetBatchNotFound) Error ¶
func (o *GetBatchNotFound) Error() string
func (*GetBatchNotFound) IsClientError ¶
func (o *GetBatchNotFound) IsClientError() bool
IsClientError returns true when this get batch not found response has a 4xx status code
func (*GetBatchNotFound) IsCode ¶
func (o *GetBatchNotFound) IsCode(code int) bool
IsCode returns true when this get batch not found response a status code equal to that given
func (*GetBatchNotFound) IsRedirect ¶
func (o *GetBatchNotFound) IsRedirect() bool
IsRedirect returns true when this get batch not found response has a 3xx status code
func (*GetBatchNotFound) IsServerError ¶
func (o *GetBatchNotFound) IsServerError() bool
IsServerError returns true when this get batch not found response has a 5xx status code
func (*GetBatchNotFound) IsSuccess ¶
func (o *GetBatchNotFound) IsSuccess() bool
IsSuccess returns true when this get batch not found response has a 2xx status code
func (*GetBatchNotFound) String ¶
func (o *GetBatchNotFound) String() string
type GetBatchOK ¶
type GetBatchOK struct {
Payload *models.ScheduledBatchSummary
}
GetBatchOK describes a response with status code 200, with default header values.
scheduled batch
func NewGetBatchOK ¶
func NewGetBatchOK() *GetBatchOK
NewGetBatchOK creates a GetBatchOK with default headers values
func (*GetBatchOK) Code ¶
func (o *GetBatchOK) Code() int
Code gets the status code for the get batch o k response
func (*GetBatchOK) Error ¶
func (o *GetBatchOK) Error() string
func (*GetBatchOK) GetPayload ¶
func (o *GetBatchOK) GetPayload() *models.ScheduledBatchSummary
func (*GetBatchOK) IsClientError ¶
func (o *GetBatchOK) IsClientError() bool
IsClientError returns true when this get batch o k response has a 4xx status code
func (*GetBatchOK) IsCode ¶
func (o *GetBatchOK) IsCode(code int) bool
IsCode returns true when this get batch o k response a status code equal to that given
func (*GetBatchOK) IsRedirect ¶
func (o *GetBatchOK) IsRedirect() bool
IsRedirect returns true when this get batch o k response has a 3xx status code
func (*GetBatchOK) IsServerError ¶
func (o *GetBatchOK) IsServerError() bool
IsServerError returns true when this get batch o k response has a 5xx status code
func (*GetBatchOK) IsSuccess ¶
func (o *GetBatchOK) IsSuccess() bool
IsSuccess returns true when this get batch o k response has a 2xx status code
func (*GetBatchOK) String ¶
func (o *GetBatchOK) String() string
type GetBatchParams ¶
type GetBatchParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// BatchName.
//
// Name of batch
BatchName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetBatchParams contains all the parameters to send to the API endpoint
for the get batch operation. Typically these are written to a http.Request.
func NewGetBatchParams ¶
func NewGetBatchParams() *GetBatchParams
NewGetBatchParams creates a new GetBatchParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetBatchParamsWithContext
deprecated
func NewGetBatchParamsWithContext(ctx context.Context) *GetBatchParams
NewGetBatchParamsWithContext creates a new GetBatchParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetBatchParams.
func NewGetBatchParamsWithHTTPClient ¶
func NewGetBatchParamsWithHTTPClient(client *http.Client) *GetBatchParams
NewGetBatchParamsWithHTTPClient creates a new GetBatchParams object with the ability to set a custom HTTPClient for a request.
func NewGetBatchParamsWithTimeout ¶
func NewGetBatchParamsWithTimeout(timeout time.Duration) *GetBatchParams
NewGetBatchParamsWithTimeout creates a new GetBatchParams object with the ability to set a timeout on a request.
func (*GetBatchParams) SetAppName ¶
func (o *GetBatchParams) SetAppName(appName string)
SetAppName adds the appName to the get batch params.
func (*GetBatchParams) SetBatchName ¶
func (o *GetBatchParams) SetBatchName(batchName string)
SetBatchName adds the batchName to the get batch params.
func (*GetBatchParams) SetContext
deprecated
func (o *GetBatchParams) SetContext(ctx context.Context)
SetContext adds the context to the get batch params.
Deprecated: use the operation call with context to pass the context instead of GetBatchParams.
func (*GetBatchParams) SetDefaults ¶
func (o *GetBatchParams) SetDefaults()
SetDefaults hydrates default values in the get batch params (not the query body).
All values with no default are reset to their zero value.
func (*GetBatchParams) SetEnvName ¶
func (o *GetBatchParams) SetEnvName(envName string)
SetEnvName adds the envName to the get batch params.
func (*GetBatchParams) SetHTTPClient ¶
func (o *GetBatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get batch params.
func (*GetBatchParams) SetImpersonateGroup ¶
func (o *GetBatchParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the get batch params.
func (*GetBatchParams) SetImpersonateUser ¶
func (o *GetBatchParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the get batch params.
func (*GetBatchParams) SetJobComponentName ¶
func (o *GetBatchParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the get batch params.
func (*GetBatchParams) SetTimeout ¶
func (o *GetBatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get batch params.
func (*GetBatchParams) WithAppName ¶
func (o *GetBatchParams) WithAppName(appName string) *GetBatchParams
WithAppName adds the appName to the get batch params.
func (*GetBatchParams) WithBatchName ¶
func (o *GetBatchParams) WithBatchName(batchName string) *GetBatchParams
WithBatchName adds the batchName to the get batch params.
func (*GetBatchParams) WithContext
deprecated
func (o *GetBatchParams) WithContext(ctx context.Context) *GetBatchParams
WithContext adds the context to the get batch params.
Deprecated: use the operation call with context to pass the context instead of GetBatchParams.
func (*GetBatchParams) WithDefaults ¶
func (o *GetBatchParams) WithDefaults() *GetBatchParams
WithDefaults hydrates default values in the get batch params (not the query body).
All values with no default are reset to their zero value.
func (*GetBatchParams) WithEnvName ¶
func (o *GetBatchParams) WithEnvName(envName string) *GetBatchParams
WithEnvName adds the envName to the get batch params.
func (*GetBatchParams) WithHTTPClient ¶
func (o *GetBatchParams) WithHTTPClient(client *http.Client) *GetBatchParams
WithHTTPClient adds the HTTPClient to the get batch params.
func (*GetBatchParams) WithImpersonateGroup ¶
func (o *GetBatchParams) WithImpersonateGroup(impersonateGroup *string) *GetBatchParams
WithImpersonateGroup adds the impersonateGroup to the get batch params.
func (*GetBatchParams) WithImpersonateUser ¶
func (o *GetBatchParams) WithImpersonateUser(impersonateUser *string) *GetBatchParams
WithImpersonateUser adds the impersonateUser to the get batch params.
func (*GetBatchParams) WithJobComponentName ¶
func (o *GetBatchParams) WithJobComponentName(jobComponentName string) *GetBatchParams
WithJobComponentName adds the jobComponentName to the get batch params.
func (*GetBatchParams) WithTimeout ¶
func (o *GetBatchParams) WithTimeout(timeout time.Duration) *GetBatchParams
WithTimeout adds the timeout to the get batch params.
func (*GetBatchParams) WriteToRequest ¶
func (o *GetBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetBatchReader ¶
type GetBatchReader struct {
// contains filtered or unexported fields
}
GetBatchReader is a Reader for the GetBatch structure.
func (*GetBatchReader) ReadResponse ¶
func (o *GetBatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetBatchesNotFound ¶
type GetBatchesNotFound struct {
}
GetBatchesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetBatchesNotFound ¶
func NewGetBatchesNotFound() *GetBatchesNotFound
NewGetBatchesNotFound creates a GetBatchesNotFound with default headers values
func (*GetBatchesNotFound) Code ¶
func (o *GetBatchesNotFound) Code() int
Code gets the status code for the get batches not found response
func (*GetBatchesNotFound) Error ¶
func (o *GetBatchesNotFound) Error() string
func (*GetBatchesNotFound) IsClientError ¶
func (o *GetBatchesNotFound) IsClientError() bool
IsClientError returns true when this get batches not found response has a 4xx status code
func (*GetBatchesNotFound) IsCode ¶
func (o *GetBatchesNotFound) IsCode(code int) bool
IsCode returns true when this get batches not found response a status code equal to that given
func (*GetBatchesNotFound) IsRedirect ¶
func (o *GetBatchesNotFound) IsRedirect() bool
IsRedirect returns true when this get batches not found response has a 3xx status code
func (*GetBatchesNotFound) IsServerError ¶
func (o *GetBatchesNotFound) IsServerError() bool
IsServerError returns true when this get batches not found response has a 5xx status code
func (*GetBatchesNotFound) IsSuccess ¶
func (o *GetBatchesNotFound) IsSuccess() bool
IsSuccess returns true when this get batches not found response has a 2xx status code
func (*GetBatchesNotFound) String ¶
func (o *GetBatchesNotFound) String() string
type GetBatchesOK ¶
type GetBatchesOK struct {
Payload []*models.ScheduledBatchSummary
}
GetBatchesOK describes a response with status code 200, with default header values.
scheduled batches
func NewGetBatchesOK ¶
func NewGetBatchesOK() *GetBatchesOK
NewGetBatchesOK creates a GetBatchesOK with default headers values
func (*GetBatchesOK) Code ¶
func (o *GetBatchesOK) Code() int
Code gets the status code for the get batches o k response
func (*GetBatchesOK) Error ¶
func (o *GetBatchesOK) Error() string
func (*GetBatchesOK) GetPayload ¶
func (o *GetBatchesOK) GetPayload() []*models.ScheduledBatchSummary
func (*GetBatchesOK) IsClientError ¶
func (o *GetBatchesOK) IsClientError() bool
IsClientError returns true when this get batches o k response has a 4xx status code
func (*GetBatchesOK) IsCode ¶
func (o *GetBatchesOK) IsCode(code int) bool
IsCode returns true when this get batches o k response a status code equal to that given
func (*GetBatchesOK) IsRedirect ¶
func (o *GetBatchesOK) IsRedirect() bool
IsRedirect returns true when this get batches o k response has a 3xx status code
func (*GetBatchesOK) IsServerError ¶
func (o *GetBatchesOK) IsServerError() bool
IsServerError returns true when this get batches o k response has a 5xx status code
func (*GetBatchesOK) IsSuccess ¶
func (o *GetBatchesOK) IsSuccess() bool
IsSuccess returns true when this get batches o k response has a 2xx status code
func (*GetBatchesOK) String ¶
func (o *GetBatchesOK) String() string
type GetBatchesParams ¶
type GetBatchesParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetBatchesParams contains all the parameters to send to the API endpoint
for the get batches operation. Typically these are written to a http.Request.
func NewGetBatchesParams ¶
func NewGetBatchesParams() *GetBatchesParams
NewGetBatchesParams creates a new GetBatchesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetBatchesParamsWithContext
deprecated
func NewGetBatchesParamsWithContext(ctx context.Context) *GetBatchesParams
NewGetBatchesParamsWithContext creates a new GetBatchesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetBatchesParams.
func NewGetBatchesParamsWithHTTPClient ¶
func NewGetBatchesParamsWithHTTPClient(client *http.Client) *GetBatchesParams
NewGetBatchesParamsWithHTTPClient creates a new GetBatchesParams object with the ability to set a custom HTTPClient for a request.
func NewGetBatchesParamsWithTimeout ¶
func NewGetBatchesParamsWithTimeout(timeout time.Duration) *GetBatchesParams
NewGetBatchesParamsWithTimeout creates a new GetBatchesParams object with the ability to set a timeout on a request.
func (*GetBatchesParams) SetAppName ¶
func (o *GetBatchesParams) SetAppName(appName string)
SetAppName adds the appName to the get batches params.
func (*GetBatchesParams) SetContext
deprecated
func (o *GetBatchesParams) SetContext(ctx context.Context)
SetContext adds the context to the get batches params.
Deprecated: use the operation call with context to pass the context instead of GetBatchesParams.
func (*GetBatchesParams) SetDefaults ¶
func (o *GetBatchesParams) SetDefaults()
SetDefaults hydrates default values in the get batches params (not the query body).
All values with no default are reset to their zero value.
func (*GetBatchesParams) SetEnvName ¶
func (o *GetBatchesParams) SetEnvName(envName string)
SetEnvName adds the envName to the get batches params.
func (*GetBatchesParams) SetHTTPClient ¶
func (o *GetBatchesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get batches params.
func (*GetBatchesParams) SetImpersonateGroup ¶
func (o *GetBatchesParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the get batches params.
func (*GetBatchesParams) SetImpersonateUser ¶
func (o *GetBatchesParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the get batches params.
func (*GetBatchesParams) SetJobComponentName ¶
func (o *GetBatchesParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the get batches params.
func (*GetBatchesParams) SetTimeout ¶
func (o *GetBatchesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get batches params.
func (*GetBatchesParams) WithAppName ¶
func (o *GetBatchesParams) WithAppName(appName string) *GetBatchesParams
WithAppName adds the appName to the get batches params.
func (*GetBatchesParams) WithContext
deprecated
func (o *GetBatchesParams) WithContext(ctx context.Context) *GetBatchesParams
WithContext adds the context to the get batches params.
Deprecated: use the operation call with context to pass the context instead of GetBatchesParams.
func (*GetBatchesParams) WithDefaults ¶
func (o *GetBatchesParams) WithDefaults() *GetBatchesParams
WithDefaults hydrates default values in the get batches params (not the query body).
All values with no default are reset to their zero value.
func (*GetBatchesParams) WithEnvName ¶
func (o *GetBatchesParams) WithEnvName(envName string) *GetBatchesParams
WithEnvName adds the envName to the get batches params.
func (*GetBatchesParams) WithHTTPClient ¶
func (o *GetBatchesParams) WithHTTPClient(client *http.Client) *GetBatchesParams
WithHTTPClient adds the HTTPClient to the get batches params.
func (*GetBatchesParams) WithImpersonateGroup ¶
func (o *GetBatchesParams) WithImpersonateGroup(impersonateGroup *string) *GetBatchesParams
WithImpersonateGroup adds the impersonateGroup to the get batches params.
func (*GetBatchesParams) WithImpersonateUser ¶
func (o *GetBatchesParams) WithImpersonateUser(impersonateUser *string) *GetBatchesParams
WithImpersonateUser adds the impersonateUser to the get batches params.
func (*GetBatchesParams) WithJobComponentName ¶
func (o *GetBatchesParams) WithJobComponentName(jobComponentName string) *GetBatchesParams
WithJobComponentName adds the jobComponentName to the get batches params.
func (*GetBatchesParams) WithTimeout ¶
func (o *GetBatchesParams) WithTimeout(timeout time.Duration) *GetBatchesParams
WithTimeout adds the timeout to the get batches params.
func (*GetBatchesParams) WriteToRequest ¶
func (o *GetBatchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetBatchesReader ¶
type GetBatchesReader struct {
// contains filtered or unexported fields
}
GetBatchesReader is a Reader for the GetBatches structure.
func (*GetBatchesReader) ReadResponse ¶
func (o *GetBatchesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetJobComponentDeploymentsNotFound ¶
type GetJobComponentDeploymentsNotFound struct {
}
GetJobComponentDeploymentsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetJobComponentDeploymentsNotFound ¶
func NewGetJobComponentDeploymentsNotFound() *GetJobComponentDeploymentsNotFound
NewGetJobComponentDeploymentsNotFound creates a GetJobComponentDeploymentsNotFound with default headers values
func (*GetJobComponentDeploymentsNotFound) Code ¶
func (o *GetJobComponentDeploymentsNotFound) Code() int
Code gets the status code for the get job component deployments not found response
func (*GetJobComponentDeploymentsNotFound) Error ¶
func (o *GetJobComponentDeploymentsNotFound) Error() string
func (*GetJobComponentDeploymentsNotFound) IsClientError ¶
func (o *GetJobComponentDeploymentsNotFound) IsClientError() bool
IsClientError returns true when this get job component deployments not found response has a 4xx status code
func (*GetJobComponentDeploymentsNotFound) IsCode ¶
func (o *GetJobComponentDeploymentsNotFound) IsCode(code int) bool
IsCode returns true when this get job component deployments not found response a status code equal to that given
func (*GetJobComponentDeploymentsNotFound) IsRedirect ¶
func (o *GetJobComponentDeploymentsNotFound) IsRedirect() bool
IsRedirect returns true when this get job component deployments not found response has a 3xx status code
func (*GetJobComponentDeploymentsNotFound) IsServerError ¶
func (o *GetJobComponentDeploymentsNotFound) IsServerError() bool
IsServerError returns true when this get job component deployments not found response has a 5xx status code
func (*GetJobComponentDeploymentsNotFound) IsSuccess ¶
func (o *GetJobComponentDeploymentsNotFound) IsSuccess() bool
IsSuccess returns true when this get job component deployments not found response has a 2xx status code
func (*GetJobComponentDeploymentsNotFound) String ¶
func (o *GetJobComponentDeploymentsNotFound) String() string
type GetJobComponentDeploymentsOK ¶
type GetJobComponentDeploymentsOK struct {
Payload []*models.DeploymentItem
}
GetJobComponentDeploymentsOK describes a response with status code 200, with default header values.
Radix deployments
func NewGetJobComponentDeploymentsOK ¶
func NewGetJobComponentDeploymentsOK() *GetJobComponentDeploymentsOK
NewGetJobComponentDeploymentsOK creates a GetJobComponentDeploymentsOK with default headers values
func (*GetJobComponentDeploymentsOK) Code ¶
func (o *GetJobComponentDeploymentsOK) Code() int
Code gets the status code for the get job component deployments o k response
func (*GetJobComponentDeploymentsOK) Error ¶
func (o *GetJobComponentDeploymentsOK) Error() string
func (*GetJobComponentDeploymentsOK) GetPayload ¶
func (o *GetJobComponentDeploymentsOK) GetPayload() []*models.DeploymentItem
func (*GetJobComponentDeploymentsOK) IsClientError ¶
func (o *GetJobComponentDeploymentsOK) IsClientError() bool
IsClientError returns true when this get job component deployments o k response has a 4xx status code
func (*GetJobComponentDeploymentsOK) IsCode ¶
func (o *GetJobComponentDeploymentsOK) IsCode(code int) bool
IsCode returns true when this get job component deployments o k response a status code equal to that given
func (*GetJobComponentDeploymentsOK) IsRedirect ¶
func (o *GetJobComponentDeploymentsOK) IsRedirect() bool
IsRedirect returns true when this get job component deployments o k response has a 3xx status code
func (*GetJobComponentDeploymentsOK) IsServerError ¶
func (o *GetJobComponentDeploymentsOK) IsServerError() bool
IsServerError returns true when this get job component deployments o k response has a 5xx status code
func (*GetJobComponentDeploymentsOK) IsSuccess ¶
func (o *GetJobComponentDeploymentsOK) IsSuccess() bool
IsSuccess returns true when this get job component deployments o k response has a 2xx status code
func (*GetJobComponentDeploymentsOK) String ¶
func (o *GetJobComponentDeploymentsOK) String() string
type GetJobComponentDeploymentsParams ¶
type GetJobComponentDeploymentsParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetJobComponentDeploymentsParams contains all the parameters to send to the API endpoint
for the get job component deployments operation. Typically these are written to a http.Request.
func NewGetJobComponentDeploymentsParams ¶
func NewGetJobComponentDeploymentsParams() *GetJobComponentDeploymentsParams
NewGetJobComponentDeploymentsParams creates a new GetJobComponentDeploymentsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetJobComponentDeploymentsParamsWithContext
deprecated
func NewGetJobComponentDeploymentsParamsWithContext(ctx context.Context) *GetJobComponentDeploymentsParams
NewGetJobComponentDeploymentsParamsWithContext creates a new GetJobComponentDeploymentsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetJobComponentDeploymentsParams.
func NewGetJobComponentDeploymentsParamsWithHTTPClient ¶
func NewGetJobComponentDeploymentsParamsWithHTTPClient(client *http.Client) *GetJobComponentDeploymentsParams
NewGetJobComponentDeploymentsParamsWithHTTPClient creates a new GetJobComponentDeploymentsParams object with the ability to set a custom HTTPClient for a request.
func NewGetJobComponentDeploymentsParamsWithTimeout ¶
func NewGetJobComponentDeploymentsParamsWithTimeout(timeout time.Duration) *GetJobComponentDeploymentsParams
NewGetJobComponentDeploymentsParamsWithTimeout creates a new GetJobComponentDeploymentsParams object with the ability to set a timeout on a request.
func (*GetJobComponentDeploymentsParams) SetAppName ¶
func (o *GetJobComponentDeploymentsParams) SetAppName(appName string)
SetAppName adds the appName to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) SetContext
deprecated
func (o *GetJobComponentDeploymentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get job component deployments params.
Deprecated: use the operation call with context to pass the context instead of GetJobComponentDeploymentsParams.
func (*GetJobComponentDeploymentsParams) SetDefaults ¶
func (o *GetJobComponentDeploymentsParams) SetDefaults()
SetDefaults hydrates default values in the get job component deployments params (not the query body).
All values with no default are reset to their zero value.
func (*GetJobComponentDeploymentsParams) SetEnvName ¶
func (o *GetJobComponentDeploymentsParams) SetEnvName(envName string)
SetEnvName adds the envName to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) SetHTTPClient ¶
func (o *GetJobComponentDeploymentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) SetImpersonateGroup ¶
func (o *GetJobComponentDeploymentsParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) SetImpersonateUser ¶
func (o *GetJobComponentDeploymentsParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) SetJobComponentName ¶
func (o *GetJobComponentDeploymentsParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) SetTimeout ¶
func (o *GetJobComponentDeploymentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) WithAppName ¶
func (o *GetJobComponentDeploymentsParams) WithAppName(appName string) *GetJobComponentDeploymentsParams
WithAppName adds the appName to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) WithContext
deprecated
func (o *GetJobComponentDeploymentsParams) WithContext(ctx context.Context) *GetJobComponentDeploymentsParams
WithContext adds the context to the get job component deployments params.
Deprecated: use the operation call with context to pass the context instead of GetJobComponentDeploymentsParams.
func (*GetJobComponentDeploymentsParams) WithDefaults ¶
func (o *GetJobComponentDeploymentsParams) WithDefaults() *GetJobComponentDeploymentsParams
WithDefaults hydrates default values in the get job component deployments params (not the query body).
All values with no default are reset to their zero value.
func (*GetJobComponentDeploymentsParams) WithEnvName ¶
func (o *GetJobComponentDeploymentsParams) WithEnvName(envName string) *GetJobComponentDeploymentsParams
WithEnvName adds the envName to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) WithHTTPClient ¶
func (o *GetJobComponentDeploymentsParams) WithHTTPClient(client *http.Client) *GetJobComponentDeploymentsParams
WithHTTPClient adds the HTTPClient to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) WithImpersonateGroup ¶
func (o *GetJobComponentDeploymentsParams) WithImpersonateGroup(impersonateGroup *string) *GetJobComponentDeploymentsParams
WithImpersonateGroup adds the impersonateGroup to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) WithImpersonateUser ¶
func (o *GetJobComponentDeploymentsParams) WithImpersonateUser(impersonateUser *string) *GetJobComponentDeploymentsParams
WithImpersonateUser adds the impersonateUser to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) WithJobComponentName ¶
func (o *GetJobComponentDeploymentsParams) WithJobComponentName(jobComponentName string) *GetJobComponentDeploymentsParams
WithJobComponentName adds the jobComponentName to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) WithTimeout ¶
func (o *GetJobComponentDeploymentsParams) WithTimeout(timeout time.Duration) *GetJobComponentDeploymentsParams
WithTimeout adds the timeout to the get job component deployments params.
func (*GetJobComponentDeploymentsParams) WriteToRequest ¶
func (o *GetJobComponentDeploymentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetJobComponentDeploymentsReader ¶
type GetJobComponentDeploymentsReader struct {
// contains filtered or unexported fields
}
GetJobComponentDeploymentsReader is a Reader for the GetJobComponentDeployments structure.
func (*GetJobComponentDeploymentsReader) ReadResponse ¶
func (o *GetJobComponentDeploymentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetJobNotFound ¶
type GetJobNotFound struct {
}
GetJobNotFound describes a response with status code 404, with default header values.
Not found
func NewGetJobNotFound ¶
func NewGetJobNotFound() *GetJobNotFound
NewGetJobNotFound creates a GetJobNotFound with default headers values
func (*GetJobNotFound) Code ¶
func (o *GetJobNotFound) Code() int
Code gets the status code for the get job not found response
func (*GetJobNotFound) Error ¶
func (o *GetJobNotFound) Error() string
func (*GetJobNotFound) IsClientError ¶
func (o *GetJobNotFound) IsClientError() bool
IsClientError returns true when this get job not found response has a 4xx status code
func (*GetJobNotFound) IsCode ¶
func (o *GetJobNotFound) IsCode(code int) bool
IsCode returns true when this get job not found response a status code equal to that given
func (*GetJobNotFound) IsRedirect ¶
func (o *GetJobNotFound) IsRedirect() bool
IsRedirect returns true when this get job not found response has a 3xx status code
func (*GetJobNotFound) IsServerError ¶
func (o *GetJobNotFound) IsServerError() bool
IsServerError returns true when this get job not found response has a 5xx status code
func (*GetJobNotFound) IsSuccess ¶
func (o *GetJobNotFound) IsSuccess() bool
IsSuccess returns true when this get job not found response has a 2xx status code
func (*GetJobNotFound) String ¶
func (o *GetJobNotFound) String() string
type GetJobOK ¶
type GetJobOK struct {
Payload *models.ScheduledJobSummary
}
GetJobOK describes a response with status code 200, with default header values.
scheduled job
func NewGetJobOK ¶
func NewGetJobOK() *GetJobOK
NewGetJobOK creates a GetJobOK with default headers values
func (*GetJobOK) GetPayload ¶
func (o *GetJobOK) GetPayload() *models.ScheduledJobSummary
func (*GetJobOK) IsClientError ¶
IsClientError returns true when this get job o k response has a 4xx status code
func (*GetJobOK) IsCode ¶
IsCode returns true when this get job o k response a status code equal to that given
func (*GetJobOK) IsRedirect ¶
IsRedirect returns true when this get job o k response has a 3xx status code
func (*GetJobOK) IsServerError ¶
IsServerError returns true when this get job o k response has a 5xx status code
type GetJobParams ¶
type GetJobParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
// JobName.
//
// Name of job
JobName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetJobParams contains all the parameters to send to the API endpoint
for the get job operation. Typically these are written to a http.Request.
func NewGetJobParams ¶
func NewGetJobParams() *GetJobParams
NewGetJobParams creates a new GetJobParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetJobParamsWithContext
deprecated
func NewGetJobParamsWithContext(ctx context.Context) *GetJobParams
NewGetJobParamsWithContext creates a new GetJobParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetJobParams.
func NewGetJobParamsWithHTTPClient ¶
func NewGetJobParamsWithHTTPClient(client *http.Client) *GetJobParams
NewGetJobParamsWithHTTPClient creates a new GetJobParams object with the ability to set a custom HTTPClient for a request.
func NewGetJobParamsWithTimeout ¶
func NewGetJobParamsWithTimeout(timeout time.Duration) *GetJobParams
NewGetJobParamsWithTimeout creates a new GetJobParams object with the ability to set a timeout on a request.
func (*GetJobParams) SetAppName ¶
func (o *GetJobParams) SetAppName(appName string)
SetAppName adds the appName to the get job params.
func (*GetJobParams) SetContext
deprecated
func (o *GetJobParams) SetContext(ctx context.Context)
SetContext adds the context to the get job params.
Deprecated: use the operation call with context to pass the context instead of GetJobParams.
func (*GetJobParams) SetDefaults ¶
func (o *GetJobParams) SetDefaults()
SetDefaults hydrates default values in the get job params (not the query body).
All values with no default are reset to their zero value.
func (*GetJobParams) SetEnvName ¶
func (o *GetJobParams) SetEnvName(envName string)
SetEnvName adds the envName to the get job params.
func (*GetJobParams) SetHTTPClient ¶
func (o *GetJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get job params.
func (*GetJobParams) SetImpersonateGroup ¶
func (o *GetJobParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the get job params.
func (*GetJobParams) SetImpersonateUser ¶
func (o *GetJobParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the get job params.
func (*GetJobParams) SetJobComponentName ¶
func (o *GetJobParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the get job params.
func (*GetJobParams) SetJobName ¶
func (o *GetJobParams) SetJobName(jobName string)
SetJobName adds the jobName to the get job params.
func (*GetJobParams) SetTimeout ¶
func (o *GetJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get job params.
func (*GetJobParams) WithAppName ¶
func (o *GetJobParams) WithAppName(appName string) *GetJobParams
WithAppName adds the appName to the get job params.
func (*GetJobParams) WithContext
deprecated
func (o *GetJobParams) WithContext(ctx context.Context) *GetJobParams
WithContext adds the context to the get job params.
Deprecated: use the operation call with context to pass the context instead of GetJobParams.
func (*GetJobParams) WithDefaults ¶
func (o *GetJobParams) WithDefaults() *GetJobParams
WithDefaults hydrates default values in the get job params (not the query body).
All values with no default are reset to their zero value.
func (*GetJobParams) WithEnvName ¶
func (o *GetJobParams) WithEnvName(envName string) *GetJobParams
WithEnvName adds the envName to the get job params.
func (*GetJobParams) WithHTTPClient ¶
func (o *GetJobParams) WithHTTPClient(client *http.Client) *GetJobParams
WithHTTPClient adds the HTTPClient to the get job params.
func (*GetJobParams) WithImpersonateGroup ¶
func (o *GetJobParams) WithImpersonateGroup(impersonateGroup *string) *GetJobParams
WithImpersonateGroup adds the impersonateGroup to the get job params.
func (*GetJobParams) WithImpersonateUser ¶
func (o *GetJobParams) WithImpersonateUser(impersonateUser *string) *GetJobParams
WithImpersonateUser adds the impersonateUser to the get job params.
func (*GetJobParams) WithJobComponentName ¶
func (o *GetJobParams) WithJobComponentName(jobComponentName string) *GetJobParams
WithJobComponentName adds the jobComponentName to the get job params.
func (*GetJobParams) WithJobName ¶
func (o *GetJobParams) WithJobName(jobName string) *GetJobParams
WithJobName adds the jobName to the get job params.
func (*GetJobParams) WithTimeout ¶
func (o *GetJobParams) WithTimeout(timeout time.Duration) *GetJobParams
WithTimeout adds the timeout to the get job params.
func (*GetJobParams) WriteToRequest ¶
func (o *GetJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetJobPayloadNotFound ¶
type GetJobPayloadNotFound struct {
}
GetJobPayloadNotFound describes a response with status code 404, with default header values.
Not found
func NewGetJobPayloadNotFound ¶
func NewGetJobPayloadNotFound() *GetJobPayloadNotFound
NewGetJobPayloadNotFound creates a GetJobPayloadNotFound with default headers values
func (*GetJobPayloadNotFound) Code ¶
func (o *GetJobPayloadNotFound) Code() int
Code gets the status code for the get job payload not found response
func (*GetJobPayloadNotFound) Error ¶
func (o *GetJobPayloadNotFound) Error() string
func (*GetJobPayloadNotFound) IsClientError ¶
func (o *GetJobPayloadNotFound) IsClientError() bool
IsClientError returns true when this get job payload not found response has a 4xx status code
func (*GetJobPayloadNotFound) IsCode ¶
func (o *GetJobPayloadNotFound) IsCode(code int) bool
IsCode returns true when this get job payload not found response a status code equal to that given
func (*GetJobPayloadNotFound) IsRedirect ¶
func (o *GetJobPayloadNotFound) IsRedirect() bool
IsRedirect returns true when this get job payload not found response has a 3xx status code
func (*GetJobPayloadNotFound) IsServerError ¶
func (o *GetJobPayloadNotFound) IsServerError() bool
IsServerError returns true when this get job payload not found response has a 5xx status code
func (*GetJobPayloadNotFound) IsSuccess ¶
func (o *GetJobPayloadNotFound) IsSuccess() bool
IsSuccess returns true when this get job payload not found response has a 2xx status code
func (*GetJobPayloadNotFound) String ¶
func (o *GetJobPayloadNotFound) String() string
type GetJobPayloadOK ¶
type GetJobPayloadOK struct {
Payload string
}
GetJobPayloadOK describes a response with status code 200, with default header values.
scheduled job payload
func NewGetJobPayloadOK ¶
func NewGetJobPayloadOK() *GetJobPayloadOK
NewGetJobPayloadOK creates a GetJobPayloadOK with default headers values
func (*GetJobPayloadOK) Code ¶
func (o *GetJobPayloadOK) Code() int
Code gets the status code for the get job payload o k response
func (*GetJobPayloadOK) Error ¶
func (o *GetJobPayloadOK) Error() string
func (*GetJobPayloadOK) GetPayload ¶
func (o *GetJobPayloadOK) GetPayload() string
func (*GetJobPayloadOK) IsClientError ¶
func (o *GetJobPayloadOK) IsClientError() bool
IsClientError returns true when this get job payload o k response has a 4xx status code
func (*GetJobPayloadOK) IsCode ¶
func (o *GetJobPayloadOK) IsCode(code int) bool
IsCode returns true when this get job payload o k response a status code equal to that given
func (*GetJobPayloadOK) IsRedirect ¶
func (o *GetJobPayloadOK) IsRedirect() bool
IsRedirect returns true when this get job payload o k response has a 3xx status code
func (*GetJobPayloadOK) IsServerError ¶
func (o *GetJobPayloadOK) IsServerError() bool
IsServerError returns true when this get job payload o k response has a 5xx status code
func (*GetJobPayloadOK) IsSuccess ¶
func (o *GetJobPayloadOK) IsSuccess() bool
IsSuccess returns true when this get job payload o k response has a 2xx status code
func (*GetJobPayloadOK) String ¶
func (o *GetJobPayloadOK) String() string
type GetJobPayloadParams ¶
type GetJobPayloadParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
// JobName.
//
// Name of job
JobName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetJobPayloadParams contains all the parameters to send to the API endpoint
for the get job payload operation. Typically these are written to a http.Request.
func NewGetJobPayloadParams ¶
func NewGetJobPayloadParams() *GetJobPayloadParams
NewGetJobPayloadParams creates a new GetJobPayloadParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetJobPayloadParamsWithContext
deprecated
func NewGetJobPayloadParamsWithContext(ctx context.Context) *GetJobPayloadParams
NewGetJobPayloadParamsWithContext creates a new GetJobPayloadParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetJobPayloadParams.
func NewGetJobPayloadParamsWithHTTPClient ¶
func NewGetJobPayloadParamsWithHTTPClient(client *http.Client) *GetJobPayloadParams
NewGetJobPayloadParamsWithHTTPClient creates a new GetJobPayloadParams object with the ability to set a custom HTTPClient for a request.
func NewGetJobPayloadParamsWithTimeout ¶
func NewGetJobPayloadParamsWithTimeout(timeout time.Duration) *GetJobPayloadParams
NewGetJobPayloadParamsWithTimeout creates a new GetJobPayloadParams object with the ability to set a timeout on a request.
func (*GetJobPayloadParams) SetAppName ¶
func (o *GetJobPayloadParams) SetAppName(appName string)
SetAppName adds the appName to the get job payload params.
func (*GetJobPayloadParams) SetContext
deprecated
func (o *GetJobPayloadParams) SetContext(ctx context.Context)
SetContext adds the context to the get job payload params.
Deprecated: use the operation call with context to pass the context instead of GetJobPayloadParams.
func (*GetJobPayloadParams) SetDefaults ¶
func (o *GetJobPayloadParams) SetDefaults()
SetDefaults hydrates default values in the get job payload params (not the query body).
All values with no default are reset to their zero value.
func (*GetJobPayloadParams) SetEnvName ¶
func (o *GetJobPayloadParams) SetEnvName(envName string)
SetEnvName adds the envName to the get job payload params.
func (*GetJobPayloadParams) SetHTTPClient ¶
func (o *GetJobPayloadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get job payload params.
func (*GetJobPayloadParams) SetImpersonateGroup ¶
func (o *GetJobPayloadParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the get job payload params.
func (*GetJobPayloadParams) SetImpersonateUser ¶
func (o *GetJobPayloadParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the get job payload params.
func (*GetJobPayloadParams) SetJobComponentName ¶
func (o *GetJobPayloadParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the get job payload params.
func (*GetJobPayloadParams) SetJobName ¶
func (o *GetJobPayloadParams) SetJobName(jobName string)
SetJobName adds the jobName to the get job payload params.
func (*GetJobPayloadParams) SetTimeout ¶
func (o *GetJobPayloadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get job payload params.
func (*GetJobPayloadParams) WithAppName ¶
func (o *GetJobPayloadParams) WithAppName(appName string) *GetJobPayloadParams
WithAppName adds the appName to the get job payload params.
func (*GetJobPayloadParams) WithContext
deprecated
func (o *GetJobPayloadParams) WithContext(ctx context.Context) *GetJobPayloadParams
WithContext adds the context to the get job payload params.
Deprecated: use the operation call with context to pass the context instead of GetJobPayloadParams.
func (*GetJobPayloadParams) WithDefaults ¶
func (o *GetJobPayloadParams) WithDefaults() *GetJobPayloadParams
WithDefaults hydrates default values in the get job payload params (not the query body).
All values with no default are reset to their zero value.
func (*GetJobPayloadParams) WithEnvName ¶
func (o *GetJobPayloadParams) WithEnvName(envName string) *GetJobPayloadParams
WithEnvName adds the envName to the get job payload params.
func (*GetJobPayloadParams) WithHTTPClient ¶
func (o *GetJobPayloadParams) WithHTTPClient(client *http.Client) *GetJobPayloadParams
WithHTTPClient adds the HTTPClient to the get job payload params.
func (*GetJobPayloadParams) WithImpersonateGroup ¶
func (o *GetJobPayloadParams) WithImpersonateGroup(impersonateGroup *string) *GetJobPayloadParams
WithImpersonateGroup adds the impersonateGroup to the get job payload params.
func (*GetJobPayloadParams) WithImpersonateUser ¶
func (o *GetJobPayloadParams) WithImpersonateUser(impersonateUser *string) *GetJobPayloadParams
WithImpersonateUser adds the impersonateUser to the get job payload params.
func (*GetJobPayloadParams) WithJobComponentName ¶
func (o *GetJobPayloadParams) WithJobComponentName(jobComponentName string) *GetJobPayloadParams
WithJobComponentName adds the jobComponentName to the get job payload params.
func (*GetJobPayloadParams) WithJobName ¶
func (o *GetJobPayloadParams) WithJobName(jobName string) *GetJobPayloadParams
WithJobName adds the jobName to the get job payload params.
func (*GetJobPayloadParams) WithTimeout ¶
func (o *GetJobPayloadParams) WithTimeout(timeout time.Duration) *GetJobPayloadParams
WithTimeout adds the timeout to the get job payload params.
func (*GetJobPayloadParams) WriteToRequest ¶
func (o *GetJobPayloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetJobPayloadReader ¶
type GetJobPayloadReader struct {
// contains filtered or unexported fields
}
GetJobPayloadReader is a Reader for the GetJobPayload structure.
func (*GetJobPayloadReader) ReadResponse ¶
func (o *GetJobPayloadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetJobReader ¶
type GetJobReader struct {
// contains filtered or unexported fields
}
GetJobReader is a Reader for the GetJob structure.
func (*GetJobReader) ReadResponse ¶
func (o *GetJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetJobsNotFound ¶
type GetJobsNotFound struct {
}
GetJobsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetJobsNotFound ¶
func NewGetJobsNotFound() *GetJobsNotFound
NewGetJobsNotFound creates a GetJobsNotFound with default headers values
func (*GetJobsNotFound) Code ¶
func (o *GetJobsNotFound) Code() int
Code gets the status code for the get jobs not found response
func (*GetJobsNotFound) Error ¶
func (o *GetJobsNotFound) Error() string
func (*GetJobsNotFound) IsClientError ¶
func (o *GetJobsNotFound) IsClientError() bool
IsClientError returns true when this get jobs not found response has a 4xx status code
func (*GetJobsNotFound) IsCode ¶
func (o *GetJobsNotFound) IsCode(code int) bool
IsCode returns true when this get jobs not found response a status code equal to that given
func (*GetJobsNotFound) IsRedirect ¶
func (o *GetJobsNotFound) IsRedirect() bool
IsRedirect returns true when this get jobs not found response has a 3xx status code
func (*GetJobsNotFound) IsServerError ¶
func (o *GetJobsNotFound) IsServerError() bool
IsServerError returns true when this get jobs not found response has a 5xx status code
func (*GetJobsNotFound) IsSuccess ¶
func (o *GetJobsNotFound) IsSuccess() bool
IsSuccess returns true when this get jobs not found response has a 2xx status code
func (*GetJobsNotFound) String ¶
func (o *GetJobsNotFound) String() string
type GetJobsOK ¶
type GetJobsOK struct {
Payload []*models.ScheduledJobSummary
}
GetJobsOK describes a response with status code 200, with default header values.
scheduled jobs
func NewGetJobsOK ¶
func NewGetJobsOK() *GetJobsOK
NewGetJobsOK creates a GetJobsOK with default headers values
func (*GetJobsOK) GetPayload ¶
func (o *GetJobsOK) GetPayload() []*models.ScheduledJobSummary
func (*GetJobsOK) IsClientError ¶
IsClientError returns true when this get jobs o k response has a 4xx status code
func (*GetJobsOK) IsCode ¶
IsCode returns true when this get jobs o k response a status code equal to that given
func (*GetJobsOK) IsRedirect ¶
IsRedirect returns true when this get jobs o k response has a 3xx status code
func (*GetJobsOK) IsServerError ¶
IsServerError returns true when this get jobs o k response has a 5xx status code
type GetJobsParams ¶
type GetJobsParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetJobsParams contains all the parameters to send to the API endpoint
for the get jobs operation. Typically these are written to a http.Request.
func NewGetJobsParams ¶
func NewGetJobsParams() *GetJobsParams
NewGetJobsParams creates a new GetJobsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetJobsParamsWithContext
deprecated
func NewGetJobsParamsWithContext(ctx context.Context) *GetJobsParams
NewGetJobsParamsWithContext creates a new GetJobsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetJobsParams.
func NewGetJobsParamsWithHTTPClient ¶
func NewGetJobsParamsWithHTTPClient(client *http.Client) *GetJobsParams
NewGetJobsParamsWithHTTPClient creates a new GetJobsParams object with the ability to set a custom HTTPClient for a request.
func NewGetJobsParamsWithTimeout ¶
func NewGetJobsParamsWithTimeout(timeout time.Duration) *GetJobsParams
NewGetJobsParamsWithTimeout creates a new GetJobsParams object with the ability to set a timeout on a request.
func (*GetJobsParams) SetAppName ¶
func (o *GetJobsParams) SetAppName(appName string)
SetAppName adds the appName to the get jobs params.
func (*GetJobsParams) SetContext
deprecated
func (o *GetJobsParams) SetContext(ctx context.Context)
SetContext adds the context to the get jobs params.
Deprecated: use the operation call with context to pass the context instead of GetJobsParams.
func (*GetJobsParams) SetDefaults ¶
func (o *GetJobsParams) SetDefaults()
SetDefaults hydrates default values in the get jobs params (not the query body).
All values with no default are reset to their zero value.
func (*GetJobsParams) SetEnvName ¶
func (o *GetJobsParams) SetEnvName(envName string)
SetEnvName adds the envName to the get jobs params.
func (*GetJobsParams) SetHTTPClient ¶
func (o *GetJobsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get jobs params.
func (*GetJobsParams) SetImpersonateGroup ¶
func (o *GetJobsParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the get jobs params.
func (*GetJobsParams) SetImpersonateUser ¶
func (o *GetJobsParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the get jobs params.
func (*GetJobsParams) SetJobComponentName ¶
func (o *GetJobsParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the get jobs params.
func (*GetJobsParams) SetTimeout ¶
func (o *GetJobsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get jobs params.
func (*GetJobsParams) WithAppName ¶
func (o *GetJobsParams) WithAppName(appName string) *GetJobsParams
WithAppName adds the appName to the get jobs params.
func (*GetJobsParams) WithContext
deprecated
func (o *GetJobsParams) WithContext(ctx context.Context) *GetJobsParams
WithContext adds the context to the get jobs params.
Deprecated: use the operation call with context to pass the context instead of GetJobsParams.
func (*GetJobsParams) WithDefaults ¶
func (o *GetJobsParams) WithDefaults() *GetJobsParams
WithDefaults hydrates default values in the get jobs params (not the query body).
All values with no default are reset to their zero value.
func (*GetJobsParams) WithEnvName ¶
func (o *GetJobsParams) WithEnvName(envName string) *GetJobsParams
WithEnvName adds the envName to the get jobs params.
func (*GetJobsParams) WithHTTPClient ¶
func (o *GetJobsParams) WithHTTPClient(client *http.Client) *GetJobsParams
WithHTTPClient adds the HTTPClient to the get jobs params.
func (*GetJobsParams) WithImpersonateGroup ¶
func (o *GetJobsParams) WithImpersonateGroup(impersonateGroup *string) *GetJobsParams
WithImpersonateGroup adds the impersonateGroup to the get jobs params.
func (*GetJobsParams) WithImpersonateUser ¶
func (o *GetJobsParams) WithImpersonateUser(impersonateUser *string) *GetJobsParams
WithImpersonateUser adds the impersonateUser to the get jobs params.
func (*GetJobsParams) WithJobComponentName ¶
func (o *GetJobsParams) WithJobComponentName(jobComponentName string) *GetJobsParams
WithJobComponentName adds the jobComponentName to the get jobs params.
func (*GetJobsParams) WithTimeout ¶
func (o *GetJobsParams) WithTimeout(timeout time.Duration) *GetJobsParams
WithTimeout adds the timeout to the get jobs params.
func (*GetJobsParams) WriteToRequest ¶
func (o *GetJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetJobsReader ¶
type GetJobsReader struct {
// contains filtered or unexported fields
}
GetJobsReader is a Reader for the GetJobs structure.
func (*GetJobsReader) ReadResponse ¶
func (o *GetJobsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type JobLogNotFound ¶
type JobLogNotFound struct {
}
JobLogNotFound describes a response with status code 404, with default header values.
Not found
func NewJobLogNotFound ¶
func NewJobLogNotFound() *JobLogNotFound
NewJobLogNotFound creates a JobLogNotFound with default headers values
func (*JobLogNotFound) Code ¶
func (o *JobLogNotFound) Code() int
Code gets the status code for the job log not found response
func (*JobLogNotFound) Error ¶
func (o *JobLogNotFound) Error() string
func (*JobLogNotFound) IsClientError ¶
func (o *JobLogNotFound) IsClientError() bool
IsClientError returns true when this job log not found response has a 4xx status code
func (*JobLogNotFound) IsCode ¶
func (o *JobLogNotFound) IsCode(code int) bool
IsCode returns true when this job log not found response a status code equal to that given
func (*JobLogNotFound) IsRedirect ¶
func (o *JobLogNotFound) IsRedirect() bool
IsRedirect returns true when this job log not found response has a 3xx status code
func (*JobLogNotFound) IsServerError ¶
func (o *JobLogNotFound) IsServerError() bool
IsServerError returns true when this job log not found response has a 5xx status code
func (*JobLogNotFound) IsSuccess ¶
func (o *JobLogNotFound) IsSuccess() bool
IsSuccess returns true when this job log not found response has a 2xx status code
func (*JobLogNotFound) String ¶
func (o *JobLogNotFound) String() string
type JobLogOK ¶
type JobLogOK struct {
Payload string
}
JobLogOK describes a response with status code 200, with default header values.
scheduled job log
func NewJobLogOK ¶
func NewJobLogOK() *JobLogOK
NewJobLogOK creates a JobLogOK with default headers values
func (*JobLogOK) GetPayload ¶
func (*JobLogOK) IsClientError ¶
IsClientError returns true when this job log o k response has a 4xx status code
func (*JobLogOK) IsCode ¶
IsCode returns true when this job log o k response a status code equal to that given
func (*JobLogOK) IsRedirect ¶
IsRedirect returns true when this job log o k response has a 3xx status code
func (*JobLogOK) IsServerError ¶
IsServerError returns true when this job log o k response has a 5xx status code
type JobLogParams ¶
type JobLogParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// File.
//
// Get log as a file if true
//
// Format: boolean
File *string
// Follow.
//
// Get log as a server-sent event stream if true
//
// Format: boolean
Follow *string
// JobComponentName.
//
// Name of job-component
JobComponentName string
// Lines.
//
// Get log lines (example 1000)
//
// Format: number
Lines *string
// ReplicaName.
//
// Name of the job replica
ReplicaName *string
// ScheduledJobName.
//
// Name of scheduled job
ScheduledJobName string
// SinceTime.
//
// Get log only from sinceTime (example 2020-03-18T07:20:41+00:00)
//
// Format: date-time
SinceTime *strfmt.DateTime
HTTPClient *http.Client
// contains filtered or unexported fields
}
JobLogParams contains all the parameters to send to the API endpoint
for the job log operation. Typically these are written to a http.Request.
func NewJobLogParams ¶
func NewJobLogParams() *JobLogParams
NewJobLogParams creates a new JobLogParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewJobLogParamsWithContext
deprecated
func NewJobLogParamsWithContext(ctx context.Context) *JobLogParams
NewJobLogParamsWithContext creates a new JobLogParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of JobLogParams.
func NewJobLogParamsWithHTTPClient ¶
func NewJobLogParamsWithHTTPClient(client *http.Client) *JobLogParams
NewJobLogParamsWithHTTPClient creates a new JobLogParams object with the ability to set a custom HTTPClient for a request.
func NewJobLogParamsWithTimeout ¶
func NewJobLogParamsWithTimeout(timeout time.Duration) *JobLogParams
NewJobLogParamsWithTimeout creates a new JobLogParams object with the ability to set a timeout on a request.
func (*JobLogParams) SetAppName ¶
func (o *JobLogParams) SetAppName(appName string)
SetAppName adds the appName to the job log params.
func (*JobLogParams) SetContext
deprecated
func (o *JobLogParams) SetContext(ctx context.Context)
SetContext adds the context to the job log params.
Deprecated: use the operation call with context to pass the context instead of JobLogParams.
func (*JobLogParams) SetDefaults ¶
func (o *JobLogParams) SetDefaults()
SetDefaults hydrates default values in the job log params (not the query body).
All values with no default are reset to their zero value.
func (*JobLogParams) SetEnvName ¶
func (o *JobLogParams) SetEnvName(envName string)
SetEnvName adds the envName to the job log params.
func (*JobLogParams) SetFile ¶
func (o *JobLogParams) SetFile(file *string)
SetFile adds the file to the job log params.
func (*JobLogParams) SetFollow ¶ added in v1.34.0
func (o *JobLogParams) SetFollow(follow *string)
SetFollow adds the follow to the job log params.
func (*JobLogParams) SetHTTPClient ¶
func (o *JobLogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the job log params.
func (*JobLogParams) SetImpersonateGroup ¶
func (o *JobLogParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the job log params.
func (*JobLogParams) SetImpersonateUser ¶
func (o *JobLogParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the job log params.
func (*JobLogParams) SetJobComponentName ¶
func (o *JobLogParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the job log params.
func (*JobLogParams) SetLines ¶
func (o *JobLogParams) SetLines(lines *string)
SetLines adds the lines to the job log params.
func (*JobLogParams) SetReplicaName ¶
func (o *JobLogParams) SetReplicaName(replicaName *string)
SetReplicaName adds the replicaName to the job log params.
func (*JobLogParams) SetScheduledJobName ¶
func (o *JobLogParams) SetScheduledJobName(scheduledJobName string)
SetScheduledJobName adds the scheduledJobName to the job log params.
func (*JobLogParams) SetSinceTime ¶
func (o *JobLogParams) SetSinceTime(sinceTime *strfmt.DateTime)
SetSinceTime adds the sinceTime to the job log params.
func (*JobLogParams) SetTimeout ¶
func (o *JobLogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the job log params.
func (*JobLogParams) WithAppName ¶
func (o *JobLogParams) WithAppName(appName string) *JobLogParams
WithAppName adds the appName to the job log params.
func (*JobLogParams) WithContext
deprecated
func (o *JobLogParams) WithContext(ctx context.Context) *JobLogParams
WithContext adds the context to the job log params.
Deprecated: use the operation call with context to pass the context instead of JobLogParams.
func (*JobLogParams) WithDefaults ¶
func (o *JobLogParams) WithDefaults() *JobLogParams
WithDefaults hydrates default values in the job log params (not the query body).
All values with no default are reset to their zero value.
func (*JobLogParams) WithEnvName ¶
func (o *JobLogParams) WithEnvName(envName string) *JobLogParams
WithEnvName adds the envName to the job log params.
func (*JobLogParams) WithFile ¶
func (o *JobLogParams) WithFile(file *string) *JobLogParams
WithFile adds the file to the job log params.
func (*JobLogParams) WithFollow ¶ added in v1.34.0
func (o *JobLogParams) WithFollow(follow *string) *JobLogParams
WithFollow adds the follow to the job log params.
func (*JobLogParams) WithHTTPClient ¶
func (o *JobLogParams) WithHTTPClient(client *http.Client) *JobLogParams
WithHTTPClient adds the HTTPClient to the job log params.
func (*JobLogParams) WithImpersonateGroup ¶
func (o *JobLogParams) WithImpersonateGroup(impersonateGroup *string) *JobLogParams
WithImpersonateGroup adds the impersonateGroup to the job log params.
func (*JobLogParams) WithImpersonateUser ¶
func (o *JobLogParams) WithImpersonateUser(impersonateUser *string) *JobLogParams
WithImpersonateUser adds the impersonateUser to the job log params.
func (*JobLogParams) WithJobComponentName ¶
func (o *JobLogParams) WithJobComponentName(jobComponentName string) *JobLogParams
WithJobComponentName adds the jobComponentName to the job log params.
func (*JobLogParams) WithLines ¶
func (o *JobLogParams) WithLines(lines *string) *JobLogParams
WithLines adds the lines to the job log params.
func (*JobLogParams) WithReplicaName ¶
func (o *JobLogParams) WithReplicaName(replicaName *string) *JobLogParams
WithReplicaName adds the replicaName to the job log params.
func (*JobLogParams) WithScheduledJobName ¶
func (o *JobLogParams) WithScheduledJobName(scheduledJobName string) *JobLogParams
WithScheduledJobName adds the scheduledJobName to the job log params.
func (*JobLogParams) WithSinceTime ¶
func (o *JobLogParams) WithSinceTime(sinceTime *strfmt.DateTime) *JobLogParams
WithSinceTime adds the sinceTime to the job log params.
func (*JobLogParams) WithTimeout ¶
func (o *JobLogParams) WithTimeout(timeout time.Duration) *JobLogParams
WithTimeout adds the timeout to the job log params.
func (*JobLogParams) WriteToRequest ¶
func (o *JobLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type JobLogReader ¶
type JobLogReader struct {
// contains filtered or unexported fields
}
JobLogReader is a Reader for the JobLog structure.
func (*JobLogReader) ReadResponse ¶
func (o *JobLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type RestartBatchBadRequest ¶
type RestartBatchBadRequest struct {
}
RestartBatchBadRequest describes a response with status code 400, with default header values.
Invalid batch
func NewRestartBatchBadRequest ¶
func NewRestartBatchBadRequest() *RestartBatchBadRequest
NewRestartBatchBadRequest creates a RestartBatchBadRequest with default headers values
func (*RestartBatchBadRequest) Code ¶
func (o *RestartBatchBadRequest) Code() int
Code gets the status code for the restart batch bad request response
func (*RestartBatchBadRequest) Error ¶
func (o *RestartBatchBadRequest) Error() string
func (*RestartBatchBadRequest) IsClientError ¶
func (o *RestartBatchBadRequest) IsClientError() bool
IsClientError returns true when this restart batch bad request response has a 4xx status code
func (*RestartBatchBadRequest) IsCode ¶
func (o *RestartBatchBadRequest) IsCode(code int) bool
IsCode returns true when this restart batch bad request response a status code equal to that given
func (*RestartBatchBadRequest) IsRedirect ¶
func (o *RestartBatchBadRequest) IsRedirect() bool
IsRedirect returns true when this restart batch bad request response has a 3xx status code
func (*RestartBatchBadRequest) IsServerError ¶
func (o *RestartBatchBadRequest) IsServerError() bool
IsServerError returns true when this restart batch bad request response has a 5xx status code
func (*RestartBatchBadRequest) IsSuccess ¶
func (o *RestartBatchBadRequest) IsSuccess() bool
IsSuccess returns true when this restart batch bad request response has a 2xx status code
func (*RestartBatchBadRequest) String ¶
func (o *RestartBatchBadRequest) String() string
type RestartBatchForbidden ¶
type RestartBatchForbidden struct {
}
RestartBatchForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRestartBatchForbidden ¶
func NewRestartBatchForbidden() *RestartBatchForbidden
NewRestartBatchForbidden creates a RestartBatchForbidden with default headers values
func (*RestartBatchForbidden) Code ¶
func (o *RestartBatchForbidden) Code() int
Code gets the status code for the restart batch forbidden response
func (*RestartBatchForbidden) Error ¶
func (o *RestartBatchForbidden) Error() string
func (*RestartBatchForbidden) IsClientError ¶
func (o *RestartBatchForbidden) IsClientError() bool
IsClientError returns true when this restart batch forbidden response has a 4xx status code
func (*RestartBatchForbidden) IsCode ¶
func (o *RestartBatchForbidden) IsCode(code int) bool
IsCode returns true when this restart batch forbidden response a status code equal to that given
func (*RestartBatchForbidden) IsRedirect ¶
func (o *RestartBatchForbidden) IsRedirect() bool
IsRedirect returns true when this restart batch forbidden response has a 3xx status code
func (*RestartBatchForbidden) IsServerError ¶
func (o *RestartBatchForbidden) IsServerError() bool
IsServerError returns true when this restart batch forbidden response has a 5xx status code
func (*RestartBatchForbidden) IsSuccess ¶
func (o *RestartBatchForbidden) IsSuccess() bool
IsSuccess returns true when this restart batch forbidden response has a 2xx status code
func (*RestartBatchForbidden) String ¶
func (o *RestartBatchForbidden) String() string
type RestartBatchNoContent ¶
type RestartBatchNoContent struct {
}
RestartBatchNoContent describes a response with status code 204, with default header values.
Success
func NewRestartBatchNoContent ¶
func NewRestartBatchNoContent() *RestartBatchNoContent
NewRestartBatchNoContent creates a RestartBatchNoContent with default headers values
func (*RestartBatchNoContent) Code ¶
func (o *RestartBatchNoContent) Code() int
Code gets the status code for the restart batch no content response
func (*RestartBatchNoContent) Error ¶
func (o *RestartBatchNoContent) Error() string
func (*RestartBatchNoContent) IsClientError ¶
func (o *RestartBatchNoContent) IsClientError() bool
IsClientError returns true when this restart batch no content response has a 4xx status code
func (*RestartBatchNoContent) IsCode ¶
func (o *RestartBatchNoContent) IsCode(code int) bool
IsCode returns true when this restart batch no content response a status code equal to that given
func (*RestartBatchNoContent) IsRedirect ¶
func (o *RestartBatchNoContent) IsRedirect() bool
IsRedirect returns true when this restart batch no content response has a 3xx status code
func (*RestartBatchNoContent) IsServerError ¶
func (o *RestartBatchNoContent) IsServerError() bool
IsServerError returns true when this restart batch no content response has a 5xx status code
func (*RestartBatchNoContent) IsSuccess ¶
func (o *RestartBatchNoContent) IsSuccess() bool
IsSuccess returns true when this restart batch no content response has a 2xx status code
func (*RestartBatchNoContent) String ¶
func (o *RestartBatchNoContent) String() string
type RestartBatchNotFound ¶
type RestartBatchNotFound struct {
}
RestartBatchNotFound describes a response with status code 404, with default header values.
Not found
func NewRestartBatchNotFound ¶
func NewRestartBatchNotFound() *RestartBatchNotFound
NewRestartBatchNotFound creates a RestartBatchNotFound with default headers values
func (*RestartBatchNotFound) Code ¶
func (o *RestartBatchNotFound) Code() int
Code gets the status code for the restart batch not found response
func (*RestartBatchNotFound) Error ¶
func (o *RestartBatchNotFound) Error() string
func (*RestartBatchNotFound) IsClientError ¶
func (o *RestartBatchNotFound) IsClientError() bool
IsClientError returns true when this restart batch not found response has a 4xx status code
func (*RestartBatchNotFound) IsCode ¶
func (o *RestartBatchNotFound) IsCode(code int) bool
IsCode returns true when this restart batch not found response a status code equal to that given
func (*RestartBatchNotFound) IsRedirect ¶
func (o *RestartBatchNotFound) IsRedirect() bool
IsRedirect returns true when this restart batch not found response has a 3xx status code
func (*RestartBatchNotFound) IsServerError ¶
func (o *RestartBatchNotFound) IsServerError() bool
IsServerError returns true when this restart batch not found response has a 5xx status code
func (*RestartBatchNotFound) IsSuccess ¶
func (o *RestartBatchNotFound) IsSuccess() bool
IsSuccess returns true when this restart batch not found response has a 2xx status code
func (*RestartBatchNotFound) String ¶
func (o *RestartBatchNotFound) String() string
type RestartBatchParams ¶
type RestartBatchParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// BatchName.
//
// Name of batch
BatchName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
RestartBatchParams contains all the parameters to send to the API endpoint
for the restart batch operation. Typically these are written to a http.Request.
func NewRestartBatchParams ¶
func NewRestartBatchParams() *RestartBatchParams
NewRestartBatchParams creates a new RestartBatchParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRestartBatchParamsWithContext
deprecated
func NewRestartBatchParamsWithContext(ctx context.Context) *RestartBatchParams
NewRestartBatchParamsWithContext creates a new RestartBatchParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of RestartBatchParams.
func NewRestartBatchParamsWithHTTPClient ¶
func NewRestartBatchParamsWithHTTPClient(client *http.Client) *RestartBatchParams
NewRestartBatchParamsWithHTTPClient creates a new RestartBatchParams object with the ability to set a custom HTTPClient for a request.
func NewRestartBatchParamsWithTimeout ¶
func NewRestartBatchParamsWithTimeout(timeout time.Duration) *RestartBatchParams
NewRestartBatchParamsWithTimeout creates a new RestartBatchParams object with the ability to set a timeout on a request.
func (*RestartBatchParams) SetAppName ¶
func (o *RestartBatchParams) SetAppName(appName string)
SetAppName adds the appName to the restart batch params.
func (*RestartBatchParams) SetBatchName ¶
func (o *RestartBatchParams) SetBatchName(batchName string)
SetBatchName adds the batchName to the restart batch params.
func (*RestartBatchParams) SetContext
deprecated
func (o *RestartBatchParams) SetContext(ctx context.Context)
SetContext adds the context to the restart batch params.
Deprecated: use the operation call with context to pass the context instead of RestartBatchParams.
func (*RestartBatchParams) SetDefaults ¶
func (o *RestartBatchParams) SetDefaults()
SetDefaults hydrates default values in the restart batch params (not the query body).
All values with no default are reset to their zero value.
func (*RestartBatchParams) SetEnvName ¶
func (o *RestartBatchParams) SetEnvName(envName string)
SetEnvName adds the envName to the restart batch params.
func (*RestartBatchParams) SetHTTPClient ¶
func (o *RestartBatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restart batch params.
func (*RestartBatchParams) SetImpersonateGroup ¶
func (o *RestartBatchParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the restart batch params.
func (*RestartBatchParams) SetImpersonateUser ¶
func (o *RestartBatchParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the restart batch params.
func (*RestartBatchParams) SetJobComponentName ¶
func (o *RestartBatchParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the restart batch params.
func (*RestartBatchParams) SetTimeout ¶
func (o *RestartBatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restart batch params.
func (*RestartBatchParams) WithAppName ¶
func (o *RestartBatchParams) WithAppName(appName string) *RestartBatchParams
WithAppName adds the appName to the restart batch params.
func (*RestartBatchParams) WithBatchName ¶
func (o *RestartBatchParams) WithBatchName(batchName string) *RestartBatchParams
WithBatchName adds the batchName to the restart batch params.
func (*RestartBatchParams) WithContext
deprecated
func (o *RestartBatchParams) WithContext(ctx context.Context) *RestartBatchParams
WithContext adds the context to the restart batch params.
Deprecated: use the operation call with context to pass the context instead of RestartBatchParams.
func (*RestartBatchParams) WithDefaults ¶
func (o *RestartBatchParams) WithDefaults() *RestartBatchParams
WithDefaults hydrates default values in the restart batch params (not the query body).
All values with no default are reset to their zero value.
func (*RestartBatchParams) WithEnvName ¶
func (o *RestartBatchParams) WithEnvName(envName string) *RestartBatchParams
WithEnvName adds the envName to the restart batch params.
func (*RestartBatchParams) WithHTTPClient ¶
func (o *RestartBatchParams) WithHTTPClient(client *http.Client) *RestartBatchParams
WithHTTPClient adds the HTTPClient to the restart batch params.
func (*RestartBatchParams) WithImpersonateGroup ¶
func (o *RestartBatchParams) WithImpersonateGroup(impersonateGroup *string) *RestartBatchParams
WithImpersonateGroup adds the impersonateGroup to the restart batch params.
func (*RestartBatchParams) WithImpersonateUser ¶
func (o *RestartBatchParams) WithImpersonateUser(impersonateUser *string) *RestartBatchParams
WithImpersonateUser adds the impersonateUser to the restart batch params.
func (*RestartBatchParams) WithJobComponentName ¶
func (o *RestartBatchParams) WithJobComponentName(jobComponentName string) *RestartBatchParams
WithJobComponentName adds the jobComponentName to the restart batch params.
func (*RestartBatchParams) WithTimeout ¶
func (o *RestartBatchParams) WithTimeout(timeout time.Duration) *RestartBatchParams
WithTimeout adds the timeout to the restart batch params.
func (*RestartBatchParams) WriteToRequest ¶
func (o *RestartBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type RestartBatchReader ¶
type RestartBatchReader struct {
// contains filtered or unexported fields
}
RestartBatchReader is a Reader for the RestartBatch structure.
func (*RestartBatchReader) ReadResponse ¶
func (o *RestartBatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type RestartBatchUnauthorized ¶
type RestartBatchUnauthorized struct {
}
RestartBatchUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRestartBatchUnauthorized ¶
func NewRestartBatchUnauthorized() *RestartBatchUnauthorized
NewRestartBatchUnauthorized creates a RestartBatchUnauthorized with default headers values
func (*RestartBatchUnauthorized) Code ¶
func (o *RestartBatchUnauthorized) Code() int
Code gets the status code for the restart batch unauthorized response
func (*RestartBatchUnauthorized) Error ¶
func (o *RestartBatchUnauthorized) Error() string
func (*RestartBatchUnauthorized) IsClientError ¶
func (o *RestartBatchUnauthorized) IsClientError() bool
IsClientError returns true when this restart batch unauthorized response has a 4xx status code
func (*RestartBatchUnauthorized) IsCode ¶
func (o *RestartBatchUnauthorized) IsCode(code int) bool
IsCode returns true when this restart batch unauthorized response a status code equal to that given
func (*RestartBatchUnauthorized) IsRedirect ¶
func (o *RestartBatchUnauthorized) IsRedirect() bool
IsRedirect returns true when this restart batch unauthorized response has a 3xx status code
func (*RestartBatchUnauthorized) IsServerError ¶
func (o *RestartBatchUnauthorized) IsServerError() bool
IsServerError returns true when this restart batch unauthorized response has a 5xx status code
func (*RestartBatchUnauthorized) IsSuccess ¶
func (o *RestartBatchUnauthorized) IsSuccess() bool
IsSuccess returns true when this restart batch unauthorized response has a 2xx status code
func (*RestartBatchUnauthorized) String ¶
func (o *RestartBatchUnauthorized) String() string
type RestartJobBadRequest ¶
type RestartJobBadRequest struct {
}
RestartJobBadRequest describes a response with status code 400, with default header values.
Invalid job
func NewRestartJobBadRequest ¶
func NewRestartJobBadRequest() *RestartJobBadRequest
NewRestartJobBadRequest creates a RestartJobBadRequest with default headers values
func (*RestartJobBadRequest) Code ¶
func (o *RestartJobBadRequest) Code() int
Code gets the status code for the restart job bad request response
func (*RestartJobBadRequest) Error ¶
func (o *RestartJobBadRequest) Error() string
func (*RestartJobBadRequest) IsClientError ¶
func (o *RestartJobBadRequest) IsClientError() bool
IsClientError returns true when this restart job bad request response has a 4xx status code
func (*RestartJobBadRequest) IsCode ¶
func (o *RestartJobBadRequest) IsCode(code int) bool
IsCode returns true when this restart job bad request response a status code equal to that given
func (*RestartJobBadRequest) IsRedirect ¶
func (o *RestartJobBadRequest) IsRedirect() bool
IsRedirect returns true when this restart job bad request response has a 3xx status code
func (*RestartJobBadRequest) IsServerError ¶
func (o *RestartJobBadRequest) IsServerError() bool
IsServerError returns true when this restart job bad request response has a 5xx status code
func (*RestartJobBadRequest) IsSuccess ¶
func (o *RestartJobBadRequest) IsSuccess() bool
IsSuccess returns true when this restart job bad request response has a 2xx status code
func (*RestartJobBadRequest) String ¶
func (o *RestartJobBadRequest) String() string
type RestartJobForbidden ¶
type RestartJobForbidden struct {
}
RestartJobForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRestartJobForbidden ¶
func NewRestartJobForbidden() *RestartJobForbidden
NewRestartJobForbidden creates a RestartJobForbidden with default headers values
func (*RestartJobForbidden) Code ¶
func (o *RestartJobForbidden) Code() int
Code gets the status code for the restart job forbidden response
func (*RestartJobForbidden) Error ¶
func (o *RestartJobForbidden) Error() string
func (*RestartJobForbidden) IsClientError ¶
func (o *RestartJobForbidden) IsClientError() bool
IsClientError returns true when this restart job forbidden response has a 4xx status code
func (*RestartJobForbidden) IsCode ¶
func (o *RestartJobForbidden) IsCode(code int) bool
IsCode returns true when this restart job forbidden response a status code equal to that given
func (*RestartJobForbidden) IsRedirect ¶
func (o *RestartJobForbidden) IsRedirect() bool
IsRedirect returns true when this restart job forbidden response has a 3xx status code
func (*RestartJobForbidden) IsServerError ¶
func (o *RestartJobForbidden) IsServerError() bool
IsServerError returns true when this restart job forbidden response has a 5xx status code
func (*RestartJobForbidden) IsSuccess ¶
func (o *RestartJobForbidden) IsSuccess() bool
IsSuccess returns true when this restart job forbidden response has a 2xx status code
func (*RestartJobForbidden) String ¶
func (o *RestartJobForbidden) String() string
type RestartJobNoContent ¶
type RestartJobNoContent struct {
}
RestartJobNoContent describes a response with status code 204, with default header values.
Success
func NewRestartJobNoContent ¶
func NewRestartJobNoContent() *RestartJobNoContent
NewRestartJobNoContent creates a RestartJobNoContent with default headers values
func (*RestartJobNoContent) Code ¶
func (o *RestartJobNoContent) Code() int
Code gets the status code for the restart job no content response
func (*RestartJobNoContent) Error ¶
func (o *RestartJobNoContent) Error() string
func (*RestartJobNoContent) IsClientError ¶
func (o *RestartJobNoContent) IsClientError() bool
IsClientError returns true when this restart job no content response has a 4xx status code
func (*RestartJobNoContent) IsCode ¶
func (o *RestartJobNoContent) IsCode(code int) bool
IsCode returns true when this restart job no content response a status code equal to that given
func (*RestartJobNoContent) IsRedirect ¶
func (o *RestartJobNoContent) IsRedirect() bool
IsRedirect returns true when this restart job no content response has a 3xx status code
func (*RestartJobNoContent) IsServerError ¶
func (o *RestartJobNoContent) IsServerError() bool
IsServerError returns true when this restart job no content response has a 5xx status code
func (*RestartJobNoContent) IsSuccess ¶
func (o *RestartJobNoContent) IsSuccess() bool
IsSuccess returns true when this restart job no content response has a 2xx status code
func (*RestartJobNoContent) String ¶
func (o *RestartJobNoContent) String() string
type RestartJobNotFound ¶
type RestartJobNotFound struct {
}
RestartJobNotFound describes a response with status code 404, with default header values.
Not found
func NewRestartJobNotFound ¶
func NewRestartJobNotFound() *RestartJobNotFound
NewRestartJobNotFound creates a RestartJobNotFound with default headers values
func (*RestartJobNotFound) Code ¶
func (o *RestartJobNotFound) Code() int
Code gets the status code for the restart job not found response
func (*RestartJobNotFound) Error ¶
func (o *RestartJobNotFound) Error() string
func (*RestartJobNotFound) IsClientError ¶
func (o *RestartJobNotFound) IsClientError() bool
IsClientError returns true when this restart job not found response has a 4xx status code
func (*RestartJobNotFound) IsCode ¶
func (o *RestartJobNotFound) IsCode(code int) bool
IsCode returns true when this restart job not found response a status code equal to that given
func (*RestartJobNotFound) IsRedirect ¶
func (o *RestartJobNotFound) IsRedirect() bool
IsRedirect returns true when this restart job not found response has a 3xx status code
func (*RestartJobNotFound) IsServerError ¶
func (o *RestartJobNotFound) IsServerError() bool
IsServerError returns true when this restart job not found response has a 5xx status code
func (*RestartJobNotFound) IsSuccess ¶
func (o *RestartJobNotFound) IsSuccess() bool
IsSuccess returns true when this restart job not found response has a 2xx status code
func (*RestartJobNotFound) String ¶
func (o *RestartJobNotFound) String() string
type RestartJobParams ¶
type RestartJobParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
// JobName.
//
// Name of job
JobName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
RestartJobParams contains all the parameters to send to the API endpoint
for the restart job operation. Typically these are written to a http.Request.
func NewRestartJobParams ¶
func NewRestartJobParams() *RestartJobParams
NewRestartJobParams creates a new RestartJobParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRestartJobParamsWithContext
deprecated
func NewRestartJobParamsWithContext(ctx context.Context) *RestartJobParams
NewRestartJobParamsWithContext creates a new RestartJobParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of RestartJobParams.
func NewRestartJobParamsWithHTTPClient ¶
func NewRestartJobParamsWithHTTPClient(client *http.Client) *RestartJobParams
NewRestartJobParamsWithHTTPClient creates a new RestartJobParams object with the ability to set a custom HTTPClient for a request.
func NewRestartJobParamsWithTimeout ¶
func NewRestartJobParamsWithTimeout(timeout time.Duration) *RestartJobParams
NewRestartJobParamsWithTimeout creates a new RestartJobParams object with the ability to set a timeout on a request.
func (*RestartJobParams) SetAppName ¶
func (o *RestartJobParams) SetAppName(appName string)
SetAppName adds the appName to the restart job params.
func (*RestartJobParams) SetContext
deprecated
func (o *RestartJobParams) SetContext(ctx context.Context)
SetContext adds the context to the restart job params.
Deprecated: use the operation call with context to pass the context instead of RestartJobParams.
func (*RestartJobParams) SetDefaults ¶
func (o *RestartJobParams) SetDefaults()
SetDefaults hydrates default values in the restart job params (not the query body).
All values with no default are reset to their zero value.
func (*RestartJobParams) SetEnvName ¶
func (o *RestartJobParams) SetEnvName(envName string)
SetEnvName adds the envName to the restart job params.
func (*RestartJobParams) SetHTTPClient ¶
func (o *RestartJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restart job params.
func (*RestartJobParams) SetImpersonateGroup ¶
func (o *RestartJobParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the restart job params.
func (*RestartJobParams) SetImpersonateUser ¶
func (o *RestartJobParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the restart job params.
func (*RestartJobParams) SetJobComponentName ¶
func (o *RestartJobParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the restart job params.
func (*RestartJobParams) SetJobName ¶
func (o *RestartJobParams) SetJobName(jobName string)
SetJobName adds the jobName to the restart job params.
func (*RestartJobParams) SetTimeout ¶
func (o *RestartJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restart job params.
func (*RestartJobParams) WithAppName ¶
func (o *RestartJobParams) WithAppName(appName string) *RestartJobParams
WithAppName adds the appName to the restart job params.
func (*RestartJobParams) WithContext
deprecated
func (o *RestartJobParams) WithContext(ctx context.Context) *RestartJobParams
WithContext adds the context to the restart job params.
Deprecated: use the operation call with context to pass the context instead of RestartJobParams.
func (*RestartJobParams) WithDefaults ¶
func (o *RestartJobParams) WithDefaults() *RestartJobParams
WithDefaults hydrates default values in the restart job params (not the query body).
All values with no default are reset to their zero value.
func (*RestartJobParams) WithEnvName ¶
func (o *RestartJobParams) WithEnvName(envName string) *RestartJobParams
WithEnvName adds the envName to the restart job params.
func (*RestartJobParams) WithHTTPClient ¶
func (o *RestartJobParams) WithHTTPClient(client *http.Client) *RestartJobParams
WithHTTPClient adds the HTTPClient to the restart job params.
func (*RestartJobParams) WithImpersonateGroup ¶
func (o *RestartJobParams) WithImpersonateGroup(impersonateGroup *string) *RestartJobParams
WithImpersonateGroup adds the impersonateGroup to the restart job params.
func (*RestartJobParams) WithImpersonateUser ¶
func (o *RestartJobParams) WithImpersonateUser(impersonateUser *string) *RestartJobParams
WithImpersonateUser adds the impersonateUser to the restart job params.
func (*RestartJobParams) WithJobComponentName ¶
func (o *RestartJobParams) WithJobComponentName(jobComponentName string) *RestartJobParams
WithJobComponentName adds the jobComponentName to the restart job params.
func (*RestartJobParams) WithJobName ¶
func (o *RestartJobParams) WithJobName(jobName string) *RestartJobParams
WithJobName adds the jobName to the restart job params.
func (*RestartJobParams) WithTimeout ¶
func (o *RestartJobParams) WithTimeout(timeout time.Duration) *RestartJobParams
WithTimeout adds the timeout to the restart job params.
func (*RestartJobParams) WriteToRequest ¶
func (o *RestartJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type RestartJobReader ¶
type RestartJobReader struct {
// contains filtered or unexported fields
}
RestartJobReader is a Reader for the RestartJob structure.
func (*RestartJobReader) ReadResponse ¶
func (o *RestartJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type RestartJobUnauthorized ¶
type RestartJobUnauthorized struct {
}
RestartJobUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRestartJobUnauthorized ¶
func NewRestartJobUnauthorized() *RestartJobUnauthorized
NewRestartJobUnauthorized creates a RestartJobUnauthorized with default headers values
func (*RestartJobUnauthorized) Code ¶
func (o *RestartJobUnauthorized) Code() int
Code gets the status code for the restart job unauthorized response
func (*RestartJobUnauthorized) Error ¶
func (o *RestartJobUnauthorized) Error() string
func (*RestartJobUnauthorized) IsClientError ¶
func (o *RestartJobUnauthorized) IsClientError() bool
IsClientError returns true when this restart job unauthorized response has a 4xx status code
func (*RestartJobUnauthorized) IsCode ¶
func (o *RestartJobUnauthorized) IsCode(code int) bool
IsCode returns true when this restart job unauthorized response a status code equal to that given
func (*RestartJobUnauthorized) IsRedirect ¶
func (o *RestartJobUnauthorized) IsRedirect() bool
IsRedirect returns true when this restart job unauthorized response has a 3xx status code
func (*RestartJobUnauthorized) IsServerError ¶
func (o *RestartJobUnauthorized) IsServerError() bool
IsServerError returns true when this restart job unauthorized response has a 5xx status code
func (*RestartJobUnauthorized) IsSuccess ¶
func (o *RestartJobUnauthorized) IsSuccess() bool
IsSuccess returns true when this restart job unauthorized response has a 2xx status code
func (*RestartJobUnauthorized) String ¶
func (o *RestartJobUnauthorized) String() string
type StopAllBatchesAndJobsForEnvironmentBadRequest ¶ added in v1.26.1
type StopAllBatchesAndJobsForEnvironmentBadRequest struct {
}
StopAllBatchesAndJobsForEnvironmentBadRequest describes a response with status code 400, with default header values.
Invalid batch
func NewStopAllBatchesAndJobsForEnvironmentBadRequest ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForEnvironmentBadRequest() *StopAllBatchesAndJobsForEnvironmentBadRequest
NewStopAllBatchesAndJobsForEnvironmentBadRequest creates a StopAllBatchesAndJobsForEnvironmentBadRequest with default headers values
func (*StopAllBatchesAndJobsForEnvironmentBadRequest) Code ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) Code() int
Code gets the status code for the stop all batches and jobs for environment bad request response
func (*StopAllBatchesAndJobsForEnvironmentBadRequest) Error ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) Error() string
func (*StopAllBatchesAndJobsForEnvironmentBadRequest) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) IsClientError() bool
IsClientError returns true when this stop all batches and jobs for environment bad request response has a 4xx status code
func (*StopAllBatchesAndJobsForEnvironmentBadRequest) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) IsCode(code int) bool
IsCode returns true when this stop all batches and jobs for environment bad request response a status code equal to that given
func (*StopAllBatchesAndJobsForEnvironmentBadRequest) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) IsRedirect() bool
IsRedirect returns true when this stop all batches and jobs for environment bad request response has a 3xx status code
func (*StopAllBatchesAndJobsForEnvironmentBadRequest) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) IsServerError() bool
IsServerError returns true when this stop all batches and jobs for environment bad request response has a 5xx status code
func (*StopAllBatchesAndJobsForEnvironmentBadRequest) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) IsSuccess() bool
IsSuccess returns true when this stop all batches and jobs for environment bad request response has a 2xx status code
func (*StopAllBatchesAndJobsForEnvironmentBadRequest) String ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentBadRequest) String() string
type StopAllBatchesAndJobsForEnvironmentForbidden ¶ added in v1.26.1
type StopAllBatchesAndJobsForEnvironmentForbidden struct {
}
StopAllBatchesAndJobsForEnvironmentForbidden describes a response with status code 403, with default header values.
Forbidden
func NewStopAllBatchesAndJobsForEnvironmentForbidden ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForEnvironmentForbidden() *StopAllBatchesAndJobsForEnvironmentForbidden
NewStopAllBatchesAndJobsForEnvironmentForbidden creates a StopAllBatchesAndJobsForEnvironmentForbidden with default headers values
func (*StopAllBatchesAndJobsForEnvironmentForbidden) Code ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentForbidden) Code() int
Code gets the status code for the stop all batches and jobs for environment forbidden response
func (*StopAllBatchesAndJobsForEnvironmentForbidden) Error ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentForbidden) Error() string
func (*StopAllBatchesAndJobsForEnvironmentForbidden) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentForbidden) IsClientError() bool
IsClientError returns true when this stop all batches and jobs for environment forbidden response has a 4xx status code
func (*StopAllBatchesAndJobsForEnvironmentForbidden) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentForbidden) IsCode(code int) bool
IsCode returns true when this stop all batches and jobs for environment forbidden response a status code equal to that given
func (*StopAllBatchesAndJobsForEnvironmentForbidden) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentForbidden) IsRedirect() bool
IsRedirect returns true when this stop all batches and jobs for environment forbidden response has a 3xx status code
func (*StopAllBatchesAndJobsForEnvironmentForbidden) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentForbidden) IsServerError() bool
IsServerError returns true when this stop all batches and jobs for environment forbidden response has a 5xx status code
func (*StopAllBatchesAndJobsForEnvironmentForbidden) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentForbidden) IsSuccess() bool
IsSuccess returns true when this stop all batches and jobs for environment forbidden response has a 2xx status code
func (*StopAllBatchesAndJobsForEnvironmentForbidden) String ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentForbidden) String() string
type StopAllBatchesAndJobsForEnvironmentNoContent ¶ added in v1.26.1
type StopAllBatchesAndJobsForEnvironmentNoContent struct {
}
StopAllBatchesAndJobsForEnvironmentNoContent describes a response with status code 204, with default header values.
Success
func NewStopAllBatchesAndJobsForEnvironmentNoContent ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForEnvironmentNoContent() *StopAllBatchesAndJobsForEnvironmentNoContent
NewStopAllBatchesAndJobsForEnvironmentNoContent creates a StopAllBatchesAndJobsForEnvironmentNoContent with default headers values
func (*StopAllBatchesAndJobsForEnvironmentNoContent) Code ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNoContent) Code() int
Code gets the status code for the stop all batches and jobs for environment no content response
func (*StopAllBatchesAndJobsForEnvironmentNoContent) Error ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNoContent) Error() string
func (*StopAllBatchesAndJobsForEnvironmentNoContent) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNoContent) IsClientError() bool
IsClientError returns true when this stop all batches and jobs for environment no content response has a 4xx status code
func (*StopAllBatchesAndJobsForEnvironmentNoContent) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNoContent) IsCode(code int) bool
IsCode returns true when this stop all batches and jobs for environment no content response a status code equal to that given
func (*StopAllBatchesAndJobsForEnvironmentNoContent) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNoContent) IsRedirect() bool
IsRedirect returns true when this stop all batches and jobs for environment no content response has a 3xx status code
func (*StopAllBatchesAndJobsForEnvironmentNoContent) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNoContent) IsServerError() bool
IsServerError returns true when this stop all batches and jobs for environment no content response has a 5xx status code
func (*StopAllBatchesAndJobsForEnvironmentNoContent) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNoContent) IsSuccess() bool
IsSuccess returns true when this stop all batches and jobs for environment no content response has a 2xx status code
func (*StopAllBatchesAndJobsForEnvironmentNoContent) String ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNoContent) String() string
type StopAllBatchesAndJobsForEnvironmentNotFound ¶ added in v1.26.1
type StopAllBatchesAndJobsForEnvironmentNotFound struct {
}
StopAllBatchesAndJobsForEnvironmentNotFound describes a response with status code 404, with default header values.
Not found
func NewStopAllBatchesAndJobsForEnvironmentNotFound ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForEnvironmentNotFound() *StopAllBatchesAndJobsForEnvironmentNotFound
NewStopAllBatchesAndJobsForEnvironmentNotFound creates a StopAllBatchesAndJobsForEnvironmentNotFound with default headers values
func (*StopAllBatchesAndJobsForEnvironmentNotFound) Code ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNotFound) Code() int
Code gets the status code for the stop all batches and jobs for environment not found response
func (*StopAllBatchesAndJobsForEnvironmentNotFound) Error ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNotFound) Error() string
func (*StopAllBatchesAndJobsForEnvironmentNotFound) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNotFound) IsClientError() bool
IsClientError returns true when this stop all batches and jobs for environment not found response has a 4xx status code
func (*StopAllBatchesAndJobsForEnvironmentNotFound) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNotFound) IsCode(code int) bool
IsCode returns true when this stop all batches and jobs for environment not found response a status code equal to that given
func (*StopAllBatchesAndJobsForEnvironmentNotFound) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNotFound) IsRedirect() bool
IsRedirect returns true when this stop all batches and jobs for environment not found response has a 3xx status code
func (*StopAllBatchesAndJobsForEnvironmentNotFound) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNotFound) IsServerError() bool
IsServerError returns true when this stop all batches and jobs for environment not found response has a 5xx status code
func (*StopAllBatchesAndJobsForEnvironmentNotFound) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNotFound) IsSuccess() bool
IsSuccess returns true when this stop all batches and jobs for environment not found response has a 2xx status code
func (*StopAllBatchesAndJobsForEnvironmentNotFound) String ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentNotFound) String() string
type StopAllBatchesAndJobsForEnvironmentParams ¶ added in v1.26.1
type StopAllBatchesAndJobsForEnvironmentParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
StopAllBatchesAndJobsForEnvironmentParams contains all the parameters to send to the API endpoint
for the stop all batches and jobs for environment operation. Typically these are written to a http.Request.
func NewStopAllBatchesAndJobsForEnvironmentParams ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForEnvironmentParams() *StopAllBatchesAndJobsForEnvironmentParams
NewStopAllBatchesAndJobsForEnvironmentParams creates a new StopAllBatchesAndJobsForEnvironmentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewStopAllBatchesAndJobsForEnvironmentParamsWithContext
deprecated
added in
v1.26.1
func NewStopAllBatchesAndJobsForEnvironmentParamsWithContext(ctx context.Context) *StopAllBatchesAndJobsForEnvironmentParams
NewStopAllBatchesAndJobsForEnvironmentParamsWithContext creates a new StopAllBatchesAndJobsForEnvironmentParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of StopAllBatchesAndJobsForEnvironmentParams.
func NewStopAllBatchesAndJobsForEnvironmentParamsWithHTTPClient ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForEnvironmentParamsWithHTTPClient(client *http.Client) *StopAllBatchesAndJobsForEnvironmentParams
NewStopAllBatchesAndJobsForEnvironmentParamsWithHTTPClient creates a new StopAllBatchesAndJobsForEnvironmentParams object with the ability to set a custom HTTPClient for a request.
func NewStopAllBatchesAndJobsForEnvironmentParamsWithTimeout ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForEnvironmentParamsWithTimeout(timeout time.Duration) *StopAllBatchesAndJobsForEnvironmentParams
NewStopAllBatchesAndJobsForEnvironmentParamsWithTimeout creates a new StopAllBatchesAndJobsForEnvironmentParams object with the ability to set a timeout on a request.
func (*StopAllBatchesAndJobsForEnvironmentParams) SetAppName ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) SetAppName(appName string)
SetAppName adds the appName to the stop all batches and jobs for environment params.
func (*StopAllBatchesAndJobsForEnvironmentParams) SetContext
deprecated
added in
v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) SetContext(ctx context.Context)
SetContext adds the context to the stop all batches and jobs for environment params.
Deprecated: use the operation call with context to pass the context instead of StopAllBatchesAndJobsForEnvironmentParams.
func (*StopAllBatchesAndJobsForEnvironmentParams) SetDefaults ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) SetDefaults()
SetDefaults hydrates default values in the stop all batches and jobs for environment params (not the query body).
All values with no default are reset to their zero value.
func (*StopAllBatchesAndJobsForEnvironmentParams) SetEnvName ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) SetEnvName(envName string)
SetEnvName adds the envName to the stop all batches and jobs for environment params.
func (*StopAllBatchesAndJobsForEnvironmentParams) SetHTTPClient ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop all batches and jobs for environment params.
func (*StopAllBatchesAndJobsForEnvironmentParams) SetImpersonateGroup ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the stop all batches and jobs for environment params.
func (*StopAllBatchesAndJobsForEnvironmentParams) SetImpersonateUser ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the stop all batches and jobs for environment params.
func (*StopAllBatchesAndJobsForEnvironmentParams) SetTimeout ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop all batches and jobs for environment params.
func (*StopAllBatchesAndJobsForEnvironmentParams) WithAppName ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) WithAppName(appName string) *StopAllBatchesAndJobsForEnvironmentParams
WithAppName adds the appName to the stop all batches and jobs for environment params.
func (*StopAllBatchesAndJobsForEnvironmentParams) WithContext
deprecated
added in
v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) WithContext(ctx context.Context) *StopAllBatchesAndJobsForEnvironmentParams
WithContext adds the context to the stop all batches and jobs for environment params.
Deprecated: use the operation call with context to pass the context instead of StopAllBatchesAndJobsForEnvironmentParams.
func (*StopAllBatchesAndJobsForEnvironmentParams) WithDefaults ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) WithDefaults() *StopAllBatchesAndJobsForEnvironmentParams
WithDefaults hydrates default values in the stop all batches and jobs for environment params (not the query body).
All values with no default are reset to their zero value.
func (*StopAllBatchesAndJobsForEnvironmentParams) WithEnvName ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) WithEnvName(envName string) *StopAllBatchesAndJobsForEnvironmentParams
WithEnvName adds the envName to the stop all batches and jobs for environment params.
func (*StopAllBatchesAndJobsForEnvironmentParams) WithHTTPClient ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) WithHTTPClient(client *http.Client) *StopAllBatchesAndJobsForEnvironmentParams
WithHTTPClient adds the HTTPClient to the stop all batches and jobs for environment params.
func (*StopAllBatchesAndJobsForEnvironmentParams) WithImpersonateGroup ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) WithImpersonateGroup(impersonateGroup *string) *StopAllBatchesAndJobsForEnvironmentParams
WithImpersonateGroup adds the impersonateGroup to the stop all batches and jobs for environment params.
func (*StopAllBatchesAndJobsForEnvironmentParams) WithImpersonateUser ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) WithImpersonateUser(impersonateUser *string) *StopAllBatchesAndJobsForEnvironmentParams
WithImpersonateUser adds the impersonateUser to the stop all batches and jobs for environment params.
func (*StopAllBatchesAndJobsForEnvironmentParams) WithTimeout ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) WithTimeout(timeout time.Duration) *StopAllBatchesAndJobsForEnvironmentParams
WithTimeout adds the timeout to the stop all batches and jobs for environment params.
func (*StopAllBatchesAndJobsForEnvironmentParams) WriteToRequest ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type StopAllBatchesAndJobsForEnvironmentReader ¶ added in v1.26.1
type StopAllBatchesAndJobsForEnvironmentReader struct {
// contains filtered or unexported fields
}
StopAllBatchesAndJobsForEnvironmentReader is a Reader for the StopAllBatchesAndJobsForEnvironment structure.
func (*StopAllBatchesAndJobsForEnvironmentReader) ReadResponse ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type StopAllBatchesAndJobsForEnvironmentUnauthorized ¶ added in v1.26.1
type StopAllBatchesAndJobsForEnvironmentUnauthorized struct {
}
StopAllBatchesAndJobsForEnvironmentUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewStopAllBatchesAndJobsForEnvironmentUnauthorized ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForEnvironmentUnauthorized() *StopAllBatchesAndJobsForEnvironmentUnauthorized
NewStopAllBatchesAndJobsForEnvironmentUnauthorized creates a StopAllBatchesAndJobsForEnvironmentUnauthorized with default headers values
func (*StopAllBatchesAndJobsForEnvironmentUnauthorized) Code ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) Code() int
Code gets the status code for the stop all batches and jobs for environment unauthorized response
func (*StopAllBatchesAndJobsForEnvironmentUnauthorized) Error ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) Error() string
func (*StopAllBatchesAndJobsForEnvironmentUnauthorized) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) IsClientError() bool
IsClientError returns true when this stop all batches and jobs for environment unauthorized response has a 4xx status code
func (*StopAllBatchesAndJobsForEnvironmentUnauthorized) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) IsCode(code int) bool
IsCode returns true when this stop all batches and jobs for environment unauthorized response a status code equal to that given
func (*StopAllBatchesAndJobsForEnvironmentUnauthorized) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) IsRedirect() bool
IsRedirect returns true when this stop all batches and jobs for environment unauthorized response has a 3xx status code
func (*StopAllBatchesAndJobsForEnvironmentUnauthorized) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) IsServerError() bool
IsServerError returns true when this stop all batches and jobs for environment unauthorized response has a 5xx status code
func (*StopAllBatchesAndJobsForEnvironmentUnauthorized) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this stop all batches and jobs for environment unauthorized response has a 2xx status code
func (*StopAllBatchesAndJobsForEnvironmentUnauthorized) String ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForEnvironmentUnauthorized) String() string
type StopAllBatchesAndJobsForJobComponentBadRequest ¶ added in v1.26.1
type StopAllBatchesAndJobsForJobComponentBadRequest struct {
}
StopAllBatchesAndJobsForJobComponentBadRequest describes a response with status code 400, with default header values.
Invalid batch
func NewStopAllBatchesAndJobsForJobComponentBadRequest ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForJobComponentBadRequest() *StopAllBatchesAndJobsForJobComponentBadRequest
NewStopAllBatchesAndJobsForJobComponentBadRequest creates a StopAllBatchesAndJobsForJobComponentBadRequest with default headers values
func (*StopAllBatchesAndJobsForJobComponentBadRequest) Code ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentBadRequest) Code() int
Code gets the status code for the stop all batches and jobs for job component bad request response
func (*StopAllBatchesAndJobsForJobComponentBadRequest) Error ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentBadRequest) Error() string
func (*StopAllBatchesAndJobsForJobComponentBadRequest) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentBadRequest) IsClientError() bool
IsClientError returns true when this stop all batches and jobs for job component bad request response has a 4xx status code
func (*StopAllBatchesAndJobsForJobComponentBadRequest) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentBadRequest) IsCode(code int) bool
IsCode returns true when this stop all batches and jobs for job component bad request response a status code equal to that given
func (*StopAllBatchesAndJobsForJobComponentBadRequest) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentBadRequest) IsRedirect() bool
IsRedirect returns true when this stop all batches and jobs for job component bad request response has a 3xx status code
func (*StopAllBatchesAndJobsForJobComponentBadRequest) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentBadRequest) IsServerError() bool
IsServerError returns true when this stop all batches and jobs for job component bad request response has a 5xx status code
func (*StopAllBatchesAndJobsForJobComponentBadRequest) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentBadRequest) IsSuccess() bool
IsSuccess returns true when this stop all batches and jobs for job component bad request response has a 2xx status code
func (*StopAllBatchesAndJobsForJobComponentBadRequest) String ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentBadRequest) String() string
type StopAllBatchesAndJobsForJobComponentForbidden ¶ added in v1.26.1
type StopAllBatchesAndJobsForJobComponentForbidden struct {
}
StopAllBatchesAndJobsForJobComponentForbidden describes a response with status code 403, with default header values.
Forbidden
func NewStopAllBatchesAndJobsForJobComponentForbidden ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForJobComponentForbidden() *StopAllBatchesAndJobsForJobComponentForbidden
NewStopAllBatchesAndJobsForJobComponentForbidden creates a StopAllBatchesAndJobsForJobComponentForbidden with default headers values
func (*StopAllBatchesAndJobsForJobComponentForbidden) Code ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentForbidden) Code() int
Code gets the status code for the stop all batches and jobs for job component forbidden response
func (*StopAllBatchesAndJobsForJobComponentForbidden) Error ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentForbidden) Error() string
func (*StopAllBatchesAndJobsForJobComponentForbidden) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentForbidden) IsClientError() bool
IsClientError returns true when this stop all batches and jobs for job component forbidden response has a 4xx status code
func (*StopAllBatchesAndJobsForJobComponentForbidden) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentForbidden) IsCode(code int) bool
IsCode returns true when this stop all batches and jobs for job component forbidden response a status code equal to that given
func (*StopAllBatchesAndJobsForJobComponentForbidden) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentForbidden) IsRedirect() bool
IsRedirect returns true when this stop all batches and jobs for job component forbidden response has a 3xx status code
func (*StopAllBatchesAndJobsForJobComponentForbidden) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentForbidden) IsServerError() bool
IsServerError returns true when this stop all batches and jobs for job component forbidden response has a 5xx status code
func (*StopAllBatchesAndJobsForJobComponentForbidden) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentForbidden) IsSuccess() bool
IsSuccess returns true when this stop all batches and jobs for job component forbidden response has a 2xx status code
func (*StopAllBatchesAndJobsForJobComponentForbidden) String ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentForbidden) String() string
type StopAllBatchesAndJobsForJobComponentNoContent ¶ added in v1.26.1
type StopAllBatchesAndJobsForJobComponentNoContent struct {
}
StopAllBatchesAndJobsForJobComponentNoContent describes a response with status code 204, with default header values.
Success
func NewStopAllBatchesAndJobsForJobComponentNoContent ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForJobComponentNoContent() *StopAllBatchesAndJobsForJobComponentNoContent
NewStopAllBatchesAndJobsForJobComponentNoContent creates a StopAllBatchesAndJobsForJobComponentNoContent with default headers values
func (*StopAllBatchesAndJobsForJobComponentNoContent) Code ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNoContent) Code() int
Code gets the status code for the stop all batches and jobs for job component no content response
func (*StopAllBatchesAndJobsForJobComponentNoContent) Error ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNoContent) Error() string
func (*StopAllBatchesAndJobsForJobComponentNoContent) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNoContent) IsClientError() bool
IsClientError returns true when this stop all batches and jobs for job component no content response has a 4xx status code
func (*StopAllBatchesAndJobsForJobComponentNoContent) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNoContent) IsCode(code int) bool
IsCode returns true when this stop all batches and jobs for job component no content response a status code equal to that given
func (*StopAllBatchesAndJobsForJobComponentNoContent) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNoContent) IsRedirect() bool
IsRedirect returns true when this stop all batches and jobs for job component no content response has a 3xx status code
func (*StopAllBatchesAndJobsForJobComponentNoContent) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNoContent) IsServerError() bool
IsServerError returns true when this stop all batches and jobs for job component no content response has a 5xx status code
func (*StopAllBatchesAndJobsForJobComponentNoContent) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNoContent) IsSuccess() bool
IsSuccess returns true when this stop all batches and jobs for job component no content response has a 2xx status code
func (*StopAllBatchesAndJobsForJobComponentNoContent) String ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNoContent) String() string
type StopAllBatchesAndJobsForJobComponentNotFound ¶ added in v1.26.1
type StopAllBatchesAndJobsForJobComponentNotFound struct {
}
StopAllBatchesAndJobsForJobComponentNotFound describes a response with status code 404, with default header values.
Not found
func NewStopAllBatchesAndJobsForJobComponentNotFound ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForJobComponentNotFound() *StopAllBatchesAndJobsForJobComponentNotFound
NewStopAllBatchesAndJobsForJobComponentNotFound creates a StopAllBatchesAndJobsForJobComponentNotFound with default headers values
func (*StopAllBatchesAndJobsForJobComponentNotFound) Code ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNotFound) Code() int
Code gets the status code for the stop all batches and jobs for job component not found response
func (*StopAllBatchesAndJobsForJobComponentNotFound) Error ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNotFound) Error() string
func (*StopAllBatchesAndJobsForJobComponentNotFound) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNotFound) IsClientError() bool
IsClientError returns true when this stop all batches and jobs for job component not found response has a 4xx status code
func (*StopAllBatchesAndJobsForJobComponentNotFound) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNotFound) IsCode(code int) bool
IsCode returns true when this stop all batches and jobs for job component not found response a status code equal to that given
func (*StopAllBatchesAndJobsForJobComponentNotFound) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNotFound) IsRedirect() bool
IsRedirect returns true when this stop all batches and jobs for job component not found response has a 3xx status code
func (*StopAllBatchesAndJobsForJobComponentNotFound) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNotFound) IsServerError() bool
IsServerError returns true when this stop all batches and jobs for job component not found response has a 5xx status code
func (*StopAllBatchesAndJobsForJobComponentNotFound) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNotFound) IsSuccess() bool
IsSuccess returns true when this stop all batches and jobs for job component not found response has a 2xx status code
func (*StopAllBatchesAndJobsForJobComponentNotFound) String ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentNotFound) String() string
type StopAllBatchesAndJobsForJobComponentParams ¶ added in v1.26.1
type StopAllBatchesAndJobsForJobComponentParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
StopAllBatchesAndJobsForJobComponentParams contains all the parameters to send to the API endpoint
for the stop all batches and jobs for job component operation. Typically these are written to a http.Request.
func NewStopAllBatchesAndJobsForJobComponentParams ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForJobComponentParams() *StopAllBatchesAndJobsForJobComponentParams
NewStopAllBatchesAndJobsForJobComponentParams creates a new StopAllBatchesAndJobsForJobComponentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewStopAllBatchesAndJobsForJobComponentParamsWithContext
deprecated
added in
v1.26.1
func NewStopAllBatchesAndJobsForJobComponentParamsWithContext(ctx context.Context) *StopAllBatchesAndJobsForJobComponentParams
NewStopAllBatchesAndJobsForJobComponentParamsWithContext creates a new StopAllBatchesAndJobsForJobComponentParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of StopAllBatchesAndJobsForJobComponentParams.
func NewStopAllBatchesAndJobsForJobComponentParamsWithHTTPClient ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForJobComponentParamsWithHTTPClient(client *http.Client) *StopAllBatchesAndJobsForJobComponentParams
NewStopAllBatchesAndJobsForJobComponentParamsWithHTTPClient creates a new StopAllBatchesAndJobsForJobComponentParams object with the ability to set a custom HTTPClient for a request.
func NewStopAllBatchesAndJobsForJobComponentParamsWithTimeout ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForJobComponentParamsWithTimeout(timeout time.Duration) *StopAllBatchesAndJobsForJobComponentParams
NewStopAllBatchesAndJobsForJobComponentParamsWithTimeout creates a new StopAllBatchesAndJobsForJobComponentParams object with the ability to set a timeout on a request.
func (*StopAllBatchesAndJobsForJobComponentParams) SetAppName ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) SetAppName(appName string)
SetAppName adds the appName to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) SetContext
deprecated
added in
v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) SetContext(ctx context.Context)
SetContext adds the context to the stop all batches and jobs for job component params.
Deprecated: use the operation call with context to pass the context instead of StopAllBatchesAndJobsForJobComponentParams.
func (*StopAllBatchesAndJobsForJobComponentParams) SetDefaults ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) SetDefaults()
SetDefaults hydrates default values in the stop all batches and jobs for job component params (not the query body).
All values with no default are reset to their zero value.
func (*StopAllBatchesAndJobsForJobComponentParams) SetEnvName ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) SetEnvName(envName string)
SetEnvName adds the envName to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) SetHTTPClient ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) SetImpersonateGroup ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) SetImpersonateUser ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) SetJobComponentName ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) SetTimeout ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) WithAppName ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) WithAppName(appName string) *StopAllBatchesAndJobsForJobComponentParams
WithAppName adds the appName to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) WithContext
deprecated
added in
v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) WithContext(ctx context.Context) *StopAllBatchesAndJobsForJobComponentParams
WithContext adds the context to the stop all batches and jobs for job component params.
Deprecated: use the operation call with context to pass the context instead of StopAllBatchesAndJobsForJobComponentParams.
func (*StopAllBatchesAndJobsForJobComponentParams) WithDefaults ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) WithDefaults() *StopAllBatchesAndJobsForJobComponentParams
WithDefaults hydrates default values in the stop all batches and jobs for job component params (not the query body).
All values with no default are reset to their zero value.
func (*StopAllBatchesAndJobsForJobComponentParams) WithEnvName ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) WithEnvName(envName string) *StopAllBatchesAndJobsForJobComponentParams
WithEnvName adds the envName to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) WithHTTPClient ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) WithHTTPClient(client *http.Client) *StopAllBatchesAndJobsForJobComponentParams
WithHTTPClient adds the HTTPClient to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) WithImpersonateGroup ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) WithImpersonateGroup(impersonateGroup *string) *StopAllBatchesAndJobsForJobComponentParams
WithImpersonateGroup adds the impersonateGroup to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) WithImpersonateUser ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) WithImpersonateUser(impersonateUser *string) *StopAllBatchesAndJobsForJobComponentParams
WithImpersonateUser adds the impersonateUser to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) WithJobComponentName ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) WithJobComponentName(jobComponentName string) *StopAllBatchesAndJobsForJobComponentParams
WithJobComponentName adds the jobComponentName to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) WithTimeout ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) WithTimeout(timeout time.Duration) *StopAllBatchesAndJobsForJobComponentParams
WithTimeout adds the timeout to the stop all batches and jobs for job component params.
func (*StopAllBatchesAndJobsForJobComponentParams) WriteToRequest ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type StopAllBatchesAndJobsForJobComponentReader ¶ added in v1.26.1
type StopAllBatchesAndJobsForJobComponentReader struct {
// contains filtered or unexported fields
}
StopAllBatchesAndJobsForJobComponentReader is a Reader for the StopAllBatchesAndJobsForJobComponent structure.
func (*StopAllBatchesAndJobsForJobComponentReader) ReadResponse ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type StopAllBatchesAndJobsForJobComponentUnauthorized ¶ added in v1.26.1
type StopAllBatchesAndJobsForJobComponentUnauthorized struct {
}
StopAllBatchesAndJobsForJobComponentUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewStopAllBatchesAndJobsForJobComponentUnauthorized ¶ added in v1.26.1
func NewStopAllBatchesAndJobsForJobComponentUnauthorized() *StopAllBatchesAndJobsForJobComponentUnauthorized
NewStopAllBatchesAndJobsForJobComponentUnauthorized creates a StopAllBatchesAndJobsForJobComponentUnauthorized with default headers values
func (*StopAllBatchesAndJobsForJobComponentUnauthorized) Code ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) Code() int
Code gets the status code for the stop all batches and jobs for job component unauthorized response
func (*StopAllBatchesAndJobsForJobComponentUnauthorized) Error ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) Error() string
func (*StopAllBatchesAndJobsForJobComponentUnauthorized) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) IsClientError() bool
IsClientError returns true when this stop all batches and jobs for job component unauthorized response has a 4xx status code
func (*StopAllBatchesAndJobsForJobComponentUnauthorized) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) IsCode(code int) bool
IsCode returns true when this stop all batches and jobs for job component unauthorized response a status code equal to that given
func (*StopAllBatchesAndJobsForJobComponentUnauthorized) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) IsRedirect() bool
IsRedirect returns true when this stop all batches and jobs for job component unauthorized response has a 3xx status code
func (*StopAllBatchesAndJobsForJobComponentUnauthorized) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) IsServerError() bool
IsServerError returns true when this stop all batches and jobs for job component unauthorized response has a 5xx status code
func (*StopAllBatchesAndJobsForJobComponentUnauthorized) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) IsSuccess() bool
IsSuccess returns true when this stop all batches and jobs for job component unauthorized response has a 2xx status code
func (*StopAllBatchesAndJobsForJobComponentUnauthorized) String ¶ added in v1.26.1
func (o *StopAllBatchesAndJobsForJobComponentUnauthorized) String() string
type StopAllBatchesBadRequest ¶ added in v1.26.1
type StopAllBatchesBadRequest struct {
}
StopAllBatchesBadRequest describes a response with status code 400, with default header values.
Invalid batch
func NewStopAllBatchesBadRequest ¶ added in v1.26.1
func NewStopAllBatchesBadRequest() *StopAllBatchesBadRequest
NewStopAllBatchesBadRequest creates a StopAllBatchesBadRequest with default headers values
func (*StopAllBatchesBadRequest) Code ¶ added in v1.26.1
func (o *StopAllBatchesBadRequest) Code() int
Code gets the status code for the stop all batches bad request response
func (*StopAllBatchesBadRequest) Error ¶ added in v1.26.1
func (o *StopAllBatchesBadRequest) Error() string
func (*StopAllBatchesBadRequest) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesBadRequest) IsClientError() bool
IsClientError returns true when this stop all batches bad request response has a 4xx status code
func (*StopAllBatchesBadRequest) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesBadRequest) IsCode(code int) bool
IsCode returns true when this stop all batches bad request response a status code equal to that given
func (*StopAllBatchesBadRequest) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesBadRequest) IsRedirect() bool
IsRedirect returns true when this stop all batches bad request response has a 3xx status code
func (*StopAllBatchesBadRequest) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesBadRequest) IsServerError() bool
IsServerError returns true when this stop all batches bad request response has a 5xx status code
func (*StopAllBatchesBadRequest) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesBadRequest) IsSuccess() bool
IsSuccess returns true when this stop all batches bad request response has a 2xx status code
func (*StopAllBatchesBadRequest) String ¶ added in v1.26.1
func (o *StopAllBatchesBadRequest) String() string
type StopAllBatchesForbidden ¶ added in v1.26.1
type StopAllBatchesForbidden struct {
}
StopAllBatchesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewStopAllBatchesForbidden ¶ added in v1.26.1
func NewStopAllBatchesForbidden() *StopAllBatchesForbidden
NewStopAllBatchesForbidden creates a StopAllBatchesForbidden with default headers values
func (*StopAllBatchesForbidden) Code ¶ added in v1.26.1
func (o *StopAllBatchesForbidden) Code() int
Code gets the status code for the stop all batches forbidden response
func (*StopAllBatchesForbidden) Error ¶ added in v1.26.1
func (o *StopAllBatchesForbidden) Error() string
func (*StopAllBatchesForbidden) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesForbidden) IsClientError() bool
IsClientError returns true when this stop all batches forbidden response has a 4xx status code
func (*StopAllBatchesForbidden) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesForbidden) IsCode(code int) bool
IsCode returns true when this stop all batches forbidden response a status code equal to that given
func (*StopAllBatchesForbidden) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesForbidden) IsRedirect() bool
IsRedirect returns true when this stop all batches forbidden response has a 3xx status code
func (*StopAllBatchesForbidden) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesForbidden) IsServerError() bool
IsServerError returns true when this stop all batches forbidden response has a 5xx status code
func (*StopAllBatchesForbidden) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesForbidden) IsSuccess() bool
IsSuccess returns true when this stop all batches forbidden response has a 2xx status code
func (*StopAllBatchesForbidden) String ¶ added in v1.26.1
func (o *StopAllBatchesForbidden) String() string
type StopAllBatchesNoContent ¶ added in v1.26.1
type StopAllBatchesNoContent struct {
}
StopAllBatchesNoContent describes a response with status code 204, with default header values.
Success
func NewStopAllBatchesNoContent ¶ added in v1.26.1
func NewStopAllBatchesNoContent() *StopAllBatchesNoContent
NewStopAllBatchesNoContent creates a StopAllBatchesNoContent with default headers values
func (*StopAllBatchesNoContent) Code ¶ added in v1.26.1
func (o *StopAllBatchesNoContent) Code() int
Code gets the status code for the stop all batches no content response
func (*StopAllBatchesNoContent) Error ¶ added in v1.26.1
func (o *StopAllBatchesNoContent) Error() string
func (*StopAllBatchesNoContent) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesNoContent) IsClientError() bool
IsClientError returns true when this stop all batches no content response has a 4xx status code
func (*StopAllBatchesNoContent) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesNoContent) IsCode(code int) bool
IsCode returns true when this stop all batches no content response a status code equal to that given
func (*StopAllBatchesNoContent) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesNoContent) IsRedirect() bool
IsRedirect returns true when this stop all batches no content response has a 3xx status code
func (*StopAllBatchesNoContent) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesNoContent) IsServerError() bool
IsServerError returns true when this stop all batches no content response has a 5xx status code
func (*StopAllBatchesNoContent) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesNoContent) IsSuccess() bool
IsSuccess returns true when this stop all batches no content response has a 2xx status code
func (*StopAllBatchesNoContent) String ¶ added in v1.26.1
func (o *StopAllBatchesNoContent) String() string
type StopAllBatchesNotFound ¶ added in v1.26.1
type StopAllBatchesNotFound struct {
}
StopAllBatchesNotFound describes a response with status code 404, with default header values.
Not found
func NewStopAllBatchesNotFound ¶ added in v1.26.1
func NewStopAllBatchesNotFound() *StopAllBatchesNotFound
NewStopAllBatchesNotFound creates a StopAllBatchesNotFound with default headers values
func (*StopAllBatchesNotFound) Code ¶ added in v1.26.1
func (o *StopAllBatchesNotFound) Code() int
Code gets the status code for the stop all batches not found response
func (*StopAllBatchesNotFound) Error ¶ added in v1.26.1
func (o *StopAllBatchesNotFound) Error() string
func (*StopAllBatchesNotFound) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesNotFound) IsClientError() bool
IsClientError returns true when this stop all batches not found response has a 4xx status code
func (*StopAllBatchesNotFound) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesNotFound) IsCode(code int) bool
IsCode returns true when this stop all batches not found response a status code equal to that given
func (*StopAllBatchesNotFound) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesNotFound) IsRedirect() bool
IsRedirect returns true when this stop all batches not found response has a 3xx status code
func (*StopAllBatchesNotFound) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesNotFound) IsServerError() bool
IsServerError returns true when this stop all batches not found response has a 5xx status code
func (*StopAllBatchesNotFound) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesNotFound) IsSuccess() bool
IsSuccess returns true when this stop all batches not found response has a 2xx status code
func (*StopAllBatchesNotFound) String ¶ added in v1.26.1
func (o *StopAllBatchesNotFound) String() string
type StopAllBatchesParams ¶ added in v1.26.1
type StopAllBatchesParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
StopAllBatchesParams contains all the parameters to send to the API endpoint
for the stop all batches operation. Typically these are written to a http.Request.
func NewStopAllBatchesParams ¶ added in v1.26.1
func NewStopAllBatchesParams() *StopAllBatchesParams
NewStopAllBatchesParams creates a new StopAllBatchesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewStopAllBatchesParamsWithContext
deprecated
added in
v1.26.1
func NewStopAllBatchesParamsWithContext(ctx context.Context) *StopAllBatchesParams
NewStopAllBatchesParamsWithContext creates a new StopAllBatchesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of StopAllBatchesParams.
func NewStopAllBatchesParamsWithHTTPClient ¶ added in v1.26.1
func NewStopAllBatchesParamsWithHTTPClient(client *http.Client) *StopAllBatchesParams
NewStopAllBatchesParamsWithHTTPClient creates a new StopAllBatchesParams object with the ability to set a custom HTTPClient for a request.
func NewStopAllBatchesParamsWithTimeout ¶ added in v1.26.1
func NewStopAllBatchesParamsWithTimeout(timeout time.Duration) *StopAllBatchesParams
NewStopAllBatchesParamsWithTimeout creates a new StopAllBatchesParams object with the ability to set a timeout on a request.
func (*StopAllBatchesParams) SetAppName ¶ added in v1.26.1
func (o *StopAllBatchesParams) SetAppName(appName string)
SetAppName adds the appName to the stop all batches params.
func (*StopAllBatchesParams) SetContext
deprecated
added in
v1.26.1
func (o *StopAllBatchesParams) SetContext(ctx context.Context)
SetContext adds the context to the stop all batches params.
Deprecated: use the operation call with context to pass the context instead of StopAllBatchesParams.
func (*StopAllBatchesParams) SetDefaults ¶ added in v1.26.1
func (o *StopAllBatchesParams) SetDefaults()
SetDefaults hydrates default values in the stop all batches params (not the query body).
All values with no default are reset to their zero value.
func (*StopAllBatchesParams) SetEnvName ¶ added in v1.26.1
func (o *StopAllBatchesParams) SetEnvName(envName string)
SetEnvName adds the envName to the stop all batches params.
func (*StopAllBatchesParams) SetHTTPClient ¶ added in v1.26.1
func (o *StopAllBatchesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop all batches params.
func (*StopAllBatchesParams) SetImpersonateGroup ¶ added in v1.26.1
func (o *StopAllBatchesParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the stop all batches params.
func (*StopAllBatchesParams) SetImpersonateUser ¶ added in v1.26.1
func (o *StopAllBatchesParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the stop all batches params.
func (*StopAllBatchesParams) SetJobComponentName ¶ added in v1.26.1
func (o *StopAllBatchesParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the stop all batches params.
func (*StopAllBatchesParams) SetTimeout ¶ added in v1.26.1
func (o *StopAllBatchesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop all batches params.
func (*StopAllBatchesParams) WithAppName ¶ added in v1.26.1
func (o *StopAllBatchesParams) WithAppName(appName string) *StopAllBatchesParams
WithAppName adds the appName to the stop all batches params.
func (*StopAllBatchesParams) WithContext
deprecated
added in
v1.26.1
func (o *StopAllBatchesParams) WithContext(ctx context.Context) *StopAllBatchesParams
WithContext adds the context to the stop all batches params.
Deprecated: use the operation call with context to pass the context instead of StopAllBatchesParams.
func (*StopAllBatchesParams) WithDefaults ¶ added in v1.26.1
func (o *StopAllBatchesParams) WithDefaults() *StopAllBatchesParams
WithDefaults hydrates default values in the stop all batches params (not the query body).
All values with no default are reset to their zero value.
func (*StopAllBatchesParams) WithEnvName ¶ added in v1.26.1
func (o *StopAllBatchesParams) WithEnvName(envName string) *StopAllBatchesParams
WithEnvName adds the envName to the stop all batches params.
func (*StopAllBatchesParams) WithHTTPClient ¶ added in v1.26.1
func (o *StopAllBatchesParams) WithHTTPClient(client *http.Client) *StopAllBatchesParams
WithHTTPClient adds the HTTPClient to the stop all batches params.
func (*StopAllBatchesParams) WithImpersonateGroup ¶ added in v1.26.1
func (o *StopAllBatchesParams) WithImpersonateGroup(impersonateGroup *string) *StopAllBatchesParams
WithImpersonateGroup adds the impersonateGroup to the stop all batches params.
func (*StopAllBatchesParams) WithImpersonateUser ¶ added in v1.26.1
func (o *StopAllBatchesParams) WithImpersonateUser(impersonateUser *string) *StopAllBatchesParams
WithImpersonateUser adds the impersonateUser to the stop all batches params.
func (*StopAllBatchesParams) WithJobComponentName ¶ added in v1.26.1
func (o *StopAllBatchesParams) WithJobComponentName(jobComponentName string) *StopAllBatchesParams
WithJobComponentName adds the jobComponentName to the stop all batches params.
func (*StopAllBatchesParams) WithTimeout ¶ added in v1.26.1
func (o *StopAllBatchesParams) WithTimeout(timeout time.Duration) *StopAllBatchesParams
WithTimeout adds the timeout to the stop all batches params.
func (*StopAllBatchesParams) WriteToRequest ¶ added in v1.26.1
func (o *StopAllBatchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type StopAllBatchesReader ¶ added in v1.26.1
type StopAllBatchesReader struct {
// contains filtered or unexported fields
}
StopAllBatchesReader is a Reader for the StopAllBatches structure.
func (*StopAllBatchesReader) ReadResponse ¶ added in v1.26.1
func (o *StopAllBatchesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type StopAllBatchesUnauthorized ¶ added in v1.26.1
type StopAllBatchesUnauthorized struct {
}
StopAllBatchesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewStopAllBatchesUnauthorized ¶ added in v1.26.1
func NewStopAllBatchesUnauthorized() *StopAllBatchesUnauthorized
NewStopAllBatchesUnauthorized creates a StopAllBatchesUnauthorized with default headers values
func (*StopAllBatchesUnauthorized) Code ¶ added in v1.26.1
func (o *StopAllBatchesUnauthorized) Code() int
Code gets the status code for the stop all batches unauthorized response
func (*StopAllBatchesUnauthorized) Error ¶ added in v1.26.1
func (o *StopAllBatchesUnauthorized) Error() string
func (*StopAllBatchesUnauthorized) IsClientError ¶ added in v1.26.1
func (o *StopAllBatchesUnauthorized) IsClientError() bool
IsClientError returns true when this stop all batches unauthorized response has a 4xx status code
func (*StopAllBatchesUnauthorized) IsCode ¶ added in v1.26.1
func (o *StopAllBatchesUnauthorized) IsCode(code int) bool
IsCode returns true when this stop all batches unauthorized response a status code equal to that given
func (*StopAllBatchesUnauthorized) IsRedirect ¶ added in v1.26.1
func (o *StopAllBatchesUnauthorized) IsRedirect() bool
IsRedirect returns true when this stop all batches unauthorized response has a 3xx status code
func (*StopAllBatchesUnauthorized) IsServerError ¶ added in v1.26.1
func (o *StopAllBatchesUnauthorized) IsServerError() bool
IsServerError returns true when this stop all batches unauthorized response has a 5xx status code
func (*StopAllBatchesUnauthorized) IsSuccess ¶ added in v1.26.1
func (o *StopAllBatchesUnauthorized) IsSuccess() bool
IsSuccess returns true when this stop all batches unauthorized response has a 2xx status code
func (*StopAllBatchesUnauthorized) String ¶ added in v1.26.1
func (o *StopAllBatchesUnauthorized) String() string
type StopAllJobsBadRequest ¶ added in v1.26.1
type StopAllJobsBadRequest struct {
}
StopAllJobsBadRequest describes a response with status code 400, with default header values.
Invalid job
func NewStopAllJobsBadRequest ¶ added in v1.26.1
func NewStopAllJobsBadRequest() *StopAllJobsBadRequest
NewStopAllJobsBadRequest creates a StopAllJobsBadRequest with default headers values
func (*StopAllJobsBadRequest) Code ¶ added in v1.26.1
func (o *StopAllJobsBadRequest) Code() int
Code gets the status code for the stop all jobs bad request response
func (*StopAllJobsBadRequest) Error ¶ added in v1.26.1
func (o *StopAllJobsBadRequest) Error() string
func (*StopAllJobsBadRequest) IsClientError ¶ added in v1.26.1
func (o *StopAllJobsBadRequest) IsClientError() bool
IsClientError returns true when this stop all jobs bad request response has a 4xx status code
func (*StopAllJobsBadRequest) IsCode ¶ added in v1.26.1
func (o *StopAllJobsBadRequest) IsCode(code int) bool
IsCode returns true when this stop all jobs bad request response a status code equal to that given
func (*StopAllJobsBadRequest) IsRedirect ¶ added in v1.26.1
func (o *StopAllJobsBadRequest) IsRedirect() bool
IsRedirect returns true when this stop all jobs bad request response has a 3xx status code
func (*StopAllJobsBadRequest) IsServerError ¶ added in v1.26.1
func (o *StopAllJobsBadRequest) IsServerError() bool
IsServerError returns true when this stop all jobs bad request response has a 5xx status code
func (*StopAllJobsBadRequest) IsSuccess ¶ added in v1.26.1
func (o *StopAllJobsBadRequest) IsSuccess() bool
IsSuccess returns true when this stop all jobs bad request response has a 2xx status code
func (*StopAllJobsBadRequest) String ¶ added in v1.26.1
func (o *StopAllJobsBadRequest) String() string
type StopAllJobsForbidden ¶ added in v1.26.1
type StopAllJobsForbidden struct {
}
StopAllJobsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewStopAllJobsForbidden ¶ added in v1.26.1
func NewStopAllJobsForbidden() *StopAllJobsForbidden
NewStopAllJobsForbidden creates a StopAllJobsForbidden with default headers values
func (*StopAllJobsForbidden) Code ¶ added in v1.26.1
func (o *StopAllJobsForbidden) Code() int
Code gets the status code for the stop all jobs forbidden response
func (*StopAllJobsForbidden) Error ¶ added in v1.26.1
func (o *StopAllJobsForbidden) Error() string
func (*StopAllJobsForbidden) IsClientError ¶ added in v1.26.1
func (o *StopAllJobsForbidden) IsClientError() bool
IsClientError returns true when this stop all jobs forbidden response has a 4xx status code
func (*StopAllJobsForbidden) IsCode ¶ added in v1.26.1
func (o *StopAllJobsForbidden) IsCode(code int) bool
IsCode returns true when this stop all jobs forbidden response a status code equal to that given
func (*StopAllJobsForbidden) IsRedirect ¶ added in v1.26.1
func (o *StopAllJobsForbidden) IsRedirect() bool
IsRedirect returns true when this stop all jobs forbidden response has a 3xx status code
func (*StopAllJobsForbidden) IsServerError ¶ added in v1.26.1
func (o *StopAllJobsForbidden) IsServerError() bool
IsServerError returns true when this stop all jobs forbidden response has a 5xx status code
func (*StopAllJobsForbidden) IsSuccess ¶ added in v1.26.1
func (o *StopAllJobsForbidden) IsSuccess() bool
IsSuccess returns true when this stop all jobs forbidden response has a 2xx status code
func (*StopAllJobsForbidden) String ¶ added in v1.26.1
func (o *StopAllJobsForbidden) String() string
type StopAllJobsNoContent ¶ added in v1.26.1
type StopAllJobsNoContent struct {
}
StopAllJobsNoContent describes a response with status code 204, with default header values.
Success
func NewStopAllJobsNoContent ¶ added in v1.26.1
func NewStopAllJobsNoContent() *StopAllJobsNoContent
NewStopAllJobsNoContent creates a StopAllJobsNoContent with default headers values
func (*StopAllJobsNoContent) Code ¶ added in v1.26.1
func (o *StopAllJobsNoContent) Code() int
Code gets the status code for the stop all jobs no content response
func (*StopAllJobsNoContent) Error ¶ added in v1.26.1
func (o *StopAllJobsNoContent) Error() string
func (*StopAllJobsNoContent) IsClientError ¶ added in v1.26.1
func (o *StopAllJobsNoContent) IsClientError() bool
IsClientError returns true when this stop all jobs no content response has a 4xx status code
func (*StopAllJobsNoContent) IsCode ¶ added in v1.26.1
func (o *StopAllJobsNoContent) IsCode(code int) bool
IsCode returns true when this stop all jobs no content response a status code equal to that given
func (*StopAllJobsNoContent) IsRedirect ¶ added in v1.26.1
func (o *StopAllJobsNoContent) IsRedirect() bool
IsRedirect returns true when this stop all jobs no content response has a 3xx status code
func (*StopAllJobsNoContent) IsServerError ¶ added in v1.26.1
func (o *StopAllJobsNoContent) IsServerError() bool
IsServerError returns true when this stop all jobs no content response has a 5xx status code
func (*StopAllJobsNoContent) IsSuccess ¶ added in v1.26.1
func (o *StopAllJobsNoContent) IsSuccess() bool
IsSuccess returns true when this stop all jobs no content response has a 2xx status code
func (*StopAllJobsNoContent) String ¶ added in v1.26.1
func (o *StopAllJobsNoContent) String() string
type StopAllJobsNotFound ¶ added in v1.26.1
type StopAllJobsNotFound struct {
}
StopAllJobsNotFound describes a response with status code 404, with default header values.
Not found
func NewStopAllJobsNotFound ¶ added in v1.26.1
func NewStopAllJobsNotFound() *StopAllJobsNotFound
NewStopAllJobsNotFound creates a StopAllJobsNotFound with default headers values
func (*StopAllJobsNotFound) Code ¶ added in v1.26.1
func (o *StopAllJobsNotFound) Code() int
Code gets the status code for the stop all jobs not found response
func (*StopAllJobsNotFound) Error ¶ added in v1.26.1
func (o *StopAllJobsNotFound) Error() string
func (*StopAllJobsNotFound) IsClientError ¶ added in v1.26.1
func (o *StopAllJobsNotFound) IsClientError() bool
IsClientError returns true when this stop all jobs not found response has a 4xx status code
func (*StopAllJobsNotFound) IsCode ¶ added in v1.26.1
func (o *StopAllJobsNotFound) IsCode(code int) bool
IsCode returns true when this stop all jobs not found response a status code equal to that given
func (*StopAllJobsNotFound) IsRedirect ¶ added in v1.26.1
func (o *StopAllJobsNotFound) IsRedirect() bool
IsRedirect returns true when this stop all jobs not found response has a 3xx status code
func (*StopAllJobsNotFound) IsServerError ¶ added in v1.26.1
func (o *StopAllJobsNotFound) IsServerError() bool
IsServerError returns true when this stop all jobs not found response has a 5xx status code
func (*StopAllJobsNotFound) IsSuccess ¶ added in v1.26.1
func (o *StopAllJobsNotFound) IsSuccess() bool
IsSuccess returns true when this stop all jobs not found response has a 2xx status code
func (*StopAllJobsNotFound) String ¶ added in v1.26.1
func (o *StopAllJobsNotFound) String() string
type StopAllJobsParams ¶ added in v1.26.1
type StopAllJobsParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
StopAllJobsParams contains all the parameters to send to the API endpoint
for the stop all jobs operation. Typically these are written to a http.Request.
func NewStopAllJobsParams ¶ added in v1.26.1
func NewStopAllJobsParams() *StopAllJobsParams
NewStopAllJobsParams creates a new StopAllJobsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewStopAllJobsParamsWithContext
deprecated
added in
v1.26.1
func NewStopAllJobsParamsWithContext(ctx context.Context) *StopAllJobsParams
NewStopAllJobsParamsWithContext creates a new StopAllJobsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of StopAllJobsParams.
func NewStopAllJobsParamsWithHTTPClient ¶ added in v1.26.1
func NewStopAllJobsParamsWithHTTPClient(client *http.Client) *StopAllJobsParams
NewStopAllJobsParamsWithHTTPClient creates a new StopAllJobsParams object with the ability to set a custom HTTPClient for a request.
func NewStopAllJobsParamsWithTimeout ¶ added in v1.26.1
func NewStopAllJobsParamsWithTimeout(timeout time.Duration) *StopAllJobsParams
NewStopAllJobsParamsWithTimeout creates a new StopAllJobsParams object with the ability to set a timeout on a request.
func (*StopAllJobsParams) SetAppName ¶ added in v1.26.1
func (o *StopAllJobsParams) SetAppName(appName string)
SetAppName adds the appName to the stop all jobs params.
func (*StopAllJobsParams) SetContext
deprecated
added in
v1.26.1
func (o *StopAllJobsParams) SetContext(ctx context.Context)
SetContext adds the context to the stop all jobs params.
Deprecated: use the operation call with context to pass the context instead of StopAllJobsParams.
func (*StopAllJobsParams) SetDefaults ¶ added in v1.26.1
func (o *StopAllJobsParams) SetDefaults()
SetDefaults hydrates default values in the stop all jobs params (not the query body).
All values with no default are reset to their zero value.
func (*StopAllJobsParams) SetEnvName ¶ added in v1.26.1
func (o *StopAllJobsParams) SetEnvName(envName string)
SetEnvName adds the envName to the stop all jobs params.
func (*StopAllJobsParams) SetHTTPClient ¶ added in v1.26.1
func (o *StopAllJobsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop all jobs params.
func (*StopAllJobsParams) SetImpersonateGroup ¶ added in v1.26.1
func (o *StopAllJobsParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the stop all jobs params.
func (*StopAllJobsParams) SetImpersonateUser ¶ added in v1.26.1
func (o *StopAllJobsParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the stop all jobs params.
func (*StopAllJobsParams) SetJobComponentName ¶ added in v1.26.1
func (o *StopAllJobsParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the stop all jobs params.
func (*StopAllJobsParams) SetTimeout ¶ added in v1.26.1
func (o *StopAllJobsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop all jobs params.
func (*StopAllJobsParams) WithAppName ¶ added in v1.26.1
func (o *StopAllJobsParams) WithAppName(appName string) *StopAllJobsParams
WithAppName adds the appName to the stop all jobs params.
func (*StopAllJobsParams) WithContext
deprecated
added in
v1.26.1
func (o *StopAllJobsParams) WithContext(ctx context.Context) *StopAllJobsParams
WithContext adds the context to the stop all jobs params.
Deprecated: use the operation call with context to pass the context instead of StopAllJobsParams.
func (*StopAllJobsParams) WithDefaults ¶ added in v1.26.1
func (o *StopAllJobsParams) WithDefaults() *StopAllJobsParams
WithDefaults hydrates default values in the stop all jobs params (not the query body).
All values with no default are reset to their zero value.
func (*StopAllJobsParams) WithEnvName ¶ added in v1.26.1
func (o *StopAllJobsParams) WithEnvName(envName string) *StopAllJobsParams
WithEnvName adds the envName to the stop all jobs params.
func (*StopAllJobsParams) WithHTTPClient ¶ added in v1.26.1
func (o *StopAllJobsParams) WithHTTPClient(client *http.Client) *StopAllJobsParams
WithHTTPClient adds the HTTPClient to the stop all jobs params.
func (*StopAllJobsParams) WithImpersonateGroup ¶ added in v1.26.1
func (o *StopAllJobsParams) WithImpersonateGroup(impersonateGroup *string) *StopAllJobsParams
WithImpersonateGroup adds the impersonateGroup to the stop all jobs params.
func (*StopAllJobsParams) WithImpersonateUser ¶ added in v1.26.1
func (o *StopAllJobsParams) WithImpersonateUser(impersonateUser *string) *StopAllJobsParams
WithImpersonateUser adds the impersonateUser to the stop all jobs params.
func (*StopAllJobsParams) WithJobComponentName ¶ added in v1.26.1
func (o *StopAllJobsParams) WithJobComponentName(jobComponentName string) *StopAllJobsParams
WithJobComponentName adds the jobComponentName to the stop all jobs params.
func (*StopAllJobsParams) WithTimeout ¶ added in v1.26.1
func (o *StopAllJobsParams) WithTimeout(timeout time.Duration) *StopAllJobsParams
WithTimeout adds the timeout to the stop all jobs params.
func (*StopAllJobsParams) WriteToRequest ¶ added in v1.26.1
func (o *StopAllJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type StopAllJobsReader ¶ added in v1.26.1
type StopAllJobsReader struct {
// contains filtered or unexported fields
}
StopAllJobsReader is a Reader for the StopAllJobs structure.
func (*StopAllJobsReader) ReadResponse ¶ added in v1.26.1
func (o *StopAllJobsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type StopAllJobsUnauthorized ¶ added in v1.26.1
type StopAllJobsUnauthorized struct {
}
StopAllJobsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewStopAllJobsUnauthorized ¶ added in v1.26.1
func NewStopAllJobsUnauthorized() *StopAllJobsUnauthorized
NewStopAllJobsUnauthorized creates a StopAllJobsUnauthorized with default headers values
func (*StopAllJobsUnauthorized) Code ¶ added in v1.26.1
func (o *StopAllJobsUnauthorized) Code() int
Code gets the status code for the stop all jobs unauthorized response
func (*StopAllJobsUnauthorized) Error ¶ added in v1.26.1
func (o *StopAllJobsUnauthorized) Error() string
func (*StopAllJobsUnauthorized) IsClientError ¶ added in v1.26.1
func (o *StopAllJobsUnauthorized) IsClientError() bool
IsClientError returns true when this stop all jobs unauthorized response has a 4xx status code
func (*StopAllJobsUnauthorized) IsCode ¶ added in v1.26.1
func (o *StopAllJobsUnauthorized) IsCode(code int) bool
IsCode returns true when this stop all jobs unauthorized response a status code equal to that given
func (*StopAllJobsUnauthorized) IsRedirect ¶ added in v1.26.1
func (o *StopAllJobsUnauthorized) IsRedirect() bool
IsRedirect returns true when this stop all jobs unauthorized response has a 3xx status code
func (*StopAllJobsUnauthorized) IsServerError ¶ added in v1.26.1
func (o *StopAllJobsUnauthorized) IsServerError() bool
IsServerError returns true when this stop all jobs unauthorized response has a 5xx status code
func (*StopAllJobsUnauthorized) IsSuccess ¶ added in v1.26.1
func (o *StopAllJobsUnauthorized) IsSuccess() bool
IsSuccess returns true when this stop all jobs unauthorized response has a 2xx status code
func (*StopAllJobsUnauthorized) String ¶ added in v1.26.1
func (o *StopAllJobsUnauthorized) String() string
type StopBatchBadRequest ¶
type StopBatchBadRequest struct {
}
StopBatchBadRequest describes a response with status code 400, with default header values.
Invalid batch
func NewStopBatchBadRequest ¶
func NewStopBatchBadRequest() *StopBatchBadRequest
NewStopBatchBadRequest creates a StopBatchBadRequest with default headers values
func (*StopBatchBadRequest) Code ¶
func (o *StopBatchBadRequest) Code() int
Code gets the status code for the stop batch bad request response
func (*StopBatchBadRequest) Error ¶
func (o *StopBatchBadRequest) Error() string
func (*StopBatchBadRequest) IsClientError ¶
func (o *StopBatchBadRequest) IsClientError() bool
IsClientError returns true when this stop batch bad request response has a 4xx status code
func (*StopBatchBadRequest) IsCode ¶
func (o *StopBatchBadRequest) IsCode(code int) bool
IsCode returns true when this stop batch bad request response a status code equal to that given
func (*StopBatchBadRequest) IsRedirect ¶
func (o *StopBatchBadRequest) IsRedirect() bool
IsRedirect returns true when this stop batch bad request response has a 3xx status code
func (*StopBatchBadRequest) IsServerError ¶
func (o *StopBatchBadRequest) IsServerError() bool
IsServerError returns true when this stop batch bad request response has a 5xx status code
func (*StopBatchBadRequest) IsSuccess ¶
func (o *StopBatchBadRequest) IsSuccess() bool
IsSuccess returns true when this stop batch bad request response has a 2xx status code
func (*StopBatchBadRequest) String ¶
func (o *StopBatchBadRequest) String() string
type StopBatchForbidden ¶
type StopBatchForbidden struct {
}
StopBatchForbidden describes a response with status code 403, with default header values.
Forbidden
func NewStopBatchForbidden ¶
func NewStopBatchForbidden() *StopBatchForbidden
NewStopBatchForbidden creates a StopBatchForbidden with default headers values
func (*StopBatchForbidden) Code ¶
func (o *StopBatchForbidden) Code() int
Code gets the status code for the stop batch forbidden response
func (*StopBatchForbidden) Error ¶
func (o *StopBatchForbidden) Error() string
func (*StopBatchForbidden) IsClientError ¶
func (o *StopBatchForbidden) IsClientError() bool
IsClientError returns true when this stop batch forbidden response has a 4xx status code
func (*StopBatchForbidden) IsCode ¶
func (o *StopBatchForbidden) IsCode(code int) bool
IsCode returns true when this stop batch forbidden response a status code equal to that given
func (*StopBatchForbidden) IsRedirect ¶
func (o *StopBatchForbidden) IsRedirect() bool
IsRedirect returns true when this stop batch forbidden response has a 3xx status code
func (*StopBatchForbidden) IsServerError ¶
func (o *StopBatchForbidden) IsServerError() bool
IsServerError returns true when this stop batch forbidden response has a 5xx status code
func (*StopBatchForbidden) IsSuccess ¶
func (o *StopBatchForbidden) IsSuccess() bool
IsSuccess returns true when this stop batch forbidden response has a 2xx status code
func (*StopBatchForbidden) String ¶
func (o *StopBatchForbidden) String() string
type StopBatchNoContent ¶
type StopBatchNoContent struct {
}
StopBatchNoContent describes a response with status code 204, with default header values.
Success
func NewStopBatchNoContent ¶
func NewStopBatchNoContent() *StopBatchNoContent
NewStopBatchNoContent creates a StopBatchNoContent with default headers values
func (*StopBatchNoContent) Code ¶
func (o *StopBatchNoContent) Code() int
Code gets the status code for the stop batch no content response
func (*StopBatchNoContent) Error ¶
func (o *StopBatchNoContent) Error() string
func (*StopBatchNoContent) IsClientError ¶
func (o *StopBatchNoContent) IsClientError() bool
IsClientError returns true when this stop batch no content response has a 4xx status code
func (*StopBatchNoContent) IsCode ¶
func (o *StopBatchNoContent) IsCode(code int) bool
IsCode returns true when this stop batch no content response a status code equal to that given
func (*StopBatchNoContent) IsRedirect ¶
func (o *StopBatchNoContent) IsRedirect() bool
IsRedirect returns true when this stop batch no content response has a 3xx status code
func (*StopBatchNoContent) IsServerError ¶
func (o *StopBatchNoContent) IsServerError() bool
IsServerError returns true when this stop batch no content response has a 5xx status code
func (*StopBatchNoContent) IsSuccess ¶
func (o *StopBatchNoContent) IsSuccess() bool
IsSuccess returns true when this stop batch no content response has a 2xx status code
func (*StopBatchNoContent) String ¶
func (o *StopBatchNoContent) String() string
type StopBatchNotFound ¶
type StopBatchNotFound struct {
}
StopBatchNotFound describes a response with status code 404, with default header values.
Not found
func NewStopBatchNotFound ¶
func NewStopBatchNotFound() *StopBatchNotFound
NewStopBatchNotFound creates a StopBatchNotFound with default headers values
func (*StopBatchNotFound) Code ¶
func (o *StopBatchNotFound) Code() int
Code gets the status code for the stop batch not found response
func (*StopBatchNotFound) Error ¶
func (o *StopBatchNotFound) Error() string
func (*StopBatchNotFound) IsClientError ¶
func (o *StopBatchNotFound) IsClientError() bool
IsClientError returns true when this stop batch not found response has a 4xx status code
func (*StopBatchNotFound) IsCode ¶
func (o *StopBatchNotFound) IsCode(code int) bool
IsCode returns true when this stop batch not found response a status code equal to that given
func (*StopBatchNotFound) IsRedirect ¶
func (o *StopBatchNotFound) IsRedirect() bool
IsRedirect returns true when this stop batch not found response has a 3xx status code
func (*StopBatchNotFound) IsServerError ¶
func (o *StopBatchNotFound) IsServerError() bool
IsServerError returns true when this stop batch not found response has a 5xx status code
func (*StopBatchNotFound) IsSuccess ¶
func (o *StopBatchNotFound) IsSuccess() bool
IsSuccess returns true when this stop batch not found response has a 2xx status code
func (*StopBatchNotFound) String ¶
func (o *StopBatchNotFound) String() string
type StopBatchParams ¶
type StopBatchParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// BatchName.
//
// Name of batch
BatchName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
StopBatchParams contains all the parameters to send to the API endpoint
for the stop batch operation. Typically these are written to a http.Request.
func NewStopBatchParams ¶
func NewStopBatchParams() *StopBatchParams
NewStopBatchParams creates a new StopBatchParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewStopBatchParamsWithContext
deprecated
func NewStopBatchParamsWithContext(ctx context.Context) *StopBatchParams
NewStopBatchParamsWithContext creates a new StopBatchParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of StopBatchParams.
func NewStopBatchParamsWithHTTPClient ¶
func NewStopBatchParamsWithHTTPClient(client *http.Client) *StopBatchParams
NewStopBatchParamsWithHTTPClient creates a new StopBatchParams object with the ability to set a custom HTTPClient for a request.
func NewStopBatchParamsWithTimeout ¶
func NewStopBatchParamsWithTimeout(timeout time.Duration) *StopBatchParams
NewStopBatchParamsWithTimeout creates a new StopBatchParams object with the ability to set a timeout on a request.
func (*StopBatchParams) SetAppName ¶
func (o *StopBatchParams) SetAppName(appName string)
SetAppName adds the appName to the stop batch params.
func (*StopBatchParams) SetBatchName ¶
func (o *StopBatchParams) SetBatchName(batchName string)
SetBatchName adds the batchName to the stop batch params.
func (*StopBatchParams) SetContext
deprecated
func (o *StopBatchParams) SetContext(ctx context.Context)
SetContext adds the context to the stop batch params.
Deprecated: use the operation call with context to pass the context instead of StopBatchParams.
func (*StopBatchParams) SetDefaults ¶
func (o *StopBatchParams) SetDefaults()
SetDefaults hydrates default values in the stop batch params (not the query body).
All values with no default are reset to their zero value.
func (*StopBatchParams) SetEnvName ¶
func (o *StopBatchParams) SetEnvName(envName string)
SetEnvName adds the envName to the stop batch params.
func (*StopBatchParams) SetHTTPClient ¶
func (o *StopBatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop batch params.
func (*StopBatchParams) SetImpersonateGroup ¶
func (o *StopBatchParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the stop batch params.
func (*StopBatchParams) SetImpersonateUser ¶
func (o *StopBatchParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the stop batch params.
func (*StopBatchParams) SetJobComponentName ¶
func (o *StopBatchParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the stop batch params.
func (*StopBatchParams) SetTimeout ¶
func (o *StopBatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop batch params.
func (*StopBatchParams) WithAppName ¶
func (o *StopBatchParams) WithAppName(appName string) *StopBatchParams
WithAppName adds the appName to the stop batch params.
func (*StopBatchParams) WithBatchName ¶
func (o *StopBatchParams) WithBatchName(batchName string) *StopBatchParams
WithBatchName adds the batchName to the stop batch params.
func (*StopBatchParams) WithContext
deprecated
func (o *StopBatchParams) WithContext(ctx context.Context) *StopBatchParams
WithContext adds the context to the stop batch params.
Deprecated: use the operation call with context to pass the context instead of StopBatchParams.
func (*StopBatchParams) WithDefaults ¶
func (o *StopBatchParams) WithDefaults() *StopBatchParams
WithDefaults hydrates default values in the stop batch params (not the query body).
All values with no default are reset to their zero value.
func (*StopBatchParams) WithEnvName ¶
func (o *StopBatchParams) WithEnvName(envName string) *StopBatchParams
WithEnvName adds the envName to the stop batch params.
func (*StopBatchParams) WithHTTPClient ¶
func (o *StopBatchParams) WithHTTPClient(client *http.Client) *StopBatchParams
WithHTTPClient adds the HTTPClient to the stop batch params.
func (*StopBatchParams) WithImpersonateGroup ¶
func (o *StopBatchParams) WithImpersonateGroup(impersonateGroup *string) *StopBatchParams
WithImpersonateGroup adds the impersonateGroup to the stop batch params.
func (*StopBatchParams) WithImpersonateUser ¶
func (o *StopBatchParams) WithImpersonateUser(impersonateUser *string) *StopBatchParams
WithImpersonateUser adds the impersonateUser to the stop batch params.
func (*StopBatchParams) WithJobComponentName ¶
func (o *StopBatchParams) WithJobComponentName(jobComponentName string) *StopBatchParams
WithJobComponentName adds the jobComponentName to the stop batch params.
func (*StopBatchParams) WithTimeout ¶
func (o *StopBatchParams) WithTimeout(timeout time.Duration) *StopBatchParams
WithTimeout adds the timeout to the stop batch params.
func (*StopBatchParams) WriteToRequest ¶
func (o *StopBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type StopBatchReader ¶
type StopBatchReader struct {
// contains filtered or unexported fields
}
StopBatchReader is a Reader for the StopBatch structure.
func (*StopBatchReader) ReadResponse ¶
func (o *StopBatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type StopBatchUnauthorized ¶
type StopBatchUnauthorized struct {
}
StopBatchUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewStopBatchUnauthorized ¶
func NewStopBatchUnauthorized() *StopBatchUnauthorized
NewStopBatchUnauthorized creates a StopBatchUnauthorized with default headers values
func (*StopBatchUnauthorized) Code ¶
func (o *StopBatchUnauthorized) Code() int
Code gets the status code for the stop batch unauthorized response
func (*StopBatchUnauthorized) Error ¶
func (o *StopBatchUnauthorized) Error() string
func (*StopBatchUnauthorized) IsClientError ¶
func (o *StopBatchUnauthorized) IsClientError() bool
IsClientError returns true when this stop batch unauthorized response has a 4xx status code
func (*StopBatchUnauthorized) IsCode ¶
func (o *StopBatchUnauthorized) IsCode(code int) bool
IsCode returns true when this stop batch unauthorized response a status code equal to that given
func (*StopBatchUnauthorized) IsRedirect ¶
func (o *StopBatchUnauthorized) IsRedirect() bool
IsRedirect returns true when this stop batch unauthorized response has a 3xx status code
func (*StopBatchUnauthorized) IsServerError ¶
func (o *StopBatchUnauthorized) IsServerError() bool
IsServerError returns true when this stop batch unauthorized response has a 5xx status code
func (*StopBatchUnauthorized) IsSuccess ¶
func (o *StopBatchUnauthorized) IsSuccess() bool
IsSuccess returns true when this stop batch unauthorized response has a 2xx status code
func (*StopBatchUnauthorized) String ¶
func (o *StopBatchUnauthorized) String() string
type StopJobBadRequest ¶
type StopJobBadRequest struct {
}
StopJobBadRequest describes a response with status code 400, with default header values.
Invalid job
func NewStopJobBadRequest ¶
func NewStopJobBadRequest() *StopJobBadRequest
NewStopJobBadRequest creates a StopJobBadRequest with default headers values
func (*StopJobBadRequest) Code ¶
func (o *StopJobBadRequest) Code() int
Code gets the status code for the stop job bad request response
func (*StopJobBadRequest) Error ¶
func (o *StopJobBadRequest) Error() string
func (*StopJobBadRequest) IsClientError ¶
func (o *StopJobBadRequest) IsClientError() bool
IsClientError returns true when this stop job bad request response has a 4xx status code
func (*StopJobBadRequest) IsCode ¶
func (o *StopJobBadRequest) IsCode(code int) bool
IsCode returns true when this stop job bad request response a status code equal to that given
func (*StopJobBadRequest) IsRedirect ¶
func (o *StopJobBadRequest) IsRedirect() bool
IsRedirect returns true when this stop job bad request response has a 3xx status code
func (*StopJobBadRequest) IsServerError ¶
func (o *StopJobBadRequest) IsServerError() bool
IsServerError returns true when this stop job bad request response has a 5xx status code
func (*StopJobBadRequest) IsSuccess ¶
func (o *StopJobBadRequest) IsSuccess() bool
IsSuccess returns true when this stop job bad request response has a 2xx status code
func (*StopJobBadRequest) String ¶
func (o *StopJobBadRequest) String() string
type StopJobForbidden ¶
type StopJobForbidden struct {
}
StopJobForbidden describes a response with status code 403, with default header values.
Forbidden
func NewStopJobForbidden ¶
func NewStopJobForbidden() *StopJobForbidden
NewStopJobForbidden creates a StopJobForbidden with default headers values
func (*StopJobForbidden) Code ¶
func (o *StopJobForbidden) Code() int
Code gets the status code for the stop job forbidden response
func (*StopJobForbidden) Error ¶
func (o *StopJobForbidden) Error() string
func (*StopJobForbidden) IsClientError ¶
func (o *StopJobForbidden) IsClientError() bool
IsClientError returns true when this stop job forbidden response has a 4xx status code
func (*StopJobForbidden) IsCode ¶
func (o *StopJobForbidden) IsCode(code int) bool
IsCode returns true when this stop job forbidden response a status code equal to that given
func (*StopJobForbidden) IsRedirect ¶
func (o *StopJobForbidden) IsRedirect() bool
IsRedirect returns true when this stop job forbidden response has a 3xx status code
func (*StopJobForbidden) IsServerError ¶
func (o *StopJobForbidden) IsServerError() bool
IsServerError returns true when this stop job forbidden response has a 5xx status code
func (*StopJobForbidden) IsSuccess ¶
func (o *StopJobForbidden) IsSuccess() bool
IsSuccess returns true when this stop job forbidden response has a 2xx status code
func (*StopJobForbidden) String ¶
func (o *StopJobForbidden) String() string
type StopJobNoContent ¶
type StopJobNoContent struct {
}
StopJobNoContent describes a response with status code 204, with default header values.
Success
func NewStopJobNoContent ¶
func NewStopJobNoContent() *StopJobNoContent
NewStopJobNoContent creates a StopJobNoContent with default headers values
func (*StopJobNoContent) Code ¶
func (o *StopJobNoContent) Code() int
Code gets the status code for the stop job no content response
func (*StopJobNoContent) Error ¶
func (o *StopJobNoContent) Error() string
func (*StopJobNoContent) IsClientError ¶
func (o *StopJobNoContent) IsClientError() bool
IsClientError returns true when this stop job no content response has a 4xx status code
func (*StopJobNoContent) IsCode ¶
func (o *StopJobNoContent) IsCode(code int) bool
IsCode returns true when this stop job no content response a status code equal to that given
func (*StopJobNoContent) IsRedirect ¶
func (o *StopJobNoContent) IsRedirect() bool
IsRedirect returns true when this stop job no content response has a 3xx status code
func (*StopJobNoContent) IsServerError ¶
func (o *StopJobNoContent) IsServerError() bool
IsServerError returns true when this stop job no content response has a 5xx status code
func (*StopJobNoContent) IsSuccess ¶
func (o *StopJobNoContent) IsSuccess() bool
IsSuccess returns true when this stop job no content response has a 2xx status code
func (*StopJobNoContent) String ¶
func (o *StopJobNoContent) String() string
type StopJobNotFound ¶
type StopJobNotFound struct {
}
StopJobNotFound describes a response with status code 404, with default header values.
Not found
func NewStopJobNotFound ¶
func NewStopJobNotFound() *StopJobNotFound
NewStopJobNotFound creates a StopJobNotFound with default headers values
func (*StopJobNotFound) Code ¶
func (o *StopJobNotFound) Code() int
Code gets the status code for the stop job not found response
func (*StopJobNotFound) Error ¶
func (o *StopJobNotFound) Error() string
func (*StopJobNotFound) IsClientError ¶
func (o *StopJobNotFound) IsClientError() bool
IsClientError returns true when this stop job not found response has a 4xx status code
func (*StopJobNotFound) IsCode ¶
func (o *StopJobNotFound) IsCode(code int) bool
IsCode returns true when this stop job not found response a status code equal to that given
func (*StopJobNotFound) IsRedirect ¶
func (o *StopJobNotFound) IsRedirect() bool
IsRedirect returns true when this stop job not found response has a 3xx status code
func (*StopJobNotFound) IsServerError ¶
func (o *StopJobNotFound) IsServerError() bool
IsServerError returns true when this stop job not found response has a 5xx status code
func (*StopJobNotFound) IsSuccess ¶
func (o *StopJobNotFound) IsSuccess() bool
IsSuccess returns true when this stop job not found response has a 2xx status code
func (*StopJobNotFound) String ¶
func (o *StopJobNotFound) String() string
type StopJobParams ¶
type StopJobParams struct {
// ImpersonateGroup.
//
// Works only with custom setup of cluster. Allow impersonation of a comma-separated list of test groups (Required if Impersonate-User is set)
ImpersonateGroup *string
// ImpersonateUser.
//
// Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
ImpersonateUser *string
// AppName.
//
// Name of application
AppName string
// EnvName.
//
// Name of environment
EnvName string
// JobComponentName.
//
// Name of job-component
JobComponentName string
// JobName.
//
// Name of job
JobName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
StopJobParams contains all the parameters to send to the API endpoint
for the stop job operation. Typically these are written to a http.Request.
func NewStopJobParams ¶
func NewStopJobParams() *StopJobParams
NewStopJobParams creates a new StopJobParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewStopJobParamsWithContext
deprecated
func NewStopJobParamsWithContext(ctx context.Context) *StopJobParams
NewStopJobParamsWithContext creates a new StopJobParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of StopJobParams.
func NewStopJobParamsWithHTTPClient ¶
func NewStopJobParamsWithHTTPClient(client *http.Client) *StopJobParams
NewStopJobParamsWithHTTPClient creates a new StopJobParams object with the ability to set a custom HTTPClient for a request.
func NewStopJobParamsWithTimeout ¶
func NewStopJobParamsWithTimeout(timeout time.Duration) *StopJobParams
NewStopJobParamsWithTimeout creates a new StopJobParams object with the ability to set a timeout on a request.
func (*StopJobParams) SetAppName ¶
func (o *StopJobParams) SetAppName(appName string)
SetAppName adds the appName to the stop job params.
func (*StopJobParams) SetContext
deprecated
func (o *StopJobParams) SetContext(ctx context.Context)
SetContext adds the context to the stop job params.
Deprecated: use the operation call with context to pass the context instead of StopJobParams.
func (*StopJobParams) SetDefaults ¶
func (o *StopJobParams) SetDefaults()
SetDefaults hydrates default values in the stop job params (not the query body).
All values with no default are reset to their zero value.
func (*StopJobParams) SetEnvName ¶
func (o *StopJobParams) SetEnvName(envName string)
SetEnvName adds the envName to the stop job params.
func (*StopJobParams) SetHTTPClient ¶
func (o *StopJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop job params.
func (*StopJobParams) SetImpersonateGroup ¶
func (o *StopJobParams) SetImpersonateGroup(impersonateGroup *string)
SetImpersonateGroup adds the impersonateGroup to the stop job params.
func (*StopJobParams) SetImpersonateUser ¶
func (o *StopJobParams) SetImpersonateUser(impersonateUser *string)
SetImpersonateUser adds the impersonateUser to the stop job params.
func (*StopJobParams) SetJobComponentName ¶
func (o *StopJobParams) SetJobComponentName(jobComponentName string)
SetJobComponentName adds the jobComponentName to the stop job params.
func (*StopJobParams) SetJobName ¶
func (o *StopJobParams) SetJobName(jobName string)
SetJobName adds the jobName to the stop job params.
func (*StopJobParams) SetTimeout ¶
func (o *StopJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop job params.
func (*StopJobParams) WithAppName ¶
func (o *StopJobParams) WithAppName(appName string) *StopJobParams
WithAppName adds the appName to the stop job params.
func (*StopJobParams) WithContext
deprecated
func (o *StopJobParams) WithContext(ctx context.Context) *StopJobParams
WithContext adds the context to the stop job params.
Deprecated: use the operation call with context to pass the context instead of StopJobParams.
func (*StopJobParams) WithDefaults ¶
func (o *StopJobParams) WithDefaults() *StopJobParams
WithDefaults hydrates default values in the stop job params (not the query body).
All values with no default are reset to their zero value.
func (*StopJobParams) WithEnvName ¶
func (o *StopJobParams) WithEnvName(envName string) *StopJobParams
WithEnvName adds the envName to the stop job params.
func (*StopJobParams) WithHTTPClient ¶
func (o *StopJobParams) WithHTTPClient(client *http.Client) *StopJobParams
WithHTTPClient adds the HTTPClient to the stop job params.
func (*StopJobParams) WithImpersonateGroup ¶
func (o *StopJobParams) WithImpersonateGroup(impersonateGroup *string) *StopJobParams
WithImpersonateGroup adds the impersonateGroup to the stop job params.
func (*StopJobParams) WithImpersonateUser ¶
func (o *StopJobParams) WithImpersonateUser(impersonateUser *string) *StopJobParams
WithImpersonateUser adds the impersonateUser to the stop job params.
func (*StopJobParams) WithJobComponentName ¶
func (o *StopJobParams) WithJobComponentName(jobComponentName string) *StopJobParams
WithJobComponentName adds the jobComponentName to the stop job params.
func (*StopJobParams) WithJobName ¶
func (o *StopJobParams) WithJobName(jobName string) *StopJobParams
WithJobName adds the jobName to the stop job params.
func (*StopJobParams) WithTimeout ¶
func (o *StopJobParams) WithTimeout(timeout time.Duration) *StopJobParams
WithTimeout adds the timeout to the stop job params.
func (*StopJobParams) WriteToRequest ¶
func (o *StopJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type StopJobReader ¶
type StopJobReader struct {
// contains filtered or unexported fields
}
StopJobReader is a Reader for the StopJob structure.
func (*StopJobReader) ReadResponse ¶
func (o *StopJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type StopJobUnauthorized ¶
type StopJobUnauthorized struct {
}
StopJobUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewStopJobUnauthorized ¶
func NewStopJobUnauthorized() *StopJobUnauthorized
NewStopJobUnauthorized creates a StopJobUnauthorized with default headers values
func (*StopJobUnauthorized) Code ¶
func (o *StopJobUnauthorized) Code() int
Code gets the status code for the stop job unauthorized response
func (*StopJobUnauthorized) Error ¶
func (o *StopJobUnauthorized) Error() string
func (*StopJobUnauthorized) IsClientError ¶
func (o *StopJobUnauthorized) IsClientError() bool
IsClientError returns true when this stop job unauthorized response has a 4xx status code
func (*StopJobUnauthorized) IsCode ¶
func (o *StopJobUnauthorized) IsCode(code int) bool
IsCode returns true when this stop job unauthorized response a status code equal to that given
func (*StopJobUnauthorized) IsRedirect ¶
func (o *StopJobUnauthorized) IsRedirect() bool
IsRedirect returns true when this stop job unauthorized response has a 3xx status code
func (*StopJobUnauthorized) IsServerError ¶
func (o *StopJobUnauthorized) IsServerError() bool
IsServerError returns true when this stop job unauthorized response has a 5xx status code
func (*StopJobUnauthorized) IsSuccess ¶
func (o *StopJobUnauthorized) IsSuccess() bool
IsSuccess returns true when this stop job unauthorized response has a 2xx status code
func (*StopJobUnauthorized) String ¶
func (o *StopJobUnauthorized) String() string
Source Files
¶
- copy_batch_parameters.go
- copy_batch_responses.go
- copy_job_parameters.go
- copy_job_responses.go
- delete_batch_parameters.go
- delete_batch_responses.go
- delete_job_parameters.go
- delete_job_responses.go
- get_batch_parameters.go
- get_batch_responses.go
- get_batches_parameters.go
- get_batches_responses.go
- get_job_component_deployments_parameters.go
- get_job_component_deployments_responses.go
- get_job_parameters.go
- get_job_payload_parameters.go
- get_job_payload_responses.go
- get_job_responses.go
- get_jobs_parameters.go
- get_jobs_responses.go
- job_client.go
- job_log_parameters.go
- job_log_responses.go
- restart_batch_parameters.go
- restart_batch_responses.go
- restart_job_parameters.go
- restart_job_responses.go
- stop_all_batches_and_jobs_for_environment_parameters.go
- stop_all_batches_and_jobs_for_environment_responses.go
- stop_all_batches_and_jobs_for_job_component_parameters.go
- stop_all_batches_and_jobs_for_job_component_responses.go
- stop_all_batches_parameters.go
- stop_all_batches_responses.go
- stop_all_jobs_parameters.go
- stop_all_jobs_responses.go
- stop_batch_parameters.go
- stop_batch_responses.go
- stop_job_parameters.go
- stop_job_responses.go