Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
The clusterresource Controller manages applying desired templatized kubernetes resource files as resources in the execution kubernetes cluster.
func NewClusterResourceController ¶
func NewClusterResourceController(adminDataProvider interfaces.NebulaAdminDataProvider, listTargets executionclusterIfaces.ListTargetsInterface, scope promutils.Scope) Controller
func NewClusterResourceControllerFromConfig ¶
func NewClusterResourceControllerFromConfig(ctx context.Context, scope promutils.Scope, configuration runtimeInterfaces.Configuration) (Controller, error)
type NamespaceCache ¶
type NamespaceCache = map[NamespaceName]TemplateChecksums
type NamespaceName ¶
type NamespaceName = string
type ResourceSyncStats ¶
ResourceSyncStats is a simple struct to track the number of resources created, updated, already there, and errored
func (*ResourceSyncStats) Add ¶
func (m *ResourceSyncStats) Add(other ResourceSyncStats)
Add adds the values of the other ResourceSyncStats to this one
type TemplateChecksums ¶
Click to show internal directories.
Click to hide internal directories.