setting

package
Version: v0.0.0-...-17c3845 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Matrices     []*Matrix
	AllowedOSs   []string
	AllowedArchs []string
	AllowedTags  []string
)
View Source
var (
	AppVer   string
	ProdMode bool

	HTTPPort      int
	ArtifactsPath string

	Database struct {
		Host     string
		Name     string
		User     string
		Password string
	}

	OAuth2 struct {
		ClientID     string `ini:"CLIENT_ID"`
		ClientSecret string
	}

	Project struct {
		Name        string
		CloneURL    string `ini:"CLONE_URL"`
		CommitURL   string `ini:"COMMIT_URL"`
		ImportPath  string
		Branches    []string
		PackRoot    string
		PackEntries []string
		PackFormats []string
	}

	Cfg *ini.File
)
View Source
var BatchTasks []*BatchTask

Functions

This section is empty.

Types

type BatchTask

type BatchTask struct {
	OS   string   `json:"os"`
	Arch string   `json:"arch"`
	Tags []string `json:"tags"`
}

type Matrix

type Matrix struct {
	OS    string   `json:"os"`
	Archs []string `json:"archs"`
	Tags  []string `json:"tags"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL