feat: export embedded root names
This commit is contained in:
@@ -27,6 +27,13 @@ const (
|
|||||||
OciSource TufSource = "oci"
|
OciSource TufSource = "oci"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
DockerTufRootProd = embed.RootProd
|
||||||
|
DockerTufRootStaging = embed.RootStaging
|
||||||
|
DockerTufRootDev = embed.RootDev
|
||||||
|
DockerTufRootDefault = embed.RootDefault
|
||||||
|
)
|
||||||
|
|
||||||
type TUFClient interface {
|
type TUFClient interface {
|
||||||
DownloadTarget(target, filePath string) (actualFilePath string, data []byte, err error)
|
DownloadTarget(target, filePath string) (actualFilePath string, data []byte, err error)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user