io.k8s.api.resource.v1alpha3.DeviceAllocationResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s131 Show documentation
Show all versions of bl-k8s131 Show documentation
Programmatic resource management for Kubernetes
The newest version!
package io.k8s.api.resource.v1alpha3;
import java.util.List;
/**
* DeviceAllocationResult is the result of allocating devices.
*/
public class DeviceAllocationResult {
public List config;
public List results;
/**
* This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.
*
* This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.
*/
public DeviceAllocationResult config(List config) {
this.config = config;
return this;
}
/**
* Results lists all allocated devices.
*/
public DeviceAllocationResult results(List results) {
this.results = results;
return this;
}
public static DeviceAllocationResult deviceAllocationResult() {
return new DeviceAllocationResult();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy