Skip to main content

WrapK8sClient

No overview available.

def WrapK8sClient(
c: client.Client
) - > client.Client

Wraps a Kubernetes client with a custom wrapper that includes a status writer. This function is used to extend the functionality of a standard Kubernetes client.

Parameters

NameTypeDescription
cclient.ClientThe Kubernetes client to be wrapped. This client provides the base functionality for interacting with the Kubernetes API.

Returns

TypeDescription
client.ClientA wrapped Kubernetes client with enhanced capabilities, specifically including a status writer.