Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BambooClient ¶
type BambooClient interface { StartStage(build, stage string, vars map[string]string, retry Retry) error AddLabel(label, build string) error DeleteLabel(label, build string) error TriggerPlan(plan string) error AddComment(comment, build string) error EnablePlan(planName string) error GetStage(build, stageName string) (Stage, error) }
func DefaultBambooClient ¶
func DefaultBambooClient(baseUrl, username, password string) (BambooClient, error)
func NewBambooClient ¶
func NewBambooClient(httpClient *http.Client, baseUrl, user, pass string) (BambooClient, error)
type ResultResponse ¶
type ResultResponse struct {
Stages Stages `json:"stages"`
}
Click to show internal directories.
Click to hide internal directories.