mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Add Device status const comments
Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
This commit is contained in:
parent
1d13ff2a05
commit
5f4d646ea3
@ -989,10 +989,20 @@ type ResourceClaimTemplateList struct {
|
||||
}
|
||||
|
||||
const (
|
||||
AllocatedDeviceStatusMaxConditions int = 8
|
||||
AllocatedDeviceStatusDataMaxLength int = OpaqueParametersMaxLength
|
||||
NetworkDeviceDataMaxIPs int = 16
|
||||
NetworkDeviceDataInterfaceNameMaxLength int = 256
|
||||
// AllocatedDeviceStatusMaxConditions represents the maximum number of
|
||||
// conditions in a device status.
|
||||
AllocatedDeviceStatusMaxConditions int = 8
|
||||
// AllocatedDeviceStatusDataMaxLength represents the maximum length of the
|
||||
// raw data in the Data field in a device status.
|
||||
AllocatedDeviceStatusDataMaxLength int = 10 * 1024
|
||||
// NetworkDeviceDataMaxIPs represents the maximum number of IPs in the networkData
|
||||
// field in a device status.
|
||||
NetworkDeviceDataMaxIPs int = 16
|
||||
// NetworkDeviceDataInterfaceNameMaxLength represents the maximum number of characters
|
||||
// for the networkData.interfaceName field in a device status.
|
||||
NetworkDeviceDataInterfaceNameMaxLength int = 256
|
||||
// NetworkDeviceDataHardwareAddressMaxLength represents the maximum number of characters
|
||||
// for the networkData.hardwareAddress field in a device status.
|
||||
NetworkDeviceDataHardwareAddressMaxLength int = 128
|
||||
)
|
||||
|
||||
|
@ -1000,10 +1000,20 @@ type ResourceClaimTemplateList struct {
|
||||
}
|
||||
|
||||
const (
|
||||
AllocatedDeviceStatusMaxConditions int = 8
|
||||
AllocatedDeviceStatusDataMaxLength int = OpaqueParametersMaxLength
|
||||
NetworkDeviceDataMaxIPs int = 16
|
||||
NetworkDeviceDataInterfaceNameMaxLength int = 256
|
||||
// AllocatedDeviceStatusMaxConditions represents the maximum number of
|
||||
// conditions in a device status.
|
||||
AllocatedDeviceStatusMaxConditions int = 8
|
||||
// AllocatedDeviceStatusDataMaxLength represents the maximum length of the
|
||||
// raw data in the Data field in a device status.
|
||||
AllocatedDeviceStatusDataMaxLength int = 10 * 1024
|
||||
// NetworkDeviceDataMaxIPs represents the maximum number of IPs in the networkData
|
||||
// field in a device status.
|
||||
NetworkDeviceDataMaxIPs int = 16
|
||||
// NetworkDeviceDataInterfaceNameMaxLength represents the maximum number of characters
|
||||
// for the networkData.interfaceName field in a device status.
|
||||
NetworkDeviceDataInterfaceNameMaxLength int = 256
|
||||
// NetworkDeviceDataHardwareAddressMaxLength represents the maximum number of characters
|
||||
// for the networkData.hardwareAddress field in a device status.
|
||||
NetworkDeviceDataHardwareAddressMaxLength int = 128
|
||||
)
|
||||
|
||||
|
@ -1003,10 +1003,20 @@ type ResourceClaimTemplateList struct {
|
||||
}
|
||||
|
||||
const (
|
||||
AllocatedDeviceStatusMaxConditions int = 8
|
||||
AllocatedDeviceStatusDataMaxLength int = OpaqueParametersMaxLength
|
||||
NetworkDeviceDataMaxIPs int = 16
|
||||
NetworkDeviceDataInterfaceNameMaxLength int = 256
|
||||
// AllocatedDeviceStatusMaxConditions represents the maximum number of
|
||||
// conditions in a device status.
|
||||
AllocatedDeviceStatusMaxConditions int = 8
|
||||
// AllocatedDeviceStatusDataMaxLength represents the maximum length of the
|
||||
// raw data in the Data field in a device status.
|
||||
AllocatedDeviceStatusDataMaxLength int = 10 * 1024
|
||||
// NetworkDeviceDataMaxIPs represents the maximum number of IPs in the networkData
|
||||
// field in a device status.
|
||||
NetworkDeviceDataMaxIPs int = 16
|
||||
// NetworkDeviceDataInterfaceNameMaxLength represents the maximum number of characters
|
||||
// for the networkData.interfaceName field in a device status.
|
||||
NetworkDeviceDataInterfaceNameMaxLength int = 256
|
||||
// NetworkDeviceDataHardwareAddressMaxLength represents the maximum number of characters
|
||||
// for the networkData.hardwareAddress field in a device status.
|
||||
NetworkDeviceDataHardwareAddressMaxLength int = 128
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user