dockerprovider

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Image        string
	RunnerAPIURL string
	Network      string
	Volumes      []string
	ExtraHosts   []string
	Init         bool
	User         string
	Entrypoint   []string
}

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func New

func New(config Config, log *slog.Logger) (*Provider, error)

func (*Provider) BuildBootstrap

func (p *Provider) BuildBootstrap(
	request provider.RunnerBootstrap,
) ([]byte, error)

func (*Provider) Create

func (p *Provider) Create(
	ctx context.Context,
	request provider.CreateRequest,
) (provider.Resource, error)

func (*Provider) Delete

func (p *Provider) Delete(
	ctx context.Context,
	resource provider.Resource,
) error

func (*Provider) List

func (p *Provider) List(
	ctx context.Context,
	fleetID string,
) ([]provider.Resource, error)

func (*Provider) Name

func (p *Provider) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL