Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MultiChannelFanoutConfigKey is the key in the ConfigMap that contains all the configuration // data. MultiChannelFanoutConfigKey = "multiChannelFanoutConfig" )
Variables ¶
This section is empty.
Functions ¶
func NewFanoutConfig ¶
func NewFanoutConfig(logger *zap.Logger, data map[string]string) (*multichannelfanout.Config, error)
NewFanoutConfig attempts to parse the config map's data into a multichannelfanout.Config. orig == NewFanoutConfig(SerializeConfig(orig))
func SerializeConfig ¶
func SerializeConfig(config multichannelfanout.Config) (map[string]string, error)
SerializeConfig takes in a multichannelfanout.Config and generates the ConfigMap equivalent. orig == NewFanoutConfig(SerializeConfig(orig))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.