templates

package
v0.13.1-release Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NodeConfigTemplate            = "%s-config"
	NodeStorageTemplate           = "%s-%d-%s-storage-"
	ExternalClusterSecretTemplate = "%s-basic-secret"
)

Variables

This section is empty.

Functions

func ObjectMeta

func ObjectMeta(name string, labels map[string]string, cluster *v1alpha1.NifiCluster) metav1.ObjectMeta

ObjectMeta returns a metav1.ObjectMeta object with labels, ownerReference and name

func ObjectMetaClusterScope

func ObjectMetaClusterScope(name string, labels map[string]string, cluster *v1alpha1.NifiCluster) metav1.ObjectMeta

ObjectMetaClusterScope returns a metav1.ObjectMeta object with labels, ownerReference, name and annotations

func ObjectMetaLabels

func ObjectMetaLabels(cluster *v1alpha1.NifiCluster, l map[string]string) map[string]string

func ObjectMetaWithAnnotations

func ObjectMetaWithAnnotations(name string, labels map[string]string, annotations map[string]string, cluster *v1alpha1.NifiCluster) metav1.ObjectMeta

ObjectMetaWithAnnotations returns a metav1.ObjectMeta object with labels, ownerReference, name and annotations

func ObjectMetaWithGeneratedName

func ObjectMetaWithGeneratedName(namePrefix string, labels map[string]string, cluster *v1alpha1.NifiCluster) metav1.ObjectMeta

ObjectMetaWithGeneratedName returns a metav1.ObjectMeta object with labels, ownerReference and generatedname

func ObjectMetaWithGeneratedNameAndAnnotations

func ObjectMetaWithGeneratedNameAndAnnotations(namePrefix string, labels map[string]string, annotations map[string]string, cluster *v1alpha1.NifiCluster) metav1.ObjectMeta

ObjectMetaWithGeneratedNameAndAnnotations returns a metav1.ObjectMeta object with labels, ownerReference, generatedname and annotations

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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