resourceTree

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Service

type Service interface {
	FetchResourceTree(ctx context.Context, appId int, envId int, cdPipeline *pipelineConfig.Pipeline,
		deploymentConfig *commonBean.DeploymentConfig) (map[string]interface{}, error)

	//ent
	FetchResourceTreeWithDrift(ctx context.Context, appId int, envId int, cdPipeline *pipelineConfig.Pipeline,
		deploymentConfig *commonBean.DeploymentConfig) (map[string]interface{}, error)
}

type ServiceImpl

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

func NewServiceImpl

func NewServiceImpl(logger *zap.SugaredLogger,
	appListingService app.AppListingService,
	appStatusService appStatus.AppStatusService,
	argoApplicationService argoApplication2.ArgoApplicationService,
	cdApplicationStatusUpdateHandler cron.CdApplicationStatusUpdateHandler,
	helmAppReadService read.HelmAppReadService,
	helmAppService service.HelmAppService,
	k8sApplicationService application2.K8sApplicationService,
	k8sCommonService k8s.K8sCommonService) *ServiceImpl

func (*ServiceImpl) FetchResourceTree

func (impl *ServiceImpl) FetchResourceTree(ctx context.Context, appId int, envId int, cdPipeline *pipelineConfig.Pipeline,
	deploymentConfig *commonBean.DeploymentConfig) (map[string]interface{}, error)

func (*ServiceImpl) FetchResourceTreeWithDrift

func (impl *ServiceImpl) FetchResourceTreeWithDrift(ctx context.Context, appId int, envId int, cdPipeline *pipelineConfig.Pipeline,
	deploymentConfig *commonBean.DeploymentConfig) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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