Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitOpsValidationService ¶
type GitOpsValidationService interface { // GitOpsValidateDryRun performs the following validations: // "Get Repo URL", "Create Repo (if it doesn't exist)", "Create Readme", "Clone Http", "Clone Ssh", "Commit On Rest", "Push", "Delete Repo" // And returns: gitOps.DetailedErrorGitOpsConfigResponse GitOpsValidateDryRun(config *apiBean.GitOpsConfigDto) apiBean.DetailedErrorGitOpsConfigResponse // ValidateCustomGitRepoURL performs the following validations: // "Get Repo URL", "Create Repo (if it 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 (impl *GitOpsValidationServiceImpl) GitOpsValidateDryRun(config *apiBean.GitOpsConfigDto) apiBean.DetailedErrorGitOpsConfigResponse
func (*GitOpsValidationServiceImpl) ValidateCustomGitRepoURL ¶
func (impl *GitOpsValidationServiceImpl) ValidateCustomGitRepoURL(request gitOpsBean.ValidateCustomGitRepoURLRequest) (string, bool, error)
Click to show internal directories.
Click to hide internal directories.