server

package
v0.6.28 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 29 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReservedPrefixExists added in v0.5.15

func ReservedPrefixExists(username string, reservedList []string) bool

Types

type BackendMapper added in v0.5.18

type BackendMapper struct {
	// contains filtered or unexported fields
}

func BuildMapperChain added in v0.5.0

func BuildMapperChain(cfg config.Config, modes []string) (BackendMapper, error)

type BackendModeConfig added in v0.5.18

type BackendModeConfig struct {
	// Time that the object takes from update time to load time
	LastUpdatedDateTime string `json:"LastUpdatedDateTime"`
	// Version is the version number of the update
	Version     string `json:"Version"`
	BackendMode string `json:"backendMode"`
}

AccessConfig represents the configuration format for cluster access config via backend mode.

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

Jump to

Keyboard shortcuts

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