Documentation ¶
Overview ¶
Storage/versioning and retrieval of PIQUANT configuration files and the currently selected PIQUANT pod version to be run
Index ¶
- func GetDetectorConfig(name string, db *mongo.Database) (*protos.DetectorConfig, error)
- func GetPIQUANTConfig(svcs *services.APIServices, configName string, version string) (*protos.PiquantConfig, error)
- func GetPiquantConfigVersions(svcs *services.APIServices, configName string) []string
- func GetPiquantVersion(svcs *services.APIServices) (*protos.PiquantVersion, error)
- func ReadFieldFromPIQUANTConfigMSA(msaContents string, fieldName string) (float32, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDetectorConfig ¶
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)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.