Help us shape the future of Go! Take the 2026 Go Developer Survey

validators

package
v1.11.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildTypeValidator

type BuildTypeValidator struct {
	Expected string
}

func (*BuildTypeValidator) Check1 added in v1.6.2

func (*BuildTypeValidator) Check02 added in v1.6.2

type InternalParameterValidator

type InternalParameterValidator struct{}

func (*InternalParameterValidator) Check1 added in v1.6.2

func (*InternalParameterValidator) Check02 added in v1.6.2

type PredicateTypeValidator

type PredicateTypeValidator struct{}

func (*PredicateTypeValidator) Check1 added in v1.6.2

func (*PredicateTypeValidator) Check02 added in v1.6.2

type SourceRepoValidator

type SourceRepoValidator struct {
	Expected string
}

func (*SourceRepoValidator) Check1 added in v1.6.2

func (*SourceRepoValidator) Check02 added in v1.6.2

type ValidateFunc

type ValidateFunc = func(statement *in_toto.ProvenanceStatementSLSA1) bool

type Validator added in v1.6.2

type Validator interface {
	Check1(statement *in_toto.ProvenanceStatementSLSA1) bool
	Check02(statement *in_toto.ProvenanceStatementSLSA02) bool
}

Jump to

Keyboard shortcuts

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