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 Gateway API CRDs when the appropriate featuregate is enabled.
Types ¶
type Config ¶
type Config struct { // GatewayAPIEnabled indicates that the "GatewayAPI" featuregate is enabled. GatewayAPIEnabled bool // DependentControllers is a list of controllers that watch Gateway API // resources. The gatewayapi controller starts these controllers once // the Gateway API CRDs have been created. 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.