Documentation
¶
Overview ¶
Exposes interfaces and structures required to run PIQUANT in the Kubernetes cluster along with functions to access quantification files, logs, results and summaries of quant jobs.
Example (EstimateNodeCount) ¶
Output: 10 18 18 18 18 19 19 20 20 21 19 17 6
Example (FilesPerNode) ¶
Output: 1619 2690
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimateNodeCount ¶
func FilesPerNode ¶
func MakePMCFileName ¶
MakePMCFileName - generates a name for the PMC list file based on a given node-numer
NOTE: nodes are 0-based whereas pmc filenames are 1-based, so the first node is 0 and will work on pmcs in node00001.pmcs
Types ¶
type PiquantParams ¶
type PiquantParams struct { RunTimeEnv string `json:"runtimeEnv"` JobID string `json:"jobId"` JobsPath string `json:"jobsPath"` DatasetPath string `json:"datasetPath"` DetectorConfig string `json:"detectorConfig"` Elements []string `json:"elements"` Parameters string `json:"parameters"` DatasetsBucket string `json:"datasetsBucket"` ConfigBucket string `json:"configBucket"` PiquantJobsBucket string `json:"jobBucket"` QuantName string `json:"name"` PMCListName string `json:"pmcListName"` Command string `json:"command"` }
PiquantParams - Parameters for running piquant, as generated by PIXLISE API
type QuantRunner ¶
type QuantRunner interface {
RunPiquant(piquantDockerImage string, params PiquantParams, pmcListNames []string, cfg config.APIConfig, requestorUserId string, log logger.ILogger) error
}
func GetQuantRunner ¶
func GetQuantRunner(name string) (QuantRunner, error)
Click to show internal directories.
Click to hide internal directories.