Help us shape the future of Go! Take the 2026 Go Developer Survey

validation

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: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitOpsValidationService

type GitOpsValidationService interface {
	// GitOpsValidateDryRun
	GitOpsValidateDryRun(config *apiBean.GitOpsConfigDto) apiBean.DetailedErrorGitOpsConfigResponse
	// ValidateCustomGitRepoURL performs the following validations:
	// "Get Repo URL", "Create Repo (if doesn't exist)", "Organisational URL Validation", "Unique GitOps Repo"
	// And returns: RepoUrl and isNew Repository url and error
	ValidateCustomGitRepoURL(request gitOpsBean.ValidateCustomGitRepoURLRequest) (string, bool, error)
}

type GitOpsValidationServiceImpl

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

func NewGitOpsValidationServiceImpl

func NewGitOpsValidationServiceImpl(Logger *zap.SugaredLogger,
	gitFactory *git.GitFactory,
	gitOperationService git.GitOperationService,
	gitOpsConfigReadService config.GitOpsConfigReadService,
	chartTemplateService util.ChartTemplateService,
	chartService chartService.ChartService,
	installedAppService FullMode.InstalledAppDBExtendedService) *GitOpsValidationServiceImpl

func (*GitOpsValidationServiceImpl) GitOpsValidateDryRun

func (*GitOpsValidationServiceImpl) ValidateCustomGitRepoURL

func (impl *GitOpsValidationServiceImpl) ValidateCustomGitRepoURL(request gitOpsBean.ValidateCustomGitRepoURLRequest) (string, bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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