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

config

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgoApplicationConfigService

type ArgoApplicationConfigService interface {
	GetRestConfigForExternalArgo(ctx context.Context, clusterId int, externalArgoApplicationName string) (*rest.Config, error)
	GetClusterConfigFromAllClusters(clusterId int) (*k8s.ClusterConfig, clusterRepository.Cluster, map[string]int, error)
}

type ArgoApplicationConfigServiceImpl

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

func NewArgoApplicationConfigServiceImpl

func NewArgoApplicationConfigServiceImpl(logger *zap.SugaredLogger,
	k8sUtil *k8s.K8sServiceImpl,
	clusterRepository clusterRepository.ClusterRepository) *ArgoApplicationConfigServiceImpl

func (*ArgoApplicationConfigServiceImpl) GetClusterConfigFromAllClusters

func (impl *ArgoApplicationConfigServiceImpl) GetClusterConfigFromAllClusters(clusterId int) (*k8s.ClusterConfig, clusterRepository.Cluster, map[string]int, error)

func (*ArgoApplicationConfigServiceImpl) GetRestConfigForExternalArgo

func (impl *ArgoApplicationConfigServiceImpl) GetRestConfigForExternalArgo(ctx context.Context, clusterId int, externalArgoApplicationName string) (*rest.Config, error)

func (*ArgoApplicationConfigServiceImpl) GetServerConfigIfClusterIsNotAddedOnDevtron

func (impl *ArgoApplicationConfigServiceImpl) GetServerConfigIfClusterIsNotAddedOnDevtron(resourceResp *k8s.ManifestResponse, restConfig *rest.Config,
	clusterWithApplicationObject clusterRepository.Cluster, clusterServerUrlIdMap map[string]int) (*rest.Config, error)

Jump to

Keyboard shortcuts

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