Documentation
¶
Index ¶
- type ArgoApplicationConfigService
- type ArgoApplicationConfigServiceImpl
- func (impl *ArgoApplicationConfigServiceImpl) GetClusterConfigFromAllClusters(clusterId int) (*k8s.ClusterConfig, clusterRepository.Cluster, map[string]*k8s.ClusterConfig, ...)
- func (impl *ArgoApplicationConfigServiceImpl) GetRestConfigForExternalArgo(ctx context.Context, externalArgoAppIdentifier *bean.ArgoAppIdentifier) (*rest.Config, error)
- func (impl *ArgoApplicationConfigServiceImpl) GetServerConfigIfClusterIsNotAddedOnDevtron(resourceResp *k8s.ManifestResponse, restConfig *rest.Config, ...) (*rest.Config, error)
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, externalArgoAppIdentifier *bean.ArgoAppIdentifier) (*rest.Config, error)
GetClusterConfigFromAllClusters(clusterId int) (*k8s.ClusterConfig, clusterRepository.Cluster, map[string]*k8s.ClusterConfig, 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]*k8s.ClusterConfig, error)
func (*ArgoApplicationConfigServiceImpl) GetRestConfigForExternalArgo ¶
func (impl *ArgoApplicationConfigServiceImpl) GetRestConfigForExternalArgo(ctx context.Context, externalArgoAppIdentifier *bean.ArgoAppIdentifier) (*rest.Config, error)
func (*ArgoApplicationConfigServiceImpl) GetServerConfigIfClusterIsNotAddedOnDevtron ¶
func (impl *ArgoApplicationConfigServiceImpl) GetServerConfigIfClusterIsNotAddedOnDevtron(resourceResp *k8s.ManifestResponse, restConfig *rest.Config, clusterWithApplicationObject clusterRepository.Cluster, clusterServerUrlIdMap map[string]*k8s.ClusterConfig) (*rest.Config, error)
Click to show internal directories.
Click to hide internal directories.