plugins

package
v2.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL