config

package
v0.0.0-...-58d9a08 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(path string) error

Types

type ExecutorConfig

type ExecutorConfig struct {
	Image     string         `json:"image"`
	Resource  ResourceConfig `json:"resource"`
	Namespace string         `json:"namespace"`
}

type MainConfig

type MainConfig struct {
	Executor ExecutorConfig `json:"executor"`
}

func GetGlobalConfig

func GetGlobalConfig() *MainConfig

type ResourceConfig

type ResourceConfig struct {
	CPU    string `json:"image"`
	Memory string `json:"memory"`
}

Jump to

Keyboard shortcuts

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