Documentation
¶
Index ¶
- func CreateViewFormat(num int) string
- func InitAttributeCreateModel() (tea.Model, tea.Cmd)
- func InitAttributeList(id string, sdk handlers.Handler) (tea.Model, tea.Cmd)
- func InitLabelList(attr *policy.Attribute, sdk handlers.Handler) (tea.Model, tea.Cmd)
- func InitRead(title string, items []list.Item) (tea.Model, tea.Cmd)
- func StartTea(h handlers.Handler) error
- func StyleAttr(attr string) string
- func ViewList(m list.Model) string
- func WindowMsg() tea.WindowSizeMsg
- type AppMenu
- type AppMenuItem
- type AttributeCreateModel
- type AttributeItem
- type AttributeList
- type AttributeSubItem
- type AttributeView
- type LabelItem
- type LabelList
- type LabelUpdate
- type Read
- type Update
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateViewFormat ¶
func InitAttributeList ¶
func InitLabelList ¶
func WindowMsg ¶
func WindowMsg() tea.WindowSizeMsg
Types ¶
type AppMenuItem ¶
type AppMenuItem struct {
// contains filtered or unexported fields
}
func (AppMenuItem) Description ¶
func (m AppMenuItem) Description() string
func (AppMenuItem) FilterValue ¶
func (m AppMenuItem) FilterValue() string
func (AppMenuItem) Title ¶
func (m AppMenuItem) Title() string
type AttributeCreateModel ¶
type AttributeCreateModel struct {
// contains filtered or unexported fields
}
func (AttributeCreateModel) Init ¶
func (m AttributeCreateModel) Init() tea.Cmd
func (AttributeCreateModel) View ¶
func (m AttributeCreateModel) View() string
type AttributeItem ¶
type AttributeItem struct {
// contains filtered or unexported fields
}
func (AttributeItem) Description ¶
func (m AttributeItem) Description() string
func (AttributeItem) FilterValue ¶
func (m AttributeItem) FilterValue() string
func (AttributeItem) Title ¶
func (m AttributeItem) Title() string
type AttributeList ¶
type AttributeList struct {
// contains filtered or unexported fields
}
func (AttributeList) Init ¶
func (m AttributeList) Init() tea.Cmd
func (AttributeList) View ¶
func (m AttributeList) View() string
type AttributeSubItem ¶
type AttributeSubItem struct {
// contains filtered or unexported fields
}
func (AttributeSubItem) Description ¶
func (m AttributeSubItem) Description() string
func (AttributeSubItem) FilterValue ¶
func (m AttributeSubItem) FilterValue() string
func (AttributeSubItem) Title ¶
func (m AttributeSubItem) Title() string
type AttributeView ¶
type AttributeView struct {
// contains filtered or unexported fields
}
func InitAttributeView ¶
func (AttributeView) Init ¶
func (m AttributeView) Init() tea.Cmd
func (AttributeView) View ¶
func (m AttributeView) View() string
type LabelItem ¶
type LabelItem struct {
// contains filtered or unexported fields
}
func (LabelItem) Description ¶
func (LabelItem) FilterValue ¶
type LabelUpdate ¶
type LabelUpdate struct {
// contains filtered or unexported fields
}
func InitLabelUpdate ¶
func (LabelUpdate) Init ¶
func (m LabelUpdate) Init() tea.Cmd
func (LabelUpdate) View ¶
func (m LabelUpdate) View() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.