users

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserGenerator

type UserGenerator struct {
	NameGenerator *names.NameGenerator
	OUList        []string
	Domain        []string
}

func New

func New(domain []string, nameGenerator *names.NameGenerator, ouList []string) (*UserGenerator, error)

func (*UserGenerator) Generate

func (ug *UserGenerator) Generate() (*types.User, error)

func (*UserGenerator) GenerateN

func (ug *UserGenerator) GenerateN(count int) ([]*types.User, error)

Jump to

Keyboard shortcuts

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