captaincy

command module
v0.0.0-...-6e10ded Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2017 License: Apache-2.0 Imports: 36 Imported by: 0

README

crd-code-generation

Example repository for the blog post Kubernetes Deep Dive: Code Generation for CustomResources.

Getting Started

First register the custom resource definition:

kubectl apply -f artifacts/databases-crd.yaml

Then add an example of the Database kind:

kubectl apply -f artifacts/my-database.yaml

Finally build and run the example:

cd cmd/example
go build
./example -kubeconfig ~/.kube/config

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
apis/kinky/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/kinky/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/kinky/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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