singleton

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 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

func GetClusterControl() clusterutil.OCMClusterControl

func GetCtrlClient

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

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