installconfig

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 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 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"`
	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