piquant

package
v4.38.17 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Storage/versioning and retrieval of PIQUANT configuration files and the currently selected PIQUANT pod version to be run

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDetectorConfig

func GetDetectorConfig(name string, db *mongo.Database) (*protos.DetectorConfig, error)

func GetPIQUANTConfig

func GetPIQUANTConfig(svcs *services.APIServices, configName string, version string) (*protos.PiquantConfig, error)

func GetPiquantConfigVersions

func GetPiquantConfigVersions(svcs *services.APIServices, configName string) []string

GetPiquantConfigVersions - retrieves all available versions of a given named PIQUANT config eg. Returns all versions for config called PIXL or Breadboard...

func GetPiquantVersion

func GetPiquantVersion(svcs *services.APIServices) (*protos.PiquantVersion, error)

func ReadFieldFromPIQUANTConfigMSA added in v4.36.1

func ReadFieldFromPIQUANTConfigMSA(msaContents string, fieldName string) (float32, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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