Documentation ¶
Index ¶
- func InitPlugins(client github.GitHubClient)
- func NewUserSyncPluginFromGithubSaml(client github.GitHubClient) engine.UserSyncPlugin
- func NewUserSyncPluginNoop() engine.UserSyncPlugin
- func NewUserSyncPluginShellScript() engine.UserSyncPlugin
- type UserSyncPluginFromGithubSaml
- type UserSyncPluginNoop
- type UserSyncPluginShellScript
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitPlugins ¶
func InitPlugins(client github.GitHubClient)
func NewUserSyncPluginFromGithubSaml ¶
func NewUserSyncPluginFromGithubSaml(client github.GitHubClient) engine.UserSyncPlugin
func NewUserSyncPluginNoop ¶
func NewUserSyncPluginNoop() engine.UserSyncPlugin
func NewUserSyncPluginShellScript ¶
func NewUserSyncPluginShellScript() engine.UserSyncPlugin
Types ¶
type UserSyncPluginFromGithubSaml ¶
type UserSyncPluginFromGithubSaml struct {
// contains filtered or unexported fields
}
* UserSyncPluginFromGithubSaml: this plugin sync users from Github if the SAML IdP * integration has been added (to enable this feature you need a Github Entreprise subscription) * * Note: this plugin doesn't clear the Remote cache.
func (*UserSyncPluginFromGithubSaml) UpdateUsers ¶
func (p *UserSyncPluginFromGithubSaml) UpdateUsers(repoconfig *config.RepositoryConfig, fs billy.Filesystem, orguserdirrectorypath string) (map[string]*entity.User, error)
type UserSyncPluginNoop ¶
type UserSyncPluginNoop struct {
Fs billy.Filesystem
}
func (*UserSyncPluginNoop) UpdateUsers ¶
func (p *UserSyncPluginNoop) UpdateUsers(repoconfig *config.RepositoryConfig, fs billy.Filesystem, orguserdirrectorypath string) (map[string]*entity.User, error)
type UserSyncPluginShellScript ¶
type UserSyncPluginShellScript struct{}
func (*UserSyncPluginShellScript) UpdateUsers ¶
func (p *UserSyncPluginShellScript) UpdateUsers(repoconfig *config.RepositoryConfig, fs billy.Filesystem, orguserdirrectorypath string) (map[string]*entity.User, error)
Click to show internal directories.
Click to hide internal directories.