Documentation ¶
Index ¶
- Constants
- func Adapt(fn Command) func(cmd *cobra.Command, args []string) error
- func AdaptCmd(fn CobraCommand) func(cmd *cobra.Command, args []string) error
- func RootCommand(dockerCli command.Cli, backend api.Service) *cobra.Command
- func RunningAsStandalone() bool
- type CobraCommand
- type Command
- type ProjectFunc
- type ProjectServicesFunc
Constants ¶
View Source
const PluginName = "compose"
PluginName is the name of the plugin
Variables ¶
This section is empty.
Functions ¶
func AdaptCmd ¶
func AdaptCmd(fn CobraCommand) func(cmd *cobra.Command, args []string) error
AdaptCmd adapt a CobraCommand func to cobra library
func RootCommand ¶
RootCommand returns the compose command with its child commands
func RunningAsStandalone ¶ added in v2.0.1
func RunningAsStandalone() bool
RunningAsStandalone detects when running as a standalone program
Types ¶
type CobraCommand ¶
CobraCommand defines a cobra command function
type ProjectFunc ¶
ProjectFunc does stuff within a types.Project
Click to show internal directories.
Click to hide internal directories.