Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command wraps a github.com/traefik/paerser/cli.Command, providing an Execute method.
func New ¶
func New(pluginBuilders map[string]traepikPlugins.PluginBuilder) (*Command, error)
New creates the root traefik command, configured with the provided plugins.
Usage:
traefikCmd, err := cmd.New(plugins) if err != nil { ... } traefikCmd.Execute()
Click to show internal directories.
Click to hide internal directories.