Class V1FlexVolumeSource
FlexVolume represents a generic volume resource that is provisioned/attached
using an exec based plugin.
Inheritance
V1FlexVolumeSource
Assembly: KubernetesClient.dll
Syntax
public record V1FlexVolumeSource : IEquatable<V1FlexVolumeSource>
Constructors
V1FlexVolumeSource()
Declaration
public V1FlexVolumeSource()
V1FlexVolumeSource(V1FlexVolumeSource)
Declaration
protected V1FlexVolumeSource(V1FlexVolumeSource original)
Parameters
Properties
Driver
driver is the name of the driver to use for this volume.
Declaration
[JsonPropertyName("driver")]
public string Driver { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
FsType
fsType is the filesystem type to mount. Must be a filesystem type supported by
the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem
depends on FlexVolume script.
Declaration
[JsonPropertyName("fsType")]
public string FsType { get; set; }
Property Value
Options
options is Optional: this field holds extra command options if any.
Declaration
[JsonPropertyName("options")]
public IDictionary<string, string> Options { get; set; }
Property Value
ReadOnlyProperty
readOnly is Optional: defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
Declaration
[JsonPropertyName("readOnly")]
public bool? ReadOnlyProperty { get; set; }
Property Value
SecretRef
secretRef is Optional: secretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts. This may be empty if no
secret object is specified. If the secret object contains more than one secret,
all secrets are passed to the plugin scripts.
Declaration
[JsonPropertyName("secretRef")]
public V1LocalObjectReference SecretRef { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1FlexVolumeSource?)
Declaration
public virtual bool Equals(V1FlexVolumeSource? 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 ==(V1FlexVolumeSource?, V1FlexVolumeSource?)
Declaration
public static bool operator ==(V1FlexVolumeSource? left, V1FlexVolumeSource? right)
Parameters
Returns
operator !=(V1FlexVolumeSource?, V1FlexVolumeSource?)
Declaration
public static bool operator !=(V1FlexVolumeSource? left, V1FlexVolumeSource? right)
Parameters
Returns
Implements