baseline

package
v0.0.0-...-5d951de Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFailedToFetchBaseline = errors.New("failed to fetch baseline")

Functions

This section is empty.

Types

type Baseline

type Baseline struct {
	Date           string `json:"date"`            // Date of this release.
	Version        string `json:"version"`         // Public Version of the release.
	Description    string `json:"description"`     // Condensed Description of the release.
	Vertex         string `json:"vertex"`          // Vertex version for this baseline Version.
	VertexClient   string `json:"vertex_client"`   // VertexClient version for this baseline Version.
	VertexServices string `json:"vertex_services"` // VertexServices version for this baseline Version.
}

func Fetch

func Fetch(ctx context.Context, version string) (Baseline, error)

func FetchLatest

func FetchLatest(ctx context.Context, channel Channel) (Baseline, error)

func (Baseline) GetVersionByID

func (b Baseline) GetVersionByID(id string) (string, error)

type Channel

type Channel string
const (
	ChannelStable Channel = "stable"
	ChannelBeta   Channel = "beta"
)

Jump to

Keyboard shortcuts

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