config

package
v0.0.0-...-2278081 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 0 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 {
	LogLevel      string          `yaml:"logLevel"`
	Runners       []RunnerConfig  `yaml:"runners"`
	StaticRunners []RunnerConfig  `yaml:"static_runners"`
	Address       string          `yaml:"address"`
	Email         string          `yaml:"email"`
	GitHub        GitHubConfig    `yaml:"github"`
	Networks      []NetworkConfig `yaml:"networks"`
}

type GitHubConfig

type GitHubConfig struct {
	AppID         string `yaml:"appID"`
	PrivateKey    string `yaml:"privateKey"`
	Organization  string `yaml:"organization"`
	WebhookSecret string `yaml:"webhookSecret"`
}

type NetworkConfig

type NetworkConfig struct {
	Name string `yaml:"name"`
	IPV4 string `yaml:"v4"`
	IPV6 string `yaml:"v6"`
}

type RunnerConfig

type RunnerConfig struct {
	Name        string   `yaml:"name"`
	Group       string   `yaml:"group"`
	Labels      []string `yaml:"labels"`
	Kernel      string   `yaml:"kernel"`
	Filesystem  string   `yaml:"filesystem"`
	Network     string   `yaml:"network"`
	Jailer      string   `yaml:"jailer"`
	Firecracker string   `yaml:"firecracker"`
	CpuCount    int      `yaml:"cpuCount"`
	MemorySize  int      `yaml:"memorySize"`
	Smt         bool     `yaml:"smt"`
	DiskSize    int      `yaml:"diskSize"`
}

Jump to

Keyboard shortcuts

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