Documentation ¶
Index ¶
- type GitOpsConfigService
- type GitOpsConfigServiceImpl
- func (impl *GitOpsConfigServiceImpl) GetAllGitOpsConfig() ([]*apiBean.GitOpsConfigDto, error)
- func (impl *GitOpsConfigServiceImpl) GetGitOpsConfigById(id int) (*apiBean.GitOpsConfigDto, error)
- func (impl *GitOpsConfigServiceImpl) GetGitOpsConfigByProvider(provider string) (*apiBean.GitOpsConfigDto, error)
- func (impl *GitOpsConfigServiceImpl) GitOpsValidateDryRun(config *apiBean.GitOpsConfigDto) apiBean.DetailedErrorGitOpsConfigResponse
- func (impl *GitOpsConfigServiceImpl) ValidateAndCreateGitOpsConfig(config *apiBean.GitOpsConfigDto) (apiBean.DetailedErrorGitOpsConfigResponse, error)
- func (impl *GitOpsConfigServiceImpl) ValidateAndUpdateGitOpsConfig(config *apiBean.GitOpsConfigDto) (apiBean.DetailedErrorGitOpsConfigResponse, error)
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(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, argoUserService argo.ArgoUserService, clusterServiceCD cluster2.ServiceClient, gitOperationService git.GitOperationService, gitOpsConfigReadService config.GitOpsConfigReadService, gitOpsValidationService validation.GitOpsValidationService, argoCertificateClient certificate.Client, argoRepoService repository2.ServiceClient, repocreds repocreds.ServiceClient) *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(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)
Click to show internal directories.
Click to hide internal directories.