Documentation ¶
Index ¶
- type TestPolicyProvider
- func (p *TestPolicyProvider) ContinueVerifyOnFailure(_ context.Context, _ common.Reference, _ ocispecs.ReferenceDescriptor, ...) bool
- func (p *TestPolicyProvider) ErrorToVerifyResult(_ context.Context, subjectRefString string, _ error) types.VerifyResult
- func (p *TestPolicyProvider) GetPolicyType(_ context.Context) string
- func (p *TestPolicyProvider) OverallVerifyResult(_ context.Context, _ []interface{}) bool
- func (p *TestPolicyProvider) VerifyNeeded(_ context.Context, _ common.Reference, _ ocispecs.ReferenceDescriptor) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestPolicyProvider ¶
type TestPolicyProvider struct{}
func (*TestPolicyProvider) ContinueVerifyOnFailure ¶
func (p *TestPolicyProvider) ContinueVerifyOnFailure(_ context.Context, _ common.Reference, _ ocispecs.ReferenceDescriptor, _ types.VerifyResult) bool
func (*TestPolicyProvider) ErrorToVerifyResult ¶
func (p *TestPolicyProvider) ErrorToVerifyResult(_ context.Context, subjectRefString string, _ error) types.VerifyResult
func (*TestPolicyProvider) GetPolicyType ¶
func (p *TestPolicyProvider) GetPolicyType(_ context.Context) string
func (*TestPolicyProvider) OverallVerifyResult ¶
func (p *TestPolicyProvider) OverallVerifyResult(_ context.Context, _ []interface{}) bool
func (*TestPolicyProvider) VerifyNeeded ¶
func (p *TestPolicyProvider) VerifyNeeded(_ context.Context, _ common.Reference, _ ocispecs.ReferenceDescriptor) bool
Click to show internal directories.
Click to hide internal directories.