Define adapter interfaces and fake implementations
This commit is contained in:
@@ -3,18 +3,22 @@ package audita
|
||||
|
||||
import "context"
|
||||
|
||||
// Runner is a placeholder adapter interface for audita invocation.
|
||||
// Runner is the adapter boundary for audita polish invocations.
|
||||
type Runner interface {
|
||||
Run(ctx context.Context, req PolishRequest) (PolishResult, error)
|
||||
}
|
||||
|
||||
// PolishRequest is a placeholder polish input.
|
||||
// PolishRequest describes an audita invocation.
|
||||
type PolishRequest struct {
|
||||
GeneratedConfigPath string
|
||||
MergedTranscriptPath string
|
||||
OutputPath string
|
||||
OutputProcessedPath string
|
||||
StdoutLogPath string
|
||||
StderrLogPath string
|
||||
}
|
||||
|
||||
// PolishResult is a placeholder polish output.
|
||||
// PolishResult describes a polish output.
|
||||
type PolishResult struct {
|
||||
ProcessedPath string
|
||||
ProcessedTranscriptPath string
|
||||
Metadata map[string]any
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user