2021-01-22 04:57:23 +00:00
|
|
|
package proxyservice
|
|
|
|
|
|
|
|
import (
|
2021-02-04 11:34:35 +00:00
|
|
|
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
|
2021-01-22 04:57:23 +00:00
|
|
|
"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
|
2021-02-04 11:34:35 +00:00
|
|
|
InvalidateCollectionMetaCache(request *proxypb.InvalidateCollMetaCacheRequest) (*commonpb.Status, error)
|
2021-01-22 04:57:23 +00:00
|
|
|
}
|