attest

package
v0.0.0-...-4298abe Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PathCheckerRegistry

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

func DetectVCS

func DetectVCS(path string) (bool, *PathCheckerRegistry, error)

func NewPathCheckerRegistry

func NewPathCheckerRegistry(dir string, newPathChecker func(string, digest.SHA256) types.PathChecker) *PathCheckerRegistry

func (*PathCheckerRegistry) AssociateCoreStatements

func (r *PathCheckerRegistry) AssociateCoreStatements() error

func (*PathCheckerRegistry) AssociateStatements

func (r *PathCheckerRegistry) AssociateStatements(statements ...types.Statement) error

func (*PathCheckerRegistry) BaseDirSummary

func (r *PathCheckerRegistry) BaseDirSummary() types.PathCheckSummary

func (*PathCheckerRegistry) EncodeAllAttestations

func (r *PathCheckerRegistry) EncodeAllAttestations(w io.Writer) error

func (*PathCheckerRegistry) GetStatements

func (r *PathCheckerRegistry) GetStatements() types.Statements

func (*PathCheckerRegistry) MakePathCheckSummarySummaryCollection

func (r *PathCheckerRegistry) MakePathCheckSummarySummaryCollection() (*types.PathCheckSummaryCollection, error)

func (*PathCheckerRegistry) Register

func (r *PathCheckerRegistry) Register(path string, digest digest.SHA256) error

func (*PathCheckerRegistry) RegisterMutated

func (r *PathCheckerRegistry) RegisterMutated(mutatedPaths types.Mutations)

Directories

Path Synopsis
vcs
git

Jump to

Keyboard shortcuts

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