job_service

package
v0.0.0-...-4f670de Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for job service API

func New

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

New creates a new job service API client.

func (*Client) CreateJob

func (a *Client) CreateJob(params *CreateJobParams, authInfo runtime.ClientAuthInfoWriter) (*CreateJobOK, error)

CreateJob creates a new job

func (*Client) DeleteJob

func (a *Client) DeleteJob(params *DeleteJobParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteJobOK, error)

DeleteJob deletes a job

func (*Client) DisableJob

func (a *Client) DisableJob(params *DisableJobParams, authInfo runtime.ClientAuthInfoWriter) (*DisableJobOK, error)

DisableJob stops a job and all its associated runs the job is not deleted

func (*Client) EnableJob

func (a *Client) EnableJob(params *EnableJobParams, authInfo runtime.ClientAuthInfoWriter) (*EnableJobOK, error)

EnableJob restarts a job that was previously stopped all runs associated with the job will continue

func (*Client) GetJob

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

GetJob finds a specific job by ID

func (*Client) ListJobs

func (a *Client) ListJobs(params *ListJobsParams, authInfo runtime.ClientAuthInfoWriter) (*ListJobsOK, error)

ListJobs finds all jobs

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateJobDefault

type CreateJobDefault struct {
	Payload *job_model.APIStatus
	// contains filtered or unexported fields
}

CreateJobDefault handles this case with default header values.

CreateJobDefault create job default

func NewCreateJobDefault

func NewCreateJobDefault(code int) *CreateJobDefault

NewCreateJobDefault creates a CreateJobDefault with default headers values

func (*CreateJobDefault) Code

func (o *CreateJobDefault) Code() int

Code gets the status code for the create job default response

func (*CreateJobDefault) Error

func (o *CreateJobDefault) Error() string

type CreateJobOK

type CreateJobOK struct {
	Payload *job_model.APIJob
}

CreateJobOK handles this case with default header values.

A successful response.

func NewCreateJobOK

func NewCreateJobOK() *CreateJobOK

NewCreateJobOK creates a CreateJobOK with default headers values

func (*CreateJobOK) Error

func (o *CreateJobOK) Error() string

type CreateJobParams

type CreateJobParams struct {

	/*Body
	  The job to be created

	*/
	Body *job_model.APIJob

	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 values initialized.

func NewCreateJobParamsWithContext

func NewCreateJobParamsWithContext(ctx context.Context) *CreateJobParams

NewCreateJobParamsWithContext creates a new CreateJobParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*CreateJobParams) SetBody

func (o *CreateJobParams) SetBody(body *job_model.APIJob)

SetBody adds the body to the create job params

func (*CreateJobParams) SetContext

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

SetContext adds the context to the create job params

func (*CreateJobParams) SetHTTPClient

func (o *CreateJobParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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) WithBody

func (o *CreateJobParams) WithBody(body *job_model.APIJob) *CreateJobParams

WithBody adds the body 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) WithHTTPClient

func (o *CreateJobParams) WithHTTPClient(client *http.Client) *CreateJobParams

WithHTTPClient adds the HTTPClient 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 DeleteJobDefault

type DeleteJobDefault struct {
	Payload *job_model.APIStatus
	// contains filtered or unexported fields
}

DeleteJobDefault handles this case with default header values.

DeleteJobDefault delete job default

func NewDeleteJobDefault

func NewDeleteJobDefault(code int) *DeleteJobDefault

NewDeleteJobDefault creates a DeleteJobDefault with default headers values

func (*DeleteJobDefault) Code

func (o *DeleteJobDefault) Code() int

Code gets the status code for the delete job default response

func (*DeleteJobDefault) Error

func (o *DeleteJobDefault) Error() string

type DeleteJobOK

type DeleteJobOK struct {
	Payload interface{}
}

DeleteJobOK handles this case with default header values.

A successful response.

func NewDeleteJobOK

func NewDeleteJobOK() *DeleteJobOK

NewDeleteJobOK creates a DeleteJobOK with default headers values

func (*DeleteJobOK) Error

func (o *DeleteJobOK) Error() string

type DeleteJobParams

type DeleteJobParams struct {

	/*ID
	  The ID of the job to be deleted

	*/
	ID 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 values initialized.

func NewDeleteJobParamsWithContext

func NewDeleteJobParamsWithContext(ctx context.Context) *DeleteJobParams

NewDeleteJobParamsWithContext creates a new DeleteJobParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient

func (o *DeleteJobParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete job params

func (*DeleteJobParams) SetID

func (o *DeleteJobParams) SetID(id string)

SetID adds the id 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) WithHTTPClient

func (o *DeleteJobParams) WithHTTPClient(client *http.Client) *DeleteJobParams

WithHTTPClient adds the HTTPClient to the delete job params

func (*DeleteJobParams) WithID

func (o *DeleteJobParams) WithID(id string) *DeleteJobParams

WithID adds the id 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 DisableJobDefault

type DisableJobDefault struct {
	Payload *job_model.APIStatus
	// contains filtered or unexported fields
}

DisableJobDefault handles this case with default header values.

DisableJobDefault disable job default

func NewDisableJobDefault

func NewDisableJobDefault(code int) *DisableJobDefault

NewDisableJobDefault creates a DisableJobDefault with default headers values

func (*DisableJobDefault) Code

func (o *DisableJobDefault) Code() int

Code gets the status code for the disable job default response

func (*DisableJobDefault) Error

func (o *DisableJobDefault) Error() string

type DisableJobOK

type DisableJobOK struct {
	Payload interface{}
}

DisableJobOK handles this case with default header values.

A successful response.

func NewDisableJobOK

func NewDisableJobOK() *DisableJobOK

NewDisableJobOK creates a DisableJobOK with default headers values

func (*DisableJobOK) Error

func (o *DisableJobOK) Error() string

type DisableJobParams

type DisableJobParams struct {

	/*ID
	  The ID of the job to be disabled

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DisableJobParams contains all the parameters to send to the API endpoint for the disable job operation typically these are written to a http.Request

func NewDisableJobParams

func NewDisableJobParams() *DisableJobParams

NewDisableJobParams creates a new DisableJobParams object with the default values initialized.

func NewDisableJobParamsWithContext

func NewDisableJobParamsWithContext(ctx context.Context) *DisableJobParams

NewDisableJobParamsWithContext creates a new DisableJobParams object with the default values initialized, and the ability to set a context for a request

func NewDisableJobParamsWithHTTPClient

func NewDisableJobParamsWithHTTPClient(client *http.Client) *DisableJobParams

NewDisableJobParamsWithHTTPClient creates a new DisableJobParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDisableJobParamsWithTimeout

func NewDisableJobParamsWithTimeout(timeout time.Duration) *DisableJobParams

NewDisableJobParamsWithTimeout creates a new DisableJobParams object with the default values initialized, and the ability to set a timeout on a request

func (*DisableJobParams) SetContext

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

SetContext adds the context to the disable job params

func (*DisableJobParams) SetHTTPClient

func (o *DisableJobParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the disable job params

func (*DisableJobParams) SetID

func (o *DisableJobParams) SetID(id string)

SetID adds the id to the disable job params

func (*DisableJobParams) SetTimeout

func (o *DisableJobParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the disable job params

func (*DisableJobParams) WithContext

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

WithContext adds the context to the disable job params

func (*DisableJobParams) WithHTTPClient

func (o *DisableJobParams) WithHTTPClient(client *http.Client) *DisableJobParams

WithHTTPClient adds the HTTPClient to the disable job params

func (*DisableJobParams) WithID

func (o *DisableJobParams) WithID(id string) *DisableJobParams

WithID adds the id to the disable job params

func (*DisableJobParams) WithTimeout

func (o *DisableJobParams) WithTimeout(timeout time.Duration) *DisableJobParams

WithTimeout adds the timeout to the disable job params

func (*DisableJobParams) WriteToRequest

func (o *DisableJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DisableJobReader

type DisableJobReader struct {
	// contains filtered or unexported fields
}

DisableJobReader is a Reader for the DisableJob structure.

func (*DisableJobReader) ReadResponse

func (o *DisableJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EnableJobDefault

type EnableJobDefault struct {
	Payload *job_model.APIStatus
	// contains filtered or unexported fields
}

EnableJobDefault handles this case with default header values.

EnableJobDefault enable job default

func NewEnableJobDefault

func NewEnableJobDefault(code int) *EnableJobDefault

NewEnableJobDefault creates a EnableJobDefault with default headers values

func (*EnableJobDefault) Code

func (o *EnableJobDefault) Code() int

Code gets the status code for the enable job default response

func (*EnableJobDefault) Error

func (o *EnableJobDefault) Error() string

type EnableJobOK

type EnableJobOK struct {
	Payload interface{}
}

EnableJobOK handles this case with default header values.

A successful response.

func NewEnableJobOK

func NewEnableJobOK() *EnableJobOK

NewEnableJobOK creates a EnableJobOK with default headers values

func (*EnableJobOK) Error

func (o *EnableJobOK) Error() string

type EnableJobParams

type EnableJobParams struct {

	/*ID
	  The ID of the job to be enabled

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EnableJobParams contains all the parameters to send to the API endpoint for the enable job operation typically these are written to a http.Request

func NewEnableJobParams

func NewEnableJobParams() *EnableJobParams

NewEnableJobParams creates a new EnableJobParams object with the default values initialized.

func NewEnableJobParamsWithContext

func NewEnableJobParamsWithContext(ctx context.Context) *EnableJobParams

NewEnableJobParamsWithContext creates a new EnableJobParams object with the default values initialized, and the ability to set a context for a request

func NewEnableJobParamsWithHTTPClient

func NewEnableJobParamsWithHTTPClient(client *http.Client) *EnableJobParams

NewEnableJobParamsWithHTTPClient creates a new EnableJobParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewEnableJobParamsWithTimeout

func NewEnableJobParamsWithTimeout(timeout time.Duration) *EnableJobParams

NewEnableJobParamsWithTimeout creates a new EnableJobParams object with the default values initialized, and the ability to set a timeout on a request

func (*EnableJobParams) SetContext

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

SetContext adds the context to the enable job params

func (*EnableJobParams) SetHTTPClient

func (o *EnableJobParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the enable job params

func (*EnableJobParams) SetID

func (o *EnableJobParams) SetID(id string)

SetID adds the id to the enable job params

func (*EnableJobParams) SetTimeout

func (o *EnableJobParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the enable job params

func (*EnableJobParams) WithContext

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

WithContext adds the context to the enable job params

func (*EnableJobParams) WithHTTPClient

func (o *EnableJobParams) WithHTTPClient(client *http.Client) *EnableJobParams

WithHTTPClient adds the HTTPClient to the enable job params

func (*EnableJobParams) WithID

func (o *EnableJobParams) WithID(id string) *EnableJobParams

WithID adds the id to the enable job params

func (*EnableJobParams) WithTimeout

func (o *EnableJobParams) WithTimeout(timeout time.Duration) *EnableJobParams

WithTimeout adds the timeout to the enable job params

func (*EnableJobParams) WriteToRequest

func (o *EnableJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type EnableJobReader

type EnableJobReader struct {
	// contains filtered or unexported fields
}

EnableJobReader is a Reader for the EnableJob structure.

func (*EnableJobReader) ReadResponse

func (o *EnableJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetJobDefault

type GetJobDefault struct {
	Payload *job_model.APIStatus
	// contains filtered or unexported fields
}

GetJobDefault handles this case with default header values.

GetJobDefault get job default

func NewGetJobDefault

func NewGetJobDefault(code int) *GetJobDefault

NewGetJobDefault creates a GetJobDefault with default headers values

func (*GetJobDefault) Code

func (o *GetJobDefault) Code() int

Code gets the status code for the get job default response

func (*GetJobDefault) Error

func (o *GetJobDefault) Error() string

type GetJobOK

type GetJobOK struct {
	Payload *job_model.APIJob
}

GetJobOK handles this case with default header values.

A successful response.

func NewGetJobOK

func NewGetJobOK() *GetJobOK

NewGetJobOK creates a GetJobOK with default headers values

func (*GetJobOK) Error

func (o *GetJobOK) Error() string

type GetJobParams

type GetJobParams struct {

	/*ID
	  The ID of the job to be retrieved

	*/
	ID 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 values initialized.

func NewGetJobParamsWithContext

func NewGetJobParamsWithContext(ctx context.Context) *GetJobParams

NewGetJobParamsWithContext creates a new GetJobParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient

func (o *GetJobParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get job params

func (*GetJobParams) SetID

func (o *GetJobParams) SetID(id string)

SetID adds the id 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) WithHTTPClient

func (o *GetJobParams) WithHTTPClient(client *http.Client) *GetJobParams

WithHTTPClient adds the HTTPClient to the get job params

func (*GetJobParams) WithID

func (o *GetJobParams) WithID(id string) *GetJobParams

WithID adds the id 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 ListJobsDefault

type ListJobsDefault struct {
	Payload *job_model.APIStatus
	// contains filtered or unexported fields
}

ListJobsDefault handles this case with default header values.

ListJobsDefault list jobs default

func NewListJobsDefault

func NewListJobsDefault(code int) *ListJobsDefault

NewListJobsDefault creates a ListJobsDefault with default headers values

func (*ListJobsDefault) Code

func (o *ListJobsDefault) Code() int

Code gets the status code for the list jobs default response

func (*ListJobsDefault) Error

func (o *ListJobsDefault) Error() string

type ListJobsOK

type ListJobsOK struct {
	Payload *job_model.APIListJobsResponse
}

ListJobsOK handles this case with default header values.

A successful response.

func NewListJobsOK

func NewListJobsOK() *ListJobsOK

NewListJobsOK creates a ListJobsOK with default headers values

func (*ListJobsOK) Error

func (o *ListJobsOK) Error() string

type ListJobsParams

type ListJobsParams struct {

	/*Filter
	  A url-encoded, JSON-serialized Filter protocol buffer (see
	[filter.proto](https://github.com/kubeflow/pipelines/
	blob/master/backend/api/filter.proto)).

	*/
	Filter *string
	/*PageSize*/
	PageSize *int32
	/*PageToken*/
	PageToken *string
	/*ResourceReferenceKeyID
	  The ID of the resource that referred to.

	*/
	ResourceReferenceKeyID *string
	/*ResourceReferenceKeyType
	  The type of the resource that referred to.

	*/
	ResourceReferenceKeyType *string
	/*SortBy
	  Can be format of "field_name", "field_name asc" or "field_name des".
	Ascending by default.

	*/
	SortBy *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListJobsParams contains all the parameters to send to the API endpoint for the list jobs operation typically these are written to a http.Request

func NewListJobsParams

func NewListJobsParams() *ListJobsParams

NewListJobsParams creates a new ListJobsParams object with the default values initialized.

func NewListJobsParamsWithContext

func NewListJobsParamsWithContext(ctx context.Context) *ListJobsParams

NewListJobsParamsWithContext creates a new ListJobsParams object with the default values initialized, and the ability to set a context for a request

func NewListJobsParamsWithHTTPClient

func NewListJobsParamsWithHTTPClient(client *http.Client) *ListJobsParams

NewListJobsParamsWithHTTPClient creates a new ListJobsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListJobsParamsWithTimeout

func NewListJobsParamsWithTimeout(timeout time.Duration) *ListJobsParams

NewListJobsParamsWithTimeout creates a new ListJobsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListJobsParams) SetContext

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

SetContext adds the context to the list jobs params

func (*ListJobsParams) SetFilter

func (o *ListJobsParams) SetFilter(filter *string)

SetFilter adds the filter to the list jobs params

func (*ListJobsParams) SetHTTPClient

func (o *ListJobsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list jobs params

func (*ListJobsParams) SetPageSize

func (o *ListJobsParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the list jobs params

func (*ListJobsParams) SetPageToken

func (o *ListJobsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list jobs params

func (*ListJobsParams) SetResourceReferenceKeyID

func (o *ListJobsParams) SetResourceReferenceKeyID(resourceReferenceKeyID *string)

SetResourceReferenceKeyID adds the resourceReferenceKeyId to the list jobs params

func (*ListJobsParams) SetResourceReferenceKeyType

func (o *ListJobsParams) SetResourceReferenceKeyType(resourceReferenceKeyType *string)

SetResourceReferenceKeyType adds the resourceReferenceKeyType to the list jobs params

func (*ListJobsParams) SetSortBy

func (o *ListJobsParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the list jobs params

func (*ListJobsParams) SetTimeout

func (o *ListJobsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list jobs params

func (*ListJobsParams) WithContext

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

WithContext adds the context to the list jobs params

func (*ListJobsParams) WithFilter

func (o *ListJobsParams) WithFilter(filter *string) *ListJobsParams

WithFilter adds the filter to the list jobs params

func (*ListJobsParams) WithHTTPClient

func (o *ListJobsParams) WithHTTPClient(client *http.Client) *ListJobsParams

WithHTTPClient adds the HTTPClient to the list jobs params

func (*ListJobsParams) WithPageSize

func (o *ListJobsParams) WithPageSize(pageSize *int32) *ListJobsParams

WithPageSize adds the pageSize to the list jobs params

func (*ListJobsParams) WithPageToken

func (o *ListJobsParams) WithPageToken(pageToken *string) *ListJobsParams

WithPageToken adds the pageToken to the list jobs params

func (*ListJobsParams) WithResourceReferenceKeyID

func (o *ListJobsParams) WithResourceReferenceKeyID(resourceReferenceKeyID *string) *ListJobsParams

WithResourceReferenceKeyID adds the resourceReferenceKeyID to the list jobs params

func (*ListJobsParams) WithResourceReferenceKeyType

func (o *ListJobsParams) WithResourceReferenceKeyType(resourceReferenceKeyType *string) *ListJobsParams

WithResourceReferenceKeyType adds the resourceReferenceKeyType to the list jobs params

func (*ListJobsParams) WithSortBy

func (o *ListJobsParams) WithSortBy(sortBy *string) *ListJobsParams

WithSortBy adds the sortBy to the list jobs params

func (*ListJobsParams) WithTimeout

func (o *ListJobsParams) WithTimeout(timeout time.Duration) *ListJobsParams

WithTimeout adds the timeout to the list jobs params

func (*ListJobsParams) WriteToRequest

func (o *ListJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListJobsReader

type ListJobsReader struct {
	// contains filtered or unexported fields
}

ListJobsReader is a Reader for the ListJobs structure.

func (*ListJobsReader) ReadResponse

func (o *ListJobsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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