Documentation ¶
Index ¶
Constants ¶
View Source
const ( InvalidBSProvider = "InvalidBackupStorageProvider" InvalidBSCredsSecretRef = "InvalidBackupStorageCredsSecretRef" InvalidBSFields = "InvalidBackupStorageSettings" InvalidVSProvider = "InvalidVolumeSnapshotProvider" InvalidVSCredsSecretRef = "InvalidVolumeSnapshotCredsSecretRef" InvalidVSFields = "InvalidVolumeSnapshotSettings" BSProviderTestFailed = "BackupStorageProviderTestFailed" VSProviderTestFailed = "VolumeSnapshotProviderTestFailed" )
Types
View Source
const ( Supported = "Supported" NotSupported = "NotSupported" NotSet = "NotSet" NotFound = "NotFound" KeyError = "KeyError" TestFailed = "TestFailed" )
Reasons
View Source
const ( True = migapi.True False = migapi.False )
Statuses
View Source
const (
Critical = migapi.Critical
)
Categories
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProviderSource ¶
type ProviderSource struct { Client client.Client Interval time.Duration Namespace string // contains filtered or unexported fields }
A cloud provider `watch` source used to routinely run provider tests.
Client - A controller-runtime client. Interval - The connection test interval. Namespace - Only objects in this namespace are queued
func (*ProviderSource) Start ¶
func (p *ProviderSource) Start( ctx context.Context, handler handler.EventHandler, queue workqueue.RateLimitingInterface, predicates ...predicate.Predicate) error
Start the source.
type ReconcileMigStorage ¶
type ReconcileMigStorage struct { client.Client record.EventRecorder // contains filtered or unexported fields }
ReconcileMigStorage reconciles a MigStorage object
type StoragePredicate ¶
func (StoragePredicate) Create ¶
func (r StoragePredicate) Create(e event.CreateEvent) bool
func (StoragePredicate) Delete ¶
func (r StoragePredicate) Delete(e event.DeleteEvent) bool
func (StoragePredicate) Update ¶
func (r StoragePredicate) Update(e event.UpdateEvent) bool
Click to show internal directories.
Click to hide internal directories.