Help us shape the future of Go! Take the 2026 Go Developer Survey

builders

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ADBuilder

type ADBuilder struct {
	ClientConfig ldapclient.Config
	Config       *legacyconfigv1.ActiveDirectoryConfig
	// contains filtered or unexported fields
}

func (*ADBuilder) GetGroupDetector

func (b *ADBuilder) GetGroupDetector() (syncerror.LDAPGroupDetector, error)

func (*ADBuilder) GetGroupLister

func (b *ADBuilder) GetGroupLister() (syncerror.LDAPGroupLister, error)

func (*ADBuilder) GetGroupMemberExtractor

func (b *ADBuilder) GetGroupMemberExtractor() (syncerror.LDAPMemberExtractor, error)

func (*ADBuilder) GetGroupNameMapper

func (b *ADBuilder) GetGroupNameMapper() (syncerror.LDAPGroupNameMapper, error)

func (*ADBuilder) GetUserNameMapper

func (b *ADBuilder) GetUserNameMapper() (syncerror.LDAPUserNameMapper, error)

type AugmentedADBuilder

type AugmentedADBuilder struct {
	ClientConfig ldapclient.Config
	Config       *legacyconfigv1.AugmentedActiveDirectoryConfig
	// contains filtered or unexported fields
}

func (*AugmentedADBuilder) GetGroupDetector

func (b *AugmentedADBuilder) GetGroupDetector() (syncerror.LDAPGroupDetector, error)

func (*AugmentedADBuilder) GetGroupLister

func (b *AugmentedADBuilder) GetGroupLister() (syncerror.LDAPGroupLister, error)

func (*AugmentedADBuilder) GetGroupMemberExtractor

func (b *AugmentedADBuilder) GetGroupMemberExtractor() (syncerror.LDAPMemberExtractor, error)

func (*AugmentedADBuilder) GetGroupNameMapper

func (b *AugmentedADBuilder) GetGroupNameMapper() (syncerror.LDAPGroupNameMapper, error)

func (*AugmentedADBuilder) GetUserNameMapper

func (b *AugmentedADBuilder) GetUserNameMapper() (syncerror.LDAPUserNameMapper, error)

type GroupNameRestrictions

type GroupNameRestrictions interface {
	GetWhitelist() []string
	GetBlacklist() []string
}

GroupNameRestrictions desribes an object that holds blacklists and whitelists

type MappedNameRestrictions

type MappedNameRestrictions interface {
	GetGroupNameMappings() map[string]string
}

MappedNameRestrictions describes an object that holds user name mappings for a group sync job

type OpenShiftGroupNameRestrictions

type OpenShiftGroupNameRestrictions interface {
	GroupNameRestrictions
	GetClient() client.Client
}

OpenShiftGroupNameRestrictions describes an object that holds blacklists and whitelists as well as a client that can retrieve OpenShift groups to satisfy those lists

type PruneBuilder

type PruneBuilder interface {
	GetGroupLister() (syncerror.LDAPGroupLister, error)
	GetGroupNameMapper() (syncerror.LDAPGroupNameMapper, error)
	GetGroupDetector() (syncerror.LDAPGroupDetector, error)
}

PruneBuilder describes an object that can build all the schema-specific parts of an LDAPGroupPruner

type RFC2307Builder

type RFC2307Builder struct {
	ClientConfig ldapclient.Config
	Config       *legacyconfigv1.RFC2307Config

	ErrorHandler syncerror.Handler
	// contains filtered or unexported fields
}

func (*RFC2307Builder) GetGroupDetector

func (b *RFC2307Builder) GetGroupDetector() (syncerror.LDAPGroupDetector, error)

func (*RFC2307Builder) GetGroupLister

func (b *RFC2307Builder) GetGroupLister() (syncerror.LDAPGroupLister, error)

func (*RFC2307Builder) GetGroupMemberExtractor

func (b *RFC2307Builder) GetGroupMemberExtractor() (syncerror.LDAPMemberExtractor, error)

func (*RFC2307Builder) GetGroupNameMapper

func (b *RFC2307Builder) GetGroupNameMapper() (syncerror.LDAPGroupNameMapper, error)

func (*RFC2307Builder) GetUserNameMapper

func (b *RFC2307Builder) GetUserNameMapper() (syncerror.LDAPUserNameMapper, error)

type SyncBuilder

type SyncBuilder interface {
	GetGroupLister() (syncerror.LDAPGroupLister, error)
	GetGroupNameMapper() (syncerror.LDAPGroupNameMapper, error)
	GetUserNameMapper() (syncerror.LDAPUserNameMapper, error)
	GetGroupMemberExtractor() (syncerror.LDAPMemberExtractor, error)
}

SyncBuilder describes an object that can build all the schema-specific parts of an LDAPGroupSyncer

Jump to

Keyboard shortcuts

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