configitemformmodal

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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) SetBundle

func (c *ComponentFormModal) SetBundle(ctxBundle protocol.ContextBundle) error

func (*ComponentFormModal) SetComponent

func (c *ComponentFormModal) SetComponent(component *apistructs.Component) error

type ConfigSetCreateCommon

type ConfigSetCreateCommon struct {
	Key   string `json:"key"`
	Value string `json:"value"`
	Scope string `json:"scope"`
}

type ConfigSetCreateSite

type ConfigSetCreateSite struct {
	Key   string  `json:"key"`
	Value string  `json:"value"`
	Scope string  `json:"scope"`
	Sites []int64 `json:"sites"`
}

type ConfigSetUpdate

type ConfigSetUpdate struct {
	ID    int64  `json:"id"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL