disasterrecovery

package
v1.109.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLabelTransformerYAML

func GetLabelTransformerYAML(additionalLabels map[string]string) ([]byte, error)

Types

type LabelTransformer

type LabelTransformer struct {
	APIVersion string                     `json:"apiVersion"  yaml:"apiVersion"`
	Kind       string                     `json:"kind"  yaml:"kind"`
	Metadata   OverlySimpleMetadata       `json:"metadata"  yaml:"metadata"`
	Labels     map[string]string          `json:"labels,omitempty" yaml:"labels,omitempty"`
	FieldSpecs []kustomizetypes.FieldSpec `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"`
}

type OverlySimpleMetadata

type OverlySimpleMetadata struct {
	Name string `yaml:"name"`
}

Jump to

Keyboard shortcuts

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