Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { ClusterName string // IngressClass is the ingress class that this controller will monitor for IngressClass string AnnotationPrefix string ALBNamePrefix string DefaultTags map[string]string DefaultTargetType string DefaultBackendProtocol string SyncRateLimit float32 MaxConcurrentReconciles int RestrictScheme bool RestrictSchemeNamespace string // InternetFacingIngresses is an dynamic setting that can be updated by configMaps InternetFacingIngresses map[string][]string FeatureGate FeatureGate }
Configuration contains all the settings required by an Ingress controller
func NewConfiguration ¶
func NewConfiguration() Configuration
NewConfiguration constructs new Configuration obj.
func (*Configuration) BindDynamicSettings ¶
func (cfg *Configuration) BindDynamicSettings(mgr manager.Manager, c controller.Controller, cloud aws.CloudAPI) error
TODO: I'd prefer to keep config an plain data structure, and move this logic into the object that manages configuration, like current "store" object. Will move this logic there once i clean up the store object. BindDynamicSettings will force initial load of these dynamic settings from configMaps, and setup watcher for configMap changes.
func (*Configuration) BindEnv ¶
func (cfg *Configuration) BindEnv() error
func (*Configuration) BindFlags ¶
func (cfg *Configuration) BindFlags(fs *pflag.FlagSet)
BindFlags will bind the commandline flags to fields in config
func (*Configuration) Validate ¶
func (cfg *Configuration) Validate() error
type FeatureGate ¶
Click to show internal directories.
Click to hide internal directories.