attribute_types

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttributeTypes

type AttributeTypes struct {
	// contains filtered or unexported fields
}

func NewAttributeTypes

func NewAttributeTypes(db database.DB) *AttributeTypes

func (*AttributeTypes) AddAttributeType

func (a *AttributeTypes) AddAttributeType(attributeType universe.AttributeType, updateDB bool) error

func (*AttributeTypes) AddAttributeTypes

func (a *AttributeTypes) AddAttributeTypes(attributeTypes []universe.AttributeType, updateDB bool) error

func (*AttributeTypes) CreateAttributeType

func (a *AttributeTypes) CreateAttributeType(attributeTypeID entry.AttributeTypeID) (universe.AttributeType, error)

func (*AttributeTypes) FilterAttributeTypes

func (*AttributeTypes) GetAttributeType

func (a *AttributeTypes) GetAttributeType(attributeTypeID entry.AttributeTypeID) (universe.AttributeType, bool)

func (*AttributeTypes) GetAttributeTypes

func (a *AttributeTypes) GetAttributeTypes() map[entry.AttributeTypeID]universe.AttributeType

func (*AttributeTypes) Initialize

func (a *AttributeTypes) Initialize(ctx types.LoggerContext) error

func (*AttributeTypes) Load

func (a *AttributeTypes) Load() error

func (*AttributeTypes) RegisterAPI

func (a *AttributeTypes) RegisterAPI(r *gin.Engine)

func (*AttributeTypes) RemoveAttributeType

func (a *AttributeTypes) RemoveAttributeType(attributeType universe.AttributeType, updateDB bool) (bool, error)

TODO: update node/object attributes

func (*AttributeTypes) RemoveAttributeTypes

func (a *AttributeTypes) RemoveAttributeTypes(attributeTypes []universe.AttributeType, updateDB bool) (bool, error)

TODO: update node/object attributes

func (*AttributeTypes) Save

func (a *AttributeTypes) Save() error

Jump to

Keyboard shortcuts

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