installconfig

package
v1.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ModulesJSONEnv = "modules.json"
)

Variables

This section is empty.

Functions

func GetDependentModuleValidationErrorMessage added in v1.8.0

func GetDependentModuleValidationErrorMessage(moduleName, dependentModule string) string

func GetModuleValidationErrorMessage

func GetModuleValidationErrorMessage(moduleName string) string

func ReadModules added in v1.4.1

func ReadModules()

func ReadModulesToLogger added in v1.4.1

func ReadModulesToLogger(log logd.Logger)

func SetModulesOverride

func SetModulesOverride(t *testing.T, modules Modules)

SetModulesOverride is a testing function, so you can easily unittest function using the GetModules() func

Types

type Modules

type Modules struct {
	CSIDriver            bool `json:"csiDriver"`
	ActiveGate           bool `json:"activeGate"`
	OneAgent             bool `json:"oneAgent"`
	Extensions           bool `json:"extensions"`
	LogMonitoring        bool `json:"logMonitoring"`
	EdgeConnect          bool `json:"edgeConnect"`
	Supportability       bool `json:"supportability"`
	KubernetesMonitoring bool `json:"kubernetesMonitoring"`
	KSPM                 bool `json:"kspm"`
}

func GetModules

func GetModules() Modules

Jump to

Keyboard shortcuts

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