Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ListExecutionsByJobOK
- type ListExecutionsByJobParams
- func NewListExecutionsByJobParams() *ListExecutionsByJobParams
- func NewListExecutionsByJobParamsWithContext(ctx context.Context) *ListExecutionsByJobParams
- func NewListExecutionsByJobParamsWithHTTPClient(client *http.Client) *ListExecutionsByJobParams
- func NewListExecutionsByJobParamsWithTimeout(timeout time.Duration) *ListExecutionsByJobParams
- func (o *ListExecutionsByJobParams) SetContext(ctx context.Context)
- func (o *ListExecutionsByJobParams) SetDefaults()
- func (o *ListExecutionsByJobParams) SetHTTPClient(client *http.Client)
- func (o *ListExecutionsByJobParams) SetJobName(jobName string)
- func (o *ListExecutionsByJobParams) SetTimeout(timeout time.Duration)
- func (o *ListExecutionsByJobParams) WithContext(ctx context.Context) *ListExecutionsByJobParams
- func (o *ListExecutionsByJobParams) WithDefaults() *ListExecutionsByJobParams
- func (o *ListExecutionsByJobParams) WithHTTPClient(client *http.Client) *ListExecutionsByJobParams
- func (o *ListExecutionsByJobParams) WithJobName(jobName string) *ListExecutionsByJobParams
- func (o *ListExecutionsByJobParams) WithTimeout(timeout time.Duration) *ListExecutionsByJobParams
- func (o *ListExecutionsByJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListExecutionsByJobReader
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 executions API
func (*Client) ListExecutionsByJob ¶
func (a *Client) ListExecutionsByJob(params *ListExecutionsByJobParams, opts ...ClientOption) (*ListExecutionsByJobOK, error)
ListExecutionsByJob List executions.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ListExecutionsByJob(params *ListExecutionsByJobParams, opts ...ClientOption) (*ListExecutionsByJobOK, 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 executions API client.
type ListExecutionsByJobOK ¶
ListExecutionsByJobOK describes a response with status code 200, with default header values.
Successful response
func NewListExecutionsByJobOK ¶
func NewListExecutionsByJobOK() *ListExecutionsByJobOK
NewListExecutionsByJobOK creates a ListExecutionsByJobOK with default headers values
func (*ListExecutionsByJobOK) Error ¶
func (o *ListExecutionsByJobOK) Error() string
func (*ListExecutionsByJobOK) GetPayload ¶
func (o *ListExecutionsByJobOK) GetPayload() []*models.Execution
type ListExecutionsByJobParams ¶
type ListExecutionsByJobParams struct { /* JobName. The job that owns the executions to be fetched. */ JobName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListExecutionsByJobParams contains all the parameters to send to the API endpoint
for the list executions by job operation. Typically these are written to a http.Request.
func NewListExecutionsByJobParams ¶
func NewListExecutionsByJobParams() *ListExecutionsByJobParams
NewListExecutionsByJobParams creates a new ListExecutionsByJobParams 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 NewListExecutionsByJobParamsWithContext ¶
func NewListExecutionsByJobParamsWithContext(ctx context.Context) *ListExecutionsByJobParams
NewListExecutionsByJobParamsWithContext creates a new ListExecutionsByJobParams object with the ability to set a context for a request.
func NewListExecutionsByJobParamsWithHTTPClient ¶
func NewListExecutionsByJobParamsWithHTTPClient(client *http.Client) *ListExecutionsByJobParams
NewListExecutionsByJobParamsWithHTTPClient creates a new ListExecutionsByJobParams object with the ability to set a custom HTTPClient for a request.
func NewListExecutionsByJobParamsWithTimeout ¶
func NewListExecutionsByJobParamsWithTimeout(timeout time.Duration) *ListExecutionsByJobParams
NewListExecutionsByJobParamsWithTimeout creates a new ListExecutionsByJobParams object with the ability to set a timeout on a request.
func (*ListExecutionsByJobParams) SetContext ¶
func (o *ListExecutionsByJobParams) SetContext(ctx context.Context)
SetContext adds the context to the list executions by job params
func (*ListExecutionsByJobParams) SetDefaults ¶
func (o *ListExecutionsByJobParams) SetDefaults()
SetDefaults hydrates default values in the list executions by job params (not the query body).
All values with no default are reset to their zero value.
func (*ListExecutionsByJobParams) SetHTTPClient ¶
func (o *ListExecutionsByJobParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list executions by job params
func (*ListExecutionsByJobParams) SetJobName ¶
func (o *ListExecutionsByJobParams) SetJobName(jobName string)
SetJobName adds the jobName to the list executions by job params
func (*ListExecutionsByJobParams) SetTimeout ¶
func (o *ListExecutionsByJobParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list executions by job params
func (*ListExecutionsByJobParams) WithContext ¶
func (o *ListExecutionsByJobParams) WithContext(ctx context.Context) *ListExecutionsByJobParams
WithContext adds the context to the list executions by job params
func (*ListExecutionsByJobParams) WithDefaults ¶
func (o *ListExecutionsByJobParams) WithDefaults() *ListExecutionsByJobParams
WithDefaults hydrates default values in the list executions by job params (not the query body).
All values with no default are reset to their zero value.
func (*ListExecutionsByJobParams) WithHTTPClient ¶
func (o *ListExecutionsByJobParams) WithHTTPClient(client *http.Client) *ListExecutionsByJobParams
WithHTTPClient adds the HTTPClient to the list executions by job params
func (*ListExecutionsByJobParams) WithJobName ¶
func (o *ListExecutionsByJobParams) WithJobName(jobName string) *ListExecutionsByJobParams
WithJobName adds the jobName to the list executions by job params
func (*ListExecutionsByJobParams) WithTimeout ¶
func (o *ListExecutionsByJobParams) WithTimeout(timeout time.Duration) *ListExecutionsByJobParams
WithTimeout adds the timeout to the list executions by job params
func (*ListExecutionsByJobParams) WriteToRequest ¶
func (o *ListExecutionsByJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListExecutionsByJobReader ¶
type ListExecutionsByJobReader struct {
// contains filtered or unexported fields
}
ListExecutionsByJobReader is a Reader for the ListExecutionsByJob structure.
func (*ListExecutionsByJobReader) ReadResponse ¶
func (o *ListExecutionsByJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.