Versions in this module Expand all Collapse all v1 v1.0.7 Oct 29, 2015 Changes in this version + const SyncGroupsRecommendedName + var AllowedSourceTypes = []string + func NewCmdSyncGroups(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command + func ValidateSource(source GroupSyncSource) bool + type ADSyncBuilder struct + ClientConfig *ldaputil.LDAPClientConfig + Config *api.ActiveDirectoryConfig + func (b *ADSyncBuilder) GetGroupLister() (interfaces.LDAPGroupLister, error) + func (b *ADSyncBuilder) GetGroupMemberExtractor() (interfaces.LDAPMemberExtractor, error) + func (b *ADSyncBuilder) GetGroupNameMapper() (interfaces.LDAPGroupNameMapper, error) + func (b *ADSyncBuilder) GetUserNameMapper() (interfaces.LDAPUserNameMapper, error) + type AugmentedADSyncBuilder struct + ClientConfig *ldaputil.LDAPClientConfig + Config *api.AugmentedActiveDirectoryConfig + func (b *AugmentedADSyncBuilder) GetGroupLister() (interfaces.LDAPGroupLister, error) + func (b *AugmentedADSyncBuilder) GetGroupMemberExtractor() (interfaces.LDAPMemberExtractor, error) + func (b *AugmentedADSyncBuilder) GetGroupNameMapper() (interfaces.LDAPGroupNameMapper, error) + func (b *AugmentedADSyncBuilder) GetUserNameMapper() (interfaces.LDAPUserNameMapper, error) + type GroupSyncSource string + const GroupSyncSourceLDAP + const GroupSyncSourceOpenShift + type RFC2307SyncBuilder struct + ClientConfig *ldaputil.LDAPClientConfig + Config *api.RFC2307Config + func (b *RFC2307SyncBuilder) GetGroupLister() (interfaces.LDAPGroupLister, error) + func (b *RFC2307SyncBuilder) GetGroupMemberExtractor() (interfaces.LDAPMemberExtractor, error) + func (b *RFC2307SyncBuilder) GetGroupNameMapper() (interfaces.LDAPGroupNameMapper, error) + func (b *RFC2307SyncBuilder) 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 SyncGroupsOptions struct + Blacklist []string + Config api.LDAPSyncConfig + Confirm bool + GroupInterface osclient.GroupInterface + Out io.Writer + Source GroupSyncSource + Stderr io.Writer + Whitelist []string + func NewSyncGroupsOptions() *SyncGroupsOptions + func (o *SyncGroupsOptions) Complete(typeArg, whitelistFile, blacklistFile, configFile string, args []string, ...) error + func (o *SyncGroupsOptions) GetGroupNameMapper(syncBuilder SyncBuilder) (interfaces.LDAPGroupNameMapper, error) + func (o *SyncGroupsOptions) GetLDAPGroupLister(syncBuilder SyncBuilder) (interfaces.LDAPGroupLister, error) + func (o *SyncGroupsOptions) GetOpenShiftGroupListerMapper(syncBuilder SyncBuilder, clientConfig *ldaputil.LDAPClientConfig) (interfaces.LDAPGroupListerNameMapper, error) + func (o *SyncGroupsOptions) Run(cmd *cobra.Command, f *clientcmd.Factory) error + func (o *SyncGroupsOptions) Validate() error