mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +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 (
|
const (
|
||||||
AllocatedDeviceStatusMaxConditions int = 8
|
// AllocatedDeviceStatusMaxConditions represents the maximum number of
|
||||||
AllocatedDeviceStatusDataMaxLength int = OpaqueParametersMaxLength
|
// conditions in a device status.
|
||||||
NetworkDeviceDataMaxIPs int = 16
|
AllocatedDeviceStatusMaxConditions int = 8
|
||||||
NetworkDeviceDataInterfaceNameMaxLength int = 256
|
// 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
|
NetworkDeviceDataHardwareAddressMaxLength int = 128
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1000,10 +1000,20 @@ type ResourceClaimTemplateList struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
AllocatedDeviceStatusMaxConditions int = 8
|
// AllocatedDeviceStatusMaxConditions represents the maximum number of
|
||||||
AllocatedDeviceStatusDataMaxLength int = OpaqueParametersMaxLength
|
// conditions in a device status.
|
||||||
NetworkDeviceDataMaxIPs int = 16
|
AllocatedDeviceStatusMaxConditions int = 8
|
||||||
NetworkDeviceDataInterfaceNameMaxLength int = 256
|
// 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
|
NetworkDeviceDataHardwareAddressMaxLength int = 128
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1003,10 +1003,20 @@ type ResourceClaimTemplateList struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
AllocatedDeviceStatusMaxConditions int = 8
|
// AllocatedDeviceStatusMaxConditions represents the maximum number of
|
||||||
AllocatedDeviceStatusDataMaxLength int = OpaqueParametersMaxLength
|
// conditions in a device status.
|
||||||
NetworkDeviceDataMaxIPs int = 16
|
AllocatedDeviceStatusMaxConditions int = 8
|
||||||
NetworkDeviceDataInterfaceNameMaxLength int = 256
|
// 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
|
NetworkDeviceDataHardwareAddressMaxLength int = 128
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user