using-client-go icon indicating copy to clipboard operation
using-client-go copied to clipboard

Source code related to my Golang Notebook "Using client-go"

Using client-go

Writing Golang clients for talking to a Kubernetes cluster

Go source code examples used in Using client-go notebook are available here.

If you like the topic and want to support me, you could buy the notebook on Leanpub

    @ https://leanpub.com/using-client-go

You can download the notebook TOC and same random page here

Thank you!

--

  • Initializing a client
  • Using rest.Client
  • Using kubernetes.Clientset
  • Using dynamic.Interface
  • Using discovery.DiscoveryClient
  • Using labels and selectors
  • Displaying HTTP API calls
  • Watching for changes
  • Using RetryWatcher
  • Using SharedInformer
  • Using work queues to write a custom Controller
  • Using code generators