go4k8s

module
v0.0.0-...-f36290b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2018 License: MIT

README

MIT License Go Report Card

Go4k8s - Work in Progress

The Showcase directory refers to the talk "K8s API & Go Programming".

The Examples directory serves as playground with the official examples from 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.

Directories

Path Synopsis
Examples
create-update-delete-deployment
Note: the example only works with the code within the same release/branch.
Note: the example only works with the code within the same release/branch.
in-cluster-client-configuration
Note: the example only works with the code within the same release/branch.
Note: the example only works with the code within the same release/branch.
out-of-cluster-client-configuration
Note: the example only works with the code within the same release/branch.
Note: the example only works with the code within the same release/branch.
Showcase

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL