Documentation
¶
Overview ¶
Package cli wires flate's command-line interface using cobra.
Every multi-kind command takes the same ks/hr/all positional layout:
- get ks|hr|images|all — list Flux objects or images.
- build ks|hr|all — render Flux objects to YAML.
- diff ks|hr|images|all — compare current vs. another path.
- test ks|hr|all — report reconcile status.
Use New() to obtain a cobra.Command for embedding flate in a parent CLI; Execute() and Run() are the entry points used by cmd/flate and by in-process E2E tests respectively.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
Execute runs the root command against os.Args and returns the suggested process exit code. version is the build identifier surfaced via --version.
Types ¶
type RunConfig ¶ added in v0.8.0
type RunConfig struct {
GitTransports sourcegit.Transports
}
RunConfig supplies invocation transports without exposing command-line flags.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package output owns serialization and terminal presentation of prepared values.
|
Package output owns serialization and terminal presentation of prepared values. |
|
Package testrunner classifies completed reconcile results for flate test.
|
Package testrunner classifies completed reconcile results for flate test. |