internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecTemplate

func ExecTemplate(textTemplate string, data interface{}) (string, error)

ExecTemplate parses and executes textTemplate with the provided data

func ExecTemplateFile

func ExecTemplateFile(filePath string, data interface{}) (string, error)

ExecTemplateFile parses and executes a template referenced by a file with the provided data

func IgnoreNotFound

func IgnoreNotFound(err error) error

IgnoreNotFound returns returns no error for IsNotFound

func ToUnstructured

func ToUnstructured(obj k8s.Object) (*unstructured.Unstructured, error)

ToUnstructured converts a Object to Unstructured

func UnstructuredRef

func UnstructuredRef(name string, namespace string, gvk schema.GroupVersionKind) *unstructured.Unstructured

UnstructuredRef returns an empty object with its identifying properties set

Types

This section is empty.

Jump to

Keyboard shortcuts

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