bundle

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BundleConfigWatchNamespaceKey = "watchNamespace"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.6.0

type Config struct {
	WatchNamespace *string `json:"watchNamespace"`
}

func UnmarshalConfig added in v1.6.0

func UnmarshalConfig(bytes []byte, rv1 RegistryV1, installNamespace string) (*Config, error)

UnmarshalConfig returns a deserialized *bundle.Config based on bytes and validated against rv1 and the desired install namespaces. It will error if: - rv is nil - bytes is not a valid YAML/JSON object - bytes is a valid YAML/JSON object but does not follow the registry+v1 schema - if bytes is nil, a nil *bundle.Config is returned with no error

type RegistryV1

type RegistryV1 struct {
	PackageName string
	CSV         v1alpha1.ClusterServiceVersion
	CRDs        []apiextensionsv1.CustomResourceDefinition
	Others      []unstructured.Unstructured
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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