mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 04:49:08 +08:00
cd52adc18b
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
20 lines
657 B
Go
20 lines
657 B
Go
package proxyservice
|
|
|
|
import (
|
|
"github.com/zilliztech/milvus-distributed/internal/proto/milvuspb"
|
|
"github.com/zilliztech/milvus-distributed/internal/proto/proxypb"
|
|
"github.com/zilliztech/milvus-distributed/internal/util/typeutil"
|
|
)
|
|
|
|
type Component = typeutil.Component
|
|
type Service = typeutil.Service
|
|
|
|
type ProxyService interface {
|
|
Component
|
|
Service
|
|
RegisterLink() (*milvuspb.RegisterLinkResponse, error)
|
|
RegisterNode(request *proxypb.RegisterNodeRequest) (*proxypb.RegisterNodeResponse, error)
|
|
// TODO: i'm sure it's not a best way to keep consistency, fix me
|
|
InvalidateCollectionMetaCache(request *proxypb.InvalidateCollMetaCacheRequest) error
|
|
}
|