env

package
v0.0.0-...-99593a5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: MIT Imports: 4 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 {
	Server HTTPConfig       `yaml:"server"`
	Github githubapp.Config `yaml:"github"`

	ArgoCdApiUrl       string `yaml:"argoCdApiUrl"`
	ArgoCdWebUrl       string `yaml:"argoCdWebUrl"`
	PrivateKeyFilePath string `yaml:"privateKeyFilePath"`
	EnableLocking      bool   `yaml:"enableLocking"`
}

func ReadConfig

func ReadConfig(path string) (*Config, error)

type HTTPConfig

type HTTPConfig struct {
	Address string `yaml:"address"`
	Port    int    `yaml:"port"`
}

Jump to

Keyboard shortcuts

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