Documentation
¶
Index ¶
- type AppStore
- type AppStoreApplicationVersion
- type AppStoreApplicationVersionRepository
- type AppStoreApplicationVersionRepositoryImpl
- func (impl *AppStoreApplicationVersionRepositoryImpl) FindAll() ([]appStoreBean.AppStoreWithVersion, error)
- func (impl *AppStoreApplicationVersionRepositoryImpl) FindByAppStoreName(name string) (*appStoreBean.AppStoreWithVersion, error)
- func (impl AppStoreApplicationVersionRepositoryImpl) FindById(id int) (*AppStoreApplicationVersion, error)
- func (impl AppStoreApplicationVersionRepositoryImpl) FindByIds(ids []int) ([]*AppStoreApplicationVersion, error)
- func (impl AppStoreApplicationVersionRepositoryImpl) FindChartVersionByAppStoreId(appStoreId int) ([]*AppStoreApplicationVersion, error)
- func (impl AppStoreApplicationVersionRepositoryImpl) FindVersionsByAppStoreId(id int) ([]*AppStoreApplicationVersion, error)
- func (impl *AppStoreApplicationVersionRepositoryImpl) FindWithFilter(filter *appStoreBean.AppStoreFilter) ([]appStoreBean.AppStoreWithVersion, error)
- func (impl AppStoreApplicationVersionRepositoryImpl) GetChartInfoById(id int) (*AppStoreApplicationVersion, error)
- func (impl *AppStoreApplicationVersionRepositoryImpl) SearchAppStoreChartByName(chartName string) ([]*appStoreBean.ChartRepoSearch, error)
- type AppStoreRepository
- type AppStoreRepositoryImpl
- type FilterQueryUpdateAction
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"`
Latest bool `sql:"latest"`
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
}
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)
GetChartInfoById(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 (impl *AppStoreApplicationVersionRepositoryImpl) FindAll() ([]appStoreBean.AppStoreWithVersion, error)
FindAll is not being used. instead FindWithFilter is being used for chart listing
func (*AppStoreApplicationVersionRepositoryImpl) FindByAppStoreName ¶
func (impl *AppStoreApplicationVersionRepositoryImpl) FindByAppStoreName(name string) (*appStoreBean.AppStoreWithVersion, error)
func (AppStoreApplicationVersionRepositoryImpl) FindById ¶
func (impl AppStoreApplicationVersionRepositoryImpl) FindById(id int) (*AppStoreApplicationVersion, error)
func (AppStoreApplicationVersionRepositoryImpl) FindByIds ¶
func (impl AppStoreApplicationVersionRepositoryImpl) FindByIds(ids []int) ([]*AppStoreApplicationVersion, error)
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 (impl *AppStoreApplicationVersionRepositoryImpl) FindWithFilter(filter *appStoreBean.AppStoreFilter) ([]appStoreBean.AppStoreWithVersion, error)
func (AppStoreApplicationVersionRepositoryImpl) GetChartInfoById ¶ added in v0.4.28
func (impl AppStoreApplicationVersionRepositoryImpl) GetChartInfoById(id int) (*AppStoreApplicationVersion, error)
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
type FilterQueryUpdateAction ¶ added in v0.6.23
type FilterQueryUpdateAction string
const ( QUERY_COLUMN_UPDATE FilterQueryUpdateAction = "column" QUERY_JOIN_UPDTAE FilterQueryUpdateAction = "join" )
Click to show internal directories.
Click to hide internal directories.