 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type ChartGroup
- type ChartGroupDeployment
- type ChartGroupDeploymentRepository
- type ChartGroupDeploymentRepositoryImpl
- func (impl *ChartGroupDeploymentRepositoryImpl) FindByChartGroupId(chartGroupId int) ([]*ChartGroupDeployment, error)
- func (impl *ChartGroupDeploymentRepositoryImpl) FindByInstalledAppId(installedAppId int) (*ChartGroupDeployment, error)
- func (impl *ChartGroupDeploymentRepositoryImpl) Save(tx *pg.Tx, chartGroupDeployment *ChartGroupDeployment) error
- func (impl *ChartGroupDeploymentRepositoryImpl) Update(model *ChartGroupDeployment) (*ChartGroupDeployment, error)
 
- type ChartGroupEntriesRepository
- type ChartGroupEntriesRepositoryImpl
- func (impl *ChartGroupEntriesRepositoryImpl) FindEntriesWithChartMetaByChartGroupId(chartGroupId []int) ([]*ChartGroupEntry, error)
- func (impl *ChartGroupEntriesRepositoryImpl) Save(model *ChartGroupEntry) (*ChartGroupEntry, error)
- func (impl *ChartGroupEntriesRepositoryImpl) SaveAndUpdateInTransaction(saveEntry []*ChartGroupEntry, updateEntry []*ChartGroupEntry) ([]*ChartGroupEntry, error)
 
- type ChartGroupEntry
- type ChartGroupReposotory
- type ChartGroupReposotoryImpl
- func (impl *ChartGroupReposotoryImpl) FindById(chartGroupId int) (*ChartGroup, error)
- func (impl *ChartGroupReposotoryImpl) FindByIdWithEntries(chertGroupId int) (*ChartGroup, error)
- func (impl *ChartGroupReposotoryImpl) GetAll(max int) ([]*ChartGroup, error)
- func (impl *ChartGroupReposotoryImpl) Save(model *ChartGroup) (*ChartGroup, error)
- func (impl *ChartGroupReposotoryImpl) Update(model *ChartGroup) (*ChartGroup, error)
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartGroup ¶
type ChartGroupDeployment ¶
type ChartGroupDeployment struct {
	TableName           struct{} `sql:"chart_group_deployment" pg:",discard_unknown_columns"`
	Id                  int      `sql:"id,pk"`
	ChartGroupId        int      `sql:"chart_group_id"`
	ChartGroupEntryId   int      `sql:"chart_group_entry_id"`
	InstalledAppId      int      `sql:"installed_app_id"`
	GroupInstallationId string   `sql:"group_installation_id"`
	Deleted             bool     `sql:"deleted,notnull"`
	models.AuditLog
}
    type ChartGroupDeploymentRepository ¶
type ChartGroupDeploymentRepository interface {
	Save(tx *pg.Tx, chartGroupDeployment *ChartGroupDeployment) error
	FindByChartGroupId(chartGroupId int) ([]*ChartGroupDeployment, error)
	Update(model *ChartGroupDeployment) (*ChartGroupDeployment, error)
	FindByInstalledAppId(installedAppId int) (*ChartGroupDeployment, error)
}
    type ChartGroupDeploymentRepositoryImpl ¶
type ChartGroupDeploymentRepositoryImpl struct {
	Logger *zap.SugaredLogger
	// contains filtered or unexported fields
}
    func NewChartGroupDeploymentRepositoryImpl ¶
func NewChartGroupDeploymentRepositoryImpl( dbConnection *pg.DB, Logger *zap.SugaredLogger) *ChartGroupDeploymentRepositoryImpl
func (*ChartGroupDeploymentRepositoryImpl) FindByChartGroupId ¶
func (impl *ChartGroupDeploymentRepositoryImpl) FindByChartGroupId(chartGroupId int) ([]*ChartGroupDeployment, error)
func (*ChartGroupDeploymentRepositoryImpl) FindByInstalledAppId ¶
func (impl *ChartGroupDeploymentRepositoryImpl) FindByInstalledAppId(installedAppId int) (*ChartGroupDeployment, error)
func (*ChartGroupDeploymentRepositoryImpl) Save ¶
func (impl *ChartGroupDeploymentRepositoryImpl) Save(tx *pg.Tx, chartGroupDeployment *ChartGroupDeployment) error
func (*ChartGroupDeploymentRepositoryImpl) Update ¶
func (impl *ChartGroupDeploymentRepositoryImpl) Update(model *ChartGroupDeployment) (*ChartGroupDeployment, error)
type ChartGroupEntriesRepository ¶
type ChartGroupEntriesRepository interface {
	Save(model *ChartGroupEntry) (*ChartGroupEntry, error)
	SaveAndUpdateInTransaction(saveEntry []*ChartGroupEntry, updateEntry []*ChartGroupEntry) ([]*ChartGroupEntry, error)
	FindEntriesWithChartMetaByChartGroupId(chartGroupId []int) ([]*ChartGroupEntry, error)
}
    type ChartGroupEntriesRepositoryImpl ¶
type ChartGroupEntriesRepositoryImpl struct {
	Logger *zap.SugaredLogger
	// contains filtered or unexported fields
}
    func NewChartGroupEntriesRepositoryImpl ¶
func NewChartGroupEntriesRepositoryImpl(dbConnection *pg.DB, Logger *zap.SugaredLogger) *ChartGroupEntriesRepositoryImpl
func (*ChartGroupEntriesRepositoryImpl) FindEntriesWithChartMetaByChartGroupId ¶
func (impl *ChartGroupEntriesRepositoryImpl) FindEntriesWithChartMetaByChartGroupId(chartGroupId []int) ([]*ChartGroupEntry, error)
func (*ChartGroupEntriesRepositoryImpl) Save ¶
func (impl *ChartGroupEntriesRepositoryImpl) Save(model *ChartGroupEntry) (*ChartGroupEntry, error)
func (*ChartGroupEntriesRepositoryImpl) SaveAndUpdateInTransaction ¶
func (impl *ChartGroupEntriesRepositoryImpl) SaveAndUpdateInTransaction(saveEntry []*ChartGroupEntry, updateEntry []*ChartGroupEntry) ([]*ChartGroupEntry, error)
type ChartGroupEntry ¶
type ChartGroupEntry struct {
	TableName                    struct{} `sql:"chart_group_entry" pg:",discard_unknown_columns"`
	Id                           int      `sql:"id,pk"`
	AppStoreValuesVersionId      int      `sql:"app_store_values_version_id"`      //AppStoreVersionValuesId
	AppStoreApplicationVersionId int      `sql:"app_store_application_version_id"` //AppStoreApplicationVersionId
	ChartGroupId                 int      `sql:"chart_group_id"`
	Deleted                      bool     `sql:"deleted,notnull"`
	models.AuditLog
	AppStoreApplicationVersion *appstore.AppStoreApplicationVersion
	AppStoreValuesVersion      *appstore.AppStoreVersionValues
}
    type ChartGroupReposotory ¶
type ChartGroupReposotory interface {
	Save(model *ChartGroup) (*ChartGroup, error)
	Update(model *ChartGroup) (*ChartGroup, error)
	FindByIdWithEntries(chertGroupId int) (*ChartGroup, error)
	FindById(chartGroupId int) (*ChartGroup, error)
	GetAll(max int) ([]*ChartGroup, error)
}
    type ChartGroupReposotoryImpl ¶
type ChartGroupReposotoryImpl struct {
	Logger *zap.SugaredLogger
	// contains filtered or unexported fields
}
    func NewChartGroupReposotoryImpl ¶
func NewChartGroupReposotoryImpl(dbConnection *pg.DB, Logger *zap.SugaredLogger) *ChartGroupReposotoryImpl
func (*ChartGroupReposotoryImpl) FindById ¶
func (impl *ChartGroupReposotoryImpl) FindById(chartGroupId int) (*ChartGroup, error)
func (*ChartGroupReposotoryImpl) FindByIdWithEntries ¶
func (impl *ChartGroupReposotoryImpl) FindByIdWithEntries(chertGroupId int) (*ChartGroup, error)
func (*ChartGroupReposotoryImpl) GetAll ¶
func (impl *ChartGroupReposotoryImpl) GetAll(max int) ([]*ChartGroup, error)
func (*ChartGroupReposotoryImpl) Save ¶
func (impl *ChartGroupReposotoryImpl) Save(model *ChartGroup) (*ChartGroup, error)
func (*ChartGroupReposotoryImpl) Update ¶
func (impl *ChartGroupReposotoryImpl) Update(model *ChartGroup) (*ChartGroup, error)
 Click to show internal directories. 
   Click to hide internal directories.