config

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultMilvusVersion is the default version used when a new Milvus deployment is created.
	DefaultMilvusVersion = "v2.6.11"
	// DefaultMilvusBaseImage is the default Miluvs container image.
	DefaultMilvusBaseImage = "milvusdb/milvus"
	// DefaultMilvusImage is the default container image:version.
	DefaultMilvusImage = DefaultMilvusBaseImage + ":" + DefaultMilvusVersion
)
View Source
const (
	TemplateRelativeDir = "config/assets/templates"
	ChartDir            = "config/assets/charts"
	ProviderName        = "milvus-operator"
)

Variables

View Source
var (

	// set by run flag in main
	OperatorNamespace = "milvus-operator"
	OperatorName      = "milvus-operator"
	// param related to performance
	MaxConcurrentReconcile   = 10
	MaxConcurrentHealthCheck = 10
	SyncIntervalSec          = 600
	WatchNamespace           = ""
)

Functions

func GetMigrationConfigTemplate

func GetMigrationConfigTemplate() string

func GetMilvusClusterConfigTemplate

func GetMilvusClusterConfigTemplate() string

func GetMilvusConfigTemplate

func GetMilvusConfigTemplate() string

func Init

func Init(workDir string) error

func IsDebug

func IsDebug() bool

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(workDir string) (*Config, error)

func (Config) GetTemplate

func (c Config) GetTemplate(name string) string

Jump to

Keyboard shortcuts

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