types

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateConfig

type GenerateConfig struct {
	Users                    int
	Groups                   int
	OUs                      int
	OUDepth                  int
	Domain                   []string
	UserClasses              []string
	GroupClasses             []string
	OUClasses                []string
	UserChangeType           string
	GroupChangeType          string
	OUChangeType             string
	BuzzwordDataset          string
	DepartmentDataset        string
	FirstNameDataset         string
	LastNameDataset          string
	GroupsDataset            string
	GroupMembershipAttribute string
}

type Group

type Group struct {
	Id                 string
	CommonName         string
	OrganizationalUnit string
	DistinguishedName  string
	Members            []string
}

type RenderConfig

type RenderConfig struct {
	UserClasses              []string
	GroupClasses             []string
	OUClasses                []string
	UserChangeType           string
	GroupChangeType          string
	OUChangeType             string
	Users                    []*User
	Domain                   []string
	OUs                      []string
	Groups                   []*Group
	GroupMembershipAttribute string
	Time                     string
}

func (RenderConfig) DC

func (c RenderConfig) DC() string

func (RenderConfig) TrimOU

func (c RenderConfig) TrimOU(ou string) string

type User

type User struct {
	Id                string
	GivenName         string
	DistinguishedName string
	CommonName        string
	Surname           string
	Manager           string
	Secretary         string
	Title             string
	Description       string
	OU                string
}

func (*User) UID

func (u *User) UID() string

Jump to

Keyboard shortcuts

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