2026-07-04 00:55:18 +00:00
|
|
|
package noop
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"fmt"
|
|
|
|
|
|
2026-08-03 16:49:51 +00:00
|
|
|
"gitea.maximumdirect.net/eric/notarius/internal/framework/contracts"
|
2026-07-04 00:55:18 +00:00
|
|
|
"gitea.maximumdirect.net/eric/notarius/internal/framework/pipeline"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
const Key = "noop"
|
|
|
|
|
|
|
|
|
|
func ModuleSpec() pipeline.ModuleSpec {
|
2026-08-03 16:49:51 +00:00
|
|
|
return pipeline.ModuleSpec{Key: Key, Stage: pipeline.StageNormalize, ExecutionClass: contracts.ExecutionClassDeterministic, Requires: []string{"merged"}, Provides: []string{"normalized"}}
|
2026-07-04 00:55:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func normalizerErrorf(format string, args ...any) error {
|
|
|
|
|
return fmt.Errorf("noop normalizer: "+format, args...)
|
|
|
|
|
}
|