Versions in this module Expand all Collapse all v2 v2.3.0 Sep 4, 2020 v2.2.3 Aug 18, 2020 v2.2.2 Aug 7, 2020 v2.2.1 May 26, 2020 v2.2.0 Jan 23, 2020 v2.1.0 Sep 24, 2019 Changes in this version type Instance + Dryrun bool v2.0.2 Sep 24, 2019 v2.0.1 Sep 24, 2019 Changes in this version + const SignInURL + const SignOutURL + var ErrEmptyTmt = errors.New("empty tmt:, missing required elements") + var ErrMissingDomain = errors.New("missing required element /tmt/domain") + var ErrMissingProject = errors.New("missing required element /tmt/project") + var ErrMissingTmt = errors.New("missing required element tmt") + func Client(insecure bool) *http.Client + func DefaultConfig() (string, error) + func DefectsURI(domain, project string, defect int) string + func ReadEnv(prefix string, a *Instance) + func ReleasesURI(domain, project string, release string) string + type Defect struct + ID int + Status string + Subject int + Type string + func ParseDefect(buf []byte) (*Defect, error) + type DefectsResponse struct + Defects []Defect + type Delivery struct + Tmt Tmt + type Domain struct + Name string + type DomainsResponse struct + Domains []Domain + type Instance struct + Client http.Client + Context string + Domain string + FromStatus string + IntoStatus string + Password string + Port int + Project string + Protocol string + Server string + Username string + func Merge(as ...Instance) (*Instance, error) + func ReadCfg(filename string) (Instance, error) + func (a *Instance) Defects(domain, project string) ([]Defect, error) + func (a *Instance) Domains() ([]Domain, error) + func (a *Instance) GetDefect(defect int) (*Defect, error) + func (a *Instance) GetRelease(ID string) (*Release, error) + func (a *Instance) NewReleases(releaseIDs []string) error + func (a *Instance) PutDefect(d Defect) (*Defect, error) + func (a *Instance) SignIn() error + func (a *Instance) SignOut() error + func (a *Instance) URL(uri string) string + func (a *Instance) UpdateDefects(defects []string) error + type Release struct + ID int + Status string + Subject int + Type string + func ParseRelease(buf []byte) (*Release, error) + type Tmt struct + Defects []string + Domain string + Project string + func Parse(in io.Reader) (Tmt, error) Other modules containing this package gitlab.com/jhinrichsen/alm