official

package
v0.0.0-...-e0e1170 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractMajorMinor

func ExtractMajorMinor(version string) (string, error)

func ResolvePullSpecAndVersion

func ResolvePullSpecAndVersion(client release.HTTPClient, release api.Release) (string, string, error)

ResolvePullSpecAndVersion determines the pull spec and version for the official release

Types

type Release

type Release struct {
	Version string `json:"version"`
	Payload string `json:"payload"`
}

Release describes a release payload

type Response

type Response struct {
	Nodes []Release `json:"nodes"`
}

Response is what Cincinnati sends us when querying for releases in a channel

Jump to

Keyboard shortcuts

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