Documentation ¶
Index ¶
- type DB
- func (db *DB) GetAttributeTypes(ctx context.Context) ([]*entry.AttributeType, error)
- func (db *DB) RemoveAttributeTypeByID(ctx context.Context, attributeTypeID entry.AttributeTypeID) error
- func (db *DB) RemoveAttributeTypesByIDs(ctx context.Context, attributeTypeIDs []entry.AttributeTypeID) error
- func (db *DB) RemoveAttributeTypesByName(ctx context.Context, name string) error
- func (db *DB) RemoveAttributeTypesByNames(ctx context.Context, names []string) error
- func (db *DB) RemoveAttributeTypesByPluginID(ctx context.Context, pluginID umid.UMID) error
- func (db *DB) UpdateAttributeTypeDescription(ctx context.Context, attributeTypeID entry.AttributeTypeID, ...) error
- func (db *DB) UpdateAttributeTypeName(ctx context.Context, attributeTypeID entry.AttributeTypeID, name string) error
- func (db *DB) UpdateAttributeTypeOptions(ctx context.Context, attributeTypeID entry.AttributeTypeID, ...) error
- func (db *DB) UpsertAttributeType(ctx context.Context, attributeType *entry.AttributeType) error
- func (db *DB) UpsertAttributeTypes(ctx context.Context, attributeTypes []*entry.AttributeType) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetAttributeTypes ¶ added in v0.2.0
func (*DB) RemoveAttributeTypeByID ¶ added in v0.2.0
func (*DB) RemoveAttributeTypesByIDs ¶ added in v0.2.0
func (*DB) RemoveAttributeTypesByName ¶ added in v0.4.0
func (*DB) RemoveAttributeTypesByNames ¶ added in v0.2.0
func (*DB) RemoveAttributeTypesByPluginID ¶ added in v0.2.0
func (*DB) UpdateAttributeTypeDescription ¶ added in v0.2.0
func (*DB) UpdateAttributeTypeName ¶ added in v0.2.0
func (*DB) UpdateAttributeTypeOptions ¶ added in v0.2.0
func (db *DB) UpdateAttributeTypeOptions( ctx context.Context, attributeTypeID entry.AttributeTypeID, options *entry.AttributeOptions, ) error
func (*DB) UpsertAttributeType ¶ added in v0.2.0
func (*DB) UpsertAttributeTypes ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.