cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrContainerAlreadyRunning = errors.New("container is already running")
	ErrNoEntrypoint            = errors.New("no entrypoint specified")
)
View Source
var ContainerConfigOutput = "/.dockerless/container.json"
View Source
var ContainerPID = "/.dockerless/pid"
View Source
var ImageConfigOutput = "/.dockerless/image.json"

Functions

func NewBuildCmd

func NewBuildCmd() *cobra.Command

NewBuildCmd returns a new build command

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd returns a new root command

func NewStartCmd

func NewStartCmd() *cobra.Command

NewStartCmd returns a new start command

Types

type BuildCmd

type BuildCmd struct {
	Dockerfile    string
	Context       string
	Target        string
	RegistryCache string
	BuildArgs     []string
	IgnorePaths   []string
	Insecure      bool
	ExportCache   bool
}

func (*BuildCmd) Run

func (cmd *BuildCmd) Run() error

type StartCmd

type StartCmd struct {
	Entrypoint []string
	Cmd        []string

	User   string
	Env    []string
	Labels []string

	Wait bool
}

func (*StartCmd) Run

func (cmd *StartCmd) Run() error

Jump to

Keyboard shortcuts

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