Help us shape the future of Go! Take the 2026 Go Developer Survey

commonService

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 21 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppChecklist

type AppChecklist struct {
	GitOps      int `json:"gitOps,omitempty"`
	Project     int `json:"project"`
	Git         int `json:"git"`
	Environment int `json:"environment"`
	Docker      int `json:"docker"`
	HostUrl     int `json:"hostUrl"`
}

type ChartChecklist

type ChartChecklist struct {
	GitOps      int `json:"gitOps,omitempty"`
	Project     int `json:"project"`
	Environment int `json:"environment"`
}

type CommonBaseServiceImpl added in v1.4.0

type CommonBaseServiceImpl struct {
	// contains filtered or unexported fields
}

func NewCommonBaseServiceImpl added in v1.4.0

func NewCommonBaseServiceImpl(logger *zap.SugaredLogger, envVariables *util.EnvironmentVariables,
	moduleReadService moduleRead.ModuleReadService) *CommonBaseServiceImpl

func (*CommonBaseServiceImpl) EnvironmentVariableList added in v1.4.0

func (impl *CommonBaseServiceImpl) EnvironmentVariableList() (*EnvironmentVariableList, error)

func (*CommonBaseServiceImpl) FetchLatestChartVersion added in v1.4.0

func (impl *CommonBaseServiceImpl) FetchLatestChartVersion(appId int, envId int) (string, error)

func (*CommonBaseServiceImpl) GlobalChecklist added in v1.4.0

func (impl *CommonBaseServiceImpl) GlobalChecklist() (*GlobalChecklist, error)

type CommonService

type CommonService interface {
	FetchLatestChartVersion(appId int, envId int) (string, error)
	GlobalChecklist() (*GlobalChecklist, error)
	EnvironmentVariableList() (*EnvironmentVariableList, error)
}

type CommonServiceImpl

type CommonServiceImpl struct {
	// contains filtered or unexported fields
}

func NewCommonServiceImpl

func NewCommonServiceImpl(logger *zap.SugaredLogger,
	chartRepository chartRepoRepository.ChartRepository,
	environmentConfigRepository chartConfig.EnvConfigOverrideRepository,
	dockerReg dockerRegistryRepository.DockerArtifactStoreRepository,
	attributeRepo repository.AttributesRepository,
	environmentRepository repository3.EnvironmentRepository,
	appRepository app.AppRepository,
	gitOpsConfigReadService config.GitOpsConfigReadService,
	gitProviderReadService read.GitProviderReadService,
	envConfigOverrideReadService read3.EnvConfigOverrideService,
	commonBaseServiceImpl *CommonBaseServiceImpl,
	teamReadService read2.TeamReadService) *CommonServiceImpl

func (*CommonServiceImpl) EnvironmentVariableList added in v1.4.0

func (impl *CommonServiceImpl) EnvironmentVariableList() (*EnvironmentVariableList, error)

func (*CommonServiceImpl) FetchLatestChartVersion added in v1.2.2

func (impl *CommonServiceImpl) FetchLatestChartVersion(appId int, envId int) (string, error)

func (*CommonServiceImpl) GlobalChecklist

func (impl *CommonServiceImpl) GlobalChecklist() (*GlobalChecklist, error)

type EnvironmentVariableList added in v1.4.0

type EnvironmentVariableList struct {
	FeatureGitOpsFlags *FeatureGitOpsVariables `json:"featureGitOpsFlags"`
	EnvironmentVariableListEnt
}

type EnvironmentVariableListEnt added in v1.4.0

type EnvironmentVariableListEnt struct {
	IsAirGapEnvironment bool `json:"isAirGapEnvironment"`
}

type FeatureGitOpsVariables added in v1.4.0

type FeatureGitOpsVariables struct {
	IsFeatureGitOpsEnabled            bool `json:"isFeatureGitOpsEnabled"`
	IsFeatureUserDefinedGitOpsEnabled bool `json:"isFeatureUserDefinedGitOpsEnabled"`
	IsFeatureArgoCdMigrationEnabled   bool `json:"isFeatureArgoCdMigrationEnabled"`
}

type GlobalChecklist

type GlobalChecklist struct {
	AppChecklist   *AppChecklist   `json:"appChecklist"`
	ChartChecklist *ChartChecklist `json:"chartChecklist"`
	IsAppCreated   bool            `json:"isAppCreated"`
	UserId         int32           `json:"-"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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