mirror of https://github.com/kubernetes/kops.git
The client-go signature for most methods adds a context.Context object, and also makes Options mandatory. Feed through a context.Context through many of our methods (but use context.TODO to stop it getting totally out of hand!) |
||
|---|---|---|
| .. | ||
| kops-api-example | ||
| README.md | ||
README.md
Examples of how to embed kops / use the kops API
The kops API is still a work in progress, but this is where we will put examples of how it can be used.
make examples
kops-api-example -name api1.example.com -zones us-east-1c