meta

package
v0.59.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package meta provides a way to access embedded remote config TUF metadata

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmbeddedRoot

type EmbeddedRoot []byte

EmbeddedRoot is an embedded root

type EmbeddedRoots

type EmbeddedRoots map[uint64]EmbeddedRoot

EmbeddedRoots is a map of version => EmbeddedRoot

func RootsConfig

func RootsConfig(site string, configRootOverride string) EmbeddedRoots

RootsConfig returns all the roots of the director repo

func RootsDirector

func RootsDirector(site string, directorRootOverride string) EmbeddedRoots

RootsDirector returns all the roots of the director repo

func (EmbeddedRoots) Last

func (roots EmbeddedRoots) Last() EmbeddedRoot

Last returns the last root the EmbeddedRoots

func (EmbeddedRoots) LastVersion

func (roots EmbeddedRoots) LastVersion() uint64

LastVersion returns the last version of the EmbeddedRoots

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL