Documentation ¶
Index ¶
- func AllVMIs(namespace string) func() ([]virtv1.VirtualMachineInstance, error)
- func BeGone() types.GomegaMatcher
- func BeInPhase(phase interface{}) types.GomegaMatcher
- func BeOwned() types.GomegaMatcher
- func BePresent() types.GomegaMatcher
- func BeRunning() types.GomegaMatcher
- func Exist() types.GomegaMatcher
- func HaveConditionFalse(conditionType interface{}) types.GomegaMatcher
- func HaveConditionMissingOrFalse(conditionType interface{}) types.GomegaMatcher
- func HaveConditionTrue(conditionType interface{}) types.GomegaMatcher
- func HaveOwners() types.GomegaMatcher
- func HavePhase(phase interface{}) types.GomegaMatcher
- func HaveReadyReplicas(comparator types.GomegaMatcher) *readiness
- func HaveReadyReplicasNumerically(comparator string, compareTo ...interface{}) types.GomegaMatcher
- func HaveSucceeded() types.GomegaMatcher
- func ThisDV(dv *v1beta1.DataVolume) func() (*v1beta1.DataVolume, error)
- func ThisDVWith(namespace string, name string) func() (*v1beta1.DataVolume, error)
- func ThisDeploymentWith(namespace string, name string) func() (*k8sv1.Deployment, error)
- func ThisMigration(migration *virtv1.VirtualMachineInstanceMigration) func() (*virtv1.VirtualMachineInstanceMigration, error)
- func ThisMigrationWith(namespace string, name string) func() (*virtv1.VirtualMachineInstanceMigration, error)
- func ThisPVC(pvc *v1.PersistentVolumeClaim) func() (*v1.PersistentVolumeClaim, error)
- func ThisPVCWith(namespace string, name string) func() (*v1.PersistentVolumeClaim, error)
- func ThisPod(pod *v1.Pod) func() (*v1.Pod, error)
- func ThisPodWith(namespace string, name string) func() (*v1.Pod, error)
- func ThisVM(vm *virtv1.VirtualMachine) func() (*virtv1.VirtualMachine, error)
- func ThisVMI(vmi *virtv1.VirtualMachineInstance) func() (*virtv1.VirtualMachineInstance, error)
- func ThisVMIWith(namespace string, name string) func() (*virtv1.VirtualMachineInstance, error)
- func ThisVMWith(namespace string, name string) func() (*virtv1.VirtualMachine, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllVMIs ¶
func AllVMIs(namespace string) func() ([]virtv1.VirtualMachineInstance, error)
AllVMI fetches the latest state of all VMIs in a namespace.
func BeGone ¶
func BeGone() types.GomegaMatcher
func BeInPhase ¶
func BeInPhase(phase interface{}) types.GomegaMatcher
func BeOwned ¶ added in v0.46.0
func BeOwned() types.GomegaMatcher
func BePresent ¶
func BePresent() types.GomegaMatcher
func BeRunning ¶ added in v0.46.0
func BeRunning() types.GomegaMatcher
func Exist ¶
func Exist() types.GomegaMatcher
func HaveConditionFalse ¶ added in v0.59.0
func HaveConditionFalse(conditionType interface{}) types.GomegaMatcher
func HaveConditionMissingOrFalse ¶ added in v0.59.0
func HaveConditionMissingOrFalse(conditionType interface{}) types.GomegaMatcher
func HaveConditionTrue ¶ added in v0.59.0
func HaveConditionTrue(conditionType interface{}) types.GomegaMatcher
func HaveOwners ¶ added in v0.46.0
func HaveOwners() types.GomegaMatcher
func HavePhase ¶
func HavePhase(phase interface{}) types.GomegaMatcher
func HaveReadyReplicas ¶ added in v0.49.1
func HaveReadyReplicas(comparator types.GomegaMatcher) *readiness
func HaveReadyReplicasNumerically ¶ added in v0.49.1
func HaveReadyReplicasNumerically(comparator string, compareTo ...interface{}) types.GomegaMatcher
func HaveSucceeded ¶ added in v0.46.0
func HaveSucceeded() types.GomegaMatcher
func ThisDV ¶
func ThisDV(dv *v1beta1.DataVolume) func() (*v1beta1.DataVolume, error)
ThisDV fetches the latest state of the DataVolume. If the object does not exist, nil is returned.
func ThisDVWith ¶ added in v0.46.0
func ThisDVWith(namespace string, name string) func() (*v1beta1.DataVolume, error)
ThisDVWith fetches the latest state of the DataVolume based on namespace and name. If the object does not exist, nil is returned.
func ThisDeploymentWith ¶ added in v0.49.1
func ThisDeploymentWith(namespace string, name string) func() (*k8sv1.Deployment, error)
ThisDeploymentWith fetches the latest state of the Deployment based on namespace and name. If the object does not exist, nil is returned.
func ThisMigration ¶ added in v0.46.0
func ThisMigration(migration *virtv1.VirtualMachineInstanceMigration) func() (*virtv1.VirtualMachineInstanceMigration, error)
ThisMigration fetches the latest state of the Migration. If the object does not exist, nil is returned.
func ThisMigrationWith ¶ added in v0.46.0
func ThisMigrationWith(namespace string, name string) func() (*virtv1.VirtualMachineInstanceMigration, error)
ThisMigrationWith fetches the latest state of the Migration based on namespace and name. If the object does not exist, nil is returned.
func ThisPVC ¶ added in v0.46.0
func ThisPVC(pvc *v1.PersistentVolumeClaim) func() (*v1.PersistentVolumeClaim, error)
ThisPVC fetches the latest state of the PVC. If the object does not exist, nil is returned.
func ThisPVCWith ¶ added in v0.46.0
func ThisPVCWith(namespace string, name string) func() (*v1.PersistentVolumeClaim, error)
ThisPVCWith fetches the latest state of the PersistentVolumeClaim based on namespace and name. If the object does not exist, nil is returned.
func ThisPod ¶
ThisPod fetches the latest state of the pod. If the object does not exist, nil is returned.
func ThisPodWith ¶ added in v0.46.0
ThisPodWith fetches the latest state of the pod based on namespace and name. If the object does not exist, nil is returned.
func ThisVM ¶ added in v0.46.0
func ThisVM(vm *virtv1.VirtualMachine) func() (*virtv1.VirtualMachine, error)
ThisVM fetches the latest state of the VirtualMachine. If the object does not exist, nil is returned.
func ThisVMI ¶
func ThisVMI(vmi *virtv1.VirtualMachineInstance) func() (*virtv1.VirtualMachineInstance, error)
ThisVMI fetches the latest state of the VirtualMachineInstance. If the object does not exist, nil is returned.
func ThisVMIWith ¶ added in v0.46.0
func ThisVMIWith(namespace string, name string) func() (*virtv1.VirtualMachineInstance, error)
ThisVMIWith fetches the latest state of the VirtualMachineInstance based on namespace and name. If the object does not exist, nil is returned.
func ThisVMWith ¶ added in v0.46.0
func ThisVMWith(namespace string, name string) func() (*virtv1.VirtualMachine, error)
ThisVMWith fetches the latest state of the VirtualMachine based on namespace and name. If the object does not exist, nil is returned.
Types ¶
This section is empty.