Class LifecycleHook

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class LifecycleHook
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<LifecycleHookBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    LifecycleHook defines a specific deployment lifecycle action. Only one type of action may be specified at any time.
    See Also:
    Serialized Form
    • Constructor Detail

      • LifecycleHook

        public LifecycleHook()
        No args constructor for use in serialization
    • Method Detail

      • getExecNewPod

        public ExecNewPodHook getExecNewPod()
        LifecycleHook defines a specific deployment lifecycle action. Only one type of action may be specified at any time.
      • setExecNewPod

        public void setExecNewPod​(ExecNewPodHook execNewPod)
        LifecycleHook defines a specific deployment lifecycle action. Only one type of action may be specified at any time.
      • getFailurePolicy

        public String getFailurePolicy()
        failurePolicy specifies what action to take if the hook fails.
      • setFailurePolicy

        public void setFailurePolicy​(String failurePolicy)
        failurePolicy specifies what action to take if the hook fails.
      • getTagImages

        public List<TagImageHook> getTagImages()
        tagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag.
      • setTagImages

        public void setTagImages​(List<TagImageHook> tagImages)
        tagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag.
      • getAdditionalProperties

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

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

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