public enum ImagePullPolicy extends Enum<ImagePullPolicy>
| Enum Constant and Description |
|---|
Always |
IfNotPresent |
Never |
| Modifier and Type | Method and Description |
|---|---|
static ImagePullPolicy |
relaxedValueOf(String name)
Tries to convert
name to an ImagePullPolicy by ignoring case, dashes, underscores
and so on in a relaxed fashion. |
static ImagePullPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImagePullPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImagePullPolicy Always
public static final ImagePullPolicy IfNotPresent
public static final ImagePullPolicy Never
public static ImagePullPolicy[] values()
for (ImagePullPolicy c : ImagePullPolicy.values()) System.out.println(c);
public static 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 static ImagePullPolicy relaxedValueOf(String name)
name to an ImagePullPolicy by ignoring case, dashes, underscores
and so on in a relaxed fashion.name - The name to convert to an ImagePullPolicy.ImagePullPolicy for name or null if the conversion was not possible.Copyright © 2023 Pivotal Software, Inc.. All rights reserved.