configmap

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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)

ConfigMapData 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL