Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultMetadataURL = "https://docker.github.io/tuf-staging/metadata" DefaultTargetsURL = "https://docker.github.io/tuf-staging/targets" )
Variables ¶
Functions ¶
func PushToRegistry ¶
func SaveAsOCILayout ¶
Types ¶
type DelegatedTargetMetadata ¶
type MirrorImage ¶
type MirrorIndex ¶
type MirrorIndex struct {
Index *v1.ImageIndex
Tag string
}
type TufMetadata ¶
type TufMirror ¶
func NewTufMirror ¶
func (*TufMirror) GetDelegatedMetadataMirrors ¶
func (m *TufMirror) GetDelegatedMetadataMirrors() ([]*MirrorImage, error)
GetDelegatedMetadataMirrors returns a list of mirrors (image/tag pairs) for each delegated targets role metadata
func (*TufMirror) GetDelegatedTargetMirrors ¶
func (m *TufMirror) GetDelegatedTargetMirrors() ([]*MirrorIndex, error)
GetDelegatedTargetMirrors returns a list of delegated target files as MirrorIndexes (image index with tag) each image in the index contains a delegated target file
func (*TufMirror) GetMetadataManifest ¶
GetMetadataManifest returns an image with TUF root metadata as layers
func (*TufMirror) GetTufTargetMirrors ¶
func (m *TufMirror) GetTufTargetMirrors() ([]*MirrorImage, error)
GetTufTargetMirrors returns a list of top-level target files as MirrorImages (image with tag)
Click to show internal directories.
Click to hide internal directories.