# Functions
Close closes all the closers for the process and returns an error if any of the closers return an error.
IsRuntimeError returns if the supplied error was a runtime error as opposed to an error arising out of user input.
IsUsageError returns if the supplied error was caused due to incorrect command usage.
NewContext sets up the supplied root command with common options and returns a function to get the context after arguments have been parsed.
NewRuntimeError returns a runtime error.
NewUsageError returns a usage error.
RegisterCleanupTask registers an io.Closer for eventual cleanup.
RegisterSignalHandlers registers signal handlers for resource cleanup.
WrapError passes through usage errors and wraps all other errors with a runtime marker.
# Structs
AppContext is a context that also has a validated app.
Context is the global context of the qbec command that handles all global options supported by the tool.
EnvContext is the command context for the intersection of an app and environment.
ForceOptions are options that override qbec safety features and disregard configuration in qbec.yaml.
Options are optional attributes to create a context, mostly used for testing.
# Interfaces
KubeClient encapsulates all remote operations needed for the superset of all commands.
# Type aliases
ClientProvider returns a kubernetes client for the specific environment.
KubeAttrsProvider provides k8s attributes of the supplied environment.