client

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 2 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]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)

Jump to

Keyboard shortcuts

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