Interface K8sClusterGenericStub.GenericSupplier<O extends io.kubernetes.client.common.KubernetesObject,L extends io.kubernetes.client.common.KubernetesListObject,R extends K8sClusterGenericStub<O,L>>

Type Parameters:
O - the object type
L - the object list type
R - the result type
Enclosing class:
K8sClusterGenericStub<O extends io.kubernetes.client.common.KubernetesObject,L extends io.kubernetes.client.common.KubernetesListObject>

public static interface K8sClusterGenericStub.GenericSupplier<O extends io.kubernetes.client.common.KubernetesObject,L extends io.kubernetes.client.common.KubernetesListObject,R extends K8sClusterGenericStub<O,L>>
A supplier for generic stubs.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(Class<O> objectClass, Class<L> objectListClass, K8sClient client, io.kubernetes.client.Discovery.APIResource context, String name)
    Gets a new stub.
  • Method Details

    • get

      R get(Class<O> objectClass, Class<L> objectListClass, K8sClient client, io.kubernetes.client.Discovery.APIResource context, String name)
      Gets a new stub.
      Parameters:
      objectClass - the object class
      objectListClass - the object list class
      client - the client
      context - the API resource
      name - the name
      Returns:
      the result