Documentation ¶
Index ¶
- func AddFlags(o *cli.ProjectOptions, flags *pflag.FlagSet)
- func ComposeCommand(dockerCli command.Cli) *cobra.Command
- func ConvertCommand(dockerCli command.Cli, projectOpts *cli.ProjectOptions) *cobra.Command
- func CreateSecret(dockerCli command.Cli) *cobra.Command
- func DeleteSecret(dockerCli command.Cli) *cobra.Command
- func DownCommand(dockerCli command.Cli, projectOpts *cli.ProjectOptions) *cobra.Command
- func InspectSecret(dockerCli command.Cli) *cobra.Command
- func ListSecrets(dockerCli command.Cli) *cobra.Command
- func LogsCommand(dockerCli command.Cli, projectOpts *cli.ProjectOptions) *cobra.Command
- func NewRootCmd(dockerCli command.Cli) *cobra.Command
- func PsCommand(dockerCli command.Cli, projectOpts *cli.ProjectOptions) *cobra.Command
- func SecretCommand(dockerCli command.Cli) *cobra.Command
- func SetupCommand() *cobra.Command
- func UpCommand(dockerCli command.Cli, projectOpts *cli.ProjectOptions) *cobra.Command
- func VersionCommand() *cobra.Command
- func WithProject(options *cli.ProjectOptions, f ProjectFunc) func(cmd *cobra.Command, args []string) error
- type ProjectFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertCommand ¶
func DownCommand ¶
func LogsCommand ¶
func NewRootCmd ¶
NewRootCmd returns the base root command.
func SetupCommand ¶
func VersionCommand ¶
func WithProject ¶
func WithProject(options *cli.ProjectOptions, f ProjectFunc) func(cmd *cobra.Command, args []string) error
WithProject wrap a ProjectFunc into a cobra command
Types ¶
Click to show internal directories.
Click to hide internal directories.