renderer

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttestationRenderer

type AttestationRenderer struct {
	// contains filtered or unexported fields
}

func NewAttestationRenderer

func NewAttestationRenderer(state *v1.CraftingState, keyPath, builderVersion, builderDigest string, opts ...Opt) (*AttestationRenderer, error)

func (*AttestationRenderer) Render

func (ab *AttestationRenderer) Render() (*dsse.Envelope, error)

Attestation (dsee envelope) -> { message: { Statement(in-toto): [subject, predicate] }, signature: "sig" }. NOTE: It currently only supports cosign key based signing.

type Opt added in v0.9.0

type Opt func(*AttestationRenderer)

func WithLogger added in v0.9.0

func WithLogger(logger zerolog.Logger) Opt

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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