kubernetesResourceAuditLogs

package
v0.6.21 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitOps string = "argo_cd"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sResourceHistoryService

type K8sResourceHistoryService interface {
	SaveArgoCdAppsResourceDeleteHistory(query *application.ApplicationResourceDeleteRequest, appId int, envId int, userId int32) error
	SaveHelmAppsResourceHistory(appIdentifier *client.AppIdentifier, k8sRequestBean *k8s.K8sRequestBean, userId int32, actionType string) error
}

type K8sResourceHistoryServiceImpl

type K8sResourceHistoryServiceImpl struct {
	K8sResourceHistoryRepository repository.K8sResourceHistoryRepository
	// contains filtered or unexported fields
}

func Newk8sResourceHistoryServiceImpl

func Newk8sResourceHistoryServiceImpl(K8sResourceHistoryRepository repository.K8sResourceHistoryRepository,
	logger *zap.SugaredLogger, appRepository app.AppRepository, envRepository repository2.EnvironmentRepository) *K8sResourceHistoryServiceImpl

func (K8sResourceHistoryServiceImpl) SaveArgoCdAppsResourceDeleteHistory

func (impl K8sResourceHistoryServiceImpl) SaveArgoCdAppsResourceDeleteHistory(query *application.ApplicationResourceDeleteRequest, appId int, envId int, userId int32) error

func (K8sResourceHistoryServiceImpl) SaveHelmAppsResourceHistory

func (impl K8sResourceHistoryServiceImpl) SaveHelmAppsResourceHistory(appIdentifier *client.AppIdentifier, k8sRequestBean *k8s.K8sRequestBean, userId int32, actionType string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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