Package org.jdrupes.vmoperator.common
Class K8sV1StatefulSetStub
java.lang.Object
org.jdrupes.vmoperator.common.K8sGenericStub<io.kubernetes.client.openapi.models.V1StatefulSet,io.kubernetes.client.openapi.models.V1StatefulSetList>
org.jdrupes.vmoperator.common.K8sV1StatefulSetStub
public class K8sV1StatefulSetStub
extends K8sGenericStub<io.kubernetes.client.openapi.models.V1StatefulSet,io.kubernetes.client.openapi.models.V1StatefulSetList>
A stub for stateful sets (v1).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jdrupes.vmoperator.common.K8sGenericStub
K8sGenericStub.GenericSupplier<O extends io.kubernetes.client.common.KubernetesObject,
L extends io.kubernetes.client.common.KubernetesListObject, R extends K8sGenericStub<O, L>> -
Field Summary
Modifier and TypeFieldDescriptionstatic final io.kubernetes.client.Discovery.APIResource
The stateful sets’ contextFields inherited from class org.jdrupes.vmoperator.common.K8sGenericStub
client, context, name, namespace
-
Constructor Summary
ModifierConstructorDescriptionprotected
K8sV1StatefulSetStub
(K8sClient client, String namespace, String name) Instantiates a new stub. -
Method Summary
Modifier and TypeMethodDescriptionstatic K8sV1StatefulSetStub
Gets the stub for the given namespace and name.Methods inherited from class org.jdrupes.vmoperator.common.K8sGenericStub
apiResource, apply, context, create, delete, group, kind, list, model, name, namespace, patch, patch, plural, toString, update, update, updateStatus, updateStatus, updateStatus, version
-
Field Details
-
CONTEXT
The stateful sets’ context
-
-
Constructor Details
-
K8sV1StatefulSetStub
Instantiates a new stub.- Parameters:
client
- the clientnamespace
- the namespacename
- the name
-
-
Method Details
-
get
Gets the stub for the given namespace and name.- Parameters:
client
- the clientnamespace
- the namespacename
- the name- Returns:
- the stateful set stub
-