app

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func FileRemoteStore

func FileRemoteStore(repo string) (client.RemoteStore, error)

func VerifyCmd

func VerifyCmd(staged bool, repository string, rootFile string,
	validUntil *time.Time, rolesToCheck []string, targets []string) error

Types

type KeyMap

type KeyMap map[string]*keys.SigningKey

Map from Key ID to Signing Key

type SignedMeta

type SignedMeta struct {
	Type    string    `json:"_type"`
	Expires time.Time `json:"expires"`
	Version int       `json:"version"`
}

Metadata helpers

func PrintAndGetSignedMeta

func PrintAndGetSignedMeta(role string, signed json.RawMessage) (*SignedMeta, error)

Jump to

Keyboard shortcuts

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