cluster

package
v0.3.66-rc-b8df46e Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigKubernetesClientProvider

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

func NewKubernetesClientProvider

func NewKubernetesClientProvider(impersonateUsers bool, qps float32, burst int) (*ConfigKubernetesClientProvider, error)

func (*ConfigKubernetesClientProvider) Client

func (*ConfigKubernetesClientProvider) ClientConfig

func (c *ConfigKubernetesClientProvider) ClientConfig() *rest.Config

func (*ConfigKubernetesClientProvider) ClientForUser

func (c *ConfigKubernetesClientProvider) ClientForUser(user string, groups []string) (kubernetes.Interface, error)

type KubernetesClientProvider

type KubernetesClientProvider interface {
	ClientForUser(user string, groups []string) (kubernetes.Interface, error)
	Client() kubernetes.Interface
	ClientConfig() *rest.Config
}

Jump to

Keyboard shortcuts

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