package
0.0.0-20230607163802-6dfea2537d1a
Repository: https://github.com/rose839/iam.git
Documentation: pkg.go.dev
# Functions
LoadConfig reads in config file and ENV variables if set.
NewConfig returns a Config struct with the default values.
RequestShutdown emulates a received event that is considered as shutdown signal (SIGTERM/SIGINT) This returns whether a handler was notified.
SetupSignalHandler registered for SIGTERM and SIGINT.
# Constants
RecommendedEnvPrefix defines the ENV prefix used by all iam service.
RecommendedHomeDir defines the default directory used to place all iam service configurations.
# Structs
CertKey contains configuration items related to certificate.
CompletedConfig is the completed configuration for GenericAPIServer.
Config is a structure used to configure a GenericAPIServer.
GenericAPIServer contains state for a iam api server.
InsecureServingInfo holds configuration of the insecure http server.
JwtInfo defines jwt fields used to create jwt authentication middleware.
SecureServingInfo holds configuration of the TLS server.