singleton

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKubeClient

func GetKubeClient() client.Client

GetKubeClient get kubernetes client

func GetKubeConfig

func GetKubeConfig() *rest.Config

GetKubeConfig get kubernetes config

func InitLoopbackClient

func InitLoopbackClient(ctx server.PostStartHookContext) (err error)

InitLoopbackClient init clients

func SetKubeClient

func SetKubeClient(cli client.Client)

SetKubeClient set kubernetes client

func SetKubeConfig

func SetKubeConfig(cfg *rest.Config)

SetKubeConfig set kubernetes config

Types

This section is empty.

Jump to

Keyboard shortcuts

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