Help us shape the future of Go! Take the 2026 Go Developer Survey

resourcegroup

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 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 added in v1.21.0

func GetSourceHash(annotations map[string]string) string

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

func IsStatusDisabled added in v1.21.0

func IsStatusDisabled(resgroup *v1alpha1.ResourceGroup) bool

IsStatusDisabled returns whether the ResourceGroup has disabled status updates.

func TruncateSourceHash added in v1.21.0

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

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