Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Targets []Target `json:"targets"` Users UsersConfig `json:"users"` ACLs []ACL `json:"acls"` Facade FacadeConfig `json:"facade"` }
type Connection ¶
type FacadeConfig ¶ added in v0.9.0
type IProvider ¶ added in v0.9.0
type IProvider interface { Type() AuthType // contains filtered or unexported methods }
type Target ¶
type Target struct { ID TargetID `json:"id"` Type string `json:"type"` Connection Connection `json:"connection"` Tables []TargetTable `json:"tables"` }
type TargetTable ¶
type UsersConfig ¶ added in v0.9.0
type UsersConfig struct {
Provider IProvider
}
func (*UsersConfig) UnmarshalJSON ¶ added in v0.9.0
func (u *UsersConfig) UnmarshalJSON(data []byte) error
type UsersProviderConfig ¶ added in v0.9.0
type UsersProviderConfig []User
func (UsersProviderConfig) Type ¶ added in v0.9.0
func (UsersProviderConfig) Type() AuthType
type UsersProviderOIDC ¶ added in v0.9.0
type UsersProviderOIDC struct { ClientID string `json:"client_id"` ClientSecret string `json:"client_secret"` IssuerURL string `json:"issuer_url"` RedirectURL string `json:"redirect_url"` Scopes []string `json:"scopes"` }
func (UsersProviderOIDC) Type ¶ added in v0.9.0
func (UsersProviderOIDC) Type() AuthType
Click to show internal directories.
Click to hide internal directories.