env

package
v0.0.0-...-f943335 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 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 AppConfig

type AppConfig struct {
	PullRequestPreamble string `yaml:"pull_request_preamble"`
	DataDirectory       string `yaml:"data_directory"`
	PrivateKeyFilePath  string `yaml:"private_key_file_path"`
	InstallationID      int64  `yaml:"installation_id"`

	ArgoCliConfig ArgoCliConfig `yaml:"argocli_config"`
}

type ArgoCliConfig

type ArgoCliConfig struct {
	Command        string `yaml:"command"`
	Server         string `yaml:"server"`
	AdditionalArgs string `yaml:"additional_args"`
}

type Config

type Config struct {
	Server HTTPConfig       `yaml:"server"`
	Github githubapp.Config `yaml:"github"`

	AppConfig AppConfig `yaml:"app_configuration"`
}

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