Documentation ¶
Index ¶
- type AppStatusContainer
- type AppStatusDto
- type AppStatusRepository
- type AppStatusRepositoryImpl
- func (repo *AppStatusRepositoryImpl) Create(container AppStatusContainer) error
- func (repo *AppStatusRepositoryImpl) Delete(tx *pg.Tx, appId, envId int) error
- func (repo *AppStatusRepositoryImpl) DeleteWithEnvId(tx *pg.Tx, envId int) error
- func (repo *AppStatusRepositoryImpl) Get(appId, envId int) (AppStatusContainer, error)
- func (repo *AppStatusRepositoryImpl) GetConnection() *pg.DB
- func (repo *AppStatusRepositoryImpl) Update(container AppStatusContainer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStatusContainer ¶
type AppStatusContainer struct { AppId int `json:"app_id"` AppName string `json:"app_name"` EnvIdentifier string `json:"env_identifier"` InstalledAppId int `json:"installed_app_id"` EnvId int `json:"env_id"` Status string `json:"status"` AppStore bool `json:"app_store"` UpdatedOn time.Time `json:"updated_on"` }
type AppStatusDto ¶
type AppStatusRepository ¶
type AppStatusRepositoryImpl ¶
type AppStatusRepositoryImpl struct {
// contains filtered or unexported fields
}
func NewAppStatusRepositoryImpl ¶
func NewAppStatusRepositoryImpl(dbConnection *pg.DB, logger *zap.SugaredLogger) *AppStatusRepositoryImpl
func (*AppStatusRepositoryImpl) Create ¶
func (repo *AppStatusRepositoryImpl) Create(container AppStatusContainer) error
func (*AppStatusRepositoryImpl) Delete ¶
func (repo *AppStatusRepositoryImpl) Delete(tx *pg.Tx, appId, envId int) error
func (*AppStatusRepositoryImpl) DeleteWithEnvId ¶
func (repo *AppStatusRepositoryImpl) DeleteWithEnvId(tx *pg.Tx, envId int) error
func (*AppStatusRepositoryImpl) Get ¶
func (repo *AppStatusRepositoryImpl) Get(appId, envId int) (AppStatusContainer, error)
func (*AppStatusRepositoryImpl) GetConnection ¶
func (repo *AppStatusRepositoryImpl) GetConnection() *pg.DB
func (*AppStatusRepositoryImpl) Update ¶
func (repo *AppStatusRepositoryImpl) Update(container AppStatusContainer) error
Click to show internal directories.
Click to hide internal directories.