internal

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 12 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 MustTmpFileFromEmbedFS added in v0.1.1

func MustTmpFileFromEmbedFS(fs embed.FS, path string) string

MustTmpFileFromEmbedFS creates a temporary file from an embedded file and returns the file path

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