Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { Id string PipelineId string PipelineVersionId string Trigger string Status string Ref string Error string Event string Timestamp time.Time Title string Message string Vars map[string]*Variables Started time.Time Finished time.Time Created time.Time Updated time.Time Before string After string Repo *Repository Stages []*Stage }
type BuildShow ¶
type BuildShow struct { Id string `json:"id"` PipelineId string `json:"pipelineId"` Status string `json:"status"` Error string `json:"error"` Event string `json:"event"` Started time.Time `json:"started"` Finished time.Time `json:"finished"` Created time.Time `json:"created"` Updated time.Time `json:"updated"` Stages []*StageShow `json:"stages"` }
type Stage ¶
type Stage struct { Id string BuildId string Name string DisplayName string Stage string Status string Event string Error string ExitCode int Started time.Time Stopped time.Time Finished time.Time Created time.Time Updated time.Time Version string OnSuccess bool OnFailure bool Labels map[string]string Steps []*Step }
type StageShow ¶
type StageShow struct { Id string `json:"id"` BuildId string `json:"buildId"` Status string `json:"status"` Event string `json:"event"` Error string `json:"error"` Started time.Time `json:"started"` Stopped time.Time `json:"stopped"` Finished time.Time `json:"finished"` Created time.Time `json:"created"` Updated time.Time `json:"updated"` Steps []*StepShow `json:"steps"` }
type Step ¶
type Step struct { Id string BuildId string StageId string Step string DisplayName string Name string Input map[string]string Env map[string]string MustCopy bool RepoPath string Commands interface{} Status string Event string Error string ExitCode int ErrIgnore bool Started time.Time Stopped time.Time Finished time.Time Version string Waits []string Image string Artifacts []*Artifact UseArtifacts []*UseArtifact }
type StepShow ¶
type StepShow struct { Id string `json:"id"` BuildId string `json:"buildId"` StageId string `json:"stageId"` Status string `json:"status"` Event string `json:"event"` Error string `json:"error"` ExitCode int `json:"exitCode"` Started time.Time `json:"started"` Stopped time.Time `json:"stopped"` Finished time.Time `json:"finished"` Updated time.Time `json:"updated"` Cmds []*CmdShow `json:"cmds"` }
type UseArtifact ¶
Click to show internal directories.
Click to hide internal directories.