Documentation ¶
Index ¶
- Constants
- Variables
- type Framework
- func (f *Framework) CleanAdmissionConfigs()
- func (f *Framework) CleanDormantDatabase()
- func (f *Framework) CleanEtcd()
- func (f *Framework) CleanSnapshot()
- func (f *Framework) CreateEtcd(obj *api.Etcd) error
- func (f *Framework) CreateEtcdVersion(obj *api.EtcdVersion) error
- func (f *Framework) CreateNamespace() error
- func (f *Framework) CreateSecret(obj *core.Secret) error
- func (f *Framework) CreateSnapshot(obj *api.Snapshot) error
- func (f *Framework) DeleteDormantDatabase(meta metav1.ObjectMeta) error
- func (f *Framework) DeleteEtcd(meta metav1.ObjectMeta) error
- func (f *Framework) DeleteEtcdVersion(meta metav1.ObjectMeta) error
- func (f *Framework) DeleteNamespace() error
- func (f *Framework) DeleteSecret(meta metav1.ObjectMeta) error
- func (f *Framework) DeleteSnapshot(meta metav1.ObjectMeta) error
- func (f *Framework) EventuallyAPIServiceReady() GomegaAsyncAssertion
- func (f *Framework) EventuallyCRD() GomegaAsyncAssertion
- func (f *Framework) EventuallyDatabaseReady(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyDormantDatabase(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyDormantDatabaseStatus(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyEtcd(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyEtcdRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyKeyExists(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyMultipleSnapshotFinishedProcessing(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallySetKey(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallySnapshot(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallySnapshotCount(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallySnapshotDataFound(snapshot *api.Snapshot) GomegaAsyncAssertion
- func (f *Framework) EventuallySnapshotPhase(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) EventuallyWipedOut(meta metav1.ObjectMeta) GomegaAsyncAssertion
- func (f *Framework) ForwardPort(meta metav1.ObjectMeta) (*portforward.Tunnel, error)
- func (f *Framework) GetDormantDatabase(meta metav1.ObjectMeta) (*api.DormantDatabase, error)
- func (f *Framework) GetEtcd(meta metav1.ObjectMeta) (*api.Etcd, error)
- func (f *Framework) GetEtcdClient(tunnel *portforward.Tunnel) (goetcd.Client, error)
- func (f *Framework) GetEtcdClientPod(meta metav1.ObjectMeta) (string, error)
- func (f *Framework) GetEtcdRootPassword(etcd *api.Etcd) (string, error)
- func (f *Framework) GetSnapshot(meta metav1.ObjectMeta) (*api.Snapshot, error)
- func (f *Framework) Invoke() *Invocation
- func (f *Framework) Namespace() string
- func (f *Framework) PatchDormantDatabase(meta metav1.ObjectMeta, ...) (*api.DormantDatabase, error)
- func (f *Framework) PatchEtcd(meta metav1.ObjectMeta, transform func(*api.Etcd) *api.Etcd) (*api.Etcd, error)
- func (f *Framework) RunOperatorAndServer(config *restclient.Config, kubeconfigPath string, stopCh <-chan struct{})
- func (f *Framework) UpdateSecret(meta metav1.ObjectMeta, transformer func(core.Secret) core.Secret) error
- type Invocation
- func (f *Invocation) CreatePersistentVolumeClaim(pvc *core.PersistentVolumeClaim) error
- func (f *Invocation) DeletePersistentVolumeClaim(meta metav1.ObjectMeta) error
- func (f *Invocation) Etcd() *api.Etcd
- func (f *Invocation) EtcdPVCSpec() *core.PersistentVolumeClaimSpec
- func (i *Invocation) EtcdVersion() *api.EtcdVersion
- func (f *Invocation) GCSBackupScheduleSpec(secretName string) *api.BackupScheduleSpec
- func (f *Invocation) GetPersistentVolumeClaim() *core.PersistentVolumeClaim
- func (f *Invocation) LocalBackupScheduleSpec(secretName string) *api.BackupScheduleSpec
- func (f *Invocation) LocalStorageSpec() *store.LocalSpec
- func (fi *Invocation) SecretForAzureBackend() *core.Secret
- func (fi *Invocation) SecretForGCSBackend() *core.Secret
- func (fi *Invocation) SecretForLocalBackend() *core.Secret
- func (fi *Invocation) SecretForS3Backend() *core.Secret
- func (fi *Invocation) SecretForSwiftBackend() *core.Secret
- func (f *Invocation) Snapshot() *api.Snapshot
- type KubedbTable
Constants ¶
View Source
const ( EtcdTestKey = "testKey" EtcdTestValue = "testValue" )
View Source
const ( S3_BUCKET_NAME = "S3_BUCKET_NAME" GCS_BUCKET_NAME = "GCS_BUCKET_NAME" AZURE_CONTAINER_NAME = "AZURE_CONTAINER_NAME" SWIFT_CONTAINER_NAME = "SWIFT_CONTAINER_NAME" )
Variables ¶
View Source
var ( DockerRegistry string ExporterTag string DBVersion string SelfHostedOperator bool )
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct { StorageClass string // contains filtered or unexported fields }
func (*Framework) CleanAdmissionConfigs ¶
func (f *Framework) CleanAdmissionConfigs()
func (*Framework) CleanDormantDatabase ¶
func (f *Framework) CleanDormantDatabase()
func (*Framework) CleanSnapshot ¶
func (f *Framework) CleanSnapshot()
func (*Framework) CreateEtcdVersion ¶
func (f *Framework) CreateEtcdVersion(obj *api.EtcdVersion) error
func (*Framework) CreateNamespace ¶
func (*Framework) DeleteDormantDatabase ¶
func (f *Framework) DeleteDormantDatabase(meta metav1.ObjectMeta) error
func (*Framework) DeleteEtcd ¶
func (f *Framework) DeleteEtcd(meta metav1.ObjectMeta) error
func (*Framework) DeleteEtcdVersion ¶
func (f *Framework) DeleteEtcdVersion(meta metav1.ObjectMeta) error
func (*Framework) DeleteNamespace ¶
func (*Framework) DeleteSecret ¶
func (f *Framework) DeleteSecret(meta metav1.ObjectMeta) error
func (*Framework) DeleteSnapshot ¶
func (f *Framework) DeleteSnapshot(meta metav1.ObjectMeta) error
func (*Framework) EventuallyAPIServiceReady ¶
func (f *Framework) EventuallyAPIServiceReady() GomegaAsyncAssertion
func (*Framework) EventuallyCRD ¶
func (f *Framework) EventuallyCRD() GomegaAsyncAssertion
func (*Framework) EventuallyDatabaseReady ¶
func (f *Framework) EventuallyDatabaseReady(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyDormantDatabase ¶
func (f *Framework) EventuallyDormantDatabase(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyDormantDatabaseStatus ¶
func (f *Framework) EventuallyDormantDatabaseStatus(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyEtcd ¶
func (f *Framework) EventuallyEtcd(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyEtcdRunning ¶
func (f *Framework) EventuallyEtcdRunning(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyKeyExists ¶
func (f *Framework) EventuallyKeyExists(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyMultipleSnapshotFinishedProcessing ¶
func (f *Framework) EventuallyMultipleSnapshotFinishedProcessing(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallySetKey ¶
func (f *Framework) EventuallySetKey(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallySnapshot ¶
func (f *Framework) EventuallySnapshot(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallySnapshotCount ¶
func (f *Framework) EventuallySnapshotCount(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallySnapshotDataFound ¶
func (*Framework) EventuallySnapshotPhase ¶
func (f *Framework) EventuallySnapshotPhase(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) EventuallyWipedOut ¶
func (f *Framework) EventuallyWipedOut(meta metav1.ObjectMeta) GomegaAsyncAssertion
func (*Framework) ForwardPort ¶
func (f *Framework) ForwardPort(meta metav1.ObjectMeta) (*portforward.Tunnel, error)
func (*Framework) GetDormantDatabase ¶
func (f *Framework) GetDormantDatabase(meta metav1.ObjectMeta) (*api.DormantDatabase, error)
func (*Framework) GetEtcdClient ¶
func (*Framework) GetEtcdClientPod ¶
func (f *Framework) GetEtcdClientPod(meta metav1.ObjectMeta) (string, error)
func (*Framework) GetEtcdRootPassword ¶
func (*Framework) GetSnapshot ¶
func (*Framework) Invoke ¶
func (f *Framework) Invoke() *Invocation
func (*Framework) PatchDormantDatabase ¶
func (f *Framework) PatchDormantDatabase(meta metav1.ObjectMeta, transform func(*api.DormantDatabase) *api.DormantDatabase) (*api.DormantDatabase, error)
func (*Framework) RunOperatorAndServer ¶
func (f *Framework) RunOperatorAndServer(config *restclient.Config, kubeconfigPath string, stopCh <-chan struct{})
func (*Framework) UpdateSecret ¶
type Invocation ¶
type Invocation struct { *Framework // contains filtered or unexported fields }
func (*Invocation) CreatePersistentVolumeClaim ¶
func (f *Invocation) CreatePersistentVolumeClaim(pvc *core.PersistentVolumeClaim) error
func (*Invocation) DeletePersistentVolumeClaim ¶
func (f *Invocation) DeletePersistentVolumeClaim(meta metav1.ObjectMeta) error
func (*Invocation) Etcd ¶
func (f *Invocation) Etcd() *api.Etcd
func (*Invocation) EtcdPVCSpec ¶
func (f *Invocation) EtcdPVCSpec() *core.PersistentVolumeClaimSpec
func (*Invocation) EtcdVersion ¶
func (i *Invocation) EtcdVersion() *api.EtcdVersion
func (*Invocation) GCSBackupScheduleSpec ¶
func (f *Invocation) GCSBackupScheduleSpec(secretName string) *api.BackupScheduleSpec
func (*Invocation) GetPersistentVolumeClaim ¶
func (f *Invocation) GetPersistentVolumeClaim() *core.PersistentVolumeClaim
func (*Invocation) LocalBackupScheduleSpec ¶
func (f *Invocation) LocalBackupScheduleSpec(secretName string) *api.BackupScheduleSpec
func (*Invocation) LocalStorageSpec ¶
func (f *Invocation) LocalStorageSpec() *store.LocalSpec
func (*Invocation) SecretForAzureBackend ¶
func (fi *Invocation) SecretForAzureBackend() *core.Secret
func (*Invocation) SecretForGCSBackend ¶
func (fi *Invocation) SecretForGCSBackend() *core.Secret
func (*Invocation) SecretForLocalBackend ¶
func (fi *Invocation) SecretForLocalBackend() *core.Secret
func (*Invocation) SecretForS3Backend ¶
func (fi *Invocation) SecretForS3Backend() *core.Secret
func (*Invocation) SecretForSwiftBackend ¶
func (fi *Invocation) SecretForSwiftBackend() *core.Secret
func (*Invocation) Snapshot ¶
func (f *Invocation) Snapshot() *api.Snapshot
type KubedbTable ¶
Click to show internal directories.
Click to hide internal directories.