config

package
v1.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateConfig

func ValidateConfig(config Config) error

Types

type Config

type Config struct {
	Batcher           redshiftbatcher.BatcherConfig `yaml:"batcher"`
	ConsumerGroups    []kafka.ConsumerGroupConfig   `yaml:"consumerGroups"`
	S3Sink            s3sink.Config                 `yaml:"s3sink"`
	SchemaRegistryURL string                        `yaml:"schemaRegistryURL"`
	GitAccessToken    string                        `yaml:"gitAccessToken"`
	SinkGroup         string                        `yaml:"sinkGroup,omitempty"`
}

func LoadConfig

func LoadConfig(cmd *cobra.Command) (Config, error)

Jump to

Keyboard shortcuts

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