Documentation
¶
Overview ¶
Package config holds config variables and functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CliConfig = CoreConfig{}
CliConfig is the global config variable
Functions ¶
func IsConfigured ¶
IsConfigured checks if permctl cli has been configured
Types ¶
type CoreConfig ¶
type CoreConfig struct {
PermifyURL string `yaml:"permify_url"`
Tenant string `yaml:"tenant"`
SslEnabled bool `yaml:"-"`
}
CoreConfig is the config struct
type ProfileConfigs ¶
type ProfileConfigs struct {
Configs map[string]CoreConfig
File string
Profile string
}
ProfileConfigs stores configs for all profiles
Click to show internal directories.
Click to hide internal directories.