Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ContourCfgMapName is the name of Contour's ConfigMap resource. // [TODO] danehans: Remove and use contour.Name when // https://github.com/projectcontour/contour/issues/2122 is fixed. ContourCfgMapName = "contour" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v1.14.0
type Config struct { // Namespace is the namespace of the ConfigMap. Namespace string // Name is the name of the ConfigMap. Defaults to "contour". Name string // Labels are labels to apply to the ConfigMap. Labels map[string]string // Contour contains Contour configuration parameters. Contour contourConfig }
Config contains everything needed to manage a ConfigMap.
func NewCfgForContour ¶ added in v1.14.0
func NewCfgForContour(contour *operatorv1alpha1.Contour) *Config
NewCfgForContour returns a ConfigMap Config with default fields set for contour.
func NewCfgForGateway ¶ added in v1.14.0
func NewCfgForGateway(gw *gatewayv1alpha1.Gateway, controllerName string) *Config
NewCfgForGateway returns a ConfigMap Config with default fields set for gw.
Click to show internal directories.
Click to hide internal directories.