Documentation
¶
Overview ¶
Package cli contains generic implementation of CLI tools build around types.Resource interface.
Index ¶
Constants ¶
View Source
const ( // ExitError is returned by Run(), if any error occurs. ExitError = 1 // ExitOK is successful return code from Run(). ExitOK = 0 )
Variables ¶
This section is empty.
Functions ¶
func ReadYamlFile ¶ added in v0.3.0
ReadYamlFile reads YAML file from disk and handles empty files, so they can be merged.
func Run ¶
func Run(rc types.ResourceConfig) int
Run is a generic function, which runs Flexkube CLI tools. If any error occurs, non-zero exit code is returned.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package containerrunner contains implementation of CLI tool for creating any managing any containers.
|
Package containerrunner contains implementation of CLI tool for creating any managing any containers. |
Package flexkube contains logic of 'flexkube' CLI.
|
Package flexkube contains logic of 'flexkube' CLI. |
Click to show internal directories.
Click to hide internal directories.