Documentation ¶
Index ¶
Constants ¶
View Source
const (
TmpInvertedIndexPrefix = "/tmp/milvus/inverted-index/"
)
Variables ¶
View Source
var Registry *internalmetrics.MilvusRegistry
all milvus related metrics is in a separate registry
Functions ¶
This section is empty.
Types ¶
type MilvusRoles ¶
type MilvusRoles struct { EnableRootCoord bool `env:"ENABLE_ROOT_COORD"` EnableProxy bool `env:"ENABLE_PROXY"` EnableQueryCoord bool `env:"ENABLE_QUERY_COORD"` EnableQueryNode bool `env:"ENABLE_QUERY_NODE"` EnableDataCoord bool `env:"ENABLE_DATA_COORD"` EnableDataNode bool `env:"ENABLE_DATA_NODE"` EnableIndexCoord bool `env:"ENABLE_INDEX_COORD"` EnableIndexNode bool `env:"ENABLE_INDEX_NODE"` EnableStreamingNode bool `env:"ENABLE_STREAMING_NODE"` Local bool Alias string Embedded bool ServerType string // contains filtered or unexported fields }
MilvusRoles decides which components are brought up with Milvus.
func NewMilvusRoles ¶
func NewMilvusRoles() *MilvusRoles
NewMilvusRoles creates a new MilvusRoles with private fields initialized.
func (*MilvusRoles) EnvValue ¶
func (mr *MilvusRoles) EnvValue(env string) bool
EnvValue not used now.
func (*MilvusRoles) GetRoles ¶
func (mr *MilvusRoles) GetRoles() []string
Click to show internal directories.
Click to hide internal directories.