Documentation ¶
Index ¶
- Constants
- type KnowledgeBase
- func (kb KnowledgeBase) ReadGroup(uuid string) (entKb.Group, error)
- func (kb KnowledgeBase) ReadGroups() (map[string]entKb.Group, error)
- func (kb KnowledgeBase) ReadKnowledgeBase() (*entKb.KnowledgeBase, error)
- func (kb KnowledgeBase) ReadMeta(uuid string) (entKb.Meta, error)
- func (kb KnowledgeBase) ReadParameter(uuid string) (entKb.Parameter, error)
- func (kb KnowledgeBase) ReadParameters() (map[string]entKb.Parameter, error)
- func (kb KnowledgeBase) ReadPattern(uuid string) (entKb.Pattern, error)
- func (kb KnowledgeBase) ReadPatterns() (map[string]entKb.Pattern, error)
- func (kb KnowledgeBase) ReadRule(uuid string) (entKb.Rule, error)
- func (kb KnowledgeBase) ReadRules() (map[string]entKb.Rule, error)
- func (kb KnowledgeBase) RemoveGroup(uuid string) error
- func (kb KnowledgeBase) RemoveKnowledgeBase() error
- func (kb KnowledgeBase) RemoveParameter(uuid string) error
- func (k KnowledgeBase) RemovePattern(uuid string) error
- func (kb KnowledgeBase) RemoveRule(uuid string) error
- func (kb KnowledgeBase) WriteGroup(ent entKb.Group) error
- func (kb KnowledgeBase) WriteGroups(ent map[string]entKb.Group) error
- func (kb KnowledgeBase) WriteKnowledgeBase(ent *entKb.KnowledgeBase) error
- func (kb KnowledgeBase) WriteMeta(ent entKb.Meta) error
- func (kb KnowledgeBase) WriteParameter(ent entKb.Parameter) error
- func (kb KnowledgeBase) WriteParameters(ent map[string]entKb.Parameter) error
- func (kb KnowledgeBase) WritePattern(ent entKb.Pattern) error
- func (kb KnowledgeBase) WritePatterns(ent map[string]entKb.Pattern) error
- func (kb KnowledgeBase) WriteRule(ent entKb.Rule) error
- func (kb KnowledgeBase) WriteRules(ent map[string]entKb.Rule) error
Constants ¶
View Source
const ( GroupsSubDir = "groups" ParametersSubDir = "parameters" PatternsSubDir = "patterns" RulesSubDir = "rules" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KnowledgeBase ¶
type KnowledgeBase struct {
// contains filtered or unexported fields
}
func (KnowledgeBase) ReadGroup ¶
func (kb KnowledgeBase) ReadGroup(uuid string) (entKb.Group, error)
func (KnowledgeBase) ReadGroups ¶
func (kb KnowledgeBase) ReadGroups() (map[string]entKb.Group, error)
func (KnowledgeBase) ReadKnowledgeBase ¶
func (kb KnowledgeBase) ReadKnowledgeBase() (*entKb.KnowledgeBase, error)
func (KnowledgeBase) ReadParameter ¶
func (kb KnowledgeBase) ReadParameter(uuid string) (entKb.Parameter, error)
func (KnowledgeBase) ReadParameters ¶
func (kb KnowledgeBase) ReadParameters() (map[string]entKb.Parameter, error)
func (KnowledgeBase) ReadPattern ¶
func (kb KnowledgeBase) ReadPattern(uuid string) (entKb.Pattern, error)
func (KnowledgeBase) ReadPatterns ¶
func (kb KnowledgeBase) ReadPatterns() (map[string]entKb.Pattern, error)
func (KnowledgeBase) RemoveGroup ¶
func (kb KnowledgeBase) RemoveGroup(uuid string) error
func (KnowledgeBase) RemoveKnowledgeBase ¶
func (kb KnowledgeBase) RemoveKnowledgeBase() error
func (KnowledgeBase) RemoveParameter ¶
func (kb KnowledgeBase) RemoveParameter(uuid string) error
func (KnowledgeBase) RemovePattern ¶
func (k KnowledgeBase) RemovePattern(uuid string) error
func (KnowledgeBase) RemoveRule ¶
func (kb KnowledgeBase) RemoveRule(uuid string) error
func (KnowledgeBase) WriteGroup ¶
func (kb KnowledgeBase) WriteGroup(ent entKb.Group) error
func (KnowledgeBase) WriteGroups ¶
func (kb KnowledgeBase) WriteGroups(ent map[string]entKb.Group) error
func (KnowledgeBase) WriteKnowledgeBase ¶
func (kb KnowledgeBase) WriteKnowledgeBase(ent *entKb.KnowledgeBase) error
func (KnowledgeBase) WriteParameter ¶
func (kb KnowledgeBase) WriteParameter(ent entKb.Parameter) error
func (KnowledgeBase) WriteParameters ¶
func (kb KnowledgeBase) WriteParameters(ent map[string]entKb.Parameter) error
func (KnowledgeBase) WritePattern ¶
func (kb KnowledgeBase) WritePattern(ent entKb.Pattern) error
func (KnowledgeBase) WritePatterns ¶
func (kb KnowledgeBase) WritePatterns(ent map[string]entKb.Pattern) error
func (KnowledgeBase) WriteRules ¶
func (kb KnowledgeBase) WriteRules(ent map[string]entKb.Rule) error
Click to show internal directories.
Click to hide internal directories.