2021-01-15 20:12:26 +08:00
|
|
|
package proxyservice
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/zilliztech/milvus-distributed/internal/proto/proxypb"
|
|
|
|
"github.com/zilliztech/milvus-distributed/internal/util/typeutil"
|
|
|
|
)
|
|
|
|
|
2021-01-18 10:38:41 +08:00
|
|
|
type ServiceBase = typeutil.Component
|
2021-01-15 20:12:26 +08:00
|
|
|
|
|
|
|
type Interface interface {
|
|
|
|
ServiceBase
|
|
|
|
RegisterLink() (proxypb.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
|
|
|
|
}
|