Interface KubernetesVerifiers.Verifier
- Enclosing class:
- KubernetesVerifiers
public static interface KubernetesVerifiers.Verifier
A verifier is an adapter that uses a
KubectlWrapper
to verify that a Manifests.ManifestObject
was successfully applied to the Kubernetes cluster.-
Method Summary
Modifier and TypeMethodDescriptionverify
(KubectlWrapper kubectl, Manifests.ManifestObject object) Verify the Kubernetes object represented by theManifests.ManifestObject
was applied to the Kubernetes cluster.
-
Method Details
-
verify
KubernetesVerifiers.VerificationResult verify(KubectlWrapper kubectl, Manifests.ManifestObject object) Verify the Kubernetes object represented by theManifests.ManifestObject
was applied to the Kubernetes cluster.- Parameters:
kubectl
- AKubectlWrapper
object for querying the object type in the cluster.object
- The manifest to be verified.- Returns:
- true If the resource was verified, false otherwise.
-