Show / Hide Table of Contents

Class V1GlusterfsPersistentVolumeSource

Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.

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

Constructors

V1GlusterfsPersistentVolumeSource()

Declaration
public V1GlusterfsPersistentVolumeSource()

V1GlusterfsPersistentVolumeSource(V1GlusterfsPersistentVolumeSource)

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

Properties

Endpoints

endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

Declaration
[JsonPropertyName("endpoints")]
public string Endpoints { get; set; }
Property Value
Type Description
string

EndpointsNamespace

endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

Declaration
[JsonPropertyName("endpointsNamespace")]
public string EndpointsNamespace { get; set; }
Property Value
Type Description
string

EqualityContract

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

Path

path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

Declaration
[JsonPropertyName("path")]
public string Path { get; set; }
Property Value
Type Description
string

ReadOnlyProperty

readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

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

Methods

Equals(object?)

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

Equals(V1GlusterfsPersistentVolumeSource?)

Declaration
public virtual bool Equals(V1GlusterfsPersistentVolumeSource? other)
Parameters
Type Name Description
V1GlusterfsPersistentVolumeSource other
Returns
Type Description
bool

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

operator ==(V1GlusterfsPersistentVolumeSource?, V1GlusterfsPersistentVolumeSource?)

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

operator !=(V1GlusterfsPersistentVolumeSource?, V1GlusterfsPersistentVolumeSource?)

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

Implements

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