Package kubevirt.io
Class V1ContainerDiskSource
- java.lang.Object
-
- kubevirt.io.V1ContainerDiskSource
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1ContainerDiskSource extends java.lang.ObjectRepresents a docker image with an embedded disk.
-
-
Constructor Summary
Constructors Constructor Description V1ContainerDiskSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetImage()Image is the name of the image with the embedded disk.java.lang.StringgetImagePullPolicy()Image pull policy.java.lang.StringgetImagePullSecret()ImagePullSecret is the name of the Docker registry secret required to pull the image.java.lang.StringgetPath()Path defines the path to disk file in the containerinthashCode()V1ContainerDiskSourceimage(java.lang.String image)V1ContainerDiskSourceimagePullPolicy(java.lang.String imagePullPolicy)V1ContainerDiskSourceimagePullSecret(java.lang.String imagePullSecret)V1ContainerDiskSourcepath(java.lang.String path)voidsetImage(java.lang.String image)voidsetImagePullPolicy(java.lang.String imagePullPolicy)voidsetImagePullSecret(java.lang.String imagePullSecret)voidsetPath(java.lang.String path)java.lang.StringtoString()
-
-
-
Method Detail
-
image
public V1ContainerDiskSource image(java.lang.String image)
-
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)
-
imagePullPolicy
public V1ContainerDiskSource imagePullPolicy(java.lang.String imagePullPolicy)
-
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)
-
imagePullSecret
public V1ContainerDiskSource imagePullSecret(java.lang.String imagePullSecret)
-
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)
-
path
public V1ContainerDiskSource path(java.lang.String path)
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-