Versions in this module Expand all Collapse all v1 v1.0.1 Sep 11, 2020 v1.0.0 Sep 11, 2020 Changes in this version + var Debug = false + var ErrNoEnv = errors.New("no env") + var ErrNoJob = errors.New("no job") + func Build(env Env, job string, query string) (error, string) + func CancelJob(env Env, job string, id int) (string, error) + func CancelQueue(env Env, id int) + func Check(env Env) error + func Console(env Env, job string, id int, start string) (string, string, error) + func DelEnv(name EName) error + func SetConf() + func SetDef(eName string) + func SetEnv(env Env) + type BuildInfo struct + Actions []struct{ ... } + Building bool + Duration int + Id string + QueueId int + Result string + func GetBuildInfo(env Env, job string, id int) (*BuildInfo, error) + func GetLastSuccessfulBuildInfo(env Env, job string) (*BuildInfo, error) + type Bundle struct + JobsInfo []JobInfo + Name EName + Views []View + func GetBundle(env Env) *Bundle + type Config struct + Envs []Env + Use EName + type EName string + func GetDefEnv() EName + type EType string + func (t EType) String() string + type Env struct + Login string + Name EName + Secret string + Type EType + Url string + func GetEnv(name string) (error, Env) + func GetEnvs() []Env + func Init(envName string) Env + type Job struct + Name string + URL string + type JobInfo struct + DownstreamProjects []struct{ ... } + InQueue bool + LastBuild struct{ ... } + LastCompletedBuild struct{ ... } + Name string + NextBuildNumber int + Property []struct{ ... } + func GetJobInfo(env Env, jobName string) (error, *JobInfo) + func (ji *JobInfo) GetParameterDefinitions() []ParameterDefinitions + type ParameterDefinitions struct + Choices []string + DefaultParameterValue struct{ ... } + Description string + Name string + Type string + type QueueInfo struct + Actions []struct{ ... } + Blocked bool + Buildable bool + Cancelled bool + Executable struct{ ... } + ID int + InQueueSince int64 + Params string + Stuck bool + Task struct{ ... } + URL string + Why interface{} + func GetQueueInfo(env Env, id int) (error, QueueInfo) + type Queues struct + DiscoverableItems []interface{} + Items []struct{ ... } + func GetQueues(env Env) Queues + type View struct + Desc string + Jobs []Job + Name string + URL string