config

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMilvusVersion   = "v2.0.0-rc8-20211104-d1f4106"
	DefaultMilvusBaseImage = "milvusdb/milvus"
	DefaultMilvusImage     = DefaultMilvusBaseImage + ":" + DefaultMilvusVersion
	DefaultImagePullPolicy = corev1.PullIfNotPresent
	MilvusConfigTpl        = "milvus.yaml.tmpl"
	MilvusClusterConfigTpl = "milvus-cluster.yaml.tmpl"
)
View Source
const (
	TemplateRelativeDir = "config/assets/templates"
	ChartDir            = "config/assets/charts"
	ProviderName        = "milvus-operator"
)

Variables

This section is empty.

Functions

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