Documentation ¶
Index ¶
- func EqualConnection(targetValue dbaasv1alpha1.Connection, observedValue *ionosdbaas.Connection) bool
- func EqualConnectionPooler(targetValue dbaasv1alpha1.ConnectionPooler, ...) bool
- func EqualConnections(targetValue []dbaasv1alpha1.Connection, observedValue []ionosdbaas.Connection) bool
- func EqualDatabaseMaintenanceWindow(targetValue dbaasv1alpha1.MaintenanceWindow, ...) bool
- func EqualDayOfTheWeek(targetValue string, observedValue *ionosdbaas.DayOfTheWeek) bool
- func EqualKubernetesMaintenanceWindow(targetValue k8sv1alpha1.MaintenanceWindow, ...) bool
- func EqualMaintenanceWindow(targetValue MaintenanceWindowResource, ...) bool
- func EqualMongoDatabaseMaintenanceWindow(targetValue mongoalphav1.MaintenanceWindow, ...) bool
- func EqualMongoDayOfTheWeek(targetValue string, observedValue *mongo.DayOfTheWeek) bool
- func EqualString(targetValue string, observedValue *string) bool
- func EqualTimeString(targetValue string, observedValue *string) bool
- type MaintenanceWindowPtrResource
- type MaintenanceWindowResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualConnection ¶ added in v1.1.2
func EqualConnection(targetValue dbaasv1alpha1.Connection, observedValue *ionosdbaas.Connection) bool
EqualConnection returns true if the connections are equal
func EqualConnectionPooler ¶ added in v1.1.2
func EqualConnectionPooler(targetValue dbaasv1alpha1.ConnectionPooler, observedValue *ionosdbaas.ConnectionPooler) bool
EqualConnectionPooler returns true if the connection poolers are equal
func EqualConnections ¶ added in v1.1.2
func EqualConnections(targetValue []dbaasv1alpha1.Connection, observedValue []ionosdbaas.Connection) bool
EqualConnections returns true if the connections are equal
func EqualDatabaseMaintenanceWindow ¶
func EqualDatabaseMaintenanceWindow(targetValue dbaasv1alpha1.MaintenanceWindow, observedValue *ionosdbaas.MaintenanceWindow) bool
EqualDatabaseMaintenanceWindow returns true if the maintenance windows are equal
func EqualDayOfTheWeek ¶
func EqualDayOfTheWeek(targetValue string, observedValue *ionosdbaas.DayOfTheWeek) bool
EqualDayOfTheWeek returns if the string representation of the DayOfTheWeek are equal. An observed nil value is equal to ""
func EqualKubernetesMaintenanceWindow ¶
func EqualKubernetesMaintenanceWindow(targetValue k8sv1alpha1.MaintenanceWindow, observedValue *ionoscloud.KubernetesMaintenanceWindow) bool
EqualKubernetesMaintenanceWindow returns true if the maintenance windows are equal
func EqualMaintenanceWindow ¶ added in v1.0.9
func EqualMaintenanceWindow(targetValue MaintenanceWindowResource, observedValue MaintenanceWindowPtrResource) bool
EqualMaintenanceWindow returns true if the maintenance windows are equal
func EqualMongoDatabaseMaintenanceWindow ¶ added in v1.0.9
func EqualMongoDatabaseMaintenanceWindow(targetValue mongoalphav1.MaintenanceWindow, observedValue *mongo.MaintenanceWindow) bool
EqualMongoDatabaseMaintenanceWindow returns true if the maintenance windows are equal
func EqualMongoDayOfTheWeek ¶ added in v1.0.9
func EqualMongoDayOfTheWeek(targetValue string, observedValue *mongo.DayOfTheWeek) bool
EqualMongoDayOfTheWeek returns if the string representation of the DayOfTheWeek are equal. An observed nil value is equal to ""
func EqualString ¶
EqualString returns if the strings are equal. An observed nil value is equal to ""
func EqualTimeString ¶
EqualTimeString compares the two given strings if they are represent the same point in time. This function assumes the timeformat is HH:mm:ssZ. If the Z is missing, it will be added.
Types ¶
type MaintenanceWindowPtrResource ¶ added in v1.0.9
MaintenanceWindowPtrResource to be able to compare maintenance windows from different sdks
type MaintenanceWindowResource ¶ added in v1.0.9
MaintenanceWindowResource - interface to be able to compare maintenance windows from different sdks