Documentation ¶
Index ¶
Constants ¶
View Source
const EventDispatcherConfigMap = "config-imc-event-dispatcher"
EventDispatcherConfigMap is the name of the configmap for event dispatcher.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventDispatcherConfig ¶
type EventDispatcherConfig struct {
kncloudevents.ConnectionArgs
}
EventDispatcherConfig holds the configuration parameters for the event dispatcher.
func NewEventDisPatcherConfigFromConfigMap ¶
func NewEventDisPatcherConfigFromConfigMap(config *corev1.ConfigMap) (EventDispatcherConfig, error)
NewEventDisPatcherConfigFromConfigMap converts a k8s configmap into EventDispatcherConfig.
type EventDispatcherConfigStore ¶
type EventDispatcherConfigStore struct { *configmap.UntypedStore // contains filtered or unexported fields }
EventDispatcherConfigStore loads/unloads untyped configuration from configmap.
func NewEventDispatcherConfigStore ¶
func NewEventDispatcherConfigStore(logger configmap.Logger, onAfterStore ...func(name string, value interface{})) *EventDispatcherConfigStore
NewEventDispatcherConfigStore creates a configuration Store
func (*EventDispatcherConfigStore) GetConfig ¶
func (s *EventDispatcherConfigStore) GetConfig() EventDispatcherConfig
GetConfig returns the current config in the store.
Click to show internal directories.
Click to hide internal directories.