Skip to content

Modern Docker Management, Designed for Everyone

559 B
Raw Blame
package container

import "time"

// redeployJournalKeyPrefix keys redeploy journals in the KV store by the original container ID.
const redeployJournalKeyPrefix = "container_redeploy_journal:"

// RedeployJournal records a container Arcane renamed to a backup name, so recovery only touches its own backups.
type RedeployJournal struct {
	OriginalID   string    `json:"originalId"`
	OriginalName string    `json:"originalName"`
	BackupName   string    `json:"backupName"`
	NewName      string    `json:"newName"`
	StartedAt    time.Time `json:"startedAt"`
}