secant

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attest

func Attest(ctx context.Context, conflict string, statements []*types.Statement, sv types.CosignerSignerVerifier, rekorClient *client.Rekor, ropt []remote.Option) error

Attest is roughly equivalent to cosign attest. The only real implementation of types.CosignerSignerVerifier is fulcio.SignerVerifier.

func NewStatement

func NewStatement(digest name.Digest, predicate io.Reader, ptype string) (*types.Statement, error)

NewStatement generates a statement for use in Attest.

func Sign

func Sign(ctx context.Context, conflict string, annotations map[string]interface{}, sv types.CosignerVerifier, rekorClient *client.Rekor, imgs []string, ropt []remote.Option) error

Sign is roughly equivalent to cosign sign.

Types

This section is empty.

Directories

Path Synopsis
models

Jump to

Keyboard shortcuts

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