Show / Hide Table of Contents

Class V1FlexVolumeSource

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.

Inheritance
object
V1FlexVolumeSource
Implements
IEquatable<V1FlexVolumeSource>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
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
Type Name Description
V1FlexVolumeSource original

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
Type Description
string
View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
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
Type Description
string
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
Type Description
IDictionary<string, string>
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
Type Description
bool?
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
Type Description
V1LocalObjectReference

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(V1FlexVolumeSource?)

Declaration
public virtual bool Equals(V1FlexVolumeSource? other)
Parameters
Type Name Description
V1FlexVolumeSource 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 ==(V1FlexVolumeSource?, V1FlexVolumeSource?)

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

operator !=(V1FlexVolumeSource?, V1FlexVolumeSource?)

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

Implements

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