Documentation ¶
Index ¶
- type Team
- type TeamRbacObjects
- type TeamRepository
- type TeamRepositoryImpl
- func (impl TeamRepositoryImpl) FindAll() ([]Team, error)
- func (repo TeamRepositoryImpl) FindByIds(ids []*int) ([]*Team, error)
- func (impl TeamRepositoryImpl) FindByTeamName(name string) (Team, error)
- func (impl TeamRepositoryImpl) FindOne(id int) (Team, error)
- func (repo TeamRepositoryImpl) FindTeamByAppId(appId int) (*Team, error)
- func (repo TeamRepositoryImpl) FindTeamByAppName(appName string) (*Team, error)
- func (repo TeamRepositoryImpl) FindTeamByAppNameV2() ([]*TeamRbacObjects, error)
- func (impl TeamRepositoryImpl) Save(team *Team) error
- func (impl TeamRepositoryImpl) Update(team *Team) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TeamRbacObjects ¶
type TeamRepository ¶
type TeamRepository interface { Save(team *Team) error FindAll() ([]Team, error) FindOne(id int) (Team, error) FindByTeamName(name string) (Team, error) Update(team *Team) error FindTeamByAppId(appId int) (*Team, error) FindTeamByAppName(appName string) (*Team, error) FindTeamByAppNameV2() ([]*TeamRbacObjects, error) FindByIds(ids []*int) ([]*Team, error) }
type TeamRepositoryImpl ¶
type TeamRepositoryImpl struct {
// contains filtered or unexported fields
}
func NewTeamRepositoryImpl ¶
func NewTeamRepositoryImpl(dbConnection *pg.DB) *TeamRepositoryImpl
func (TeamRepositoryImpl) FindAll ¶
func (impl TeamRepositoryImpl) FindAll() ([]Team, error)
func (TeamRepositoryImpl) FindByIds ¶
func (repo TeamRepositoryImpl) FindByIds(ids []*int) ([]*Team, error)
func (TeamRepositoryImpl) FindByTeamName ¶
func (impl TeamRepositoryImpl) FindByTeamName(name string) (Team, error)
func (TeamRepositoryImpl) FindTeamByAppId ¶
func (repo TeamRepositoryImpl) FindTeamByAppId(appId int) (*Team, error)
func (TeamRepositoryImpl) FindTeamByAppName ¶
func (repo TeamRepositoryImpl) FindTeamByAppName(appName string) (*Team, error)
func (TeamRepositoryImpl) FindTeamByAppNameV2 ¶
func (repo TeamRepositoryImpl) FindTeamByAppNameV2() ([]*TeamRbacObjects, error)
func (TeamRepositoryImpl) Save ¶
func (impl TeamRepositoryImpl) Save(team *Team) error
func (TeamRepositoryImpl) Update ¶
func (impl TeamRepositoryImpl) Update(team *Team) error
Click to show internal directories.
Click to hide internal directories.