meta

package
v0.86.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 struct {
	// contains filtered or unexported fields
}

EmbeddedRoot is an embedded root with its version parsed

func NewEmbeddedRoot added in v0.63.0

func NewEmbeddedRoot(embeddedRoot []byte) EmbeddedRoot

NewEmbeddedRoot creates a new EmbeddedRoot

func RootsConfig

func RootsConfig(site string, configRootOverride string) EmbeddedRoot

RootsConfig returns all the roots of the director repo

func RootsDirector

func RootsDirector(site string, directorRootOverride string) EmbeddedRoot

RootsDirector returns all the roots of the director repo

func (EmbeddedRoot) Root added in v0.63.0

func (root EmbeddedRoot) Root() []byte

Root returns the last root the EmbeddedRoots

func (EmbeddedRoot) Version added in v0.63.0

func (root EmbeddedRoot) Version() uint64

Version 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