Documentation ¶
Index ¶
- type DB
- func (db *DB) GetObjectAttributeByID(ctx context.Context, objectAttributeID entry.ObjectAttributeID) (*entry.ObjectAttribute, error)
- func (db *DB) GetObjectAttributes(ctx context.Context) ([]*entry.ObjectAttribute, error)
- func (db *DB) GetObjectAttributesByAttributeID(ctx context.Context, attributeID entry.AttributeID) ([]*entry.ObjectAttribute, error)
- func (db *DB) GetObjectAttributesByObjectID(ctx context.Context, objectID umid.UMID) ([]*entry.ObjectAttribute, error)
- func (db *DB) RemoveObjectAttributeByID(ctx context.Context, objectAttributeID entry.ObjectAttributeID) error
- func (db *DB) RemoveObjectAttributesByAttributeID(ctx context.Context, attributeID entry.AttributeID) error
- func (db *DB) RemoveObjectAttributesByName(ctx context.Context, name string) error
- func (db *DB) RemoveObjectAttributesByNameAndObjectID(ctx context.Context, name string, objectID umid.UMID) error
- func (db *DB) RemoveObjectAttributesByNames(ctx context.Context, names []string) error
- func (db *DB) RemoveObjectAttributesByNamesAndObjectID(ctx context.Context, names []string, objectID umid.UMID) error
- func (db *DB) RemoveObjectAttributesByObjectID(ctx context.Context, objectID umid.UMID) error
- func (db *DB) RemoveObjectAttributesByPluginID(ctx context.Context, pluginID umid.UMID) error
- func (db *DB) RemoveObjectAttributesByPluginIDAndObjectID(ctx context.Context, pluginID umid.UMID, objectID umid.UMID) error
- func (db *DB) UpdateObjectAttributeOptions(ctx context.Context, objectAttributeID entry.ObjectAttributeID, ...) error
- func (db *DB) UpdateObjectAttributeValue(ctx context.Context, objectAttributeID entry.ObjectAttributeID, ...) error
- func (db *DB) UpsertObjectAttribute(ctx context.Context, objectAttribute *entry.ObjectAttribute) error
- func (db *DB) UpsertObjectAttributes(ctx context.Context, objectAttributes []*entry.ObjectAttribute) 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) GetObjectAttributeByID ¶
func (db *DB) GetObjectAttributeByID( ctx context.Context, objectAttributeID entry.ObjectAttributeID, ) (*entry.ObjectAttribute, error)
func (*DB) GetObjectAttributes ¶
func (*DB) GetObjectAttributesByAttributeID ¶
func (db *DB) GetObjectAttributesByAttributeID( ctx context.Context, attributeID entry.AttributeID, ) ([]*entry.ObjectAttribute, error)
func (*DB) GetObjectAttributesByObjectID ¶
func (*DB) RemoveObjectAttributeByID ¶
func (*DB) RemoveObjectAttributesByAttributeID ¶
func (*DB) RemoveObjectAttributesByName ¶
func (*DB) RemoveObjectAttributesByNameAndObjectID ¶
func (*DB) RemoveObjectAttributesByNames ¶
func (*DB) RemoveObjectAttributesByNamesAndObjectID ¶
func (*DB) RemoveObjectAttributesByObjectID ¶
func (*DB) RemoveObjectAttributesByPluginID ¶
func (*DB) RemoveObjectAttributesByPluginIDAndObjectID ¶
func (*DB) UpdateObjectAttributeOptions ¶
func (db *DB) UpdateObjectAttributeOptions( ctx context.Context, objectAttributeID entry.ObjectAttributeID, options *entry.AttributeOptions, ) error
func (*DB) UpdateObjectAttributeValue ¶
func (db *DB) UpdateObjectAttributeValue( ctx context.Context, objectAttributeID entry.ObjectAttributeID, value *entry.AttributeValue, ) error
func (*DB) UpsertObjectAttribute ¶
func (*DB) UpsertObjectAttributes ¶
Click to show internal directories.
Click to hide internal directories.