job_manager

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: Apache-2.0 Imports: 11 Imported by: 3

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 manager API

func New

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

New creates a new job manager API client.

func (*Client) DescribeJobs

func (a *Client) DescribeJobs(params *DescribeJobsParams) (*DescribeJobsOK, error)

DescribeJobs describes jobs with filter

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DescribeJobsOK

type DescribeJobsOK struct {
	Payload *models.OpenpitrixDescribeJobsResponse
}

DescribeJobsOK handles this case with default header values.

DescribeJobsOK describe jobs o k

func NewDescribeJobsOK

func NewDescribeJobsOK() *DescribeJobsOK

NewDescribeJobsOK creates a DescribeJobsOK with default headers values

func (*DescribeJobsOK) Error

func (o *DescribeJobsOK) Error() string

type DescribeJobsParams

type DescribeJobsParams struct {

	/*AppID*/
	AppID *string
	/*ClusterID*/
	ClusterID *string
	/*Executor*/
	Executor *string
	/*JobID*/
	JobID []string
	/*Limit
	  default is 20, max value is 200.

	*/
	Limit *int64
	/*Offset
	  default is 0.

	*/
	Offset *int64
	/*Provider*/
	Provider *string
	/*Status*/
	Status []string
	/*VersionID*/
	VersionID *string

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

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

func NewDescribeJobsParams

func NewDescribeJobsParams() *DescribeJobsParams

NewDescribeJobsParams creates a new DescribeJobsParams object with the default values initialized.

func NewDescribeJobsParamsWithContext

func NewDescribeJobsParamsWithContext(ctx context.Context) *DescribeJobsParams

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

func NewDescribeJobsParamsWithHTTPClient

func NewDescribeJobsParamsWithHTTPClient(client *http.Client) *DescribeJobsParams

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

func NewDescribeJobsParamsWithTimeout

func NewDescribeJobsParamsWithTimeout(timeout time.Duration) *DescribeJobsParams

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

func (*DescribeJobsParams) SetAppID

func (o *DescribeJobsParams) SetAppID(appID *string)

SetAppID adds the appId to the describe jobs params

func (*DescribeJobsParams) SetClusterID

func (o *DescribeJobsParams) SetClusterID(clusterID *string)

SetClusterID adds the clusterId to the describe jobs params

func (*DescribeJobsParams) SetContext

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

SetContext adds the context to the describe jobs params

func (*DescribeJobsParams) SetExecutor

func (o *DescribeJobsParams) SetExecutor(executor *string)

SetExecutor adds the executor to the describe jobs params

func (*DescribeJobsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe jobs params

func (*DescribeJobsParams) SetJobID

func (o *DescribeJobsParams) SetJobID(jobID []string)

SetJobID adds the jobId to the describe jobs params

func (*DescribeJobsParams) SetLimit

func (o *DescribeJobsParams) SetLimit(limit *int64)

SetLimit adds the limit to the describe jobs params

func (*DescribeJobsParams) SetOffset

func (o *DescribeJobsParams) SetOffset(offset *int64)

SetOffset adds the offset to the describe jobs params

func (*DescribeJobsParams) SetProvider

func (o *DescribeJobsParams) SetProvider(provider *string)

SetProvider adds the provider to the describe jobs params

func (*DescribeJobsParams) SetStatus

func (o *DescribeJobsParams) SetStatus(status []string)

SetStatus adds the status to the describe jobs params

func (*DescribeJobsParams) SetTimeout

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

SetTimeout adds the timeout to the describe jobs params

func (*DescribeJobsParams) SetVersionID

func (o *DescribeJobsParams) SetVersionID(versionID *string)

SetVersionID adds the versionId to the describe jobs params

func (*DescribeJobsParams) WithAppID

func (o *DescribeJobsParams) WithAppID(appID *string) *DescribeJobsParams

WithAppID adds the appID to the describe jobs params

func (*DescribeJobsParams) WithClusterID

func (o *DescribeJobsParams) WithClusterID(clusterID *string) *DescribeJobsParams

WithClusterID adds the clusterID to the describe jobs params

func (*DescribeJobsParams) WithContext

WithContext adds the context to the describe jobs params

func (*DescribeJobsParams) WithExecutor

func (o *DescribeJobsParams) WithExecutor(executor *string) *DescribeJobsParams

WithExecutor adds the executor to the describe jobs params

func (*DescribeJobsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe jobs params

func (*DescribeJobsParams) WithJobID

func (o *DescribeJobsParams) WithJobID(jobID []string) *DescribeJobsParams

WithJobID adds the jobID to the describe jobs params

func (*DescribeJobsParams) WithLimit

func (o *DescribeJobsParams) WithLimit(limit *int64) *DescribeJobsParams

WithLimit adds the limit to the describe jobs params

func (*DescribeJobsParams) WithOffset

func (o *DescribeJobsParams) WithOffset(offset *int64) *DescribeJobsParams

WithOffset adds the offset to the describe jobs params

func (*DescribeJobsParams) WithProvider

func (o *DescribeJobsParams) WithProvider(provider *string) *DescribeJobsParams

WithProvider adds the provider to the describe jobs params

func (*DescribeJobsParams) WithStatus

func (o *DescribeJobsParams) WithStatus(status []string) *DescribeJobsParams

WithStatus adds the status to the describe jobs params

func (*DescribeJobsParams) WithTimeout

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

WithTimeout adds the timeout to the describe jobs params

func (*DescribeJobsParams) WithVersionID

func (o *DescribeJobsParams) WithVersionID(versionID *string) *DescribeJobsParams

WithVersionID adds the versionID to the describe jobs params

func (*DescribeJobsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DescribeJobsReader

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

DescribeJobsReader is a Reader for the DescribeJobs structure.

func (*DescribeJobsReader) ReadResponse

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