Documentation ¶
Index ¶
- type AppGroup
- type AppGroupMapping
- type AppGroupMappingRepository
- type AppGroupMappingRepositoryImpl
- func (repo AppGroupMappingRepositoryImpl) Delete(model *AppGroupMapping, tx *pg.Tx) error
- func (repo AppGroupMappingRepositoryImpl) FindAll() ([]*AppGroupMapping, error)
- func (repo AppGroupMappingRepositoryImpl) FindByAppGroupId(appGroupId int) ([]*AppGroupMapping, error)
- func (repo AppGroupMappingRepositoryImpl) FindByAppGroupIds(appGroupIds []int) ([]*AppGroupMapping, error)
- func (repo AppGroupMappingRepositoryImpl) FindById(id int) (*AppGroupMapping, error)
- func (repo *AppGroupMappingRepositoryImpl) GetConnection() (dbConnection *pg.DB)
- func (repo AppGroupMappingRepositoryImpl) Save(model *AppGroupMapping, tx *pg.Tx) (*AppGroupMapping, error)
- func (repo AppGroupMappingRepositoryImpl) Update(model *AppGroupMapping, tx *pg.Tx) error
- type AppGroupRepository
- type AppGroupRepositoryImpl
- func (repo AppGroupRepositoryImpl) FindActiveListByEnvId(envId int) ([]*AppGroup, error)
- func (repo AppGroupRepositoryImpl) FindById(id int) (*AppGroup, error)
- func (repo AppGroupRepositoryImpl) FindByNameAndEnvId(name string, envId int) (*AppGroup, error)
- func (repo *AppGroupRepositoryImpl) GetConnection() (dbConnection *pg.DB)
- func (repo AppGroupRepositoryImpl) Save(model *AppGroup, tx *pg.Tx) (*AppGroup, error)
- func (repo AppGroupRepositoryImpl) Update(model *AppGroup, tx *pg.Tx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppGroupMapping ¶
type AppGroupMappingRepository ¶
type AppGroupMappingRepository interface { Save(model *AppGroupMapping, tx *pg.Tx) (*AppGroupMapping, error) Update(model *AppGroupMapping, tx *pg.Tx) error Delete(model *AppGroupMapping, tx *pg.Tx) error FindById(id int) (*AppGroupMapping, error) FindByAppGroupId(appGroupId int) ([]*AppGroupMapping, error) FindAll() ([]*AppGroupMapping, error) FindByAppGroupIds(appGroupIds []int) ([]*AppGroupMapping, error) GetConnection() (dbConnection *pg.DB) }
type AppGroupMappingRepositoryImpl ¶
type AppGroupMappingRepositoryImpl struct {
// contains filtered or unexported fields
}
func NewAppGroupMappingRepositoryImpl ¶
func NewAppGroupMappingRepositoryImpl(dbConnection *pg.DB) *AppGroupMappingRepositoryImpl
func (AppGroupMappingRepositoryImpl) Delete ¶
func (repo AppGroupMappingRepositoryImpl) Delete(model *AppGroupMapping, tx *pg.Tx) error
func (AppGroupMappingRepositoryImpl) FindAll ¶
func (repo AppGroupMappingRepositoryImpl) FindAll() ([]*AppGroupMapping, error)
func (AppGroupMappingRepositoryImpl) FindByAppGroupId ¶
func (repo AppGroupMappingRepositoryImpl) FindByAppGroupId(appGroupId int) ([]*AppGroupMapping, error)
func (AppGroupMappingRepositoryImpl) FindByAppGroupIds ¶
func (repo AppGroupMappingRepositoryImpl) FindByAppGroupIds(appGroupIds []int) ([]*AppGroupMapping, error)
func (AppGroupMappingRepositoryImpl) FindById ¶
func (repo AppGroupMappingRepositoryImpl) FindById(id int) (*AppGroupMapping, error)
func (*AppGroupMappingRepositoryImpl) GetConnection ¶
func (repo *AppGroupMappingRepositoryImpl) GetConnection() (dbConnection *pg.DB)
func (AppGroupMappingRepositoryImpl) Save ¶
func (repo AppGroupMappingRepositoryImpl) Save(model *AppGroupMapping, tx *pg.Tx) (*AppGroupMapping, error)
func (AppGroupMappingRepositoryImpl) Update ¶
func (repo AppGroupMappingRepositoryImpl) Update(model *AppGroupMapping, tx *pg.Tx) error
type AppGroupRepository ¶
type AppGroupRepository interface { Save(model *AppGroup, tx *pg.Tx) (*AppGroup, error) Update(model *AppGroup, tx *pg.Tx) error FindById(id int) (*AppGroup, error) FindByNameAndEnvId(name string, envId int) (*AppGroup, error) FindActiveListByEnvId(envId int) ([]*AppGroup, error) GetConnection() (dbConnection *pg.DB) }
type AppGroupRepositoryImpl ¶
type AppGroupRepositoryImpl struct {
// contains filtered or unexported fields
}
func NewAppGroupRepositoryImpl ¶
func NewAppGroupRepositoryImpl(dbConnection *pg.DB) *AppGroupRepositoryImpl
func (AppGroupRepositoryImpl) FindActiveListByEnvId ¶
func (repo AppGroupRepositoryImpl) FindActiveListByEnvId(envId int) ([]*AppGroup, error)
func (AppGroupRepositoryImpl) FindById ¶
func (repo AppGroupRepositoryImpl) FindById(id int) (*AppGroup, error)
func (AppGroupRepositoryImpl) FindByNameAndEnvId ¶
func (repo AppGroupRepositoryImpl) FindByNameAndEnvId(name string, envId int) (*AppGroup, error)
func (*AppGroupRepositoryImpl) GetConnection ¶
func (repo *AppGroupRepositoryImpl) GetConnection() (dbConnection *pg.DB)
Click to show internal directories.
Click to hide internal directories.