Documentation
¶
Index ¶
- func DockerImage(uri string) host.Artifact
- type ClusterClient
- type Cmd
- func Command(artifact host.Artifact, args ...string) *Cmd
- func CommandUsingCluster(c ClusterClient, artifact host.Artifact, args ...string) *Cmd
- func Job(artifact host.Artifact, job *host.Job) *Cmd
- func JobUsingCluster(c ClusterClient, artifact host.Artifact, job *host.Job) *Cmd
- func JobUsingHost(h *cluster.Host, artifact host.Artifact, job *host.Job) *Cmd
- func (c *Cmd) CombinedOutput() ([]byte, error)
- func (c *Cmd) Kill() error
- func (c *Cmd) Output() ([]byte, error)
- func (c *Cmd) ResizeTTY(height, width uint16) error
- func (c *Cmd) Run() error
- func (c *Cmd) Signal(sig int) error
- func (c *Cmd) Start() error
- func (c *Cmd) StderrPipe() (io.Reader, error)
- func (c *Cmd) StdinPipe() (io.WriteCloser, error)
- func (c *Cmd) StdoutPipe() (io.Reader, error)
- func (c *Cmd) Wait() error
- type ExitError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DockerImage ¶
func DockerImage(uri string) host.Artifact
Types ¶
type ClusterClient ¶
type Cmd ¶
type Cmd struct {
Job *host.Job
HostID string
TTY bool
Meta map[string]string
Args []string
ImageArtifact host.Artifact
Env map[string]string
Stdin io.Reader
Stdout io.Writer
Stderr io.Writer
TermHeight, TermWidth uint16
// contains filtered or unexported fields
}
func CommandUsingCluster ¶
func CommandUsingCluster(c ClusterClient, artifact host.Artifact, args ...string) *Cmd
func JobUsingCluster ¶
func JobUsingCluster(c ClusterClient, artifact host.Artifact, job *host.Job) *Cmd
func JobUsingHost ¶
func (*Cmd) CombinedOutput ¶
Click to show internal directories.
Click to hide internal directories.