Documentation
¶
Index ¶
- type AppStoreVersionValues
- type AppStoreVersionValuesRepository
- type AppStoreVersionValuesRepositoryImpl
- func (impl AppStoreVersionValuesRepositoryImpl) CreateAppStoreVersionValues(model *AppStoreVersionValues) (*AppStoreVersionValues, error)
- func (impl AppStoreVersionValuesRepositoryImpl) DeleteAppStoreVersionValues(model *AppStoreVersionValues) (bool, error)
- func (impl AppStoreVersionValuesRepositoryImpl) FindById(id int) (*AppStoreVersionValues, error)
- func (impl AppStoreVersionValuesRepositoryImpl) FindValuesByAppStoreId(appStoreId int) ([]*AppStoreVersionValues, error)
- func (impl AppStoreVersionValuesRepositoryImpl) FindValuesByAppStoreIdAndReferenceType(appStoreId int, referenceType string) ([]*AppStoreVersionValues, error)
- func (impl AppStoreVersionValuesRepositoryImpl) UpdateAppStoreVersionValues(model *AppStoreVersionValues) (*AppStoreVersionValues, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStoreVersionValues ¶
type AppStoreVersionValues struct {
TableName struct{} `sql:"app_store_version_values" pg:",discard_unknown_columns"`
Id int `sql:"id,pk"`
Name string `sql:"name"`
ValuesYaml string `sql:"values_yaml"`
AppStoreApplicationVersionId int `sql:"app_store_application_version_id"`
ReferenceType string `sql:"reference_type"`
Description string `sql:"description"`
Deleted bool `sql:"deleted,notnull"`
sql.AuditLog
AppStoreApplicationVersion *appStoreDiscoverRepository.AppStoreApplicationVersion
}
type AppStoreVersionValuesRepository ¶
type AppStoreVersionValuesRepository interface {
CreateAppStoreVersionValues(model *AppStoreVersionValues) (*AppStoreVersionValues, error)
UpdateAppStoreVersionValues(model *AppStoreVersionValues) (*AppStoreVersionValues, error)
DeleteAppStoreVersionValues(model *AppStoreVersionValues) (bool, error)
/* FindAll() ([]*AppStoreVersionValues, error)*/
FindById(id int) (*AppStoreVersionValues, error)
FindValuesByAppStoreId(appStoreVersionId int) ([]*AppStoreVersionValues, error)
FindValuesByAppStoreIdAndReferenceType(appStoreVersionId int, referenceType string) ([]*AppStoreVersionValues, error)
}
type AppStoreVersionValuesRepositoryImpl ¶
type AppStoreVersionValuesRepositoryImpl struct {
Logger *zap.SugaredLogger
// contains filtered or unexported fields
}
func NewAppStoreVersionValuesRepositoryImpl ¶
func NewAppStoreVersionValuesRepositoryImpl(Logger *zap.SugaredLogger, dbConnection *pg.DB) *AppStoreVersionValuesRepositoryImpl
func (AppStoreVersionValuesRepositoryImpl) CreateAppStoreVersionValues ¶
func (impl AppStoreVersionValuesRepositoryImpl) CreateAppStoreVersionValues(model *AppStoreVersionValues) (*AppStoreVersionValues, error)
func (AppStoreVersionValuesRepositoryImpl) DeleteAppStoreVersionValues ¶
func (impl AppStoreVersionValuesRepositoryImpl) DeleteAppStoreVersionValues(model *AppStoreVersionValues) (bool, error)
func (AppStoreVersionValuesRepositoryImpl) FindById ¶
func (impl AppStoreVersionValuesRepositoryImpl) FindById(id int) (*AppStoreVersionValues, error)
func (AppStoreVersionValuesRepositoryImpl) FindValuesByAppStoreId ¶
func (impl AppStoreVersionValuesRepositoryImpl) FindValuesByAppStoreId(appStoreId int) ([]*AppStoreVersionValues, error)
func (AppStoreVersionValuesRepositoryImpl) FindValuesByAppStoreIdAndReferenceType ¶
func (impl AppStoreVersionValuesRepositoryImpl) FindValuesByAppStoreIdAndReferenceType(appStoreId int, referenceType string) ([]*AppStoreVersionValues, error)
func (AppStoreVersionValuesRepositoryImpl) UpdateAppStoreVersionValues ¶
func (impl AppStoreVersionValuesRepositoryImpl) UpdateAppStoreVersionValues(model *AppStoreVersionValues) (*AppStoreVersionValues, error)
Click to show internal directories.
Click to hide internal directories.