yamlparser

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UserYamlPath = "/milvus/configs/operator/user.yaml"

Functions

func ParseObjectFromFile

func ParseObjectFromFile(path string, obj interface{}) error

Types

type UserYaml

type UserYaml struct {
	Minio struct {
		Address       string `yaml:"address"`
		Port          int    `yaml:"port"`
		UseSSL        bool   `yaml:"useSSL"`
		UseIAM        bool   `yaml:"useIAM"`
		CloudProvider string `yaml:"cloudProvider"`
		AccessKeyID   string `yaml:"accessKeyID"`
		BucketName    string `yaml:"bucketName"`
		Region        string `yaml:"region"`
	} `yaml:"minio"`
}

func ParseUserYaml

func ParseUserYaml() (*UserYaml, error)

Jump to

Keyboard shortcuts

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