utils

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultE2ENamespace = "unstructured-controller-namespace"

DefaultE2ENamespace is the namespace used by e2e tests (must match test/e2e/main_test.go testNamespace).

Variables

This section is empty.

Functions

func GetControllerConfigResource added in v0.2.0

func GetControllerConfigResource() *v1alpha1.ControllerConfig

func GetUnstructuredDataProductResource added in v0.2.0

func GetUnstructuredDataProductResource(name, namespace string) v1alpha1.UnstructuredDataProduct

create an UnstructuredDataProduct CR for e2e tests

func NewClientConfigFromSnowflakeSpec added in v0.2.0

func NewClientConfigFromSnowflakeSpec(spec *v1alpha1.SnowflakeConfig, secret *corev1.Secret) *snowflake.ClientConfig

func WaitForResourceReady added in v0.5.0

func WaitForResourceReady(condition, crdName, resourceName, namespace string) error

helper function for kubectl wait for a resource to be ready

Types

type StageFile added in v0.2.0

type StageFile struct {
	FileName string `db:"name"`
}

Jump to

Keyboard shortcuts

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