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 Object
Represents a docker image with an embedded disk.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetImage()Image is the name of the image with the embedded disk.Image pull policy.ImagePullSecret is the name of the Docker registry secret required to pull the image.getPath()Path defines the path to disk file in the containerinthashCode()imagePullPolicy(String imagePullPolicy) imagePullSecret(String imagePullSecret) voidvoidsetImagePullPolicy(String imagePullPolicy) voidsetImagePullSecret(String imagePullSecret) voidprivate StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
image
-
imagePullPolicy
-
imagePullSecret
-
path
-
-
Constructor Details
-
V1ContainerDiskSource
public V1ContainerDiskSource()
-
-
Method Details
-
image
-
getImage
Image is the name of the image with the embedded disk.- Returns:
- image
-
setImage
-
imagePullPolicy
-
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
-
imagePullSecret
-
getImagePullSecret
ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist.- Returns:
- imagePullSecret
-
setImagePullSecret
-
path
-
getPath
Path defines the path to disk file in the container- Returns:
- path
-
setPath
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-