Documentation
¶
Index ¶
- type Model
- func (m *Model) Close()
- func (m *Model) GetComponentDefinition() *oscalTypes_1_1_2.ComponentDefinition
- func (m *Model) GetDimensions() (height, width int)
- func (m Model) Init() tea.Cmd
- func (m *Model) Open(height, width int)
- func (m *Model) TestSetSelectedControl(title string)
- func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m *Model) UpdateDescription(description string)
- func (m *Model) UpdateRemarks(remarks string)
- func (m *Model) UpdateSizing(height, width int)
- func (m Model) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func NewComponentDefinitionModel ¶
func NewComponentDefinitionModel(oscalComponent *oscalTypes_1_1_2.ComponentDefinition) Model
NewComponentDefinitionModel create new model for component definition view
func (*Model) GetComponentDefinition ¶ added in v0.8.0
func (m *Model) GetComponentDefinition() *oscalTypes_1_1_2.ComponentDefinition
GetComponentDefinition returns the component definition model, used on save events
func (*Model) GetDimensions ¶
func (*Model) TestSetSelectedControl ¶ added in v0.8.0
TestSetSelectedControl is a test helper function to set the selected control
func (*Model) UpdateDescription ¶ added in v0.8.0
func (*Model) UpdateRemarks ¶ added in v0.8.0
func (*Model) UpdateSizing ¶
Click to show internal directories.
Click to hide internal directories.