Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateJob(params *CreateJobParams, opts ...ClientOption) (*CreateJobOK, error)
- func (a *Client) DeleteJob(params *DeleteJobParams, opts ...ClientOption) (*DeleteJobOK, error)
- func (a *Client) GetJob(params *GetJobParams, opts ...ClientOption) (*GetJobOK, error)
- func (a *Client) GetJobs(params *GetJobsParams, opts ...ClientOption) (*GetJobsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StopJob(params *StopJobParams, opts ...ClientOption) (*StopJobOK, error)
- type ClientOption
- type ClientService
- type CreateJobBadRequest
- func (o *CreateJobBadRequest) Code() int
- func (o *CreateJobBadRequest) Error() string
- func (o *CreateJobBadRequest) GetPayload() *models.Status
- func (o *CreateJobBadRequest) IsClientError() bool
- func (o *CreateJobBadRequest) IsCode(code int) bool
- func (o *CreateJobBadRequest) IsRedirect() bool
- func (o *CreateJobBadRequest) IsServerError() bool
- func (o *CreateJobBadRequest) IsSuccess() bool
- func (o *CreateJobBadRequest) String() string
- type CreateJobInternalServerError
- func (o *CreateJobInternalServerError) Code() int
- func (o *CreateJobInternalServerError) Error() string
- func (o *CreateJobInternalServerError) GetPayload() *models.Status
- func (o *CreateJobInternalServerError) IsClientError() bool
- func (o *CreateJobInternalServerError) IsCode(code int) bool
- func (o *CreateJobInternalServerError) IsRedirect() bool
- func (o *CreateJobInternalServerError) IsServerError() bool
- func (o *CreateJobInternalServerError) IsSuccess() bool
- func (o *CreateJobInternalServerError) String() string
- type CreateJobNotFound
- func (o *CreateJobNotFound) Code() int
- func (o *CreateJobNotFound) Error() string
- func (o *CreateJobNotFound) GetPayload() *models.Status
- func (o *CreateJobNotFound) IsClientError() bool
- func (o *CreateJobNotFound) IsCode(code int) bool
- func (o *CreateJobNotFound) IsRedirect() bool
- func (o *CreateJobNotFound) IsServerError() bool
- func (o *CreateJobNotFound) IsSuccess() bool
- func (o *CreateJobNotFound) String() string
- type CreateJobOK
- func (o *CreateJobOK) Code() int
- func (o *CreateJobOK) Error() string
- func (o *CreateJobOK) GetPayload() *models.JobStatus
- func (o *CreateJobOK) IsClientError() bool
- func (o *CreateJobOK) IsCode(code int) bool
- func (o *CreateJobOK) IsRedirect() bool
- func (o *CreateJobOK) IsServerError() bool
- func (o *CreateJobOK) IsSuccess() bool
- func (o *CreateJobOK) String() string
- type CreateJobParams
- func (o *CreateJobParams) SetContext(ctx context.Context)
- func (o *CreateJobParams) SetDefaults()
- func (o *CreateJobParams) SetHTTPClient(client *http.Client)
- func (o *CreateJobParams) SetJobCreation(jobCreation *models.JobScheduleDescription)
- func (o *CreateJobParams) SetTimeout(timeout time.Duration)
- func (o *CreateJobParams) WithContext(ctx context.Context) *CreateJobParams
- func (o *CreateJobParams) WithDefaults() *CreateJobParams
- func (o *CreateJobParams) WithHTTPClient(client *http.Client) *CreateJobParams
- func (o *CreateJobParams) WithJobCreation(jobCreation *models.JobScheduleDescription) *CreateJobParams
- func (o *CreateJobParams) WithTimeout(timeout time.Duration) *CreateJobParams
- func (o *CreateJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateJobReader
- type CreateJobUnprocessableEntity
- func (o *CreateJobUnprocessableEntity) Code() int
- func (o *CreateJobUnprocessableEntity) Error() string
- func (o *CreateJobUnprocessableEntity) GetPayload() *models.Status
- func (o *CreateJobUnprocessableEntity) IsClientError() bool
- func (o *CreateJobUnprocessableEntity) IsCode(code int) bool
- func (o *CreateJobUnprocessableEntity) IsRedirect() bool
- func (o *CreateJobUnprocessableEntity) IsServerError() bool
- func (o *CreateJobUnprocessableEntity) IsSuccess() bool
- func (o *CreateJobUnprocessableEntity) String() string
- type DeleteJobInternalServerError
- func (o *DeleteJobInternalServerError) Code() int
- func (o *DeleteJobInternalServerError) Error() string
- func (o *DeleteJobInternalServerError) GetPayload() *models.Status
- func (o *DeleteJobInternalServerError) IsClientError() bool
- func (o *DeleteJobInternalServerError) IsCode(code int) bool
- func (o *DeleteJobInternalServerError) IsRedirect() bool
- func (o *DeleteJobInternalServerError) IsServerError() bool
- func (o *DeleteJobInternalServerError) IsSuccess() bool
- func (o *DeleteJobInternalServerError) String() string
- type DeleteJobNotFound
- func (o *DeleteJobNotFound) Code() int
- func (o *DeleteJobNotFound) Error() string
- func (o *DeleteJobNotFound) GetPayload() *models.Status
- func (o *DeleteJobNotFound) IsClientError() bool
- func (o *DeleteJobNotFound) IsCode(code int) bool
- func (o *DeleteJobNotFound) IsRedirect() bool
- func (o *DeleteJobNotFound) IsServerError() bool
- func (o *DeleteJobNotFound) IsSuccess() bool
- func (o *DeleteJobNotFound) String() string
- type DeleteJobOK
- func (o *DeleteJobOK) Code() int
- func (o *DeleteJobOK) Error() string
- func (o *DeleteJobOK) GetPayload() *models.Status
- func (o *DeleteJobOK) IsClientError() bool
- func (o *DeleteJobOK) IsCode(code int) bool
- func (o *DeleteJobOK) IsRedirect() bool
- func (o *DeleteJobOK) IsServerError() bool
- func (o *DeleteJobOK) IsSuccess() bool
- func (o *DeleteJobOK) String() string
- type DeleteJobParams
- func (o *DeleteJobParams) SetContext(ctx context.Context)
- func (o *DeleteJobParams) SetDefaults()
- func (o *DeleteJobParams) SetHTTPClient(client *http.Client)
- func (o *DeleteJobParams) SetJobName(jobName string)
- func (o *DeleteJobParams) SetTimeout(timeout time.Duration)
- func (o *DeleteJobParams) WithContext(ctx context.Context) *DeleteJobParams
- func (o *DeleteJobParams) WithDefaults() *DeleteJobParams
- func (o *DeleteJobParams) WithHTTPClient(client *http.Client) *DeleteJobParams
- func (o *DeleteJobParams) WithJobName(jobName string) *DeleteJobParams
- func (o *DeleteJobParams) WithTimeout(timeout time.Duration) *DeleteJobParams
- func (o *DeleteJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteJobReader
- type GetJobInternalServerError
- func (o *GetJobInternalServerError) Code() int
- func (o *GetJobInternalServerError) Error() string
- func (o *GetJobInternalServerError) GetPayload() *models.Status
- func (o *GetJobInternalServerError) IsClientError() bool
- func (o *GetJobInternalServerError) IsCode(code int) bool
- func (o *GetJobInternalServerError) IsRedirect() bool
- func (o *GetJobInternalServerError) IsServerError() bool
- func (o *GetJobInternalServerError) IsSuccess() bool
- func (o *GetJobInternalServerError) String() string
- type GetJobNotFound
- func (o *GetJobNotFound) Code() int
- func (o *GetJobNotFound) Error() string
- func (o *GetJobNotFound) GetPayload() *models.Status
- func (o *GetJobNotFound) IsClientError() bool
- func (o *GetJobNotFound) IsCode(code int) bool
- func (o *GetJobNotFound) IsRedirect() bool
- func (o *GetJobNotFound) IsServerError() bool
- func (o *GetJobNotFound) IsSuccess() bool
- func (o *GetJobNotFound) String() string
- type GetJobOK
- func (o *GetJobOK) Code() int
- func (o *GetJobOK) Error() string
- func (o *GetJobOK) GetPayload() *models.JobStatus
- func (o *GetJobOK) IsClientError() bool
- func (o *GetJobOK) IsCode(code int) bool
- func (o *GetJobOK) IsRedirect() bool
- func (o *GetJobOK) IsServerError() bool
- func (o *GetJobOK) IsSuccess() bool
- func (o *GetJobOK) String() string
- type GetJobParams
- func (o *GetJobParams) SetContext(ctx context.Context)
- func (o *GetJobParams) SetDefaults()
- func (o *GetJobParams) SetHTTPClient(client *http.Client)
- func (o *GetJobParams) SetJobName(jobName string)
- func (o *GetJobParams) SetTimeout(timeout time.Duration)
- func (o *GetJobParams) WithContext(ctx context.Context) *GetJobParams
- func (o *GetJobParams) WithDefaults() *GetJobParams
- func (o *GetJobParams) WithHTTPClient(client *http.Client) *GetJobParams
- func (o *GetJobParams) WithJobName(jobName string) *GetJobParams
- func (o *GetJobParams) WithTimeout(timeout time.Duration) *GetJobParams
- func (o *GetJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobReader
- type GetJobsInternalServerError
- func (o *GetJobsInternalServerError) Code() int
- func (o *GetJobsInternalServerError) Error() string
- func (o *GetJobsInternalServerError) GetPayload() *models.Status
- func (o *GetJobsInternalServerError) IsClientError() bool
- func (o *GetJobsInternalServerError) IsCode(code int) bool
- func (o *GetJobsInternalServerError) IsRedirect() bool
- func (o *GetJobsInternalServerError) IsServerError() bool
- func (o *GetJobsInternalServerError) IsSuccess() bool
- func (o *GetJobsInternalServerError) String() string
- type GetJobsOK
- func (o *GetJobsOK) Code() int
- func (o *GetJobsOK) Error() string
- func (o *GetJobsOK) GetPayload() []*models.JobStatus
- func (o *GetJobsOK) IsClientError() bool
- func (o *GetJobsOK) IsCode(code int) bool
- func (o *GetJobsOK) IsRedirect() bool
- func (o *GetJobsOK) IsServerError() bool
- func (o *GetJobsOK) IsSuccess() bool
- func (o *GetJobsOK) String() string
- type GetJobsParams
- func (o *GetJobsParams) SetContext(ctx context.Context)
- func (o *GetJobsParams) SetDefaults()
- func (o *GetJobsParams) SetHTTPClient(client *http.Client)
- func (o *GetJobsParams) SetTimeout(timeout time.Duration)
- func (o *GetJobsParams) WithContext(ctx context.Context) *GetJobsParams
- func (o *GetJobsParams) WithDefaults() *GetJobsParams
- func (o *GetJobsParams) WithHTTPClient(client *http.Client) *GetJobsParams
- func (o *GetJobsParams) WithTimeout(timeout time.Duration) *GetJobsParams
- func (o *GetJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobsReader
- type StopJobInternalServerError
- func (o *StopJobInternalServerError) Code() int
- func (o *StopJobInternalServerError) Error() string
- func (o *StopJobInternalServerError) GetPayload() *models.Status
- func (o *StopJobInternalServerError) IsClientError() bool
- func (o *StopJobInternalServerError) IsCode(code int) bool
- func (o *StopJobInternalServerError) IsRedirect() bool
- func (o *StopJobInternalServerError) IsServerError() bool
- func (o *StopJobInternalServerError) IsSuccess() bool
- func (o *StopJobInternalServerError) String() string
- type StopJobNotFound
- func (o *StopJobNotFound) Code() int
- func (o *StopJobNotFound) Error() string
- func (o *StopJobNotFound) GetPayload() *models.Status
- func (o *StopJobNotFound) IsClientError() bool
- func (o *StopJobNotFound) IsCode(code int) bool
- func (o *StopJobNotFound) IsRedirect() bool
- func (o *StopJobNotFound) IsServerError() bool
- func (o *StopJobNotFound) IsSuccess() bool
- func (o *StopJobNotFound) String() string
- type StopJobOK
- func (o *StopJobOK) Code() int
- func (o *StopJobOK) Error() string
- func (o *StopJobOK) GetPayload() *models.Status
- func (o *StopJobOK) IsClientError() bool
- func (o *StopJobOK) IsCode(code int) bool
- func (o *StopJobOK) IsRedirect() bool
- func (o *StopJobOK) IsServerError() bool
- func (o *StopJobOK) IsSuccess() bool
- func (o *StopJobOK) String() string
- type StopJobParams
- func (o *StopJobParams) SetContext(ctx context.Context)
- func (o *StopJobParams) SetDefaults()
- func (o *StopJobParams) SetHTTPClient(client *http.Client)
- func (o *StopJobParams) SetJobName(jobName string)
- func (o *StopJobParams) SetTimeout(timeout time.Duration)
- func (o *StopJobParams) WithContext(ctx context.Context) *StopJobParams
- func (o *StopJobParams) WithDefaults() *StopJobParams
- func (o *StopJobParams) WithHTTPClient(client *http.Client) *StopJobParams
- func (o *StopJobParams) WithJobName(jobName string) *StopJobParams
- func (o *StopJobParams) WithTimeout(timeout time.Duration) *StopJobParams
- func (o *StopJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopJobReader
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) CreateJob ¶
func (a *Client) CreateJob(params *CreateJobParams, opts ...ClientOption) (*CreateJobOK, error)
CreateJob creates job
func (*Client) DeleteJob ¶
func (a *Client) DeleteJob(params *DeleteJobParams, opts ...ClientOption) (*DeleteJobOK, error)
DeleteJob deletes job
func (*Client) GetJob ¶
func (a *Client) GetJob(params *GetJobParams, opts ...ClientOption) (*GetJobOK, error)
GetJob gets job
func (*Client) GetJobs ¶
func (a *Client) GetJobs(params *GetJobsParams, opts ...ClientOption) (*GetJobsOK, error)
GetJobs gets jobs
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StopJob ¶
func (a *Client) StopJob(params *StopJobParams, opts ...ClientOption) (*StopJobOK, error)
StopJob stops job
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateJob(params *CreateJobParams, opts ...ClientOption) (*CreateJobOK, error) DeleteJob(params *DeleteJobParams, opts ...ClientOption) (*DeleteJobOK, error) GetJob(params *GetJobParams, opts ...ClientOption) (*GetJobOK, error) GetJobs(params *GetJobsParams, opts ...ClientOption) (*GetJobsOK, error) StopJob(params *StopJobParams, opts ...ClientOption) (*StopJobOK, 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 CreateJobBadRequest ¶
CreateJobBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateJobBadRequest ¶
func NewCreateJobBadRequest() *CreateJobBadRequest
NewCreateJobBadRequest creates a CreateJobBadRequest with default headers values
func (*CreateJobBadRequest) Code ¶
func (o *CreateJobBadRequest) Code() int
Code gets the status code for the create job bad request response
func (*CreateJobBadRequest) Error ¶
func (o *CreateJobBadRequest) Error() string
func (*CreateJobBadRequest) GetPayload ¶
func (o *CreateJobBadRequest) GetPayload() *models.Status
func (*CreateJobBadRequest) IsClientError ¶
func (o *CreateJobBadRequest) IsClientError() bool
IsClientError returns true when this create job bad request response has a 4xx status code
func (*CreateJobBadRequest) IsCode ¶
func (o *CreateJobBadRequest) IsCode(code int) bool
IsCode returns true when this create job bad request response a status code equal to that given
func (*CreateJobBadRequest) IsRedirect ¶
func (o *CreateJobBadRequest) IsRedirect() bool
IsRedirect returns true when this create job bad request response has a 3xx status code
func (*CreateJobBadRequest) IsServerError ¶
func (o *CreateJobBadRequest) IsServerError() bool
IsServerError returns true when this create job bad request response has a 5xx status code
func (*CreateJobBadRequest) IsSuccess ¶
func (o *CreateJobBadRequest) IsSuccess() bool
IsSuccess returns true when this create job bad request response has a 2xx status code
func (*CreateJobBadRequest) String ¶
func (o *CreateJobBadRequest) String() string
type CreateJobInternalServerError ¶
CreateJobInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewCreateJobInternalServerError ¶
func NewCreateJobInternalServerError() *CreateJobInternalServerError
NewCreateJobInternalServerError creates a CreateJobInternalServerError with default headers values
func (*CreateJobInternalServerError) Code ¶
func (o *CreateJobInternalServerError) Code() int
Code gets the status code for the create job internal server error response
func (*CreateJobInternalServerError) Error ¶
func (o *CreateJobInternalServerError) Error() string
func (*CreateJobInternalServerError) GetPayload ¶
func (o *CreateJobInternalServerError) GetPayload() *models.Status
func (*CreateJobInternalServerError) IsClientError ¶
func (o *CreateJobInternalServerError) IsClientError() bool
IsClientError returns true when this create job internal server error response has a 4xx status code
func (*CreateJobInternalServerError) IsCode ¶
func (o *CreateJobInternalServerError) IsCode(code int) bool
IsCode returns true when this create job internal server error response a status code equal to that given
func (*CreateJobInternalServerError) IsRedirect ¶
func (o *CreateJobInternalServerError) IsRedirect() bool
IsRedirect returns true when this create job internal server error response has a 3xx status code
func (*CreateJobInternalServerError) IsServerError ¶
func (o *CreateJobInternalServerError) IsServerError() bool
IsServerError returns true when this create job internal server error response has a 5xx status code
func (*CreateJobInternalServerError) IsSuccess ¶
func (o *CreateJobInternalServerError) IsSuccess() bool
IsSuccess returns true when this create job internal server error response has a 2xx status code
func (*CreateJobInternalServerError) String ¶
func (o *CreateJobInternalServerError) String() string
type CreateJobNotFound ¶
CreateJobNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateJobNotFound ¶
func NewCreateJobNotFound() *CreateJobNotFound
NewCreateJobNotFound creates a CreateJobNotFound with default headers values
func (*CreateJobNotFound) Code ¶
func (o *CreateJobNotFound) Code() int
Code gets the status code for the create job not found response
func (*CreateJobNotFound) Error ¶
func (o *CreateJobNotFound) Error() string
func (*CreateJobNotFound) GetPayload ¶
func (o *CreateJobNotFound) GetPayload() *models.Status
func (*CreateJobNotFound) IsClientError ¶
func (o *CreateJobNotFound) IsClientError() bool
IsClientError returns true when this create job not found response has a 4xx status code
func (*CreateJobNotFound) IsCode ¶
func (o *CreateJobNotFound) IsCode(code int) bool
IsCode returns true when this create job not found response a status code equal to that given
func (*CreateJobNotFound) IsRedirect ¶
func (o *CreateJobNotFound) IsRedirect() bool
IsRedirect returns true when this create job not found response has a 3xx status code
func (*CreateJobNotFound) IsServerError ¶
func (o *CreateJobNotFound) IsServerError() bool
IsServerError returns true when this create job not found response has a 5xx status code
func (*CreateJobNotFound) IsSuccess ¶
func (o *CreateJobNotFound) IsSuccess() bool
IsSuccess returns true when this create job not found response has a 2xx status code
func (*CreateJobNotFound) String ¶
func (o *CreateJobNotFound) String() string
type CreateJobOK ¶
CreateJobOK describes a response with status code 200, with default header values.
Successful create job
func NewCreateJobOK ¶
func NewCreateJobOK() *CreateJobOK
NewCreateJobOK creates a CreateJobOK with default headers values
func (*CreateJobOK) Code ¶
func (o *CreateJobOK) Code() int
Code gets the status code for the create job o k response
func (*CreateJobOK) Error ¶
func (o *CreateJobOK) Error() string
func (*CreateJobOK) GetPayload ¶
func (o *CreateJobOK) GetPayload() *models.JobStatus
func (*CreateJobOK) IsClientError ¶
func (o *CreateJobOK) IsClientError() bool
IsClientError returns true when this create job o k response has a 4xx status code
func (*CreateJobOK) IsCode ¶
func (o *CreateJobOK) IsCode(code int) bool
IsCode returns true when this create job o k response a status code equal to that given
func (*CreateJobOK) IsRedirect ¶
func (o *CreateJobOK) IsRedirect() bool
IsRedirect returns true when this create job o k response has a 3xx status code
func (*CreateJobOK) IsServerError ¶
func (o *CreateJobOK) IsServerError() bool
IsServerError returns true when this create job o k response has a 5xx status code
func (*CreateJobOK) IsSuccess ¶
func (o *CreateJobOK) IsSuccess() bool
IsSuccess returns true when this create job o k response has a 2xx status code
func (*CreateJobOK) String ¶
func (o *CreateJobOK) String() string
type CreateJobParams ¶
type CreateJobParams struct { /* JobCreation. Job to create */ JobCreation *models.JobScheduleDescription Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateJobParams contains all the parameters to send to the API endpoint
for the create job operation. Typically these are written to a http.Request.
func NewCreateJobParams ¶
func NewCreateJobParams() *CreateJobParams
NewCreateJobParams creates a new CreateJobParams 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 NewCreateJobParamsWithContext ¶
func NewCreateJobParamsWithContext(ctx context.Context) *CreateJobParams
NewCreateJobParamsWithContext creates a new CreateJobParams object with the ability to set a context for a request.
func NewCreateJobParamsWithHTTPClient ¶
func NewCreateJobParamsWithHTTPClient(client *http.Client) *CreateJobParams
NewCreateJobParamsWithHTTPClient creates a new CreateJobParams object with the ability to set a custom HTTPClient for a request.
func NewCreateJobParamsWithTimeout ¶
func NewCreateJobParamsWithTimeout(timeout time.Duration) *CreateJobParams
NewCreateJobParamsWithTimeout creates a new CreateJobParams object with the ability to set a timeout on a request.
func (*CreateJobParams) SetContext ¶
func (o *CreateJobParams) SetContext(ctx context.Context)
SetContext adds the context to the create job params
func (*CreateJobParams) SetDefaults ¶
func (o *CreateJobParams) SetDefaults()
SetDefaults hydrates default values in the create job params (not the query body).
All values with no default are reset to their zero value.
func (*CreateJobParams) SetHTTPClient ¶
func (o *CreateJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create job params
func (*CreateJobParams) SetJobCreation ¶
func (o *CreateJobParams) SetJobCreation(jobCreation *models.JobScheduleDescription)
SetJobCreation adds the jobCreation to the create job params
func (*CreateJobParams) SetTimeout ¶
func (o *CreateJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create job params
func (*CreateJobParams) WithContext ¶
func (o *CreateJobParams) WithContext(ctx context.Context) *CreateJobParams
WithContext adds the context to the create job params
func (*CreateJobParams) WithDefaults ¶
func (o *CreateJobParams) WithDefaults() *CreateJobParams
WithDefaults hydrates default values in the create job params (not the query body).
All values with no default are reset to their zero value.
func (*CreateJobParams) WithHTTPClient ¶
func (o *CreateJobParams) WithHTTPClient(client *http.Client) *CreateJobParams
WithHTTPClient adds the HTTPClient to the create job params
func (*CreateJobParams) WithJobCreation ¶
func (o *CreateJobParams) WithJobCreation(jobCreation *models.JobScheduleDescription) *CreateJobParams
WithJobCreation adds the jobCreation to the create job params
func (*CreateJobParams) WithTimeout ¶
func (o *CreateJobParams) WithTimeout(timeout time.Duration) *CreateJobParams
WithTimeout adds the timeout to the create job params
func (*CreateJobParams) WriteToRequest ¶
func (o *CreateJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateJobReader ¶
type CreateJobReader struct {
// contains filtered or unexported fields
}
CreateJobReader is a Reader for the CreateJob structure.
func (*CreateJobReader) ReadResponse ¶
func (o *CreateJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateJobUnprocessableEntity ¶
CreateJobUnprocessableEntity describes a response with status code 422, with default header values.
Invalid data in request
func NewCreateJobUnprocessableEntity ¶
func NewCreateJobUnprocessableEntity() *CreateJobUnprocessableEntity
NewCreateJobUnprocessableEntity creates a CreateJobUnprocessableEntity with default headers values
func (*CreateJobUnprocessableEntity) Code ¶
func (o *CreateJobUnprocessableEntity) Code() int
Code gets the status code for the create job unprocessable entity response
func (*CreateJobUnprocessableEntity) Error ¶
func (o *CreateJobUnprocessableEntity) Error() string
func (*CreateJobUnprocessableEntity) GetPayload ¶
func (o *CreateJobUnprocessableEntity) GetPayload() *models.Status
func (*CreateJobUnprocessableEntity) IsClientError ¶
func (o *CreateJobUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create job unprocessable entity response has a 4xx status code
func (*CreateJobUnprocessableEntity) IsCode ¶
func (o *CreateJobUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create job unprocessable entity response a status code equal to that given
func (*CreateJobUnprocessableEntity) IsRedirect ¶
func (o *CreateJobUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create job unprocessable entity response has a 3xx status code
func (*CreateJobUnprocessableEntity) IsServerError ¶
func (o *CreateJobUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create job unprocessable entity response has a 5xx status code
func (*CreateJobUnprocessableEntity) IsSuccess ¶
func (o *CreateJobUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create job unprocessable entity response has a 2xx status code
func (*CreateJobUnprocessableEntity) String ¶
func (o *CreateJobUnprocessableEntity) String() string
type DeleteJobInternalServerError ¶
DeleteJobInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteJobInternalServerError ¶
func NewDeleteJobInternalServerError() *DeleteJobInternalServerError
NewDeleteJobInternalServerError creates a DeleteJobInternalServerError with default headers values
func (*DeleteJobInternalServerError) Code ¶
func (o *DeleteJobInternalServerError) Code() int
Code gets the status code for the delete job internal server error response
func (*DeleteJobInternalServerError) Error ¶
func (o *DeleteJobInternalServerError) Error() string
func (*DeleteJobInternalServerError) GetPayload ¶
func (o *DeleteJobInternalServerError) GetPayload() *models.Status
func (*DeleteJobInternalServerError) IsClientError ¶
func (o *DeleteJobInternalServerError) IsClientError() bool
IsClientError returns true when this delete job internal server error response has a 4xx status code
func (*DeleteJobInternalServerError) IsCode ¶
func (o *DeleteJobInternalServerError) IsCode(code int) bool
IsCode returns true when this delete job internal server error response a status code equal to that given
func (*DeleteJobInternalServerError) IsRedirect ¶
func (o *DeleteJobInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete job internal server error response has a 3xx status code
func (*DeleteJobInternalServerError) IsServerError ¶
func (o *DeleteJobInternalServerError) IsServerError() bool
IsServerError returns true when this delete job internal server error response has a 5xx status code
func (*DeleteJobInternalServerError) IsSuccess ¶
func (o *DeleteJobInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete job internal server error response has a 2xx status code
func (*DeleteJobInternalServerError) String ¶
func (o *DeleteJobInternalServerError) String() string
type DeleteJobNotFound ¶
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) GetPayload ¶
func (o *DeleteJobNotFound) GetPayload() *models.Status
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 DeleteJobOK ¶
DeleteJobOK describes a response with status code 200, with default header values.
Successful delete job
func NewDeleteJobOK ¶
func NewDeleteJobOK() *DeleteJobOK
NewDeleteJobOK creates a DeleteJobOK with default headers values
func (*DeleteJobOK) Code ¶
func (o *DeleteJobOK) Code() int
Code gets the status code for the delete job o k response
func (*DeleteJobOK) Error ¶
func (o *DeleteJobOK) Error() string
func (*DeleteJobOK) GetPayload ¶
func (o *DeleteJobOK) GetPayload() *models.Status
func (*DeleteJobOK) IsClientError ¶
func (o *DeleteJobOK) IsClientError() bool
IsClientError returns true when this delete job o k response has a 4xx status code
func (*DeleteJobOK) IsCode ¶
func (o *DeleteJobOK) IsCode(code int) bool
IsCode returns true when this delete job o k response a status code equal to that given
func (*DeleteJobOK) IsRedirect ¶
func (o *DeleteJobOK) IsRedirect() bool
IsRedirect returns true when this delete job o k response has a 3xx status code
func (*DeleteJobOK) IsServerError ¶
func (o *DeleteJobOK) IsServerError() bool
IsServerError returns true when this delete job o k response has a 5xx status code
func (*DeleteJobOK) IsSuccess ¶
func (o *DeleteJobOK) IsSuccess() bool
IsSuccess returns true when this delete job o k response has a 2xx status code
func (*DeleteJobOK) String ¶
func (o *DeleteJobOK) String() string
type DeleteJobParams ¶
type DeleteJobParams struct { /* 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) 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) SetHTTPClient ¶
func (o *DeleteJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) 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) WithHTTPClient ¶
func (o *DeleteJobParams) WithHTTPClient(client *http.Client) *DeleteJobParams
WithHTTPClient adds the HTTPClient 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 GetJobInternalServerError ¶
GetJobInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetJobInternalServerError ¶
func NewGetJobInternalServerError() *GetJobInternalServerError
NewGetJobInternalServerError creates a GetJobInternalServerError with default headers values
func (*GetJobInternalServerError) Code ¶
func (o *GetJobInternalServerError) Code() int
Code gets the status code for the get job internal server error response
func (*GetJobInternalServerError) Error ¶
func (o *GetJobInternalServerError) Error() string
func (*GetJobInternalServerError) GetPayload ¶
func (o *GetJobInternalServerError) GetPayload() *models.Status
func (*GetJobInternalServerError) IsClientError ¶
func (o *GetJobInternalServerError) IsClientError() bool
IsClientError returns true when this get job internal server error response has a 4xx status code
func (*GetJobInternalServerError) IsCode ¶
func (o *GetJobInternalServerError) IsCode(code int) bool
IsCode returns true when this get job internal server error response a status code equal to that given
func (*GetJobInternalServerError) IsRedirect ¶
func (o *GetJobInternalServerError) IsRedirect() bool
IsRedirect returns true when this get job internal server error response has a 3xx status code
func (*GetJobInternalServerError) IsServerError ¶
func (o *GetJobInternalServerError) IsServerError() bool
IsServerError returns true when this get job internal server error response has a 5xx status code
func (*GetJobInternalServerError) IsSuccess ¶
func (o *GetJobInternalServerError) IsSuccess() bool
IsSuccess returns true when this get job internal server error response has a 2xx status code
func (*GetJobInternalServerError) String ¶
func (o *GetJobInternalServerError) String() string
type GetJobNotFound ¶
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) GetPayload ¶
func (o *GetJobNotFound) GetPayload() *models.Status
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 ¶
GetJobOK describes a response with status code 200, with default header values.
Successful get job
func NewGetJobOK ¶
func NewGetJobOK() *GetJobOK
NewGetJobOK creates a GetJobOK with default headers values
func (*GetJobOK) GetPayload ¶
func (*GetJobOK) IsClientError ¶
IsClientError returns true when this get job o k response has a 4xx status code
func (*GetJobOK) IsCode ¶
IsCode returns true when this get job o k response a status code equal to that given
func (*GetJobOK) IsRedirect ¶
IsRedirect returns true when this get job o k response has a 3xx status code
func (*GetJobOK) IsServerError ¶
IsServerError returns true when this get job o k response has a 5xx status code
type GetJobParams ¶
type GetJobParams struct { /* 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) 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) SetHTTPClient ¶
func (o *GetJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) 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) WithHTTPClient ¶
func (o *GetJobParams) WithHTTPClient(client *http.Client) *GetJobParams
WithHTTPClient adds the HTTPClient 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 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 GetJobsInternalServerError ¶
GetJobsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetJobsInternalServerError ¶
func NewGetJobsInternalServerError() *GetJobsInternalServerError
NewGetJobsInternalServerError creates a GetJobsInternalServerError with default headers values
func (*GetJobsInternalServerError) Code ¶
func (o *GetJobsInternalServerError) Code() int
Code gets the status code for the get jobs internal server error response
func (*GetJobsInternalServerError) Error ¶
func (o *GetJobsInternalServerError) Error() string
func (*GetJobsInternalServerError) GetPayload ¶
func (o *GetJobsInternalServerError) GetPayload() *models.Status
func (*GetJobsInternalServerError) IsClientError ¶
func (o *GetJobsInternalServerError) IsClientError() bool
IsClientError returns true when this get jobs internal server error response has a 4xx status code
func (*GetJobsInternalServerError) IsCode ¶
func (o *GetJobsInternalServerError) IsCode(code int) bool
IsCode returns true when this get jobs internal server error response a status code equal to that given
func (*GetJobsInternalServerError) IsRedirect ¶
func (o *GetJobsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get jobs internal server error response has a 3xx status code
func (*GetJobsInternalServerError) IsServerError ¶
func (o *GetJobsInternalServerError) IsServerError() bool
IsServerError returns true when this get jobs internal server error response has a 5xx status code
func (*GetJobsInternalServerError) IsSuccess ¶
func (o *GetJobsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get jobs internal server error response has a 2xx status code
func (*GetJobsInternalServerError) String ¶
func (o *GetJobsInternalServerError) String() string
type GetJobsOK ¶
GetJobsOK describes a response with status code 200, with default header values.
Successful get jobs
func NewGetJobsOK ¶
func NewGetJobsOK() *GetJobsOK
NewGetJobsOK creates a GetJobsOK with default headers values
func (*GetJobsOK) GetPayload ¶
func (*GetJobsOK) IsClientError ¶
IsClientError returns true when this get jobs o k response has a 4xx status code
func (*GetJobsOK) IsCode ¶
IsCode returns true when this get jobs o k response a status code equal to that given
func (*GetJobsOK) IsRedirect ¶
IsRedirect returns true when this get jobs o k response has a 3xx status code
func (*GetJobsOK) IsServerError ¶
IsServerError returns true when this get jobs o k response has a 5xx status code
type GetJobsParams ¶
type GetJobsParams struct { 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) 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) SetHTTPClient ¶
func (o *GetJobsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) 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) WithHTTPClient ¶
func (o *GetJobsParams) WithHTTPClient(client *http.Client) *GetJobsParams
WithHTTPClient adds the HTTPClient 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 StopJobInternalServerError ¶
StopJobInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewStopJobInternalServerError ¶
func NewStopJobInternalServerError() *StopJobInternalServerError
NewStopJobInternalServerError creates a StopJobInternalServerError with default headers values
func (*StopJobInternalServerError) Code ¶
func (o *StopJobInternalServerError) Code() int
Code gets the status code for the stop job internal server error response
func (*StopJobInternalServerError) Error ¶
func (o *StopJobInternalServerError) Error() string
func (*StopJobInternalServerError) GetPayload ¶
func (o *StopJobInternalServerError) GetPayload() *models.Status
func (*StopJobInternalServerError) IsClientError ¶
func (o *StopJobInternalServerError) IsClientError() bool
IsClientError returns true when this stop job internal server error response has a 4xx status code
func (*StopJobInternalServerError) IsCode ¶
func (o *StopJobInternalServerError) IsCode(code int) bool
IsCode returns true when this stop job internal server error response a status code equal to that given
func (*StopJobInternalServerError) IsRedirect ¶
func (o *StopJobInternalServerError) IsRedirect() bool
IsRedirect returns true when this stop job internal server error response has a 3xx status code
func (*StopJobInternalServerError) IsServerError ¶
func (o *StopJobInternalServerError) IsServerError() bool
IsServerError returns true when this stop job internal server error response has a 5xx status code
func (*StopJobInternalServerError) IsSuccess ¶
func (o *StopJobInternalServerError) IsSuccess() bool
IsSuccess returns true when this stop job internal server error response has a 2xx status code
func (*StopJobInternalServerError) String ¶
func (o *StopJobInternalServerError) String() string
type StopJobNotFound ¶
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) GetPayload ¶
func (o *StopJobNotFound) GetPayload() *models.Status
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 StopJobOK ¶
StopJobOK describes a response with status code 200, with default header values.
Successful delete job
func NewStopJobOK ¶
func NewStopJobOK() *StopJobOK
NewStopJobOK creates a StopJobOK with default headers values
func (*StopJobOK) GetPayload ¶
func (*StopJobOK) IsClientError ¶
IsClientError returns true when this stop job o k response has a 4xx status code
func (*StopJobOK) IsCode ¶
IsCode returns true when this stop job o k response a status code equal to that given
func (*StopJobOK) IsRedirect ¶
IsRedirect returns true when this stop job o k response has a 3xx status code
func (*StopJobOK) IsServerError ¶
IsServerError returns true when this stop job o k response has a 5xx status code
type StopJobParams ¶
type StopJobParams struct { /* 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) 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) SetHTTPClient ¶
func (o *StopJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) 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) WithHTTPClient ¶
func (o *StopJobParams) WithHTTPClient(client *http.Client) *StopJobParams
WithHTTPClient adds the HTTPClient 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.