Documentation ¶
Index ¶
- type Team
- type TeamRbacObjects
- type TeamRepository
- type TeamRepositoryImpl
- func (repo TeamRepositoryImpl) FindActiveTeamByAppName(appName string) (*Team, error)
- func (impl TeamRepositoryImpl) FindAllActive() ([]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 (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 FindAllActive() ([]Team, error) FindOne(id int) (Team, error) FindByTeamName(name string) (Team, error) Update(team *Team) error FindTeamByAppId(appId int) (*Team, error) FindActiveTeamByAppName(appName string) (*Team, 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) FindActiveTeamByAppName ¶ added in v0.2.16
func (repo TeamRepositoryImpl) FindActiveTeamByAppName(appName string) (*Team, error)
func (TeamRepositoryImpl) FindAllActive ¶ added in v0.2.16
func (impl TeamRepositoryImpl) FindAllActive() ([]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) 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.