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 (c *ConfigKubernetesClientProvider) Client() kubernetes.Interface
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 }
Click to show internal directories.
Click to hide internal directories.