Documentation
¶
Overview ¶
Package exec provides the container exec command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdExec ¶
NewCmdExec creates a new exec command.
Types ¶
type ExecOptions ¶
type ExecOptions struct {
IOStreams *iostreams.IOStreams
Client func(context.Context) (*docker.Client, error)
Config func() (config.Config, error)
ProjectManager func() (project.ProjectManager, error)
HostProxy func() hostproxy.HostProxyService
Logger func() (*logger.Logger, error)
Agent bool // treat first argument as agent name(resolves to clawker.<project>.<agent>)
Interactive bool
TTY bool
Detach bool
Env []string
Workdir string
User string
Privileged bool
// contains filtered or unexported fields
}
ExecOptions holds options for the exec command.
Click to show internal directories.
Click to hide internal directories.