Documentation
¶
Index ¶
Constants ¶
View Source
const ElectionID string = "08db3feb.percona.com"
Variables ¶
This section is empty.
Functions ¶
func CreateRuntimeManager ¶
func CreateRuntimeManager(config *rest.Config, features feature.MutableGate, options manager.Options) (manager.Manager, error)
CreateRuntimeManager wraps internal/controller/runtime.NewManager and modifies the given options:
- Fully overwrites the Cache field
- Sets Cache.SyncPeriod to refreshInterval const
- Sets Cache.DefaultNamespaces by using k8s.GetWatchNamespace() split by ","
- Sets BaseContext to include the provided feature gates
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.