resources

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateObjectFromTemplate

func CreateObjectFromTemplate(ctx context.Context, cfg *envconf.Config, template string, data interface{}) (*unstructured.Unstructured, error)

CreateObjectFromTemplate creates a single object by first applying the passed in data to a template

func CreateObjectsFromDir

func CreateObjectsFromDir(ctx context.Context, cfg *envconf.Config, dir string) (*unstructured.UnstructuredList, error)

CreateObjectsFromDir creates objects specified by a file on the file system

func CreateObjectsFromTemplateFile

func CreateObjectsFromTemplateFile(ctx context.Context, cfg *envconf.Config, filePath string, data interface{}) (*unstructured.UnstructuredList, error)

CreateObjectsFromTemplateFile creates objects by first applying the passed data to a template file on the file system

func DeleteObject

func DeleteObject(ctx context.Context, c *envconf.Config, obj k8s.Object, options ...wait.Option) error

DeleteObject deletes the passed in object if it exists

Types

This section is empty.

Jump to

Keyboard shortcuts

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