configmap

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 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)

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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