Show / Hide Table of Contents

Class V1PersistentVolumeClaimVolumeSource

PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).

Inheritance
object
V1PersistentVolumeClaimVolumeSource
Implements
IEquatable<V1PersistentVolumeClaimVolumeSource>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1PersistentVolumeClaimVolumeSource : IEquatable<V1PersistentVolumeClaimVolumeSource>

Constructors

View Source

V1PersistentVolumeClaimVolumeSource()

Declaration
public V1PersistentVolumeClaimVolumeSource()
View Source

V1PersistentVolumeClaimVolumeSource(V1PersistentVolumeClaimVolumeSource)

Declaration
protected V1PersistentVolumeClaimVolumeSource(V1PersistentVolumeClaimVolumeSource original)
Parameters
Type Name Description
V1PersistentVolumeClaimVolumeSource original

Properties

View Source

ClaimName

claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

Declaration
[JsonPropertyName("claimName")]
public string ClaimName { get; set; }
Property Value
Type Description
string
View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

ReadOnlyProperty

readOnly Will force the ReadOnly setting in VolumeMounts. Default false.

Declaration
[JsonPropertyName("readOnly")]
public bool? ReadOnlyProperty { get; set; }
Property Value
Type Description
bool?

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1PersistentVolumeClaimVolumeSource?)

Declaration
public virtual bool Equals(V1PersistentVolumeClaimVolumeSource? other)
Parameters
Type Name Description
V1PersistentVolumeClaimVolumeSource other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1PersistentVolumeClaimVolumeSource?, V1PersistentVolumeClaimVolumeSource?)

Declaration
public static bool operator ==(V1PersistentVolumeClaimVolumeSource? left, V1PersistentVolumeClaimVolumeSource? right)
Parameters
Type Name Description
V1PersistentVolumeClaimVolumeSource left
V1PersistentVolumeClaimVolumeSource right
Returns
Type Description
bool
View Source

operator !=(V1PersistentVolumeClaimVolumeSource?, V1PersistentVolumeClaimVolumeSource?)

Declaration
public static bool operator !=(V1PersistentVolumeClaimVolumeSource? left, V1PersistentVolumeClaimVolumeSource? right)
Parameters
Type Name Description
V1PersistentVolumeClaimVolumeSource left
V1PersistentVolumeClaimVolumeSource right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX