config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 2 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 {
	URL            string         `yaml:"url"`
	PrivateKeyPath string         `yaml:"privateKeyPath"`
	AppID          int64          `yaml:"appID"`
	Installations  []Installation `yanl:"installations"`
}

func Load

func Load(p string) (*Config, error)

type Installation

type Installation struct {
	ID           int64  `yaml:"id"`
	Organization string `yaml:"organization"`
	Repository   string `yaml:"repository"`
	Username     string `yaml:"username"`
	Output       Output `yaml:"output"`
}

type Output

type Output struct {
	KubernetesSecret *OutputKubernetesSecret `yaml:"kubernetesSecret"`
}

type OutputKubernetesSecret

type OutputKubernetesSecret struct {
	SecretName      string `yaml:"secretName"`
	SecretNamespace string `yaml:"secretNamespace"`
	Key             string `yaml:"key"`
}

Jump to

Keyboard shortcuts

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