Documentation
¶
Index ¶
- type IModelInput
- type ModelInputs
- func (m *ModelInputs) GetProperties() map[string]generate.Schema
- func (m *ModelInputs) GetTitle() string
- func (m *ModelInputs) GetType() string
- func (m *ModelInputs) ReadAll()
- func (m *ModelInputs) ReadProperties()
- func (m *ModelInputs) ReadTitle()
- func (m *ModelInputs) ReadType()
- func (m *ModelInputs) SetProperties(properties map[string]generate.Schema)
- func (m *ModelInputs) SetTitle(title string)
- func (m *ModelInputs) SetType(t string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IModelInput ¶
type IModelInput interface {
ReadAll()
}
type ModelInputs ¶
type ModelInputs struct { Cmd *cobra.Command Title string Type string Properties map[string]generate.Schema }
func NewModelInputs ¶
func NewModelInputs(cmd *cobra.Command) *ModelInputs
func (*ModelInputs) GetProperties ¶
func (m *ModelInputs) GetProperties() map[string]generate.Schema
func (*ModelInputs) GetTitle ¶
func (m *ModelInputs) GetTitle() string
func (*ModelInputs) GetType ¶
func (m *ModelInputs) GetType() string
func (*ModelInputs) ReadAll ¶
func (m *ModelInputs) ReadAll()
The ReadAll method reads all the input required to define a schema.
func (*ModelInputs) ReadProperties ¶
func (m *ModelInputs) ReadProperties()
func (*ModelInputs) ReadTitle ¶
func (m *ModelInputs) ReadTitle()
func (*ModelInputs) ReadType ¶
func (m *ModelInputs) ReadType()
func (*ModelInputs) SetProperties ¶
func (m *ModelInputs) SetProperties(properties map[string]generate.Schema)
func (*ModelInputs) SetTitle ¶
func (m *ModelInputs) SetTitle(title string)
func (*ModelInputs) SetType ¶
func (m *ModelInputs) SetType(t string)
Click to show internal directories.
Click to hide internal directories.