cmd

package
v0.0.0-...-3a7be5b Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttestCmd

func AttestCmd(check func(error), f SigningFunc) *cobra.Command

AttestCmd returns the 'attest' command.

func RunCmd

func RunCmd(check func(error), f SigningFunc) *cobra.Command

RunCmd returns the 'run' command.

func VersionCmd

func VersionCmd() *cobra.Command

VersionCmd returns a command that prints version info and exists.

Types

type SigningFunc

type SigningFunc func(SigningOpts) (signing.Signer, signing.TransparencyLog, error)

SigningFunc returns a signer and transparency log.

type SigningOpts

type SigningOpts struct {
	Keyless bool
	KeyPath string
}

SigningOpts defines options for signers.

Jump to

Keyboard shortcuts

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