Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hrishin/k8s-client-go-examples

Collection of different client go examples
https://github.com/hrishin/k8s-client-go-examples

client-go kubernetes kubernetes-operators

Last synced: 12 days ago
JSON representation

Collection of different client go examples

Awesome Lists containing this project

README

        

# Kubernetes Client-Go Examples
This repository contains some useful and ready to use examples of the [`Kubernetes client go`](https://github.com/kubernetes/client-go).

_Go clients for talking to a kubernetes cluster_

## Motivation
Often a time we need to discover some
common examples and sometime its hard to find the API usage document.
In order to address this pain, this repository will try to hold commonly used client go API's examples.

## Examples
- [Delete the `Statefulset` without depeling it dependent resources such as pods](examples/statefulsets-no-cascade)
- [Mock the `watch` API to unit test watch events](examples/mock-watch-events)