Documentation ¶
Index ¶
- func ApplicationByID(db *gorm.DB, table, projectID, appID string) (*model.ApplicationView, error)
- func ApplicationByOIDCClientID(db *gorm.DB, table, clientID string) (*model.ApplicationView, error)
- func ApplicationByProjectIDAndAppName(db *gorm.DB, table, projectID, appName string) (*model.ApplicationView, error)
- func ApplicationsByProjectID(db *gorm.DB, table, projectID string) ([]*model.ApplicationView, error)
- func ChangesQuery(projectID string, latestSequence, limit uint64, sortAscending bool, ...) *es_models.SearchQuery
- func DeleteApplication(db *gorm.DB, table, appID string) error
- func DeleteApplicationsByProjectID(db *gorm.DB, table, projectID string) error
- func DeleteProject(db *gorm.DB, table, projectID string) error
- func DeleteProjectGrant(db *gorm.DB, table, grantID string) error
- func DeleteProjectGrantMember(db *gorm.DB, table, grantID, userID string) error
- func DeleteProjectGrantMembersByProjectID(db *gorm.DB, table, projectID string) error
- func DeleteProjectGrantMembersByUserID(db *gorm.DB, table, userID string) error
- func DeleteProjectGrantsByProjectID(db *gorm.DB, table, projectID string) error
- func DeleteProjectMember(db *gorm.DB, table, projectID, userID string) error
- func DeleteProjectMembersByProjectID(db *gorm.DB, table, projectID string) error
- func DeleteProjectMembersByUserID(db *gorm.DB, table, userID string) error
- func DeleteProjectRole(db *gorm.DB, table, projectID, orgID, key string) error
- func DeleteProjectRolesByProjectID(db *gorm.DB, table, projectID string) error
- func ProjectByID(db *gorm.DB, table, projectID string) (*model.ProjectView, error)
- func ProjectByIDQuery(id string, latestSequence uint64) (*es_models.SearchQuery, error)
- func ProjectGrantByID(db *gorm.DB, table, grantID string) (*model.ProjectGrantView, error)
- func ProjectGrantByProjectAndOrg(db *gorm.DB, table, projectID, orgID string) (*model.ProjectGrantView, error)
- func ProjectGrantMemberByIDs(db *gorm.DB, table, grantID, userID string) (*model.ProjectGrantMemberView, error)
- func ProjectGrantMembersByProjectID(db *gorm.DB, table, projectID string) ([]*model.ProjectGrantMemberView, error)
- func ProjectGrantMembersByUserID(db *gorm.DB, table, userID string) ([]*model.ProjectGrantMemberView, error)
- func ProjectGrantsByProjectID(db *gorm.DB, table, projectID string) ([]*model.ProjectGrantView, error)
- func ProjectGrantsByProjectIDAndRoleKey(db *gorm.DB, table, projectID, roleKey string) ([]*model.ProjectGrantView, error)
- func ProjectMemberByIDs(db *gorm.DB, table, projectID, userID string) (*model.ProjectMemberView, error)
- func ProjectMembersByProjectID(db *gorm.DB, table, projectID string) ([]*model.ProjectMemberView, error)
- func ProjectMembersByUserID(db *gorm.DB, table string, userID string) ([]*model.ProjectMemberView, error)
- func ProjectQuery(latestSequence uint64) *es_models.SearchQuery
- func ProjectRoleByIDs(db *gorm.DB, table, projectID, orgID, key string) (*model.ProjectRoleView, error)
- func ProjectRolesByProjectID(db *gorm.DB, table, projectID string) ([]*model.ProjectRoleView, error)
- func ProjectsByResourceOwner(db *gorm.DB, table, orgID string) ([]*model.ProjectView, error)
- func PutApplication(db *gorm.DB, table string, app *model.ApplicationView) error
- func PutApplications(db *gorm.DB, table string, apps ...*model.ApplicationView) error
- func PutProject(db *gorm.DB, table string, project *model.ProjectView) error
- func PutProjectGrant(db *gorm.DB, table string, grant *model.ProjectGrantView) error
- func PutProjectGrantMember(db *gorm.DB, table string, role *model.ProjectGrantMemberView) error
- func PutProjectGrantMembers(db *gorm.DB, table string, members ...*model.ProjectGrantMemberView) error
- func PutProjectGrants(db *gorm.DB, table string, grants ...*model.ProjectGrantView) error
- func PutProjectMember(db *gorm.DB, table string, role *model.ProjectMemberView) error
- func PutProjectMembers(db *gorm.DB, table string, members ...*model.ProjectMemberView) error
- func PutProjectRole(db *gorm.DB, table string, role *model.ProjectRoleView) error
- func ResourceOwnerProjectRoles(db *gorm.DB, table, projectID, resourceOwner string) ([]*model.ProjectRoleView, error)
- func ResourceOwnerProjectRolesByKey(db *gorm.DB, table, projectID, resourceOwner, key string) ([]*model.ProjectRoleView, error)
- func SearchApplications(db *gorm.DB, table string, req *proj_model.ApplicationSearchRequest) ([]*model.ApplicationView, uint64, error)
- func SearchProjectGrantMembers(db *gorm.DB, table string, req *proj_model.ProjectGrantMemberSearchRequest) ([]*model.ProjectGrantMemberView, uint64, error)
- func SearchProjectGrants(db *gorm.DB, table string, req *proj_model.ProjectGrantViewSearchRequest) ([]*model.ProjectGrantView, uint64, error)
- func SearchProjectMembers(db *gorm.DB, table string, req *proj_model.ProjectMemberSearchRequest) ([]*model.ProjectMemberView, uint64, error)
- func SearchProjectRoles(db *gorm.DB, table string, req *proj_model.ProjectRoleSearchRequest) ([]*model.ProjectRoleView, uint64, error)
- func SearchProjects(db *gorm.DB, table string, req *proj_model.ProjectViewSearchRequest) ([]*model.ProjectView, uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplicationByID ¶
func ApplicationByOIDCClientID ¶ added in v0.20.0
func ApplicationByProjectIDAndAppName ¶ added in v0.20.0
func ApplicationsByProjectID ¶ added in v0.67.2
func ChangesQuery ¶ added in v0.119.0
func DeleteApplicationsByProjectID ¶ added in v0.67.2
func DeleteProject ¶ added in v0.25.0
func DeleteProjectGrant ¶ added in v0.25.0
func DeleteProjectGrantMembersByProjectID ¶ added in v0.67.2
func DeleteProjectGrantMembersByUserID ¶ added in v1.12.2
func DeleteProjectGrantsByProjectID ¶ added in v0.67.2
func DeleteProjectMember ¶
func DeleteProjectMembersByProjectID ¶ added in v0.67.2
func DeleteProjectMembersByUserID ¶ added in v1.12.2
func DeleteProjectRole ¶
func DeleteProjectRolesByProjectID ¶ added in v0.67.2
func ProjectByID ¶ added in v0.25.0
func ProjectByIDQuery ¶ added in v0.119.0
func ProjectByIDQuery(id string, latestSequence uint64) (*es_models.SearchQuery, error)
func ProjectGrantByID ¶ added in v0.25.0
func ProjectGrantByProjectAndOrg ¶ added in v0.25.0
func ProjectGrantMemberByIDs ¶
func ProjectGrantMembersByProjectID ¶ added in v0.67.2
func ProjectGrantsByProjectID ¶ added in v0.25.0
func ProjectGrantsByProjectIDAndRoleKey ¶ added in v0.32.0
func ProjectMemberByIDs ¶
func ProjectMembersByProjectID ¶ added in v0.67.2
func ProjectMembersByUserID ¶
func ProjectQuery ¶ added in v0.119.0
func ProjectQuery(latestSequence uint64) *es_models.SearchQuery
func ProjectRoleByIDs ¶
func ProjectRolesByProjectID ¶ added in v0.67.2
func ProjectsByResourceOwner ¶ added in v0.25.0
func PutApplication ¶
func PutApplications ¶ added in v0.94.0
func PutProject ¶ added in v0.25.0
func PutProjectGrant ¶ added in v0.25.0
func PutProjectGrantMember ¶
func PutProjectGrantMembers ¶ added in v0.77.2
func PutProjectGrants ¶ added in v0.77.2
func PutProjectMember ¶
func PutProjectMembers ¶ added in v0.77.2
func PutProjectRole ¶
func SearchApplications ¶
func SearchApplications(db *gorm.DB, table string, req *proj_model.ApplicationSearchRequest) ([]*model.ApplicationView, uint64, error)
func SearchProjectGrantMembers ¶
func SearchProjectGrantMembers(db *gorm.DB, table string, req *proj_model.ProjectGrantMemberSearchRequest) ([]*model.ProjectGrantMemberView, uint64, error)
func SearchProjectGrants ¶ added in v0.25.0
func SearchProjectGrants(db *gorm.DB, table string, req *proj_model.ProjectGrantViewSearchRequest) ([]*model.ProjectGrantView, uint64, error)
func SearchProjectMembers ¶
func SearchProjectMembers(db *gorm.DB, table string, req *proj_model.ProjectMemberSearchRequest) ([]*model.ProjectMemberView, uint64, error)
func SearchProjectRoles ¶
func SearchProjectRoles(db *gorm.DB, table string, req *proj_model.ProjectRoleSearchRequest) ([]*model.ProjectRoleView, uint64, error)
func SearchProjects ¶ added in v0.25.0
func SearchProjects(db *gorm.DB, table string, req *proj_model.ProjectViewSearchRequest) ([]*model.ProjectView, uint64, error)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.