g2j

package
v0.0.0-...-415d5fe Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 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 {
	JenkinsUrl   string `yaml:"jenkins-url"`
	Secrets      string
	Repositories []Repository `yaml:",flow"`
}

func LoadConfig

func LoadConfig(path string) (Config, error)

type Job

type Job struct {
	Branch      string
	Name        string
	Parameters  string
	TokenKey    string `yaml:"token-key"`
	DiffMatcher string `yaml:"diff-matcher"`
}

type Project

type Project struct {
	Path string
	Jobs []Job `yaml:",flow"`
}

type Repository

type Repository struct {
	Name     string
	Projects []Project `yaml:",flow"`
}

Jump to

Keyboard shortcuts

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