Documentation ¶
Index ¶
Constants ¶
View Source
const ( // StateChange name of the event send when state changed StateChange = "StateChange" // FinalizerChange name of the event send when finalizer removed entry FinalizerChange = "FinalizerChange" )
Variables ¶
This section is empty.
Functions ¶
func RegisterInformer ¶
func RegisterInformer(operator operator.Operator, recorder event.Recorder, client arangoClientSet.Interface, kubeClient kubernetes.Interface, informer arangoInformer.SharedInformerFactory) error
RegisterInformer into operator
Types ¶
type ArangoBackupClient ¶
type ArangoBackupClient interface { Create() (ArangoBackupCreateResponse, error) // CreateAsync creates a new backup asynchronously and returns the job ID in the error // pass empty string to create a new backup CreateAsync(jobID string) (ArangoBackupCreateResponse, error) Get(driver.BackupID) (driver.BackupMeta, error) Upload(driver.BackupID) (driver.BackupTransferJobID, error) Download(driver.BackupID) (driver.BackupTransferJobID, error) Progress(driver.BackupTransferJobID) (ArangoBackupProgress, error) Abort(driver.BackupTransferJobID) error Exists(driver.BackupID) (bool, error) Delete(driver.BackupID) error HealthCheck() error List() (map[driver.BackupID]driver.BackupMeta, error) }
ArangoBackupClient interface with backup functionality for database
type ArangoBackupCreateResponse ¶
type ArangoBackupCreateResponse struct { driver.BackupMeta PotentiallyInconsistent bool }
ArangoBackupCreateResponse create response
type ArangoBackupProgress ¶
ArangoBackupProgress progress info
type ArangoClientFactory ¶
type ArangoClientFactory func(deployment *database.ArangoDeployment, backup *backupApi.ArangoBackup) (ArangoBackupClient, error)
ArangoClientFactory factory type for creating clients
Source Files ¶
- arango_client.go
- arango_client_impl.go
- errors.go
- finalizer.go
- handler.go
- lifecycle.go
- register.go
- state.go
- state_create.go
- state_createerror.go
- state_creating.go
- state_deleted.go
- state_download.go
- state_downloaderror.go
- state_downloading.go
- state_failed.go
- state_none.go
- state_pending.go
- state_ready.go
- state_scheduled.go
- state_unavailable.go
- state_upload.go
- state_uploaderror.go
- state_uploading.go
- status.go
- util.go
Click to show internal directories.
Click to hide internal directories.