mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
2fadeeff4c
* add grabpl package * update .drone.yml * resolve lint errors
28 lines
541 B
Go
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
|
|
}
|