Documentation ¶
Index ¶
- type Client
- func (a *Client) ListTasksLogs(params *ListTasksLogsParams, opts ...ClientOption) (*ListTasksLogsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UserControlJob(params *UserControlJobParams, opts ...ClientOption) (*UserControlJobOK, error)
- func (a *Client) UserCreateJob(params *UserCreateJobParams, opts ...ClientOption) (*UserCreateJobOK, error)
- func (a *Client) UserDeleteTasks(params *UserDeleteTasksParams, opts ...ClientOption) (*UserDeleteTasksOK, error)
- func (a *Client) UserListJobs(params *UserListJobsParams, opts ...ClientOption) (*UserListJobsOK, error)
- type ClientOption
- type ClientService
- type ListTasksLogsForbidden
- type ListTasksLogsInternalServerError
- type ListTasksLogsNotFound
- type ListTasksLogsOK
- type ListTasksLogsParams
- func (o *ListTasksLogsParams) SetBody(body *models.LogListLogRequest)
- func (o *ListTasksLogsParams) SetContext(ctx context.Context)
- func (o *ListTasksLogsParams) SetDefaults()
- func (o *ListTasksLogsParams) SetHTTPClient(client *http.Client)
- func (o *ListTasksLogsParams) SetTimeout(timeout time.Duration)
- func (o *ListTasksLogsParams) WithBody(body *models.LogListLogRequest) *ListTasksLogsParams
- func (o *ListTasksLogsParams) WithContext(ctx context.Context) *ListTasksLogsParams
- func (o *ListTasksLogsParams) WithDefaults() *ListTasksLogsParams
- func (o *ListTasksLogsParams) WithHTTPClient(client *http.Client) *ListTasksLogsParams
- func (o *ListTasksLogsParams) WithTimeout(timeout time.Duration) *ListTasksLogsParams
- func (o *ListTasksLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTasksLogsReader
- type ListTasksLogsUnauthorized
- type UserControlJobForbidden
- type UserControlJobInternalServerError
- type UserControlJobNotFound
- type UserControlJobOK
- type UserControlJobParams
- func NewUserControlJobParams() *UserControlJobParams
- func NewUserControlJobParamsWithContext(ctx context.Context) *UserControlJobParams
- func NewUserControlJobParamsWithHTTPClient(client *http.Client) *UserControlJobParams
- func NewUserControlJobParamsWithTimeout(timeout time.Duration) *UserControlJobParams
- func (o *UserControlJobParams) SetBody(body *models.JobsCtrlCommand)
- func (o *UserControlJobParams) SetContext(ctx context.Context)
- func (o *UserControlJobParams) SetDefaults()
- func (o *UserControlJobParams) SetHTTPClient(client *http.Client)
- func (o *UserControlJobParams) SetTimeout(timeout time.Duration)
- func (o *UserControlJobParams) WithBody(body *models.JobsCtrlCommand) *UserControlJobParams
- func (o *UserControlJobParams) WithContext(ctx context.Context) *UserControlJobParams
- func (o *UserControlJobParams) WithDefaults() *UserControlJobParams
- func (o *UserControlJobParams) WithHTTPClient(client *http.Client) *UserControlJobParams
- func (o *UserControlJobParams) WithTimeout(timeout time.Duration) *UserControlJobParams
- func (o *UserControlJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserControlJobReader
- type UserControlJobUnauthorized
- type UserCreateJobForbidden
- type UserCreateJobInternalServerError
- type UserCreateJobNotFound
- type UserCreateJobOK
- type UserCreateJobParams
- func (o *UserCreateJobParams) SetBody(body *models.RestUserJobRequest)
- func (o *UserCreateJobParams) SetContext(ctx context.Context)
- func (o *UserCreateJobParams) SetDefaults()
- func (o *UserCreateJobParams) SetHTTPClient(client *http.Client)
- func (o *UserCreateJobParams) SetJobName(jobName string)
- func (o *UserCreateJobParams) SetTimeout(timeout time.Duration)
- func (o *UserCreateJobParams) WithBody(body *models.RestUserJobRequest) *UserCreateJobParams
- func (o *UserCreateJobParams) WithContext(ctx context.Context) *UserCreateJobParams
- func (o *UserCreateJobParams) WithDefaults() *UserCreateJobParams
- func (o *UserCreateJobParams) WithHTTPClient(client *http.Client) *UserCreateJobParams
- func (o *UserCreateJobParams) WithJobName(jobName string) *UserCreateJobParams
- func (o *UserCreateJobParams) WithTimeout(timeout time.Duration) *UserCreateJobParams
- func (o *UserCreateJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserCreateJobReader
- type UserCreateJobUnauthorized
- type UserDeleteTasksForbidden
- type UserDeleteTasksInternalServerError
- type UserDeleteTasksNotFound
- type UserDeleteTasksOK
- type UserDeleteTasksParams
- func NewUserDeleteTasksParams() *UserDeleteTasksParams
- func NewUserDeleteTasksParamsWithContext(ctx context.Context) *UserDeleteTasksParams
- func NewUserDeleteTasksParamsWithHTTPClient(client *http.Client) *UserDeleteTasksParams
- func NewUserDeleteTasksParamsWithTimeout(timeout time.Duration) *UserDeleteTasksParams
- func (o *UserDeleteTasksParams) SetBody(body *models.JobsDeleteTasksRequest)
- func (o *UserDeleteTasksParams) SetContext(ctx context.Context)
- func (o *UserDeleteTasksParams) SetDefaults()
- func (o *UserDeleteTasksParams) SetHTTPClient(client *http.Client)
- func (o *UserDeleteTasksParams) SetTimeout(timeout time.Duration)
- func (o *UserDeleteTasksParams) WithBody(body *models.JobsDeleteTasksRequest) *UserDeleteTasksParams
- func (o *UserDeleteTasksParams) WithContext(ctx context.Context) *UserDeleteTasksParams
- func (o *UserDeleteTasksParams) WithDefaults() *UserDeleteTasksParams
- func (o *UserDeleteTasksParams) WithHTTPClient(client *http.Client) *UserDeleteTasksParams
- func (o *UserDeleteTasksParams) WithTimeout(timeout time.Duration) *UserDeleteTasksParams
- func (o *UserDeleteTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserDeleteTasksReader
- type UserDeleteTasksUnauthorized
- type UserListJobsForbidden
- type UserListJobsInternalServerError
- type UserListJobsNotFound
- type UserListJobsOK
- type UserListJobsParams
- func (o *UserListJobsParams) SetBody(body *models.JobsListJobsRequest)
- func (o *UserListJobsParams) SetContext(ctx context.Context)
- func (o *UserListJobsParams) SetDefaults()
- func (o *UserListJobsParams) SetHTTPClient(client *http.Client)
- func (o *UserListJobsParams) SetTimeout(timeout time.Duration)
- func (o *UserListJobsParams) WithBody(body *models.JobsListJobsRequest) *UserListJobsParams
- func (o *UserListJobsParams) WithContext(ctx context.Context) *UserListJobsParams
- func (o *UserListJobsParams) WithDefaults() *UserListJobsParams
- func (o *UserListJobsParams) WithHTTPClient(client *http.Client) *UserListJobsParams
- func (o *UserListJobsParams) WithTimeout(timeout time.Duration) *UserListJobsParams
- func (o *UserListJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserListJobsReader
- type UserListJobsUnauthorized
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 jobs service API
func (*Client) ListTasksLogs ¶
func (a *Client) ListTasksLogs(params *ListTasksLogsParams, opts ...ClientOption) (*ListTasksLogsOK, error)
ListTasksLogs technicals logs in Json or c s v format
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UserControlJob ¶
func (a *Client) UserControlJob(params *UserControlJobParams, opts ...ClientOption) (*UserControlJobOK, error)
UserControlJob sends control commands to one or many jobs tasks
func (*Client) UserCreateJob ¶
func (a *Client) UserCreateJob(params *UserCreateJobParams, opts ...ClientOption) (*UserCreateJobOK, error)
UserCreateJob creates a predefined job to be run directly
func (*Client) UserDeleteTasks ¶
func (a *Client) UserDeleteTasks(params *UserDeleteTasksParams, opts ...ClientOption) (*UserDeleteTasksOK, error)
UserDeleteTasks sends a control command to clean tasks on a given job
func (*Client) UserListJobs ¶
func (a *Client) UserListJobs(params *UserListJobsParams, opts ...ClientOption) (*UserListJobsOK, error)
UserListJobs lists jobs associated with current user
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ListTasksLogs(params *ListTasksLogsParams, opts ...ClientOption) (*ListTasksLogsOK, error) UserControlJob(params *UserControlJobParams, opts ...ClientOption) (*UserControlJobOK, error) UserCreateJob(params *UserCreateJobParams, opts ...ClientOption) (*UserCreateJobOK, error) UserDeleteTasks(params *UserDeleteTasksParams, opts ...ClientOption) (*UserDeleteTasksOK, error) UserListJobs(params *UserListJobsParams, opts ...ClientOption) (*UserListJobsOK, 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 jobs service API client.
type ListTasksLogsForbidden ¶
ListTasksLogsForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewListTasksLogsForbidden ¶
func NewListTasksLogsForbidden() *ListTasksLogsForbidden
NewListTasksLogsForbidden creates a ListTasksLogsForbidden with default headers values
func (*ListTasksLogsForbidden) Error ¶
func (o *ListTasksLogsForbidden) Error() string
func (*ListTasksLogsForbidden) GetPayload ¶
func (o *ListTasksLogsForbidden) GetPayload() *models.RestError
type ListTasksLogsInternalServerError ¶
ListTasksLogsInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewListTasksLogsInternalServerError ¶
func NewListTasksLogsInternalServerError() *ListTasksLogsInternalServerError
NewListTasksLogsInternalServerError creates a ListTasksLogsInternalServerError with default headers values
func (*ListTasksLogsInternalServerError) Error ¶
func (o *ListTasksLogsInternalServerError) Error() string
func (*ListTasksLogsInternalServerError) GetPayload ¶
func (o *ListTasksLogsInternalServerError) GetPayload() *models.RestError
type ListTasksLogsNotFound ¶
ListTasksLogsNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewListTasksLogsNotFound ¶
func NewListTasksLogsNotFound() *ListTasksLogsNotFound
NewListTasksLogsNotFound creates a ListTasksLogsNotFound with default headers values
func (*ListTasksLogsNotFound) Error ¶
func (o *ListTasksLogsNotFound) Error() string
func (*ListTasksLogsNotFound) GetPayload ¶
func (o *ListTasksLogsNotFound) GetPayload() *models.RestError
type ListTasksLogsOK ¶
type ListTasksLogsOK struct {
Payload *models.RestLogMessageCollection
}
ListTasksLogsOK describes a response with status code 200, with default header values.
ListTasksLogsOK list tasks logs o k
func NewListTasksLogsOK ¶
func NewListTasksLogsOK() *ListTasksLogsOK
NewListTasksLogsOK creates a ListTasksLogsOK with default headers values
func (*ListTasksLogsOK) Error ¶
func (o *ListTasksLogsOK) Error() string
func (*ListTasksLogsOK) GetPayload ¶
func (o *ListTasksLogsOK) GetPayload() *models.RestLogMessageCollection
type ListTasksLogsParams ¶
type ListTasksLogsParams struct { // Body. Body *models.LogListLogRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTasksLogsParams contains all the parameters to send to the API endpoint
for the list tasks logs operation. Typically these are written to a http.Request.
func NewListTasksLogsParams ¶
func NewListTasksLogsParams() *ListTasksLogsParams
NewListTasksLogsParams creates a new ListTasksLogsParams 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 NewListTasksLogsParamsWithContext ¶
func NewListTasksLogsParamsWithContext(ctx context.Context) *ListTasksLogsParams
NewListTasksLogsParamsWithContext creates a new ListTasksLogsParams object with the ability to set a context for a request.
func NewListTasksLogsParamsWithHTTPClient ¶
func NewListTasksLogsParamsWithHTTPClient(client *http.Client) *ListTasksLogsParams
NewListTasksLogsParamsWithHTTPClient creates a new ListTasksLogsParams object with the ability to set a custom HTTPClient for a request.
func NewListTasksLogsParamsWithTimeout ¶
func NewListTasksLogsParamsWithTimeout(timeout time.Duration) *ListTasksLogsParams
NewListTasksLogsParamsWithTimeout creates a new ListTasksLogsParams object with the ability to set a timeout on a request.
func (*ListTasksLogsParams) SetBody ¶
func (o *ListTasksLogsParams) SetBody(body *models.LogListLogRequest)
SetBody adds the body to the list tasks logs params
func (*ListTasksLogsParams) SetContext ¶
func (o *ListTasksLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the list tasks logs params
func (*ListTasksLogsParams) SetDefaults ¶
func (o *ListTasksLogsParams) SetDefaults()
SetDefaults hydrates default values in the list tasks logs params (not the query body).
All values with no default are reset to their zero value.
func (*ListTasksLogsParams) SetHTTPClient ¶
func (o *ListTasksLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list tasks logs params
func (*ListTasksLogsParams) SetTimeout ¶
func (o *ListTasksLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list tasks logs params
func (*ListTasksLogsParams) WithBody ¶
func (o *ListTasksLogsParams) WithBody(body *models.LogListLogRequest) *ListTasksLogsParams
WithBody adds the body to the list tasks logs params
func (*ListTasksLogsParams) WithContext ¶
func (o *ListTasksLogsParams) WithContext(ctx context.Context) *ListTasksLogsParams
WithContext adds the context to the list tasks logs params
func (*ListTasksLogsParams) WithDefaults ¶
func (o *ListTasksLogsParams) WithDefaults() *ListTasksLogsParams
WithDefaults hydrates default values in the list tasks logs params (not the query body).
All values with no default are reset to their zero value.
func (*ListTasksLogsParams) WithHTTPClient ¶
func (o *ListTasksLogsParams) WithHTTPClient(client *http.Client) *ListTasksLogsParams
WithHTTPClient adds the HTTPClient to the list tasks logs params
func (*ListTasksLogsParams) WithTimeout ¶
func (o *ListTasksLogsParams) WithTimeout(timeout time.Duration) *ListTasksLogsParams
WithTimeout adds the timeout to the list tasks logs params
func (*ListTasksLogsParams) WriteToRequest ¶
func (o *ListTasksLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTasksLogsReader ¶
type ListTasksLogsReader struct {
// contains filtered or unexported fields
}
ListTasksLogsReader is a Reader for the ListTasksLogs structure.
func (*ListTasksLogsReader) ReadResponse ¶
func (o *ListTasksLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTasksLogsUnauthorized ¶
type ListTasksLogsUnauthorized struct { }
ListTasksLogsUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewListTasksLogsUnauthorized ¶
func NewListTasksLogsUnauthorized() *ListTasksLogsUnauthorized
NewListTasksLogsUnauthorized creates a ListTasksLogsUnauthorized with default headers values
func (*ListTasksLogsUnauthorized) Error ¶
func (o *ListTasksLogsUnauthorized) Error() string
type UserControlJobForbidden ¶
UserControlJobForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewUserControlJobForbidden ¶
func NewUserControlJobForbidden() *UserControlJobForbidden
NewUserControlJobForbidden creates a UserControlJobForbidden with default headers values
func (*UserControlJobForbidden) Error ¶
func (o *UserControlJobForbidden) Error() string
func (*UserControlJobForbidden) GetPayload ¶
func (o *UserControlJobForbidden) GetPayload() *models.RestError
type UserControlJobInternalServerError ¶
UserControlJobInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewUserControlJobInternalServerError ¶
func NewUserControlJobInternalServerError() *UserControlJobInternalServerError
NewUserControlJobInternalServerError creates a UserControlJobInternalServerError with default headers values
func (*UserControlJobInternalServerError) Error ¶
func (o *UserControlJobInternalServerError) Error() string
func (*UserControlJobInternalServerError) GetPayload ¶
func (o *UserControlJobInternalServerError) GetPayload() *models.RestError
type UserControlJobNotFound ¶
UserControlJobNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewUserControlJobNotFound ¶
func NewUserControlJobNotFound() *UserControlJobNotFound
NewUserControlJobNotFound creates a UserControlJobNotFound with default headers values
func (*UserControlJobNotFound) Error ¶
func (o *UserControlJobNotFound) Error() string
func (*UserControlJobNotFound) GetPayload ¶
func (o *UserControlJobNotFound) GetPayload() *models.RestError
type UserControlJobOK ¶
type UserControlJobOK struct {
Payload *models.JobsCtrlCommandResponse
}
UserControlJobOK describes a response with status code 200, with default header values.
UserControlJobOK user control job o k
func NewUserControlJobOK ¶
func NewUserControlJobOK() *UserControlJobOK
NewUserControlJobOK creates a UserControlJobOK with default headers values
func (*UserControlJobOK) Error ¶
func (o *UserControlJobOK) Error() string
func (*UserControlJobOK) GetPayload ¶
func (o *UserControlJobOK) GetPayload() *models.JobsCtrlCommandResponse
type UserControlJobParams ¶
type UserControlJobParams struct { // Body. Body *models.JobsCtrlCommand Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserControlJobParams contains all the parameters to send to the API endpoint
for the user control job operation. Typically these are written to a http.Request.
func NewUserControlJobParams ¶
func NewUserControlJobParams() *UserControlJobParams
NewUserControlJobParams creates a new UserControlJobParams 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 NewUserControlJobParamsWithContext ¶
func NewUserControlJobParamsWithContext(ctx context.Context) *UserControlJobParams
NewUserControlJobParamsWithContext creates a new UserControlJobParams object with the ability to set a context for a request.
func NewUserControlJobParamsWithHTTPClient ¶
func NewUserControlJobParamsWithHTTPClient(client *http.Client) *UserControlJobParams
NewUserControlJobParamsWithHTTPClient creates a new UserControlJobParams object with the ability to set a custom HTTPClient for a request.
func NewUserControlJobParamsWithTimeout ¶
func NewUserControlJobParamsWithTimeout(timeout time.Duration) *UserControlJobParams
NewUserControlJobParamsWithTimeout creates a new UserControlJobParams object with the ability to set a timeout on a request.
func (*UserControlJobParams) SetBody ¶
func (o *UserControlJobParams) SetBody(body *models.JobsCtrlCommand)
SetBody adds the body to the user control job params
func (*UserControlJobParams) SetContext ¶
func (o *UserControlJobParams) SetContext(ctx context.Context)
SetContext adds the context to the user control job params
func (*UserControlJobParams) SetDefaults ¶
func (o *UserControlJobParams) SetDefaults()
SetDefaults hydrates default values in the user control job params (not the query body).
All values with no default are reset to their zero value.
func (*UserControlJobParams) SetHTTPClient ¶
func (o *UserControlJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user control job params
func (*UserControlJobParams) SetTimeout ¶
func (o *UserControlJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user control job params
func (*UserControlJobParams) WithBody ¶
func (o *UserControlJobParams) WithBody(body *models.JobsCtrlCommand) *UserControlJobParams
WithBody adds the body to the user control job params
func (*UserControlJobParams) WithContext ¶
func (o *UserControlJobParams) WithContext(ctx context.Context) *UserControlJobParams
WithContext adds the context to the user control job params
func (*UserControlJobParams) WithDefaults ¶
func (o *UserControlJobParams) WithDefaults() *UserControlJobParams
WithDefaults hydrates default values in the user control job params (not the query body).
All values with no default are reset to their zero value.
func (*UserControlJobParams) WithHTTPClient ¶
func (o *UserControlJobParams) WithHTTPClient(client *http.Client) *UserControlJobParams
WithHTTPClient adds the HTTPClient to the user control job params
func (*UserControlJobParams) WithTimeout ¶
func (o *UserControlJobParams) WithTimeout(timeout time.Duration) *UserControlJobParams
WithTimeout adds the timeout to the user control job params
func (*UserControlJobParams) WriteToRequest ¶
func (o *UserControlJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserControlJobReader ¶
type UserControlJobReader struct {
// contains filtered or unexported fields
}
UserControlJobReader is a Reader for the UserControlJob structure.
func (*UserControlJobReader) ReadResponse ¶
func (o *UserControlJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserControlJobUnauthorized ¶
type UserControlJobUnauthorized struct { }
UserControlJobUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewUserControlJobUnauthorized ¶
func NewUserControlJobUnauthorized() *UserControlJobUnauthorized
NewUserControlJobUnauthorized creates a UserControlJobUnauthorized with default headers values
func (*UserControlJobUnauthorized) Error ¶
func (o *UserControlJobUnauthorized) Error() string
type UserCreateJobForbidden ¶
UserCreateJobForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewUserCreateJobForbidden ¶
func NewUserCreateJobForbidden() *UserCreateJobForbidden
NewUserCreateJobForbidden creates a UserCreateJobForbidden with default headers values
func (*UserCreateJobForbidden) Error ¶
func (o *UserCreateJobForbidden) Error() string
func (*UserCreateJobForbidden) GetPayload ¶
func (o *UserCreateJobForbidden) GetPayload() *models.RestError
type UserCreateJobInternalServerError ¶
UserCreateJobInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewUserCreateJobInternalServerError ¶
func NewUserCreateJobInternalServerError() *UserCreateJobInternalServerError
NewUserCreateJobInternalServerError creates a UserCreateJobInternalServerError with default headers values
func (*UserCreateJobInternalServerError) Error ¶
func (o *UserCreateJobInternalServerError) Error() string
func (*UserCreateJobInternalServerError) GetPayload ¶
func (o *UserCreateJobInternalServerError) GetPayload() *models.RestError
type UserCreateJobNotFound ¶
UserCreateJobNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewUserCreateJobNotFound ¶
func NewUserCreateJobNotFound() *UserCreateJobNotFound
NewUserCreateJobNotFound creates a UserCreateJobNotFound with default headers values
func (*UserCreateJobNotFound) Error ¶
func (o *UserCreateJobNotFound) Error() string
func (*UserCreateJobNotFound) GetPayload ¶
func (o *UserCreateJobNotFound) GetPayload() *models.RestError
type UserCreateJobOK ¶
type UserCreateJobOK struct {
Payload *models.RestUserJobResponse
}
UserCreateJobOK describes a response with status code 200, with default header values.
UserCreateJobOK user create job o k
func NewUserCreateJobOK ¶
func NewUserCreateJobOK() *UserCreateJobOK
NewUserCreateJobOK creates a UserCreateJobOK with default headers values
func (*UserCreateJobOK) Error ¶
func (o *UserCreateJobOK) Error() string
func (*UserCreateJobOK) GetPayload ¶
func (o *UserCreateJobOK) GetPayload() *models.RestUserJobResponse
type UserCreateJobParams ¶
type UserCreateJobParams struct { // JobName. JobName string // Body. Body *models.RestUserJobRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserCreateJobParams contains all the parameters to send to the API endpoint
for the user create job operation. Typically these are written to a http.Request.
func NewUserCreateJobParams ¶
func NewUserCreateJobParams() *UserCreateJobParams
NewUserCreateJobParams creates a new UserCreateJobParams 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 NewUserCreateJobParamsWithContext ¶
func NewUserCreateJobParamsWithContext(ctx context.Context) *UserCreateJobParams
NewUserCreateJobParamsWithContext creates a new UserCreateJobParams object with the ability to set a context for a request.
func NewUserCreateJobParamsWithHTTPClient ¶
func NewUserCreateJobParamsWithHTTPClient(client *http.Client) *UserCreateJobParams
NewUserCreateJobParamsWithHTTPClient creates a new UserCreateJobParams object with the ability to set a custom HTTPClient for a request.
func NewUserCreateJobParamsWithTimeout ¶
func NewUserCreateJobParamsWithTimeout(timeout time.Duration) *UserCreateJobParams
NewUserCreateJobParamsWithTimeout creates a new UserCreateJobParams object with the ability to set a timeout on a request.
func (*UserCreateJobParams) SetBody ¶
func (o *UserCreateJobParams) SetBody(body *models.RestUserJobRequest)
SetBody adds the body to the user create job params
func (*UserCreateJobParams) SetContext ¶
func (o *UserCreateJobParams) SetContext(ctx context.Context)
SetContext adds the context to the user create job params
func (*UserCreateJobParams) SetDefaults ¶
func (o *UserCreateJobParams) SetDefaults()
SetDefaults hydrates default values in the user create job params (not the query body).
All values with no default are reset to their zero value.
func (*UserCreateJobParams) SetHTTPClient ¶
func (o *UserCreateJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user create job params
func (*UserCreateJobParams) SetJobName ¶
func (o *UserCreateJobParams) SetJobName(jobName string)
SetJobName adds the jobName to the user create job params
func (*UserCreateJobParams) SetTimeout ¶
func (o *UserCreateJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user create job params
func (*UserCreateJobParams) WithBody ¶
func (o *UserCreateJobParams) WithBody(body *models.RestUserJobRequest) *UserCreateJobParams
WithBody adds the body to the user create job params
func (*UserCreateJobParams) WithContext ¶
func (o *UserCreateJobParams) WithContext(ctx context.Context) *UserCreateJobParams
WithContext adds the context to the user create job params
func (*UserCreateJobParams) WithDefaults ¶
func (o *UserCreateJobParams) WithDefaults() *UserCreateJobParams
WithDefaults hydrates default values in the user create job params (not the query body).
All values with no default are reset to their zero value.
func (*UserCreateJobParams) WithHTTPClient ¶
func (o *UserCreateJobParams) WithHTTPClient(client *http.Client) *UserCreateJobParams
WithHTTPClient adds the HTTPClient to the user create job params
func (*UserCreateJobParams) WithJobName ¶
func (o *UserCreateJobParams) WithJobName(jobName string) *UserCreateJobParams
WithJobName adds the jobName to the user create job params
func (*UserCreateJobParams) WithTimeout ¶
func (o *UserCreateJobParams) WithTimeout(timeout time.Duration) *UserCreateJobParams
WithTimeout adds the timeout to the user create job params
func (*UserCreateJobParams) WriteToRequest ¶
func (o *UserCreateJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserCreateJobReader ¶
type UserCreateJobReader struct {
// contains filtered or unexported fields
}
UserCreateJobReader is a Reader for the UserCreateJob structure.
func (*UserCreateJobReader) ReadResponse ¶
func (o *UserCreateJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserCreateJobUnauthorized ¶
type UserCreateJobUnauthorized struct { }
UserCreateJobUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewUserCreateJobUnauthorized ¶
func NewUserCreateJobUnauthorized() *UserCreateJobUnauthorized
NewUserCreateJobUnauthorized creates a UserCreateJobUnauthorized with default headers values
func (*UserCreateJobUnauthorized) Error ¶
func (o *UserCreateJobUnauthorized) Error() string
type UserDeleteTasksForbidden ¶
UserDeleteTasksForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewUserDeleteTasksForbidden ¶
func NewUserDeleteTasksForbidden() *UserDeleteTasksForbidden
NewUserDeleteTasksForbidden creates a UserDeleteTasksForbidden with default headers values
func (*UserDeleteTasksForbidden) Error ¶
func (o *UserDeleteTasksForbidden) Error() string
func (*UserDeleteTasksForbidden) GetPayload ¶
func (o *UserDeleteTasksForbidden) GetPayload() *models.RestError
type UserDeleteTasksInternalServerError ¶
UserDeleteTasksInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewUserDeleteTasksInternalServerError ¶
func NewUserDeleteTasksInternalServerError() *UserDeleteTasksInternalServerError
NewUserDeleteTasksInternalServerError creates a UserDeleteTasksInternalServerError with default headers values
func (*UserDeleteTasksInternalServerError) Error ¶
func (o *UserDeleteTasksInternalServerError) Error() string
func (*UserDeleteTasksInternalServerError) GetPayload ¶
func (o *UserDeleteTasksInternalServerError) GetPayload() *models.RestError
type UserDeleteTasksNotFound ¶
UserDeleteTasksNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewUserDeleteTasksNotFound ¶
func NewUserDeleteTasksNotFound() *UserDeleteTasksNotFound
NewUserDeleteTasksNotFound creates a UserDeleteTasksNotFound with default headers values
func (*UserDeleteTasksNotFound) Error ¶
func (o *UserDeleteTasksNotFound) Error() string
func (*UserDeleteTasksNotFound) GetPayload ¶
func (o *UserDeleteTasksNotFound) GetPayload() *models.RestError
type UserDeleteTasksOK ¶
type UserDeleteTasksOK struct {
Payload *models.JobsDeleteTasksResponse
}
UserDeleteTasksOK describes a response with status code 200, with default header values.
UserDeleteTasksOK user delete tasks o k
func NewUserDeleteTasksOK ¶
func NewUserDeleteTasksOK() *UserDeleteTasksOK
NewUserDeleteTasksOK creates a UserDeleteTasksOK with default headers values
func (*UserDeleteTasksOK) Error ¶
func (o *UserDeleteTasksOK) Error() string
func (*UserDeleteTasksOK) GetPayload ¶
func (o *UserDeleteTasksOK) GetPayload() *models.JobsDeleteTasksResponse
type UserDeleteTasksParams ¶
type UserDeleteTasksParams struct { // Body. Body *models.JobsDeleteTasksRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserDeleteTasksParams contains all the parameters to send to the API endpoint
for the user delete tasks operation. Typically these are written to a http.Request.
func NewUserDeleteTasksParams ¶
func NewUserDeleteTasksParams() *UserDeleteTasksParams
NewUserDeleteTasksParams creates a new UserDeleteTasksParams 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 NewUserDeleteTasksParamsWithContext ¶
func NewUserDeleteTasksParamsWithContext(ctx context.Context) *UserDeleteTasksParams
NewUserDeleteTasksParamsWithContext creates a new UserDeleteTasksParams object with the ability to set a context for a request.
func NewUserDeleteTasksParamsWithHTTPClient ¶
func NewUserDeleteTasksParamsWithHTTPClient(client *http.Client) *UserDeleteTasksParams
NewUserDeleteTasksParamsWithHTTPClient creates a new UserDeleteTasksParams object with the ability to set a custom HTTPClient for a request.
func NewUserDeleteTasksParamsWithTimeout ¶
func NewUserDeleteTasksParamsWithTimeout(timeout time.Duration) *UserDeleteTasksParams
NewUserDeleteTasksParamsWithTimeout creates a new UserDeleteTasksParams object with the ability to set a timeout on a request.
func (*UserDeleteTasksParams) SetBody ¶
func (o *UserDeleteTasksParams) SetBody(body *models.JobsDeleteTasksRequest)
SetBody adds the body to the user delete tasks params
func (*UserDeleteTasksParams) SetContext ¶
func (o *UserDeleteTasksParams) SetContext(ctx context.Context)
SetContext adds the context to the user delete tasks params
func (*UserDeleteTasksParams) SetDefaults ¶
func (o *UserDeleteTasksParams) SetDefaults()
SetDefaults hydrates default values in the user delete tasks params (not the query body).
All values with no default are reset to their zero value.
func (*UserDeleteTasksParams) SetHTTPClient ¶
func (o *UserDeleteTasksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user delete tasks params
func (*UserDeleteTasksParams) SetTimeout ¶
func (o *UserDeleteTasksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user delete tasks params
func (*UserDeleteTasksParams) WithBody ¶
func (o *UserDeleteTasksParams) WithBody(body *models.JobsDeleteTasksRequest) *UserDeleteTasksParams
WithBody adds the body to the user delete tasks params
func (*UserDeleteTasksParams) WithContext ¶
func (o *UserDeleteTasksParams) WithContext(ctx context.Context) *UserDeleteTasksParams
WithContext adds the context to the user delete tasks params
func (*UserDeleteTasksParams) WithDefaults ¶
func (o *UserDeleteTasksParams) WithDefaults() *UserDeleteTasksParams
WithDefaults hydrates default values in the user delete tasks params (not the query body).
All values with no default are reset to their zero value.
func (*UserDeleteTasksParams) WithHTTPClient ¶
func (o *UserDeleteTasksParams) WithHTTPClient(client *http.Client) *UserDeleteTasksParams
WithHTTPClient adds the HTTPClient to the user delete tasks params
func (*UserDeleteTasksParams) WithTimeout ¶
func (o *UserDeleteTasksParams) WithTimeout(timeout time.Duration) *UserDeleteTasksParams
WithTimeout adds the timeout to the user delete tasks params
func (*UserDeleteTasksParams) WriteToRequest ¶
func (o *UserDeleteTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserDeleteTasksReader ¶
type UserDeleteTasksReader struct {
// contains filtered or unexported fields
}
UserDeleteTasksReader is a Reader for the UserDeleteTasks structure.
func (*UserDeleteTasksReader) ReadResponse ¶
func (o *UserDeleteTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserDeleteTasksUnauthorized ¶
type UserDeleteTasksUnauthorized struct { }
UserDeleteTasksUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewUserDeleteTasksUnauthorized ¶
func NewUserDeleteTasksUnauthorized() *UserDeleteTasksUnauthorized
NewUserDeleteTasksUnauthorized creates a UserDeleteTasksUnauthorized with default headers values
func (*UserDeleteTasksUnauthorized) Error ¶
func (o *UserDeleteTasksUnauthorized) Error() string
type UserListJobsForbidden ¶
UserListJobsForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewUserListJobsForbidden ¶
func NewUserListJobsForbidden() *UserListJobsForbidden
NewUserListJobsForbidden creates a UserListJobsForbidden with default headers values
func (*UserListJobsForbidden) Error ¶
func (o *UserListJobsForbidden) Error() string
func (*UserListJobsForbidden) GetPayload ¶
func (o *UserListJobsForbidden) GetPayload() *models.RestError
type UserListJobsInternalServerError ¶
UserListJobsInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewUserListJobsInternalServerError ¶
func NewUserListJobsInternalServerError() *UserListJobsInternalServerError
NewUserListJobsInternalServerError creates a UserListJobsInternalServerError with default headers values
func (*UserListJobsInternalServerError) Error ¶
func (o *UserListJobsInternalServerError) Error() string
func (*UserListJobsInternalServerError) GetPayload ¶
func (o *UserListJobsInternalServerError) GetPayload() *models.RestError
type UserListJobsNotFound ¶
UserListJobsNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewUserListJobsNotFound ¶
func NewUserListJobsNotFound() *UserListJobsNotFound
NewUserListJobsNotFound creates a UserListJobsNotFound with default headers values
func (*UserListJobsNotFound) Error ¶
func (o *UserListJobsNotFound) Error() string
func (*UserListJobsNotFound) GetPayload ¶
func (o *UserListJobsNotFound) GetPayload() *models.RestError
type UserListJobsOK ¶
type UserListJobsOK struct {
Payload *models.RestUserJobsCollection
}
UserListJobsOK describes a response with status code 200, with default header values.
UserListJobsOK user list jobs o k
func NewUserListJobsOK ¶
func NewUserListJobsOK() *UserListJobsOK
NewUserListJobsOK creates a UserListJobsOK with default headers values
func (*UserListJobsOK) Error ¶
func (o *UserListJobsOK) Error() string
func (*UserListJobsOK) GetPayload ¶
func (o *UserListJobsOK) GetPayload() *models.RestUserJobsCollection
type UserListJobsParams ¶
type UserListJobsParams struct { // Body. Body *models.JobsListJobsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserListJobsParams contains all the parameters to send to the API endpoint
for the user list jobs operation. Typically these are written to a http.Request.
func NewUserListJobsParams ¶
func NewUserListJobsParams() *UserListJobsParams
NewUserListJobsParams creates a new UserListJobsParams 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 NewUserListJobsParamsWithContext ¶
func NewUserListJobsParamsWithContext(ctx context.Context) *UserListJobsParams
NewUserListJobsParamsWithContext creates a new UserListJobsParams object with the ability to set a context for a request.
func NewUserListJobsParamsWithHTTPClient ¶
func NewUserListJobsParamsWithHTTPClient(client *http.Client) *UserListJobsParams
NewUserListJobsParamsWithHTTPClient creates a new UserListJobsParams object with the ability to set a custom HTTPClient for a request.
func NewUserListJobsParamsWithTimeout ¶
func NewUserListJobsParamsWithTimeout(timeout time.Duration) *UserListJobsParams
NewUserListJobsParamsWithTimeout creates a new UserListJobsParams object with the ability to set a timeout on a request.
func (*UserListJobsParams) SetBody ¶
func (o *UserListJobsParams) SetBody(body *models.JobsListJobsRequest)
SetBody adds the body to the user list jobs params
func (*UserListJobsParams) SetContext ¶
func (o *UserListJobsParams) SetContext(ctx context.Context)
SetContext adds the context to the user list jobs params
func (*UserListJobsParams) SetDefaults ¶
func (o *UserListJobsParams) SetDefaults()
SetDefaults hydrates default values in the user list jobs params (not the query body).
All values with no default are reset to their zero value.
func (*UserListJobsParams) SetHTTPClient ¶
func (o *UserListJobsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user list jobs params
func (*UserListJobsParams) SetTimeout ¶
func (o *UserListJobsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user list jobs params
func (*UserListJobsParams) WithBody ¶
func (o *UserListJobsParams) WithBody(body *models.JobsListJobsRequest) *UserListJobsParams
WithBody adds the body to the user list jobs params
func (*UserListJobsParams) WithContext ¶
func (o *UserListJobsParams) WithContext(ctx context.Context) *UserListJobsParams
WithContext adds the context to the user list jobs params
func (*UserListJobsParams) WithDefaults ¶
func (o *UserListJobsParams) WithDefaults() *UserListJobsParams
WithDefaults hydrates default values in the user list jobs params (not the query body).
All values with no default are reset to their zero value.
func (*UserListJobsParams) WithHTTPClient ¶
func (o *UserListJobsParams) WithHTTPClient(client *http.Client) *UserListJobsParams
WithHTTPClient adds the HTTPClient to the user list jobs params
func (*UserListJobsParams) WithTimeout ¶
func (o *UserListJobsParams) WithTimeout(timeout time.Duration) *UserListJobsParams
WithTimeout adds the timeout to the user list jobs params
func (*UserListJobsParams) WriteToRequest ¶
func (o *UserListJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserListJobsReader ¶
type UserListJobsReader struct {
// contains filtered or unexported fields
}
UserListJobsReader is a Reader for the UserListJobs structure.
func (*UserListJobsReader) ReadResponse ¶
func (o *UserListJobsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserListJobsUnauthorized ¶
type UserListJobsUnauthorized struct { }
UserListJobsUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewUserListJobsUnauthorized ¶
func NewUserListJobsUnauthorized() *UserListJobsUnauthorized
NewUserListJobsUnauthorized creates a UserListJobsUnauthorized with default headers values
func (*UserListJobsUnauthorized) Error ¶
func (o *UserListJobsUnauthorized) Error() string
Source Files ¶
- jobs_service_client.go
- list_tasks_logs_parameters.go
- list_tasks_logs_responses.go
- user_control_job_parameters.go
- user_control_job_responses.go
- user_create_job_parameters.go
- user_create_job_responses.go
- user_delete_tasks_parameters.go
- user_delete_tasks_responses.go
- user_list_jobs_parameters.go
- user_list_jobs_responses.go