This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
v1.0.0
v1.0.0 introduces breaking changes from the previous release. Most noticeably, v1 removes generated clients per-API group. The base client handles any resource:
cm := &v1.ConfigMap{
Metadata: &metav1.ObjectMeta{
Name: &name,
Namespace: &client.Namespace,
},
Data: values,
}
err := client.Create(ctx, cm) // Just Create, no typed clients
Instead of:
_, err := client.CoreV1().CreateConfigMap(ctx, cm) // No longer works
Features:
- Kubernetes 1.9 support (#73) @ericchiang
- CRD support (#73) @ericchiang
- Removed generated client per-API group, base client can handle all resources (#73) @ericchiang
- QueryParam option for setting arbitrary query parameters (#43) @exekias
- Int32 convince function for constructing *int32 values (#57) @sidmutha
- Unrecognized error responses from the API server now include status code (#58) @chesleybrown
- Config now includes YAML struct tags (#64) @jhaynie
Bug fixes: