dependencymanager

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetManagerInstance

func GetManagerInstance() (*instance, error)

GetManagerInstance returns the singleton instance of the instance struct.

func InitializeManagerInstance

func InitializeManagerInstance(ctx context.Context, c client.Client, enabled bool, logger logr.Logger)

InitializeManagerInstance returns the singleton instance of the instance struct.

Types

type ClusterDeployments

type ClusterDeployments struct {
	Clusters map[corev1.ObjectReference]RequestingProfiles `json:"clusters,omitempty"`
}

ClusterDeployments maps clusters to profiles requesting deployment.

type ProfileDeployments

type ProfileDeployments struct {
	Profiles map[corev1.ObjectReference]ClusterDeployments `json:"profiles,omitempty"`
}

type RequestingProfiles

type RequestingProfiles struct {
	Dependents map[corev1.ObjectReference]bool `json:"dependents,omitempty"`
}

type SortedCorev1ObjectReference added in v1.2.0

type SortedCorev1ObjectReference []corev1.ObjectReference

func (SortedCorev1ObjectReference) Len added in v1.2.0

func (SortedCorev1ObjectReference) Less added in v1.2.0

func (a SortedCorev1ObjectReference) Less(i, j int) bool

func (SortedCorev1ObjectReference) Swap added in v1.2.0

func (a SortedCorev1ObjectReference) Swap(i, j int)

Jump to

Keyboard shortcuts

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