util

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrQueueNotSupported = errors.New("selected queue is not yet supported by platform")
View Source
var ErrSkippedOperation = errors.New("this operation is not supported for unspecified platform. If you are using supported platform like kubernetes, or docker, make sure to specify it in scoretrak config")
View Source
var Image = "ghcr.io/scoretrak/scoretrak/scoretrak-server:" + version.Version

Functions

func EncodeCfg added in v0.3.3

func EncodeCfg(config config.StaticConfig) (string, error)

func GenerateEncodedWorkerCfg added in v0.3.3

func GenerateEncodedWorkerCfg(originalCfg config.StaticConfig, info worker.Info) (string, error)

func GenerateWorkerCfg added in v0.3.3

func GenerateWorkerCfg(originalCfg config.StaticConfig, info worker.Info) (workerCfg config.StaticConfig, err error)

func TarRecurse

func TarRecurse(path string, tarWriter *tar.Writer, skipMatch string) error

func TarWrite

func TarWrite(_path string, tw *tar.Writer, fi os.FileInfo) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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