Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize()
func PrettyPrint ¶
func PrettyPrint(v interface{}) (err error)
Use this function to print a human readable version of the returned struct.
Types ¶
type FgaConfig ¶
type FgaConfig struct { GeneralConfig FgaGeneralConfig `yaml:"general"` StrictConfig pg.StrictOptions `yaml:"strict"` LdapConfig ldap.Config `yaml:"ldap"` PgDsn pg.Dsn `yaml:"postgresql_dsn"` DbsConfig pg.Databases `yaml:"databases"` UserConfig map[string]FgaUserConfig `yaml:"users"` Roles map[string]FgaRoleConfig `yaml:"roles"` Slots []string `yaml:"replication_slots"` }
type FgaGeneralConfig ¶
type FgaRoleConfig ¶
type FgaUserConfig ¶
type PgFgaHandler ¶
type PgFgaHandler struct {
// contains filtered or unexported fields
}
func NewPgFgaHandler ¶
func NewPgFgaHandler() (pfh *PgFgaHandler, err error)
func (PgFgaHandler) Handle ¶
func (pfh PgFgaHandler) Handle()
func (PgFgaHandler) HandleDatabases ¶
func (pfh PgFgaHandler) HandleDatabases() (err error)
func (PgFgaHandler) HandleRoles ¶
func (pfh PgFgaHandler) HandleRoles() (err error)
func (PgFgaHandler) HandleSlots ¶
func (pfh PgFgaHandler) HandleSlots() (err error)
func (PgFgaHandler) HandleUsers ¶
func (pfh PgFgaHandler) HandleUsers() (err error)
Click to show internal directories.
Click to hide internal directories.