Merge pull request #87 from docker/chore-update-defaults-export-roots
chore: update default urls and export roots
This commit is contained in:
@@ -7,8 +7,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
DefaultMetadataURL = "https://docker.github.io/tuf-staging/metadata"
|
||||
DefaultTargetsURL = "https://docker.github.io/tuf-staging/targets"
|
||||
DefaultMetadataURL = "https://docker.github.io/tuf/metadata"
|
||||
DefaultTargetsURL = "https://docker.github.io/tuf/targets"
|
||||
tufMetadataMediaType = "application/vnd.tuf.metadata+json"
|
||||
tufTargetMediaType = "application/vnd.tuf.target"
|
||||
tufFileAnnotation = "tuf.io/filename"
|
||||
|
||||
@@ -27,6 +27,13 @@ const (
|
||||
OciSource TufSource = "oci"
|
||||
)
|
||||
|
||||
var (
|
||||
DockerTufRootProd = embed.RootProd
|
||||
DockerTufRootStaging = embed.RootStaging
|
||||
DockerTufRootDev = embed.RootDev
|
||||
DockerTufRootDefault = embed.RootDefault
|
||||
)
|
||||
|
||||
type TUFClient interface {
|
||||
DownloadTarget(target, filePath string) (actualFilePath string, data []byte, err error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user