Documentation ¶ Index ¶ func BuildMapperChain(cfg config.Config) ([]mapper.Mapper, error) func ReservedPrefixExists(username string, reservedList []string) bool type Server func New(cfg config.Config, stopCh <-chan struct{}) *Server func (c *Server) Close() func (c *Server) Run(stopCh <-chan struct{}) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func BuildMapperChain ¶ added in v0.5.0 func BuildMapperChain(cfg config.Config) ([]mapper.Mapper, error) func ReservedPrefixExists ¶ added in v0.5.15 func ReservedPrefixExists(username string, reservedList []string) bool Types ¶ type Server ¶ type Server struct { // Config is the whole configuration of aws-iam-authenticator used for valid keys and certs, kubeconfig, and so on config.Config // contains filtered or unexported fields } Server for the authentication webhook. func New ¶ func New(cfg config.Config, stopCh <-chan struct{}) *Server New authentication webhook server. func (*Server) Close ¶ added in v0.5.16 func (c *Server) Close() func (*Server) Run ¶ func (c *Server) Run(stopCh <-chan struct{}) Run will run the server closing the connection if there is a struct on the channel Source Files ¶ View all Source files server.go types.go Click to show internal directories. Click to hide internal directories.