Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hrishin/k8s-client-go-examples
- Owner: hrishin
- License: mit
- Created: 2020-11-24T00:15:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-26T04:08:23.000Z (about 4 years ago)
- Last Synced: 2024-11-19T04:46:46.809Z (about 1 month ago)
- Topics: client-go, kubernetes, kubernetes-operators
- Homepage:
- Size: 14.6 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)