Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecorateWithClusterConfigs ¶
func DecorateWithClusterConfigs(ctx context.Context, reader client.Reader, policies *AllConfigs) status.MultiError
DecorateWithClusterConfigs updates AllPolices with all the ClusterConfigs from APIServer.
Types ¶
type AllConfigs ¶
type AllConfigs struct {
// Map of names to NamespaceConfigs.
NamespaceConfigs map[string]v1.NamespaceConfig
// Singleton config for non-CRD cluster-scoped resources.
ClusterConfig *v1.ClusterConfig
// Config with declared state for CRDs.
CRDClusterConfig *v1.ClusterConfig
}
AllConfigs holds things that Importer wants to sync. It is only used in-process, not written directly as a Kubernetes resource.
Click to show internal directories.
Click to hide internal directories.