status

package
v0.0.0-...-4efcaec Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// SourceHashAnnotationKey is the name of the annotation which contains the source hash
	SourceHashAnnotationKey = "configmanagement.gke.io/token"
)

Variables

This section is empty.

Functions

func ComputeStatus

ComputeStatus computes the status and conditions that should be saved in the memory.

func ConvertKstatusConditions

func ConvertKstatusConditions(kstatusConds []kstatus.Condition) []v1alpha1.Condition

ConvertKstatusConditions converts the status from kstatus library to the conditions defined in ResourceGroup apis.

func GetSourceHash

func GetSourceHash(annotations map[string]string) string

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

func IsCNRMResource

func IsCNRMResource(group string) bool

IsCNRMResource checks if a group is for a CNRM resource.

func ReadKCCResourceConditions

func ReadKCCResourceConditions(obj *unstructured.Unstructured) ([]v1alpha1.Condition, error)

ReadKCCResourceConditions reads the status.conditions from a KCC object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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