grafana / xk6-kubernetes

Client extension for interacting with Kubernetes clusters from your k6 tests.
Apache License 2.0
64 stars 21 forks source link

Rename `kill` for `Delete` #18

Closed ppcano closed 2 years ago

ppcano commented 3 years ago

This library wraps the k8s.io/client-go to expose the APIs in a k6 extension.

On k8s.io/client-go, the method name to delete a resource is Delete instead of Kill. I think we should align with the method names of the original library

javaducky commented 2 years ago

Added the Delete methods to objects and marked the old Kill methods as deprecated.