Documentation ¶
Index ¶
- type Bubble
- func (b *Bubble) ChangeUserPasswordCmd(newPassword, confirmedPassword string) tea.Cmd
- func (b *Bubble) CreateUserCmd(username, password string) tea.Cmd
- func (b *Bubble) DeleteUserCmd() tea.Cmd
- func (b *Bubble) EnableUserCmd(enabled bool) tea.Cmd
- func (b *Bubble) GetCurrentUserRoles() []string
- func (b *Bubble) GetSelectedUser() Item
- func (b *Bubble) GetStardogUsersWithDetails() ([]list.Item, error)
- func (b *Bubble) GetUsersCmd() tea.Cmd
- func (b Bubble) Init() tea.Cmd
- func (b *Bubble) IsFilterActive() bool
- func (b *Bubble) Reset()
- func (b *Bubble) SetIsActive(active bool)
- func (b *Bubble) SetListTitleBackgroundColor(color lipgloss.AdaptiveColor)
- func (b *Bubble) SetListTitleForegroundColor(color lipgloss.AdaptiveColor)
- func (b *Bubble) SetSize(width, height int)
- func (b Bubble) Update(msg tea.Msg) (Bubble, tea.Cmd)
- func (b Bubble) View() string
- type GetUsersMsg
- type Item
- type State
- type Styles
- type SuccessMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bubble ¶
func (*Bubble) ChangeUserPasswordCmd ¶
func (*Bubble) DeleteUserCmd ¶
func (*Bubble) GetCurrentUserRoles ¶
func (*Bubble) GetSelectedUser ¶
func (*Bubble) GetStardogUsersWithDetails ¶
func (*Bubble) GetUsersCmd ¶
func (*Bubble) IsFilterActive ¶
func (*Bubble) SetIsActive ¶
func (*Bubble) SetListTitleBackgroundColor ¶
func (b *Bubble) SetListTitleBackgroundColor(color lipgloss.AdaptiveColor)
func (*Bubble) SetListTitleForegroundColor ¶
func (b *Bubble) SetListTitleForegroundColor(color lipgloss.AdaptiveColor)
type GetUsersMsg ¶
type Item ¶
type Item struct {
// contains filtered or unexported fields
}
func (Item) Description ¶
func (Item) FilterValue ¶
type Styles ¶
type Styles struct { ActiveListStyle lipgloss.Style InactiveListStyle lipgloss.Style // contains filtered or unexported fields }
func DefaultStyles ¶
func DefaultStyles() (s Styles)
type SuccessMsg ¶
type SuccessMsg struct {
Message string
}
Click to show internal directories.
Click to hide internal directories.