Documentation
¶
Index ¶
- type KubeCommonClient
- func (common *KubeCommonClient) Close() error
- func (common *KubeCommonClient) GetClient() *kubernetes.KubeClient
- func (common *KubeCommonClient) SidecarShareInject(opts *commonModel.SidecarShareInjectOpts, podSpec *corev1.PodSpec) error
- func (common *KubeCommonClient) SidecarShareUpload(opts *commonModel.SidecarShareUploadOpts) error
- func (common *KubeCommonClient) SidecarVpnDelete(namespace string, mainContainerName string) error
- func (common *KubeCommonClient) SidecarVpnInject(namespace string, opts *commonModel.SidecarVpnInjectOpts, ...) error
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
Click to show internal directories.
Click to hide internal directories.