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 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...
Types ¶
type PiquantConfig ¶
type PiquantConfig struct { Description string `json:"description"` ConfigFile string `json:"configFile"` OpticEfficiencyFile string `json:"opticEfficiencyFile"` CalibrationFile string `json:"calibrationFile"` StandardsFile string `json:"standardsFile"` }
func GetPIQUANTConfig ¶
func GetPIQUANTConfig(svcs *services.APIServices, configName string, version string) (PiquantConfig, error)
type PiquantVersionConfig ¶
type PiquantVersionConfig struct { Version string `json:"version"` ChangedUnixTimeSec int64 `json:"changedUnixTimeSec"` Creator pixlUser.UserInfo `json:"creator"` }
Version config item
func GetPiquantVersion ¶
func GetPiquantVersion(svcs *services.APIServices) (PiquantVersionConfig, error)
GetPiquantVersion - retrieves currently active PIQUANT version NOTE: If this is not in S3, we read the API config value, but this allows users to override it with S3
Click to show internal directories.
Click to hide internal directories.