Documentation ¶
Index ¶
- func AddArenaClient(userName string, arena *arenaclient.ArenaClient)
- func AddCtrlClient(userName string, ctrlClient client.Client)
- func GetArenaClient(loginUserName string) (*arenaclient.ArenaClient, error)
- func GetCtrlClient(userName string) (client.Client, error)
- func GetCtrlDynamicClient(userName string) (dynamic.Interface, error)
- func GetKubernetesClient(userName string) (*kubernetes.Clientset, error)
- type ClientRegistry
- func (r *ClientRegistry) AddArenaClient(userName string, arena *arenaclient.ArenaClient)
- func (r *ClientRegistry) AddCtrlClient(userName string, ctrlClient client.Client)
- func (r *ClientRegistry) GetArenaClient(userName string) *arenaclient.ArenaClient
- func (r *ClientRegistry) GetCtrlClient(userName string) client.Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddArenaClient ¶
func AddArenaClient(userName string, arena *arenaclient.ArenaClient)
func AddCtrlClient ¶
func GetArenaClient ¶
func GetArenaClient(loginUserName string) (*arenaclient.ArenaClient, 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
Click to show internal directories.
Click to hide internal directories.