Documentation ¶
Index ¶
- type CancelJobBadRequest
- type CancelJobConflict
- type CancelJobForbidden
- type CancelJobInternalServerError
- type CancelJobNotFound
- type CancelJobOK
- type CancelJobParams
- func (o *CancelJobParams) SetContext(ctx context.Context)
- func (o *CancelJobParams) SetHTTPClient(client *http.Client)
- func (o *CancelJobParams) SetResource(resource *models.JobCancelRequest)
- func (o *CancelJobParams) SetTimeout(timeout time.Duration)
- func (o *CancelJobParams) WithContext(ctx context.Context) *CancelJobParams
- func (o *CancelJobParams) WithHTTPClient(client *http.Client) *CancelJobParams
- func (o *CancelJobParams) WithResource(resource *models.JobCancelRequest) *CancelJobParams
- func (o *CancelJobParams) WithTimeout(timeout time.Duration) *CancelJobParams
- func (o *CancelJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelJobReader
- type CancelJobUnauthorized
- type Client
- func (a *Client) CancelJob(params *CancelJobParams, authInfo runtime.ClientAuthInfoWriter) (*CancelJobOK, error)
- func (a *Client) ListJob(params *ListJobParams, authInfo runtime.ClientAuthInfoWriter) (*ListJobOK, error)
- func (a *Client) ReadJob(params *ReadJobParams, authInfo runtime.ClientAuthInfoWriter) (*ReadJobOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateJob(params *UpdateJobParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateJobOK, error)
- type ClientService
- type ListJobBadRequest
- type ListJobConflict
- type ListJobForbidden
- type ListJobInternalServerError
- type ListJobNotFound
- type ListJobOK
- type ListJobParams
- func (o *ListJobParams) SetContext(ctx context.Context)
- func (o *ListJobParams) SetFields(fields *string)
- func (o *ListJobParams) SetHTTPClient(client *http.Client)
- func (o *ListJobParams) SetLimit(limit *int32)
- func (o *ListJobParams) SetOrderby(orderby *string)
- func (o *ListJobParams) SetQ(q *string)
- func (o *ListJobParams) SetStart(start *int32)
- func (o *ListJobParams) SetTimeout(timeout time.Duration)
- func (o *ListJobParams) WithContext(ctx context.Context) *ListJobParams
- func (o *ListJobParams) WithFields(fields *string) *ListJobParams
- func (o *ListJobParams) WithHTTPClient(client *http.Client) *ListJobParams
- func (o *ListJobParams) WithLimit(limit *int32) *ListJobParams
- func (o *ListJobParams) WithOrderby(orderby *string) *ListJobParams
- func (o *ListJobParams) WithQ(q *string) *ListJobParams
- func (o *ListJobParams) WithStart(start *int32) *ListJobParams
- func (o *ListJobParams) WithTimeout(timeout time.Duration) *ListJobParams
- func (o *ListJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListJobReader
- type ListJobUnauthorized
- type ReadJobBadRequest
- type ReadJobConflict
- type ReadJobForbidden
- type ReadJobInternalServerError
- type ReadJobNotFound
- type ReadJobOK
- type ReadJobParams
- func (o *ReadJobParams) SetContext(ctx context.Context)
- func (o *ReadJobParams) SetFields(fields *string)
- func (o *ReadJobParams) SetHTTPClient(client *http.Client)
- func (o *ReadJobParams) SetJobName(jobName string)
- func (o *ReadJobParams) SetTimeout(timeout time.Duration)
- func (o *ReadJobParams) WithContext(ctx context.Context) *ReadJobParams
- func (o *ReadJobParams) WithFields(fields *string) *ReadJobParams
- func (o *ReadJobParams) WithHTTPClient(client *http.Client) *ReadJobParams
- func (o *ReadJobParams) WithJobName(jobName string) *ReadJobParams
- func (o *ReadJobParams) WithTimeout(timeout time.Duration) *ReadJobParams
- func (o *ReadJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadJobReader
- type ReadJobUnauthorized
- type UpdateJobBadRequest
- type UpdateJobConflict
- type UpdateJobForbidden
- type UpdateJobInternalServerError
- type UpdateJobNotFound
- type UpdateJobOK
- type UpdateJobParams
- func (o *UpdateJobParams) SetContext(ctx context.Context)
- func (o *UpdateJobParams) SetHTTPClient(client *http.Client)
- func (o *UpdateJobParams) SetJobName(jobName string)
- func (o *UpdateJobParams) SetResource(resource *models.Job)
- func (o *UpdateJobParams) SetTimeout(timeout time.Duration)
- func (o *UpdateJobParams) WithContext(ctx context.Context) *UpdateJobParams
- func (o *UpdateJobParams) WithHTTPClient(client *http.Client) *UpdateJobParams
- func (o *UpdateJobParams) WithJobName(jobName string) *UpdateJobParams
- func (o *UpdateJobParams) WithResource(resource *models.Job) *UpdateJobParams
- func (o *UpdateJobParams) WithTimeout(timeout time.Duration) *UpdateJobParams
- func (o *UpdateJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateJobReader
- type UpdateJobUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelJobBadRequest ¶
CancelJobBadRequest handles this case with default header values.
Bad Request
func NewCancelJobBadRequest ¶
func NewCancelJobBadRequest() *CancelJobBadRequest
NewCancelJobBadRequest creates a CancelJobBadRequest with default headers values
func (*CancelJobBadRequest) Error ¶
func (o *CancelJobBadRequest) Error() string
func (*CancelJobBadRequest) GetPayload ¶
func (o *CancelJobBadRequest) GetPayload() *models.APIResult
type CancelJobConflict ¶
CancelJobConflict handles this case with default header values.
Conflict
func NewCancelJobConflict ¶
func NewCancelJobConflict() *CancelJobConflict
NewCancelJobConflict creates a CancelJobConflict with default headers values
func (*CancelJobConflict) Error ¶
func (o *CancelJobConflict) Error() string
func (*CancelJobConflict) GetPayload ¶
func (o *CancelJobConflict) GetPayload() *models.APIResult
type CancelJobForbidden ¶
CancelJobForbidden handles this case with default header values.
Forbidden
func NewCancelJobForbidden ¶
func NewCancelJobForbidden() *CancelJobForbidden
NewCancelJobForbidden creates a CancelJobForbidden with default headers values
func (*CancelJobForbidden) Error ¶
func (o *CancelJobForbidden) Error() string
func (*CancelJobForbidden) GetPayload ¶
func (o *CancelJobForbidden) GetPayload() *models.APIResult
type CancelJobInternalServerError ¶
CancelJobInternalServerError handles this case with default header values.
Internal Server Error
func NewCancelJobInternalServerError ¶
func NewCancelJobInternalServerError() *CancelJobInternalServerError
NewCancelJobInternalServerError creates a CancelJobInternalServerError with default headers values
func (*CancelJobInternalServerError) Error ¶
func (o *CancelJobInternalServerError) Error() string
func (*CancelJobInternalServerError) GetPayload ¶
func (o *CancelJobInternalServerError) GetPayload() *models.APIResult
type CancelJobNotFound ¶
CancelJobNotFound handles this case with default header values.
Not Found
func NewCancelJobNotFound ¶
func NewCancelJobNotFound() *CancelJobNotFound
NewCancelJobNotFound creates a CancelJobNotFound with default headers values
func (*CancelJobNotFound) Error ¶
func (o *CancelJobNotFound) Error() string
func (*CancelJobNotFound) GetPayload ¶
func (o *CancelJobNotFound) GetPayload() *models.APIResult
type CancelJobOK ¶
type CancelJobOK struct {
Payload *models.APIResultVoid
}
CancelJobOK handles this case with default header values.
OK
func NewCancelJobOK ¶
func NewCancelJobOK() *CancelJobOK
NewCancelJobOK creates a CancelJobOK with default headers values
func (*CancelJobOK) Error ¶
func (o *CancelJobOK) Error() string
func (*CancelJobOK) GetPayload ¶
func (o *CancelJobOK) GetPayload() *models.APIResultVoid
type CancelJobParams ¶
type CancelJobParams struct { /*Resource resource */ Resource *models.JobCancelRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CancelJobParams contains all the parameters to send to the API endpoint for the cancel job operation typically these are written to a http.Request
func NewCancelJobParams ¶
func NewCancelJobParams() *CancelJobParams
NewCancelJobParams creates a new CancelJobParams object with the default values initialized.
func NewCancelJobParamsWithContext ¶
func NewCancelJobParamsWithContext(ctx context.Context) *CancelJobParams
NewCancelJobParamsWithContext creates a new CancelJobParams object with the default values initialized, and the ability to set a context for a request
func NewCancelJobParamsWithHTTPClient ¶
func NewCancelJobParamsWithHTTPClient(client *http.Client) *CancelJobParams
NewCancelJobParamsWithHTTPClient creates a new CancelJobParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCancelJobParamsWithTimeout ¶
func NewCancelJobParamsWithTimeout(timeout time.Duration) *CancelJobParams
NewCancelJobParamsWithTimeout creates a new CancelJobParams object with the default values initialized, and the ability to set a timeout on a request
func (*CancelJobParams) SetContext ¶
func (o *CancelJobParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel job params
func (*CancelJobParams) SetHTTPClient ¶
func (o *CancelJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel job params
func (*CancelJobParams) SetResource ¶
func (o *CancelJobParams) SetResource(resource *models.JobCancelRequest)
SetResource adds the resource to the cancel job params
func (*CancelJobParams) SetTimeout ¶
func (o *CancelJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel job params
func (*CancelJobParams) WithContext ¶
func (o *CancelJobParams) WithContext(ctx context.Context) *CancelJobParams
WithContext adds the context to the cancel job params
func (*CancelJobParams) WithHTTPClient ¶
func (o *CancelJobParams) WithHTTPClient(client *http.Client) *CancelJobParams
WithHTTPClient adds the HTTPClient to the cancel job params
func (*CancelJobParams) WithResource ¶
func (o *CancelJobParams) WithResource(resource *models.JobCancelRequest) *CancelJobParams
WithResource adds the resource to the cancel job params
func (*CancelJobParams) WithTimeout ¶
func (o *CancelJobParams) WithTimeout(timeout time.Duration) *CancelJobParams
WithTimeout adds the timeout to the cancel job params
func (*CancelJobParams) WriteToRequest ¶
func (o *CancelJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelJobReader ¶
type CancelJobReader struct {
// contains filtered or unexported fields
}
CancelJobReader is a Reader for the CancelJob structure.
func (*CancelJobReader) ReadResponse ¶
func (o *CancelJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CancelJobUnauthorized ¶
type CancelJobUnauthorized struct {
}CancelJobUnauthorized handles this case with default header values.
Unauthorized
func NewCancelJobUnauthorized ¶
func NewCancelJobUnauthorized() *CancelJobUnauthorized
NewCancelJobUnauthorized creates a CancelJobUnauthorized with default headers values
func (*CancelJobUnauthorized) Error ¶
func (o *CancelJobUnauthorized) Error() string
func (*CancelJobUnauthorized) GetPayload ¶
func (o *CancelJobUnauthorized) GetPayload() *models.APIResult
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for job controller API
func (*Client) CancelJob ¶
func (a *Client) CancelJob(params *CancelJobParams, authInfo runtime.ClientAuthInfoWriter) (*CancelJobOK, error)
CancelJob cancels a job
func (*Client) ListJob ¶
func (a *Client) ListJob(params *ListJobParams, authInfo runtime.ClientAuthInfoWriter) (*ListJobOK, error)
ListJob lists
func (*Client) ReadJob ¶
func (a *Client) ReadJob(params *ReadJobParams, authInfo runtime.ClientAuthInfoWriter) (*ReadJobOK, error)
ReadJob reads
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateJob ¶
func (a *Client) UpdateJob(params *UpdateJobParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateJobOK, error)
UpdateJob updates
type ClientService ¶
type ClientService interface { CancelJob(params *CancelJobParams, authInfo runtime.ClientAuthInfoWriter) (*CancelJobOK, error) ListJob(params *ListJobParams, authInfo runtime.ClientAuthInfoWriter) (*ListJobOK, error) ReadJob(params *ReadJobParams, authInfo runtime.ClientAuthInfoWriter) (*ReadJobOK, error) UpdateJob(params *UpdateJobParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateJobOK, 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 controller API client.
type ListJobBadRequest ¶
ListJobBadRequest handles this case with default header values.
Bad Request
func NewListJobBadRequest ¶
func NewListJobBadRequest() *ListJobBadRequest
NewListJobBadRequest creates a ListJobBadRequest with default headers values
func (*ListJobBadRequest) Error ¶
func (o *ListJobBadRequest) Error() string
func (*ListJobBadRequest) GetPayload ¶
func (o *ListJobBadRequest) GetPayload() *models.APIResult
type ListJobConflict ¶
ListJobConflict handles this case with default header values.
Conflict
func NewListJobConflict ¶
func NewListJobConflict() *ListJobConflict
NewListJobConflict creates a ListJobConflict with default headers values
func (*ListJobConflict) Error ¶
func (o *ListJobConflict) Error() string
func (*ListJobConflict) GetPayload ¶
func (o *ListJobConflict) GetPayload() *models.APIResult
type ListJobForbidden ¶
ListJobForbidden handles this case with default header values.
Forbidden
func NewListJobForbidden ¶
func NewListJobForbidden() *ListJobForbidden
NewListJobForbidden creates a ListJobForbidden with default headers values
func (*ListJobForbidden) Error ¶
func (o *ListJobForbidden) Error() string
func (*ListJobForbidden) GetPayload ¶
func (o *ListJobForbidden) GetPayload() *models.APIResult
type ListJobInternalServerError ¶
ListJobInternalServerError handles this case with default header values.
Internal Server Error
func NewListJobInternalServerError ¶
func NewListJobInternalServerError() *ListJobInternalServerError
NewListJobInternalServerError creates a ListJobInternalServerError with default headers values
func (*ListJobInternalServerError) Error ¶
func (o *ListJobInternalServerError) Error() string
func (*ListJobInternalServerError) GetPayload ¶
func (o *ListJobInternalServerError) GetPayload() *models.APIResult
type ListJobNotFound ¶
ListJobNotFound handles this case with default header values.
Not Found
func NewListJobNotFound ¶
func NewListJobNotFound() *ListJobNotFound
NewListJobNotFound creates a ListJobNotFound with default headers values
func (*ListJobNotFound) Error ¶
func (o *ListJobNotFound) Error() string
func (*ListJobNotFound) GetPayload ¶
func (o *ListJobNotFound) GetPayload() *models.APIResult
type ListJobOK ¶
type ListJobOK struct {
Payload *models.APIResultListJob
}
ListJobOK handles this case with default header values.
OK
func NewListJobOK ¶
func NewListJobOK() *ListJobOK
NewListJobOK creates a ListJobOK with default headers values
func (*ListJobOK) GetPayload ¶
func (o *ListJobOK) GetPayload() *models.APIResultListJob
type ListJobParams ¶
type ListJobParams struct { /*Fields Output fields */ Fields *string /*Limit A maximum number of returned objects in listing, if '-1' or '0' no limit is applied */ Limit *int32 /*Orderby Fields to order by */ Orderby *string /*Q A search query */ Q *string /*Start A start offset in object listing */ Start *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListJobParams contains all the parameters to send to the API endpoint for the list job operation typically these are written to a http.Request
func NewListJobParams ¶
func NewListJobParams() *ListJobParams
NewListJobParams creates a new ListJobParams object with the default values initialized.
func NewListJobParamsWithContext ¶
func NewListJobParamsWithContext(ctx context.Context) *ListJobParams
NewListJobParamsWithContext creates a new ListJobParams object with the default values initialized, and the ability to set a context for a request
func NewListJobParamsWithHTTPClient ¶
func NewListJobParamsWithHTTPClient(client *http.Client) *ListJobParams
NewListJobParamsWithHTTPClient creates a new ListJobParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListJobParamsWithTimeout ¶
func NewListJobParamsWithTimeout(timeout time.Duration) *ListJobParams
NewListJobParamsWithTimeout creates a new ListJobParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListJobParams) SetContext ¶
func (o *ListJobParams) SetContext(ctx context.Context)
SetContext adds the context to the list job params
func (*ListJobParams) SetFields ¶
func (o *ListJobParams) SetFields(fields *string)
SetFields adds the fields to the list job params
func (*ListJobParams) SetHTTPClient ¶
func (o *ListJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list job params
func (*ListJobParams) SetLimit ¶
func (o *ListJobParams) SetLimit(limit *int32)
SetLimit adds the limit to the list job params
func (*ListJobParams) SetOrderby ¶
func (o *ListJobParams) SetOrderby(orderby *string)
SetOrderby adds the orderby to the list job params
func (*ListJobParams) SetQ ¶
func (o *ListJobParams) SetQ(q *string)
SetQ adds the q to the list job params
func (*ListJobParams) SetStart ¶
func (o *ListJobParams) SetStart(start *int32)
SetStart adds the start to the list job params
func (*ListJobParams) SetTimeout ¶
func (o *ListJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list job params
func (*ListJobParams) WithContext ¶
func (o *ListJobParams) WithContext(ctx context.Context) *ListJobParams
WithContext adds the context to the list job params
func (*ListJobParams) WithFields ¶
func (o *ListJobParams) WithFields(fields *string) *ListJobParams
WithFields adds the fields to the list job params
func (*ListJobParams) WithHTTPClient ¶
func (o *ListJobParams) WithHTTPClient(client *http.Client) *ListJobParams
WithHTTPClient adds the HTTPClient to the list job params
func (*ListJobParams) WithLimit ¶
func (o *ListJobParams) WithLimit(limit *int32) *ListJobParams
WithLimit adds the limit to the list job params
func (*ListJobParams) WithOrderby ¶
func (o *ListJobParams) WithOrderby(orderby *string) *ListJobParams
WithOrderby adds the orderby to the list job params
func (*ListJobParams) WithQ ¶
func (o *ListJobParams) WithQ(q *string) *ListJobParams
WithQ adds the q to the list job params
func (*ListJobParams) WithStart ¶
func (o *ListJobParams) WithStart(start *int32) *ListJobParams
WithStart adds the start to the list job params
func (*ListJobParams) WithTimeout ¶
func (o *ListJobParams) WithTimeout(timeout time.Duration) *ListJobParams
WithTimeout adds the timeout to the list job params
func (*ListJobParams) WriteToRequest ¶
func (o *ListJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListJobReader ¶
type ListJobReader struct {
// contains filtered or unexported fields
}
ListJobReader is a Reader for the ListJob structure.
func (*ListJobReader) ReadResponse ¶
func (o *ListJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListJobUnauthorized ¶
type ListJobUnauthorized struct {
}ListJobUnauthorized handles this case with default header values.
Unauthorized
func NewListJobUnauthorized ¶
func NewListJobUnauthorized() *ListJobUnauthorized
NewListJobUnauthorized creates a ListJobUnauthorized with default headers values
func (*ListJobUnauthorized) Error ¶
func (o *ListJobUnauthorized) Error() string
func (*ListJobUnauthorized) GetPayload ¶
func (o *ListJobUnauthorized) GetPayload() *models.APIResult
type ReadJobBadRequest ¶
ReadJobBadRequest handles this case with default header values.
Bad Request
func NewReadJobBadRequest ¶
func NewReadJobBadRequest() *ReadJobBadRequest
NewReadJobBadRequest creates a ReadJobBadRequest with default headers values
func (*ReadJobBadRequest) Error ¶
func (o *ReadJobBadRequest) Error() string
func (*ReadJobBadRequest) GetPayload ¶
func (o *ReadJobBadRequest) GetPayload() *models.APIResult
type ReadJobConflict ¶
ReadJobConflict handles this case with default header values.
Conflict
func NewReadJobConflict ¶
func NewReadJobConflict() *ReadJobConflict
NewReadJobConflict creates a ReadJobConflict with default headers values
func (*ReadJobConflict) Error ¶
func (o *ReadJobConflict) Error() string
func (*ReadJobConflict) GetPayload ¶
func (o *ReadJobConflict) GetPayload() *models.APIResult
type ReadJobForbidden ¶
ReadJobForbidden handles this case with default header values.
Forbidden
func NewReadJobForbidden ¶
func NewReadJobForbidden() *ReadJobForbidden
NewReadJobForbidden creates a ReadJobForbidden with default headers values
func (*ReadJobForbidden) Error ¶
func (o *ReadJobForbidden) Error() string
func (*ReadJobForbidden) GetPayload ¶
func (o *ReadJobForbidden) GetPayload() *models.APIResult
type ReadJobInternalServerError ¶
ReadJobInternalServerError handles this case with default header values.
Internal Server Error
func NewReadJobInternalServerError ¶
func NewReadJobInternalServerError() *ReadJobInternalServerError
NewReadJobInternalServerError creates a ReadJobInternalServerError with default headers values
func (*ReadJobInternalServerError) Error ¶
func (o *ReadJobInternalServerError) Error() string
func (*ReadJobInternalServerError) GetPayload ¶
func (o *ReadJobInternalServerError) GetPayload() *models.APIResult
type ReadJobNotFound ¶
ReadJobNotFound handles this case with default header values.
Not Found
func NewReadJobNotFound ¶
func NewReadJobNotFound() *ReadJobNotFound
NewReadJobNotFound creates a ReadJobNotFound with default headers values
func (*ReadJobNotFound) Error ¶
func (o *ReadJobNotFound) Error() string
func (*ReadJobNotFound) GetPayload ¶
func (o *ReadJobNotFound) GetPayload() *models.APIResult
type ReadJobOK ¶
type ReadJobOK struct {
Payload *models.APIResultJob
}
ReadJobOK handles this case with default header values.
OK
func NewReadJobOK ¶
func NewReadJobOK() *ReadJobOK
NewReadJobOK creates a ReadJobOK with default headers values
func (*ReadJobOK) GetPayload ¶
func (o *ReadJobOK) GetPayload() *models.APIResultJob
type ReadJobParams ¶
type ReadJobParams struct { /*Fields Output fields */ Fields *string /*JobName jobName */ JobName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadJobParams contains all the parameters to send to the API endpoint for the read job operation typically these are written to a http.Request
func NewReadJobParams ¶
func NewReadJobParams() *ReadJobParams
NewReadJobParams creates a new ReadJobParams object with the default values initialized.
func NewReadJobParamsWithContext ¶
func NewReadJobParamsWithContext(ctx context.Context) *ReadJobParams
NewReadJobParamsWithContext creates a new ReadJobParams object with the default values initialized, and the ability to set a context for a request
func NewReadJobParamsWithHTTPClient ¶
func NewReadJobParamsWithHTTPClient(client *http.Client) *ReadJobParams
NewReadJobParamsWithHTTPClient creates a new ReadJobParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReadJobParamsWithTimeout ¶
func NewReadJobParamsWithTimeout(timeout time.Duration) *ReadJobParams
NewReadJobParamsWithTimeout creates a new ReadJobParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReadJobParams) SetContext ¶
func (o *ReadJobParams) SetContext(ctx context.Context)
SetContext adds the context to the read job params
func (*ReadJobParams) SetFields ¶
func (o *ReadJobParams) SetFields(fields *string)
SetFields adds the fields to the read job params
func (*ReadJobParams) SetHTTPClient ¶
func (o *ReadJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read job params
func (*ReadJobParams) SetJobName ¶
func (o *ReadJobParams) SetJobName(jobName string)
SetJobName adds the jobName to the read job params
func (*ReadJobParams) SetTimeout ¶
func (o *ReadJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read job params
func (*ReadJobParams) WithContext ¶
func (o *ReadJobParams) WithContext(ctx context.Context) *ReadJobParams
WithContext adds the context to the read job params
func (*ReadJobParams) WithFields ¶
func (o *ReadJobParams) WithFields(fields *string) *ReadJobParams
WithFields adds the fields to the read job params
func (*ReadJobParams) WithHTTPClient ¶
func (o *ReadJobParams) WithHTTPClient(client *http.Client) *ReadJobParams
WithHTTPClient adds the HTTPClient to the read job params
func (*ReadJobParams) WithJobName ¶
func (o *ReadJobParams) WithJobName(jobName string) *ReadJobParams
WithJobName adds the jobName to the read job params
func (*ReadJobParams) WithTimeout ¶
func (o *ReadJobParams) WithTimeout(timeout time.Duration) *ReadJobParams
WithTimeout adds the timeout to the read job params
func (*ReadJobParams) WriteToRequest ¶
func (o *ReadJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadJobReader ¶
type ReadJobReader struct {
// contains filtered or unexported fields
}
ReadJobReader is a Reader for the ReadJob structure.
func (*ReadJobReader) ReadResponse ¶
func (o *ReadJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadJobUnauthorized ¶
type ReadJobUnauthorized struct {
}ReadJobUnauthorized handles this case with default header values.
Unauthorized
func NewReadJobUnauthorized ¶
func NewReadJobUnauthorized() *ReadJobUnauthorized
NewReadJobUnauthorized creates a ReadJobUnauthorized with default headers values
func (*ReadJobUnauthorized) Error ¶
func (o *ReadJobUnauthorized) Error() string
func (*ReadJobUnauthorized) GetPayload ¶
func (o *ReadJobUnauthorized) GetPayload() *models.APIResult
type UpdateJobBadRequest ¶
UpdateJobBadRequest handles this case with default header values.
Bad Request
func NewUpdateJobBadRequest ¶
func NewUpdateJobBadRequest() *UpdateJobBadRequest
NewUpdateJobBadRequest creates a UpdateJobBadRequest with default headers values
func (*UpdateJobBadRequest) Error ¶
func (o *UpdateJobBadRequest) Error() string
func (*UpdateJobBadRequest) GetPayload ¶
func (o *UpdateJobBadRequest) GetPayload() *models.APIResult
type UpdateJobConflict ¶
UpdateJobConflict handles this case with default header values.
Conflict
func NewUpdateJobConflict ¶
func NewUpdateJobConflict() *UpdateJobConflict
NewUpdateJobConflict creates a UpdateJobConflict with default headers values
func (*UpdateJobConflict) Error ¶
func (o *UpdateJobConflict) Error() string
func (*UpdateJobConflict) GetPayload ¶
func (o *UpdateJobConflict) GetPayload() *models.APIResult
type UpdateJobForbidden ¶
UpdateJobForbidden handles this case with default header values.
Forbidden
func NewUpdateJobForbidden ¶
func NewUpdateJobForbidden() *UpdateJobForbidden
NewUpdateJobForbidden creates a UpdateJobForbidden with default headers values
func (*UpdateJobForbidden) Error ¶
func (o *UpdateJobForbidden) Error() string
func (*UpdateJobForbidden) GetPayload ¶
func (o *UpdateJobForbidden) GetPayload() *models.APIResult
type UpdateJobInternalServerError ¶
UpdateJobInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateJobInternalServerError ¶
func NewUpdateJobInternalServerError() *UpdateJobInternalServerError
NewUpdateJobInternalServerError creates a UpdateJobInternalServerError with default headers values
func (*UpdateJobInternalServerError) Error ¶
func (o *UpdateJobInternalServerError) Error() string
func (*UpdateJobInternalServerError) GetPayload ¶
func (o *UpdateJobInternalServerError) GetPayload() *models.APIResult
type UpdateJobNotFound ¶
UpdateJobNotFound handles this case with default header values.
Not Found
func NewUpdateJobNotFound ¶
func NewUpdateJobNotFound() *UpdateJobNotFound
NewUpdateJobNotFound creates a UpdateJobNotFound with default headers values
func (*UpdateJobNotFound) Error ¶
func (o *UpdateJobNotFound) Error() string
func (*UpdateJobNotFound) GetPayload ¶
func (o *UpdateJobNotFound) GetPayload() *models.APIResult
type UpdateJobOK ¶
type UpdateJobOK struct {
Payload *models.APIResultJob
}
UpdateJobOK handles this case with default header values.
OK
func NewUpdateJobOK ¶
func NewUpdateJobOK() *UpdateJobOK
NewUpdateJobOK creates a UpdateJobOK with default headers values
func (*UpdateJobOK) Error ¶
func (o *UpdateJobOK) Error() string
func (*UpdateJobOK) GetPayload ¶
func (o *UpdateJobOK) GetPayload() *models.APIResultJob
type UpdateJobParams ¶
type UpdateJobParams struct { /*JobName jobName */ JobName string /*Resource resource */ Resource *models.Job Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateJobParams contains all the parameters to send to the API endpoint for the update job operation typically these are written to a http.Request
func NewUpdateJobParams ¶
func NewUpdateJobParams() *UpdateJobParams
NewUpdateJobParams creates a new UpdateJobParams object with the default values initialized.
func NewUpdateJobParamsWithContext ¶
func NewUpdateJobParamsWithContext(ctx context.Context) *UpdateJobParams
NewUpdateJobParamsWithContext creates a new UpdateJobParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateJobParamsWithHTTPClient ¶
func NewUpdateJobParamsWithHTTPClient(client *http.Client) *UpdateJobParams
NewUpdateJobParamsWithHTTPClient creates a new UpdateJobParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateJobParamsWithTimeout ¶
func NewUpdateJobParamsWithTimeout(timeout time.Duration) *UpdateJobParams
NewUpdateJobParamsWithTimeout creates a new UpdateJobParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateJobParams) SetContext ¶
func (o *UpdateJobParams) SetContext(ctx context.Context)
SetContext adds the context to the update job params
func (*UpdateJobParams) SetHTTPClient ¶
func (o *UpdateJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update job params
func (*UpdateJobParams) SetJobName ¶
func (o *UpdateJobParams) SetJobName(jobName string)
SetJobName adds the jobName to the update job params
func (*UpdateJobParams) SetResource ¶
func (o *UpdateJobParams) SetResource(resource *models.Job)
SetResource adds the resource to the update job params
func (*UpdateJobParams) SetTimeout ¶
func (o *UpdateJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update job params
func (*UpdateJobParams) WithContext ¶
func (o *UpdateJobParams) WithContext(ctx context.Context) *UpdateJobParams
WithContext adds the context to the update job params
func (*UpdateJobParams) WithHTTPClient ¶
func (o *UpdateJobParams) WithHTTPClient(client *http.Client) *UpdateJobParams
WithHTTPClient adds the HTTPClient to the update job params
func (*UpdateJobParams) WithJobName ¶
func (o *UpdateJobParams) WithJobName(jobName string) *UpdateJobParams
WithJobName adds the jobName to the update job params
func (*UpdateJobParams) WithResource ¶
func (o *UpdateJobParams) WithResource(resource *models.Job) *UpdateJobParams
WithResource adds the resource to the update job params
func (*UpdateJobParams) WithTimeout ¶
func (o *UpdateJobParams) WithTimeout(timeout time.Duration) *UpdateJobParams
WithTimeout adds the timeout to the update job params
func (*UpdateJobParams) WriteToRequest ¶
func (o *UpdateJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateJobReader ¶
type UpdateJobReader struct {
// contains filtered or unexported fields
}
UpdateJobReader is a Reader for the UpdateJob structure.
func (*UpdateJobReader) ReadResponse ¶
func (o *UpdateJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateJobUnauthorized ¶
type UpdateJobUnauthorized struct {
}UpdateJobUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateJobUnauthorized ¶
func NewUpdateJobUnauthorized() *UpdateJobUnauthorized
NewUpdateJobUnauthorized creates a UpdateJobUnauthorized with default headers values
func (*UpdateJobUnauthorized) Error ¶
func (o *UpdateJobUnauthorized) Error() string
func (*UpdateJobUnauthorized) GetPayload ¶
func (o *UpdateJobUnauthorized) GetPayload() *models.APIResult