Documentation ¶
Index ¶
Constants ¶
View Source
const (
FOULKON_VERSION = "v0.4.0"
)
Variables ¶
This section is empty.
Functions ¶
func CloseProxy ¶
func CloseProxy() int
func CloseWorker ¶
func CloseWorker() int
Types ¶
type Proxy ¶
type Proxy struct { // Server config Host string Port string // Worker location WorkerHost string // TLS configuration CertFile string KeyFile string // API ProxyApi api.InternalProxyAPI // Refresh time RefreshTime time.Duration }
Proxy - Authorize resources using definitions in proxy config file
type Worker ¶
type Worker struct { // Server config Host string Port string // TLS configuration CertFile string KeyFile string // APIs UserApi api.UserAPI GroupApi api.GroupAPI PolicyApi api.PolicyAPI AuthzApi api.AuthzAPI ProxyApi api.ProxyResourcesAPI AuthOidcAPI api.AuthOidcAPI // Middleware handler MiddlewareHandler *middleware.MiddlewareHandler // Current Foulkon configuration Config WorkerConfig }
Worker is the Authorization server.
type WorkerConfig ¶ added in v0.3.0
type WorkerConfig struct { // Logger Config LoggerType string LoggerLevel string FileDirectory string // Database Config DBType string IdleConns int MaxOpenConns int ConnTtl int // Authenticator Config AuthType string OidcProviders []api.OidcProvider Version string }
WorkerConfig
Click to show internal directories.
Click to hide internal directories.