Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 648 Bytes

File metadata and controls

19 lines (14 loc) · 648 Bytes

KubeOps Kubernetes Client

This is an "enhanced" version of the original Google Kubernetes Client. It extends the original client with some additional features, like true generics and method variants. The original GenericClient does support "generics", but only in a limited way. The client needs to be initialized with group and kind information as well.

Usage

An example of the client that lists all namespaces in the cluster:

var client = new KubernetesClient() as IKubernetesClient;

// Get all namespaces in the cluster.
var namespaces = await client.List<V1Namespace>();