status

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetFederatedStatus

func SetFederatedStatus(
	fedObject fedcorev1a1.GenericFederatedObject,
	reason fedcorev1a1.FederatedObjectConditionReason,
	collectedStatus CollectedPropagationStatus,
) bool

SetFederatedStatus sets the conditions and clusters fields of the federated resource's object map. Returns a boolean indication of whether status should be written to the API.

Types

type CollectedPropagationStatus

type CollectedPropagationStatus struct {
	StatusMap        PropagationStatusMap
	GenerationMap    map[string]int64
	ResourcesUpdated bool
}

type PropagationStatusMap

type PropagationStatusMap map[string]fedcorev1a1.PropagationStatusType

Jump to

Keyboard shortcuts

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