Documentation
¶
Index ¶
- type AuthBindCommand
- type AuthChangePasswordCommand
- type AuthCommands
- type GroupCommands
- type GroupCreateCommand
- type GroupDeleteCommand
- type GroupGetCommand
- type GroupListCommand
- type ObjectCommands
- type ObjectCreateCommand
- type ObjectDeleteCommand
- type ObjectGetCommand
- type ObjectListCommand
- type ObjectUpdateCommand
- type UserCommands
- type UserCreateCommand
- type UserDeleteCommand
- type UserGetCommand
- type UserListCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthBindCommand ¶ added in v1.5.13
type AuthChangePasswordCommand ¶ added in v1.5.13
type AuthChangePasswordCommand struct {
AuthBindCommand
}
type AuthCommands ¶ added in v1.5.13
type AuthCommands struct {
Auth AuthBindCommand `cmd:"" group:"LDAP" help:"Authenticate user"`
ChangePassword AuthChangePasswordCommand `cmd:"" group:"LDAP" help:"Change password"`
}
type GroupCommands ¶ added in v1.5.13
type GroupCommands struct {
Groups GroupListCommand `cmd:"" group:"LDAP" help:"List groups"`
Group GroupGetCommand `cmd:"" group:"LDAP" help:"Get group"`
CreateGroup GroupCreateCommand `cmd:"" group:"LDAP" help:"Create group"`
DeleteGroup GroupDeleteCommand `cmd:"" group:"LDAP" help:"Delete group"`
}
type GroupCreateCommand ¶ added in v1.5.13
type GroupCreateCommand struct {
GroupGetCommand
Attr []string `arg:"" help:"attribute=value,value,..."`
}
type GroupDeleteCommand ¶ added in v1.5.13
type GroupDeleteCommand struct {
GroupGetCommand
}
type GroupGetCommand ¶ added in v1.5.13
type GroupGetCommand struct {
Group string `arg:"" help:"Group name"`
}
type GroupListCommand ¶ added in v1.5.13
type GroupListCommand struct {
schema.ObjectListRequest
}
type ObjectCommands ¶
type ObjectCommands struct {
Objects ObjectListCommand `cmd:"" group:"LDAP" help:"List objects"`
Object ObjectGetCommand `cmd:"" group:"LDAP" help:"Get object"`
CreateObject ObjectCreateCommand `cmd:"" group:"LDAP" help:"Create object"`
UpdateObject ObjectUpdateCommand `cmd:"" group:"LDAP" help:"Update object attributes"`
DeleteObject ObjectDeleteCommand `cmd:"" group:"LDAP" help:"Delete object"`
}
type ObjectCreateCommand ¶ added in v1.5.13
type ObjectCreateCommand struct {
ObjectGetCommand
Attr []string `arg:"" help:"attribute=value,value,..."`
}
type ObjectDeleteCommand ¶ added in v1.5.13
type ObjectDeleteCommand struct {
ObjectGetCommand
}
type ObjectGetCommand ¶ added in v1.5.13
type ObjectGetCommand struct {
DN string `arg:"" help:"Distingushed Name"`
}
type ObjectListCommand ¶
type ObjectListCommand struct {
schema.ObjectListRequest
}
type ObjectUpdateCommand ¶ added in v1.5.13
type ObjectUpdateCommand struct {
ObjectCreateCommand
}
type UserCommands ¶ added in v1.5.13
type UserCommands struct {
Users UserListCommand `cmd:"" group:"LDAP" help:"List users"`
User UserGetCommand `cmd:"" group:"LDAP" help:"Get user"`
CreateUser UserCreateCommand `cmd:"" group:"LDAP" help:"Create user"`
DeleteUser UserDeleteCommand `cmd:"" group:"LDAP" help:"Delete user"`
}
type UserCreateCommand ¶ added in v1.5.13
type UserCreateCommand struct {
UserGetCommand
Attr []string `arg:"" help:"attribute=value,value,..."`
}
type UserDeleteCommand ¶ added in v1.5.13
type UserDeleteCommand struct {
UserGetCommand
}
type UserGetCommand ¶ added in v1.5.13
type UserGetCommand struct {
User string `arg:"" help:"Username"`
}
type UserListCommand ¶ added in v1.5.13
type UserListCommand struct {
schema.ObjectListRequest
}
Click to show internal directories.
Click to hide internal directories.