Class DynamicPVCVolume

All Implemented Interfaces:
Describable<PodVolume>, Serializable, DynamicPVC, ProvisionedVolume

@Deprecated public class DynamicPVCVolume extends PodVolume implements DynamicPVC
Deprecated.
Implements a dynamic PVC volume, that is created before the agent pod is created, and terminated afterwards.
See Also:
  • Constructor Details

    • DynamicPVCVolume

      @DataBoundConstructor public DynamicPVCVolume()
      Deprecated.
  • Method Details

    • getAccessModes

      @CheckForNull public String getAccessModes()
      Deprecated.
      Specified by:
      getAccessModes in interface ProvisionedVolume
    • setAccessModes

      @DataBoundSetter public void setAccessModes(@CheckForNull String accessModes)
      Deprecated.
    • getRequestsSize

      @CheckForNull public String getRequestsSize()
      Deprecated.
      Specified by:
      getRequestsSize in interface ProvisionedVolume
    • setRequestsSize

      @DataBoundSetter public void setRequestsSize(@CheckForNull String requestsSize)
      Deprecated.
    • getStorageClassName

      @CheckForNull public String getStorageClassName()
      Deprecated.
      Specified by:
      getStorageClassName in interface ProvisionedVolume
    • setStorageClassName

      @DataBoundSetter public void setStorageClassName(@CheckForNull String storageClassName)
      Deprecated.
    • getMountPath

      public String getMountPath()
      Deprecated.
      Specified by:
      getMountPath in class PodVolume
    • buildVolume

      public io.fabric8.kubernetes.api.model.Volume buildVolume(String volumeName, String podName)
      Deprecated.
      Description copied from class: PodVolume
      It's expected to override at least one of PodVolume.buildVolume(String, String) or PodVolume.buildVolume(String).
      Overrides:
      buildVolume in class PodVolume
      Parameters:
      volumeName - The name of the volume to build.
      Returns:
      The built volume.
    • createVolume

      public io.fabric8.kubernetes.api.model.PersistentVolumeClaim createVolume(io.fabric8.kubernetes.client.KubernetesClient client, io.fabric8.kubernetes.api.model.ObjectMeta podMetaData)
      Deprecated.
      Description copied from class: PodVolume
      Creates a volume claim.
      Overrides:
      createVolume in class PodVolume
      Parameters:
      client - Kubernetes client
      podMetaData - Kubernetes pod metadata
      Returns:
      the created volume claim
    • setMountPath

      @DataBoundSetter public void setMountPath(String mountPath)
      Deprecated.
    • getPvcName

      @NonNull public String getPvcName(String podName)
      Deprecated.
      Specified by:
      getPvcName in interface DynamicPVC
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object