Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(mgr manager.Manager, config Config) (controller.Controller, error)
New creates and returns a controller that creates DNSNameResolver.
Types ¶
type Config ¶
type Config struct { // DependentCaches is a list of caches that are used by Controllers watching DNSNameResolver // resources. The dnsnameresolver_crd controller starts these caches once // the DNSNameResolver CRD has been created. DependentCaches []cache.Cache // DependentControllers is a list of controllers that watch DNSNameResolver // resources. The dnsnameresolver_crd controller starts these controllers once // the DNSNameResolver CRD has been created and the DependentCaches are started. DependentControllers []controller.Controller }
Config holds all the configuration that must be provided when creating the controller.
Click to show internal directories.
Click to hide internal directories.