Documentation ¶
Index ¶
- type Bubble
- func (b *Bubble) CreateRoleCmd(rolename string) tea.Cmd
- func (b *Bubble) DeleteRoleCmd() tea.Cmd
- func (b *Bubble) ForceDeleteRoleCmd() tea.Cmd
- func (b *Bubble) GetRoles() []list.Item
- func (b *Bubble) GetRolesCmd() tea.Cmd
- func (b *Bubble) GetSelectedRole() string
- 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 GetRolesMsg
- 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) DeleteRoleCmd ¶
func (*Bubble) ForceDeleteRoleCmd ¶
func (*Bubble) GetRolesCmd ¶
func (*Bubble) GetSelectedRole ¶
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 GetRolesMsg ¶
type Item ¶
type Item struct {
// contains filtered or unexported fields
}
func (Item) Description ¶
func (Item) FilterValue ¶
type Styles ¶
type Styles struct { InactiveListStyle lipgloss.Style ActiveListStyle 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.