roles

package
v0.0.0-...-34e0b2d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TmpInvertedIndexPrefix = "/tmp/milvus/inverted-index/"
)

Variables

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

func (*MilvusRoles) Run

func (mr *MilvusRoles) Run()

Run Milvus components.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL