public static enum TillerInstaller.ImagePullPolicy extends Enum<TillerInstaller.ImagePullPolicy>
enum representing valid values for a Kubernetes imagePullPolicy field.| 枚举常量和说明 |
|---|
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. |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
toString()
Returns the valid Kubernetes value for this
TillerInstaller.ImagePullPolicy. |
static TillerInstaller.ImagePullPolicy |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TillerInstaller.ImagePullPolicy[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final String toString()
TillerInstaller.ImagePullPolicy.
This method never returns null.
toString 在类中 Enum<TillerInstaller.ImagePullPolicy>TillerInstaller.ImagePullPolicy; never nullCopyright © 2019. All rights reserved.