Class V1ImageReplacement


  • public class V1ImageReplacement
    extends Object
    V1ImageReplacement
    • Constructor Detail

      • V1ImageReplacement

        public V1ImageReplacement()
    • Method Detail

      • getName

        public String getName()
        Name specifies which image name in live workloads will be replaced. Example: us.gcr.io/my-staging-registry/widget
        Returns:
        name
      • setName

        public void setName​(String name)
      • getNamespace

        public String getNamespace()
        Namespace optionally specifies which namespace will be searched.
        Returns:
        namespace
      • setNamespace

        public void setNamespace​(String namespace)
      • getNewName

        public String getNewName()
        NewName provides a replacement for the image name (the part before the tag). If this is left unset, the image name will not be changed. Example: us.gcr.io/my-dev-registry/username/widget
        Returns:
        newName
      • setNewName

        public void setNewName​(String newName)
      • getNewTag

        public String getNewTag()
        NewTag provides a replacement tag for the image. If this is left unset, the image tag will not be changed. Example: v1.0.0-snapshot-abc123
        Returns:
        newTag
      • setNewTag

        public void setNewTag​(String newTag)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object