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

gitops

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: 39 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitOpsConfigService

type GitOpsConfigService interface {
	ValidateAndCreateGitOpsConfig(config *apiBean.GitOpsConfigDto) (apiBean.DetailedErrorGitOpsConfigResponse, error)
	ValidateAndUpdateGitOpsConfig(config *apiBean.GitOpsConfigDto) (apiBean.DetailedErrorGitOpsConfigResponse, error)
	GitOpsValidateDryRun(isArgoModuleInstalled bool, config *apiBean.GitOpsConfigDto) apiBean.DetailedErrorGitOpsConfigResponse
	GetGitOpsConfigById(id int) (*apiBean.GitOpsConfigDto, error)
	GetAllGitOpsConfig() ([]*apiBean.GitOpsConfigDto, error)
	GetGitOpsConfigByProvider(provider string) (*apiBean.GitOpsConfigDto, error)
}

type GitOpsConfigServiceImpl

type GitOpsConfigServiceImpl struct {
	K8sUtil *util4.K8sServiceImpl
	// contains filtered or unexported fields
}

func NewGitOpsConfigServiceImpl

func NewGitOpsConfigServiceImpl(Logger *zap.SugaredLogger,
	gitOpsRepository repository.GitOpsConfigRepository,
	K8sUtil *util4.K8sServiceImpl, aCDAuthConfig *util3.ACDAuthConfig,
	clusterService cluster.ClusterService,
	gitOperationService git.GitOperationService,
	gitOpsConfigReadService config.GitOpsConfigReadService,
	gitOpsValidationService validation.GitOpsValidationService,
	argoCertificateClient certificate.ServiceClient,
	argoRepoService repository2.ServiceClient,
	environmentVariables *util2.EnvironmentVariables,
	argoCDConnectionManager connection.ArgoCDConnectionManager,
	argoCDConfigGetter config2.ArgoCDConfigGetter,
	argoClientWrapperService argocdServer.ArgoClientWrapperService,
	clusterReadService read.ClusterReadService,
	moduleReadService moduleRead.ModuleReadService) *GitOpsConfigServiceImpl

func (*GitOpsConfigServiceImpl) GetAllGitOpsConfig

func (impl *GitOpsConfigServiceImpl) GetAllGitOpsConfig() ([]*apiBean.GitOpsConfigDto, error)

func (*GitOpsConfigServiceImpl) GetGitOpsConfigById

func (impl *GitOpsConfigServiceImpl) GetGitOpsConfigById(id int) (*apiBean.GitOpsConfigDto, error)

func (*GitOpsConfigServiceImpl) GetGitOpsConfigByProvider

func (impl *GitOpsConfigServiceImpl) GetGitOpsConfigByProvider(provider string) (*apiBean.GitOpsConfigDto, error)

func (*GitOpsConfigServiceImpl) GitOpsValidateDryRun added in v0.2.27

func (impl *GitOpsConfigServiceImpl) GitOpsValidateDryRun(isArgoModuleInstalled bool, config *apiBean.GitOpsConfigDto) apiBean.DetailedErrorGitOpsConfigResponse

func (*GitOpsConfigServiceImpl) ValidateAndCreateGitOpsConfig added in v0.2.27

func (impl *GitOpsConfigServiceImpl) ValidateAndCreateGitOpsConfig(config *apiBean.GitOpsConfigDto) (apiBean.DetailedErrorGitOpsConfigResponse, error)

func (*GitOpsConfigServiceImpl) ValidateAndUpdateGitOpsConfig added in v0.2.27

func (impl *GitOpsConfigServiceImpl) ValidateAndUpdateGitOpsConfig(config *apiBean.GitOpsConfigDto) (apiBean.DetailedErrorGitOpsConfigResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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