Documentation
¶
Index ¶
- Variables
- func AddToManager(m manager.Manager, deps *Dependencies) error
- type CacheManagerInjector
- type DataClientInjector
- type Dependencies
- type ExpansionSystemInjector
- type GetPodInjector
- type Injector
- type MutationSystemInjector
- type ProviderCacheInjector
- type PubsubInjector
- type WatchManagerInjector
Constants ¶
This section is empty.
Variables ¶
View Source
var AddToManagerFuncs []func(manager.Manager) error
AddToManagerFuncs is a list of functions to add all Controllers to the Manager.
View Source
var Injectors []Injector
Injectors is a list of adder structs that need injection. We can convert this to an interface once we create controllers for things like data sync.
Functions ¶
func AddToManager ¶
func AddToManager(m manager.Manager, deps *Dependencies) error
AddToManager adds all Controllers to the Manager.
Types ¶
type CacheManagerInjector ¶ added in v3.14.0
type CacheManagerInjector interface {
InjectCacheManager(cm *cm.CacheManager)
}
type DataClientInjector ¶ added in v3.14.0
type DataClientInjector interface {
InjectCFClient(*constraintclient.Client)
}
type Dependencies ¶
type Dependencies struct {
CFClient *constraintclient.Client
WatchManger *watch.Manager
ControllerSwitch *watch.ControllerSwitch
Tracker *readiness.Tracker
GetPod func(context.Context) (*corev1.Pod, error)
ProcessExcluder *process.Excluder
MutationSystem *mutation.System
ExpansionSystem *expansion.System
ProviderCache *externaldata.ProviderCache
PubsubSystem *pubsub.System
SyncEventsCh chan event.GenericEvent
CacheMgr *cm.CacheManager
}
Dependencies are dependencies that can be injected into controllers.
type ExpansionSystemInjector ¶ added in v3.14.0
type GetPodInjector ¶
type MutationSystemInjector ¶ added in v3.14.0
type ProviderCacheInjector ¶ added in v3.14.0
type ProviderCacheInjector interface {
InjectProviderCache(providerCache *externaldata.ProviderCache)
}
type PubsubInjector ¶
type WatchManagerInjector ¶ added in v3.14.0
Source Files
¶
Click to show internal directories.
Click to hide internal directories.