- java.lang.Object
-
- com.oracle.bedrock.runtime.k8s.helm.HelmCommand<HelmList>
-
- com.oracle.bedrock.runtime.k8s.helm.HelmList
-
- All Implemented Interfaces:
CLI<HelmList>,CLI.WithTLS<HelmList>,MetaClass<Application>
public class HelmList extends HelmCommand<HelmList> implements CLI.WithTLS<HelmList>
A representation of the Helm list 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 HelmListall()Show all releases, not just the ones marked DEPLOYED.HelmListdeleted()Show deleted releasesHelmListdeleting()Show faideletingled releasesHelmListdeployed()Show deployed releasesHelmListfailed()Show failed releasesHelmListmax(int max)Set the maximum number of revision to include in the list (default 256)HelmListnamespace(String namespace)Show releases within a specific namespace.HelmListnewInstance(String helm, Arguments arguments, Arguments flags, EnvironmentVariables env)Create a new instance of this Helm command.HelmListoffset(String release)The next release name in the list, used to offset from start valueHelmListpending()Show pending releases.HelmListquiet()Output short (quiet) listing format.HelmListreverse()Reverse the sort order.HelmListsortByDate()Sort output by release date.-
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
-
all
public HelmList all()
Show all releases, not just the ones marked DEPLOYED.- Returns:
- a copy of this command with the
--allflag appended
-
sortByDate
public HelmList sortByDate()
Sort output by release date.- Returns:
- a copy of this command with the
--dateflag appended
-
deleted
public HelmList deleted()
Show deleted releases- Returns:
- a copy of this command with the
--deletedflag appended
-
deleting
public HelmList deleting()
Show faideletingled releases- Returns:
- a copy of this command with the
--deletingflag appended
-
deployed
public HelmList deployed()
Show deployed releases- Returns:
- a copy of this command with the
--deployedflag appended
-
failed
public HelmList failed()
Show failed releases- Returns:
- a copy of this command with the
--failedflag appended
-
max
public HelmList max(int max)
Set the maximum number of revision to include in the list (default 256)- Parameters:
max- the maximum number of revision to include- Returns:
- a copy of this command with the
--maxflag appended
-
namespace
public HelmList namespace(String namespace)
Show releases within a specific namespace.- Parameters:
namespace- the namespace- Returns:
- a copy of this command with the
--maxflag appended
-
offset
public HelmList offset(String release)
The next release name in the list, used to offset from start value- Parameters:
release- the release name- Returns:
- a copy of this command with the
--offsetflag appended
-
pending
public HelmList pending()
Show pending releases.- Returns:
- a copy of this command with the
--pendingflag appended
-
reverse
public HelmList reverse()
Reverse the sort order.- Returns:
- a copy of this command with the
--reverseflag appended
-
quiet
public HelmList quiet()
Output short (quiet) listing format.- Returns:
- a copy of this command with the
--shortflag appended
-
newInstance
public HelmList 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<HelmList>arguments- the command argumentsflags- the command flagsenv- the environment variables- Returns:
- a new instance of this command
-
-