Documentation
¶
Overview ¶
Package impersonation holds data structures for enabling user impersonation within Conpose for Kubernetes +k8s:openapi-gen=true
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// UserName is the username to impersonate on each request.
UserName string
// Groups are the groups to impersonate on each request.
Groups []string
// Extra is a free-form field which can be used to link some authentication information
// to authorization information. This field allows you to impersonate it.
Extra map[string][]string
}
Config contains the data required to impersonate a user.
Click to show internal directories.
Click to hide internal directories.