delete

package
v0.6.29 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 16 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 *cluster.ClusterBean, userId int32) error
	DeleteEnvironment(deleteRequest *cluster.EnvironmentBean, userId int32) error
	DeleteTeam(deleteRequest *team.TeamRequest) error
	DeleteChartRepo(deleteRequest *chartRepo.ChartRepoDto) error
	DeleteDockerRegistryConfig(deleteRequest *types.DockerArtifactStoreBean) error
	CanDeleteChartRegistryPullConfig(storeId string) bool
}

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 cluster.EnvironmentService,
	appRepository app.AppRepository,
	environmentRepository repository.EnvironmentRepository,
	pipelineRepository pipelineConfig.PipelineRepository,
	chartRepositoryService chartRepo.ChartRepositoryService,
	installedAppRepository repository2.InstalledAppRepository,
	dockerRegistryConfig pipeline.DockerRegistryConfig,
	dockerRegistryRepository dockerRegistryRepository.DockerArtifactStoreRepository,
) *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 *cluster.ClusterBean, userId int32) error

func (DeleteServiceExtendedImpl) DeleteEnvironment

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

func (DeleteServiceExtendedImpl) DeleteTeam

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

type DeleteServiceFullMode

type DeleteServiceFullMode interface {
	DeleteGitProvider(deleteRequest *types.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,
	gitMaterialRepository pipelineConfig.MaterialRepository,
	gitRegistryConfig pipeline.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 *types.GitRegistry) error

type DeleteServiceImpl

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

func NewDeleteServiceImpl

func NewDeleteServiceImpl(logger *zap.SugaredLogger,
	teamService team.TeamService,
	clusterService cluster.ClusterService,
	environmentService cluster.EnvironmentService,
	chartRepositoryService chartRepo.ChartRepositoryService,
	installedAppRepository repository.InstalledAppRepository,
	dockerRegistryConfig pipeline.DockerRegistryConfig,
	dockerRegistryRepository dockerRegistryRepository.DockerArtifactStoreRepository,
) *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 *cluster.ClusterBean, userId int32) 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 *cluster.EnvironmentBean, userId int32) error

func (DeleteServiceImpl) DeleteTeam

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

Jump to

Keyboard shortcuts

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