Documentation
¶
Index ¶
- type Nomad
- func (n *Nomad) CommandDevContainer(ctx context.Context, jobID string, user string, command string, ...) (int, error)
- func (n *Nomad) Create(ctx context.Context, job *api.Job) (*api.JobRegisterResponse, error)
- func (n *Nomad) Delete(ctx context.Context, jobID string) error
- func (n *Nomad) Init(ctx context.Context) error
- func (n *Nomad) Status(ctx context.Context, jobID string) (client.Status, *api.Job, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nomad ¶
type Nomad struct {
// contains filtered or unexported fields
}
func (*Nomad) CommandDevContainer ¶
func (n *Nomad) CommandDevContainer( ctx context.Context, jobID string, user string, command string, stdin io.Reader, stdout io.Writer, stderr io.Writer, ) (int, error)
Untested Run a command on the instance
Click to show internal directories.
Click to hide internal directories.