appStoreDiscoverRepository

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 10 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,notnull"`
	ChartRepoId int      `sql:"chart_repo_id"`
	//Active                bool      `sql:"active,notnull"`
	DockerArtifactStoreId string    `sql:"docker_artifact_store_id"`
	ChartGitLocation      string    `sql:"chart_git_location"`
	CreatedOn             time.Time `sql:"created_on,notnull"`
	UpdatedOn             time.Time `sql:"updated_on,notnull"`
	ChartRepo             *chartRepoRepository.ChartRepo
	DockerArtifactStore   *dockerArtifactStoreRegistry.DockerArtifactStore
}

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"`
	AppStoreId  int       `sql:"app_store_id"`
	sql.AuditLog
	RawValues        string `sql:"raw_values"`
	Readme           string `sql:"readme"`
	ValuesSchemaJson string `sql:"values_schema_json"`
	Notes            string `sql:"notes"`
	AppStore         *AppStore
}

func (*AppStoreApplicationVersion) IsEmpty added in v1.1.0

func (a *AppStoreApplicationVersion) IsEmpty() bool

type AppStoreApplicationVersionRepository

type AppStoreApplicationVersionRepository interface {
	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)
	GetChartInfoById(id int) (*AppStoreApplicationVersion, error)
	FindLatestVersionByAppStoreIdForChartRepo(id int) (int, error)
	FindLatestVersionByAppStoreIdForOCIRepo(id int) (int, 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) FindById

func (AppStoreApplicationVersionRepositoryImpl) FindByIds

func (AppStoreApplicationVersionRepositoryImpl) FindChartVersionByAppStoreId

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

func (*AppStoreApplicationVersionRepositoryImpl) FindLatestVersionByAppStoreIdForChartRepo added in v0.7.1

func (impl *AppStoreApplicationVersionRepositoryImpl) FindLatestVersionByAppStoreIdForChartRepo(id int) (int, error)

func (*AppStoreApplicationVersionRepositoryImpl) FindLatestVersionByAppStoreIdForOCIRepo added in v0.7.1

func (impl *AppStoreApplicationVersionRepositoryImpl) FindLatestVersionByAppStoreIdForOCIRepo(id int) (int, error)

func (AppStoreApplicationVersionRepositoryImpl) FindVersionsByAppStoreId

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

func (*AppStoreApplicationVersionRepositoryImpl) FindWithFilter

func (AppStoreApplicationVersionRepositoryImpl) GetChartInfoById added in v0.4.28

func (*AppStoreApplicationVersionRepositoryImpl) SearchAppStoreChartByName

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

type AppStoreRepository

type AppStoreRepository interface {
	FindAppStoreByName(name string) (*AppStore, error)
}

type AppStoreRepositoryImpl

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

func NewAppStoreRepositoryImpl

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

func (*AppStoreRepositoryImpl) FindAppStoreByName added in v0.7.1

func (impl *AppStoreRepositoryImpl) FindAppStoreByName(name string) (*AppStore, error)

type FilterQueryUpdateAction added in v0.6.23

type FilterQueryUpdateAction string
const (
	QUERY_COLUMN_UPDATE FilterQueryUpdateAction = "column"
	QUERY_JOIN_UPDTAE   FilterQueryUpdateAction = "join"
)

Jump to

Keyboard shortcuts

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