public class KubernetesVerifiers extends Object
KubernetesVerifiers.VerificationResult encapsulates the result and the class will keep a
registry of Verifiers per Kubernetes API Kind and Version.| Modifier and Type | Class and Description |
|---|---|
static class |
KubernetesVerifiers.VerificationResult
Represents the result object for verification action.
|
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. |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEPLOYMENT_KIND |
| Constructor and Description |
|---|
KubernetesVerifiers() |
| Modifier and Type | Method and Description |
|---|---|
static KubernetesVerifiers.VerificationResult |
verify(KubectlWrapper kubectl,
Manifests.ManifestObject object)
Verify that the Kubernetes object was successfully applied to the Kubernetes cluster.
|
public static final String DEPLOYMENT_KIND
public static KubernetesVerifiers.VerificationResult verify(KubectlWrapper kubectl, Manifests.ManifestObject object)
kubectl - The KubectlWrapper that will query the cluster.object - The Manifests.ManifestObject representation of the Kubernetes object to
verify.KubernetesVerifiers.VerificationResult that encapsulates whether the Kubernetes object was verified
together with relevant log that is dependent on the type of Kubernetes object.Copyright © 2016–2020 Google. All rights reserved.