Documentation ¶
Index ¶
- type AppStore
- type AppStoreApplicationVersion
- type AppStoreApplicationVersionRepository
- type AppStoreApplicationVersionRepositoryImpl
- 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) FindLatestVersionByAppStoreIdForChartRepo(id int) (int, error)
- func (impl *AppStoreApplicationVersionRepositoryImpl) FindLatestVersionByAppStoreIdForOCIRepo(id int) (int, 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"` 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 (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) 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 (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 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" )
Click to show internal directories.
Click to hide internal directories.