validation

package
v0.0.0-testrgm3 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package validation provides functions and types for validating Grafana releases in both the pre-release and post-release phases.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyRelease

func VerifyRelease(ctx context.Context, version string) (bool, error)

VerifyRelease tests that a that, given the information, a release will completed wholly and successfully.

Types

type Artifact

type Artifact struct {
	Type ArtifactType
	URL  string
}

func ReleaseArtifacts

func ReleaseArtifacts(version string) ([]Artifact, error)

ReleaseArtifacts generates a list of release artifacts

type ArtifactType

type ArtifactType int
const (
	ArtifactTypeDockerHub ArtifactType = iota
	ArtifactTypeGCSObject
)

Jump to

Keyboard shortcuts

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