run

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProviderCommand added in v0.2.0

func NewProviderCommand(
	newDockerClient DockerClientFunc,
	selectedProvider provider.Provider,
) *cobra.Command

func RunProvider added in v0.2.1

func RunProvider(
	cmd *cobra.Command,
	args []string,
	newDockerClient DockerClientFunc,
	selectedProvider provider.Provider,
	configureNetworkProxy NetworkProxyConfigurationFunc,
) error

Types

type DockerClient

type DockerClient interface {
	Build(context.Context, docker.BuildRequest) error
	Run(context.Context, docker.RunRequest) error
	Close() error
	HasImage(context.Context, string) (bool, error)
}

type DockerClientFunc

type DockerClientFunc func() (DockerClient, error)

type NetworkProxyConfigurationFunc added in v0.2.1

type NetworkProxyConfigurationFunc func(config.Config, string) (*docker.NetworkProxy, error)

Jump to

Keyboard shortcuts

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