impersonation

package
v0.4.17 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

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.

func (*Config) Clone

func (ic *Config) Clone() *Config

Clone clones the impersonation config

Jump to

Keyboard shortcuts

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