Documentation
¶
Index ¶
- Constants
- type SystemBadgerDriver
- func (b *SystemBadgerDriver) AddATeamMemberToProject(ctx context.Context, projectId string, memberData map[string]interface{}) error
- func (b *SystemBadgerDriver) AddSystemUserMetaInfo(ctx context.Context, doc *shared.DefaultDocumentStructure) (*shared.DefaultDocumentStructure, error)
- func (b *SystemBadgerDriver) AddTeamMetaInfo(ctx context.Context, docs []*protobuff.SystemUser) ([]*protobuff.SystemUser, error)
- func (b *SystemBadgerDriver) BlacklistAToken(ctx context.Context, token map[string]interface{}) error
- func (b *SystemBadgerDriver) CheckProjectName(ctx context.Context, name string) error
- func (b *SystemBadgerDriver) CheckTokenBlacklisted(ctx context.Context, tokenId string) error
- func (b *SystemBadgerDriver) DeleteProjectFromSystem(ctx context.Context, projectId string) error
- func (b *SystemBadgerDriver) GetATeamMemberFromProject(ctx context.Context, projectId string, memberID string) error
- func (b *SystemBadgerDriver) GetProject(ctx context.Context, id string) (*protobuff.Project, error)
- func (b *SystemBadgerDriver) GetSystemUser(ctx context.Context, id string) (*protobuff.SystemUser, error)
- func (b *SystemBadgerDriver) GetSystemUserByUsername(ctx context.Context, username string) (*protobuff.SystemUser, error)
- func (b *SystemBadgerDriver) GetSystemUsers(ctx context.Context, keys []string) (map[string]*protobuff.SystemUser, error)
- func (b *SystemBadgerDriver) ListAllProjects(ctx context.Context, userId string) ([]*protobuff.Project, error)
- func (b *SystemBadgerDriver) ListAllUsers(ctx context.Context) ([]*protobuff.SystemUser, error)
- func (b *SystemBadgerDriver) ListFunctions(ctx context.Context, param *shared.CommonSystemParams) (*shared.SearchResponse[protobuff.CloudFunction], error)
- func (b *SystemBadgerDriver) ListProjects(ctx context.Context, param *shared.CommonSystemParams) (*shared.SearchResponse[protobuff.Project], error)
- func (b *SystemBadgerDriver) ListTeams(ctx context.Context, projectId string) ([]*protobuff.SystemUser, error)
- func (b *SystemBadgerDriver) RemoveATeamMemberFromProject(ctx context.Context, projectId string, memberID string) error
- func (b *SystemBadgerDriver) RunMigration(ctx context.Context) error
- func (b *SystemBadgerDriver) SaveRawData(ctx context.Context, collection string, data map[string]interface{}) error
- func (b *SystemBadgerDriver) SearchResource(ctx context.Context, param *shared.CommonSystemParams) (*shared.SearchResponse[any], error)
- func (b *SystemBadgerDriver) SearchUsers(ctx context.Context, param *shared.CommonSystemParams) (*shared.SearchResponse[protobuff.SystemUser], error)
- func (b *SystemBadgerDriver) UpdateProject(ctx context.Context, project *protobuff.Project, replace bool) error
- func (b *SystemBadgerDriver) UpdateSystemUser(ctx context.Context, user *protobuff.SystemUser, replace bool) error
Constants ¶
View Source
const ( ProjectCollection = "projects" UsersCollection = "users" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemBadgerDriver ¶ added in v0.0.6
func GetSystemBadgerDriver ¶
func GetSystemBadgerDriver(cfg *protobuff.DriverCredentials) (*SystemBadgerDriver, error)
func (*SystemBadgerDriver) AddATeamMemberToProject ¶ added in v0.0.6
func (*SystemBadgerDriver) AddSystemUserMetaInfo ¶ added in v0.0.6
func (b *SystemBadgerDriver) AddSystemUserMetaInfo(ctx context.Context, doc *shared.DefaultDocumentStructure) (*shared.DefaultDocumentStructure, error)
func (*SystemBadgerDriver) AddTeamMetaInfo ¶ added in v0.0.6
func (b *SystemBadgerDriver) AddTeamMetaInfo(ctx context.Context, docs []*protobuff.SystemUser) ([]*protobuff.SystemUser, error)
func (*SystemBadgerDriver) BlacklistAToken ¶ added in v0.0.6
func (b *SystemBadgerDriver) BlacklistAToken(ctx context.Context, token map[string]interface{}) error
func (*SystemBadgerDriver) CheckProjectName ¶ added in v0.0.6
func (b *SystemBadgerDriver) CheckProjectName(ctx context.Context, name string) error
func (*SystemBadgerDriver) CheckTokenBlacklisted ¶ added in v0.0.6
func (b *SystemBadgerDriver) CheckTokenBlacklisted(ctx context.Context, tokenId string) error
func (*SystemBadgerDriver) DeleteProjectFromSystem ¶ added in v0.0.6
func (b *SystemBadgerDriver) DeleteProjectFromSystem(ctx context.Context, projectId string) error
func (*SystemBadgerDriver) GetATeamMemberFromProject ¶ added in v0.0.6
func (*SystemBadgerDriver) GetProject ¶ added in v0.0.6
func (*SystemBadgerDriver) GetSystemUser ¶ added in v0.0.6
func (b *SystemBadgerDriver) GetSystemUser(ctx context.Context, id string) (*protobuff.SystemUser, error)
func (*SystemBadgerDriver) GetSystemUserByUsername ¶ added in v0.0.6
func (b *SystemBadgerDriver) GetSystemUserByUsername(ctx context.Context, username string) (*protobuff.SystemUser, error)
func (*SystemBadgerDriver) GetSystemUsers ¶ added in v0.0.6
func (b *SystemBadgerDriver) GetSystemUsers(ctx context.Context, keys []string) (map[string]*protobuff.SystemUser, error)
func (*SystemBadgerDriver) ListAllProjects ¶ added in v0.0.6
func (*SystemBadgerDriver) ListAllUsers ¶ added in v0.0.6
func (b *SystemBadgerDriver) ListAllUsers(ctx context.Context) ([]*protobuff.SystemUser, error)
func (*SystemBadgerDriver) ListFunctions ¶ added in v0.0.6
func (b *SystemBadgerDriver) ListFunctions(ctx context.Context, param *shared.CommonSystemParams) (*shared.SearchResponse[protobuff.CloudFunction], error)
func (*SystemBadgerDriver) ListProjects ¶ added in v0.0.6
func (b *SystemBadgerDriver) ListProjects(ctx context.Context, param *shared.CommonSystemParams) (*shared.SearchResponse[protobuff.Project], error)
func (*SystemBadgerDriver) ListTeams ¶ added in v0.0.6
func (b *SystemBadgerDriver) ListTeams(ctx context.Context, projectId string) ([]*protobuff.SystemUser, error)
func (*SystemBadgerDriver) RemoveATeamMemberFromProject ¶ added in v0.0.6
func (*SystemBadgerDriver) RunMigration ¶ added in v0.0.6
func (b *SystemBadgerDriver) RunMigration(ctx context.Context) error
func (*SystemBadgerDriver) SaveRawData ¶ added in v0.0.6
func (*SystemBadgerDriver) SearchResource ¶ added in v0.0.6
func (b *SystemBadgerDriver) SearchResource(ctx context.Context, param *shared.CommonSystemParams) (*shared.SearchResponse[any], error)
func (*SystemBadgerDriver) SearchUsers ¶ added in v0.0.6
func (b *SystemBadgerDriver) SearchUsers(ctx context.Context, param *shared.CommonSystemParams) (*shared.SearchResponse[protobuff.SystemUser], error)
func (*SystemBadgerDriver) UpdateProject ¶ added in v0.0.6
func (*SystemBadgerDriver) UpdateSystemUser ¶ added in v0.0.6
func (b *SystemBadgerDriver) UpdateSystemUser(ctx context.Context, user *protobuff.SystemUser, replace bool) error
Click to show internal directories.
Click to hide internal directories.