Documentation
¶
Index ¶
- type Command
- type CommandState
- type Data
- type Field
- type Operation
- type PodInfo
- func (podInfo *PodInfo) GenComponentState(component *cptype.Component) error
- func (podInfo *PodInfo) Init(ctx servicehub.Context) error
- func (podInfo *PodInfo) Render(ctx context.Context, c *cptype.Component, s cptype.Scenario, ...) error
- func (podInfo *PodInfo) Transfer(component *cptype.Component)
- type Props
- type State
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
Key string `json:"key"`
Target string `json:"target"`
State CommandState `json:"state"`
JumpOut bool `json:"jumpOut"`
}
type CommandState ¶
type PodInfo ¶
type PodInfo struct {
base.DefaultProvider
SDK *cptype.SDK `json:"-"`
Type string `json:"type,omitempty"`
Props Props `json:"props"`
Data map[string]Data `json:"data,omitempty"`
State State `json:"state,omitempty"`
// contains filtered or unexported fields
}
func (*PodInfo) GenComponentState ¶
Click to show internal directories.
Click to hide internal directories.