Documentation
¶
Overview ¶
Package config ...
Index ¶
Constants ¶
View Source
const ( // DefaultLogLevel is the default logging level. DefaultLogLevel = "info" // DefaultLogFormat is the default format of the logger DefaultLogFormat = "text" // DefaultDebug is the default debug status. DefaultDebug = false // DefaultGoogleCredentials is the default credentials path DefaultGoogleCredentials = "credentials.json" // DefaultSyncMethod is the default sync method to use. DefaultSyncMethod = "groups" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Verbose toggles the verbosity
Debug bool
// LogLevel is the level with with to log for this config
LogLevel string `mapstructure:"log_level"`
// LogFormat is the format that is used for logging
LogFormat string `mapstructure:"log_format"`
// GoogleCredentials ...
GoogleCredentials string `mapstructure:"google_credentials"`
// GoogleAdmin ...
GoogleAdmin string `mapstructure:"google_admin"`
// UserMatch ...
UserMatch string `mapstructure:"user_match"`
// GroupFilter ...
GroupMatch string `mapstructure:"group_match"`
// SCIMEndpoint ....
SCIMEndpoint string `mapstructure:"scim_endpoint"`
// SCIMAccessToken ...
SCIMAccessToken string `mapstructure:"scim_access_token"`
// IsLambda ...
IsLambda bool
// IsLambdaRunningInCodePipeline ...
IsLambdaRunningInCodePipeline bool
// Ignore users ...
IgnoreUsers []string `mapstructure:"ignore_users"`
// Ignore groups ...
IgnoreGroups []string `mapstructure:"ignore_groups"`
// Include groups ...
IncludeGroups []string `mapstructure:"include_groups"`
// SyncMethod allow to defined the sync method used to get the user and groups from Google Workspace
SyncMethod string `mapstructure:"sync_method"`
}
Config ...
type Secrets ¶
type Secrets struct {
// contains filtered or unexported fields
}
Secrets ...
func (*Secrets) GoogleAdminEmail ¶
GoogleAdminEmail ...
func (*Secrets) GoogleCredentials ¶
GoogleCredentials ...
func (*Secrets) SCIMAccessToken ¶
SCIMAccessToken ...
func (*Secrets) SCIMEndpointUrl ¶
SCIMEndpointUrl ...
Click to show internal directories.
Click to hide internal directories.