Releases: forbearing/k8s
Releases · forbearing/k8s
k8s v0.12.4
ClusterRoleBinding Handler
- Fix: import package
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"'
k8s v0.12.3
Feat: all typed Handler and dynamic Handler:
- type-switch add a case
metav1.Objectin function Create()/Update()/Apply()/Patch()/Delete()/Get() to support create/update/apply/patch/delete/get from metav1.Object
k8s v0.12.2
Dyanmic Handler
- feat: Add GVK() to return the GroupVersionKind of the k8s object.
- feat: Add GVR() to return the GroupVersionResource of the k8s object.
- feat: Add IsNamespaced() to return whether the k8s object is namespace-scoped.
- feat: Add Kind() to return the k8s object kind name.
- feat: Add Version() to return the k8s object version.
- feat: Add Resource() to return the k8s object resource name.
k8s v0.12.1
Dynamc handler create k8s resource: remove debug message.
k8s 0.12.0
- Update GVK() -> GVK
- Update GVR() -> GVR
- Update Kind() -> Kind
- Update Group() -> Group
- Update Version() -> Version
- Update Resource() -> Resource
k8s v0.11.8
- Fix: set tty to false when call Execute() or ExecuteWithStream() to execute command within pod.
k8s v0.11.7
- Fix: RESTConfig() create rest config incluster will panic
k8s v0.11.6
Feat: add RawConfig() function in package util/client.
k8s v0.11.5
- Feat: Dynamic Handler support patch typed k8s resource or unstructured object by Patch() method.
- Fix: all typed handler, ErrInvalidPathType -> ErrInvalidPatchType.
k8s v0.11.4
- Enh: Change the sequence of type-switch in Create()/Update()/Apply()/Delete()/Get()/Scale()/Log() method.
- Chg: all namespace-scoped Handler: update Handler.resetNamespace() -> Handler.ResetNamespace().