Documentation
¶
Index ¶
- Variables
- type Service
- type ServiceImpl
- func (impl *ServiceImpl) FetchResourceTree(ctx context.Context, appId int, envId int, cdPipeline *pipelineConfig.Pipeline, ...) (map[string]interface{}, error)
- func (impl *ServiceImpl) FetchResourceTreeWithDrift(ctx context.Context, appId int, envId int, cdPipeline *pipelineConfig.Pipeline, ...) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( NewServiceImpl, wire.Bind(new(Service), new(*ServiceImpl)), )
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)
Click to show internal directories.
Click to hide internal directories.