singleton

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterControl added in v1.7.0

func GetClusterControl() clusterutil.OCMClusterControl

func GetCtrlClient added in v1.9.0

func GetCtrlClient() client.Client

func GetKubeClient

func GetKubeClient() kubernetes.Interface

func GetOCMClient

func GetOCMClient() ocmclient.Interface

func GetSecretControl

func GetSecretControl() cert.SecretControl

func InitLoopbackClient

func InitLoopbackClient(ctx server.PostStartHookContext) error

func SetCtrlClient added in v1.9.0

func SetCtrlClient(cli client.Client)

func SetKubeClient

func SetKubeClient(k kubernetes.Interface)

SetKubeClient is for test only

func SetOCMClient

func SetOCMClient(c ocmclient.Interface)

SetOCMClient is for test only

func SetSecretControl

func SetSecretControl(ctrl cert.SecretControl)

SetSecretControl is for test only

Types

This section is empty.

Jump to

Keyboard shortcuts

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