config

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitOpsConfigReadService

type GitOpsConfigReadService interface {
	IsGitOpsConfigured() (*bean.GitOpsConfigurationStatus, error)
	GetUserEmailIdAndNameForGitOpsCommit(userId int32) (string, string)
	GetGitOpsRepoName(appName string) string
	GetGitOpsRepoNameFromUrl(gitRepoUrl string) string
	GetBitbucketMetadata() (*bean.BitbucketProviderMetadata, error)
	GetGitOpsConfigActive() (*bean2.GitOpsConfigDto, error)
	GetConfiguredGitOpsCount() (int, error)
}

type GitOpsConfigReadServiceImpl

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

func NewGitOpsConfigReadServiceImpl

func NewGitOpsConfigReadServiceImpl(logger *zap.SugaredLogger,
	gitOpsRepository repository.GitOpsConfigRepository,
	userService user.UserService,
	globalEnvVariables *util.GlobalEnvVariables) *GitOpsConfigReadServiceImpl

func (*GitOpsConfigReadServiceImpl) GetBitbucketMetadata

func (impl *GitOpsConfigReadServiceImpl) GetBitbucketMetadata() (*bean.BitbucketProviderMetadata, error)

func (*GitOpsConfigReadServiceImpl) GetConfiguredGitOpsCount

func (impl *GitOpsConfigReadServiceImpl) GetConfiguredGitOpsCount() (int, error)

func (*GitOpsConfigReadServiceImpl) GetGitOpsConfigActive

func (impl *GitOpsConfigReadServiceImpl) GetGitOpsConfigActive() (*bean2.GitOpsConfigDto, error)

func (*GitOpsConfigReadServiceImpl) GetGitOpsRepoName

func (impl *GitOpsConfigReadServiceImpl) GetGitOpsRepoName(appName string) string

func (*GitOpsConfigReadServiceImpl) GetGitOpsRepoNameFromUrl

func (impl *GitOpsConfigReadServiceImpl) GetGitOpsRepoNameFromUrl(gitRepoUrl string) string

func (*GitOpsConfigReadServiceImpl) GetUserEmailIdAndNameForGitOpsCommit

func (impl *GitOpsConfigReadServiceImpl) GetUserEmailIdAndNameForGitOpsCommit(userId int32) (string, string)

func (*GitOpsConfigReadServiceImpl) IsGitOpsConfigured

func (impl *GitOpsConfigReadServiceImpl) IsGitOpsConfigured() (*bean.GitOpsConfigurationStatus, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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