Documentation
¶
Index ¶
- Constants
- type SystemBoltDBDriver
- func (b *SystemBoltDBDriver) BlacklistAToken(ctx context.Context, token map[string]interface{}) error
- func (b *SystemBoltDBDriver) CheckTokenBlacklisted(ctx context.Context, tokenId string) error
- func (b *SystemBoltDBDriver) DeleteProjectFromSystem(ctx context.Context, projectId string) error
- func (b *SystemBoltDBDriver) GetProject(ctx context.Context, id string) (*protobuff.Project, error)
- func (b *SystemBoltDBDriver) GetSystemUser(ctx context.Context, id string) (*protobuff.SystemUser, error)
- func (b *SystemBoltDBDriver) GetSystemUserByUsername(ctx context.Context, username string) (*protobuff.SystemUser, error)
- func (b *SystemBoltDBDriver) ListFunctions(ctx context.Context, param *shared.CommonSystemParams) (*shared.SearchResponse[protobuff.CloudFunction], error)
- func (b *SystemBoltDBDriver) RunMigration(ctx context.Context) error
- func (b *SystemBoltDBDriver) SaveRawData(ctx context.Context, collection string, data map[string]interface{}) error
- func (b *SystemBoltDBDriver) SearchResource(ctx context.Context, param *shared.CommonSystemParams) (*shared.SearchResponse[any], error)
- func (b *SystemBoltDBDriver) UpdateProject(ctx context.Context, project *protobuff.Project, replace bool) error
- func (b *SystemBoltDBDriver) UpdateSystemUser(ctx context.Context, user *protobuff.SystemUser, replace bool) error
Constants ¶
View Source
const ( UserBucket = "users" ProjectBucket = "projects" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemBoltDBDriver ¶
func GetSystemBoltDriver ¶
func GetSystemBoltDriver(engineConfig *protobuff.DriverCredentials) (*SystemBoltDBDriver, error)
func (*SystemBoltDBDriver) BlacklistAToken ¶
func (b *SystemBoltDBDriver) BlacklistAToken(ctx context.Context, token map[string]interface{}) error
func (*SystemBoltDBDriver) CheckTokenBlacklisted ¶
func (b *SystemBoltDBDriver) CheckTokenBlacklisted(ctx context.Context, tokenId string) error
func (*SystemBoltDBDriver) DeleteProjectFromSystem ¶
func (b *SystemBoltDBDriver) DeleteProjectFromSystem(ctx context.Context, projectId string) error
func (*SystemBoltDBDriver) GetProject ¶
func (*SystemBoltDBDriver) GetSystemUser ¶
func (b *SystemBoltDBDriver) GetSystemUser(ctx context.Context, id string) (*protobuff.SystemUser, error)
func (*SystemBoltDBDriver) GetSystemUserByUsername ¶
func (b *SystemBoltDBDriver) GetSystemUserByUsername(ctx context.Context, username string) (*protobuff.SystemUser, error)
func (*SystemBoltDBDriver) ListFunctions ¶
func (b *SystemBoltDBDriver) ListFunctions(ctx context.Context, param *shared.CommonSystemParams) (*shared.SearchResponse[protobuff.CloudFunction], error)
func (*SystemBoltDBDriver) RunMigration ¶
func (b *SystemBoltDBDriver) RunMigration(ctx context.Context) error
func (*SystemBoltDBDriver) SaveRawData ¶
func (*SystemBoltDBDriver) SearchResource ¶
func (b *SystemBoltDBDriver) SearchResource(ctx context.Context, param *shared.CommonSystemParams) (*shared.SearchResponse[any], error)
func (*SystemBoltDBDriver) UpdateProject ¶
func (*SystemBoltDBDriver) UpdateSystemUser ¶
func (b *SystemBoltDBDriver) UpdateSystemUser(ctx context.Context, user *protobuff.SystemUser, replace bool) error
Click to show internal directories.
Click to hide internal directories.