config

package
v0.0.0-...-d125d34 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 25 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 {
	ServerConfig           server.Config           `yaml:"serverConfig"`
	CloudEventServerConfig server.Config           `yaml:"cloudEventServerConfig"`
	JobConfig              job.Config              `yaml:"jobConfig"`
	PProf                  pprof.Config            `yaml:"pprofConfig"`
	DBConfig               db.Config               `yaml:"dbConfig"`
	SessionConfig          session.Config          `yaml:"sessionConfig"`
	GitopsRepoConfig       gitlab.GitopsRepoConfig `yaml:"gitopsRepoConfig"`
	ArgoCDMapper           argocd.Mapper           `yaml:"argoCDMapper"`
	RegionArgoCDMapper     argocd.RegionMapper     `yaml:"regionArgoCDMapper"`
	RedisConfig            redis.Redis             `yaml:"redisConfig"`
	TektonMapper           tekton.Mapper           `yaml:"tektonMapper"`
	TemplateRepo           templaterepo.Repo       `yaml:"templateRepo"`
	AccessSecretKeys       authenticate.KeysConfig `yaml:"accessSecretKeys"`
	GrafanaConfig          grafana.Config          `yaml:"grafanaConfig"`
	Oauth                  oauth.Server            `yaml:"oauth"`
	AutoFreeConfig         autofree.Config         `yaml:"autoFree"`
	KubeConfig             string                  `yaml:"kubeconfig"`
	WebhookConfig          webhook.Config          `yaml:"webhook"`
	EventHandlerConfig     eventhandler.Config     `yaml:"eventHandler"`
	CodeGitRepos           []*git.Repo             `yaml:"gitRepos"`
	TokenConfig            token.Config            `yaml:"tokenConfig"`
	TemplateUpgradeMapper  template.UpgradeMapper  `yaml:"templateUpgradeMapper"`
	KubernetesEvent        k8sevent.Config         `yaml:"kubernetesEvent"`
	Clean                  clean.Config            `yaml:"clean"`
	Admission              admission.Admission     `yaml:"admission"`
}

func LoadConfig

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

Jump to

Keyboard shortcuts

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