Documentation
¶
Index ¶
Constants ¶
View Source
const ( Docker = "docker" Shell = "shell" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindConfig ¶ added in v0.1.18
type BindMounter ¶ added in v0.1.18
type BindMounter struct {
// contains filtered or unexported fields
}
func NewBindMounter ¶ added in v0.1.18
func NewBindMounter(cfg BindConfig) *BindMounter
type MultiMounter ¶ added in v0.1.18
type MultiMounter struct {
// contains filtered or unexported fields
}
func NewMultiMounter ¶ added in v0.1.18
func NewMultiMounter() *MultiMounter
func (*MultiMounter) RegisterMounter ¶ added in v0.1.18
func (m *MultiMounter) RegisterMounter(mtype string, mr Mounter)
type Runtime ¶
type Runtime interface {
Run(ctx context.Context, t *tork.Task) error
Stop(ctx context.Context, t *tork.Task) error
HealthCheck(ctx context.Context) error
}
Runtime is the actual runtime environment that executes a task.
type VolumeMounter ¶ added in v0.1.18
type VolumeMounter struct {
// contains filtered or unexported fields
}
func NewVolumeMounter ¶ added in v0.1.18
func NewVolumeMounter() (*VolumeMounter, error)
Click to show internal directories.
Click to hide internal directories.