common

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains added in v0.7.0

func Contains(a []string, x string) bool

Types

type Repo

type Repo struct {
	Name            string   `yaml:"name"`
	Downstream      string   `yaml:"downstream"`
	Upstream        string   `yaml:"upstream"`
	Tags            []string `yaml:"tags,omitempty"`
	NeedsStable     string   `yaml:"needs_stable,omitempty"`
	NeedsTagging    string   `yaml:"needs_tagging,omitempty"`
	ResourceBuildSh string   `yaml:"resource_build_sh,omitempty"`
	Namespace       string   `yaml:"namespace,omitempty"`
}

type RepoSpec

type RepoSpec struct {
	Repos []Repo `yaml:"repos"`
}

func (*RepoSpec) Parse

func (c *RepoSpec) Parse(specFile string) *RepoSpec

Jump to

Keyboard shortcuts

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