Package org.jdrupes.vmoperator.common
Class K8sV1NodeStub
java.lang.Object
org.jdrupes.vmoperator.common.K8sClusterGenericStub<io.kubernetes.client.openapi.models.V1Node,io.kubernetes.client.openapi.models.V1NodeList>
org.jdrupes.vmoperator.common.K8sV1NodeStub
public class K8sV1NodeStub
extends K8sClusterGenericStub<io.kubernetes.client.openapi.models.V1Node,io.kubernetes.client.openapi.models.V1NodeList>
A stub for nodes (v1).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jdrupes.vmoperator.common.K8sClusterGenericStub
K8sClusterGenericStub.GenericSupplier<O extends io.kubernetes.client.common.KubernetesObject,
L extends io.kubernetes.client.common.KubernetesListObject, R extends K8sClusterGenericStub<O, L>> -
Field Summary
Fields inherited from class org.jdrupes.vmoperator.common.K8sClusterGenericStub
client, context, name
-
Constructor Summary
ModifierConstructorDescriptionprotected
K8sV1NodeStub
(K8sClient client, String name) Instantiates a new stub. -
Method Summary
Modifier and TypeMethodDescriptionstatic K8sV1NodeStub
Gets the stub for the given name.static Collection
<K8sV1NodeStub> Get the stubs for the objects that match the criteria from the given options.
-
Field Details
-
CONTEXT
-
-
Constructor Details
-
K8sV1NodeStub
Instantiates a new stub.- Parameters:
client
- the clientname
- the name
-
-
Method Details
-
get
Gets the stub for the given name.- Parameters:
client
- the clientname
- the name- Returns:
- the config map stub
-
list
public static Collection<K8sV1NodeStub> list(K8sClient client, io.kubernetes.client.util.generic.options.ListOptions options) throws io.kubernetes.client.openapi.ApiException Get the stubs for the objects that match the criteria from the given options.- Parameters:
client
- the clientoptions
- the options- Returns:
- the collection
- Throws:
io.kubernetes.client.openapi.ApiException
- the api exception
-