cfg

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTP_PUSHER    = "http"
	KINESIS_PUSHER = "kinesis"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	EDEndpoint         string
	KinesisEndpoint    string
	PusherMode         string
	ForwardTags        bool
	LogTypes           []string
	BfgConfig          *lambda.BufferingCfg
	PushTimeout        time.Duration
	RetryInterval      time.Duration
	Tags               map[string]string
	AccountID          string
	Region             string
	FunctionARN        string
	ProcessRuntimeName string
	HostArchitecture   string
	MemorySize         string
	BufferSize         int
	FlushAtNextInvoke  bool
	TagPrefix          string
}

Config for storing all parameters

func GetConfigAndValidate

func GetConfigAndValidate() (*Config, error)

Jump to

Keyboard shortcuts

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