Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task interface {
Read(ctx context.Context) error
Create(ctx context.Context) error
Delete(ctx context.Context) error
Push(ctx context.Context, source string, unsafe bool) error
Pull(ctx context.Context, destination string) error
Logs(ctx context.Context) ([]string, error)
// Not useful for Kubernetes.
Stop(ctx context.Context) error
// To be refactored.
GetAddresses(ctx context.Context) []net.IP
GetEvents(ctx context.Context) []universal.Event
GetStatus(ctx context.Context) map[string]int
GetKeyPair(ctx context.Context) (*ssh.DeterministicSSHKeyPair, error)
GetIdentifier(ctx context.Context) string
}
Click to show internal directories.
Click to hide internal directories.