Documentation ¶
Index ¶
- type ArtifactManagement
- type ClientHelper
- func (g *ClientHelper) GetLatest() (release *hscvrs.Version, err error)
- func (g *ClientHelper) GetLatestMajor(major int) (release *hscvrs.Version, err error)
- func (g *ClientHelper) GetLatestMinor(major, minor int) (release *hscvrs.Version, err error)
- func (g *ClientHelper) ListReleasesMajor(major int) (releases hscvrs.Collection, err error)
- func (g *ClientHelper) ListReleasesMinor(major, minor int) (releases hscvrs.Collection, err error)
- func (g *ClientHelper) ListReleasesOrder() (releases map[int]map[int]hscvrs.Collection, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactManagement ¶
type ArtifactManagement interface { ListReleasesOrder() (releases map[int]map[int]hscvrs.Collection, err error) ListReleasesMajor(major int) (releases hscvrs.Collection, err error) ListReleasesMinor(major, minor int) (releases hscvrs.Collection, err error) GetLatest() (release *hscvrs.Version, err error) GetLatestMajor(major int) (release *hscvrs.Version, err error) GetLatestMinor(major, minor int) (release *hscvrs.Version, err error) }
type ClientHelper ¶
type ClientHelper struct {
F func() (releases hscvrs.Collection, err error)
}
func (*ClientHelper) GetLatest ¶
func (g *ClientHelper) GetLatest() (release *hscvrs.Version, err error)
func (*ClientHelper) GetLatestMajor ¶
func (g *ClientHelper) GetLatestMajor(major int) (release *hscvrs.Version, err error)
func (*ClientHelper) GetLatestMinor ¶
func (g *ClientHelper) GetLatestMinor(major, minor int) (release *hscvrs.Version, err error)
func (*ClientHelper) ListReleasesMajor ¶
func (g *ClientHelper) ListReleasesMajor(major int) (releases hscvrs.Collection, err error)
func (*ClientHelper) ListReleasesMinor ¶
func (g *ClientHelper) ListReleasesMinor(major, minor int) (releases hscvrs.Collection, err error)
func (*ClientHelper) ListReleasesOrder ¶
func (g *ClientHelper) ListReleasesOrder() (releases map[int]map[int]hscvrs.Collection, err error)
Click to show internal directories.
Click to hide internal directories.