delete

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 25 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteService

type DeleteService interface {
	DeleteCluster(deleteRequest *bean2.ClusterBean, userId int32) error
	DeleteEnvironment(deleteRequest *bean.EnvironmentBean, userId int32) error
	DeleteTeam(deleteRequest *bean3.TeamRequest) error
	DeleteChartRepo(deleteRequest *chartRepo.ChartRepoDto) error
	DeleteDockerRegistryConfig(deleteRequest *types.DockerArtifactStoreBean) error
	CanDeleteChartRegistryPullConfig(storeId string) bool
	DeleteClusterSecret(deleteRequest *bean2.ClusterBean, err error) error
}

type DeleteServiceExtendedImpl

type DeleteServiceExtendedImpl struct {
	*DeleteServiceImpl
	// contains filtered or unexported fields
}

func NewDeleteServiceExtendedImpl

func NewDeleteServiceExtendedImpl(logger *zap.SugaredLogger,
	teamService team.TeamService,
	clusterService cluster.ClusterService,
	environmentService environment.EnvironmentService,
	appRepository app.AppRepository,
	environmentRepository repository.EnvironmentRepository,
	pipelineRepository pipelineConfig.PipelineRepository,
	chartRepositoryService chartRepo.ChartRepositoryService,
	installedAppRepository repository2.InstalledAppRepository,
	dockerRegistryConfig pipeline.DockerRegistryConfig,
	dockerRegistryRepository dockerRegistryRepository.DockerArtifactStoreRepository,
	K8sService k8sUtil.K8sService,
	factory informer.K8sInformerFactory,
) *DeleteServiceExtendedImpl

func (DeleteServiceExtendedImpl) DeleteChartRepo added in v0.3.16

func (impl DeleteServiceExtendedImpl) DeleteChartRepo(deleteRequest *chartRepo.ChartRepoDto) error

func (DeleteServiceExtendedImpl) DeleteCluster

func (impl DeleteServiceExtendedImpl) DeleteCluster(deleteRequest *bean2.ClusterBean, userId int32) error

func (DeleteServiceExtendedImpl) DeleteEnvironment

func (impl DeleteServiceExtendedImpl) DeleteEnvironment(deleteRequest *bean.EnvironmentBean, userId int32) error

func (DeleteServiceExtendedImpl) DeleteTeam

func (impl DeleteServiceExtendedImpl) DeleteTeam(deleteRequest *bean3.TeamRequest) error

type DeleteServiceFullMode

type DeleteServiceFullMode interface {
	DeleteGitProvider(deleteRequest *bean.GitRegistry) error
	DeleteDockerRegistryConfig(deleteRequest *types.DockerArtifactStoreBean) error
	CanDeleteContainerRegistryConfig(storeId string) bool
}

type DeleteServiceFullModeImpl

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

func NewDeleteServiceFullModeImpl

func NewDeleteServiceFullModeImpl(logger *zap.SugaredLogger,
	gitMaterialReadService read.GitMaterialReadService,
	gitRegistryConfig gitProvider.GitRegistryConfig,
	ciTemplateRepository pipelineConfig.CiTemplateRepository,
	dockerRegistryConfig pipeline.DockerRegistryConfig,
	dockerRegistryRepository dockerRegistryRepository.DockerArtifactStoreRepository,
) *DeleteServiceFullModeImpl

func (DeleteServiceFullModeImpl) CanDeleteContainerRegistryConfig added in v0.6.23

func (impl DeleteServiceFullModeImpl) CanDeleteContainerRegistryConfig(storeId string) bool

func (DeleteServiceFullModeImpl) DeleteDockerRegistryConfig

func (impl DeleteServiceFullModeImpl) DeleteDockerRegistryConfig(deleteRequest *types.DockerArtifactStoreBean) error

func (DeleteServiceFullModeImpl) DeleteGitProvider

func (impl DeleteServiceFullModeImpl) DeleteGitProvider(deleteRequest *bean.GitRegistry) error

type DeleteServiceImpl

type DeleteServiceImpl struct {
	K8sUtil k8s.K8sService
	// contains filtered or unexported fields
}

func NewDeleteServiceImpl

func NewDeleteServiceImpl(logger *zap.SugaredLogger,
	teamService team.TeamService,
	clusterService cluster.ClusterService,
	environmentService environment.EnvironmentService,
	chartRepositoryService chartRepo.ChartRepositoryService,
	installedAppRepository repository.InstalledAppRepository,
	dockerRegistryConfig pipeline.DockerRegistryConfig,
	dockerRegistryRepository dockerRegistryRepository.DockerArtifactStoreRepository,
	k8sInformerFactory informer.K8sInformerFactory,
	K8sUtil k8s.K8sService,
) *DeleteServiceImpl

func (DeleteServiceImpl) CanDeleteChartRegistryPullConfig added in v0.6.23

func (impl DeleteServiceImpl) CanDeleteChartRegistryPullConfig(storeId string) bool

func (DeleteServiceImpl) DeleteChartRepo added in v0.3.16

func (impl DeleteServiceImpl) DeleteChartRepo(deleteRequest *chartRepo.ChartRepoDto) error

func (DeleteServiceImpl) DeleteCluster

func (impl DeleteServiceImpl) DeleteCluster(deleteRequest *bean2.ClusterBean, userId int32) error

func (DeleteServiceImpl) DeleteClusterSecret added in v1.0.0

func (impl DeleteServiceImpl) DeleteClusterSecret(deleteRequest *bean2.ClusterBean, err error) error

func (DeleteServiceImpl) DeleteDockerRegistryConfig added in v0.6.23

func (impl DeleteServiceImpl) DeleteDockerRegistryConfig(deleteRequest *types.DockerArtifactStoreBean) error

func (DeleteServiceImpl) DeleteEnvironment

func (impl DeleteServiceImpl) DeleteEnvironment(deleteRequest *bean.EnvironmentBean, userId int32) error

func (DeleteServiceImpl) DeleteTeam

func (impl DeleteServiceImpl) DeleteTeam(deleteRequest *bean3.TeamRequest) error

Jump to

Keyboard shortcuts

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