Documentation ¶
Index ¶
- type Actions
- type ComponentYamlFileEditor
- func (f *ComponentYamlFileEditor) GenComponentState(component *cptype.Component) error
- func (f *ComponentYamlFileEditor) Init(ctx servicehub.Context) error
- func (f *ComponentYamlFileEditor) InitComponent(ctx context.Context)
- func (f *ComponentYamlFileEditor) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, ...) error
- func (f *ComponentYamlFileEditor) RenderFile() error
- func (f *ComponentYamlFileEditor) SetComponentValue()
- func (f *ComponentYamlFileEditor) Transfer(component *cptype.Component)
- func (f *ComponentYamlFileEditor) UpdatePod() error
- type Operation
- type Props
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentYamlFileEditor ¶
type ComponentYamlFileEditor struct { Props Props `json:"props"` State State `json:"state"` Operations map[string]interface{} `json:"operations,omitempty"` // contains filtered or unexported fields }
func (*ComponentYamlFileEditor) GenComponentState ¶
func (f *ComponentYamlFileEditor) GenComponentState(component *cptype.Component) error
func (*ComponentYamlFileEditor) Init ¶
func (f *ComponentYamlFileEditor) Init(ctx servicehub.Context) error
func (*ComponentYamlFileEditor) InitComponent ¶
func (f *ComponentYamlFileEditor) InitComponent(ctx context.Context)
func (*ComponentYamlFileEditor) Render ¶
func (f *ComponentYamlFileEditor) Render(ctx context.Context, component *cptype.Component, _ cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
func (*ComponentYamlFileEditor) RenderFile ¶
func (f *ComponentYamlFileEditor) RenderFile() error
func (*ComponentYamlFileEditor) SetComponentValue ¶
func (f *ComponentYamlFileEditor) SetComponentValue()
func (*ComponentYamlFileEditor) Transfer ¶
func (f *ComponentYamlFileEditor) Transfer(component *cptype.Component)
func (*ComponentYamlFileEditor) UpdatePod ¶
func (f *ComponentYamlFileEditor) UpdatePod() error
Click to show internal directories.
Click to hide internal directories.