tenant

package
v0.0.0-...-e91ad15 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddArenaClient

func AddArenaClient(userName string, arena *arenaclient.ArenaClient)

func AddCtrlClient

func AddCtrlClient(userName string, ctrlClient client.Client)

func GetArenaClient

func GetArenaClient(loginUserName string) (*arenaclient.ArenaClient, error)

func GetCtrlClient

func GetCtrlClient(userName string) (client.Client, error)

func GetCtrlDynamicClient

func GetCtrlDynamicClient(userName string) (dynamic.Interface, error)

func GetKubernetesClient

func GetKubernetesClient(userName string) (*kubernetes.Clientset, error)

Types

type ClientRegistry

type ClientRegistry struct {
	// contains filtered or unexported fields
}

func NewClientRegistry

func NewClientRegistry() *ClientRegistry

func (*ClientRegistry) AddArenaClient

func (r *ClientRegistry) AddArenaClient(userName string, arena *arenaclient.ArenaClient)

func (*ClientRegistry) AddCtrlClient

func (r *ClientRegistry) AddCtrlClient(userName string, ctrlClient client.Client)

func (*ClientRegistry) GetArenaClient

func (r *ClientRegistry) GetArenaClient(userName string) *arenaclient.ArenaClient

func (*ClientRegistry) GetCtrlClient

func (r *ClientRegistry) GetCtrlClient(userName string) client.Client

Jump to

Keyboard shortcuts

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