util

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateManifestYaml

func GenerateManifestYaml(objs []runtime.Object) string

func GenerateObjectYAML

func GenerateObjectYAML(obj runtime.Object, replacements []Replacement) string

func PrintObjects

func PrintObjects(objs []runtime.Object)

func TypeToKind

func TypeToKind(i interface{}) string

Types

type Replacement

type Replacement struct {
	Kind      string
	Name      string
	Value     interface{}
	FieldPath []string
}

Jump to

Keyboard shortcuts

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