config

package
v0.0.0-...-81b45a2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2014 License: Apache-2.0 Imports: 5 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 {
	Runners  map[string]*Runner
	Projects map[string]*Project
	Jobs     []*Job
	// contains filtered or unexported fields
}

func Load

func Load(filePath string) (*Config, error)

func (*Config) Dir

func (c *Config) Dir() string

func (*Config) Save

func (c *Config) Save() error

type Job

type Job struct {
	Runner      string
	JobName     string
	BuildNumber string
	Options     map[string]string
	Tags        []string
}

func (*Job) Copy

func (j *Job) Copy(options map[string]string, tags []string) *Job

type Project

type Project struct {
}

type Runner

type Runner struct {
	URL string
	sshcmd.SSHPort
	SSHKey   string
	User     string
	Insecure bool
}

Jump to

Keyboard shortcuts

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