Versions in this module Expand all Collapse all v0 v0.0.0 May 4, 2022 Changes in this version + type ClientConfig struct + ClientKubeConfigPath string + KubeClientBurst int + KubeClientQPS int + type VirtualK8S struct + func NewVirtualK8S(cfg provider.InitConfig, cc *ClientConfig, ignoreLabelsStr string, ...) (*VirtualK8S, error) + func (v *VirtualK8S) ConfigureNode(ctx context.Context, node *corev1.Node) + func (v *VirtualK8S) CreatePod(ctx context.Context, pod *corev1.Pod) error + func (v *VirtualK8S) DeletePod(ctx context.Context, pod *corev1.Pod) error + func (v *VirtualK8S) GetClient() kubernetes.Interface + func (v *VirtualK8S) GetContainerLogs(ctx context.Context, namespace string, podName string, containerName string, ...) (io.ReadCloser, error) + func (v *VirtualK8S) GetMaster() kubernetes.Interface + func (v *VirtualK8S) GetNameSpaceLister() v1.NamespaceLister + func (v *VirtualK8S) GetPod(ctx context.Context, namespace string, name string) (*corev1.Pod, error) + func (v *VirtualK8S) GetPodStatus(ctx context.Context, namespace string, name string) (*corev1.PodStatus, error) + func (v *VirtualK8S) GetPods(_ context.Context) ([]*corev1.Pod, error) + func (v *VirtualK8S) GetStatsSummary(ctx context.Context) (*statsv1alpha1.Summary, error) + func (v *VirtualK8S) NotifyNodeStatus(ctx context.Context, f func(*corev1.Node)) + func (v *VirtualK8S) NotifyPods(ctx context.Context, f func(*corev1.Pod)) + func (v *VirtualK8S) Ping(ctx context.Context) error + func (v *VirtualK8S) RunInContainer(ctx context.Context, namespace string, podName string, containerName string, ...) error + func (v *VirtualK8S) UpdatePod(ctx context.Context, pod *corev1.Pod) error