Documentation ¶
Index ¶
- type DB
- func (db *DB) GetUserUserAttributeByID(ctx context.Context, userUserAttributeID entry.UserUserAttributeID) (*entry.UserUserAttribute, error)
- func (db *DB) GetUserUserAttributeOptionsByID(ctx context.Context, userUserAttributeID entry.UserUserAttributeID) (*entry.AttributeOptions, error)
- func (db *DB) GetUserUserAttributePayloadByID(ctx context.Context, userUserAttributeID entry.UserUserAttributeID) (*entry.AttributePayload, error)
- func (db *DB) GetUserUserAttributeValueByID(ctx context.Context, userUserAttributeID entry.UserUserAttributeID) (*entry.AttributeValue, error)
- func (db *DB) GetUserUserAttributes(ctx context.Context) ([]*entry.UserUserAttribute, error)
- func (db *DB) GetUserUserAttributesBySourceUserID(ctx context.Context, sourceUserID umid.UMID) ([]*entry.UserUserAttribute, error)
- func (db *DB) GetUserUserAttributesBySourceUserIDAndTargetUserID(ctx context.Context, sourceUserID umid.UMID, targetUserID umid.UMID) ([]*entry.UserUserAttribute, error)
- func (db *DB) GetUserUserAttributesByTargetUserID(ctx context.Context, targetUserID umid.UMID) ([]*entry.UserUserAttribute, error)
- func (db *DB) GetUserUserAttributesCount(ctx context.Context) (int64, error)
- func (db *DB) RemoveUserUserAttributeByID(ctx context.Context, userUserAttributeID entry.UserUserAttributeID) error
- func (db *DB) RemoveUserUserAttributesByAttributeID(ctx context.Context, attributeID entry.AttributeID) error
- func (db *DB) RemoveUserUserAttributesByName(ctx context.Context, name string) error
- func (db *DB) RemoveUserUserAttributesByNameAndSourceUserID(ctx context.Context, name string, sourceUserID umid.UMID) error
- func (db *DB) RemoveUserUserAttributesByNameAndSourceUserIDAndTargetUserID(ctx context.Context, name string, sourceUserID umid.UMID, ...) error
- func (db *DB) RemoveUserUserAttributesByNameAndTargetUserID(ctx context.Context, name string, targetUserID umid.UMID) error
- func (db *DB) RemoveUserUserAttributesByNames(ctx context.Context, names []string) error
- func (db *DB) RemoveUserUserAttributesByNamesAndSourceUserID(ctx context.Context, names []string, sourceUserID umid.UMID) error
- func (db *DB) RemoveUserUserAttributesByNamesAndSourceUserIDAndTargetUserID(ctx context.Context, names []string, sourceUserID umid.UMID, ...) error
- func (db *DB) RemoveUserUserAttributesByNamesAndTargetUserID(ctx context.Context, names []string, targetUserID umid.UMID) error
- func (db *DB) RemoveUserUserAttributesByPluginID(ctx context.Context, pluginID umid.UMID) error
- func (db *DB) RemoveUserUserAttributesByPluginIDAndSourceUserID(ctx context.Context, pluginID umid.UMID, sourceUserID umid.UMID) error
- func (db *DB) RemoveUserUserAttributesByPluginIDAndSourceUserIDAndTargetUserID(ctx context.Context, pluginId umid.UMID, sourceUserID umid.UMID, ...) error
- func (db *DB) RemoveUserUserAttributesByPluginIDAndTargetUserID(ctx context.Context, pluginID umid.UMID, targetUserID umid.UMID) error
- func (db *DB) RemoveUserUserAttributesBySourceUserAttributeID(ctx context.Context, sourceUserAttributeID entry.UserAttributeID) error
- func (db *DB) RemoveUserUserAttributesBySourceUserID(ctx context.Context, sourceUserID umid.UMID) error
- func (db *DB) RemoveUserUserAttributesBySourceUserIDAndTargetUserID(ctx context.Context, sourceUserID umid.UMID, targetUserID umid.UMID) error
- func (db *DB) RemoveUserUserAttributesByTargetUserAttributeID(ctx context.Context, targetUserAttributeID entry.UserAttributeID) error
- func (db *DB) RemoveUserUserAttributesByTargetUserID(ctx context.Context, targetUserID umid.UMID) error
- func (db *DB) UpdateUserUserAttributeOptions(ctx context.Context, userUserAttributeID entry.UserUserAttributeID, ...) (*entry.AttributeOptions, error)
- func (db *DB) UpdateUserUserAttributeValue(ctx context.Context, userUserAttributeID entry.UserUserAttributeID, ...) (*entry.AttributeValue, error)
- func (db *DB) UpsertUserUserAttribute(ctx context.Context, userUserAttributeID entry.UserUserAttributeID, ...) (*entry.AttributePayload, 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) GetUserUserAttributeByID ¶ added in v0.2.0
func (db *DB) GetUserUserAttributeByID( ctx context.Context, userUserAttributeID entry.UserUserAttributeID, ) (*entry.UserUserAttribute, error)
func (*DB) GetUserUserAttributeOptionsByID ¶ added in v0.2.0
func (db *DB) GetUserUserAttributeOptionsByID( ctx context.Context, userUserAttributeID entry.UserUserAttributeID, ) (*entry.AttributeOptions, error)
func (*DB) GetUserUserAttributePayloadByID ¶ added in v0.2.0
func (db *DB) GetUserUserAttributePayloadByID( ctx context.Context, userUserAttributeID entry.UserUserAttributeID, ) (*entry.AttributePayload, error)
func (*DB) GetUserUserAttributeValueByID ¶ added in v0.2.0
func (db *DB) GetUserUserAttributeValueByID( ctx context.Context, userUserAttributeID entry.UserUserAttributeID, ) (*entry.AttributeValue, error)
func (*DB) GetUserUserAttributes ¶ added in v0.2.0
func (*DB) GetUserUserAttributesBySourceUserID ¶ added in v0.2.0
func (*DB) GetUserUserAttributesBySourceUserIDAndTargetUserID ¶ added in v0.2.0
func (*DB) GetUserUserAttributesByTargetUserID ¶ added in v0.2.0
func (*DB) GetUserUserAttributesCount ¶ added in v0.2.0
func (*DB) RemoveUserUserAttributeByID ¶ added in v0.2.0
func (*DB) RemoveUserUserAttributesByAttributeID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesByName ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesByNameAndSourceUserID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesByNameAndSourceUserIDAndTargetUserID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesByNameAndTargetUserID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesByNames ¶ added in v0.2.0
func (*DB) RemoveUserUserAttributesByNamesAndSourceUserID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesByNamesAndSourceUserIDAndTargetUserID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesByNamesAndTargetUserID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesByPluginID ¶ added in v0.2.0
func (*DB) RemoveUserUserAttributesByPluginIDAndSourceUserID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesByPluginIDAndSourceUserIDAndTargetUserID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesByPluginIDAndTargetUserID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesBySourceUserAttributeID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesBySourceUserID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesBySourceUserIDAndTargetUserID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesByTargetUserAttributeID ¶ added in v0.4.0
func (*DB) RemoveUserUserAttributesByTargetUserID ¶ added in v0.4.0
func (*DB) UpdateUserUserAttributeOptions ¶ added in v0.2.0
func (db *DB) UpdateUserUserAttributeOptions( ctx context.Context, userUserAttributeID entry.UserUserAttributeID, modifyFn modify.Fn[entry.AttributeOptions], ) (*entry.AttributeOptions, error)
func (*DB) UpdateUserUserAttributeValue ¶ added in v0.2.0
func (db *DB) UpdateUserUserAttributeValue( ctx context.Context, userUserAttributeID entry.UserUserAttributeID, modifyFn modify.Fn[entry.AttributeValue], ) (*entry.AttributeValue, error)
func (*DB) UpsertUserUserAttribute ¶ added in v0.2.0
func (db *DB) UpsertUserUserAttribute( ctx context.Context, userUserAttributeID entry.UserUserAttributeID, modifyFn modify.Fn[entry.AttributePayload], ) (*entry.AttributePayload, error)
Click to show internal directories.
Click to hide internal directories.