Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdRemove ¶
func NewCmdRemove(f *cmdutil.Factory, runF func(context.Context, *RemoveOptions) error) *cobra.Command
NewCmdRemove creates the container remove command.
Types ¶
type RemoveOptions ¶
type RemoveOptions struct {
IOStreams *iostreams.IOStreams
Client func(context.Context) (*docker.Client, error)
ProjectManager func() (project.ProjectManager, error)
SocketBridge func() socketbridge.SocketBridgeManager
Logger func() (*logger.Logger, error)
Agent bool
Force bool
Volumes bool
Containers []string
}
RemoveOptions holds options for the remove command.
Click to show internal directories.
Click to hide internal directories.