usersync

package
v0.10.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL