run_service

package
v0.0.0-...-814fed9 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 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 run service API

func New

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

New creates a new run service API client.

func (*Client) RunServiceArchiveRun

func (a *Client) RunServiceArchiveRun(params *RunServiceArchiveRunParams, authInfo runtime.ClientAuthInfoWriter) (*RunServiceArchiveRunOK, error)

RunServiceArchiveRun archives a run in an experiment given by run ID and experiment ID

func (*Client) RunServiceCreateRun

func (a *Client) RunServiceCreateRun(params *RunServiceCreateRunParams, authInfo runtime.ClientAuthInfoWriter) (*RunServiceCreateRunOK, error)

RunServiceCreateRun creates a new run in an experiment specified by experiment ID if experiment ID is not specified the run is created in the default experiment

func (*Client) RunServiceDeleteRun

func (a *Client) RunServiceDeleteRun(params *RunServiceDeleteRunParams, authInfo runtime.ClientAuthInfoWriter) (*RunServiceDeleteRunOK, error)

RunServiceDeleteRun deletes a run in an experiment given by run ID and experiment ID

func (*Client) RunServiceGetRun

func (a *Client) RunServiceGetRun(params *RunServiceGetRunParams, authInfo runtime.ClientAuthInfoWriter) (*RunServiceGetRunOK, error)

RunServiceGetRun finds a specific run by ID

func (*Client) RunServiceListRuns

func (a *Client) RunServiceListRuns(params *RunServiceListRunsParams, authInfo runtime.ClientAuthInfoWriter) (*RunServiceListRunsOK, error)

RunServiceListRuns finds all runs in an experiment given by experiment ID if experiment id is not specified finds all runs across all experiments

func (*Client) RunServiceReadArtifact

func (a *Client) RunServiceReadArtifact(params *RunServiceReadArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*RunServiceReadArtifactOK, error)

RunServiceReadArtifact finds artifact data in a run

func (*Client) RunServiceRetryRun

func (a *Client) RunServiceRetryRun(params *RunServiceRetryRunParams, authInfo runtime.ClientAuthInfoWriter) (*RunServiceRetryRunOK, error)

RunServiceRetryRun res initiates a failed or terminated run

func (*Client) RunServiceTerminateRun

func (a *Client) RunServiceTerminateRun(params *RunServiceTerminateRunParams, authInfo runtime.ClientAuthInfoWriter) (*RunServiceTerminateRunOK, error)

RunServiceTerminateRun terminates an active run

func (*Client) RunServiceUnarchiveRun

func (a *Client) RunServiceUnarchiveRun(params *RunServiceUnarchiveRunParams, authInfo runtime.ClientAuthInfoWriter) (*RunServiceUnarchiveRunOK, error)

RunServiceUnarchiveRun restores an archived run in an experiment given by run ID and experiment ID

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type RunServiceArchiveRunDefault

type RunServiceArchiveRunDefault struct {
	Payload *run_model.RuntimeError
	// contains filtered or unexported fields
}

RunServiceArchiveRunDefault handles this case with default header values.

An unexpected error response.

func NewRunServiceArchiveRunDefault

func NewRunServiceArchiveRunDefault(code int) *RunServiceArchiveRunDefault

NewRunServiceArchiveRunDefault creates a RunServiceArchiveRunDefault with default headers values

func (*RunServiceArchiveRunDefault) Code

func (o *RunServiceArchiveRunDefault) Code() int

Code gets the status code for the run service archive run default response

func (*RunServiceArchiveRunDefault) Error

type RunServiceArchiveRunOK

type RunServiceArchiveRunOK struct {
	Payload interface{}
}

RunServiceArchiveRunOK handles this case with default header values.

A successful response.

func NewRunServiceArchiveRunOK

func NewRunServiceArchiveRunOK() *RunServiceArchiveRunOK

NewRunServiceArchiveRunOK creates a RunServiceArchiveRunOK with default headers values

func (*RunServiceArchiveRunOK) Error

func (o *RunServiceArchiveRunOK) Error() string

type RunServiceArchiveRunParams

type RunServiceArchiveRunParams struct {

	/*RunID
	  The ID of the run to be archived.

	*/
	RunID string

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

RunServiceArchiveRunParams contains all the parameters to send to the API endpoint for the run service archive run operation typically these are written to a http.Request

func NewRunServiceArchiveRunParams

func NewRunServiceArchiveRunParams() *RunServiceArchiveRunParams

NewRunServiceArchiveRunParams creates a new RunServiceArchiveRunParams object with the default values initialized.

func NewRunServiceArchiveRunParamsWithContext

func NewRunServiceArchiveRunParamsWithContext(ctx context.Context) *RunServiceArchiveRunParams

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

func NewRunServiceArchiveRunParamsWithHTTPClient

func NewRunServiceArchiveRunParamsWithHTTPClient(client *http.Client) *RunServiceArchiveRunParams

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

func NewRunServiceArchiveRunParamsWithTimeout

func NewRunServiceArchiveRunParamsWithTimeout(timeout time.Duration) *RunServiceArchiveRunParams

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

func (*RunServiceArchiveRunParams) SetContext

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

SetContext adds the context to the run service archive run params

func (*RunServiceArchiveRunParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the run service archive run params

func (*RunServiceArchiveRunParams) SetRunID

func (o *RunServiceArchiveRunParams) SetRunID(runID string)

SetRunID adds the runId to the run service archive run params

func (*RunServiceArchiveRunParams) SetTimeout

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

SetTimeout adds the timeout to the run service archive run params

func (*RunServiceArchiveRunParams) WithContext

WithContext adds the context to the run service archive run params

func (*RunServiceArchiveRunParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the run service archive run params

func (*RunServiceArchiveRunParams) WithRunID

WithRunID adds the runID to the run service archive run params

func (*RunServiceArchiveRunParams) WithTimeout

WithTimeout adds the timeout to the run service archive run params

func (*RunServiceArchiveRunParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunServiceArchiveRunReader

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

RunServiceArchiveRunReader is a Reader for the RunServiceArchiveRun structure.

func (*RunServiceArchiveRunReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RunServiceCreateRunDefault

type RunServiceCreateRunDefault struct {
	Payload *run_model.RuntimeError
	// contains filtered or unexported fields
}

RunServiceCreateRunDefault handles this case with default header values.

An unexpected error response.

func NewRunServiceCreateRunDefault

func NewRunServiceCreateRunDefault(code int) *RunServiceCreateRunDefault

NewRunServiceCreateRunDefault creates a RunServiceCreateRunDefault with default headers values

func (*RunServiceCreateRunDefault) Code

func (o *RunServiceCreateRunDefault) Code() int

Code gets the status code for the run service create run default response

func (*RunServiceCreateRunDefault) Error

type RunServiceCreateRunOK

type RunServiceCreateRunOK struct {
	Payload *run_model.V2beta1Run
}

RunServiceCreateRunOK handles this case with default header values.

A successful response.

func NewRunServiceCreateRunOK

func NewRunServiceCreateRunOK() *RunServiceCreateRunOK

NewRunServiceCreateRunOK creates a RunServiceCreateRunOK with default headers values

func (*RunServiceCreateRunOK) Error

func (o *RunServiceCreateRunOK) Error() string

type RunServiceCreateRunParams

type RunServiceCreateRunParams struct {

	/*Body
	  Run to be created.

	*/
	Body *run_model.V2beta1Run
	/*ExperimentID
	  The ID of the parent experiment.

	*/
	ExperimentID *string

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

RunServiceCreateRunParams contains all the parameters to send to the API endpoint for the run service create run operation typically these are written to a http.Request

func NewRunServiceCreateRunParams

func NewRunServiceCreateRunParams() *RunServiceCreateRunParams

NewRunServiceCreateRunParams creates a new RunServiceCreateRunParams object with the default values initialized.

func NewRunServiceCreateRunParamsWithContext

func NewRunServiceCreateRunParamsWithContext(ctx context.Context) *RunServiceCreateRunParams

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

func NewRunServiceCreateRunParamsWithHTTPClient

func NewRunServiceCreateRunParamsWithHTTPClient(client *http.Client) *RunServiceCreateRunParams

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

func NewRunServiceCreateRunParamsWithTimeout

func NewRunServiceCreateRunParamsWithTimeout(timeout time.Duration) *RunServiceCreateRunParams

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

func (*RunServiceCreateRunParams) SetBody

SetBody adds the body to the run service create run params

func (*RunServiceCreateRunParams) SetContext

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

SetContext adds the context to the run service create run params

func (*RunServiceCreateRunParams) SetExperimentID

func (o *RunServiceCreateRunParams) SetExperimentID(experimentID *string)

SetExperimentID adds the experimentId to the run service create run params

func (*RunServiceCreateRunParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the run service create run params

func (*RunServiceCreateRunParams) SetTimeout

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

SetTimeout adds the timeout to the run service create run params

func (*RunServiceCreateRunParams) WithBody

WithBody adds the body to the run service create run params

func (*RunServiceCreateRunParams) WithContext

WithContext adds the context to the run service create run params

func (*RunServiceCreateRunParams) WithExperimentID

func (o *RunServiceCreateRunParams) WithExperimentID(experimentID *string) *RunServiceCreateRunParams

WithExperimentID adds the experimentID to the run service create run params

func (*RunServiceCreateRunParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the run service create run params

func (*RunServiceCreateRunParams) WithTimeout

WithTimeout adds the timeout to the run service create run params

func (*RunServiceCreateRunParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunServiceCreateRunReader

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

RunServiceCreateRunReader is a Reader for the RunServiceCreateRun structure.

func (*RunServiceCreateRunReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RunServiceDeleteRunDefault

type RunServiceDeleteRunDefault struct {
	Payload *run_model.RuntimeError
	// contains filtered or unexported fields
}

RunServiceDeleteRunDefault handles this case with default header values.

An unexpected error response.

func NewRunServiceDeleteRunDefault

func NewRunServiceDeleteRunDefault(code int) *RunServiceDeleteRunDefault

NewRunServiceDeleteRunDefault creates a RunServiceDeleteRunDefault with default headers values

func (*RunServiceDeleteRunDefault) Code

func (o *RunServiceDeleteRunDefault) Code() int

Code gets the status code for the run service delete run default response

func (*RunServiceDeleteRunDefault) Error

type RunServiceDeleteRunOK

type RunServiceDeleteRunOK struct {
	Payload interface{}
}

RunServiceDeleteRunOK handles this case with default header values.

A successful response.

func NewRunServiceDeleteRunOK

func NewRunServiceDeleteRunOK() *RunServiceDeleteRunOK

NewRunServiceDeleteRunOK creates a RunServiceDeleteRunOK with default headers values

func (*RunServiceDeleteRunOK) Error

func (o *RunServiceDeleteRunOK) Error() string

type RunServiceDeleteRunParams

type RunServiceDeleteRunParams struct {

	/*ExperimentID
	  The ID of the parent experiment.

	*/
	ExperimentID *string
	/*RunID
	  The ID of the run to be deleted.

	*/
	RunID string

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

RunServiceDeleteRunParams contains all the parameters to send to the API endpoint for the run service delete run operation typically these are written to a http.Request

func NewRunServiceDeleteRunParams

func NewRunServiceDeleteRunParams() *RunServiceDeleteRunParams

NewRunServiceDeleteRunParams creates a new RunServiceDeleteRunParams object with the default values initialized.

func NewRunServiceDeleteRunParamsWithContext

func NewRunServiceDeleteRunParamsWithContext(ctx context.Context) *RunServiceDeleteRunParams

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

func NewRunServiceDeleteRunParamsWithHTTPClient

func NewRunServiceDeleteRunParamsWithHTTPClient(client *http.Client) *RunServiceDeleteRunParams

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

func NewRunServiceDeleteRunParamsWithTimeout

func NewRunServiceDeleteRunParamsWithTimeout(timeout time.Duration) *RunServiceDeleteRunParams

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

func (*RunServiceDeleteRunParams) SetContext

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

SetContext adds the context to the run service delete run params

func (*RunServiceDeleteRunParams) SetExperimentID

func (o *RunServiceDeleteRunParams) SetExperimentID(experimentID *string)

SetExperimentID adds the experimentId to the run service delete run params

func (*RunServiceDeleteRunParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the run service delete run params

func (*RunServiceDeleteRunParams) SetRunID

func (o *RunServiceDeleteRunParams) SetRunID(runID string)

SetRunID adds the runId to the run service delete run params

func (*RunServiceDeleteRunParams) SetTimeout

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

SetTimeout adds the timeout to the run service delete run params

func (*RunServiceDeleteRunParams) WithContext

WithContext adds the context to the run service delete run params

func (*RunServiceDeleteRunParams) WithExperimentID

func (o *RunServiceDeleteRunParams) WithExperimentID(experimentID *string) *RunServiceDeleteRunParams

WithExperimentID adds the experimentID to the run service delete run params

func (*RunServiceDeleteRunParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the run service delete run params

func (*RunServiceDeleteRunParams) WithRunID

WithRunID adds the runID to the run service delete run params

func (*RunServiceDeleteRunParams) WithTimeout

WithTimeout adds the timeout to the run service delete run params

func (*RunServiceDeleteRunParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunServiceDeleteRunReader

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

RunServiceDeleteRunReader is a Reader for the RunServiceDeleteRun structure.

func (*RunServiceDeleteRunReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RunServiceGetRunDefault

type RunServiceGetRunDefault struct {
	Payload *run_model.RuntimeError
	// contains filtered or unexported fields
}

RunServiceGetRunDefault handles this case with default header values.

An unexpected error response.

func NewRunServiceGetRunDefault

func NewRunServiceGetRunDefault(code int) *RunServiceGetRunDefault

NewRunServiceGetRunDefault creates a RunServiceGetRunDefault with default headers values

func (*RunServiceGetRunDefault) Code

func (o *RunServiceGetRunDefault) Code() int

Code gets the status code for the run service get run default response

func (*RunServiceGetRunDefault) Error

func (o *RunServiceGetRunDefault) Error() string

type RunServiceGetRunOK

type RunServiceGetRunOK struct {
	Payload *run_model.V2beta1Run
}

RunServiceGetRunOK handles this case with default header values.

A successful response.

func NewRunServiceGetRunOK

func NewRunServiceGetRunOK() *RunServiceGetRunOK

NewRunServiceGetRunOK creates a RunServiceGetRunOK with default headers values

func (*RunServiceGetRunOK) Error

func (o *RunServiceGetRunOK) Error() string

type RunServiceGetRunParams

type RunServiceGetRunParams struct {

	/*ExperimentID
	  The ID of the parent experiment.

	*/
	ExperimentID *string
	/*RunID
	  The ID of the run to be retrieved.

	*/
	RunID string

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

RunServiceGetRunParams contains all the parameters to send to the API endpoint for the run service get run operation typically these are written to a http.Request

func NewRunServiceGetRunParams

func NewRunServiceGetRunParams() *RunServiceGetRunParams

NewRunServiceGetRunParams creates a new RunServiceGetRunParams object with the default values initialized.

func NewRunServiceGetRunParamsWithContext

func NewRunServiceGetRunParamsWithContext(ctx context.Context) *RunServiceGetRunParams

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

func NewRunServiceGetRunParamsWithHTTPClient

func NewRunServiceGetRunParamsWithHTTPClient(client *http.Client) *RunServiceGetRunParams

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

func NewRunServiceGetRunParamsWithTimeout

func NewRunServiceGetRunParamsWithTimeout(timeout time.Duration) *RunServiceGetRunParams

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

func (*RunServiceGetRunParams) SetContext

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

SetContext adds the context to the run service get run params

func (*RunServiceGetRunParams) SetExperimentID

func (o *RunServiceGetRunParams) SetExperimentID(experimentID *string)

SetExperimentID adds the experimentId to the run service get run params

func (*RunServiceGetRunParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the run service get run params

func (*RunServiceGetRunParams) SetRunID

func (o *RunServiceGetRunParams) SetRunID(runID string)

SetRunID adds the runId to the run service get run params

func (*RunServiceGetRunParams) SetTimeout

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

SetTimeout adds the timeout to the run service get run params

func (*RunServiceGetRunParams) WithContext

WithContext adds the context to the run service get run params

func (*RunServiceGetRunParams) WithExperimentID

func (o *RunServiceGetRunParams) WithExperimentID(experimentID *string) *RunServiceGetRunParams

WithExperimentID adds the experimentID to the run service get run params

func (*RunServiceGetRunParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the run service get run params

func (*RunServiceGetRunParams) WithRunID

WithRunID adds the runID to the run service get run params

func (*RunServiceGetRunParams) WithTimeout

WithTimeout adds the timeout to the run service get run params

func (*RunServiceGetRunParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunServiceGetRunReader

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

RunServiceGetRunReader is a Reader for the RunServiceGetRun structure.

func (*RunServiceGetRunReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RunServiceListRunsDefault

type RunServiceListRunsDefault struct {
	Payload *run_model.RuntimeError
	// contains filtered or unexported fields
}

RunServiceListRunsDefault handles this case with default header values.

An unexpected error response.

func NewRunServiceListRunsDefault

func NewRunServiceListRunsDefault(code int) *RunServiceListRunsDefault

NewRunServiceListRunsDefault creates a RunServiceListRunsDefault with default headers values

func (*RunServiceListRunsDefault) Code

func (o *RunServiceListRunsDefault) Code() int

Code gets the status code for the run service list runs default response

func (*RunServiceListRunsDefault) Error

func (o *RunServiceListRunsDefault) Error() string

type RunServiceListRunsOK

type RunServiceListRunsOK struct {
	Payload *run_model.V2beta1ListRunsResponse
}

RunServiceListRunsOK handles this case with default header values.

A successful response.

func NewRunServiceListRunsOK

func NewRunServiceListRunsOK() *RunServiceListRunsOK

NewRunServiceListRunsOK creates a RunServiceListRunsOK with default headers values

func (*RunServiceListRunsOK) Error

func (o *RunServiceListRunsOK) Error() string

type RunServiceListRunsParams

type RunServiceListRunsParams struct {

	/*ExperimentID
	  The ID of the parent experiment. If empty, response includes runs across all experiments.

	*/
	ExperimentID *string
	/*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
	/*Namespace
	  Optional input field. Filters based on the namespace.

	*/
	Namespace *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 acquired
	from the nextPageToken field of the response from the previous
	ListRuns call or can be omitted when fetching the first page.

	*/
	PageToken *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
}

RunServiceListRunsParams contains all the parameters to send to the API endpoint for the run service list runs operation typically these are written to a http.Request

func NewRunServiceListRunsParams

func NewRunServiceListRunsParams() *RunServiceListRunsParams

NewRunServiceListRunsParams creates a new RunServiceListRunsParams object with the default values initialized.

func NewRunServiceListRunsParamsWithContext

func NewRunServiceListRunsParamsWithContext(ctx context.Context) *RunServiceListRunsParams

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

func NewRunServiceListRunsParamsWithHTTPClient

func NewRunServiceListRunsParamsWithHTTPClient(client *http.Client) *RunServiceListRunsParams

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

func NewRunServiceListRunsParamsWithTimeout

func NewRunServiceListRunsParamsWithTimeout(timeout time.Duration) *RunServiceListRunsParams

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

func (*RunServiceListRunsParams) SetContext

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

SetContext adds the context to the run service list runs params

func (*RunServiceListRunsParams) SetExperimentID

func (o *RunServiceListRunsParams) SetExperimentID(experimentID *string)

SetExperimentID adds the experimentId to the run service list runs params

func (*RunServiceListRunsParams) SetFilter

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

SetFilter adds the filter to the run service list runs params

func (*RunServiceListRunsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the run service list runs params

func (*RunServiceListRunsParams) SetNamespace

func (o *RunServiceListRunsParams) SetNamespace(namespace *string)

SetNamespace adds the namespace to the run service list runs params

func (*RunServiceListRunsParams) SetPageSize

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

SetPageSize adds the pageSize to the run service list runs params

func (*RunServiceListRunsParams) SetPageToken

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

SetPageToken adds the pageToken to the run service list runs params

func (*RunServiceListRunsParams) SetSortBy

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

SetSortBy adds the sortBy to the run service list runs params

func (*RunServiceListRunsParams) SetTimeout

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

SetTimeout adds the timeout to the run service list runs params

func (*RunServiceListRunsParams) WithContext

WithContext adds the context to the run service list runs params

func (*RunServiceListRunsParams) WithExperimentID

func (o *RunServiceListRunsParams) WithExperimentID(experimentID *string) *RunServiceListRunsParams

WithExperimentID adds the experimentID to the run service list runs params

func (*RunServiceListRunsParams) WithFilter

WithFilter adds the filter to the run service list runs params

func (*RunServiceListRunsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the run service list runs params

func (*RunServiceListRunsParams) WithNamespace

func (o *RunServiceListRunsParams) WithNamespace(namespace *string) *RunServiceListRunsParams

WithNamespace adds the namespace to the run service list runs params

func (*RunServiceListRunsParams) WithPageSize

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

WithPageSize adds the pageSize to the run service list runs params

func (*RunServiceListRunsParams) WithPageToken

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

WithPageToken adds the pageToken to the run service list runs params

func (*RunServiceListRunsParams) WithSortBy

WithSortBy adds the sortBy to the run service list runs params

func (*RunServiceListRunsParams) WithTimeout

WithTimeout adds the timeout to the run service list runs params

func (*RunServiceListRunsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunServiceListRunsReader

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

RunServiceListRunsReader is a Reader for the RunServiceListRuns structure.

func (*RunServiceListRunsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RunServiceReadArtifactDefault

type RunServiceReadArtifactDefault struct {
	Payload *run_model.RuntimeError
	// contains filtered or unexported fields
}

RunServiceReadArtifactDefault handles this case with default header values.

An unexpected error response.

func NewRunServiceReadArtifactDefault

func NewRunServiceReadArtifactDefault(code int) *RunServiceReadArtifactDefault

NewRunServiceReadArtifactDefault creates a RunServiceReadArtifactDefault with default headers values

func (*RunServiceReadArtifactDefault) Code

Code gets the status code for the run service read artifact default response

func (*RunServiceReadArtifactDefault) Error

type RunServiceReadArtifactOK

type RunServiceReadArtifactOK struct {
	Payload *run_model.V2beta1ReadArtifactResponse
}

RunServiceReadArtifactOK handles this case with default header values.

A successful response.

func NewRunServiceReadArtifactOK

func NewRunServiceReadArtifactOK() *RunServiceReadArtifactOK

NewRunServiceReadArtifactOK creates a RunServiceReadArtifactOK with default headers values

func (*RunServiceReadArtifactOK) Error

func (o *RunServiceReadArtifactOK) Error() string

type RunServiceReadArtifactParams

type RunServiceReadArtifactParams struct {

	/*ArtifactName
	  Name of the artifact.

	*/
	ArtifactName string
	/*ExperimentID
	  The ID of the parent experiment.

	*/
	ExperimentID *string
	/*NodeID
	  ID of the running node.

	*/
	NodeID string
	/*RunID
	  ID of the run.

	*/
	RunID string

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

RunServiceReadArtifactParams contains all the parameters to send to the API endpoint for the run service read artifact operation typically these are written to a http.Request

func NewRunServiceReadArtifactParams

func NewRunServiceReadArtifactParams() *RunServiceReadArtifactParams

NewRunServiceReadArtifactParams creates a new RunServiceReadArtifactParams object with the default values initialized.

func NewRunServiceReadArtifactParamsWithContext

func NewRunServiceReadArtifactParamsWithContext(ctx context.Context) *RunServiceReadArtifactParams

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

func NewRunServiceReadArtifactParamsWithHTTPClient

func NewRunServiceReadArtifactParamsWithHTTPClient(client *http.Client) *RunServiceReadArtifactParams

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

func NewRunServiceReadArtifactParamsWithTimeout

func NewRunServiceReadArtifactParamsWithTimeout(timeout time.Duration) *RunServiceReadArtifactParams

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

func (*RunServiceReadArtifactParams) SetArtifactName

func (o *RunServiceReadArtifactParams) SetArtifactName(artifactName string)

SetArtifactName adds the artifactName to the run service read artifact params

func (*RunServiceReadArtifactParams) SetContext

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

SetContext adds the context to the run service read artifact params

func (*RunServiceReadArtifactParams) SetExperimentID

func (o *RunServiceReadArtifactParams) SetExperimentID(experimentID *string)

SetExperimentID adds the experimentId to the run service read artifact params

func (*RunServiceReadArtifactParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the run service read artifact params

func (*RunServiceReadArtifactParams) SetNodeID

func (o *RunServiceReadArtifactParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the run service read artifact params

func (*RunServiceReadArtifactParams) SetRunID

func (o *RunServiceReadArtifactParams) SetRunID(runID string)

SetRunID adds the runId to the run service read artifact params

func (*RunServiceReadArtifactParams) SetTimeout

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

SetTimeout adds the timeout to the run service read artifact params

func (*RunServiceReadArtifactParams) WithArtifactName

func (o *RunServiceReadArtifactParams) WithArtifactName(artifactName string) *RunServiceReadArtifactParams

WithArtifactName adds the artifactName to the run service read artifact params

func (*RunServiceReadArtifactParams) WithContext

WithContext adds the context to the run service read artifact params

func (*RunServiceReadArtifactParams) WithExperimentID

func (o *RunServiceReadArtifactParams) WithExperimentID(experimentID *string) *RunServiceReadArtifactParams

WithExperimentID adds the experimentID to the run service read artifact params

func (*RunServiceReadArtifactParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the run service read artifact params

func (*RunServiceReadArtifactParams) WithNodeID

WithNodeID adds the nodeID to the run service read artifact params

func (*RunServiceReadArtifactParams) WithRunID

WithRunID adds the runID to the run service read artifact params

func (*RunServiceReadArtifactParams) WithTimeout

WithTimeout adds the timeout to the run service read artifact params

func (*RunServiceReadArtifactParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunServiceReadArtifactReader

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

RunServiceReadArtifactReader is a Reader for the RunServiceReadArtifact structure.

func (*RunServiceReadArtifactReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RunServiceRetryRunDefault

type RunServiceRetryRunDefault struct {
	Payload *run_model.RuntimeError
	// contains filtered or unexported fields
}

RunServiceRetryRunDefault handles this case with default header values.

An unexpected error response.

func NewRunServiceRetryRunDefault

func NewRunServiceRetryRunDefault(code int) *RunServiceRetryRunDefault

NewRunServiceRetryRunDefault creates a RunServiceRetryRunDefault with default headers values

func (*RunServiceRetryRunDefault) Code

func (o *RunServiceRetryRunDefault) Code() int

Code gets the status code for the run service retry run default response

func (*RunServiceRetryRunDefault) Error

func (o *RunServiceRetryRunDefault) Error() string

type RunServiceRetryRunOK

type RunServiceRetryRunOK struct {
	Payload interface{}
}

RunServiceRetryRunOK handles this case with default header values.

A successful response.

func NewRunServiceRetryRunOK

func NewRunServiceRetryRunOK() *RunServiceRetryRunOK

NewRunServiceRetryRunOK creates a RunServiceRetryRunOK with default headers values

func (*RunServiceRetryRunOK) Error

func (o *RunServiceRetryRunOK) Error() string

type RunServiceRetryRunParams

type RunServiceRetryRunParams struct {

	/*RunID
	  The ID of the run to be retried.

	*/
	RunID string

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

RunServiceRetryRunParams contains all the parameters to send to the API endpoint for the run service retry run operation typically these are written to a http.Request

func NewRunServiceRetryRunParams

func NewRunServiceRetryRunParams() *RunServiceRetryRunParams

NewRunServiceRetryRunParams creates a new RunServiceRetryRunParams object with the default values initialized.

func NewRunServiceRetryRunParamsWithContext

func NewRunServiceRetryRunParamsWithContext(ctx context.Context) *RunServiceRetryRunParams

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

func NewRunServiceRetryRunParamsWithHTTPClient

func NewRunServiceRetryRunParamsWithHTTPClient(client *http.Client) *RunServiceRetryRunParams

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

func NewRunServiceRetryRunParamsWithTimeout

func NewRunServiceRetryRunParamsWithTimeout(timeout time.Duration) *RunServiceRetryRunParams

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

func (*RunServiceRetryRunParams) SetContext

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

SetContext adds the context to the run service retry run params

func (*RunServiceRetryRunParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the run service retry run params

func (*RunServiceRetryRunParams) SetRunID

func (o *RunServiceRetryRunParams) SetRunID(runID string)

SetRunID adds the runId to the run service retry run params

func (*RunServiceRetryRunParams) SetTimeout

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

SetTimeout adds the timeout to the run service retry run params

func (*RunServiceRetryRunParams) WithContext

WithContext adds the context to the run service retry run params

func (*RunServiceRetryRunParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the run service retry run params

func (*RunServiceRetryRunParams) WithRunID

WithRunID adds the runID to the run service retry run params

func (*RunServiceRetryRunParams) WithTimeout

WithTimeout adds the timeout to the run service retry run params

func (*RunServiceRetryRunParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunServiceRetryRunReader

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

RunServiceRetryRunReader is a Reader for the RunServiceRetryRun structure.

func (*RunServiceRetryRunReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RunServiceTerminateRunDefault

type RunServiceTerminateRunDefault struct {
	Payload *run_model.RuntimeError
	// contains filtered or unexported fields
}

RunServiceTerminateRunDefault handles this case with default header values.

An unexpected error response.

func NewRunServiceTerminateRunDefault

func NewRunServiceTerminateRunDefault(code int) *RunServiceTerminateRunDefault

NewRunServiceTerminateRunDefault creates a RunServiceTerminateRunDefault with default headers values

func (*RunServiceTerminateRunDefault) Code

Code gets the status code for the run service terminate run default response

func (*RunServiceTerminateRunDefault) Error

type RunServiceTerminateRunOK

type RunServiceTerminateRunOK struct {
	Payload interface{}
}

RunServiceTerminateRunOK handles this case with default header values.

A successful response.

func NewRunServiceTerminateRunOK

func NewRunServiceTerminateRunOK() *RunServiceTerminateRunOK

NewRunServiceTerminateRunOK creates a RunServiceTerminateRunOK with default headers values

func (*RunServiceTerminateRunOK) Error

func (o *RunServiceTerminateRunOK) Error() string

type RunServiceTerminateRunParams

type RunServiceTerminateRunParams struct {

	/*RunID
	  The ID of the run to be terminated.

	*/
	RunID string

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

RunServiceTerminateRunParams contains all the parameters to send to the API endpoint for the run service terminate run operation typically these are written to a http.Request

func NewRunServiceTerminateRunParams

func NewRunServiceTerminateRunParams() *RunServiceTerminateRunParams

NewRunServiceTerminateRunParams creates a new RunServiceTerminateRunParams object with the default values initialized.

func NewRunServiceTerminateRunParamsWithContext

func NewRunServiceTerminateRunParamsWithContext(ctx context.Context) *RunServiceTerminateRunParams

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

func NewRunServiceTerminateRunParamsWithHTTPClient

func NewRunServiceTerminateRunParamsWithHTTPClient(client *http.Client) *RunServiceTerminateRunParams

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

func NewRunServiceTerminateRunParamsWithTimeout

func NewRunServiceTerminateRunParamsWithTimeout(timeout time.Duration) *RunServiceTerminateRunParams

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

func (*RunServiceTerminateRunParams) SetContext

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

SetContext adds the context to the run service terminate run params

func (*RunServiceTerminateRunParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the run service terminate run params

func (*RunServiceTerminateRunParams) SetRunID

func (o *RunServiceTerminateRunParams) SetRunID(runID string)

SetRunID adds the runId to the run service terminate run params

func (*RunServiceTerminateRunParams) SetTimeout

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

SetTimeout adds the timeout to the run service terminate run params

func (*RunServiceTerminateRunParams) WithContext

WithContext adds the context to the run service terminate run params

func (*RunServiceTerminateRunParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the run service terminate run params

func (*RunServiceTerminateRunParams) WithRunID

WithRunID adds the runID to the run service terminate run params

func (*RunServiceTerminateRunParams) WithTimeout

WithTimeout adds the timeout to the run service terminate run params

func (*RunServiceTerminateRunParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunServiceTerminateRunReader

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

RunServiceTerminateRunReader is a Reader for the RunServiceTerminateRun structure.

func (*RunServiceTerminateRunReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RunServiceUnarchiveRunDefault

type RunServiceUnarchiveRunDefault struct {
	Payload *run_model.RuntimeError
	// contains filtered or unexported fields
}

RunServiceUnarchiveRunDefault handles this case with default header values.

An unexpected error response.

func NewRunServiceUnarchiveRunDefault

func NewRunServiceUnarchiveRunDefault(code int) *RunServiceUnarchiveRunDefault

NewRunServiceUnarchiveRunDefault creates a RunServiceUnarchiveRunDefault with default headers values

func (*RunServiceUnarchiveRunDefault) Code

Code gets the status code for the run service unarchive run default response

func (*RunServiceUnarchiveRunDefault) Error

type RunServiceUnarchiveRunOK

type RunServiceUnarchiveRunOK struct {
	Payload interface{}
}

RunServiceUnarchiveRunOK handles this case with default header values.

A successful response.

func NewRunServiceUnarchiveRunOK

func NewRunServiceUnarchiveRunOK() *RunServiceUnarchiveRunOK

NewRunServiceUnarchiveRunOK creates a RunServiceUnarchiveRunOK with default headers values

func (*RunServiceUnarchiveRunOK) Error

func (o *RunServiceUnarchiveRunOK) Error() string

type RunServiceUnarchiveRunParams

type RunServiceUnarchiveRunParams struct {

	/*RunID
	  The ID of the run to be restored.

	*/
	RunID string

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

RunServiceUnarchiveRunParams contains all the parameters to send to the API endpoint for the run service unarchive run operation typically these are written to a http.Request

func NewRunServiceUnarchiveRunParams

func NewRunServiceUnarchiveRunParams() *RunServiceUnarchiveRunParams

NewRunServiceUnarchiveRunParams creates a new RunServiceUnarchiveRunParams object with the default values initialized.

func NewRunServiceUnarchiveRunParamsWithContext

func NewRunServiceUnarchiveRunParamsWithContext(ctx context.Context) *RunServiceUnarchiveRunParams

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

func NewRunServiceUnarchiveRunParamsWithHTTPClient

func NewRunServiceUnarchiveRunParamsWithHTTPClient(client *http.Client) *RunServiceUnarchiveRunParams

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

func NewRunServiceUnarchiveRunParamsWithTimeout

func NewRunServiceUnarchiveRunParamsWithTimeout(timeout time.Duration) *RunServiceUnarchiveRunParams

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

func (*RunServiceUnarchiveRunParams) SetContext

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

SetContext adds the context to the run service unarchive run params

func (*RunServiceUnarchiveRunParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the run service unarchive run params

func (*RunServiceUnarchiveRunParams) SetRunID

func (o *RunServiceUnarchiveRunParams) SetRunID(runID string)

SetRunID adds the runId to the run service unarchive run params

func (*RunServiceUnarchiveRunParams) SetTimeout

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

SetTimeout adds the timeout to the run service unarchive run params

func (*RunServiceUnarchiveRunParams) WithContext

WithContext adds the context to the run service unarchive run params

func (*RunServiceUnarchiveRunParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the run service unarchive run params

func (*RunServiceUnarchiveRunParams) WithRunID

WithRunID adds the runID to the run service unarchive run params

func (*RunServiceUnarchiveRunParams) WithTimeout

WithTimeout adds the timeout to the run service unarchive run params

func (*RunServiceUnarchiveRunParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunServiceUnarchiveRunReader

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

RunServiceUnarchiveRunReader is a Reader for the RunServiceUnarchiveRun structure.

func (*RunServiceUnarchiveRunReader) ReadResponse

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