Documentation ¶
Index ¶
- type BulkUpdateReadme
- type BulkUpdateRepository
- type BulkUpdateRepositoryImpl
- func (repositoryImpl BulkUpdateRepositoryImpl) BuildAppNameQuery(appNameIncludes []string, appNameExcludes []string) string
- func (repositoryImpl BulkUpdateRepositoryImpl) BuildCMNameQuery(configMapNames []string) string
- func (repositoryImpl BulkUpdateRepositoryImpl) BuildSecretNameQuery(secretNames []string) string
- func (repositoryImpl BulkUpdateRepositoryImpl) BulkUpdateChartsEnvYamlOverrideById(id int, patch string) error
- func (repositoryImpl BulkUpdateRepositoryImpl) BulkUpdateChartsValuesYamlAndGlobalOverrideById(id int, patch string) error
- func (repositoryImpl BulkUpdateRepositoryImpl) BulkUpdateConfigMapDataForEnvById(id int, patch string) error
- func (repositoryImpl BulkUpdateRepositoryImpl) BulkUpdateConfigMapDataForGlobalById(id int, patch string) error
- func (repositoryImpl BulkUpdateRepositoryImpl) BulkUpdateSecretDataForEnvById(id int, patch string) error
- func (repositoryImpl BulkUpdateRepositoryImpl) BulkUpdateSecretDataForGlobalById(id int, patch string) error
- func (repositoryImpl BulkUpdateRepositoryImpl) FindAppByChartEnvId(chartEnvId int) (*app.App, error)
- func (repositoryImpl BulkUpdateRepositoryImpl) FindAppByChartId(chartId int) (*app.App, error)
- func (repositoryImpl BulkUpdateRepositoryImpl) FindBulkChartsByAppNameSubstring(appNameIncludes []string, appNameExcludes []string) ([]*chartConfig.Chart, error)
- func (repositoryImpl BulkUpdateRepositoryImpl) FindBulkChartsEnvByAppNameSubstring(appNameIncludes []string, appNameExcludes []string, envId int) ([]*chartConfig.EnvConfigOverride, error)
- func (repositoryImpl BulkUpdateRepositoryImpl) FindBulkUpdateReadme(resource string) (*BulkUpdateReadme, error)
- func (repositoryImpl BulkUpdateRepositoryImpl) FindCMBulkAppModelForEnv(appNameIncludes []string, appNameExcludes []string, envId int, ...) ([]*chartConfig.ConfigMapEnvModel, error)
- func (repositoryImpl BulkUpdateRepositoryImpl) FindCMBulkAppModelForGlobal(appNameIncludes []string, appNameExcludes []string, configMapNames []string) ([]*chartConfig.ConfigMapAppModel, error)
- func (repositoryImpl BulkUpdateRepositoryImpl) FindDeploymentTemplateBulkAppNameForEnv(appNameIncludes []string, appNameExcludes []string, envId int) ([]*app.App, error)
- func (repositoryImpl BulkUpdateRepositoryImpl) FindDeploymentTemplateBulkAppNameForGlobal(appNameIncludes []string, appNameExcludes []string) ([]*app.App, error)
- func (repositoryImpl BulkUpdateRepositoryImpl) FindSecretBulkAppModelForEnv(appNameIncludes []string, appNameExcludes []string, envId int, ...) ([]*chartConfig.ConfigMapEnvModel, error)
- func (repositoryImpl BulkUpdateRepositoryImpl) FindSecretBulkAppModelForGlobal(appNameIncludes []string, appNameExcludes []string, secretNames []string) ([]*chartConfig.ConfigMapAppModel, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkUpdateReadme ¶
type BulkUpdateRepository ¶
type BulkUpdateRepository interface { BuildAppNameQuery(appNameIncludes []string, appNameExcludes []string) string FindBulkUpdateReadme(operation string) (*BulkUpdateReadme, error) //For Deployment Template : FindDeploymentTemplateBulkAppNameForGlobal(appNameIncludes []string, appNameExcludes []string) ([]*app.App, error) FindDeploymentTemplateBulkAppNameForEnv(appNameIncludes []string, appNameExcludes []string, envId int) ([]*app.App, error) FindAppByChartId(chartId int) (*app.App, error) FindAppByChartEnvId(chartEnvId int) (*app.App, error) FindBulkChartsByAppNameSubstring(appNameIncludes []string, appNameExcludes []string) ([]*chartConfig.Chart, error) FindBulkChartsEnvByAppNameSubstring(appNameIncludes []string, appNameExcludes []string, envId int) ([]*chartConfig.EnvConfigOverride, error) BulkUpdateChartsValuesYamlAndGlobalOverrideById(id int, patch string) error BulkUpdateChartsEnvYamlOverrideById(id int, patch string) error //For ConfigMap & Secret : BuildCMNameQuery(configMapNames []string) string BuildSecretNameQuery(secretNames []string) string FindCMBulkAppModelForGlobal(appNameIncludes []string, appNameExcludes []string, configMapNames []string) ([]*chartConfig.ConfigMapAppModel, error) FindSecretBulkAppModelForGlobal(appNameIncludes []string, appNameExcludes []string, secretNames []string) ([]*chartConfig.ConfigMapAppModel, error) FindCMBulkAppModelForEnv(appNameIncludes []string, appNameExcludes []string, envId int, configMapNames []string) ([]*chartConfig.ConfigMapEnvModel, error) FindSecretBulkAppModelForEnv(appNameIncludes []string, appNameExcludes []string, envId int, secretNames []string) ([]*chartConfig.ConfigMapEnvModel, error) BulkUpdateConfigMapDataForGlobalById(id int, patch string) error BulkUpdateSecretDataForGlobalById(id int, patch string) error BulkUpdateConfigMapDataForEnvById(id int, patch string) error BulkUpdateSecretDataForEnvById(id int, patch string) error }
type BulkUpdateRepositoryImpl ¶
type BulkUpdateRepositoryImpl struct {
// contains filtered or unexported fields
}
func NewBulkUpdateRepository ¶
func NewBulkUpdateRepository(dbConnection *pg.DB, logger *zap.SugaredLogger) *BulkUpdateRepositoryImpl
func (BulkUpdateRepositoryImpl) BuildAppNameQuery ¶
func (repositoryImpl BulkUpdateRepositoryImpl) BuildAppNameQuery(appNameIncludes []string, appNameExcludes []string) string
func (BulkUpdateRepositoryImpl) BuildCMNameQuery ¶ added in v0.2.22
func (repositoryImpl BulkUpdateRepositoryImpl) BuildCMNameQuery(configMapNames []string) string
func (BulkUpdateRepositoryImpl) BuildSecretNameQuery ¶ added in v0.2.22
func (repositoryImpl BulkUpdateRepositoryImpl) BuildSecretNameQuery(secretNames []string) string
func (BulkUpdateRepositoryImpl) BulkUpdateChartsEnvYamlOverrideById ¶
func (repositoryImpl BulkUpdateRepositoryImpl) BulkUpdateChartsEnvYamlOverrideById(id int, patch string) error
func (BulkUpdateRepositoryImpl) BulkUpdateChartsValuesYamlAndGlobalOverrideById ¶
func (repositoryImpl BulkUpdateRepositoryImpl) BulkUpdateChartsValuesYamlAndGlobalOverrideById(id int, patch string) error
func (BulkUpdateRepositoryImpl) BulkUpdateConfigMapDataForEnvById ¶ added in v0.2.22
func (repositoryImpl BulkUpdateRepositoryImpl) BulkUpdateConfigMapDataForEnvById(id int, patch string) error
func (BulkUpdateRepositoryImpl) BulkUpdateConfigMapDataForGlobalById ¶ added in v0.2.22
func (repositoryImpl BulkUpdateRepositoryImpl) BulkUpdateConfigMapDataForGlobalById(id int, patch string) error
func (BulkUpdateRepositoryImpl) BulkUpdateSecretDataForEnvById ¶ added in v0.2.22
func (repositoryImpl BulkUpdateRepositoryImpl) BulkUpdateSecretDataForEnvById(id int, patch string) error
func (BulkUpdateRepositoryImpl) BulkUpdateSecretDataForGlobalById ¶ added in v0.2.22
func (repositoryImpl BulkUpdateRepositoryImpl) BulkUpdateSecretDataForGlobalById(id int, patch string) error
func (BulkUpdateRepositoryImpl) FindAppByChartEnvId ¶
func (repositoryImpl BulkUpdateRepositoryImpl) FindAppByChartEnvId(chartEnvId int) (*app.App, error)
func (BulkUpdateRepositoryImpl) FindAppByChartId ¶
func (repositoryImpl BulkUpdateRepositoryImpl) FindAppByChartId(chartId int) (*app.App, error)
func (BulkUpdateRepositoryImpl) FindBulkChartsByAppNameSubstring ¶
func (repositoryImpl BulkUpdateRepositoryImpl) FindBulkChartsByAppNameSubstring(appNameIncludes []string, appNameExcludes []string) ([]*chartConfig.Chart, error)
func (BulkUpdateRepositoryImpl) FindBulkChartsEnvByAppNameSubstring ¶
func (repositoryImpl BulkUpdateRepositoryImpl) FindBulkChartsEnvByAppNameSubstring(appNameIncludes []string, appNameExcludes []string, envId int) ([]*chartConfig.EnvConfigOverride, error)
func (BulkUpdateRepositoryImpl) FindBulkUpdateReadme ¶
func (repositoryImpl BulkUpdateRepositoryImpl) FindBulkUpdateReadme(resource string) (*BulkUpdateReadme, error)
func (BulkUpdateRepositoryImpl) FindCMBulkAppModelForEnv ¶ added in v0.2.22
func (repositoryImpl BulkUpdateRepositoryImpl) FindCMBulkAppModelForEnv(appNameIncludes []string, appNameExcludes []string, envId int, configMapNames []string) ([]*chartConfig.ConfigMapEnvModel, error)
func (BulkUpdateRepositoryImpl) FindCMBulkAppModelForGlobal ¶ added in v0.2.22
func (repositoryImpl BulkUpdateRepositoryImpl) FindCMBulkAppModelForGlobal(appNameIncludes []string, appNameExcludes []string, configMapNames []string) ([]*chartConfig.ConfigMapAppModel, error)
func (BulkUpdateRepositoryImpl) FindDeploymentTemplateBulkAppNameForEnv ¶ added in v0.2.22
func (BulkUpdateRepositoryImpl) FindDeploymentTemplateBulkAppNameForGlobal ¶ added in v0.2.22
func (BulkUpdateRepositoryImpl) FindSecretBulkAppModelForEnv ¶ added in v0.2.22
func (repositoryImpl BulkUpdateRepositoryImpl) FindSecretBulkAppModelForEnv(appNameIncludes []string, appNameExcludes []string, envId int, secretNames []string) ([]*chartConfig.ConfigMapEnvModel, error)
func (BulkUpdateRepositoryImpl) FindSecretBulkAppModelForGlobal ¶ added in v0.2.22
func (repositoryImpl BulkUpdateRepositoryImpl) FindSecretBulkAppModelForGlobal(appNameIncludes []string, appNameExcludes []string, secretNames []string) ([]*chartConfig.ConfigMapAppModel, error)
Click to show internal directories.
Click to hide internal directories.