Documentation ¶
Index ¶
- Constants
- type Docker
- func (dkr *Docker) ListServices(ctx context.Context) ([]string, error)
- func (dkr *Docker) MonitorService(ctx context.Context, id string) (<-chan Event, <-chan error)
- func (dkr *Docker) ProfileService(ctx context.Context, id string, period time.Duration) (<-chan Stats, <-chan error)
- func (dkr *Docker) RemoveService(ctx context.Context, id string) error
- func (dkr *Docker) RestartService(ctx context.Context, id string) error
- func (dkr *Docker) StartService(ctx context.Context, svcConfig *service.Configuration) (string, error)
- func (dkr *Docker) StopService(ctx context.Context, id string) error
- func (dkr *Docker) TailService(ctx context.Context, id string, log bool) (<-chan string, <-chan error)
- type Event
- type ServiceBackend
- type Stats
Constants ¶
View Source
const (
Die = iota
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
type Docker struct { Alias string // contains filtered or unexported fields }
func (*Docker) ListServices ¶
func (*Docker) MonitorService ¶
func (*Docker) ProfileService ¶
func (*Docker) RemoveService ¶
func (*Docker) RestartService ¶
func (*Docker) StartService ¶
type ServiceBackend ¶
type ServiceBackend interface { StartService(ctx context.Context, config *service.Configuration) (string, error) RestartService(ctx context.Context, id string) error StopService(ctx context.Context, id string) error RemoveService(ctx context.Context, id string) error ListServices(ctx context.Context) ([]string, error) TailService(ctx context.Context, id string, log bool) (<-chan string, <-chan error) MonitorService(ctx context.Context, id string) (<-chan Event, <-chan error) ProfileService(ctx context.Context, id string, period time.Duration) (<-chan Stats, <-chan error) }
Click to show internal directories.
Click to hide internal directories.