Documentation ¶
Index ¶
- type DB
- func (db *DB) GetSpaceAttributeByID(ctx context.Context, spaceAttributeID entry.SpaceAttributeID) (*entry.SpaceAttribute, error)
- func (db *DB) GetSpaceAttributes(ctx context.Context) ([]*entry.SpaceAttribute, error)
- func (db *DB) GetSpaceAttributesByPluginIDAndName(ctx context.Context, pluginID uuid.UUID, attributeName string) ([]*entry.SpaceAttribute, error)
- func (db *DB) GetSpaceAttributesBySpaceID(ctx context.Context, spaceID uuid.UUID) ([]*entry.SpaceAttribute, error)
- func (db *DB) RemoveSpaceAttributeByAttributeID(ctx context.Context, attributeID entry.AttributeID) error
- func (db *DB) RemoveSpaceAttributeByID(ctx context.Context, spaceAttributeID entry.SpaceAttributeID) error
- func (db *DB) RemoveSpaceAttributeByName(ctx context.Context, name string) error
- func (db *DB) RemoveSpaceAttributeByNameAndSpaceID(ctx context.Context, name string, spaceID uuid.UUID) error
- func (db *DB) RemoveSpaceAttributeByNamesAndSpaceID(ctx context.Context, names []string, spaceID uuid.UUID) error
- func (db *DB) RemoveSpaceAttributeByPluginIDAndSpaceID(ctx context.Context, pluginID uuid.UUID, spaceID uuid.UUID) error
- func (db *DB) RemoveSpaceAttributeBySpaceID(ctx context.Context, spaceID uuid.UUID) error
- func (db *DB) RemoveSpaceAttributesByNames(ctx context.Context, names []string) error
- func (db *DB) RemoveSpaceAttributesByPluginID(ctx context.Context, pluginID uuid.UUID) error
- func (db *DB) UpdateSpaceAttributeOptions(ctx context.Context, spaceAttributeID entry.SpaceAttributeID, ...) error
- func (db *DB) UpdateSpaceAttributeValue(ctx context.Context, spaceAttributeID entry.SpaceAttributeID, ...) error
- func (db *DB) UpsertSpaceAttribute(ctx context.Context, spaceAttribute *entry.SpaceAttribute) error
- func (db *DB) UpsertSpaceAttributes(ctx context.Context, spaceAttributes []*entry.SpaceAttribute) 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) GetSpaceAttributeByID ¶ added in v0.2.0
func (db *DB) GetSpaceAttributeByID( ctx context.Context, spaceAttributeID entry.SpaceAttributeID, ) (*entry.SpaceAttribute, error)
func (*DB) GetSpaceAttributes ¶ added in v0.2.0
func (*DB) GetSpaceAttributesByPluginIDAndName ¶ added in v0.2.0
func (*DB) GetSpaceAttributesBySpaceID ¶ added in v0.2.0
func (*DB) RemoveSpaceAttributeByAttributeID ¶ added in v0.2.0
func (*DB) RemoveSpaceAttributeByID ¶ added in v0.2.0
func (*DB) RemoveSpaceAttributeByName ¶ added in v0.2.0
func (*DB) RemoveSpaceAttributeByNameAndSpaceID ¶ added in v0.2.0
func (*DB) RemoveSpaceAttributeByNamesAndSpaceID ¶ added in v0.2.0
func (*DB) RemoveSpaceAttributeByPluginIDAndSpaceID ¶ added in v0.2.0
func (*DB) RemoveSpaceAttributeBySpaceID ¶ added in v0.2.0
func (*DB) RemoveSpaceAttributesByNames ¶ added in v0.2.0
func (*DB) RemoveSpaceAttributesByPluginID ¶ added in v0.2.0
func (*DB) UpdateSpaceAttributeOptions ¶ added in v0.2.0
func (db *DB) UpdateSpaceAttributeOptions( ctx context.Context, spaceAttributeID entry.SpaceAttributeID, options *entry.AttributeOptions, ) error
func (*DB) UpdateSpaceAttributeValue ¶ added in v0.2.0
func (db *DB) UpdateSpaceAttributeValue( ctx context.Context, spaceAttributeID entry.SpaceAttributeID, value *entry.AttributeValue, ) error
func (*DB) UpsertSpaceAttribute ¶ added in v0.2.0
func (*DB) UpsertSpaceAttributes ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.