Documentation
¶
Index ¶
- type Agent
- func (d *Agent) DestroyMachine(ctx context.Context, id string, force bool) error
- func (d *Agent) DisableMachineGateway(ctx context.Context, id string) error
- func (d *Agent) EnableMachineGateway(ctx context.Context, id string) error
- func (d *Agent) GetMachineLogs(ctx context.Context, id string) ([]*api.LogEntry, error)
- func (d *Agent) MachineExec(ctx context.Context, id string, cmd []string, timeout time.Duration) (*api.ExecResult, error)
- func (a *Agent) PutMachine(ctx context.Context, opt cluster.PutMachineOptions) (*cluster.MachineInstance, error)
- func (a *Agent) Start() error
- func (d *Agent) StartMachine(ctx context.Context, id string) error
- func (d *Agent) Stop(ctx context.Context) error
- func (d *Agent) StopMachine(ctx context.Context, id string, opt *api.StopConfig) error
- func (d *Agent) SubscribeToMachineLogs(ctx context.Context, id string) ([]*api.LogEntry, <-chan *api.LogEntry, error)
- func (a *Agent) WaitForMachineStatus(ctx context.Context, id string, status api.MachineStatus, timeout uint) error
- type Config
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func (*Agent) DestroyMachine ¶
func (*Agent) DisableMachineGateway ¶ added in v0.5.0
func (*Agent) EnableMachineGateway ¶ added in v0.5.0
func (*Agent) GetMachineLogs ¶
func (*Agent) MachineExec ¶
func (*Agent) PutMachine ¶
func (a *Agent) PutMachine(ctx context.Context, opt cluster.PutMachineOptions) (*cluster.MachineInstance, error)
func (*Agent) StopMachine ¶
func (*Agent) SubscribeToMachineLogs ¶
func (*Agent) WaitForMachineStatus ¶ added in v0.6.0
type Config ¶
type Config struct { Agent *config.AgentConfig Nats *config.NatsConfig Corrosion *config.CorrosionConfig }
Click to show internal directories.
Click to hide internal directories.