Package io.fabric8.openshift.api.model
Class ImageLookupPolicy
- java.lang.Object
-
- io.fabric8.openshift.api.model.ImageLookupPolicy
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ImageLookupPolicyBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ImageLookupPolicy extends Object implements io.fabric8.kubernetes.api.builder.Editable<ImageLookupPolicyBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ImageLookupPolicy describes how an image stream can be used to override the image references used by pods, builds, and other resources in a namespace.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageLookupPolicy()No args constructor for use in serializationImageLookupPolicy(Boolean local)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageLookupPolicyBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetLocal()local will change the docker short image references (like "mysql" or "php:latest") on objects in this namespace to the image ID whenever they match this image stream, instead of reaching out to a remote registry.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLocal(Boolean local)local will change the docker short image references (like "mysql" or "php:latest") on objects in this namespace to the image ID whenever they match this image stream, instead of reaching out to a remote registry.ImageLookupPolicyBuildertoBuilder()
-
-
-
Constructor Detail
-
ImageLookupPolicy
public ImageLookupPolicy()
No args constructor for use in serialization
-
ImageLookupPolicy
public ImageLookupPolicy(Boolean local)
-
-
Method Detail
-
getLocal
public Boolean getLocal()
local will change the docker short image references (like "mysql" or "php:latest") on objects in this namespace to the image ID whenever they match this image stream, instead of reaching out to a remote registry. The name will be fully qualified to an image ID if found. The tag's referencePolicy is taken into account on the replaced value. Only works within the current namespace.
-
setLocal
public void setLocal(Boolean local)
local will change the docker short image references (like "mysql" or "php:latest") on objects in this namespace to the image ID whenever they match this image stream, instead of reaching out to a remote registry. The name will be fully qualified to an image ID if found. The tag's referencePolicy is taken into account on the replaced value. Only works within the current namespace.
-
edit
public ImageLookupPolicyBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ImageLookupPolicyBuilder>
-
toBuilder
public ImageLookupPolicyBuilder toBuilder()
-
-