Package io.fabric8.openshift.api.model
Class TagImageHook
- java.lang.Object
-
- io.fabric8.openshift.api.model.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 Summary
Constructors Constructor Description TagImageHook()No args constructor for use in serializationTagImageHook(String containerName, io.fabric8.kubernetes.api.model.ObjectReference to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagImageHookBuilderedit()Map<String,Object>getAdditionalProperties()StringgetContainerName()containerName is the name of a container in the deployment config whose image value will be used as the source of the tag.io.fabric8.kubernetes.api.model.ObjectReferencegetTo()TagImageHook is a request to tag the image in a particular container onto an ImageStreamTag.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetContainerName(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.voidsetTo(io.fabric8.kubernetes.api.model.ObjectReference to)TagImageHook is a request to tag the image in a particular container onto an ImageStreamTag.TagImageHookBuildertoBuilder()
-
-
-
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.
-
edit
public TagImageHookBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<TagImageHookBuilder>
-
toBuilder
public TagImageHookBuilder toBuilder()
-
-