ldap

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSource

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

func New

func New(
	url string,
	bindDN string,
	password string,
	config config.Config,
	insecure bool,
	caFile string,
) *DataSource

func (*DataSource) AddUserToGroup

func (d *DataSource) AddUserToGroup(ctx context.Context, user string) error

func (*DataSource) CreateUser

func (d *DataSource) CreateUser(ctx context.Context, user string) error

func (*DataSource) HealthCheck

func (d *DataSource) HealthCheck(ctx context.Context) error

Jump to

Keyboard shortcuts

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