Documentation ¶
Index ¶
- func NewImpersonatingConfig(user user.Info, config restclient.Config) restclient.Config
- func NewImpersonatingKubernetesClientset(user user.Info, config restclient.Config) (kclientset.Interface, error)
- func NewImpersonatingKubernetesClientsetFromRESTClient(user user.Info, client restclient.Interface) kclientset.Interface
- func NewImpersonatingOpenShiftClient(user user.Info, config restclient.Config) (client.Interface, error)
- func NewImpersonatingRBACFromContext(ctx apirequest.Context, restclient rest.Interface) (rbacinternalversion.RbacInterface, error)
- func NewImpersonatingRESTClient(user user.Info, client restclient.Interface) restclient.Interface
- func NewImpersonatingRoundTripper(user user.Info, delegate http.RoundTripper) http.RoundTripper
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 NewImpersonatingKubernetesClientsetFromRESTClient ¶
func NewImpersonatingKubernetesClientsetFromRESTClient(user user.Info, client restclient.Interface) kclientset.Interface
func NewImpersonatingOpenShiftClient ¶
func NewImpersonatingOpenShiftClient(user user.Info, config restclient.Config) (client.Interface, error)
NewImpersonatingOpenShiftClient returns an OpenShift client that will impersonate a user, including user, groups, and scopes
func NewImpersonatingRBACFromContext ¶
func NewImpersonatingRBACFromContext(ctx apirequest.Context, restclient rest.Interface) (rbacinternalversion.RbacInterface, error)
func NewImpersonatingRESTClient ¶
func NewImpersonatingRESTClient(user user.Info, client restclient.Interface) restclient.Interface
func NewImpersonatingRoundTripper ¶
func NewImpersonatingRoundTripper(user user.Info, delegate http.RoundTripper) http.RoundTripper
NewImpersonatingRoundTripper will add headers to impersonate a user, including user, groups, and scopes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.