Documentation ¶
Index ¶
- Constants
- Variables
- func RenderCreator() protocol.CompRender
- type ComponentFormModal
- func (c *ComponentFormModal) OperateRendering(orgID, configSetID int64, identity apistructs.Identity) error
- func (c *ComponentFormModal) OperateSubmit(configSetID int64, identity apistructs.Identity) error
- func (c ComponentFormModal) Render(ctx context.Context, component *apistructs.Component, ...) error
- func (c *ComponentFormModal) SetBundle(ctxBundle protocol.ContextBundle) error
- func (c *ComponentFormModal) SetComponent(component *apistructs.Component) error
- type ConfigSetCreateCommon
- type ConfigSetCreateSite
- type ConfigSetUpdate
Constants ¶
View Source
const ( ScopeCommon = "COMMON" ScopePublic = "public" ScopeSite = "SITE" )
View Source
const (
CfgItemKeyMatchPattern = "^[a-zA-Z-._][a-zA-Z0-9-._]*$"
)
Variables ¶
View Source
var (
CfgItemKeyRegexp = fmt.Sprintf("/%v/", CfgItemKeyMatchPattern)
)
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type ComponentFormModal ¶
type ComponentFormModal struct {
// contains filtered or unexported fields
}
func (*ComponentFormModal) OperateRendering ¶
func (c *ComponentFormModal) OperateRendering(orgID, configSetID int64, identity apistructs.Identity) error
func (*ComponentFormModal) OperateSubmit ¶
func (c *ComponentFormModal) OperateSubmit(configSetID int64, identity apistructs.Identity) error
func (ComponentFormModal) Render ¶
func (c ComponentFormModal) Render(ctx context.Context, component *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
func (*ComponentFormModal) SetBundle ¶
func (c *ComponentFormModal) SetBundle(ctxBundle protocol.ContextBundle) error
func (*ComponentFormModal) SetComponent ¶
func (c *ComponentFormModal) SetComponent(component *apistructs.Component) error
type ConfigSetCreateCommon ¶
type ConfigSetCreateSite ¶
type ConfigSetUpdate ¶
Click to show internal directories.
Click to hide internal directories.