Versions in this module Expand all Collapse all v4 v4.1.0 May 1, 2019 Changes in this version + const PruneRecommendedName + const SyncRecommendedName + var AllowedSourceTypes = []string + func NewCmdPrune(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdSync(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func ValidateSource(source GroupSyncSource) bool + type ADBuilder struct + ClientConfig ldapclient.Config + Config *config.ActiveDirectoryConfig + func (b *ADBuilder) GetGroupDetector() (interfaces.LDAPGroupDetector, error) + func (b *ADBuilder) GetGroupLister() (interfaces.LDAPGroupLister, error) + func (b *ADBuilder) GetGroupMemberExtractor() (interfaces.LDAPMemberExtractor, error) + func (b *ADBuilder) GetGroupNameMapper() (interfaces.LDAPGroupNameMapper, error) + func (b *ADBuilder) GetUserNameMapper() (interfaces.LDAPUserNameMapper, error) + type AugmentedADBuilder struct + ClientConfig ldapclient.Config + Config *config.AugmentedActiveDirectoryConfig + func (b *AugmentedADBuilder) GetGroupDetector() (interfaces.LDAPGroupDetector, error) + func (b *AugmentedADBuilder) GetGroupLister() (interfaces.LDAPGroupLister, error) + func (b *AugmentedADBuilder) GetGroupMemberExtractor() (interfaces.LDAPMemberExtractor, error) + func (b *AugmentedADBuilder) GetGroupNameMapper() (interfaces.LDAPGroupNameMapper, error) + func (b *AugmentedADBuilder) GetUserNameMapper() (interfaces.LDAPUserNameMapper, error) + type GroupNameRestrictions interface + GetBlacklist func() []string + GetWhitelist func() []string + type GroupSyncSource string + const GroupSyncSourceLDAP + const GroupSyncSourceOpenShift + type MappedNameRestrictions interface + GetGroupNameMappings func() map[string]string + type OpenShiftGroupNameRestrictions interface + GetClient func() userv1client.GroupInterface + type PruneBuilder interface + GetGroupDetector func() (interfaces.LDAPGroupDetector, error) + GetGroupLister func() (interfaces.LDAPGroupLister, error) + GetGroupNameMapper func() (interfaces.LDAPGroupNameMapper, error) + type PruneOptions struct + Blacklist []string + BlacklistFile string + Config *config.LDAPSyncConfig + ConfigFile string + Confirm bool + GroupClient userv1typedclient.GroupsGetter + Whitelist []string + WhitelistFile string + func NewPruneOptions(streams genericclioptions.IOStreams) *PruneOptions + func (o *PruneOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *PruneOptions) GetBlacklist() []string + func (o *PruneOptions) GetClient() userv1typedclient.GroupInterface + func (o *PruneOptions) GetGroupNameMappings() map[string]string + func (o *PruneOptions) GetWhitelist() []string + func (o *PruneOptions) Run() error + func (o *PruneOptions) Validate() error + type RFC2307Builder struct + ClientConfig ldapclient.Config + Config *config.RFC2307Config + ErrorHandler syncerror.Handler + func (b *RFC2307Builder) GetGroupDetector() (interfaces.LDAPGroupDetector, error) + func (b *RFC2307Builder) GetGroupLister() (interfaces.LDAPGroupLister, error) + func (b *RFC2307Builder) GetGroupMemberExtractor() (interfaces.LDAPMemberExtractor, error) + func (b *RFC2307Builder) GetGroupNameMapper() (interfaces.LDAPGroupNameMapper, error) + func (b *RFC2307Builder) GetUserNameMapper() (interfaces.LDAPUserNameMapper, error) + type SyncBuilder interface + GetGroupLister func() (interfaces.LDAPGroupLister, error) + GetGroupMemberExtractor func() (interfaces.LDAPMemberExtractor, error) + GetGroupNameMapper func() (interfaces.LDAPGroupNameMapper, error) + GetUserNameMapper func() (interfaces.LDAPUserNameMapper, error) + type SyncOptions struct + Blacklist []string + BlacklistFile string + Config *config.LDAPSyncConfig + ConfigFile string + Confirm bool + GroupClient userv1typedclient.GroupsGetter + PrintFlags *genericclioptions.PrintFlags + Printer printers.ResourcePrinter + Source GroupSyncSource + Type string + Whitelist []string + WhitelistFile string + func NewSyncOptions(streams genericclioptions.IOStreams) *SyncOptions + func (o *SyncOptions) Complete(f kcmdutil.Factory, args []string) error + func (o *SyncOptions) CreateErrorHandler() syncerror.Handler + func (o *SyncOptions) GetBlacklist() []string + func (o *SyncOptions) GetClient() userv1typedclient.GroupInterface + func (o *SyncOptions) GetGroupNameMappings() map[string]string + func (o *SyncOptions) GetWhitelist() []string + func (o *SyncOptions) Run() error + func (o *SyncOptions) Validate() error v4.0.0-alpha.0 Sep 13, 2018 Other modules containing this package gopkg.in/openshift/origin.v3