public enum ImagePullPolicy extends Enum<ImagePullPolicy>
Enum Constant and Description |
---|
Always
Pull always images
|
IfNotPresent
Pull image only if not present
|
Never
Don't auto pull images
|
Modifier and Type | Method and Description |
---|---|
static ImagePullPolicy |
fromString(String imagePullPolicy) |
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 fromString(String imagePullPolicy)
Copyright © 2021. All rights reserved.