package api type BackupRequest struct { Namespace string `json:"namespace"` PVC string `json:"pvc"` Tags []string `json:"tags,omitempty"` Snapshot bool `json:"snapshot"` DryRun bool `json:"dry_run"` } type BackupResponse struct { JobName string `json:"job_name"` Namespace string `json:"namespace"` Secret string `json:"secret"` DryRun bool `json:"dry_run"` } type RestoreTestRequest struct { Namespace string `json:"namespace"` Snapshot string `json:"snapshot,omitempty"` TargetPVC string `json:"target_pvc,omitempty"` DryRun bool `json:"dry_run"` } type RestoreTestResponse struct { JobName string `json:"job_name"` Namespace string `json:"namespace"` Secret string `json:"secret"` DryRun bool `json:"dry_run"` }