Documentation
¶
Index ¶
Constants ¶
View Source
const (
OPTIONS_PREFIX = "options-"
)
Variables ¶
This section is empty.
Functions ¶
func GetEmbeddedTemplates ¶ added in v0.8.1
GetEmbeddedTemplates returns the embedded templates files
func RunDeferredCleanup ¶
Types ¶
type Action ¶
type Action struct { *types.Logger AppTemplate *template.Template StyleType types.StyleType LightTheme string DarkTheme string Links []ActionLink // links to other actions // contains filtered or unexported fields }
Action represents a single action that is exposed by the App. Actions provide a way to trigger app operations, with an auto-generated form UI and an API interface
func NewAction ¶
func NewAction(logger *types.Logger, sourceFS *appfs.SourceFs, isDev bool, name, description, apath string, run, suggest starlark.Callable, params []apptype.AppParam, paramValuesStr map[string]string, paramDict starlark.StringDict, appPath string, styleType types.StyleType, containerProxyUrl string, hidden []string) (*Action, error)
NewAction creates a new action
func (*Action) GetLink ¶ added in v0.9.8
func (a *Action) GetLink() ActionLink
type ActionLink ¶ added in v0.9.8
Click to show internal directories.
Click to hide internal directories.