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).
  • Field Details

    • CONTEXT

      public static final io.kubernetes.client.Discovery.APIResource CONTEXT
      The stateful sets’ context
  • Constructor Details

    • K8sV1StatefulSetStub

      protected K8sV1StatefulSetStub(K8sClient client, String namespace, String name)
      Instantiates a new stub.
      Parameters:
      client - the client
      namespace - the namespace
      name - the name
  • Method Details

    • get

      public static K8sV1StatefulSetStub get(K8sClient client, String namespace, String name)
      Gets the stub for the given namespace and name.
      Parameters:
      client - the client
      namespace - the namespace
      name - the name
      Returns:
      the stateful set stub