Documentation ¶
Index ¶
- type GlobalConfig
- type KubeClient
- func (ctx *KubeClient) CreateChaosWithDeployments(count, replicas, containers int32, namespace string, ...)
- func (ctx *KubeClient) CreateCronJobs(count, containers int32, namespace string, excludeNamespaces []string)
- func (ctx *KubeClient) CreateDaemonsets(count, containers int32, namespace string, excludeNamespaces []string)
- func (ctx *KubeClient) CreateDeployments(count, replicas, containers int32, namespace string, ...)
- func (ctx *KubeClient) CreateJobs(count, containers int32, namespace string, excludeNamespaces []string)
- func (ctx *KubeClient) CreateNamespaces(count int32)
- func (ctx *KubeClient) CreatePods(count, containers int32, namespace string, excludeNamespaces []string)
- func (ctx *KubeClient) CreateReplicaSet(count, replicas, containers int32, namespace string, ...)
- func (ctx *KubeClient) CreateReplicationControllers(count, replicas, containers int32, namespace string, ...)
- func (ctx *KubeClient) CreateStatefulsets(count, containers, replicas int32, namespace string, ...)
- func (ctx *KubeClient) DeleteCronJobs(count int32, providedNamespace string, excludeNamespaces []string)
- func (ctx *KubeClient) DeleteDaemonsets(count int32, providedNamespace string, excludeNamespaces []string)
- func (ctx *KubeClient) DeleteDeployments(count int32, providedNamespace string, excludeNamespaces []string)
- func (ctx *KubeClient) DeleteJobs(count int32, providedNamespace string, excludeNamespaces []string)
- func (ctx *KubeClient) DeleteNamespaces(count int32, excludeNamspaces []string)
- func (ctx *KubeClient) DeletePods(count int32, providedNamespace string, excludeNamespaces []string)
- func (ctx *KubeClient) DeleteReplicaSets(count int32, providedNamespace string, excludeNamespaces []string)
- func (ctx *KubeClient) DeleteReplicationControllers(count int32, providedNamespace string, excludeNamespaces []string)
- func (ctx *KubeClient) DeleteStatefulSets(count int32, providedNamespace string, excludeNamespaces []string)
- func (ctx *KubeClient) GetKubeClient(kubeConfig string) *kubernetes.Clientset
- func (ctx *KubeClient) ListResources()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalConfig ¶
type GlobalConfig struct { NodeSelector map[string]string Tolerations []corev1.Toleration }
var Config GlobalConfig
type KubeClient ¶
type KubeClient struct { Client *kubernetes.Clientset Logger *zap.Logger }
func NewKubeClient ¶
func NewKubeClient() *KubeClient
func (*KubeClient) CreateChaosWithDeployments ¶
func (ctx *KubeClient) CreateChaosWithDeployments(count, replicas, containers int32, namespace string, excludeNamespaces []string, timeInterval int32)
func (*KubeClient) CreateCronJobs ¶
func (ctx *KubeClient) CreateCronJobs(count, containers int32, namespace string, excludeNamespaces []string)
func (*KubeClient) CreateDaemonsets ¶
func (ctx *KubeClient) CreateDaemonsets(count, containers int32, namespace string, excludeNamespaces []string)
func (*KubeClient) CreateDeployments ¶
func (ctx *KubeClient) CreateDeployments(count, replicas, containers int32, namespace string, excludeNamespaces []string)
func (*KubeClient) CreateJobs ¶
func (ctx *KubeClient) CreateJobs(count, containers int32, namespace string, excludeNamespaces []string)
func (*KubeClient) CreateNamespaces ¶
func (ctx *KubeClient) CreateNamespaces(count int32)
func (*KubeClient) CreatePods ¶
func (ctx *KubeClient) CreatePods(count, containers int32, namespace string, excludeNamespaces []string)
func (*KubeClient) CreateReplicaSet ¶
func (ctx *KubeClient) CreateReplicaSet(count, replicas, containers int32, namespace string, excludeNamespaces []string)
func (*KubeClient) CreateReplicationControllers ¶
func (ctx *KubeClient) CreateReplicationControllers(count, replicas, containers int32, namespace string, excludeNamespaces []string)
func (*KubeClient) CreateStatefulsets ¶
func (ctx *KubeClient) CreateStatefulsets(count, containers, replicas int32, namespace string, excludeNamespaces []string)
func (*KubeClient) DeleteCronJobs ¶
func (ctx *KubeClient) DeleteCronJobs(count int32, providedNamespace string, excludeNamespaces []string)
func (*KubeClient) DeleteDaemonsets ¶
func (ctx *KubeClient) DeleteDaemonsets(count int32, providedNamespace string, excludeNamespaces []string)
func (*KubeClient) DeleteDeployments ¶
func (ctx *KubeClient) DeleteDeployments(count int32, providedNamespace string, excludeNamespaces []string)
func (*KubeClient) DeleteJobs ¶
func (ctx *KubeClient) DeleteJobs(count int32, providedNamespace string, excludeNamespaces []string)
func (*KubeClient) DeleteNamespaces ¶
func (ctx *KubeClient) DeleteNamespaces(count int32, excludeNamspaces []string)
func (*KubeClient) DeletePods ¶
func (ctx *KubeClient) DeletePods(count int32, providedNamespace string, excludeNamespaces []string)
func (*KubeClient) DeleteReplicaSets ¶
func (ctx *KubeClient) DeleteReplicaSets(count int32, providedNamespace string, excludeNamespaces []string)
func (*KubeClient) DeleteReplicationControllers ¶
func (ctx *KubeClient) DeleteReplicationControllers(count int32, providedNamespace string, excludeNamespaces []string)
func (*KubeClient) DeleteStatefulSets ¶
func (ctx *KubeClient) DeleteStatefulSets(count int32, providedNamespace string, excludeNamespaces []string)
func (*KubeClient) GetKubeClient ¶
func (ctx *KubeClient) GetKubeClient(kubeConfig string) *kubernetes.Clientset
func (*KubeClient) ListResources ¶
func (ctx *KubeClient) ListResources()
Click to show internal directories.
Click to hide internal directories.