Class 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 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)