Documentation ¶
Index ¶
Constants ¶
View Source
const ( BackupUrl = baseUrl + "/backups" RestoreUrl = baseUrl + "/restores" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupConfig ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(podName string, http client.HttpClient) *Manager
NewManager creates a new instance of BackupManager
type ManagerInterface ¶
type Resources ¶
type Resources struct { // +optional Caches []string `json:"caches,omitempty"` // +optional Templates []string `json:"templates,omitempty"` // +optional Counters []string `json:"counters,omitempty"` // +optional ProtoSchemas []string `json:"proto-schemas,omitempty"` // +optional Tasks []string `json:"tasks,omitempty"` }
type RestoreConfig ¶
type Status ¶
type Status string
const ( // StatusSucceeded means that the backup process on the server has completed. StatusSucceeded Status = "Succeeded" // StatusRunning means that the backup is currently in progress on the infinispan server. StatusRunning Status = "Running" // StatusFailed means that the creation of backup failed on the infinispan server. StatusFailed Status = "Failed" // StatusUnknown means that the state of the backup could not be obtained, typically due to an error in communicating with the infinispan server. StatusUnknown Status = "Unknown" )
Click to show internal directories.
Click to hide internal directories.