config

package
v0.0.0-...-8ad6148 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildConcurrently

func BuildConcurrently() bool

func CleanupInterval

func CleanupInterval() time.Duration

func ConfigFileUsed

func ConfigFileUsed() string

func Host

func Host() string

func IsLangSupported

func IsLangSupported(lang string) bool

func Languages

func Languages() []string

func MaxConcurrentEvlasFor

func MaxConcurrentEvlasFor(lang string) int

func MaxOutputFor

func MaxOutputFor(lang string) (size uint)

func MemoryFor

func MemoryFor(lang string) int64

func NanoCPUFor

func NanoCPUFor(lang string) int64

func ParseCPUs

func ParseCPUs(value string) (int64, error)

func PathToLanguages

func PathToLanguages() string

func Port

func Port() string

func PrepareContainers

func PrepareContainers() bool

func ReadInConfig

func ReadInConfig() error

func RetryCountFor

func RetryCountFor(lang string) int

func SetDefaults

func SetDefaults()

func TimeoutFor

func TimeoutFor(lang string) time.Duration

func TryFindConfig

func TryFindConfig()

func UseConfigFile

func UseConfigFile(path string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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