Help us shape the future of Go! Take the 2026 Go Developer Survey

appStoreDiscoverRepository

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppStore

type AppStore struct {
	TableName   struct{} `sql:"app_store" pg:",discard_unknown_columns"`
	Id          int      `sql:"id,pk"`
	Name        string   `sql:"name"`
	ChartRepoId int      `sql:"chart_repo_id"`
	//Active           bool      `sql:"active"`
	ChartGitLocation string    `sql:"chart_git_location"`
	CreatedOn        time.Time `sql:"created_on"`
	UpdatedOn        time.Time `sql:"updated_on"`
	ChartRepo        *chartRepoRepository.ChartRepo
}

type AppStoreApplicationVersion

type AppStoreApplicationVersion struct {
	TableName   struct{}  `sql:"app_store_application_version" pg:",discard_unknown_columns"`
	Id          int       `sql:"id,pk"`
	Version     string    `sql:"version"`
	AppVersion  string    `sql:"app_version"`
	Created     time.Time `sql:"created"`
	Deprecated  bool      `sql:"deprecated"`
	Description string    `sql:"description"`
	Digest      string    `sql:"digest"`
	Icon        string    `sql:"icon"`
	Name        string    `sql:"name"`
	Source      string    `sql:"source"`
	Home        string    `sql:"home"`
	ValuesYaml  string    `sql:"values_yaml"`
	ChartYaml   string    `sql:"chart_yaml"`
	Latest      bool      `sql:"latest"`
	AppStoreId  int       `sql:"app_store_id"`
	sql.AuditLog
	RawValues string `sql:"raw_values"`
	Readme    string `sql:"readme"`
	AppStore  *AppStore
}

type AppStoreApplicationVersionRepository

type AppStoreApplicationVersionRepository interface {
	FindAll() ([]appStoreBean.AppStoreWithVersion, error)
	FindWithFilter(filter *appStoreBean.AppStoreFilter) ([]appStoreBean.AppStoreWithVersion, error)
	FindById(id int) (*AppStoreApplicationVersion, error)
	FindVersionsByAppStoreId(id int) ([]*AppStoreApplicationVersion, error)
	FindChartVersionByAppStoreId(id int) ([]*AppStoreApplicationVersion, error)
	FindByIds(ids []int) ([]*AppStoreApplicationVersion, error)
	GetReadMeById(id int) (*AppStoreApplicationVersion, error)
	FindByAppStoreName(name string) (*appStoreBean.AppStoreWithVersion, error)
	SearchAppStoreChartByName(chartName string) ([]*appStoreBean.ChartRepoSearch, error)
}

type AppStoreApplicationVersionRepositoryImpl

type AppStoreApplicationVersionRepositoryImpl struct {
	Logger *zap.SugaredLogger
	// contains filtered or unexported fields
}

func NewAppStoreApplicationVersionRepositoryImpl

func NewAppStoreApplicationVersionRepositoryImpl(Logger *zap.SugaredLogger, dbConnection *pg.DB) *AppStoreApplicationVersionRepositoryImpl

func (*AppStoreApplicationVersionRepositoryImpl) FindAll

func (*AppStoreApplicationVersionRepositoryImpl) FindByAppStoreName

func (AppStoreApplicationVersionRepositoryImpl) FindById

func (AppStoreApplicationVersionRepositoryImpl) FindByIds

func (AppStoreApplicationVersionRepositoryImpl) FindChartVersionByAppStoreId

func (impl AppStoreApplicationVersionRepositoryImpl) FindChartVersionByAppStoreId(appStoreId int) ([]*AppStoreApplicationVersion, error)

func (AppStoreApplicationVersionRepositoryImpl) FindVersionsByAppStoreId

func (impl AppStoreApplicationVersionRepositoryImpl) FindVersionsByAppStoreId(id int) ([]*AppStoreApplicationVersion, error)

func (*AppStoreApplicationVersionRepositoryImpl) FindWithFilter

func (AppStoreApplicationVersionRepositoryImpl) GetReadMeById

func (*AppStoreApplicationVersionRepositoryImpl) SearchAppStoreChartByName

func (impl *AppStoreApplicationVersionRepositoryImpl) SearchAppStoreChartByName(chartName string) ([]*appStoreBean.ChartRepoSearch, error)

type AppStoreRepository

type AppStoreRepository interface{}

type AppStoreRepositoryImpl

type AppStoreRepositoryImpl struct {
	Logger *zap.SugaredLogger
	// contains filtered or unexported fields
}

func NewAppStoreRepositoryImpl

func NewAppStoreRepositoryImpl(Logger *zap.SugaredLogger, dbConnection *pg.DB) *AppStoreRepositoryImpl

Jump to

Keyboard shortcuts

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