Class TagImageHook

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<TagImageHookBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class TagImageHook
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<TagImageHookBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    TagImageHook is a request to tag the image in a particular container onto an ImageStreamTag.
    See Also:
    Serialized Form
    • Constructor Detail

      • TagImageHook

        public TagImageHook()
        No args constructor for use in serialization
      • TagImageHook

        public TagImageHook​(String containerName,
                            io.fabric8.kubernetes.api.model.ObjectReference to)
    • Method Detail

      • getContainerName

        public String getContainerName()
        containerName is the name of a container in the deployment config whose image value will be used as the source of the tag. If there is only a single container this value will be defaulted to the name of that container.
      • setContainerName

        public void setContainerName​(String containerName)
        containerName is the name of a container in the deployment config whose image value will be used as the source of the tag. If there is only a single container this value will be defaulted to the name of that container.
      • getTo

        public io.fabric8.kubernetes.api.model.ObjectReference getTo()
        TagImageHook is a request to tag the image in a particular container onto an ImageStreamTag.
      • setTo

        public void setTo​(io.fabric8.kubernetes.api.model.ObjectReference to)
        TagImageHook is a request to tag the image in a particular container onto an ImageStreamTag.
      • getAdditionalProperties

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

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

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