Documentation ¶
Index ¶
- type NoopVerifier
- func (noopVerifier *NoopVerifier) GetProposal(ctx context.Context, job model.Job, s string) ([]byte, error)
- func (noopVerifier *NoopVerifier) GetResultPath(ctx context.Context, job model.Job) (string, error)
- func (noopVerifier *NoopVerifier) IsInstalled(ctx context.Context) (bool, error)
- func (noopVerifier *NoopVerifier) Verify(ctx context.Context, job model.Job, executionStates []model.ExecutionState) ([]verifier.VerifierResult, error)
- type VerifierConfig
- type VerifierExternalHooks
- type VerifierHandlerGetProposal
- type VerifierHandlerGetResultPath
- type VerifierHandlerIsInstalled
- type VerifierHandlerVerify
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopVerifier ¶
type NoopVerifier struct {
// contains filtered or unexported fields
}
func NewNoopVerifier ¶
func NewNoopVerifier( _ context.Context, cm *system.CleanupManager, ) (*NoopVerifier, error)
func NewNoopVerifierWithConfig ¶ added in v0.3.25
func NewNoopVerifierWithConfig(ctx context.Context, cm *system.CleanupManager, config VerifierConfig) (*NoopVerifier, error)
func (*NoopVerifier) GetProposal ¶ added in v0.3.24
func (*NoopVerifier) GetResultPath ¶ added in v0.3.24
func (*NoopVerifier) IsInstalled ¶
func (noopVerifier *NoopVerifier) IsInstalled(ctx context.Context) (bool, error)
func (*NoopVerifier) Verify ¶ added in v0.3.24
func (noopVerifier *NoopVerifier) Verify( ctx context.Context, job model.Job, executionStates []model.ExecutionState, ) ([]verifier.VerifierResult, error)
type VerifierConfig ¶ added in v0.3.25
type VerifierConfig struct {
ExternalHooks VerifierExternalHooks
}
type VerifierExternalHooks ¶ added in v0.3.25
type VerifierExternalHooks struct { IsInstalled VerifierHandlerIsInstalled GetResultPath VerifierHandlerGetResultPath GetProposal VerifierHandlerGetProposal Verify VerifierHandlerVerify }
type VerifierHandlerGetProposal ¶ added in v0.3.25
type VerifierHandlerGetResultPath ¶ added in v0.3.25
type VerifierHandlerIsInstalled ¶ added in v0.3.25
type VerifierHandlerVerify ¶ added in v0.3.25
type VerifierHandlerVerify func(context.Context, model.Job, []model.ExecutionState) ([]verifier.VerifierResult, error)
Click to show internal directories.
Click to hide internal directories.