Class V1CSIDriver
CSIDriver captures information about a Container Storage Interface (CSI) volume
driver deployed on the cluster. Kubernetes attach detach controller uses this
object to determine whether attach is required. Kubelet uses this object to
determine whether pod information needs to be passed on mount. CSIDriver objects
are non-namespaced.
Assembly: KubernetesClient.dll
Syntax
[KubernetesEntity(Group = "storage.k8s.io", Kind = "CSIDriver", ApiVersion = "v1", PluralName = "csidrivers")]
public record V1CSIDriver : IKubernetesObject<V1ObjectMeta>, IKubernetesObject, IMetadata<V1ObjectMeta>, ISpec<V1CSIDriverSpec>, IEquatable<V1CSIDriver>
Constructors
V1CSIDriver()
Declaration
V1CSIDriver(V1CSIDriver)
Declaration
protected V1CSIDriver(V1CSIDriver original)
Parameters
Fields
KubeApiVersion
Declaration
public const string KubeApiVersion = "v1"
Field Value
KubeGroup
Declaration
public const string KubeGroup = "storage.k8s.io"
Field Value
KubeKind
Declaration
public const string KubeKind = "CSIDriver"
Field Value
KubePluralName
Declaration
public const string KubePluralName = "csidrivers"
Field Value
Properties
ApiVersion
Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Kind
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
Declaration
[JsonPropertyName("metadata")]
public V1ObjectMeta Metadata { get; set; }
Property Value
Spec
spec represents the specification of the CSI Driver.
Declaration
[JsonPropertyName("spec")]
public V1CSIDriverSpec Spec { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1CSIDriver?)
Declaration
public virtual bool Equals(V1CSIDriver? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1CSIDriver?, V1CSIDriver?)
Declaration
public static bool operator ==(V1CSIDriver? left, V1CSIDriver? right)
Parameters
Returns
operator !=(V1CSIDriver?, V1CSIDriver?)
Declaration
public static bool operator !=(V1CSIDriver? left, V1CSIDriver? right)
Parameters
Returns
Implements
Extension Methods