Documentation ¶
Index ¶
- type Client
- type DescribeJobsOK
- type DescribeJobsParams
- func (o *DescribeJobsParams) SetAppID(appID *string)
- func (o *DescribeJobsParams) SetClusterID(clusterID *string)
- func (o *DescribeJobsParams) SetContext(ctx context.Context)
- func (o *DescribeJobsParams) SetDisplayColumns(displayColumns []string)
- func (o *DescribeJobsParams) SetExecutor(executor *string)
- func (o *DescribeJobsParams) SetHTTPClient(client *http.Client)
- func (o *DescribeJobsParams) SetJobID(jobID []string)
- func (o *DescribeJobsParams) SetLimit(limit *int64)
- func (o *DescribeJobsParams) SetOffset(offset *int64)
- func (o *DescribeJobsParams) SetOwner(owner []string)
- func (o *DescribeJobsParams) SetProvider(provider *string)
- func (o *DescribeJobsParams) SetReverse(reverse *bool)
- func (o *DescribeJobsParams) SetRuntimeID(runtimeID *string)
- func (o *DescribeJobsParams) SetSearchWord(searchWord *string)
- func (o *DescribeJobsParams) SetSortKey(sortKey *string)
- func (o *DescribeJobsParams) SetStatus(status []string)
- func (o *DescribeJobsParams) SetTimeout(timeout time.Duration)
- func (o *DescribeJobsParams) SetVersionID(versionID *string)
- func (o *DescribeJobsParams) WithAppID(appID *string) *DescribeJobsParams
- func (o *DescribeJobsParams) WithClusterID(clusterID *string) *DescribeJobsParams
- func (o *DescribeJobsParams) WithContext(ctx context.Context) *DescribeJobsParams
- func (o *DescribeJobsParams) WithDisplayColumns(displayColumns []string) *DescribeJobsParams
- func (o *DescribeJobsParams) WithExecutor(executor *string) *DescribeJobsParams
- func (o *DescribeJobsParams) WithHTTPClient(client *http.Client) *DescribeJobsParams
- func (o *DescribeJobsParams) WithJobID(jobID []string) *DescribeJobsParams
- func (o *DescribeJobsParams) WithLimit(limit *int64) *DescribeJobsParams
- func (o *DescribeJobsParams) WithOffset(offset *int64) *DescribeJobsParams
- func (o *DescribeJobsParams) WithOwner(owner []string) *DescribeJobsParams
- func (o *DescribeJobsParams) WithProvider(provider *string) *DescribeJobsParams
- func (o *DescribeJobsParams) WithReverse(reverse *bool) *DescribeJobsParams
- func (o *DescribeJobsParams) WithRuntimeID(runtimeID *string) *DescribeJobsParams
- func (o *DescribeJobsParams) WithSearchWord(searchWord *string) *DescribeJobsParams
- func (o *DescribeJobsParams) WithSortKey(sortKey *string) *DescribeJobsParams
- func (o *DescribeJobsParams) WithStatus(status []string) *DescribeJobsParams
- func (o *DescribeJobsParams) WithTimeout(timeout time.Duration) *DescribeJobsParams
- func (o *DescribeJobsParams) WithVersionID(versionID *string) *DescribeJobsParams
- func (o *DescribeJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeJobsReader
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, authInfo runtime.ClientAuthInfoWriter) (*DescribeJobsOK, error)
DescribeJobs gets job filter with these fields job id cluster id app id version id executor provider status owner default return all jobs
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.
A successful response.
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 app id. */ AppID *string /*ClusterID cluster id. */ ClusterID *string /*DisplayColumns select column to display. */ DisplayColumns []string /*Executor host name of server. */ Executor *string /*JobID job ids. */ JobID []string /*Limit data limit per page, default value 20, max value 200. */ Limit *int64 /*Offset data offset, default 0. */ Offset *int64 /*Owner owner. */ Owner []string /*Provider runtime provider eg.[qingcloud|aliyun|aws|kubernetes]. */ Provider *string /*Reverse value = 0 sort ASC, value = 1 sort DESC. */ Reverse *bool /*RuntimeID runtime id. */ RuntimeID *string /*SearchWord query key, support these fields(job_id, cluster_id, app_id, version_id, executor, provider, status, owner). */ SearchWord *string /*SortKey sort key, order by sort_key, default create_time. */ SortKey *string /*Status status eg.[successful|failed|running|pending]. */ Status []string /*VersionID specific app version id to filter result. */ 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) SetDisplayColumns ¶ added in v0.4.0
func (o *DescribeJobsParams) SetDisplayColumns(displayColumns []string)
SetDisplayColumns adds the displayColumns 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) SetOwner ¶ added in v0.2.3
func (o *DescribeJobsParams) SetOwner(owner []string)
SetOwner adds the owner 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) SetReverse ¶ added in v0.4.0
func (o *DescribeJobsParams) SetReverse(reverse *bool)
SetReverse adds the reverse to the describe jobs params
func (*DescribeJobsParams) SetRuntimeID ¶ added in v0.2.1
func (o *DescribeJobsParams) SetRuntimeID(runtimeID *string)
SetRuntimeID adds the runtimeId to the describe jobs params
func (*DescribeJobsParams) SetSearchWord ¶ added in v0.1.5
func (o *DescribeJobsParams) SetSearchWord(searchWord *string)
SetSearchWord adds the searchWord to the describe jobs params
func (*DescribeJobsParams) SetSortKey ¶ added in v0.4.0
func (o *DescribeJobsParams) SetSortKey(sortKey *string)
SetSortKey adds the sortKey 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 ¶
func (o *DescribeJobsParams) WithContext(ctx context.Context) *DescribeJobsParams
WithContext adds the context to the describe jobs params
func (*DescribeJobsParams) WithDisplayColumns ¶ added in v0.4.0
func (o *DescribeJobsParams) WithDisplayColumns(displayColumns []string) *DescribeJobsParams
WithDisplayColumns adds the displayColumns 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) WithOwner ¶ added in v0.2.3
func (o *DescribeJobsParams) WithOwner(owner []string) *DescribeJobsParams
WithOwner adds the owner 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) WithReverse ¶ added in v0.4.0
func (o *DescribeJobsParams) WithReverse(reverse *bool) *DescribeJobsParams
WithReverse adds the reverse to the describe jobs params
func (*DescribeJobsParams) WithRuntimeID ¶ added in v0.2.1
func (o *DescribeJobsParams) WithRuntimeID(runtimeID *string) *DescribeJobsParams
WithRuntimeID adds the runtimeID to the describe jobs params
func (*DescribeJobsParams) WithSearchWord ¶ added in v0.1.5
func (o *DescribeJobsParams) WithSearchWord(searchWord *string) *DescribeJobsParams
WithSearchWord adds the searchWord to the describe jobs params
func (*DescribeJobsParams) WithSortKey ¶ added in v0.4.0
func (o *DescribeJobsParams) WithSortKey(sortKey *string) *DescribeJobsParams
WithSortKey adds the sortKey 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.