Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/public-api-server/pkg/apiv1/scm.go
2499 views
1
// Copyright (c) 2023 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
package apiv1
6
7
import (
8
"github.com/gitpod-io/gitpod/components/public-api/go/experimental/v1/v1connect"
9
"github.com/gitpod-io/gitpod/public-api-server/pkg/proxy"
10
)
11
12
func NewSCMService(pool proxy.ServerConnectionPool) *SCMService {
13
return &SCMService{
14
connectionPool: pool,
15
}
16
}
17
18
var _ v1connect.SCMServiceHandler = (*SCMService)(nil)
19
20
type SCMService struct {
21
connectionPool proxy.ServerConnectionPool
22
23
v1connect.UnimplementedSCMServiceHandler
24
}
25
26