Class V1alpha3DeviceClassSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha3DeviceClassSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-07T19:21:52.410010Z[Etc/UTC]")
public class V1alpha3DeviceClassSpec
extends Object
DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfigItem
(V1alpha3DeviceClassConfiguration configItem) addSelectorsItem
(V1alpha3DeviceSelector selectorsItem) config
(List<V1alpha3DeviceClassConfiguration> config) boolean
Config defines configuration parameters that apply to each device that is claimed via this class.Each selector must be satisfied by a device which is claimed via this class.Get suitableNodesint
hashCode()
selectors
(List<V1alpha3DeviceSelector> selectors) void
void
setSelectors
(List<V1alpha3DeviceSelector> selectors) void
setSuitableNodes
(V1NodeSelector suitableNodes) suitableNodes
(V1NodeSelector suitableNodes) toString()
-
Field Details
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_SELECTORS
- See Also:
-
SERIALIZED_NAME_SUITABLE_NODES
- See Also:
-
-
Constructor Details
-
V1alpha3DeviceClassSpec
public V1alpha3DeviceClassSpec()
-
-
Method Details
-
config
-
addConfigItem
-
getConfig
Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver. They are passed to the driver, but are not considered while allocating the claim.- Returns:
- config
-
setConfig
-
selectors
-
addSelectorsItem
-
getSelectors
Each selector must be satisfied by a device which is claimed via this class.- Returns:
- selectors
-
setSelectors
-
suitableNodes
-
getSuitableNodes
Get suitableNodes- Returns:
- suitableNodes
-
setSuitableNodes
-
equals
-
hashCode
public int hashCode() -
toString
-