delete

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

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
}

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,
) *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 *pipeline.GitRegistry) error
	DeleteDockerRegistryConfig(deleteRequest *pipeline.DockerArtifactStoreBean) error
}

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,
) *DeleteServiceFullModeImpl

func (DeleteServiceFullModeImpl) DeleteDockerRegistryConfig

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

func (DeleteServiceFullModeImpl) DeleteGitProvider

func (impl DeleteServiceFullModeImpl) DeleteGitProvider(deleteRequest *pipeline.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,
) *DeleteServiceImpl

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) 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