20 lines
333 B
Go
20 lines
333 B
Go
package module
|
|
|
|
import "ops-assistant/internal/core/runbook"
|
|
|
|
type Gate struct {
|
|
NeedFlag string
|
|
RequireConfirm bool
|
|
ExpectedToken string
|
|
AllowDryRun bool
|
|
}
|
|
|
|
type Request struct {
|
|
RunbookName string
|
|
Inputs map[string]string
|
|
Meta runbook.RunMeta
|
|
Gate Gate
|
|
DryRun bool
|
|
ConfirmToken string
|
|
}
|