impersonatingclient

package
Version: v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 12 Imported by: 44

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImpersonatingConfig

func NewImpersonatingConfig(user user.Info, config restclient.Config) restclient.Config

NewImpersonatingConfig wraps the config's transport to impersonate a user, including user, groups, and scopes

func NewImpersonatingKubernetesClientset

func NewImpersonatingKubernetesClientset(user user.Info, config restclient.Config) (kclientset.Interface, error)

NewImpersonatingKubernetesClientset returns a Kubernetes clientset that will impersonate a user, including user, groups, and scopes

func NewImpersonatingRBACFromContext

func NewImpersonatingRBACFromContext(ctx context.Context, restclient rest.Interface) (rbacv1.RbacV1Interface, error)

func NewImpersonatingRESTClient

func NewImpersonatingRESTClient(user user.Info, client restclient.Interface) restclient.Interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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