config

package
v0.7.17 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultMilvusVersion   = "v2.2.13"
	DefaultMilvusBaseImage = "milvusdb/milvus"
	DefaultMilvusImage     = DefaultMilvusBaseImage + ":" + DefaultMilvusVersion
	DefaultImagePullPolicy = corev1.PullIfNotPresent
	MilvusConfigTpl        = "milvus.yaml.tmpl"
	MilvusClusterConfigTpl = "milvus-cluster.yaml.tmpl"
	MigrationConfigTpl     = "migration.yaml.tmpl"
)
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
)

Functions

func GetMigrationConfigTemplate added in v0.7.0

func GetMigrationConfigTemplate() string

func GetMilvusClusterConfigTemplate added in v0.2.0

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