knowledge

package
v0.0.0-...-dfb39b5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildContext

func BuildContext(ctx context.Context, kbStore KnowledgeBaseStore, ns NamespaceLookup, mod ModuleLookup, ids []uint64) string

@todo we probably need to make this more efficient to reduce DB access

Types

type KnowledgeBaseStore

type KnowledgeBaseStore interface {
	FindByID(ctx context.Context, ID uint64) (*sysTypes.KnowledgeBase, error)
}

type ModuleLookup

type ModuleLookup interface {
	FindByID(ctx context.Context, namespaceID, moduleID uint64) (*cmpTypes.Module, error)
}

type NamespaceLookup

type NamespaceLookup interface {
	FindByID(ctx context.Context, namespaceID uint64) (*cmpTypes.Namespace, error)
}

Jump to

Keyboard shortcuts

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