ldap

package
v0.0.0-...-bca71c6 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScopeBaseObject   = "base"
	ScopeSingleLevel  = "single"
	ScopeWholeSubtree = "sub"
)

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewInstance

func NewInstance(
	ldapURL,
	bindDN,
	bindPassword,
	groupSearchBase,
	groupSearchScope,
	groupSearchFilter,
	groupNameProperty string,
	groupSearchAttributes []string,
) *Client

func (*Client) DeleteGroup

func (s *Client) DeleteGroup(name string) error

func (*Client) ReconcileGroup

func (s *Client) ReconcileGroup(team *appv1.Team) (string, error, bool)

Jump to

Keyboard shortcuts

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