Versions in this module Expand all Collapse all v0 v0.1.0 Feb 12, 2023 Changes in this version + var ClusterRole = &rbac.ClusterRole + var ClusterRoleBinding = &rbac.ClusterRoleBinding + var DaemonSetCleanDeployment = &apps_v1.DaemonSet + var DaemonSetDeployment = &apps_v1.DaemonSet + var KubernetesConfigFlags = genericclioptions.NewConfigFlags(true) + var RuntimeClass = func(name string, cpu string, memory string) *node_v1.RuntimeClass + var ServiceAccount = &api_v1.ServiceAccount + type ExecCommandRequest struct + Command []string + Container string + Namespace string + PodName string + StdErr io.Writer + StdIn io.Reader + StdOut io.Writer + type KubernetesApiServiceImpl struct + func NewKubernetesApiServiceImpl() (k *KubernetesApiServiceImpl, err error) + func (k *KubernetesApiServiceImpl) CreateRbac(ctx context.Context, serviceAccount *api_v1.ServiceAccount, ...) error + func (k *KubernetesApiServiceImpl) CreateRuntimeClass(ctx context.Context, d *node_v1.RuntimeClass) error + func (k *KubernetesApiServiceImpl) DeleteDaemonSet(ctx context.Context, d string, namespace string) error + func (k *KubernetesApiServiceImpl) DeleteRbac() error + func (k *KubernetesApiServiceImpl) DeleteRuntimeClass(s string) error + func (k *KubernetesApiServiceImpl) DeployDaemonSet(ctx context.Context, d *apps_v1.DaemonSet) error + func (k *KubernetesApiServiceImpl) ExecuteCommand(req ExecCommandRequest) (int, error) + func (k *KubernetesApiServiceImpl) ExecuteVMCommand(req ExecCommandRequest) (int, error) + func (k *KubernetesApiServiceImpl) GetKataDeployPod(p *api_v1.Pod) (*api_v1.Pod, error) + func (k *KubernetesApiServiceImpl) GetKataDeployPods(labelSelector string, namespace string) ([]api_v1.Pod, error) + func (k *KubernetesApiServiceImpl) GetPod(ctx context.Context, podName string, namespace string) (*api_v1.Pod, error)