config

package
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParsedObjects added in v0.69.0

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

func NewParsedObjects added in v0.69.0

func NewParsedObjects(ctx context.Context, rclient client.Client, cr *vmv1.VMAnomaly) (*ParsedObjects, error)

func (*ParsedObjects) Load added in v0.69.0

func (pos *ParsedObjects) Load(cr *vmv1.VMAnomaly, ac *build.AssetsCache) ([]byte, error)

Load returns vmanomaly config merged with provided secrets

func (*ParsedObjects) UpdateStatusesForChildObjects added in v0.69.0

func (pos *ParsedObjects) UpdateStatusesForChildObjects(ctx context.Context, rclient client.Client, cr *vmv1.VMAnomaly, childObject *vmv1.VMAnomalyConfig) error

type PartialConfig added in v0.69.0

type PartialConfig struct {
	Schedulers map[string]*scheduler `yaml:"schedulers,omitempty"`
	Models     map[string]*model     `yaml:"models,omitempty"`
	Queries    map[string]*query     `yaml:"queries,omitempty"`
}

func (*PartialConfig) Validate added in v0.69.0

func (pc *PartialConfig) Validate() error

Jump to

Keyboard shortcuts

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