Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAddLabelsPlugin ¶ added in v2.14.0
func CreateAddLabelsPlugin(componentName string) *builtins.LabelTransformerPlugin
CreateAddLabelsPlugin creates a label transformer plugin that ensures resources to which this plugin is applied will have the Open Data Hub common labels included.
It has a following characteristics:
- It adds labels to the "metadata/labels" path for all resource kinds.
- It adds labels to the "spec/template/metadata/labels" and "spec/selector/matchLabels" paths for resources of kind "Deployment".
func CreateNamespaceApplierPlugin ¶ added in v2.14.0
func CreateNamespaceApplierPlugin(targetNamespace string) *builtins.NamespaceTransformerPlugin
CreateNamespaceApplierPlugin creates a plugin to ensure resources have the specified target namespace.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.