Documentation
¶
Overview ¶
Package execution implements the `execution` commands on experiment runs.
Index ¶
- func AddProperty(ctx context.Context, c *platform.Client, o PropertyOptions) error
- func Cancel(ctx context.Context, c *platform.Client, id int64) error
- func Download(ctx context.Context, c *platform.Client, o DownloadOptions) error
- func Fetch(ctx context.Context, c *platform.Client, id int64) (*output.Document, error)
- func Get(ctx context.Context, c *platform.Client, o GetOptions) error
- func Latest(ctx context.Context, c *platform.Client, key string) (int64, error)
- func ListArtifacts(ctx context.Context, c *platform.Client, id int64, explicitType string) error
- func SetProperty(ctx context.Context, c *platform.Client, o PropertyOptions) error
- func Watch(ctx context.Context, c *platform.Client, o WatchOptions) error
- type Artifact
- type DownloadOptions
- type GetOptions
- type PropertyOptions
- type WatchOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProperty ¶
func Cancel ¶
Cancel asks the platform to stop a run. A 202 means it is being stopped, a 200 that there was nothing left to cancel.
func Download ¶
Download writes every selected artifact to <directory>/<target execution>/<artifact>: two targets of one step usually produce files of the same name.
func Fetch ¶
Fetch gets a run with its steps. The platform leaves the steps out unless asked, and with them every target execution and artifact.
func ListArtifacts ¶
func SetProperty ¶
Types ¶
type Artifact ¶
type DownloadOptions ¶
type GetOptions ¶
type PropertyOptions ¶
Click to show internal directories.
Click to hide internal directories.