public enum PullPolicy extends java.lang.Enum<PullPolicy>
| Enum Constant and Description |
|---|
ALWAYS
Always pull the image from the registry.
|
IF_NOT_PRESENT
Pull the image from the registry only if it does not exist locally.
|
NEVER
Never pull the image from the registry.
|
| Modifier and Type | Method and Description |
|---|---|
static PullPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PullPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PullPolicy ALWAYS
public static final PullPolicy NEVER
public static final PullPolicy IF_NOT_PRESENT
public static PullPolicy[] values()
for (PullPolicy c : PullPolicy.values()) System.out.println(c);
public static PullPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null