Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.8.4
type Client struct {
SearchDN string
// contains filtered or unexported fields
}
type Mapping ¶
type Mapping struct {
From map[string][]string `json:"from"`
To MappingTo `json:"to"`
// contains filtered or unexported fields
}
Mapping ...
type MappingTo ¶
type MappingTo struct {
IsStaff bool
Groups []string `json:"groups"`
Permissions []string `json:"permissions"`
}
MappingTo ...
type Mappings ¶
type Mappings struct {
Mappings []Mapping
// Attributes is a list of all unique attributes that appear in mappings
// that needs to be retrieved from server to make comparison.
Attributes []string
}
Mappings ...
func NewMappingsFromFile ¶
NewMappingsFromFile reads json file and allocates new Mappings based on the output.
Click to show internal directories.
Click to hide internal directories.