public static enum TillerInstaller.ImagePullPolicy extends Enum<TillerInstaller.ImagePullPolicy>
enum
representing valid values for a Kubernetes imagePullPolicy
field.Enum Constant and Description |
---|
ALWAYS
An
TillerInstaller.ImagePullPolicy indicating that a Docker image
should always be pulled. |
IF_NOT_PRESENT
An
TillerInstaller.ImagePullPolicy indicating that a Docker image
should be pulled only if it is not already cached locally. |
NEVER
An
TillerInstaller.ImagePullPolicy indicating that a Docker image
should never be pulled. |
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns the valid Kubernetes value for this
TillerInstaller.ImagePullPolicy . |
static TillerInstaller.ImagePullPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TillerInstaller.ImagePullPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TillerInstaller.ImagePullPolicy ALWAYS
TillerInstaller.ImagePullPolicy
indicating that a Docker image
should always be pulled.public static final TillerInstaller.ImagePullPolicy IF_NOT_PRESENT
TillerInstaller.ImagePullPolicy
indicating that a Docker image
should be pulled only if it is not already cached locally.public static final TillerInstaller.ImagePullPolicy NEVER
TillerInstaller.ImagePullPolicy
indicating that a Docker image
should never be pulled.public static TillerInstaller.ImagePullPolicy[] values()
for (TillerInstaller.ImagePullPolicy c : TillerInstaller.ImagePullPolicy.values()) System.out.println(c);
public static TillerInstaller.ImagePullPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final String toString()
TillerInstaller.ImagePullPolicy
.
This method never returns null
.
toString
in class Enum<TillerInstaller.ImagePullPolicy>
TillerInstaller.ImagePullPolicy
; never null
Copyright © 2017–2018, microBean. All rights reserved.