{"modulePath":"github.com/projectsveltos/addon-controller","version":"v1.18.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package dependencymanager\n\n## Functions\n\n```go\nfunc GetManagerInstance() (*instance, error)\n```\nGetManagerInstance returns the singleton instance of the instance struct.\n\n```go\nfunc InitializeManagerInstance(ctx context.Context, c client.Client, enabled bool, logger logr.Logger)\n```\nInitializeManagerInstance returns the singleton instance of the instance struct.\n\n## Types\n\n```go\ntype ClusterDeployments struct {\n\tClusters map[corev1.ObjectReference]RequestingProfiles `json:\"clusters,omitempty\"`\n}\n```\nClusterDeployments maps clusters to profiles requesting deployment.\n\n```go\ntype ProfileDeployments struct {\n\tProfiles map[corev1.ObjectReference]ClusterDeployments `json:\"profiles,omitempty\"`\n}\n```\n\n```go\ntype RequestingProfiles struct {\n\tDependents map[corev1.ObjectReference]bool `json:\"dependents,omitempty\"`\n}\n```\n\n```go\ntype SortedCorev1ObjectReference []corev1.ObjectReference\n```\n\n```go\nfunc (a SortedCorev1ObjectReference) Len() int\n```\n\n```go\nfunc (a SortedCorev1ObjectReference) Less(i, j int) bool\n```\n\n```go\nfunc (a SortedCorev1ObjectReference) Swap(i, j int)\n```\n\n","path":"github.com/projectsveltos/addon-controller/controllers/dependencymanager","name":"dependencymanager","synopsis":"","isRedistributable":true}
