Documentation
¶
Overview ¶
Package create provides the container create command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreate ¶
func NewCmdCreate(f *cmdutil.Factory, runF func(context.Context, *CreateOptions) error) *cobra.Command
NewCmdCreate creates a new container create command.
Types ¶
type CreateOptions ¶
type CreateOptions struct {
*shared.ContainerCreateOptions
IOStreams *iostreams.IOStreams
TUI *tui.TUI
Client func(context.Context) (*docker.Client, error)
Config func() (config.Config, error)
ProjectManager func() (project.ProjectManager, error)
HostProxy func() hostproxy.HostProxyService
Prompter func() *prompter.Prompter
Logger func() (*logger.Logger, error)
Version string
// contains filtered or unexported fields
}
CreateOptions holds options for the create command. It embeds ContainerCreateOptions for shared container configuration.
Click to show internal directories.
Click to hide internal directories.