Documentation
¶
Index ¶
- type Client
- func (c *Client) API(pattern string) string
- func (c *Client) AddBackupPolicy(name string, policy interface{}) error
- func (c *Client) AddBackupRoutine(name string, routine interface{}) error
- func (c *Client) AddCluster(name, cluster interface{}) error
- func (c *Client) AddStorage(name string, storage interface{}) error
- func (c *Client) ApplyConfig() error
- func (c *Client) CancelRestoreJob(jobID int64) (int, error)
- func (c *Client) CheckBackupServiceHealth() error
- func (c *Client) CheckRestoreStatus(jobID int64) (map[string]interface{}, error)
- func (c *Client) DeleteBackupRoutine(name string) error
- func (c *Client) DeleteCluster(name string) error
- func (c *Client) GetBackupPolicies() (map[string]interface{}, error)
- func (c *Client) GetBackupRoutines()
- func (c *Client) GetBackupServiceConfig() (map[string]interface{}, error)
- func (c *Client) GetClusters() (map[string]interface{}, error)
- func (c *Client) GetFullBackups() (map[string][]interface{}, error)
- func (c *Client) GetFullBackupsForRoutine(routineName string) ([]interface{}, error)
- func (c *Client) GetStorage() (map[string]interface{}, error)
- func (c *Client) PutBackupPolicy(name string, policy interface{}) error
- func (c *Client) PutBackupRoutine(name string, routine interface{}) error
- func (c *Client) PutCluster(name, cluster interface{}) error
- func (c *Client) PutStorage(name string, storage interface{}) error
- func (c *Client) ScheduleBackup(routineName string, delay metav1.Duration) error
- func (c *Client) TriggerRestoreWithType(log logr.Logger, restoreType string, request []byte) (jobID *int64, statusCode *int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// The address to listen on.
Address string `json:"address,omitempty"`
// ContextPath customizes path for the API endpoints.
ContextPath string `json:"context-path,omitempty"`
// The port to listen on.
Port int32 `json:"port,omitempty"`
}
func GetBackupServiceClient ¶
func (*Client) AddBackupPolicy ¶
func (*Client) AddBackupRoutine ¶
func (*Client) AddCluster ¶
func (*Client) AddStorage ¶
func (*Client) ApplyConfig ¶
func (*Client) CheckBackupServiceHealth ¶
func (*Client) CheckRestoreStatus ¶
func (*Client) DeleteBackupRoutine ¶
func (*Client) DeleteCluster ¶
func (*Client) GetBackupPolicies ¶
func (*Client) GetBackupRoutines ¶
func (c *Client) GetBackupRoutines()
func (*Client) GetBackupServiceConfig ¶
func (*Client) GetClusters ¶
func (*Client) GetFullBackups ¶
func (*Client) GetFullBackupsForRoutine ¶
func (*Client) GetStorage ¶
func (*Client) PutBackupPolicy ¶
func (*Client) PutBackupRoutine ¶
func (*Client) PutCluster ¶
func (*Client) PutStorage ¶
func (*Client) ScheduleBackup ¶
Click to show internal directories.
Click to hide internal directories.