config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(configPath string) error

Types

type ProviderConfig

type ProviderConfig struct {
	KubeConfigPath    string                                 `koanf:"kubeConfigPath"`
	ContainerRegistry string                                 `koanf:"containerRegistry"`
	RunnerNamespace   string                                 `koanf:"runnerNamespace"`
	PodTemplate       corev1.PodTemplateSpec                 `koanf:"podTemplate"`
	Flavors           map[string]corev1.ResourceRequirements `koanf:"flavors"`
}
var Config ProviderConfig

Jump to

Keyboard shortcuts

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