job

package
v0.0.0-...-f5a16a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

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

func (*Client) DeleteBatch

func (a *Client) DeleteBatch(params *DeleteBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBatchNoContent, error)

DeleteBatch deletes batch

func (*Client) DeleteJob

func (a *Client) DeleteJob(params *DeleteJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteJobNoContent, error)

DeleteJob deletes job

func (*Client) GetBatch

func (a *Client) GetBatch(params *GetBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBatchOK, error)

GetBatch gets list of scheduled batches

func (*Client) GetBatches

func (a *Client) GetBatches(params *GetBatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBatchesOK, error)

GetBatches gets list of scheduled batches

func (*Client) GetJob

func (a *Client) GetJob(params *GetJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobOK, error)

GetJob gets list of scheduled jobs

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

func (*Client) GetJobPayload

func (a *Client) GetJobPayload(params *GetJobPayloadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobPayloadOK, error)

GetJobPayload gets payload of a scheduled job

func (*Client) GetJobs

func (a *Client) GetJobs(params *GetJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobsOK, error)

GetJobs gets list of scheduled jobs

func (*Client) JobLog

func (a *Client) JobLog(params *JobLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*JobLogOK, error)

JobLog gets log from a scheduled job

func (*Client) RestartBatch

func (a *Client) RestartBatch(params *RestartBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartBatchNoContent, error)

RestartBatch restarts a scheduled or stopped batch

func (*Client) RestartJob

func (a *Client) RestartJob(params *RestartJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartJobNoContent, error)

RestartJob restarts a running or stopped scheduled job

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) StopBatch

func (a *Client) StopBatch(params *StopBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopBatchNoContent, error)

StopBatch stops scheduled batch

func (*Client) StopJob

func (a *Client) StopJob(params *StopJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopJobNoContent, error)

StopJob stops scheduled job

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetJobComponentDeployments(params *GetJobComponentDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobComponentDeploymentsOK, error)

	CopyBatch(params *CopyBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CopyBatchOK, error)

	CopyJob(params *CopyJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CopyJobOK, error)

	DeleteBatch(params *DeleteBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBatchNoContent, error)

	DeleteJob(params *DeleteJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteJobNoContent, error)

	GetBatch(params *GetBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBatchOK, error)

	GetBatches(params *GetBatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBatchesOK, error)

	GetJob(params *GetJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobOK, error)

	GetJobPayload(params *GetJobPayloadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobPayloadOK, error)

	GetJobs(params *GetJobsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobsOK, error)

	JobLog(params *JobLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*JobLogOK, error)

	RestartBatch(params *RestartBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartBatchNoContent, error)

	RestartJob(params *RestartJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartJobNoContent, error)

	StopBatch(params *StopBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopBatchNoContent, error)

	StopJob(params *StopJobParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopJobNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new job API client.

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 test group (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

	Context    context.Context
	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

func NewCopyBatchParamsWithContext(ctx context.Context) *CopyBatchParams

NewCopyBatchParamsWithContext creates a new CopyBatchParams object with the ability to set a context for a request.

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

func (o *CopyBatchParams) SetContext(ctx context.Context)

SetContext adds the context to the copy batch params

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

func (o *CopyBatchParams) WithContext(ctx context.Context) *CopyBatchParams

WithContext adds the context to the copy batch params

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 swagger request

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) (interface{}, 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) Code

func (o *CopyJobOK) Code() int

Code gets the status code for the copy job o k response

func (*CopyJobOK) Error

func (o *CopyJobOK) Error() string

func (*CopyJobOK) GetPayload

func (o *CopyJobOK) GetPayload() *models.ScheduledJobSummary

func (*CopyJobOK) IsClientError

func (o *CopyJobOK) IsClientError() bool

IsClientError returns true when this copy job o k response has a 4xx status code

func (*CopyJobOK) IsCode

func (o *CopyJobOK) IsCode(code int) bool

IsCode returns true when this copy job o k response a status code equal to that given

func (*CopyJobOK) IsRedirect

func (o *CopyJobOK) IsRedirect() bool

IsRedirect returns true when this copy job o k response has a 3xx status code

func (*CopyJobOK) IsServerError

func (o *CopyJobOK) IsServerError() bool

IsServerError returns true when this copy job o k response has a 5xx status code

func (*CopyJobOK) IsSuccess

func (o *CopyJobOK) IsSuccess() bool

IsSuccess returns true when this copy job o k response has a 2xx status code

func (*CopyJobOK) String

func (o *CopyJobOK) String() string

type CopyJobParams

type CopyJobParams struct {

	/* ImpersonateGroup.

	   Works only with custom setup of cluster. Allow impersonation of test group (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

	Context    context.Context
	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

func NewCopyJobParamsWithContext(ctx context.Context) *CopyJobParams

NewCopyJobParamsWithContext creates a new CopyJobParams object with the ability to set a context for a request.

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

func (o *CopyJobParams) SetContext(ctx context.Context)

SetContext adds the context to the copy job params

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

func (o *CopyJobParams) WithContext(ctx context.Context) *CopyJobParams

WithContext adds the context to the copy job params

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 swagger request

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) (interface{}, 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 test group (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

	Context    context.Context
	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

func NewDeleteBatchParamsWithContext(ctx context.Context) *DeleteBatchParams

NewDeleteBatchParamsWithContext creates a new DeleteBatchParams object with the ability to set a context for a request.

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

func (o *DeleteBatchParams) SetContext(ctx context.Context)

SetContext adds the context to the delete batch params

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

func (o *DeleteBatchParams) WithContext(ctx context.Context) *DeleteBatchParams

WithContext adds the context to the delete batch params

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 swagger request

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) (interface{}, 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 test group (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

	Context    context.Context
	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

func NewDeleteJobParamsWithContext(ctx context.Context) *DeleteJobParams

NewDeleteJobParamsWithContext creates a new DeleteJobParams object with the ability to set a context for a request.

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

func (o *DeleteJobParams) SetContext(ctx context.Context)

SetContext adds the context to the delete job params

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

func (o *DeleteJobParams) WithContext(ctx context.Context) *DeleteJobParams

WithContext adds the context to the delete job params

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 swagger request

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) (interface{}, 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 test group (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

	Context    context.Context
	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

func NewGetBatchParamsWithContext(ctx context.Context) *GetBatchParams

NewGetBatchParamsWithContext creates a new GetBatchParams object with the ability to set a context for a request.

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

func (o *GetBatchParams) SetContext(ctx context.Context)

SetContext adds the context to the get batch params

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

func (o *GetBatchParams) WithContext(ctx context.Context) *GetBatchParams

WithContext adds the context to the get batch params

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 swagger request

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) (interface{}, 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 test group (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

	Context    context.Context
	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

func NewGetBatchesParamsWithContext(ctx context.Context) *GetBatchesParams

NewGetBatchesParamsWithContext creates a new GetBatchesParams object with the ability to set a context for a request.

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

func (o *GetBatchesParams) SetContext(ctx context.Context)

SetContext adds the context to the get batches params

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

func (o *GetBatchesParams) WithContext(ctx context.Context) *GetBatchesParams

WithContext adds the context to the get batches params

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 swagger request

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) (interface{}, 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

Code gets the status code for the get job component deployments not found response

func (*GetJobComponentDeploymentsNotFound) Error

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

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

IsSuccess returns true when this get job component deployments not found response has a 2xx status code

func (*GetJobComponentDeploymentsNotFound) 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

Code gets the status code for the get job component deployments o k response

func (*GetJobComponentDeploymentsOK) Error

func (*GetJobComponentDeploymentsOK) GetPayload

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

type GetJobComponentDeploymentsParams

type GetJobComponentDeploymentsParams struct {

	/* ImpersonateGroup.

	   Works only with custom setup of cluster. Allow impersonation of test group (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

	Context    context.Context
	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

func NewGetJobComponentDeploymentsParamsWithContext(ctx context.Context) *GetJobComponentDeploymentsParams

NewGetJobComponentDeploymentsParamsWithContext creates a new GetJobComponentDeploymentsParams object with the ability to set a context for a request.

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

SetContext adds the context to the get job component deployments params

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

WithAppName adds the appName to the get job component deployments params

func (*GetJobComponentDeploymentsParams) WithContext

WithContext adds the context to the get job component deployments params

func (*GetJobComponentDeploymentsParams) WithDefaults

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

WithEnvName adds the envName to the get job component deployments params

func (*GetJobComponentDeploymentsParams) WithHTTPClient

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

WithTimeout adds the timeout to the get job component deployments params

func (*GetJobComponentDeploymentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

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) (interface{}, 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) Code

func (o *GetJobOK) Code() int

Code gets the status code for the get job o k response

func (*GetJobOK) Error

func (o *GetJobOK) Error() string

func (*GetJobOK) GetPayload

func (o *GetJobOK) GetPayload() *models.ScheduledJobSummary

func (*GetJobOK) IsClientError

func (o *GetJobOK) IsClientError() bool

IsClientError returns true when this get job o k response has a 4xx status code

func (*GetJobOK) IsCode

func (o *GetJobOK) IsCode(code int) bool

IsCode returns true when this get job o k response a status code equal to that given

func (*GetJobOK) IsRedirect

func (o *GetJobOK) IsRedirect() bool

IsRedirect returns true when this get job o k response has a 3xx status code

func (*GetJobOK) IsServerError

func (o *GetJobOK) IsServerError() bool

IsServerError returns true when this get job o k response has a 5xx status code

func (*GetJobOK) IsSuccess

func (o *GetJobOK) IsSuccess() bool

IsSuccess returns true when this get job o k response has a 2xx status code

func (*GetJobOK) String

func (o *GetJobOK) String() string

type GetJobParams

type GetJobParams struct {

	/* ImpersonateGroup.

	   Works only with custom setup of cluster. Allow impersonation of test group (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

	Context    context.Context
	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

func NewGetJobParamsWithContext(ctx context.Context) *GetJobParams

NewGetJobParamsWithContext creates a new GetJobParams object with the ability to set a context for a request.

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

func (o *GetJobParams) SetContext(ctx context.Context)

SetContext adds the context to the get job params

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

func (o *GetJobParams) WithContext(ctx context.Context) *GetJobParams

WithContext adds the context to the get job params

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 swagger request

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 test group (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

	Context    context.Context
	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

func NewGetJobPayloadParamsWithContext(ctx context.Context) *GetJobPayloadParams

NewGetJobPayloadParamsWithContext creates a new GetJobPayloadParams object with the ability to set a context for a request.

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

func (o *GetJobPayloadParams) SetContext(ctx context.Context)

SetContext adds the context to the get job payload params

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

WithContext adds the context to the get job payload params

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 swagger request

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) (interface{}, 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) (interface{}, 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) Code

func (o *GetJobsOK) Code() int

Code gets the status code for the get jobs o k response

func (*GetJobsOK) Error

func (o *GetJobsOK) Error() string

func (*GetJobsOK) GetPayload

func (o *GetJobsOK) GetPayload() []*models.ScheduledJobSummary

func (*GetJobsOK) IsClientError

func (o *GetJobsOK) IsClientError() bool

IsClientError returns true when this get jobs o k response has a 4xx status code

func (*GetJobsOK) IsCode

func (o *GetJobsOK) IsCode(code int) bool

IsCode returns true when this get jobs o k response a status code equal to that given

func (*GetJobsOK) IsRedirect

func (o *GetJobsOK) IsRedirect() bool

IsRedirect returns true when this get jobs o k response has a 3xx status code

func (*GetJobsOK) IsServerError

func (o *GetJobsOK) IsServerError() bool

IsServerError returns true when this get jobs o k response has a 5xx status code

func (*GetJobsOK) IsSuccess

func (o *GetJobsOK) IsSuccess() bool

IsSuccess returns true when this get jobs o k response has a 2xx status code

func (*GetJobsOK) String

func (o *GetJobsOK) String() string

type GetJobsParams

type GetJobsParams struct {

	/* ImpersonateGroup.

	   Works only with custom setup of cluster. Allow impersonation of test group (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

	Context    context.Context
	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

func NewGetJobsParamsWithContext(ctx context.Context) *GetJobsParams

NewGetJobsParamsWithContext creates a new GetJobsParams object with the ability to set a context for a request.

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

func (o *GetJobsParams) SetContext(ctx context.Context)

SetContext adds the context to the get jobs params

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

func (o *GetJobsParams) WithContext(ctx context.Context) *GetJobsParams

WithContext adds the context to the get jobs params

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 swagger request

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) (interface{}, 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) Code

func (o *JobLogOK) Code() int

Code gets the status code for the job log o k response

func (*JobLogOK) Error

func (o *JobLogOK) Error() string

func (*JobLogOK) GetPayload

func (o *JobLogOK) GetPayload() string

func (*JobLogOK) IsClientError

func (o *JobLogOK) IsClientError() bool

IsClientError returns true when this job log o k response has a 4xx status code

func (*JobLogOK) IsCode

func (o *JobLogOK) IsCode(code int) bool

IsCode returns true when this job log o k response a status code equal to that given

func (*JobLogOK) IsRedirect

func (o *JobLogOK) IsRedirect() bool

IsRedirect returns true when this job log o k response has a 3xx status code

func (*JobLogOK) IsServerError

func (o *JobLogOK) IsServerError() bool

IsServerError returns true when this job log o k response has a 5xx status code

func (*JobLogOK) IsSuccess

func (o *JobLogOK) IsSuccess() bool

IsSuccess returns true when this job log o k response has a 2xx status code

func (*JobLogOK) String

func (o *JobLogOK) String() string

type JobLogParams

type JobLogParams struct {

	/* ImpersonateGroup.

	   Works only with custom setup of cluster. Allow impersonation of test group (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

	/* JobComponentName.

	   Name of job-component
	*/
	JobComponentName string

	/* Lines.

	   Get log lines (example 1000)

	   Format: number
	*/
	Lines *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

	Context    context.Context
	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

func NewJobLogParamsWithContext(ctx context.Context) *JobLogParams

NewJobLogParamsWithContext creates a new JobLogParams object with the ability to set a context for a request.

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

func (o *JobLogParams) SetContext(ctx context.Context)

SetContext adds the context to the job log params

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) 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) 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

func (o *JobLogParams) WithContext(ctx context.Context) *JobLogParams

WithContext adds the context to the job log params

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) 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) 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 swagger request

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) (interface{}, 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 test group (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

	Context    context.Context
	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

func NewRestartBatchParamsWithContext(ctx context.Context) *RestartBatchParams

NewRestartBatchParamsWithContext creates a new RestartBatchParams object with the ability to set a context for a request.

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

func (o *RestartBatchParams) SetContext(ctx context.Context)

SetContext adds the context to the restart batch params

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

WithContext adds the context to the restart batch params

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 swagger request

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) (interface{}, 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 test group (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

	Context    context.Context
	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

func NewRestartJobParamsWithContext(ctx context.Context) *RestartJobParams

NewRestartJobParamsWithContext creates a new RestartJobParams object with the ability to set a context for a request.

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

func (o *RestartJobParams) SetContext(ctx context.Context)

SetContext adds the context to the restart job params

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

func (o *RestartJobParams) WithContext(ctx context.Context) *RestartJobParams

WithContext adds the context to the restart job params

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 swagger request

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) (interface{}, 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 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 test group (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

	Context    context.Context
	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

func NewStopBatchParamsWithContext(ctx context.Context) *StopBatchParams

NewStopBatchParamsWithContext creates a new StopBatchParams object with the ability to set a context for a request.

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

func (o *StopBatchParams) SetContext(ctx context.Context)

SetContext adds the context to the stop batch params

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

func (o *StopBatchParams) WithContext(ctx context.Context) *StopBatchParams

WithContext adds the context to the stop batch params

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 swagger request

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) (interface{}, 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 test group (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

	Context    context.Context
	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

func NewStopJobParamsWithContext(ctx context.Context) *StopJobParams

NewStopJobParamsWithContext creates a new StopJobParams object with the ability to set a context for a request.

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

func (o *StopJobParams) SetContext(ctx context.Context)

SetContext adds the context to the stop job params

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

func (o *StopJobParams) WithContext(ctx context.Context) *StopJobParams

WithContext adds the context to the stop job params

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 swagger request

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) (interface{}, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL