appStoreValuesRepository

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

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 (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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL