package impersonation
import "github.com/docker/compose-on-kubernetes/api/compose/impersonation"
Package impersonation holds data structures for enabling user impersonation within Conpose for Kubernetes +k8s:openapi-gen=true
Index ¶
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.
func (*Config) Clone ¶
Clone clones the impersonation config
Source Files ¶
- Version
- v0.5.0 (latest)
- Published
- Jan 28, 2022
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 2 months ago –
Tools for package owners.