mock_ldap

package
v0.0.49 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockManager

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

Mock of Manager interface

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

func (*MockManager) EXPECT

func (_m *MockManager) EXPECT() *_MockManagerRecorder

func (*MockManager) GetConfig

func (_m *MockManager) GetConfig(configDir string, ldapBindPassword string) (*l.Config, error)

func (*MockManager) GetLdapUser added in v0.0.30

func (_m *MockManager) GetLdapUser(config *l.Config, UserDN string, UserSearchBase string) (*l.User, error)

func (*MockManager) GetUser

func (_m *MockManager) GetUser(config *l.Config, UserID string) (*l.User, error)

func (*MockManager) GetUserIDs

func (_m *MockManager) GetUserIDs(config *l.Config, groupName string) ([]l.User, error)

func (*MockManager) LdapConnection added in v0.0.43

func (_m *MockManager) LdapConnection(config *l.Config) (*ldap.Conn, error)

Jump to

Keyboard shortcuts

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