Documentation
¶
Index ¶
- Variables
- func GetAttrCellColor(cellName string, cellValue string) (string, bool)
- func GetEntryColor(entry *ldap.Entry) (tcell.Color, bool)
- func SetupApp()
- type EntryCache
- type EntryMatch
- type GPOLink
- type GodapPage
- type GodapTheme
- type ParsedACE
- type XForm
- func (f *XForm) AddCheckbox(label string, checked bool, changed func(checked bool)) *XForm
- func (f *XForm) AddDropDown(label string, options []string, initialOption int, ...) *XForm
- func (f *XForm) AddInputField(label, value string, fieldWidth int, ...) *XForm
- func (f *XForm) AddPasswordField(label, value string, fieldWidth int, mask rune, changed func(text string)) *XForm
- func (f *XForm) AddTextView(label, text string, fieldWidth, fieldHeight int, ...) *XForm
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LdapServer string LdapPort int LdapUsername string LdapPassword string LdapPasswordFile string NtlmHash string NtlmHashFile string DomainName string SocksServer string TargetSpn string KdcHost string TimeFormat string Kerberos bool Emojis bool Colors bool FormatAttrs bool ExpandAttrs bool AttrLimit int CacheEntries bool Deleted bool LoadSchema bool PagingSize uint32 Timeout int32 Insecure bool Ldaps bool SearchFilter string RootDN string ShowHeader bool )
View Source
var DefaultTheme = GodapTheme{ TViewTheme: baseTheme, FieldBackgroundColor: tcell.ColorBlack, PlaceholderStyle: tcell.Style{}.Foreground(tcell.ColorDefault).Background(tcell.ColorBlack), PlaceholderTextColor: tcell.ColorGray, FormButtonStyle: tcell.Style{}.Background(tcell.ColorWhite), FormButtonTextColor: tcell.ColorBlack, FormButtonBackgroundColor: tcell.ColorWhite, FormButtonActivatedStyle: tcell.StyleDefault.Background(tcell.ColorGray), RecycledNodeColor: tcell.ColorRed, DeletedNodeColor: tcell.ColorGray, DisabledNodeColor: tcell.ColorYellow, }
View Source
var GodapVer = "Godap v2.8.0"
Functions ¶
func GetAttrCellColor ¶ added in v2.8.0
Types ¶
type EntryCache ¶
type EntryCache struct {
// contains filtered or unexported fields
}
func (*EntryCache) Clear ¶
func (sc *EntryCache) Clear()
func (*EntryCache) Delete ¶
func (sc *EntryCache) Delete(key string)
func (*EntryCache) FindWithRegexp ¶
func (sc *EntryCache) FindWithRegexp(needle *regexp.Regexp) []EntryMatch
func (*EntryCache) Length ¶
func (sc *EntryCache) Length() int
type EntryMatch ¶
type GodapTheme ¶ added in v2.8.0
type GodapTheme struct {
TViewTheme tview.Theme
// Input fields
FieldBackgroundColor tcell.Color
PlaceholderStyle tcell.Style
PlaceholderTextColor tcell.Color
// Form buttons
FormButtonStyle tcell.Style
FormButtonTextColor tcell.Color
FormButtonBackgroundColor tcell.Color
FormButtonActivatedStyle tcell.Style
// Tree node colors
RecycledNodeColor tcell.Color
DeletedNodeColor tcell.Color
DisabledNodeColor tcell.Color
}
type XForm ¶
Form customizations
func (*XForm) AddCheckbox ¶
func (*XForm) AddDropDown ¶
func (*XForm) AddInputField ¶
func (*XForm) AddPasswordField ¶
Click to show internal directories.
Click to hide internal directories.