resourcegroup

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ManagerContainerName is a name of the manager controller in the
	// ResourceGroup controller Deployment.
	ManagerContainerName = "manager"
)

Variables

This section is empty.

Functions

func GetSourceHash

func GetSourceHash(annotations map[string]string) string

GetSourceHash returns the source hash that is defined in the source hash annotation.

func IsStatusDisabled

func IsStatusDisabled(resgroup *v1alpha1.ResourceGroup) bool

IsStatusDisabled returns whether the ResourceGroup has disabled status updates.

func TruncateSourceHash

func TruncateSourceHash(sourceHash string) string

TruncateSourceHash truncates the provided source hash after the first 7 characters.

func Unstructured

func Unstructured(name, namespace, id string) *unstructured.Unstructured

Unstructured creates a ResourceGroup object TODO: Replace Unstructured with kptv1alpha1.ResourceGroup

Types

This section is empty.

Directories

Path Synopsis
controllers
log

Jump to

Keyboard shortcuts

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