Documentation ¶
Index ¶
- type ArchiveExperimentDefault
- type ArchiveExperimentOK
- type ArchiveExperimentParams
- func NewArchiveExperimentParams() *ArchiveExperimentParams
- func NewArchiveExperimentParamsWithContext(ctx context.Context) *ArchiveExperimentParams
- func NewArchiveExperimentParamsWithHTTPClient(client *http.Client) *ArchiveExperimentParams
- func NewArchiveExperimentParamsWithTimeout(timeout time.Duration) *ArchiveExperimentParams
- func (o *ArchiveExperimentParams) SetContext(ctx context.Context)
- func (o *ArchiveExperimentParams) SetHTTPClient(client *http.Client)
- func (o *ArchiveExperimentParams) SetID(id string)
- func (o *ArchiveExperimentParams) SetTimeout(timeout time.Duration)
- func (o *ArchiveExperimentParams) WithContext(ctx context.Context) *ArchiveExperimentParams
- func (o *ArchiveExperimentParams) WithHTTPClient(client *http.Client) *ArchiveExperimentParams
- func (o *ArchiveExperimentParams) WithID(id string) *ArchiveExperimentParams
- func (o *ArchiveExperimentParams) WithTimeout(timeout time.Duration) *ArchiveExperimentParams
- func (o *ArchiveExperimentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArchiveExperimentReader
- type Client
- func (a *Client) ArchiveExperiment(params *ArchiveExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*ArchiveExperimentOK, error)
- func (a *Client) CreateExperiment(params *CreateExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*CreateExperimentOK, error)
- func (a *Client) DeleteExperiment(params *DeleteExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteExperimentOK, error)
- func (a *Client) GetExperiment(params *GetExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*GetExperimentOK, error)
- func (a *Client) ListExperiment(params *ListExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*ListExperimentOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnarchiveExperiment(params *UnarchiveExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*UnarchiveExperimentOK, error)
- type CreateExperimentDefault
- type CreateExperimentOK
- type CreateExperimentParams
- func NewCreateExperimentParams() *CreateExperimentParams
- func NewCreateExperimentParamsWithContext(ctx context.Context) *CreateExperimentParams
- func NewCreateExperimentParamsWithHTTPClient(client *http.Client) *CreateExperimentParams
- func NewCreateExperimentParamsWithTimeout(timeout time.Duration) *CreateExperimentParams
- func (o *CreateExperimentParams) SetBody(body *experiment_model.APIExperiment)
- func (o *CreateExperimentParams) SetContext(ctx context.Context)
- func (o *CreateExperimentParams) SetHTTPClient(client *http.Client)
- func (o *CreateExperimentParams) SetTimeout(timeout time.Duration)
- func (o *CreateExperimentParams) WithBody(body *experiment_model.APIExperiment) *CreateExperimentParams
- func (o *CreateExperimentParams) WithContext(ctx context.Context) *CreateExperimentParams
- func (o *CreateExperimentParams) WithHTTPClient(client *http.Client) *CreateExperimentParams
- func (o *CreateExperimentParams) WithTimeout(timeout time.Duration) *CreateExperimentParams
- func (o *CreateExperimentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateExperimentReader
- type DeleteExperimentDefault
- type DeleteExperimentOK
- type DeleteExperimentParams
- func NewDeleteExperimentParams() *DeleteExperimentParams
- func NewDeleteExperimentParamsWithContext(ctx context.Context) *DeleteExperimentParams
- func NewDeleteExperimentParamsWithHTTPClient(client *http.Client) *DeleteExperimentParams
- func NewDeleteExperimentParamsWithTimeout(timeout time.Duration) *DeleteExperimentParams
- func (o *DeleteExperimentParams) SetContext(ctx context.Context)
- func (o *DeleteExperimentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteExperimentParams) SetID(id string)
- func (o *DeleteExperimentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteExperimentParams) WithContext(ctx context.Context) *DeleteExperimentParams
- func (o *DeleteExperimentParams) WithHTTPClient(client *http.Client) *DeleteExperimentParams
- func (o *DeleteExperimentParams) WithID(id string) *DeleteExperimentParams
- func (o *DeleteExperimentParams) WithTimeout(timeout time.Duration) *DeleteExperimentParams
- func (o *DeleteExperimentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteExperimentReader
- type GetExperimentDefault
- type GetExperimentOK
- type GetExperimentParams
- func (o *GetExperimentParams) SetContext(ctx context.Context)
- func (o *GetExperimentParams) SetHTTPClient(client *http.Client)
- func (o *GetExperimentParams) SetID(id string)
- func (o *GetExperimentParams) SetTimeout(timeout time.Duration)
- func (o *GetExperimentParams) WithContext(ctx context.Context) *GetExperimentParams
- func (o *GetExperimentParams) WithHTTPClient(client *http.Client) *GetExperimentParams
- func (o *GetExperimentParams) WithID(id string) *GetExperimentParams
- func (o *GetExperimentParams) WithTimeout(timeout time.Duration) *GetExperimentParams
- func (o *GetExperimentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetExperimentReader
- type ListExperimentDefault
- type ListExperimentOK
- type ListExperimentParams
- func NewListExperimentParams() *ListExperimentParams
- func NewListExperimentParamsWithContext(ctx context.Context) *ListExperimentParams
- func NewListExperimentParamsWithHTTPClient(client *http.Client) *ListExperimentParams
- func NewListExperimentParamsWithTimeout(timeout time.Duration) *ListExperimentParams
- func (o *ListExperimentParams) SetContext(ctx context.Context)
- func (o *ListExperimentParams) SetFilter(filter *string)
- func (o *ListExperimentParams) SetHTTPClient(client *http.Client)
- func (o *ListExperimentParams) SetPageSize(pageSize *int32)
- func (o *ListExperimentParams) SetPageToken(pageToken *string)
- func (o *ListExperimentParams) SetResourceReferenceKeyID(resourceReferenceKeyID *string)
- func (o *ListExperimentParams) SetResourceReferenceKeyType(resourceReferenceKeyType *string)
- func (o *ListExperimentParams) SetSortBy(sortBy *string)
- func (o *ListExperimentParams) SetTimeout(timeout time.Duration)
- func (o *ListExperimentParams) WithContext(ctx context.Context) *ListExperimentParams
- func (o *ListExperimentParams) WithFilter(filter *string) *ListExperimentParams
- func (o *ListExperimentParams) WithHTTPClient(client *http.Client) *ListExperimentParams
- func (o *ListExperimentParams) WithPageSize(pageSize *int32) *ListExperimentParams
- func (o *ListExperimentParams) WithPageToken(pageToken *string) *ListExperimentParams
- func (o *ListExperimentParams) WithResourceReferenceKeyID(resourceReferenceKeyID *string) *ListExperimentParams
- func (o *ListExperimentParams) WithResourceReferenceKeyType(resourceReferenceKeyType *string) *ListExperimentParams
- func (o *ListExperimentParams) WithSortBy(sortBy *string) *ListExperimentParams
- func (o *ListExperimentParams) WithTimeout(timeout time.Duration) *ListExperimentParams
- func (o *ListExperimentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListExperimentReader
- type UnarchiveExperimentDefault
- type UnarchiveExperimentOK
- type UnarchiveExperimentParams
- func NewUnarchiveExperimentParams() *UnarchiveExperimentParams
- func NewUnarchiveExperimentParamsWithContext(ctx context.Context) *UnarchiveExperimentParams
- func NewUnarchiveExperimentParamsWithHTTPClient(client *http.Client) *UnarchiveExperimentParams
- func NewUnarchiveExperimentParamsWithTimeout(timeout time.Duration) *UnarchiveExperimentParams
- func (o *UnarchiveExperimentParams) SetContext(ctx context.Context)
- func (o *UnarchiveExperimentParams) SetHTTPClient(client *http.Client)
- func (o *UnarchiveExperimentParams) SetID(id string)
- func (o *UnarchiveExperimentParams) SetTimeout(timeout time.Duration)
- func (o *UnarchiveExperimentParams) WithContext(ctx context.Context) *UnarchiveExperimentParams
- func (o *UnarchiveExperimentParams) WithHTTPClient(client *http.Client) *UnarchiveExperimentParams
- func (o *UnarchiveExperimentParams) WithID(id string) *UnarchiveExperimentParams
- func (o *UnarchiveExperimentParams) WithTimeout(timeout time.Duration) *UnarchiveExperimentParams
- func (o *UnarchiveExperimentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnarchiveExperimentReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveExperimentDefault ¶
type ArchiveExperimentDefault struct { Payload *experiment_model.APIStatus // contains filtered or unexported fields }
ArchiveExperimentDefault handles this case with default header values.
ArchiveExperimentDefault archive experiment default
func NewArchiveExperimentDefault ¶
func NewArchiveExperimentDefault(code int) *ArchiveExperimentDefault
NewArchiveExperimentDefault creates a ArchiveExperimentDefault with default headers values
func (*ArchiveExperimentDefault) Code ¶
func (o *ArchiveExperimentDefault) Code() int
Code gets the status code for the archive experiment default response
func (*ArchiveExperimentDefault) Error ¶
func (o *ArchiveExperimentDefault) Error() string
type ArchiveExperimentOK ¶
type ArchiveExperimentOK struct {
Payload interface{}
}
ArchiveExperimentOK handles this case with default header values.
A successful response.
func NewArchiveExperimentOK ¶
func NewArchiveExperimentOK() *ArchiveExperimentOK
NewArchiveExperimentOK creates a ArchiveExperimentOK with default headers values
func (*ArchiveExperimentOK) Error ¶
func (o *ArchiveExperimentOK) Error() string
type ArchiveExperimentParams ¶
type ArchiveExperimentParams struct { /*ID The ID of the experiment to be archived. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ArchiveExperimentParams contains all the parameters to send to the API endpoint for the archive experiment operation typically these are written to a http.Request
func NewArchiveExperimentParams ¶
func NewArchiveExperimentParams() *ArchiveExperimentParams
NewArchiveExperimentParams creates a new ArchiveExperimentParams object with the default values initialized.
func NewArchiveExperimentParamsWithContext ¶
func NewArchiveExperimentParamsWithContext(ctx context.Context) *ArchiveExperimentParams
NewArchiveExperimentParamsWithContext creates a new ArchiveExperimentParams object with the default values initialized, and the ability to set a context for a request
func NewArchiveExperimentParamsWithHTTPClient ¶
func NewArchiveExperimentParamsWithHTTPClient(client *http.Client) *ArchiveExperimentParams
NewArchiveExperimentParamsWithHTTPClient creates a new ArchiveExperimentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewArchiveExperimentParamsWithTimeout ¶
func NewArchiveExperimentParamsWithTimeout(timeout time.Duration) *ArchiveExperimentParams
NewArchiveExperimentParamsWithTimeout creates a new ArchiveExperimentParams object with the default values initialized, and the ability to set a timeout on a request
func (*ArchiveExperimentParams) SetContext ¶
func (o *ArchiveExperimentParams) SetContext(ctx context.Context)
SetContext adds the context to the archive experiment params
func (*ArchiveExperimentParams) SetHTTPClient ¶
func (o *ArchiveExperimentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the archive experiment params
func (*ArchiveExperimentParams) SetID ¶
func (o *ArchiveExperimentParams) SetID(id string)
SetID adds the id to the archive experiment params
func (*ArchiveExperimentParams) SetTimeout ¶
func (o *ArchiveExperimentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the archive experiment params
func (*ArchiveExperimentParams) WithContext ¶
func (o *ArchiveExperimentParams) WithContext(ctx context.Context) *ArchiveExperimentParams
WithContext adds the context to the archive experiment params
func (*ArchiveExperimentParams) WithHTTPClient ¶
func (o *ArchiveExperimentParams) WithHTTPClient(client *http.Client) *ArchiveExperimentParams
WithHTTPClient adds the HTTPClient to the archive experiment params
func (*ArchiveExperimentParams) WithID ¶
func (o *ArchiveExperimentParams) WithID(id string) *ArchiveExperimentParams
WithID adds the id to the archive experiment params
func (*ArchiveExperimentParams) WithTimeout ¶
func (o *ArchiveExperimentParams) WithTimeout(timeout time.Duration) *ArchiveExperimentParams
WithTimeout adds the timeout to the archive experiment params
func (*ArchiveExperimentParams) WriteToRequest ¶
func (o *ArchiveExperimentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ArchiveExperimentReader ¶
type ArchiveExperimentReader struct {
// contains filtered or unexported fields
}
ArchiveExperimentReader is a Reader for the ArchiveExperiment structure.
func (*ArchiveExperimentReader) ReadResponse ¶
func (o *ArchiveExperimentReader) 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 experiment service API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new experiment service API client.
func (*Client) ArchiveExperiment ¶
func (a *Client) ArchiveExperiment(params *ArchiveExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*ArchiveExperimentOK, error)
ArchiveExperiment archives an experiment and the experiment s runs and jobs
func (*Client) CreateExperiment ¶
func (a *Client) CreateExperiment(params *CreateExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*CreateExperimentOK, error)
CreateExperiment creates a new experiment
func (*Client) DeleteExperiment ¶
func (a *Client) DeleteExperiment(params *DeleteExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteExperimentOK, error)
DeleteExperiment deletes an experiment without deleting the experiment s runs and jobs to avoid unexpected behaviors delete an experiment s runs and jobs before deleting the experiment
func (*Client) GetExperiment ¶
func (a *Client) GetExperiment(params *GetExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*GetExperimentOK, error)
GetExperiment finds a specific experiment by ID
func (*Client) ListExperiment ¶
func (a *Client) ListExperiment(params *ListExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*ListExperimentOK, error)
ListExperiment finds all experiments supports pagination and sorting on certain fields
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UnarchiveExperiment ¶
func (a *Client) UnarchiveExperiment(params *UnarchiveExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*UnarchiveExperimentOK, error)
UnarchiveExperiment restores an archived experiment the experiment s archived runs and jobs will stay archived
type CreateExperimentDefault ¶
type CreateExperimentDefault struct { Payload *experiment_model.APIStatus // contains filtered or unexported fields }
CreateExperimentDefault handles this case with default header values.
CreateExperimentDefault create experiment default
func NewCreateExperimentDefault ¶
func NewCreateExperimentDefault(code int) *CreateExperimentDefault
NewCreateExperimentDefault creates a CreateExperimentDefault with default headers values
func (*CreateExperimentDefault) Code ¶
func (o *CreateExperimentDefault) Code() int
Code gets the status code for the create experiment default response
func (*CreateExperimentDefault) Error ¶
func (o *CreateExperimentDefault) Error() string
type CreateExperimentOK ¶
type CreateExperimentOK struct {
Payload *experiment_model.APIExperiment
}
CreateExperimentOK handles this case with default header values.
A successful response.
func NewCreateExperimentOK ¶
func NewCreateExperimentOK() *CreateExperimentOK
NewCreateExperimentOK creates a CreateExperimentOK with default headers values
func (*CreateExperimentOK) Error ¶
func (o *CreateExperimentOK) Error() string
type CreateExperimentParams ¶
type CreateExperimentParams struct { /*Body The experiment to be created. */ Body *experiment_model.APIExperiment Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateExperimentParams contains all the parameters to send to the API endpoint for the create experiment operation typically these are written to a http.Request
func NewCreateExperimentParams ¶
func NewCreateExperimentParams() *CreateExperimentParams
NewCreateExperimentParams creates a new CreateExperimentParams object with the default values initialized.
func NewCreateExperimentParamsWithContext ¶
func NewCreateExperimentParamsWithContext(ctx context.Context) *CreateExperimentParams
NewCreateExperimentParamsWithContext creates a new CreateExperimentParams object with the default values initialized, and the ability to set a context for a request
func NewCreateExperimentParamsWithHTTPClient ¶
func NewCreateExperimentParamsWithHTTPClient(client *http.Client) *CreateExperimentParams
NewCreateExperimentParamsWithHTTPClient creates a new CreateExperimentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateExperimentParamsWithTimeout ¶
func NewCreateExperimentParamsWithTimeout(timeout time.Duration) *CreateExperimentParams
NewCreateExperimentParamsWithTimeout creates a new CreateExperimentParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateExperimentParams) SetBody ¶
func (o *CreateExperimentParams) SetBody(body *experiment_model.APIExperiment)
SetBody adds the body to the create experiment params
func (*CreateExperimentParams) SetContext ¶
func (o *CreateExperimentParams) SetContext(ctx context.Context)
SetContext adds the context to the create experiment params
func (*CreateExperimentParams) SetHTTPClient ¶
func (o *CreateExperimentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create experiment params
func (*CreateExperimentParams) SetTimeout ¶
func (o *CreateExperimentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create experiment params
func (*CreateExperimentParams) WithBody ¶
func (o *CreateExperimentParams) WithBody(body *experiment_model.APIExperiment) *CreateExperimentParams
WithBody adds the body to the create experiment params
func (*CreateExperimentParams) WithContext ¶
func (o *CreateExperimentParams) WithContext(ctx context.Context) *CreateExperimentParams
WithContext adds the context to the create experiment params
func (*CreateExperimentParams) WithHTTPClient ¶
func (o *CreateExperimentParams) WithHTTPClient(client *http.Client) *CreateExperimentParams
WithHTTPClient adds the HTTPClient to the create experiment params
func (*CreateExperimentParams) WithTimeout ¶
func (o *CreateExperimentParams) WithTimeout(timeout time.Duration) *CreateExperimentParams
WithTimeout adds the timeout to the create experiment params
func (*CreateExperimentParams) WriteToRequest ¶
func (o *CreateExperimentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateExperimentReader ¶
type CreateExperimentReader struct {
// contains filtered or unexported fields
}
CreateExperimentReader is a Reader for the CreateExperiment structure.
func (*CreateExperimentReader) ReadResponse ¶
func (o *CreateExperimentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteExperimentDefault ¶
type DeleteExperimentDefault struct { Payload *experiment_model.APIStatus // contains filtered or unexported fields }
DeleteExperimentDefault handles this case with default header values.
DeleteExperimentDefault delete experiment default
func NewDeleteExperimentDefault ¶
func NewDeleteExperimentDefault(code int) *DeleteExperimentDefault
NewDeleteExperimentDefault creates a DeleteExperimentDefault with default headers values
func (*DeleteExperimentDefault) Code ¶
func (o *DeleteExperimentDefault) Code() int
Code gets the status code for the delete experiment default response
func (*DeleteExperimentDefault) Error ¶
func (o *DeleteExperimentDefault) Error() string
type DeleteExperimentOK ¶
type DeleteExperimentOK struct {
Payload interface{}
}
DeleteExperimentOK handles this case with default header values.
A successful response.
func NewDeleteExperimentOK ¶
func NewDeleteExperimentOK() *DeleteExperimentOK
NewDeleteExperimentOK creates a DeleteExperimentOK with default headers values
func (*DeleteExperimentOK) Error ¶
func (o *DeleteExperimentOK) Error() string
type DeleteExperimentParams ¶
type DeleteExperimentParams struct { /*ID The ID of the experiment to be deleted. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteExperimentParams contains all the parameters to send to the API endpoint for the delete experiment operation typically these are written to a http.Request
func NewDeleteExperimentParams ¶
func NewDeleteExperimentParams() *DeleteExperimentParams
NewDeleteExperimentParams creates a new DeleteExperimentParams object with the default values initialized.
func NewDeleteExperimentParamsWithContext ¶
func NewDeleteExperimentParamsWithContext(ctx context.Context) *DeleteExperimentParams
NewDeleteExperimentParamsWithContext creates a new DeleteExperimentParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteExperimentParamsWithHTTPClient ¶
func NewDeleteExperimentParamsWithHTTPClient(client *http.Client) *DeleteExperimentParams
NewDeleteExperimentParamsWithHTTPClient creates a new DeleteExperimentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteExperimentParamsWithTimeout ¶
func NewDeleteExperimentParamsWithTimeout(timeout time.Duration) *DeleteExperimentParams
NewDeleteExperimentParamsWithTimeout creates a new DeleteExperimentParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteExperimentParams) SetContext ¶
func (o *DeleteExperimentParams) SetContext(ctx context.Context)
SetContext adds the context to the delete experiment params
func (*DeleteExperimentParams) SetHTTPClient ¶
func (o *DeleteExperimentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete experiment params
func (*DeleteExperimentParams) SetID ¶
func (o *DeleteExperimentParams) SetID(id string)
SetID adds the id to the delete experiment params
func (*DeleteExperimentParams) SetTimeout ¶
func (o *DeleteExperimentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete experiment params
func (*DeleteExperimentParams) WithContext ¶
func (o *DeleteExperimentParams) WithContext(ctx context.Context) *DeleteExperimentParams
WithContext adds the context to the delete experiment params
func (*DeleteExperimentParams) WithHTTPClient ¶
func (o *DeleteExperimentParams) WithHTTPClient(client *http.Client) *DeleteExperimentParams
WithHTTPClient adds the HTTPClient to the delete experiment params
func (*DeleteExperimentParams) WithID ¶
func (o *DeleteExperimentParams) WithID(id string) *DeleteExperimentParams
WithID adds the id to the delete experiment params
func (*DeleteExperimentParams) WithTimeout ¶
func (o *DeleteExperimentParams) WithTimeout(timeout time.Duration) *DeleteExperimentParams
WithTimeout adds the timeout to the delete experiment params
func (*DeleteExperimentParams) WriteToRequest ¶
func (o *DeleteExperimentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteExperimentReader ¶
type DeleteExperimentReader struct {
// contains filtered or unexported fields
}
DeleteExperimentReader is a Reader for the DeleteExperiment structure.
func (*DeleteExperimentReader) ReadResponse ¶
func (o *DeleteExperimentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetExperimentDefault ¶
type GetExperimentDefault struct { Payload *experiment_model.APIStatus // contains filtered or unexported fields }
GetExperimentDefault handles this case with default header values.
GetExperimentDefault get experiment default
func NewGetExperimentDefault ¶
func NewGetExperimentDefault(code int) *GetExperimentDefault
NewGetExperimentDefault creates a GetExperimentDefault with default headers values
func (*GetExperimentDefault) Code ¶
func (o *GetExperimentDefault) Code() int
Code gets the status code for the get experiment default response
func (*GetExperimentDefault) Error ¶
func (o *GetExperimentDefault) Error() string
type GetExperimentOK ¶
type GetExperimentOK struct {
Payload *experiment_model.APIExperiment
}
GetExperimentOK handles this case with default header values.
A successful response.
func NewGetExperimentOK ¶
func NewGetExperimentOK() *GetExperimentOK
NewGetExperimentOK creates a GetExperimentOK with default headers values
func (*GetExperimentOK) Error ¶
func (o *GetExperimentOK) Error() string
type GetExperimentParams ¶
type GetExperimentParams struct { /*ID The ID of the experiment to be retrieved. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetExperimentParams contains all the parameters to send to the API endpoint for the get experiment operation typically these are written to a http.Request
func NewGetExperimentParams ¶
func NewGetExperimentParams() *GetExperimentParams
NewGetExperimentParams creates a new GetExperimentParams object with the default values initialized.
func NewGetExperimentParamsWithContext ¶
func NewGetExperimentParamsWithContext(ctx context.Context) *GetExperimentParams
NewGetExperimentParamsWithContext creates a new GetExperimentParams object with the default values initialized, and the ability to set a context for a request
func NewGetExperimentParamsWithHTTPClient ¶
func NewGetExperimentParamsWithHTTPClient(client *http.Client) *GetExperimentParams
NewGetExperimentParamsWithHTTPClient creates a new GetExperimentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetExperimentParamsWithTimeout ¶
func NewGetExperimentParamsWithTimeout(timeout time.Duration) *GetExperimentParams
NewGetExperimentParamsWithTimeout creates a new GetExperimentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetExperimentParams) SetContext ¶
func (o *GetExperimentParams) SetContext(ctx context.Context)
SetContext adds the context to the get experiment params
func (*GetExperimentParams) SetHTTPClient ¶
func (o *GetExperimentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get experiment params
func (*GetExperimentParams) SetID ¶
func (o *GetExperimentParams) SetID(id string)
SetID adds the id to the get experiment params
func (*GetExperimentParams) SetTimeout ¶
func (o *GetExperimentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get experiment params
func (*GetExperimentParams) WithContext ¶
func (o *GetExperimentParams) WithContext(ctx context.Context) *GetExperimentParams
WithContext adds the context to the get experiment params
func (*GetExperimentParams) WithHTTPClient ¶
func (o *GetExperimentParams) WithHTTPClient(client *http.Client) *GetExperimentParams
WithHTTPClient adds the HTTPClient to the get experiment params
func (*GetExperimentParams) WithID ¶
func (o *GetExperimentParams) WithID(id string) *GetExperimentParams
WithID adds the id to the get experiment params
func (*GetExperimentParams) WithTimeout ¶
func (o *GetExperimentParams) WithTimeout(timeout time.Duration) *GetExperimentParams
WithTimeout adds the timeout to the get experiment params
func (*GetExperimentParams) WriteToRequest ¶
func (o *GetExperimentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetExperimentReader ¶
type GetExperimentReader struct {
// contains filtered or unexported fields
}
GetExperimentReader is a Reader for the GetExperiment structure.
func (*GetExperimentReader) ReadResponse ¶
func (o *GetExperimentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListExperimentDefault ¶
type ListExperimentDefault struct { Payload *experiment_model.APIStatus // contains filtered or unexported fields }
ListExperimentDefault handles this case with default header values.
ListExperimentDefault list experiment default
func NewListExperimentDefault ¶
func NewListExperimentDefault(code int) *ListExperimentDefault
NewListExperimentDefault creates a ListExperimentDefault with default headers values
func (*ListExperimentDefault) Code ¶
func (o *ListExperimentDefault) Code() int
Code gets the status code for the list experiment default response
func (*ListExperimentDefault) Error ¶
func (o *ListExperimentDefault) Error() string
type ListExperimentOK ¶
type ListExperimentOK struct {
Payload *experiment_model.APIListExperimentsResponse
}
ListExperimentOK handles this case with default header values.
A successful response.
func NewListExperimentOK ¶
func NewListExperimentOK() *ListExperimentOK
NewListExperimentOK creates a ListExperimentOK with default headers values
func (*ListExperimentOK) Error ¶
func (o *ListExperimentOK) Error() string
type ListExperimentParams ¶
type ListExperimentParams 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 experiments to be listed per page. If there are more experiments 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 ListExperiment 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" Ascending by default. */ SortBy *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListExperimentParams contains all the parameters to send to the API endpoint for the list experiment operation typically these are written to a http.Request
func NewListExperimentParams ¶
func NewListExperimentParams() *ListExperimentParams
NewListExperimentParams creates a new ListExperimentParams object with the default values initialized.
func NewListExperimentParamsWithContext ¶
func NewListExperimentParamsWithContext(ctx context.Context) *ListExperimentParams
NewListExperimentParamsWithContext creates a new ListExperimentParams object with the default values initialized, and the ability to set a context for a request
func NewListExperimentParamsWithHTTPClient ¶
func NewListExperimentParamsWithHTTPClient(client *http.Client) *ListExperimentParams
NewListExperimentParamsWithHTTPClient creates a new ListExperimentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListExperimentParamsWithTimeout ¶
func NewListExperimentParamsWithTimeout(timeout time.Duration) *ListExperimentParams
NewListExperimentParamsWithTimeout creates a new ListExperimentParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListExperimentParams) SetContext ¶
func (o *ListExperimentParams) SetContext(ctx context.Context)
SetContext adds the context to the list experiment params
func (*ListExperimentParams) SetFilter ¶
func (o *ListExperimentParams) SetFilter(filter *string)
SetFilter adds the filter to the list experiment params
func (*ListExperimentParams) SetHTTPClient ¶
func (o *ListExperimentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list experiment params
func (*ListExperimentParams) SetPageSize ¶
func (o *ListExperimentParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the list experiment params
func (*ListExperimentParams) SetPageToken ¶
func (o *ListExperimentParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list experiment params
func (*ListExperimentParams) SetResourceReferenceKeyID ¶
func (o *ListExperimentParams) SetResourceReferenceKeyID(resourceReferenceKeyID *string)
SetResourceReferenceKeyID adds the resourceReferenceKeyId to the list experiment params
func (*ListExperimentParams) SetResourceReferenceKeyType ¶
func (o *ListExperimentParams) SetResourceReferenceKeyType(resourceReferenceKeyType *string)
SetResourceReferenceKeyType adds the resourceReferenceKeyType to the list experiment params
func (*ListExperimentParams) SetSortBy ¶
func (o *ListExperimentParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the list experiment params
func (*ListExperimentParams) SetTimeout ¶
func (o *ListExperimentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list experiment params
func (*ListExperimentParams) WithContext ¶
func (o *ListExperimentParams) WithContext(ctx context.Context) *ListExperimentParams
WithContext adds the context to the list experiment params
func (*ListExperimentParams) WithFilter ¶
func (o *ListExperimentParams) WithFilter(filter *string) *ListExperimentParams
WithFilter adds the filter to the list experiment params
func (*ListExperimentParams) WithHTTPClient ¶
func (o *ListExperimentParams) WithHTTPClient(client *http.Client) *ListExperimentParams
WithHTTPClient adds the HTTPClient to the list experiment params
func (*ListExperimentParams) WithPageSize ¶
func (o *ListExperimentParams) WithPageSize(pageSize *int32) *ListExperimentParams
WithPageSize adds the pageSize to the list experiment params
func (*ListExperimentParams) WithPageToken ¶
func (o *ListExperimentParams) WithPageToken(pageToken *string) *ListExperimentParams
WithPageToken adds the pageToken to the list experiment params
func (*ListExperimentParams) WithResourceReferenceKeyID ¶
func (o *ListExperimentParams) WithResourceReferenceKeyID(resourceReferenceKeyID *string) *ListExperimentParams
WithResourceReferenceKeyID adds the resourceReferenceKeyID to the list experiment params
func (*ListExperimentParams) WithResourceReferenceKeyType ¶
func (o *ListExperimentParams) WithResourceReferenceKeyType(resourceReferenceKeyType *string) *ListExperimentParams
WithResourceReferenceKeyType adds the resourceReferenceKeyType to the list experiment params
func (*ListExperimentParams) WithSortBy ¶
func (o *ListExperimentParams) WithSortBy(sortBy *string) *ListExperimentParams
WithSortBy adds the sortBy to the list experiment params
func (*ListExperimentParams) WithTimeout ¶
func (o *ListExperimentParams) WithTimeout(timeout time.Duration) *ListExperimentParams
WithTimeout adds the timeout to the list experiment params
func (*ListExperimentParams) WriteToRequest ¶
func (o *ListExperimentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListExperimentReader ¶
type ListExperimentReader struct {
// contains filtered or unexported fields
}
ListExperimentReader is a Reader for the ListExperiment structure.
func (*ListExperimentReader) ReadResponse ¶
func (o *ListExperimentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnarchiveExperimentDefault ¶
type UnarchiveExperimentDefault struct { Payload *experiment_model.APIStatus // contains filtered or unexported fields }
UnarchiveExperimentDefault handles this case with default header values.
UnarchiveExperimentDefault unarchive experiment default
func NewUnarchiveExperimentDefault ¶
func NewUnarchiveExperimentDefault(code int) *UnarchiveExperimentDefault
NewUnarchiveExperimentDefault creates a UnarchiveExperimentDefault with default headers values
func (*UnarchiveExperimentDefault) Code ¶
func (o *UnarchiveExperimentDefault) Code() int
Code gets the status code for the unarchive experiment default response
func (*UnarchiveExperimentDefault) Error ¶
func (o *UnarchiveExperimentDefault) Error() string
type UnarchiveExperimentOK ¶
type UnarchiveExperimentOK struct {
Payload interface{}
}
UnarchiveExperimentOK handles this case with default header values.
A successful response.
func NewUnarchiveExperimentOK ¶
func NewUnarchiveExperimentOK() *UnarchiveExperimentOK
NewUnarchiveExperimentOK creates a UnarchiveExperimentOK with default headers values
func (*UnarchiveExperimentOK) Error ¶
func (o *UnarchiveExperimentOK) Error() string
type UnarchiveExperimentParams ¶
type UnarchiveExperimentParams struct { /*ID The ID of the experiment to be restored. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnarchiveExperimentParams contains all the parameters to send to the API endpoint for the unarchive experiment operation typically these are written to a http.Request
func NewUnarchiveExperimentParams ¶
func NewUnarchiveExperimentParams() *UnarchiveExperimentParams
NewUnarchiveExperimentParams creates a new UnarchiveExperimentParams object with the default values initialized.
func NewUnarchiveExperimentParamsWithContext ¶
func NewUnarchiveExperimentParamsWithContext(ctx context.Context) *UnarchiveExperimentParams
NewUnarchiveExperimentParamsWithContext creates a new UnarchiveExperimentParams object with the default values initialized, and the ability to set a context for a request
func NewUnarchiveExperimentParamsWithHTTPClient ¶
func NewUnarchiveExperimentParamsWithHTTPClient(client *http.Client) *UnarchiveExperimentParams
NewUnarchiveExperimentParamsWithHTTPClient creates a new UnarchiveExperimentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUnarchiveExperimentParamsWithTimeout ¶
func NewUnarchiveExperimentParamsWithTimeout(timeout time.Duration) *UnarchiveExperimentParams
NewUnarchiveExperimentParamsWithTimeout creates a new UnarchiveExperimentParams object with the default values initialized, and the ability to set a timeout on a request
func (*UnarchiveExperimentParams) SetContext ¶
func (o *UnarchiveExperimentParams) SetContext(ctx context.Context)
SetContext adds the context to the unarchive experiment params
func (*UnarchiveExperimentParams) SetHTTPClient ¶
func (o *UnarchiveExperimentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unarchive experiment params
func (*UnarchiveExperimentParams) SetID ¶
func (o *UnarchiveExperimentParams) SetID(id string)
SetID adds the id to the unarchive experiment params
func (*UnarchiveExperimentParams) SetTimeout ¶
func (o *UnarchiveExperimentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unarchive experiment params
func (*UnarchiveExperimentParams) WithContext ¶
func (o *UnarchiveExperimentParams) WithContext(ctx context.Context) *UnarchiveExperimentParams
WithContext adds the context to the unarchive experiment params
func (*UnarchiveExperimentParams) WithHTTPClient ¶
func (o *UnarchiveExperimentParams) WithHTTPClient(client *http.Client) *UnarchiveExperimentParams
WithHTTPClient adds the HTTPClient to the unarchive experiment params
func (*UnarchiveExperimentParams) WithID ¶
func (o *UnarchiveExperimentParams) WithID(id string) *UnarchiveExperimentParams
WithID adds the id to the unarchive experiment params
func (*UnarchiveExperimentParams) WithTimeout ¶
func (o *UnarchiveExperimentParams) WithTimeout(timeout time.Duration) *UnarchiveExperimentParams
WithTimeout adds the timeout to the unarchive experiment params
func (*UnarchiveExperimentParams) WriteToRequest ¶
func (o *UnarchiveExperimentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnarchiveExperimentReader ¶
type UnarchiveExperimentReader struct {
// contains filtered or unexported fields
}
UnarchiveExperimentReader is a Reader for the UnarchiveExperiment structure.
func (*UnarchiveExperimentReader) ReadResponse ¶
func (o *UnarchiveExperimentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- archive_experiment_parameters.go
- archive_experiment_responses.go
- create_experiment_parameters.go
- create_experiment_responses.go
- delete_experiment_parameters.go
- delete_experiment_responses.go
- experiment_service_client.go
- get_experiment_parameters.go
- get_experiment_responses.go
- list_experiment_parameters.go
- list_experiment_responses.go
- unarchive_experiment_parameters.go
- unarchive_experiment_responses.go