public enum PullPolicy extends 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(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(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 null