Show / Hide Table of Contents

Class V1beta2AllocatedDeviceStatus

AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.

The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.

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

Constructors

View Source

V1beta2AllocatedDeviceStatus()

Declaration
public V1beta2AllocatedDeviceStatus()
View Source

V1beta2AllocatedDeviceStatus(V1beta2AllocatedDeviceStatus)

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

Properties

View Source

Conditions

Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the Ready condition should be True.

Must not contain more than 8 entries.

Declaration
[JsonPropertyName("conditions")]
public IList<V1Condition> Conditions { get; set; }
Property Value
Type Description
IList<V1Condition>
View Source

Data

Data contains arbitrary driver-specific data.

The length of the raw data must be smaller or equal to 10 Ki.

Declaration
[JsonPropertyName("data")]
public object Data { get; set; }
Property Value
Type Description
object
View Source

Device

Device references one device instance via its name in the driver's resource pool. It must be a DNS label.

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

Driver

Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

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

NetworkData

NetworkData contains network-related information specific to the device.

Declaration
[JsonPropertyName("networkData")]
public V1beta2NetworkDeviceData NetworkData { get; set; }
Property Value
Type Description
V1beta2NetworkDeviceData
View Source

Pool

This name together with the driver name and the device name field identify which device was allocated (<driver name>/<pool name>/<device name>).

Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.

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

ShareID

ShareID uniquely identifies an individual allocation share of the device.

Declaration
[JsonPropertyName("shareID")]
public string ShareID { 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(V1beta2AllocatedDeviceStatus?)

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

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

operator !=(V1beta2AllocatedDeviceStatus?, V1beta2AllocatedDeviceStatus?)

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

Implements

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