Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Config *config.Config Registry *controllers.Registry // contains filtered or unexported fields }
App is a struct to hold values needed across all commands. Intent is to simplify initialization across commands.
func (*App) ApplyPaths ¶ added in v0.0.7
func (a *App) ApplyPaths(ctx context.Context, inPaths []string, period time.Duration, force bool) error
ApplyPaths applies the resources in the specified paths. Paths can be files or directories.
func (*App) LoadConfig ¶ added in v0.0.7
LoadConfig loads the config. It takes an optional command. The command allows values to be overwritten from the CLI.
func (*App) SetupLogging ¶ added in v0.0.7
func (*App) SetupRegistry ¶ added in v0.0.7
SetupRegistry sets up the registry with a list of registered controllers
Click to show internal directories.
Click to hide internal directories.