Documentation ¶
Index ¶
- type DeterministicVerifier
- func (deterministicVerifier *DeterministicVerifier) GetShardProposal(ctx context.Context, shard model.JobShard, shardResultPath string) ([]byte, error)
- func (deterministicVerifier *DeterministicVerifier) GetShardResultPath(_ context.Context, shard model.JobShard) (string, error)
- func (deterministicVerifier *DeterministicVerifier) IsInstalled(context.Context) (bool, error)
- func (deterministicVerifier *DeterministicVerifier) VerifyShard(ctx context.Context, shard model.JobShard, ...) ([]verifier.VerifierResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeterministicVerifier ¶
type DeterministicVerifier struct {
// contains filtered or unexported fields
}
func NewDeterministicVerifier ¶
func NewDeterministicVerifier( _ context.Context, cm *system.CleanupManager, encrypter verifier.EncrypterFunction, decrypter verifier.DecrypterFunction, ) (*DeterministicVerifier, error)
func (*DeterministicVerifier) GetShardProposal ¶
func (*DeterministicVerifier) GetShardResultPath ¶
func (*DeterministicVerifier) IsInstalled ¶
func (deterministicVerifier *DeterministicVerifier) IsInstalled(context.Context) (bool, error)
func (*DeterministicVerifier) VerifyShard ¶
func (deterministicVerifier *DeterministicVerifier) VerifyShard( ctx context.Context, shard model.JobShard, executionStates []model.ExecutionState, ) ([]verifier.VerifierResult, error)
Click to show internal directories.
Click to hide internal directories.