Class KubernetesVerifiers
java.lang.Object
com.google.jenkins.plugins.k8sengine.KubernetesVerifiers
Verification adapters for verifying ManifestObjects using kubectl and returning and logging the
 result. Inner class, 
KubernetesVerifiers.VerificationResult encapsulates the result and the class will keep a
 registry of Verifiers per Kubernetes API Kind and Version.- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the result object for verification action.static interfaceA verifier is an adapter that uses aKubectlWrapperto verify that aManifests.ManifestObjectwas successfully applied to the Kubernetes cluster. - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionverify(KubectlWrapper kubectl, Manifests.ManifestObject object) Verify that the Kubernetes object was successfully applied to the Kubernetes cluster. 
- 
Field Details
- 
DEPLOYMENT_KIND
- See Also:
 
 
 - 
 - 
Constructor Details
- 
KubernetesVerifiers
public KubernetesVerifiers() 
 - 
 - 
Method Details
- 
verify
public static KubernetesVerifiers.VerificationResult verify(KubectlWrapper kubectl, Manifests.ManifestObject object) Verify that the Kubernetes object was successfully applied to the Kubernetes cluster.- Parameters:
 kubectl- TheKubectlWrapperthat will query the cluster.object- TheManifests.ManifestObjectrepresentation of the Kubernetes object to verify.- Returns:
 KubernetesVerifiers.VerificationResultthat encapsulates whether the Kubernetes object was verified together with relevant log that is dependent on the type of Kubernetes object.
 
 -