Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GeneratedResourcePrefix is the name prefix for resources generated in the // EventListener reconciler GeneratedResourcePrefix = "el" )
Variables ¶
View Source
var ( // ElPort defines the port for the EventListener to listen on ElPort = flag.Int("el-port", 8080, "The container port for the EventListener to listen on.") // PeriodSeconds defines Period Seconds for the EventListener Liveness Probe PeriodSeconds = flag.Int("period-seconds", 10, "The Period Seconds for the EventListener Liveness Probe.") // FailureThreshold defines the Failure Threshold for the EventListener Liveness Probe FailureThreshold = flag.Int("failure-threshold", 1, "The Failure Threshold for the EventListener Liveness Probe.") // StaticResourceLabels is a map with all the labels that should be on // all resources generated by the EventListener StaticResourceLabels = map[string]string{ "app.kubernetes.io/managed-by": "EventListener", "app.kubernetes.io/part-of": "Triggers", } )
Functions ¶
func GenerateResourceLabels ¶
GenerateResourceLabels generates the labels to be used on all generated resources.
func NewController ¶
NewController creates a new instance of an EventListener controller.
Types ¶
type Reconciler ¶
type Reconciler struct { *reconciler.Base // contains filtered or unexported fields }
Reconciler implements controller.Reconciler for Configuration resources.
Click to show internal directories.
Click to hide internal directories.