config

package
v0.0.0-...-7bb76c6 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ApiQUrl                string        `split_words:"true" required:"true"`
	Namespace              string        `split_words:"true" required:"true"`
	SchQUrl                string        `split_words:"true" required:"true"`
	BaseArtifactHost       string        `split_words:"true" required:"true"`
	SchQWaitTimeSecond     int64         `split_words:"true" default:"20"`
	SchQVisibilityTimeout  int64         `split_words:"true" default:"3600"`
	SchQMaxNumberOfMessage int64         `split_words:"true" default:"5"`
	SchQWorkerTimeout      time.Duration `split_words:"true" default:"7200s"`
	K8sDeployTimeoutSec    int64         `split_words:"true" default:"300"`
	K8sJobTimeoutSec       int64         `split_words:"true" default:"3600"`
	S3Bucket               string        `split_words:"true" required:"true"`
	AWSRegion              string        `split_words:"true" required:"true"`
	MetricsPort            int           `split_words:"true" default:"3001"`
	Port                   int           `split_words:"true" default:"8080"`
}

func GetConfig

func GetConfig() Config

Jump to

Keyboard shortcuts

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