Documentation ¶
Index ¶
- type ArchiveRunDefault
- type ArchiveRunOK
- type ArchiveRunParams
- func (o *ArchiveRunParams) SetContext(ctx context.Context)
- func (o *ArchiveRunParams) SetHTTPClient(client *http.Client)
- func (o *ArchiveRunParams) SetID(id string)
- func (o *ArchiveRunParams) SetTimeout(timeout time.Duration)
- func (o *ArchiveRunParams) WithContext(ctx context.Context) *ArchiveRunParams
- func (o *ArchiveRunParams) WithHTTPClient(client *http.Client) *ArchiveRunParams
- func (o *ArchiveRunParams) WithID(id string) *ArchiveRunParams
- func (o *ArchiveRunParams) WithTimeout(timeout time.Duration) *ArchiveRunParams
- func (o *ArchiveRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArchiveRunReader
- type Client
- func (a *Client) ArchiveRun(params *ArchiveRunParams, authInfo runtime.ClientAuthInfoWriter) (*ArchiveRunOK, error)
- func (a *Client) CreateRun(params *CreateRunParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRunOK, error)
- func (a *Client) DeleteRun(params *DeleteRunParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRunOK, error)
- func (a *Client) GetRun(params *GetRunParams, authInfo runtime.ClientAuthInfoWriter) (*GetRunOK, error)
- func (a *Client) ListRuns(params *ListRunsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRunsOK, error)
- func (a *Client) ReadArtifact(params *ReadArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*ReadArtifactOK, error)
- func (a *Client) ReportRunMetrics(params *ReportRunMetricsParams, authInfo runtime.ClientAuthInfoWriter) (*ReportRunMetricsOK, error)
- func (a *Client) RetryRun(params *RetryRunParams, authInfo runtime.ClientAuthInfoWriter) (*RetryRunOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TerminateRun(params *TerminateRunParams, authInfo runtime.ClientAuthInfoWriter) (*TerminateRunOK, error)
- func (a *Client) UnarchiveRun(params *UnarchiveRunParams, authInfo runtime.ClientAuthInfoWriter) (*UnarchiveRunOK, error)
- type CreateRunDefault
- type CreateRunOK
- type CreateRunParams
- func (o *CreateRunParams) SetBody(body *run_model.APIRun)
- func (o *CreateRunParams) SetContext(ctx context.Context)
- func (o *CreateRunParams) SetHTTPClient(client *http.Client)
- func (o *CreateRunParams) SetTimeout(timeout time.Duration)
- func (o *CreateRunParams) WithBody(body *run_model.APIRun) *CreateRunParams
- func (o *CreateRunParams) WithContext(ctx context.Context) *CreateRunParams
- func (o *CreateRunParams) WithHTTPClient(client *http.Client) *CreateRunParams
- func (o *CreateRunParams) WithTimeout(timeout time.Duration) *CreateRunParams
- func (o *CreateRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRunReader
- type DeleteRunDefault
- type DeleteRunOK
- type DeleteRunParams
- func (o *DeleteRunParams) SetContext(ctx context.Context)
- func (o *DeleteRunParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRunParams) SetID(id string)
- func (o *DeleteRunParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRunParams) WithContext(ctx context.Context) *DeleteRunParams
- func (o *DeleteRunParams) WithHTTPClient(client *http.Client) *DeleteRunParams
- func (o *DeleteRunParams) WithID(id string) *DeleteRunParams
- func (o *DeleteRunParams) WithTimeout(timeout time.Duration) *DeleteRunParams
- func (o *DeleteRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRunReader
- type GetRunDefault
- type GetRunOK
- type GetRunParams
- func (o *GetRunParams) SetContext(ctx context.Context)
- func (o *GetRunParams) SetHTTPClient(client *http.Client)
- func (o *GetRunParams) SetRunID(runID string)
- func (o *GetRunParams) SetTimeout(timeout time.Duration)
- func (o *GetRunParams) WithContext(ctx context.Context) *GetRunParams
- func (o *GetRunParams) WithHTTPClient(client *http.Client) *GetRunParams
- func (o *GetRunParams) WithRunID(runID string) *GetRunParams
- func (o *GetRunParams) WithTimeout(timeout time.Duration) *GetRunParams
- func (o *GetRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRunReader
- type ListRunsDefault
- type ListRunsOK
- type ListRunsParams
- func (o *ListRunsParams) SetContext(ctx context.Context)
- func (o *ListRunsParams) SetFilter(filter *string)
- func (o *ListRunsParams) SetHTTPClient(client *http.Client)
- func (o *ListRunsParams) SetPageSize(pageSize *int32)
- func (o *ListRunsParams) SetPageToken(pageToken *string)
- func (o *ListRunsParams) SetResourceReferenceKeyID(resourceReferenceKeyID *string)
- func (o *ListRunsParams) SetResourceReferenceKeyType(resourceReferenceKeyType *string)
- func (o *ListRunsParams) SetSortBy(sortBy *string)
- func (o *ListRunsParams) SetTimeout(timeout time.Duration)
- func (o *ListRunsParams) WithContext(ctx context.Context) *ListRunsParams
- func (o *ListRunsParams) WithFilter(filter *string) *ListRunsParams
- func (o *ListRunsParams) WithHTTPClient(client *http.Client) *ListRunsParams
- func (o *ListRunsParams) WithPageSize(pageSize *int32) *ListRunsParams
- func (o *ListRunsParams) WithPageToken(pageToken *string) *ListRunsParams
- func (o *ListRunsParams) WithResourceReferenceKeyID(resourceReferenceKeyID *string) *ListRunsParams
- func (o *ListRunsParams) WithResourceReferenceKeyType(resourceReferenceKeyType *string) *ListRunsParams
- func (o *ListRunsParams) WithSortBy(sortBy *string) *ListRunsParams
- func (o *ListRunsParams) WithTimeout(timeout time.Duration) *ListRunsParams
- func (o *ListRunsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRunsReader
- type ReadArtifactDefault
- type ReadArtifactOK
- type ReadArtifactParams
- func (o *ReadArtifactParams) SetArtifactName(artifactName string)
- func (o *ReadArtifactParams) SetContext(ctx context.Context)
- func (o *ReadArtifactParams) SetHTTPClient(client *http.Client)
- func (o *ReadArtifactParams) SetNodeID(nodeID string)
- func (o *ReadArtifactParams) SetRunID(runID string)
- func (o *ReadArtifactParams) SetTimeout(timeout time.Duration)
- func (o *ReadArtifactParams) WithArtifactName(artifactName string) *ReadArtifactParams
- func (o *ReadArtifactParams) WithContext(ctx context.Context) *ReadArtifactParams
- func (o *ReadArtifactParams) WithHTTPClient(client *http.Client) *ReadArtifactParams
- func (o *ReadArtifactParams) WithNodeID(nodeID string) *ReadArtifactParams
- func (o *ReadArtifactParams) WithRunID(runID string) *ReadArtifactParams
- func (o *ReadArtifactParams) WithTimeout(timeout time.Duration) *ReadArtifactParams
- func (o *ReadArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadArtifactReader
- type ReportRunMetricsDefault
- type ReportRunMetricsOK
- type ReportRunMetricsParams
- func NewReportRunMetricsParams() *ReportRunMetricsParams
- func NewReportRunMetricsParamsWithContext(ctx context.Context) *ReportRunMetricsParams
- func NewReportRunMetricsParamsWithHTTPClient(client *http.Client) *ReportRunMetricsParams
- func NewReportRunMetricsParamsWithTimeout(timeout time.Duration) *ReportRunMetricsParams
- func (o *ReportRunMetricsParams) SetBody(body *run_model.APIReportRunMetricsRequest)
- func (o *ReportRunMetricsParams) SetContext(ctx context.Context)
- func (o *ReportRunMetricsParams) SetHTTPClient(client *http.Client)
- func (o *ReportRunMetricsParams) SetRunID(runID string)
- func (o *ReportRunMetricsParams) SetTimeout(timeout time.Duration)
- func (o *ReportRunMetricsParams) WithBody(body *run_model.APIReportRunMetricsRequest) *ReportRunMetricsParams
- func (o *ReportRunMetricsParams) WithContext(ctx context.Context) *ReportRunMetricsParams
- func (o *ReportRunMetricsParams) WithHTTPClient(client *http.Client) *ReportRunMetricsParams
- func (o *ReportRunMetricsParams) WithRunID(runID string) *ReportRunMetricsParams
- func (o *ReportRunMetricsParams) WithTimeout(timeout time.Duration) *ReportRunMetricsParams
- func (o *ReportRunMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReportRunMetricsReader
- type RetryRunDefault
- type RetryRunOK
- type RetryRunParams
- func (o *RetryRunParams) SetContext(ctx context.Context)
- func (o *RetryRunParams) SetHTTPClient(client *http.Client)
- func (o *RetryRunParams) SetRunID(runID string)
- func (o *RetryRunParams) SetTimeout(timeout time.Duration)
- func (o *RetryRunParams) WithContext(ctx context.Context) *RetryRunParams
- func (o *RetryRunParams) WithHTTPClient(client *http.Client) *RetryRunParams
- func (o *RetryRunParams) WithRunID(runID string) *RetryRunParams
- func (o *RetryRunParams) WithTimeout(timeout time.Duration) *RetryRunParams
- func (o *RetryRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetryRunReader
- type TerminateRunDefault
- type TerminateRunOK
- type TerminateRunParams
- func (o *TerminateRunParams) SetContext(ctx context.Context)
- func (o *TerminateRunParams) SetHTTPClient(client *http.Client)
- func (o *TerminateRunParams) SetRunID(runID string)
- func (o *TerminateRunParams) SetTimeout(timeout time.Duration)
- func (o *TerminateRunParams) WithContext(ctx context.Context) *TerminateRunParams
- func (o *TerminateRunParams) WithHTTPClient(client *http.Client) *TerminateRunParams
- func (o *TerminateRunParams) WithRunID(runID string) *TerminateRunParams
- func (o *TerminateRunParams) WithTimeout(timeout time.Duration) *TerminateRunParams
- func (o *TerminateRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TerminateRunReader
- type UnarchiveRunDefault
- type UnarchiveRunOK
- type UnarchiveRunParams
- func (o *UnarchiveRunParams) SetContext(ctx context.Context)
- func (o *UnarchiveRunParams) SetHTTPClient(client *http.Client)
- func (o *UnarchiveRunParams) SetID(id string)
- func (o *UnarchiveRunParams) SetTimeout(timeout time.Duration)
- func (o *UnarchiveRunParams) WithContext(ctx context.Context) *UnarchiveRunParams
- func (o *UnarchiveRunParams) WithHTTPClient(client *http.Client) *UnarchiveRunParams
- func (o *UnarchiveRunParams) WithID(id string) *UnarchiveRunParams
- func (o *UnarchiveRunParams) WithTimeout(timeout time.Duration) *UnarchiveRunParams
- func (o *UnarchiveRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnarchiveRunReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveRunDefault ¶
type ArchiveRunDefault struct { Payload *run_model.APIStatus // contains filtered or unexported fields }
ArchiveRunDefault handles this case with default header values.
ArchiveRunDefault archive run default
func NewArchiveRunDefault ¶
func NewArchiveRunDefault(code int) *ArchiveRunDefault
NewArchiveRunDefault creates a ArchiveRunDefault with default headers values
func (*ArchiveRunDefault) Code ¶
func (o *ArchiveRunDefault) Code() int
Code gets the status code for the archive run default response
func (*ArchiveRunDefault) Error ¶
func (o *ArchiveRunDefault) Error() string
type ArchiveRunOK ¶
type ArchiveRunOK struct {
Payload interface{}
}
ArchiveRunOK handles this case with default header values.
A successful response.
func NewArchiveRunOK ¶
func NewArchiveRunOK() *ArchiveRunOK
NewArchiveRunOK creates a ArchiveRunOK with default headers values
func (*ArchiveRunOK) Error ¶
func (o *ArchiveRunOK) Error() string
type ArchiveRunParams ¶
type ArchiveRunParams struct { /*ID The ID of the run to be archived. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ArchiveRunParams contains all the parameters to send to the API endpoint for the archive run operation typically these are written to a http.Request
func NewArchiveRunParams ¶
func NewArchiveRunParams() *ArchiveRunParams
NewArchiveRunParams creates a new ArchiveRunParams object with the default values initialized.
func NewArchiveRunParamsWithContext ¶
func NewArchiveRunParamsWithContext(ctx context.Context) *ArchiveRunParams
NewArchiveRunParamsWithContext creates a new ArchiveRunParams object with the default values initialized, and the ability to set a context for a request
func NewArchiveRunParamsWithHTTPClient ¶
func NewArchiveRunParamsWithHTTPClient(client *http.Client) *ArchiveRunParams
NewArchiveRunParamsWithHTTPClient creates a new ArchiveRunParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewArchiveRunParamsWithTimeout ¶
func NewArchiveRunParamsWithTimeout(timeout time.Duration) *ArchiveRunParams
NewArchiveRunParamsWithTimeout creates a new ArchiveRunParams object with the default values initialized, and the ability to set a timeout on a request
func (*ArchiveRunParams) SetContext ¶
func (o *ArchiveRunParams) SetContext(ctx context.Context)
SetContext adds the context to the archive run params
func (*ArchiveRunParams) SetHTTPClient ¶
func (o *ArchiveRunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the archive run params
func (*ArchiveRunParams) SetID ¶
func (o *ArchiveRunParams) SetID(id string)
SetID adds the id to the archive run params
func (*ArchiveRunParams) SetTimeout ¶
func (o *ArchiveRunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the archive run params
func (*ArchiveRunParams) WithContext ¶
func (o *ArchiveRunParams) WithContext(ctx context.Context) *ArchiveRunParams
WithContext adds the context to the archive run params
func (*ArchiveRunParams) WithHTTPClient ¶
func (o *ArchiveRunParams) WithHTTPClient(client *http.Client) *ArchiveRunParams
WithHTTPClient adds the HTTPClient to the archive run params
func (*ArchiveRunParams) WithID ¶
func (o *ArchiveRunParams) WithID(id string) *ArchiveRunParams
WithID adds the id to the archive run params
func (*ArchiveRunParams) WithTimeout ¶
func (o *ArchiveRunParams) WithTimeout(timeout time.Duration) *ArchiveRunParams
WithTimeout adds the timeout to the archive run params
func (*ArchiveRunParams) WriteToRequest ¶
func (o *ArchiveRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ArchiveRunReader ¶
type ArchiveRunReader struct {
// contains filtered or unexported fields
}
ArchiveRunReader is a Reader for the ArchiveRun structure.
func (*ArchiveRunReader) ReadResponse ¶
func (o *ArchiveRunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for run service API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new run service API client.
func (*Client) ArchiveRun ¶
func (a *Client) ArchiveRun(params *ArchiveRunParams, authInfo runtime.ClientAuthInfoWriter) (*ArchiveRunOK, error)
ArchiveRun archives a run
func (*Client) CreateRun ¶
func (a *Client) CreateRun(params *CreateRunParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRunOK, error)
CreateRun creates a new run
func (*Client) DeleteRun ¶
func (a *Client) DeleteRun(params *DeleteRunParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRunOK, error)
DeleteRun deletes a run
func (*Client) GetRun ¶
func (a *Client) GetRun(params *GetRunParams, authInfo runtime.ClientAuthInfoWriter) (*GetRunOK, error)
GetRun finds a specific run by ID
func (*Client) ListRuns ¶
func (a *Client) ListRuns(params *ListRunsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRunsOK, error)
ListRuns finds all runs
func (*Client) ReadArtifact ¶
func (a *Client) ReadArtifact(params *ReadArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*ReadArtifactOK, error)
ReadArtifact finds a run s artifact data
func (*Client) ReportRunMetrics ¶
func (a *Client) ReportRunMetrics(params *ReportRunMetricsParams, authInfo runtime.ClientAuthInfoWriter) (*ReportRunMetricsOK, error)
ReportRunMetrics reports run metrics reports metrics of a run each metric is reported in its own transaction so this API accepts partial failures metric can be uniquely identified by run id node id name duplicate reporting will be ignored by the API first reporting wins
func (*Client) RetryRun ¶
func (a *Client) RetryRun(params *RetryRunParams, authInfo runtime.ClientAuthInfoWriter) (*RetryRunOK, error)
RetryRun res initiates a failed or terminated run
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TerminateRun ¶
func (a *Client) TerminateRun(params *TerminateRunParams, authInfo runtime.ClientAuthInfoWriter) (*TerminateRunOK, error)
TerminateRun terminates an active run
func (*Client) UnarchiveRun ¶
func (a *Client) UnarchiveRun(params *UnarchiveRunParams, authInfo runtime.ClientAuthInfoWriter) (*UnarchiveRunOK, error)
UnarchiveRun restores an archived run
type CreateRunDefault ¶
type CreateRunDefault struct { Payload *run_model.APIStatus // contains filtered or unexported fields }
CreateRunDefault handles this case with default header values.
CreateRunDefault create run default
func NewCreateRunDefault ¶
func NewCreateRunDefault(code int) *CreateRunDefault
NewCreateRunDefault creates a CreateRunDefault with default headers values
func (*CreateRunDefault) Code ¶
func (o *CreateRunDefault) Code() int
Code gets the status code for the create run default response
func (*CreateRunDefault) Error ¶
func (o *CreateRunDefault) Error() string
type CreateRunOK ¶
type CreateRunOK struct {
Payload *run_model.APIRunDetail
}
CreateRunOK handles this case with default header values.
A successful response.
func NewCreateRunOK ¶
func NewCreateRunOK() *CreateRunOK
NewCreateRunOK creates a CreateRunOK with default headers values
func (*CreateRunOK) Error ¶
func (o *CreateRunOK) Error() string
type CreateRunParams ¶
type CreateRunParams struct { /*Body*/ Body *run_model.APIRun Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRunParams contains all the parameters to send to the API endpoint for the create run operation typically these are written to a http.Request
func NewCreateRunParams ¶
func NewCreateRunParams() *CreateRunParams
NewCreateRunParams creates a new CreateRunParams object with the default values initialized.
func NewCreateRunParamsWithContext ¶
func NewCreateRunParamsWithContext(ctx context.Context) *CreateRunParams
NewCreateRunParamsWithContext creates a new CreateRunParams object with the default values initialized, and the ability to set a context for a request
func NewCreateRunParamsWithHTTPClient ¶
func NewCreateRunParamsWithHTTPClient(client *http.Client) *CreateRunParams
NewCreateRunParamsWithHTTPClient creates a new CreateRunParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateRunParamsWithTimeout ¶
func NewCreateRunParamsWithTimeout(timeout time.Duration) *CreateRunParams
NewCreateRunParamsWithTimeout creates a new CreateRunParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateRunParams) SetBody ¶
func (o *CreateRunParams) SetBody(body *run_model.APIRun)
SetBody adds the body to the create run params
func (*CreateRunParams) SetContext ¶
func (o *CreateRunParams) SetContext(ctx context.Context)
SetContext adds the context to the create run params
func (*CreateRunParams) SetHTTPClient ¶
func (o *CreateRunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create run params
func (*CreateRunParams) SetTimeout ¶
func (o *CreateRunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create run params
func (*CreateRunParams) WithBody ¶
func (o *CreateRunParams) WithBody(body *run_model.APIRun) *CreateRunParams
WithBody adds the body to the create run params
func (*CreateRunParams) WithContext ¶
func (o *CreateRunParams) WithContext(ctx context.Context) *CreateRunParams
WithContext adds the context to the create run params
func (*CreateRunParams) WithHTTPClient ¶
func (o *CreateRunParams) WithHTTPClient(client *http.Client) *CreateRunParams
WithHTTPClient adds the HTTPClient to the create run params
func (*CreateRunParams) WithTimeout ¶
func (o *CreateRunParams) WithTimeout(timeout time.Duration) *CreateRunParams
WithTimeout adds the timeout to the create run params
func (*CreateRunParams) WriteToRequest ¶
func (o *CreateRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRunReader ¶
type CreateRunReader struct {
// contains filtered or unexported fields
}
CreateRunReader is a Reader for the CreateRun structure.
func (*CreateRunReader) ReadResponse ¶
func (o *CreateRunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRunDefault ¶
type DeleteRunDefault struct { Payload *run_model.APIStatus // contains filtered or unexported fields }
DeleteRunDefault handles this case with default header values.
DeleteRunDefault delete run default
func NewDeleteRunDefault ¶
func NewDeleteRunDefault(code int) *DeleteRunDefault
NewDeleteRunDefault creates a DeleteRunDefault with default headers values
func (*DeleteRunDefault) Code ¶
func (o *DeleteRunDefault) Code() int
Code gets the status code for the delete run default response
func (*DeleteRunDefault) Error ¶
func (o *DeleteRunDefault) Error() string
type DeleteRunOK ¶
type DeleteRunOK struct {
Payload interface{}
}
DeleteRunOK handles this case with default header values.
A successful response.
func NewDeleteRunOK ¶
func NewDeleteRunOK() *DeleteRunOK
NewDeleteRunOK creates a DeleteRunOK with default headers values
func (*DeleteRunOK) Error ¶
func (o *DeleteRunOK) Error() string
type DeleteRunParams ¶
type DeleteRunParams struct { /*ID The ID of the run to be deleted. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRunParams contains all the parameters to send to the API endpoint for the delete run operation typically these are written to a http.Request
func NewDeleteRunParams ¶
func NewDeleteRunParams() *DeleteRunParams
NewDeleteRunParams creates a new DeleteRunParams object with the default values initialized.
func NewDeleteRunParamsWithContext ¶
func NewDeleteRunParamsWithContext(ctx context.Context) *DeleteRunParams
NewDeleteRunParamsWithContext creates a new DeleteRunParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRunParamsWithHTTPClient ¶
func NewDeleteRunParamsWithHTTPClient(client *http.Client) *DeleteRunParams
NewDeleteRunParamsWithHTTPClient creates a new DeleteRunParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRunParamsWithTimeout ¶
func NewDeleteRunParamsWithTimeout(timeout time.Duration) *DeleteRunParams
NewDeleteRunParamsWithTimeout creates a new DeleteRunParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRunParams) SetContext ¶
func (o *DeleteRunParams) SetContext(ctx context.Context)
SetContext adds the context to the delete run params
func (*DeleteRunParams) SetHTTPClient ¶
func (o *DeleteRunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete run params
func (*DeleteRunParams) SetID ¶
func (o *DeleteRunParams) SetID(id string)
SetID adds the id to the delete run params
func (*DeleteRunParams) SetTimeout ¶
func (o *DeleteRunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete run params
func (*DeleteRunParams) WithContext ¶
func (o *DeleteRunParams) WithContext(ctx context.Context) *DeleteRunParams
WithContext adds the context to the delete run params
func (*DeleteRunParams) WithHTTPClient ¶
func (o *DeleteRunParams) WithHTTPClient(client *http.Client) *DeleteRunParams
WithHTTPClient adds the HTTPClient to the delete run params
func (*DeleteRunParams) WithID ¶
func (o *DeleteRunParams) WithID(id string) *DeleteRunParams
WithID adds the id to the delete run params
func (*DeleteRunParams) WithTimeout ¶
func (o *DeleteRunParams) WithTimeout(timeout time.Duration) *DeleteRunParams
WithTimeout adds the timeout to the delete run params
func (*DeleteRunParams) WriteToRequest ¶
func (o *DeleteRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRunReader ¶
type DeleteRunReader struct {
// contains filtered or unexported fields
}
DeleteRunReader is a Reader for the DeleteRun structure.
func (*DeleteRunReader) ReadResponse ¶
func (o *DeleteRunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRunDefault ¶
type GetRunDefault struct { Payload *run_model.APIStatus // contains filtered or unexported fields }
GetRunDefault handles this case with default header values.
GetRunDefault get run default
func NewGetRunDefault ¶
func NewGetRunDefault(code int) *GetRunDefault
NewGetRunDefault creates a GetRunDefault with default headers values
func (*GetRunDefault) Code ¶
func (o *GetRunDefault) Code() int
Code gets the status code for the get run default response
func (*GetRunDefault) Error ¶
func (o *GetRunDefault) Error() string
type GetRunOK ¶
type GetRunOK struct {
Payload *run_model.APIRunDetail
}
GetRunOK handles this case with default header values.
A successful response.
func NewGetRunOK ¶
func NewGetRunOK() *GetRunOK
NewGetRunOK creates a GetRunOK with default headers values
type GetRunParams ¶
type GetRunParams struct { /*RunID The ID of the run to be retrieved. */ RunID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRunParams contains all the parameters to send to the API endpoint for the get run operation typically these are written to a http.Request
func NewGetRunParams ¶
func NewGetRunParams() *GetRunParams
NewGetRunParams creates a new GetRunParams object with the default values initialized.
func NewGetRunParamsWithContext ¶
func NewGetRunParamsWithContext(ctx context.Context) *GetRunParams
NewGetRunParamsWithContext creates a new GetRunParams object with the default values initialized, and the ability to set a context for a request
func NewGetRunParamsWithHTTPClient ¶
func NewGetRunParamsWithHTTPClient(client *http.Client) *GetRunParams
NewGetRunParamsWithHTTPClient creates a new GetRunParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRunParamsWithTimeout ¶
func NewGetRunParamsWithTimeout(timeout time.Duration) *GetRunParams
NewGetRunParamsWithTimeout creates a new GetRunParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRunParams) SetContext ¶
func (o *GetRunParams) SetContext(ctx context.Context)
SetContext adds the context to the get run params
func (*GetRunParams) SetHTTPClient ¶
func (o *GetRunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get run params
func (*GetRunParams) SetRunID ¶
func (o *GetRunParams) SetRunID(runID string)
SetRunID adds the runId to the get run params
func (*GetRunParams) SetTimeout ¶
func (o *GetRunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get run params
func (*GetRunParams) WithContext ¶
func (o *GetRunParams) WithContext(ctx context.Context) *GetRunParams
WithContext adds the context to the get run params
func (*GetRunParams) WithHTTPClient ¶
func (o *GetRunParams) WithHTTPClient(client *http.Client) *GetRunParams
WithHTTPClient adds the HTTPClient to the get run params
func (*GetRunParams) WithRunID ¶
func (o *GetRunParams) WithRunID(runID string) *GetRunParams
WithRunID adds the runID to the get run params
func (*GetRunParams) WithTimeout ¶
func (o *GetRunParams) WithTimeout(timeout time.Duration) *GetRunParams
WithTimeout adds the timeout to the get run params
func (*GetRunParams) WriteToRequest ¶
func (o *GetRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRunReader ¶
type GetRunReader struct {
// contains filtered or unexported fields
}
GetRunReader is a Reader for the GetRun structure.
func (*GetRunReader) ReadResponse ¶
func (o *GetRunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRunsDefault ¶
type ListRunsDefault struct { Payload *run_model.APIStatus // contains filtered or unexported fields }
ListRunsDefault handles this case with default header values.
ListRunsDefault list runs default
func NewListRunsDefault ¶
func NewListRunsDefault(code int) *ListRunsDefault
NewListRunsDefault creates a ListRunsDefault with default headers values
func (*ListRunsDefault) Code ¶
func (o *ListRunsDefault) Code() int
Code gets the status code for the list runs default response
func (*ListRunsDefault) Error ¶
func (o *ListRunsDefault) Error() string
type ListRunsOK ¶
type ListRunsOK struct {
Payload *run_model.APIListRunsResponse
}
ListRunsOK handles this case with default header values.
A successful response.
func NewListRunsOK ¶
func NewListRunsOK() *ListRunsOK
NewListRunsOK creates a ListRunsOK with default headers values
func (*ListRunsOK) Error ¶
func (o *ListRunsOK) Error() string
type ListRunsParams ¶
type ListRunsParams 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 The number of runs to be listed per page. If there are more runs than this number, the response message will contain a nextPageToken field you can use to fetch the next page. */ PageSize *int32 /*PageToken A page token to request the next page of results. The token is acquried from the nextPageToken field of the response from the previous ListRuns call or can be omitted when fetching the first page. */ 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 desc" (Example, "name asc" or "id desc"). Ascending by default. */ SortBy *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRunsParams contains all the parameters to send to the API endpoint for the list runs operation typically these are written to a http.Request
func NewListRunsParams ¶
func NewListRunsParams() *ListRunsParams
NewListRunsParams creates a new ListRunsParams object with the default values initialized.
func NewListRunsParamsWithContext ¶
func NewListRunsParamsWithContext(ctx context.Context) *ListRunsParams
NewListRunsParamsWithContext creates a new ListRunsParams object with the default values initialized, and the ability to set a context for a request
func NewListRunsParamsWithHTTPClient ¶
func NewListRunsParamsWithHTTPClient(client *http.Client) *ListRunsParams
NewListRunsParamsWithHTTPClient creates a new ListRunsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListRunsParamsWithTimeout ¶
func NewListRunsParamsWithTimeout(timeout time.Duration) *ListRunsParams
NewListRunsParamsWithTimeout creates a new ListRunsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListRunsParams) SetContext ¶
func (o *ListRunsParams) SetContext(ctx context.Context)
SetContext adds the context to the list runs params
func (*ListRunsParams) SetFilter ¶
func (o *ListRunsParams) SetFilter(filter *string)
SetFilter adds the filter to the list runs params
func (*ListRunsParams) SetHTTPClient ¶
func (o *ListRunsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list runs params
func (*ListRunsParams) SetPageSize ¶
func (o *ListRunsParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the list runs params
func (*ListRunsParams) SetPageToken ¶
func (o *ListRunsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list runs params
func (*ListRunsParams) SetResourceReferenceKeyID ¶
func (o *ListRunsParams) SetResourceReferenceKeyID(resourceReferenceKeyID *string)
SetResourceReferenceKeyID adds the resourceReferenceKeyId to the list runs params
func (*ListRunsParams) SetResourceReferenceKeyType ¶
func (o *ListRunsParams) SetResourceReferenceKeyType(resourceReferenceKeyType *string)
SetResourceReferenceKeyType adds the resourceReferenceKeyType to the list runs params
func (*ListRunsParams) SetSortBy ¶
func (o *ListRunsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the list runs params
func (*ListRunsParams) SetTimeout ¶
func (o *ListRunsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list runs params
func (*ListRunsParams) WithContext ¶
func (o *ListRunsParams) WithContext(ctx context.Context) *ListRunsParams
WithContext adds the context to the list runs params
func (*ListRunsParams) WithFilter ¶
func (o *ListRunsParams) WithFilter(filter *string) *ListRunsParams
WithFilter adds the filter to the list runs params
func (*ListRunsParams) WithHTTPClient ¶
func (o *ListRunsParams) WithHTTPClient(client *http.Client) *ListRunsParams
WithHTTPClient adds the HTTPClient to the list runs params
func (*ListRunsParams) WithPageSize ¶
func (o *ListRunsParams) WithPageSize(pageSize *int32) *ListRunsParams
WithPageSize adds the pageSize to the list runs params
func (*ListRunsParams) WithPageToken ¶
func (o *ListRunsParams) WithPageToken(pageToken *string) *ListRunsParams
WithPageToken adds the pageToken to the list runs params
func (*ListRunsParams) WithResourceReferenceKeyID ¶
func (o *ListRunsParams) WithResourceReferenceKeyID(resourceReferenceKeyID *string) *ListRunsParams
WithResourceReferenceKeyID adds the resourceReferenceKeyID to the list runs params
func (*ListRunsParams) WithResourceReferenceKeyType ¶
func (o *ListRunsParams) WithResourceReferenceKeyType(resourceReferenceKeyType *string) *ListRunsParams
WithResourceReferenceKeyType adds the resourceReferenceKeyType to the list runs params
func (*ListRunsParams) WithSortBy ¶
func (o *ListRunsParams) WithSortBy(sortBy *string) *ListRunsParams
WithSortBy adds the sortBy to the list runs params
func (*ListRunsParams) WithTimeout ¶
func (o *ListRunsParams) WithTimeout(timeout time.Duration) *ListRunsParams
WithTimeout adds the timeout to the list runs params
func (*ListRunsParams) WriteToRequest ¶
func (o *ListRunsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRunsReader ¶
type ListRunsReader struct {
// contains filtered or unexported fields
}
ListRunsReader is a Reader for the ListRuns structure.
func (*ListRunsReader) ReadResponse ¶
func (o *ListRunsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadArtifactDefault ¶
type ReadArtifactDefault struct { Payload *run_model.APIStatus // contains filtered or unexported fields }
ReadArtifactDefault handles this case with default header values.
ReadArtifactDefault read artifact default
func NewReadArtifactDefault ¶
func NewReadArtifactDefault(code int) *ReadArtifactDefault
NewReadArtifactDefault creates a ReadArtifactDefault with default headers values
func (*ReadArtifactDefault) Code ¶
func (o *ReadArtifactDefault) Code() int
Code gets the status code for the read artifact default response
func (*ReadArtifactDefault) Error ¶
func (o *ReadArtifactDefault) Error() string
type ReadArtifactOK ¶
type ReadArtifactOK struct {
Payload *run_model.APIReadArtifactResponse
}
ReadArtifactOK handles this case with default header values.
A successful response.
func NewReadArtifactOK ¶
func NewReadArtifactOK() *ReadArtifactOK
NewReadArtifactOK creates a ReadArtifactOK with default headers values
func (*ReadArtifactOK) Error ¶
func (o *ReadArtifactOK) Error() string
type ReadArtifactParams ¶
type ReadArtifactParams struct { /*ArtifactName The name of the artifact. */ ArtifactName string /*NodeID The ID of the running node. */ NodeID string /*RunID The ID of the run. */ RunID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadArtifactParams contains all the parameters to send to the API endpoint for the read artifact operation typically these are written to a http.Request
func NewReadArtifactParams ¶
func NewReadArtifactParams() *ReadArtifactParams
NewReadArtifactParams creates a new ReadArtifactParams object with the default values initialized.
func NewReadArtifactParamsWithContext ¶
func NewReadArtifactParamsWithContext(ctx context.Context) *ReadArtifactParams
NewReadArtifactParamsWithContext creates a new ReadArtifactParams object with the default values initialized, and the ability to set a context for a request
func NewReadArtifactParamsWithHTTPClient ¶
func NewReadArtifactParamsWithHTTPClient(client *http.Client) *ReadArtifactParams
NewReadArtifactParamsWithHTTPClient creates a new ReadArtifactParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReadArtifactParamsWithTimeout ¶
func NewReadArtifactParamsWithTimeout(timeout time.Duration) *ReadArtifactParams
NewReadArtifactParamsWithTimeout creates a new ReadArtifactParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReadArtifactParams) SetArtifactName ¶
func (o *ReadArtifactParams) SetArtifactName(artifactName string)
SetArtifactName adds the artifactName to the read artifact params
func (*ReadArtifactParams) SetContext ¶
func (o *ReadArtifactParams) SetContext(ctx context.Context)
SetContext adds the context to the read artifact params
func (*ReadArtifactParams) SetHTTPClient ¶
func (o *ReadArtifactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read artifact params
func (*ReadArtifactParams) SetNodeID ¶
func (o *ReadArtifactParams) SetNodeID(nodeID string)
SetNodeID adds the nodeId to the read artifact params
func (*ReadArtifactParams) SetRunID ¶
func (o *ReadArtifactParams) SetRunID(runID string)
SetRunID adds the runId to the read artifact params
func (*ReadArtifactParams) SetTimeout ¶
func (o *ReadArtifactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read artifact params
func (*ReadArtifactParams) WithArtifactName ¶
func (o *ReadArtifactParams) WithArtifactName(artifactName string) *ReadArtifactParams
WithArtifactName adds the artifactName to the read artifact params
func (*ReadArtifactParams) WithContext ¶
func (o *ReadArtifactParams) WithContext(ctx context.Context) *ReadArtifactParams
WithContext adds the context to the read artifact params
func (*ReadArtifactParams) WithHTTPClient ¶
func (o *ReadArtifactParams) WithHTTPClient(client *http.Client) *ReadArtifactParams
WithHTTPClient adds the HTTPClient to the read artifact params
func (*ReadArtifactParams) WithNodeID ¶
func (o *ReadArtifactParams) WithNodeID(nodeID string) *ReadArtifactParams
WithNodeID adds the nodeID to the read artifact params
func (*ReadArtifactParams) WithRunID ¶
func (o *ReadArtifactParams) WithRunID(runID string) *ReadArtifactParams
WithRunID adds the runID to the read artifact params
func (*ReadArtifactParams) WithTimeout ¶
func (o *ReadArtifactParams) WithTimeout(timeout time.Duration) *ReadArtifactParams
WithTimeout adds the timeout to the read artifact params
func (*ReadArtifactParams) WriteToRequest ¶
func (o *ReadArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadArtifactReader ¶
type ReadArtifactReader struct {
// contains filtered or unexported fields
}
ReadArtifactReader is a Reader for the ReadArtifact structure.
func (*ReadArtifactReader) ReadResponse ¶
func (o *ReadArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReportRunMetricsDefault ¶
type ReportRunMetricsDefault struct { Payload *run_model.APIStatus // contains filtered or unexported fields }
ReportRunMetricsDefault handles this case with default header values.
ReportRunMetricsDefault report run metrics default
func NewReportRunMetricsDefault ¶
func NewReportRunMetricsDefault(code int) *ReportRunMetricsDefault
NewReportRunMetricsDefault creates a ReportRunMetricsDefault with default headers values
func (*ReportRunMetricsDefault) Code ¶
func (o *ReportRunMetricsDefault) Code() int
Code gets the status code for the report run metrics default response
func (*ReportRunMetricsDefault) Error ¶
func (o *ReportRunMetricsDefault) Error() string
type ReportRunMetricsOK ¶
type ReportRunMetricsOK struct {
Payload *run_model.APIReportRunMetricsResponse
}
ReportRunMetricsOK handles this case with default header values.
A successful response.
func NewReportRunMetricsOK ¶
func NewReportRunMetricsOK() *ReportRunMetricsOK
NewReportRunMetricsOK creates a ReportRunMetricsOK with default headers values
func (*ReportRunMetricsOK) Error ¶
func (o *ReportRunMetricsOK) Error() string
type ReportRunMetricsParams ¶
type ReportRunMetricsParams struct { /*Body*/ Body *run_model.APIReportRunMetricsRequest /*RunID Required. The parent run ID of the metric. */ RunID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReportRunMetricsParams contains all the parameters to send to the API endpoint for the report run metrics operation typically these are written to a http.Request
func NewReportRunMetricsParams ¶
func NewReportRunMetricsParams() *ReportRunMetricsParams
NewReportRunMetricsParams creates a new ReportRunMetricsParams object with the default values initialized.
func NewReportRunMetricsParamsWithContext ¶
func NewReportRunMetricsParamsWithContext(ctx context.Context) *ReportRunMetricsParams
NewReportRunMetricsParamsWithContext creates a new ReportRunMetricsParams object with the default values initialized, and the ability to set a context for a request
func NewReportRunMetricsParamsWithHTTPClient ¶
func NewReportRunMetricsParamsWithHTTPClient(client *http.Client) *ReportRunMetricsParams
NewReportRunMetricsParamsWithHTTPClient creates a new ReportRunMetricsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReportRunMetricsParamsWithTimeout ¶
func NewReportRunMetricsParamsWithTimeout(timeout time.Duration) *ReportRunMetricsParams
NewReportRunMetricsParamsWithTimeout creates a new ReportRunMetricsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReportRunMetricsParams) SetBody ¶
func (o *ReportRunMetricsParams) SetBody(body *run_model.APIReportRunMetricsRequest)
SetBody adds the body to the report run metrics params
func (*ReportRunMetricsParams) SetContext ¶
func (o *ReportRunMetricsParams) SetContext(ctx context.Context)
SetContext adds the context to the report run metrics params
func (*ReportRunMetricsParams) SetHTTPClient ¶
func (o *ReportRunMetricsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the report run metrics params
func (*ReportRunMetricsParams) SetRunID ¶
func (o *ReportRunMetricsParams) SetRunID(runID string)
SetRunID adds the runId to the report run metrics params
func (*ReportRunMetricsParams) SetTimeout ¶
func (o *ReportRunMetricsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the report run metrics params
func (*ReportRunMetricsParams) WithBody ¶
func (o *ReportRunMetricsParams) WithBody(body *run_model.APIReportRunMetricsRequest) *ReportRunMetricsParams
WithBody adds the body to the report run metrics params
func (*ReportRunMetricsParams) WithContext ¶
func (o *ReportRunMetricsParams) WithContext(ctx context.Context) *ReportRunMetricsParams
WithContext adds the context to the report run metrics params
func (*ReportRunMetricsParams) WithHTTPClient ¶
func (o *ReportRunMetricsParams) WithHTTPClient(client *http.Client) *ReportRunMetricsParams
WithHTTPClient adds the HTTPClient to the report run metrics params
func (*ReportRunMetricsParams) WithRunID ¶
func (o *ReportRunMetricsParams) WithRunID(runID string) *ReportRunMetricsParams
WithRunID adds the runID to the report run metrics params
func (*ReportRunMetricsParams) WithTimeout ¶
func (o *ReportRunMetricsParams) WithTimeout(timeout time.Duration) *ReportRunMetricsParams
WithTimeout adds the timeout to the report run metrics params
func (*ReportRunMetricsParams) WriteToRequest ¶
func (o *ReportRunMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReportRunMetricsReader ¶
type ReportRunMetricsReader struct {
// contains filtered or unexported fields
}
ReportRunMetricsReader is a Reader for the ReportRunMetrics structure.
func (*ReportRunMetricsReader) ReadResponse ¶
func (o *ReportRunMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetryRunDefault ¶
type RetryRunDefault struct { Payload *run_model.APIStatus // contains filtered or unexported fields }
RetryRunDefault handles this case with default header values.
RetryRunDefault retry run default
func NewRetryRunDefault ¶
func NewRetryRunDefault(code int) *RetryRunDefault
NewRetryRunDefault creates a RetryRunDefault with default headers values
func (*RetryRunDefault) Code ¶
func (o *RetryRunDefault) Code() int
Code gets the status code for the retry run default response
func (*RetryRunDefault) Error ¶
func (o *RetryRunDefault) Error() string
type RetryRunOK ¶
type RetryRunOK struct {
Payload interface{}
}
RetryRunOK handles this case with default header values.
A successful response.
func NewRetryRunOK ¶
func NewRetryRunOK() *RetryRunOK
NewRetryRunOK creates a RetryRunOK with default headers values
func (*RetryRunOK) Error ¶
func (o *RetryRunOK) Error() string
type RetryRunParams ¶
type RetryRunParams struct { /*RunID The ID of the run to be retried. */ RunID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetryRunParams contains all the parameters to send to the API endpoint for the retry run operation typically these are written to a http.Request
func NewRetryRunParams ¶
func NewRetryRunParams() *RetryRunParams
NewRetryRunParams creates a new RetryRunParams object with the default values initialized.
func NewRetryRunParamsWithContext ¶
func NewRetryRunParamsWithContext(ctx context.Context) *RetryRunParams
NewRetryRunParamsWithContext creates a new RetryRunParams object with the default values initialized, and the ability to set a context for a request
func NewRetryRunParamsWithHTTPClient ¶
func NewRetryRunParamsWithHTTPClient(client *http.Client) *RetryRunParams
NewRetryRunParamsWithHTTPClient creates a new RetryRunParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetryRunParamsWithTimeout ¶
func NewRetryRunParamsWithTimeout(timeout time.Duration) *RetryRunParams
NewRetryRunParamsWithTimeout creates a new RetryRunParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetryRunParams) SetContext ¶
func (o *RetryRunParams) SetContext(ctx context.Context)
SetContext adds the context to the retry run params
func (*RetryRunParams) SetHTTPClient ¶
func (o *RetryRunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retry run params
func (*RetryRunParams) SetRunID ¶
func (o *RetryRunParams) SetRunID(runID string)
SetRunID adds the runId to the retry run params
func (*RetryRunParams) SetTimeout ¶
func (o *RetryRunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retry run params
func (*RetryRunParams) WithContext ¶
func (o *RetryRunParams) WithContext(ctx context.Context) *RetryRunParams
WithContext adds the context to the retry run params
func (*RetryRunParams) WithHTTPClient ¶
func (o *RetryRunParams) WithHTTPClient(client *http.Client) *RetryRunParams
WithHTTPClient adds the HTTPClient to the retry run params
func (*RetryRunParams) WithRunID ¶
func (o *RetryRunParams) WithRunID(runID string) *RetryRunParams
WithRunID adds the runID to the retry run params
func (*RetryRunParams) WithTimeout ¶
func (o *RetryRunParams) WithTimeout(timeout time.Duration) *RetryRunParams
WithTimeout adds the timeout to the retry run params
func (*RetryRunParams) WriteToRequest ¶
func (o *RetryRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetryRunReader ¶
type RetryRunReader struct {
// contains filtered or unexported fields
}
RetryRunReader is a Reader for the RetryRun structure.
func (*RetryRunReader) ReadResponse ¶
func (o *RetryRunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TerminateRunDefault ¶
type TerminateRunDefault struct { Payload *run_model.APIStatus // contains filtered or unexported fields }
TerminateRunDefault handles this case with default header values.
TerminateRunDefault terminate run default
func NewTerminateRunDefault ¶
func NewTerminateRunDefault(code int) *TerminateRunDefault
NewTerminateRunDefault creates a TerminateRunDefault with default headers values
func (*TerminateRunDefault) Code ¶
func (o *TerminateRunDefault) Code() int
Code gets the status code for the terminate run default response
func (*TerminateRunDefault) Error ¶
func (o *TerminateRunDefault) Error() string
type TerminateRunOK ¶
type TerminateRunOK struct {
Payload interface{}
}
TerminateRunOK handles this case with default header values.
A successful response.
func NewTerminateRunOK ¶
func NewTerminateRunOK() *TerminateRunOK
NewTerminateRunOK creates a TerminateRunOK with default headers values
func (*TerminateRunOK) Error ¶
func (o *TerminateRunOK) Error() string
type TerminateRunParams ¶
type TerminateRunParams struct { /*RunID The ID of the run to be terminated. */ RunID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TerminateRunParams contains all the parameters to send to the API endpoint for the terminate run operation typically these are written to a http.Request
func NewTerminateRunParams ¶
func NewTerminateRunParams() *TerminateRunParams
NewTerminateRunParams creates a new TerminateRunParams object with the default values initialized.
func NewTerminateRunParamsWithContext ¶
func NewTerminateRunParamsWithContext(ctx context.Context) *TerminateRunParams
NewTerminateRunParamsWithContext creates a new TerminateRunParams object with the default values initialized, and the ability to set a context for a request
func NewTerminateRunParamsWithHTTPClient ¶
func NewTerminateRunParamsWithHTTPClient(client *http.Client) *TerminateRunParams
NewTerminateRunParamsWithHTTPClient creates a new TerminateRunParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTerminateRunParamsWithTimeout ¶
func NewTerminateRunParamsWithTimeout(timeout time.Duration) *TerminateRunParams
NewTerminateRunParamsWithTimeout creates a new TerminateRunParams object with the default values initialized, and the ability to set a timeout on a request
func (*TerminateRunParams) SetContext ¶
func (o *TerminateRunParams) SetContext(ctx context.Context)
SetContext adds the context to the terminate run params
func (*TerminateRunParams) SetHTTPClient ¶
func (o *TerminateRunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the terminate run params
func (*TerminateRunParams) SetRunID ¶
func (o *TerminateRunParams) SetRunID(runID string)
SetRunID adds the runId to the terminate run params
func (*TerminateRunParams) SetTimeout ¶
func (o *TerminateRunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the terminate run params
func (*TerminateRunParams) WithContext ¶
func (o *TerminateRunParams) WithContext(ctx context.Context) *TerminateRunParams
WithContext adds the context to the terminate run params
func (*TerminateRunParams) WithHTTPClient ¶
func (o *TerminateRunParams) WithHTTPClient(client *http.Client) *TerminateRunParams
WithHTTPClient adds the HTTPClient to the terminate run params
func (*TerminateRunParams) WithRunID ¶
func (o *TerminateRunParams) WithRunID(runID string) *TerminateRunParams
WithRunID adds the runID to the terminate run params
func (*TerminateRunParams) WithTimeout ¶
func (o *TerminateRunParams) WithTimeout(timeout time.Duration) *TerminateRunParams
WithTimeout adds the timeout to the terminate run params
func (*TerminateRunParams) WriteToRequest ¶
func (o *TerminateRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TerminateRunReader ¶
type TerminateRunReader struct {
// contains filtered or unexported fields
}
TerminateRunReader is a Reader for the TerminateRun structure.
func (*TerminateRunReader) ReadResponse ¶
func (o *TerminateRunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnarchiveRunDefault ¶
type UnarchiveRunDefault struct { Payload *run_model.APIStatus // contains filtered or unexported fields }
UnarchiveRunDefault handles this case with default header values.
UnarchiveRunDefault unarchive run default
func NewUnarchiveRunDefault ¶
func NewUnarchiveRunDefault(code int) *UnarchiveRunDefault
NewUnarchiveRunDefault creates a UnarchiveRunDefault with default headers values
func (*UnarchiveRunDefault) Code ¶
func (o *UnarchiveRunDefault) Code() int
Code gets the status code for the unarchive run default response
func (*UnarchiveRunDefault) Error ¶
func (o *UnarchiveRunDefault) Error() string
type UnarchiveRunOK ¶
type UnarchiveRunOK struct {
Payload interface{}
}
UnarchiveRunOK handles this case with default header values.
A successful response.
func NewUnarchiveRunOK ¶
func NewUnarchiveRunOK() *UnarchiveRunOK
NewUnarchiveRunOK creates a UnarchiveRunOK with default headers values
func (*UnarchiveRunOK) Error ¶
func (o *UnarchiveRunOK) Error() string
type UnarchiveRunParams ¶
type UnarchiveRunParams struct { /*ID The ID of the run to be restored. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnarchiveRunParams contains all the parameters to send to the API endpoint for the unarchive run operation typically these are written to a http.Request
func NewUnarchiveRunParams ¶
func NewUnarchiveRunParams() *UnarchiveRunParams
NewUnarchiveRunParams creates a new UnarchiveRunParams object with the default values initialized.
func NewUnarchiveRunParamsWithContext ¶
func NewUnarchiveRunParamsWithContext(ctx context.Context) *UnarchiveRunParams
NewUnarchiveRunParamsWithContext creates a new UnarchiveRunParams object with the default values initialized, and the ability to set a context for a request
func NewUnarchiveRunParamsWithHTTPClient ¶
func NewUnarchiveRunParamsWithHTTPClient(client *http.Client) *UnarchiveRunParams
NewUnarchiveRunParamsWithHTTPClient creates a new UnarchiveRunParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUnarchiveRunParamsWithTimeout ¶
func NewUnarchiveRunParamsWithTimeout(timeout time.Duration) *UnarchiveRunParams
NewUnarchiveRunParamsWithTimeout creates a new UnarchiveRunParams object with the default values initialized, and the ability to set a timeout on a request
func (*UnarchiveRunParams) SetContext ¶
func (o *UnarchiveRunParams) SetContext(ctx context.Context)
SetContext adds the context to the unarchive run params
func (*UnarchiveRunParams) SetHTTPClient ¶
func (o *UnarchiveRunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unarchive run params
func (*UnarchiveRunParams) SetID ¶
func (o *UnarchiveRunParams) SetID(id string)
SetID adds the id to the unarchive run params
func (*UnarchiveRunParams) SetTimeout ¶
func (o *UnarchiveRunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unarchive run params
func (*UnarchiveRunParams) WithContext ¶
func (o *UnarchiveRunParams) WithContext(ctx context.Context) *UnarchiveRunParams
WithContext adds the context to the unarchive run params
func (*UnarchiveRunParams) WithHTTPClient ¶
func (o *UnarchiveRunParams) WithHTTPClient(client *http.Client) *UnarchiveRunParams
WithHTTPClient adds the HTTPClient to the unarchive run params
func (*UnarchiveRunParams) WithID ¶
func (o *UnarchiveRunParams) WithID(id string) *UnarchiveRunParams
WithID adds the id to the unarchive run params
func (*UnarchiveRunParams) WithTimeout ¶
func (o *UnarchiveRunParams) WithTimeout(timeout time.Duration) *UnarchiveRunParams
WithTimeout adds the timeout to the unarchive run params
func (*UnarchiveRunParams) WriteToRequest ¶
func (o *UnarchiveRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnarchiveRunReader ¶
type UnarchiveRunReader struct {
// contains filtered or unexported fields
}
UnarchiveRunReader is a Reader for the UnarchiveRun structure.
func (*UnarchiveRunReader) ReadResponse ¶
func (o *UnarchiveRunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- archive_run_parameters.go
- archive_run_responses.go
- create_run_parameters.go
- create_run_responses.go
- delete_run_parameters.go
- delete_run_responses.go
- get_run_parameters.go
- get_run_responses.go
- list_runs_parameters.go
- list_runs_responses.go
- read_artifact_parameters.go
- read_artifact_responses.go
- report_run_metrics_parameters.go
- report_run_metrics_responses.go
- retry_run_parameters.go
- retry_run_responses.go
- run_service_client.go
- terminate_run_parameters.go
- terminate_run_responses.go
- unarchive_run_parameters.go
- unarchive_run_responses.go