utils

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RegistryTypeOCI     = "oci"
	RegistryTypeDefault = "default"
)
View Source
const (
	DefaultSystemNamespace = "hmc-system"
)

Variables

This section is empty.

Functions

func AddOwnerReference added in v0.0.4

func AddOwnerReference(dependent, owner client.Object) (changed bool)

func CurrentNamespace

func CurrentNamespace() string

func DetermineDefaultRepositoryType

func DetermineDefaultRepositoryType(defaultRegistryURL string) (string, error)

func EnsureDeleteAllOf

func EnsureDeleteAllOf(ctx context.Context, cl client.Client, gvk schema.GroupVersionKind, opts *client.ListOptions) error

func ReleaseNameFromVersion

func ReleaseNameFromVersion(version string) string

func TemplatesChartFromReleaseName

func TemplatesChartFromReleaseName(releaseName string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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