Package kubevirt.io

Class V1ContainerDiskSource


  • @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2019-11-10T14:44:51.030+02:00")
    public class V1ContainerDiskSource
    extends java.lang.Object
    Represents a docker image with an embedded disk.
    • Field Detail

      • image

        private java.lang.String image
      • imagePullPolicy

        private java.lang.String imagePullPolicy
      • imagePullSecret

        private java.lang.String imagePullSecret
      • path

        private java.lang.String path
    • Constructor Detail

      • V1ContainerDiskSource

        public V1ContainerDiskSource()
    • Method Detail

      • getImage

        public java.lang.String getImage()
        Image is the name of the image with the embedded disk.
        Returns:
        image
      • setImage

        public void setImage​(java.lang.String image)
      • getImagePullPolicy

        public java.lang.String getImagePullPolicy()
        Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
        Returns:
        imagePullPolicy
      • setImagePullPolicy

        public void setImagePullPolicy​(java.lang.String imagePullPolicy)
      • getImagePullSecret

        public java.lang.String getImagePullSecret()
        ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist.
        Returns:
        imagePullSecret
      • setImagePullSecret

        public void setImagePullSecret​(java.lang.String imagePullSecret)
      • getPath

        public java.lang.String getPath()
        Path defines the path to disk file in the container
        Returns:
        path
      • setPath

        public void setPath​(java.lang.String path)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toIndentedString

        private java.lang.String toIndentedString​(java.lang.Object o)
        Convert the given object to string with each line indented by 4 spaces (except the first line).