rekor

package
v0.0.0-...-d534c4c Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package rekor is a stub implementation of Rekord

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddStepsTo

func AddStepsTo(sc *godog.ScenarioContext)

AddStepsTo adds Gherkin steps to the godog ScenarioContext

func IsRunning

func IsRunning(ctx context.Context) bool

func PublicKey

func PublicKey(ctx context.Context) []byte

PublicKey returns the public key of the Rekor signing key

func RekorEntryForAttestation

func RekorEntryForAttestation(ctx context.Context, imageName string) error

RekorEntryForAttestation given an image name for which attestation has been previously performed via image.createAndPushAttestation, creates stub for a mostly empty attestation log entry in Rekor

func RekorEntryForImageSignature

func RekorEntryForImageSignature(ctx context.Context, imageName string) error

RekorEntryForImageSignature given an image name for which signature has been previously performed via image.createAndPushImageSignature, creates stub log entry in Rekor

func StubRekor

func StubRekor(ctx context.Context) (string, error)

StubRekor returns the `http://host:port` of the stubbed Rekord

Types

This section is empty.

Jump to

Keyboard shortcuts

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