config

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Build   string
	Version string
)

Functions

This section is empty.

Types

type Config

type Config struct {
	ApiVersion string   `yaml:"apiVersion"`
	Kind       string   `yaml:"kind"`
	MetaData   MetaData `yaml:"metadata"`
	Spec       Spec     `yaml:"spec"`
}

func New

func New() *Config

type MetaData

type MetaData struct {
	Name string `yaml:"name"`
}

type Server

type Server struct {
	Host string `yaml:"host"`
	Port int    `yaml:"port"`
}

type Spec

type Spec struct {
	Runner    Server `yaml:"runner"`
	Scheduler Server `yaml:"scheduler"`
}

Jump to

Keyboard shortcuts

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