kubernetes

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeCommonClient

type KubeCommonClient struct {
	// contains filtered or unexported fields
}

func NewKubeCommonClient

func NewKubeCommonClient(kubeOpts *commonModel.KubeOptions, eventBus *event.EventBus) (*KubeCommonClient, error)

func (*KubeCommonClient) Close

func (common *KubeCommonClient) Close() error

func (*KubeCommonClient) GetClient

func (common *KubeCommonClient) GetClient() *kubernetes.KubeClient

func (*KubeCommonClient) SidecarShareInject

func (common *KubeCommonClient) SidecarShareInject(opts *commonModel.SidecarShareInjectOpts, podSpec *corev1.PodSpec) error

func (*KubeCommonClient) SidecarShareUpload

func (common *KubeCommonClient) SidecarShareUpload(opts *commonModel.SidecarShareUploadOpts) error

func (*KubeCommonClient) SidecarVpnDelete

func (common *KubeCommonClient) SidecarVpnDelete(namespace string, mainContainerName string) error

func (*KubeCommonClient) SidecarVpnInject

func (common *KubeCommonClient) SidecarVpnInject(namespace string, opts *commonModel.SidecarVpnInjectOpts, podSpec *corev1.PodSpec) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL