Show / Hide Table of Contents

Class V1CephFSVolumeSource

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

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

Constructors

View Source

V1CephFSVolumeSource()

Declaration
public V1CephFSVolumeSource()
View Source

V1CephFSVolumeSource(V1CephFSVolumeSource)

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

Properties

View Source

EqualityContract

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

Monitors

monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

Declaration
[JsonPropertyName("monitors")]
public IList<string> Monitors { get; set; }
Property Value
Type Description
IList<string>
View Source

Path

path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /

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

ReadOnlyProperty

readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

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

SecretFile

secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

Declaration
[JsonPropertyName("secretFile")]
public string SecretFile { get; set; }
Property Value
Type Description
string
View Source

SecretRef

secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

Declaration
[JsonPropertyName("secretRef")]
public V1LocalObjectReference SecretRef { get; set; }
Property Value
Type Description
V1LocalObjectReference
View Source

User

user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

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

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

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

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

operator !=(V1CephFSVolumeSource?, V1CephFSVolumeSource?)

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

Implements

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