config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 2 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 {
	Apiserver string `yaml:"apiserver"`
	Notifier  string `yaml:"notifier"`
	AdminId   string `yaml:"adminId"`
	Region    string `yaml:"region"`
	ComputeId string `yaml:"computeId"`
	Apikey    string `yaml:"apikey"`
	Platform  string `yaml:"platform"`
	Namespace string `yaml:"namespace"`

	JobTemplate JobTemplate `yaml:"jobTemplate"`
}

func LoadConfig

func LoadConfig(configPath string) (*Config, error)

type JobTemplate

type JobTemplate struct {
	Folder string `yaml:"folder"`
	File   string `yaml:"file"`
}

Jump to

Keyboard shortcuts

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