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

config

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 22 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)
	GetAllGitOpsConfig() ([]*bean2.GitOpsConfigDto, error)
	GetConfiguredGitOpsCount() (int, error)
	GetGitOpsProviderByRepoURL(gitRepoUrl string) (*bean2.GitOpsConfigDto, error)
	GetGitOpsById(id int) (*bean2.GitOpsConfigDto, error)
	GetGitConfig() (*gitBean.GitConfig, error)
}

type GitOpsConfigReadServiceImpl

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

func NewGitOpsConfigReadServiceImpl

func NewGitOpsConfigReadServiceImpl(logger *zap.SugaredLogger,
	gitOpsRepository repository.GitOpsConfigRepository,
	userService user.UserService,
	envVariables *util.EnvironmentVariables,
	moduleReadService moduleRead.ModuleReadService) *GitOpsConfigReadServiceImpl

func (*GitOpsConfigReadServiceImpl) GetAllGitOpsConfig added in v1.8.0

func (impl *GitOpsConfigReadServiceImpl) GetAllGitOpsConfig() ([]*bean2.GitOpsConfigDto, error)

func (*GitOpsConfigReadServiceImpl) GetBitbucketMetadata

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

func (*GitOpsConfigReadServiceImpl) GetConfiguredGitOpsCount

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

func (*GitOpsConfigReadServiceImpl) GetGitConfig added in v1.8.0

func (impl *GitOpsConfigReadServiceImpl) GetGitConfig() (*gitBean.GitConfig, error)

func (*GitOpsConfigReadServiceImpl) GetGitOpsById added in v0.7.2

func (impl *GitOpsConfigReadServiceImpl) GetGitOpsById(id int) (*bean2.GitOpsConfigDto, error)

func (*GitOpsConfigReadServiceImpl) GetGitOpsConfigActive

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

func (*GitOpsConfigReadServiceImpl) GetGitOpsProviderByRepoURL added in v0.7.2

func (impl *GitOpsConfigReadServiceImpl) GetGitOpsProviderByRepoURL(gitRepoUrl string) (*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