cluster

package
v0.3.79-rc-60944e7 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 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