Versions in this module Expand all Collapse all v1 v1.0.3 Sep 23, 2019 v1.0.2 Sep 23, 2019 v1.0.1 Sep 23, 2019 v1.0.0 Sep 23, 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 DefectsURI(domain, project string, defect int) string + func ReleasesURI(domain, project string, release string) string type Defect + ID int + 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 (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, a Instance) (Tmt, error) v0 v0.2.0 Sep 5, 2018 v0.1.0 Sep 5, 2018 Changes in this version + const SignInUrl + const SignOutUrl + func Client(insecure bool) *http.Client + func DefaultConfig() string + func DefectsUri(domain, project string, defect int) string + func ReadEnv(prefix string, a *AlmInstance) + type AlmInstance 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 ReadCfg(filename string) (AlmInstance, error) + func (a *AlmInstance) GetDefect(defect int) (*Defect, error) + func (a *AlmInstance) PutDefect(d Defect) (*Defect, error) + func (a *AlmInstance) SignIn() error + func (a *AlmInstance) SignOut() error + func (a *AlmInstance) Url(uri string) string + type Defect struct + Id int + Segment string + Status string + Subject string + Type string + func ParseDefect(buf []byte) (*Defect, error) Other modules containing this package gitlab.com/jhinrichsen/alm/v2