Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdStart ¶
func NewCmdStart(f *cmdutil.Factory, runF func(context.Context, *StartOptions) error) *cobra.Command
NewCmdStart creates the container start command.
Types ¶
type StartOptions ¶
type StartOptions 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
Firewall func(context.Context) (firewall.FirewallManager, error)
SocketBridge func() socketbridge.SocketBridgeManager
Logger func() (*logger.Logger, error)
Agent bool // Use agent name (resolves to clawker.<project>.<agent>)
Attach bool
Containers []string
Interactive bool
}
StartOptions holds options for the start command.
Click to show internal directories.
Click to hide internal directories.