Documentation ¶
Index ¶
- Variables
- func IsNetworkGroupValid(configuration schema.AccessControlConfiguration, network string) bool
- func IsNetworkValid(network string) (isValid bool)
- func IsPolicyValid(policy string) (isValid bool)
- func IsResourceValid(resource string) (err error)
- func IsSubjectValid(subject string) (isValid bool)
- func ValidateAccessControl(configuration *schema.AccessControlConfiguration, ...)
- func ValidateAuthenticationBackend(configuration *schema.AuthenticationBackendConfiguration, ...)
- func ValidateConfiguration(configuration *schema.Configuration, validator *schema.StructValidator)
- func ValidateIdentityProviders(configuration *schema.IdentityProvidersConfiguration, ...)
- func ValidateKeys(keys []string, prefix string, validator *schema.StructValidator)
- func ValidateLogging(configuration *schema.Configuration, validator *schema.StructValidator)
- func ValidateNotifier(configuration *schema.NotifierConfiguration, validator *schema.StructValidator)
- func ValidateRegulation(configuration *schema.RegulationConfiguration, ...)
- func ValidateRules(configuration schema.AccessControlConfiguration, ...)
- func ValidateServer(configuration *schema.Configuration, validator *schema.StructValidator)
- func ValidateSession(configuration *schema.SessionConfiguration, validator *schema.StructValidator)
- func ValidateStorage(configuration schema.StorageConfiguration, validator *schema.StructValidator)
- func ValidateTOTP(configuration *schema.TOTPConfiguration, validator *schema.StructValidator)
- func ValidateTheme(configuration *schema.Configuration, validator *schema.StructValidator)
Constants ¶
This section is empty.
Variables ¶
var ValidKeys = []string{}/* 144 elements not displayed */
ValidKeys is a list of valid keys that are not secret names. For the sake of consistency please place any secret in the secret names map and reuse it in relevant sections.
Functions ¶
func IsNetworkGroupValid ¶
func IsNetworkGroupValid(configuration schema.AccessControlConfiguration, network string) bool
IsNetworkGroupValid check if a network group is valid.
func IsNetworkValid ¶
IsNetworkValid check if a network is valid.
func IsPolicyValid ¶
IsPolicyValid check if policy is valid.
func IsResourceValid ¶
IsResourceValid check if a resource is valid.
func IsSubjectValid ¶
IsSubjectValid check if a subject is valid.
func ValidateAccessControl ¶
func ValidateAccessControl(configuration *schema.AccessControlConfiguration, validator *schema.StructValidator)
ValidateAccessControl validates access control configuration.
func ValidateAuthenticationBackend ¶
func ValidateAuthenticationBackend(configuration *schema.AuthenticationBackendConfiguration, validator *schema.StructValidator)
ValidateAuthenticationBackend validates and updates the authentication backend configuration.
func ValidateConfiguration ¶
func ValidateConfiguration(configuration *schema.Configuration, validator *schema.StructValidator)
ValidateConfiguration and adapt the configuration read from file.
func ValidateIdentityProviders ¶
func ValidateIdentityProviders(configuration *schema.IdentityProvidersConfiguration, validator *schema.StructValidator)
ValidateIdentityProviders validates and update IdentityProviders configuration.
func ValidateKeys ¶
func ValidateKeys(keys []string, prefix string, validator *schema.StructValidator)
ValidateKeys determines if all provided keys are valid.
func ValidateLogging ¶
func ValidateLogging(configuration *schema.Configuration, validator *schema.StructValidator)
ValidateLogging validates the logging configuration.
func ValidateNotifier ¶
func ValidateNotifier(configuration *schema.NotifierConfiguration, validator *schema.StructValidator)
ValidateNotifier validates and update notifier configuration.
func ValidateRegulation ¶
func ValidateRegulation(configuration *schema.RegulationConfiguration, validator *schema.StructValidator)
ValidateRegulation validates and update regulator configuration.
func ValidateRules ¶
func ValidateRules(configuration schema.AccessControlConfiguration, validator *schema.StructValidator)
ValidateRules validates an ACL Rule configuration.
func ValidateServer ¶
func ValidateServer(configuration *schema.Configuration, validator *schema.StructValidator)
ValidateServer checks a server configuration is correct.
func ValidateSession ¶
func ValidateSession(configuration *schema.SessionConfiguration, validator *schema.StructValidator)
ValidateSession validates and update session configuration.
func ValidateStorage ¶
func ValidateStorage(configuration schema.StorageConfiguration, validator *schema.StructValidator)
ValidateStorage validates storage configuration.
func ValidateTOTP ¶
func ValidateTOTP(configuration *schema.TOTPConfiguration, validator *schema.StructValidator)
ValidateTOTP validates and update TOTP configuration.
func ValidateTheme ¶
func ValidateTheme(configuration *schema.Configuration, validator *schema.StructValidator)
ValidateTheme validates and update Theme configuration.
Types ¶
This section is empty.