package capacitytemplate

import (
	tidbmgmtservicev1 "github.com/tidbcloud/tidb-management-service/api/spec/tidb_mgmt_service/v1"
	"github.com/tidbcloud/tidb-management-service/tidb-mgmt-service/domain/adapter/nextgenglobal"
)

func NewServer(
	nextgenCli nextgenglobal.NextGenGlobal,
) tidbmgmtservicev1.ReservedCapacityTemplateServiceServer {
	return &serverImpl{
		nextgenCli: nextgenCli,
	}
}

type serverImpl struct {
	nextgenCli nextgenglobal.NextGenGlobal
}
