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
View Source
V1FlexVolumeSource()
Declaration
public V1FlexVolumeSource()
View Source
V1FlexVolumeSource(V1FlexVolumeSource)
Declaration
protected V1FlexVolumeSource(V1FlexVolumeSource original)
Parameters
Properties
View Source
Driver
driver is the name of the driver to use for this volume.
Declaration
[JsonPropertyName("driver")]
public string Driver { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
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
View Source
Options
options is Optional: this field holds extra command options if any.
Declaration
[JsonPropertyName("options")]
public IDictionary<string, string> Options { get; set; }
Property Value
View Source
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
View Source
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
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1FlexVolumeSource?)
Declaration
public virtual bool Equals(V1FlexVolumeSource? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1FlexVolumeSource?, V1FlexVolumeSource?)
Declaration
public static bool operator ==(V1FlexVolumeSource? left, V1FlexVolumeSource? right)
Parameters
Returns
View Source
operator !=(V1FlexVolumeSource?, V1FlexVolumeSource?)
Declaration
public static bool operator !=(V1FlexVolumeSource? left, V1FlexVolumeSource? right)
Parameters
Returns
Implements