config

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgoCDConfigGetter

type ArgoCDConfigGetter interface {
	GetGRPCConfig() (*bean.ArgoGRPCConfig, error)
	GetK8sConfig() (*bean.ArgoK8sConfig, error)
	GetK8sConfigWithClusterIdAndNamespace(clusterId int, namespace string) (*bean.ArgoK8sConfig, error)
}

type ArgoCDConfigGetterImpl

type ArgoCDConfigGetterImpl struct {
	ACDAuthConfig *util.ACDAuthConfig

	K8sService k8sUtil.K8sService
	// contains filtered or unexported fields
}

func NewArgoCDConfigGetter

func NewArgoCDConfigGetter(
	config *bean.Config,
	environmentVariables *util2.EnvironmentVariables,
	ACDAuthConfig *util.ACDAuthConfig,
	clusterReadService read.ClusterReadService,
	logger *zap.SugaredLogger,
	K8sService k8sUtil.K8sService,
) *ArgoCDConfigGetterImpl

func (*ArgoCDConfigGetterImpl) GetGRPCConfig

func (impl *ArgoCDConfigGetterImpl) GetGRPCConfig() (*bean.ArgoGRPCConfig, error)

func (*ArgoCDConfigGetterImpl) GetK8sConfig

func (impl *ArgoCDConfigGetterImpl) GetK8sConfig() (*bean.ArgoK8sConfig, error)

func (*ArgoCDConfigGetterImpl) GetK8sConfigWithClusterIdAndNamespace added in v1.4.0

func (impl *ArgoCDConfigGetterImpl) GetK8sConfigWithClusterIdAndNamespace(clusterId int, namespace string) (*bean.ArgoK8sConfig, error)

Jump to

Keyboard shortcuts

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