singleton

package
v1.8.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 18 Imported by: 2

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 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 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