Documentation ¶
Overview ¶
The matcher package provides domain-specific Gomega matchers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsConfigAuditReportOwnedBy ¶
func IsConfigAuditReportOwnedBy(owner client.Object) types.GomegaMatcher
IsConfigAuditReportOwnedBy succeeds if a v1alpha1.ConfigAuditReport has a valid structure, and is owned by the specified client.Object.
Note: This matcher is not suitable for unit tests because it does not perform a strict validation of the actual v1alpha1.ConfigAuditReport.
func IsVulnerabilityReportForContainerOwnedBy ¶
func IsVulnerabilityReportForContainerOwnedBy(containerName string, owner client.Object) types.GomegaMatcher
IsVulnerabilityReportForContainerOwnedBy succeeds if a v1alpha1.VulnerabilityReport has a valid structure, corresponds to the given container and is owned by the specified client.Object.
Note: This matcher is not suitable for unit tests because it does not perform a strict validation of the actual v1alpha1.VulnerabilityReport.
Types ¶
This section is empty.