helpers

package
v0.0.0-...-a3df1ba Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(ctx context.Context, client client.Client, fs embed.FS) error

Bootstrap creates resources in a package's fs by continuously retrying the list. This is blocking, i.e. it only returns (with error) when the context is closed or with nil when the bootstrapping is successfully completed.

func CreateResourceFromFS

func CreateResourceFromFS(ctx context.Context, client client.Client, filename string, fs embed.FS) error

CreateResourceFromFS creates given resource file.

func CreateResourcesFromFS

func CreateResourcesFromFS(ctx context.Context, client client.Client, fs embed.FS) error

CreateResourcesFromFS creates all resources from a filesystem.

Types

This section is empty.

Jump to

Keyboard shortcuts

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