Versions in this module Expand all Collapse all v1 v1.1.1 Jan 18, 2016 Changes in this version + const PruneRecommendedName + const SyncRecommendedName + var AllowedSourceTypes = []string + func NewCmdPrune(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command + func NewCmdSync(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command + func ValidateSource(source GroupSyncSource) bool + type ADBuilder struct + ClientConfig ldapclient.Config + Config *api.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 *api.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() client.GroupInterface + type PruneBuilder interface + GetGroupDetector func() (interfaces.LDAPGroupDetector, error) + GetGroupLister func() (interfaces.LDAPGroupLister, error) + GetGroupNameMapper func() (interfaces.LDAPGroupNameMapper, error) + type PruneOptions struct + Blacklist []string + Config *api.LDAPSyncConfig + Confirm bool + GroupInterface osclient.GroupInterface + Out io.Writer + Stderr io.Writer + Whitelist []string + func NewPruneOptions() *PruneOptions + func (o *PruneOptions) Complete(whitelistFile, blacklistFile, configFile string, args []string, ...) error + func (o *PruneOptions) GetBlacklist() []string + func (o *PruneOptions) GetClient() osclient.GroupInterface + func (o *PruneOptions) GetGroupNameMappings() map[string]string + func (o *PruneOptions) GetWhitelist() []string + func (o *PruneOptions) Run(cmd *cobra.Command, f *clientcmd.Factory) error + func (o *PruneOptions) Validate() error + type RFC2307Builder struct + ClientConfig ldapclient.Config + Config *api.RFC2307Config + 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 + Config *api.LDAPSyncConfig + Confirm bool + GroupInterface osclient.GroupInterface + Out io.Writer + Source GroupSyncSource + Stderr io.Writer + Whitelist []string + func NewSyncOptions() *SyncOptions + func (o *SyncOptions) Complete(typeArg, whitelistFile, blacklistFile, configFile string, args []string, ...) error + func (o *SyncOptions) GetBlacklist() []string + func (o *SyncOptions) GetClient() osclient.GroupInterface + func (o *SyncOptions) GetGroupNameMappings() map[string]string + func (o *SyncOptions) GetWhitelist() []string + func (o *SyncOptions) Run(cmd *cobra.Command, f *clientcmd.Factory) error + func (o *SyncOptions) Validate() error