config

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 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 BuildConfig added in v0.5.0

type BuildConfig struct {
	LoggingConfig LoggingConfig `yaml:"loggingConfig"`
}

type CodeConfig added in v0.5.0

type CodeConfig struct {
}

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 EnvVariable added in v0.5.0

type EnvVariable struct {
	Name  string `yaml:"name"`
	Value string `yaml:"value"`
}

type GptConfig added in v0.5.0

type GptConfig struct {
}

type LoggingConfig added in v0.5.0

type LoggingConfig struct {
	Start int64 `yaml:"start"`
	Len   int64 `yaml:"len"`
	Count int64 `yaml:"count"`
}

type MetaData

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

type NodeConfig added in v0.5.0

type NodeConfig struct {
	Duration string `yaml:"duration"`
}

type RepoConfig added in v0.5.0

type RepoConfig struct {
	Url  string `yaml:"url"`
	User string `yaml:"user"`
	Pass string `yaml:"pass"`
}

type ReviewConfig added in v0.5.0

type ReviewConfig struct {
	Url  string `yaml:"url"`
	User string `yaml:"user"`
	Pass string `yaml:"pass"`
}

type Spec

type Spec struct {
	EnvVariables []EnvVariable `yaml:"envVariables"`
	BuildConfig  BuildConfig   `yaml:"buildConfig"`
	CodeConfig   CodeConfig    `yaml:"codeConfig"`
	GptConfig    GptConfig     `yaml:"gptConfig"`
	NodeConfig   NodeConfig    `yaml:"nodeConfig"`
	RepoConfig   RepoConfig    `yaml:"repoConfig"`
	ReviewConfig ReviewConfig  `yaml:"reviewConfig"`
	SshConfig    SshConfig     `yaml:"sshConfig"`
}

type SshConfig added in v0.6.0

type SshConfig struct {
	Host    string `yaml:"host"`
	Port    int64  `yaml:"port"`
	User    string `yaml:"user"`
	Pass    string `yaml:"pass"`
	Key     string `yaml:"key"`
	Timeout string `yaml:"timeout"`
}

Jump to

Keyboard shortcuts

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