client

package
v1.8.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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]version.Collection, err errors.Error)
	ListReleasesMajor(major int) (releases version.Collection, err errors.Error)
	ListReleasesMinor(major, minor int) (releases version.Collection, err errors.Error)

	GetLatest() (release *version.Version, err errors.Error)
	GetLatestMajor(major int) (release *version.Version, err errors.Error)
	GetLatestMinor(major, minor int) (release *version.Version, err errors.Error)
}

type ClientHelper

type ClientHelper struct {
	F func() (releases version.Collection, err errors.Error)
}

func (*ClientHelper) GetLatest

func (g *ClientHelper) GetLatest() (release *version.Version, err errors.Error)

func (*ClientHelper) GetLatestMajor

func (g *ClientHelper) GetLatestMajor(major int) (release *version.Version, err errors.Error)

func (*ClientHelper) GetLatestMinor

func (g *ClientHelper) GetLatestMinor(major, minor int) (release *version.Version, err errors.Error)

func (*ClientHelper) ListReleasesMajor

func (g *ClientHelper) ListReleasesMajor(major int) (releases version.Collection, err errors.Error)

func (*ClientHelper) ListReleasesMinor

func (g *ClientHelper) ListReleasesMinor(major, minor int) (releases version.Collection, err errors.Error)

func (*ClientHelper) ListReleasesOrder

func (g *ClientHelper) ListReleasesOrder() (releases map[int]map[int]version.Collection, err errors.Error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL