Documentation ¶
Index ¶
- type Actions
- type ComponentYamlFileEditor
- func (f *ComponentYamlFileEditor) GenComponentState(c *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(c *cptype.Component)
- func (f *ComponentYamlFileEditor) UpdateWorkload() 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 { base.DefaultProvider 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(c *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(c *cptype.Component)
func (*ComponentYamlFileEditor) UpdateWorkload ¶
func (f *ComponentYamlFileEditor) UpdateWorkload() error
Click to show internal directories.
Click to hide internal directories.