Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAllElements ¶
func GenerateAllElements(ctx context.Context, args *GenerateElementArgs) (err error)
Types ¶
type Attribute ¶
type Attribute struct { Name string Key string Description string ValidValueTypes []string Mode AttributeMode }
type AttributeMode ¶
type AttributeMode string
const ( AttributeModeString AttributeMode = "string" AttributeModeKV AttributeMode = "kv" AttributeModeBool AttributeMode = "bool" AttributeModeSpaceDelimited AttributeMode = "space-delimited" )
type CustomAttribute ¶
type Event ¶
type Event struct { Name string Description string Interface string Attributes []EventAttribute }
type EventAttribute ¶
type EventHandler ¶
type GenerateElementArgs ¶
type GenerateElementArgs struct { TempDir string OutputPath string KvAttributes []string SpaceDelimitedAttributes []string }
func NewGenerateElementArgs ¶
func NewGenerateElementArgs() *GenerateElementArgs
func (*GenerateElementArgs) WithKvAttributes ¶
func (gea *GenerateElementArgs) WithKvAttributes(kvAttributes ...string) *GenerateElementArgs
func (*GenerateElementArgs) WithOutputPath ¶
func (gea *GenerateElementArgs) WithOutputPath(outputPath string) *GenerateElementArgs
func (*GenerateElementArgs) WithTempDir ¶
func (gea *GenerateElementArgs) WithTempDir(tmpDir string) *GenerateElementArgs
Click to show internal directories.
Click to hide internal directories.