Class K8sV1ConfigMapStub

java.lang.Object
org.jdrupes.vmoperator.common.K8sGenericStub<io.kubernetes.client.openapi.models.V1ConfigMap,io.kubernetes.client.openapi.models.V1ConfigMapList>
org.jdrupes.vmoperator.common.K8sV1ConfigMapStub

public class K8sV1ConfigMapStub extends K8sGenericStub<io.kubernetes.client.openapi.models.V1ConfigMap,io.kubernetes.client.openapi.models.V1ConfigMapList>
A stub for config maps (v1).
  • Field Details

    • CONTEXT

      public static final io.kubernetes.client.Discovery.APIResource CONTEXT
  • Constructor Details

    • K8sV1ConfigMapStub

      protected K8sV1ConfigMapStub(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 K8sV1ConfigMapStub 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 config map stub