Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultPageNo = 1 DefaultPageSize = 5 )
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type AppItem ¶
type AppItem struct { ID string `json:"id"` AppId string `json:"appId"` Title string `json:"title"` Description string `json:"description"` PrefixImg string `json:"prefixImg"` Operations map[string]Operation `json:"operations"` }
func RenItem ¶
func RenItem(app apistructs.ApplicationDTO, orgName string) AppItem
type MyApplicationList ¶
type MyApplicationList struct { Type string `json:"type"` Props Props `json:"props"` State State `json:"state"` Data Data `json:"data"` Operations map[string]interface{} `json:"operations"` // contains filtered or unexported fields }
func (*MyApplicationList) GenComponentState ¶
func (this *MyApplicationList) GenComponentState(c *apistructs.Component) error
GenComponentState 获取state
func (*MyApplicationList) Render ¶
func (this *MyApplicationList) Render(ctx context.Context, c *apistructs.Component, _ apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) (err error)
func (*MyApplicationList) SetCtxBundle ¶
func (this *MyApplicationList) SetCtxBundle(ctx context.Context) error
type OperationData ¶
Click to show internal directories.
Click to hide internal directories.