grafana/pkg/build/validation/validation.go
Kevin Minehart 2fadeeff4c
CI: move grabpl package command to pkg/build (#55651)
* add grabpl package

* update .drone.yml

* resolve lint errors
2022-09-23 11:49:07 -05:00

28 lines
541 B
Go

package validation
import (
"context"
)
type ArtifactType int
const (
ArtifactTypeDockerHub ArtifactType = iota
ArtifactTypeGCSObject
)
type Artifact struct {
Type ArtifactType
URL string
}
// ReleaseArtifacts generates a list of release artifacts
func ReleaseArtifacts(version string) ([]Artifact, error) {
return nil, nil
}
// VerifyRelease tests that a that, given the information, a release will completed wholly and successfully.
func VerifyRelease(ctx context.Context, version string) (bool, error) {
return false, nil
}