public class VerificationTask extends Object
Manifests.ManifestObject
was applied to the
Kubernetes cluster.Modifier and Type | Method and Description |
---|---|
KubernetesVerifiers.VerificationResult |
getVerificationResult() |
static boolean |
verifyObjects(KubectlWrapper kubectl,
List<Manifests.ManifestObject> manifestObjects,
PrintStream consoleLogger,
int timeoutInMinutes)
The caller's entrypoint for verifying that a list of
Manifests.ManifestObject 's were
applied to the Kubernetes cluster. |
public KubernetesVerifiers.VerificationResult getVerificationResult()
KubernetesVerifiers.VerificationResult
.public static boolean verifyObjects(@Nonnull KubectlWrapper kubectl, @Nonnull List<Manifests.ManifestObject> manifestObjects, @Nonnull PrintStream consoleLogger, int timeoutInMinutes)
Manifests.ManifestObject
's were
applied to the Kubernetes cluster.kubectl
- KubectlWrapper object for issuing commands to Kubernetes cluster.manifestObjects
- List of Manifests.ManifestObject
's to verify.consoleLogger
- PrintStream
for outputting results (intended to be user facing).timeoutInMinutes
- Stop retrying verification after this many minutes.Manifests.ManifestObject
's were successfully verified.Copyright © 2016–2021 Google. All rights reserved.