config

package
v0.0.0-...-e82d05c Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: MIT Imports: 6 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 {
	GitHub  *GitHub                `json:"github" yaml:"github"`
	Builder corev1.ObjectReference `json:"builder" yaml:"builder"`
}

func ReadConfig

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

ReadConfig reads config from env, json and yaml

type GitHub

type GitHub struct {
	URL string `json:"url" yaml:"url" config:"github-url"`
}

GitHub is a config for GitHub App

Jump to

Keyboard shortcuts

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