A self-hosted orchestration system crafted for power users. composia.xyz
Something went wrong. Try again.
Go
123456789101112131415161718192021222324252627282930313233343536373839package backup
type RuntimeConfig struct { Rustic *RusticConfig `json:"rustic,omitempty"` Items []RuntimeItem `json:"items"`}
type RestoreConfig struct { Rustic *RusticConfig `json:"rustic,omitempty"` Items []RestoreItem `json:"items"`}
type RusticConfig struct { ServiceName string `json:"service_name"` ServiceDir string `json:"service_dir"` ComposeService string `json:"compose_service"` Profile string `json:"profile,omitempty"` DataProtectDir string `json:"data_protect_dir,omitempty"` NodeID string `json:"node_id"`}
type RuntimeItem struct { Name string `json:"name"` Strategy string `json:"strategy"` Service string `json:"service,omitempty"` Include []string `json:"include,omitempty"` Provider string `json:"provider"` Tags []string `json:"tags,omitempty"`}
type RestoreItem struct { Name string `json:"name"` Strategy string `json:"strategy"` Service string `json:"service,omitempty"` Include []string `json:"include,omitempty"` Provider string `json:"provider"` ArtifactRef string `json:"artifact_ref"`}