Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1GitRepoVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1GitRepoVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1GitRepoVolumeSource extends Object
Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DIRECTORYstatic StringJSON_PROPERTY_REPOSITORYstatic StringJSON_PROPERTY_REVISION
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1GitRepoVolumeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1GitRepoVolumeSourcedirectory(String directory)booleanequals(Object o)StringgetDirectory()Target directory name.StringgetRepository()Repository URLStringgetRevision()Commit hash for the specified revision.inthashCode()IoK8sApiCoreV1GitRepoVolumeSourcerepository(String repository)IoK8sApiCoreV1GitRepoVolumeSourcerevision(String revision)voidsetDirectory(String directory)voidsetRepository(String repository)voidsetRevision(String revision)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DIRECTORY
public static final String JSON_PROPERTY_DIRECTORY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REPOSITORY
public static final String JSON_PROPERTY_REPOSITORY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REVISION
public static final String JSON_PROPERTY_REVISION
- See Also:
- Constant Field Values
-
-
Method Detail
-
directory
public IoK8sApiCoreV1GitRepoVolumeSource directory(String directory)
-
getDirectory
@Nullable public String getDirectory()
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.- Returns:
- directory
-
setDirectory
public void setDirectory(String directory)
-
repository
public IoK8sApiCoreV1GitRepoVolumeSource repository(String repository)
-
getRepository
public String getRepository()
Repository URL- Returns:
- repository
-
setRepository
public void setRepository(String repository)
-
revision
public IoK8sApiCoreV1GitRepoVolumeSource revision(String revision)
-
getRevision
@Nullable public String getRevision()
Commit hash for the specified revision.- Returns:
- revision
-
setRevision
public void setRevision(String revision)
-
-