- java.lang.Object
-
- com.oracle.bedrock.runtime.k8s.helm.HelmCommand<HelmTest>
-
- com.oracle.bedrock.runtime.k8s.helm.HelmTest
-
- All Implemented Interfaces:
CLI<HelmTest>,CLI.WithTLS<HelmTest>,MetaClass<Application>
public class HelmTest extends HelmCommand<HelmTest> implements CLI.WithTLS<HelmTest>
A representation of the Helm test command.Copyright (c) 2018. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.- Author:
- Jonathan Knight
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.oracle.bedrock.runtime.k8s.helm.HelmCommand
HelmCommand.Template
-
Nested classes/interfaces inherited from interface com.oracle.bedrock.runtime.k8s.helm.CLI
CLI.WithCerts<C extends CLI.WithCerts>, CLI.WithRepo<C extends CLI.WithRepo>, CLI.WithTLS<C extends CLI.WithTLS>
-
-
Field Summary
-
Fields inherited from class com.oracle.bedrock.runtime.k8s.helm.HelmCommand
DEFAULT_HELM
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HelmTestcleanup()Delete test pods upon completion.HelmTestnewInstance(String helm, Arguments arguments, Arguments flags, EnvironmentVariables env)Create a new instance of this Helm command.HelmTesttimeout(int seconds)Set the time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300).-
Methods inherited from class com.oracle.bedrock.runtime.k8s.helm.HelmCommand
execute, executeAndWait, getArguments, getCommands, getEnvironment, getFlags, getHelmLocation, getImplementationClass, helmExists, isFlagsFirst, onLaunch, onLaunched, onLaunching
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bedrock.runtime.k8s.helm.CLI
debug, getArguments, getCommands, getEnvironment, getFlags, getHelmLocation, home, host, isFlagsFirst, kubeConfig, kubeContext, tillerNamespace, withArguments, withArguments, withArguments, withEnvironment, withEnvironment, withEnvironment, withEnvironment, withFlags, withFlags, withFlags, withHelmAt
-
Methods inherited from interface com.oracle.bedrock.runtime.k8s.helm.CLI.WithTLS
tls, tlsCaCert, tlsCert, tlsKey, tlsVerify
-
Methods inherited from interface com.oracle.bedrock.runtime.MetaClass
getImplementationClass, onLaunch, onLaunched, onLaunching
-
-
-
-
Method Detail
-
cleanup
public HelmTest cleanup()
Delete test pods upon completion.- Returns:
- a copy of this command with the
--cleanupflag appended
-
timeout
public HelmTest timeout(int seconds)
Set the time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300).- Parameters:
seconds- the number of seconds to wait- Returns:
- a copy of this command with the
--timeoutflag appended
-
newInstance
public HelmTest newInstance(String helm, Arguments arguments, Arguments flags, EnvironmentVariables env)
Description copied from interface:CLICreate a new instance of this Helm command.- Specified by:
newInstancein interfaceCLI<HelmTest>arguments- the command argumentsflags- the command flagsenv- the environment variables- Returns:
- a new instance of this command
-
-