Documentation
¶
Index ¶
- func CreateArgs(spec Spec) []string
- type CacheMount
- type Client
- func (c *Client) Cancel(ctx context.Context, id string) error
- func (c *Client) Check(ctx context.Context) error
- func (c *Client) Create(ctx context.Context, spec Spec) (string, error)
- func (c *Client) List(ctx context.Context) ([]protocol.Job, error)
- func (c *Client) Logs(ctx context.Context, id string, follow bool, output io.Writer) error
- func (c *Client) Remove(ctx context.Context, id string) error
- func (c *Client) Status(ctx context.Context, id string) (protocol.Job, error)
- func (c *Client) ValidateImage(ctx context.Context, image string) error
- func (c *Client) Wait(ctx context.Context, id string, output io.Writer) (protocol.Job, error)
- type Config
- type Spec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateArgs ¶
Types ¶
type CacheMount ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ValidateImage ¶
type Spec ¶
type Spec struct {
ID string
Image string
CASAddress string
CASInstance string
RootDigest string
JobsRoot string
Command []string
WorkingDirectory string
Environment map[string]string
EntrypointHostPath string
Timeout time.Duration
CacheRoot string
ProjectID string
Caches []CacheMount
HostUID string
HostGID string
}
Click to show internal directories.
Click to hide internal directories.