knowledgebase

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseInfo

type BaseInfo struct {
	UUID         string
	ID           string
	ShortName    string
	Description  string
	CreatedDate  time.Time
	ModifiedDate time.Time
}

type Container

type Container struct {
	KnowledgeBase KnowledgeBase
	Groups        map[string]Group
	Parameters    map[string]Parameter
	Patterns      map[string]Pattern
	Rules         map[string]Rule
}

type Group

type Group struct {
	BaseInfo
	Groups     map[string]Group
	Parameters []string
	Rules      []string
}

type KnowledgeBase

type KnowledgeBase struct {
	BaseInfo
}

type Parameter

type Parameter struct {
	BaseInfo
	Type         types.ParameterType
	DefaultValue string
}

type ParameterPattern

type ParameterPattern struct {
	ShortName string
	Type      types.ParameterType
}

type ParameterRule

type ParameterRule struct {
	ShortName     string
	ParameterUUID string
}

type Pattern

type Pattern struct {
	BaseInfo
	Type             types.PatternType
	ScriptLanguage   types.ScriptLanguageType
	Script           string
	InputParameters  []ParameterPattern
	OutputParameters []ParameterPattern
}

type Rule

type Rule struct {
	BaseInfo
	PatternUUID      string
	InputParameters  []ParameterRule
	OutputParameters []ParameterRule
}

Jump to

Keyboard shortcuts

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