Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyTargetADB ¶
func VerifyTargetADB(kubeClient client.Client, target dbv1alpha1.TargetSpec, namespace string) (*dbv1alpha1.AutonomousDatabase, error)
VerifyTargetADB searches if the target ADB is in the cluster, and set the owner reference to the ADB if it exists. The function returns two values in the following order: ocid: the OCID of the target ADB. An empty string is returned if the ocid is nil. ownerADB: the resource of the targetADB if it's found in the cluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.