package
0.3.12
Repository: https://github.com/grafana/xk6-disruptor.git
Documentation: pkg.go.dev

# Packages

Package helpers implement helper functions for managing Kubernetes resources such as services and pods.

# Functions

New returns a Kubernetes instance or an error when no config is eligible to be used.
NewFakeKubernetes returns a new fake implementation of Kubernetes from fake Clientset.
NewFromConfig returns a Kubernetes instance configured with the provided kubeconfig.
NewFromKubeconfig returns a Kubernetes instance configured with the kubeconfig pointed by the given path.

# Structs

FakeKubernetes is a fake implementation of the Kubernetes interface.

# Interfaces

Kubernetes defines an interface that extends kubernetes interface[k8s.io/client-go/kubernetes.Interface] Adding helper functions for common tasks.