Documentation ¶
Index ¶
- type Access
- type ConceptRepo
- func (this *ConceptRepo) GetCharacteristic(id string) (characteristic model.Characteristic, err error)
- func (this *ConceptRepo) GetCharacteristicsOfFunction(functionId string) (characteristicIds []string, err error)
- func (this *ConceptRepo) GetConcept(id string) (concept model.Concept, err error)
- func (this *ConceptRepo) GetConceptIdOfFunction(id string) string
- func (this *ConceptRepo) GetConceptsOfCharacteristic(characteristicId string) (conceptIds []string, err error)
- func (this *ConceptRepo) GetRootCharacteristics(ids []string) (result []string)
- func (this *ConceptRepo) Load() error
- type ConceptRepoDefault
- type FunctionInfo
- type IdWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Access ¶
type Access interface {
Ensure() (config.Impersonate, error)
}
type ConceptRepo ¶
type ConceptRepo struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, conf config.Config, access Access, defaults ...ConceptRepoDefault) (result *ConceptRepo, err error)
func (*ConceptRepo) GetCharacteristic ¶
func (this *ConceptRepo) GetCharacteristic(id string) (characteristic model.Characteristic, err error)
func (*ConceptRepo) GetCharacteristicsOfFunction ¶
func (this *ConceptRepo) GetCharacteristicsOfFunction(functionId string) (characteristicIds []string, err error)
func (*ConceptRepo) GetConcept ¶
func (this *ConceptRepo) GetConcept(id string) (concept model.Concept, err error)
func (*ConceptRepo) GetConceptIdOfFunction ¶
func (this *ConceptRepo) GetConceptIdOfFunction(id string) string
func (*ConceptRepo) GetConceptsOfCharacteristic ¶
func (this *ConceptRepo) GetConceptsOfCharacteristic(characteristicId string) (conceptIds []string, err error)
func (*ConceptRepo) GetRootCharacteristics ¶
func (this *ConceptRepo) GetRootCharacteristics(ids []string) (result []string)
func (*ConceptRepo) Load ¶
func (this *ConceptRepo) Load() error
type ConceptRepoDefault ¶
type ConceptRepoDefault struct { Concept model.Concept Characteristics []model.Characteristic }
type FunctionInfo ¶
Click to show internal directories.
Click to hide internal directories.