package
0.16.3
Repository: https://github.com/splunk/qbec.git
Documentation: pkg.go.dev

# Functions

AssertMetadataValid asserts that the object metadata for the supplied unstructured object is valid.
NameForDisplay returns the local name of the metadata object, taking generated names into account.
NewApp returns an app loading its details from the supplied file.
NewComponentFilter returns a filter for component names.
NewFilters sets up options in the supplied flags and returns a function to return filters.
NewK8sLocalObject wraps a K8sLocalObject implementation around the unstructured object data specified as a bag of attributes for the supplied application, component and environment.
NewK8sObject wraps a K8sObject implementation around the unstructured object data specified as a bag of attributes.

# Constants

Baseline is a special environment name that represents the baseline environment with no customizations.
the default components directory.
the default params files.
LatestAPIVersion is the latest version of the API we support.
QBECDirectivesNamespace is the leading path for all directives set by the user for qbec use.
QBECMetadataPrefix is the leading path for all metadata set by qbec.

# Variables

QbecNames is the set of names used by Qbec.

# Structs

App is a qbec application wrapped with some runtime attributes.
AppMeta is the simplified metadata object for a qbec app.
AppSpec is the user-supplied configuration of the qbec app.
Component is one or more logically related files that contains objects to be applied to a cluster.
ComputedVar is a variable that is computed based on evaluating jsonnet code.
Directives is the list of directive names we support.
Environment points to a specific destination and has its own set of runtime parameters.
ExternalVar is a variable that is set as an extVar in the jsonnet VM.
Filters is a collection of filters.
LocalAttrs are the attributes used to create local k8s objects.
QbecApp is a set of components that can be applied to multiple environments with tweaked runtime configurations.
QbecEnvironmentMap is a standalone object that contains a map of environments keyed by name.
QbecEnvironmentMapSpec is the spec for a QbecEnvironmentMap object.
TopLevelVar is a variable that is set as a TLA in the jsonnet VM.
Var is a base variable.
Variables is a collection of external and top-level variables.

# Interfaces

Filter filters inputs.
K8sLocalObject is the interface to access a kubernetes object that has additional qbec attributes.
K8sMeta is the minimum metadata needed for an object and is satisfied by an unstructured.Unstructured instance.
K8sObject is the interface to access a kubernetes object.
K8sQbecMeta has K8s as well as qbec metadata.
Namespaced provides metadata relating to whether a K8s type is namespaced or cluster scoped.
QbecMeta provides qbec metadata.