Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestDex ¶
TestDex represents a Dex server instance used for testing.
func StartDexes ¶
func StartDexes(testDir string, ldap *ldaptest.TestLDAP, environments []string, portsFrom int32) ([]*TestDex, error)
StartDexes creates one dex test server per environment provided, using the same ldap instance as a connector It will stop creating any more dex servers on the firs error encountered, and return the created ones so far.
func (*TestDex) RegisterClient ¶
RegisterClient adds a new client to the Dex server.
Click to show internal directories.
Click to hide internal directories.