Documentation
¶
Overview ¶
Package dashboard contains shared configuration and logic used by various pieces of the Go continuous build system.
Index ¶
- Variables
- type BuildConfig
- func (c *BuildConfig) AllScript() string
- func (c *BuildConfig) BuildletBinaryURL() string
- func (c *BuildConfig) Env() []string
- func (c *BuildConfig) GOARCH() string
- func (c *BuildConfig) GOOS() string
- func (c *BuildConfig) GorootFinal() string
- func (c *BuildConfig) MachineType() string
- func (c *BuildConfig) MakeScript() string
Constants ¶
This section is empty.
Variables ¶
var Builders = map[string]BuildConfig{}
Builders are the different build configurations. The keys are like "darwin-amd64" or "linux-386-387". This map should not be modified by other packages.
Functions ¶
This section is empty.
Types ¶
type BuildConfig ¶
type BuildConfig struct { // Name is the unique name of the builder, in the form of // "darwin-386" or "linux-amd64-race". Name string VMImage string // e.g. "openbsd-amd64-56" Go14URL string // URL to built Go 1.4 tar.gz RegularDisk bool // if true, use spinning disk instead of SSD // contains filtered or unexported fields }
A BuildConfig describes how to run a VM-based builder.
func (*BuildConfig) AllScript ¶
func (c *BuildConfig) AllScript() string
AllScript returns the relative path to the operating system's script to do the build and run its standard set of tests. Example values are "src/all.bash", "src/all.bat", "src/all.rc".
func (*BuildConfig) BuildletBinaryURL ¶
func (c *BuildConfig) BuildletBinaryURL() string
BuildletBinaryURL returns the public URL of this builder's buildlet.
func (*BuildConfig) Env ¶
func (c *BuildConfig) Env() []string
func (*BuildConfig) GOARCH ¶
func (c *BuildConfig) GOARCH() string
func (*BuildConfig) GOOS ¶
func (c *BuildConfig) GOOS() string
func (*BuildConfig) GorootFinal ¶
func (c *BuildConfig) GorootFinal() string
GorootFinal returns the default install location for releases for this platform.
func (*BuildConfig) MachineType ¶
func (c *BuildConfig) MachineType() string
MachineType returns the GCE machine type to use for this builder.
func (*BuildConfig) MakeScript ¶
func (c *BuildConfig) MakeScript() string
MakeScript returns the relative path to the operating system's script to do the build. Example values are "src/make.bash", "src/make.bat", "src/make.rc".