Documentation
¶
Overview ¶
Package apple implements the RuntimeProvider interface for Apple's container runtime.
Index ¶
- type Provider
- func (p *Provider) IsInstalled() bool
- func (p *Provider) KillJob(ctx context.Context, jobID string) error
- func (p *Provider) ListJobs(ctx context.Context) ([]*runtime.Job, error)
- func (p *Provider) Name() string
- func (p *Provider) PullImage(ctx context.Context, image string) error
- func (p *Provider) RunJob(ctx context.Context, opts runtime.JobOptions) error
- func (p *Provider) Validate(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements RuntimeProvider for Apple's container runtime.
func NewProvider ¶
NewProvider creates a new Provider with the given container binary path. If containerPath is empty, it defaults to "container".
func (*Provider) IsInstalled ¶
IsInstalled reports whether the container binary is available on the system.
Click to show internal directories.
Click to hide internal directories.