meta

package
v0.64.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 4 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 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