- java.lang.Object
-
- com.oracle.bedrock.runtime.k8s.helm.HelmCommand<HelmFetch>
-
- com.oracle.bedrock.runtime.k8s.helm.HelmFetch
-
- All Implemented Interfaces:
CLI<HelmFetch>,CLI.WithCerts<HelmFetch>,CLI.WithRepo<HelmFetch>,MetaClass<Application>
public class HelmFetch extends HelmCommand<HelmFetch> implements CLI.WithCerts<HelmFetch>, CLI.WithRepo<HelmFetch>
A representation of the Helm fetch 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 HelmFetchdevelopment()Use development versions too.HelmFetchnewInstance(String helm, Arguments arguments, Arguments flags, EnvironmentVariables env)Create a new instance of this Helm command.HelmFetchprov()Fetch the provenance file, but don't perform verification.HelmFetchuntar()Untar the chart after downloading it.HelmFetchuntarInto(File directory)The name of the directory into which the chart should be expanded (default ".") - also sets the--untarflag.HelmFetchuntarInto(String directory)The name of the directory into which the chart should be expanded (default ".") - also sets the--untarflag.-
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.WithCerts
caFile, certFile, keyFile, keyRing
-
Methods inherited from interface com.oracle.bedrock.runtime.k8s.helm.CLI.WithRepo
repo, verify, version
-
Methods inherited from interface com.oracle.bedrock.runtime.MetaClass
getImplementationClass, onLaunch, onLaunched, onLaunching
-
-
-
-
Method Detail
-
development
public HelmFetch development()
Use development versions too. Equivalent to version '>0.0.0-a'. If--versionis set, this is ignored.- Returns:
- a copy of this command with the
--develflag appended
-
prov
public HelmFetch prov()
Fetch the provenance file, but don't perform verification.- Returns:
- a copy of this command with the
--provflag appended
-
untar
public HelmFetch untar()
Untar the chart after downloading it.- Returns:
- a copy of this command with the
--untarflag appended
-
untarInto
public HelmFetch untarInto(String directory)
The name of the directory into which the chart should be expanded (default ".") - also sets the--untarflag.- Parameters:
directory- the repository url- Returns:
- a copy of this command with the
--untardirand--untarflags appended
-
untarInto
public HelmFetch untarInto(File directory)
The name of the directory into which the chart should be expanded (default ".") - also sets the--untarflag.- Parameters:
directory- the repository url- Returns:
- a copy of this command with the
--untardirand--untarflags appended
-
newInstance
public HelmFetch 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<HelmFetch>arguments- the command argumentsflags- the command flagsenv- the environment variables- Returns:
- a new instance of this command
-
-