Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stefanhans/go4k8s
https://github.com/stefanhans/go4k8s
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/stefanhans/go4k8s
- Owner: stefanhans
- License: mit
- Created: 2018-01-15T13:12:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-27T05:41:00.000Z (almost 7 years ago)
- Last Synced: 2023-03-02T16:26:05.412Z (almost 2 years ago)
- Language: Go
- Size: 14.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![MIT License](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/stefanhans/Go4k8s/blob/master/LICENSE)
[![Go Report Card](https://goreportcard.com/badge/github.com/stefanhans/Go4k8s)](https://goreportcard.com/report/github.com/Go4k8s)# Go4k8s - Work in Progress
The [Showcase directory](./Showcase) refers to the talk "[K8s API & Go Programming](http://go-talks.appspot.com/github.com/stefanhans/go-present/slides/Kubernetes/IntroductionIntoClient-Go.slide#1)".
The [Examples directory](./Examples) serves as playground with the official examples from [kubernetes/client-go](https://github.com/kubernetes/client-go).
### Lessons Learned
- FYI: To find out what kubectl is doing under the hood you can use "--v=10" for instance. Then, all calls of glog.V(level) are displayed together with some more information.
- FYI: The Go tool godoc is a nice CLI for GoDoc and code comments, respectively. It has a html version for the browser and interesting outputs in the terminal.
godoc -http=:6060 -index # let you search at localhost:6060
Probably better is it with index file:
godoc -index_files index.file -write_index # one time preparation
godoc -http=:6060 -index -index_files index.file
or
godoc -index -index_files index.file -q ServiceInterface### Further Use
Under Showcase/Deployments you find some directories related to drone plugin development.