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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimateNodeCount ¶
func FilesPerNode ¶
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 {
// Requires the instance count. If PMC files are named node0001.pmcs to node0003.pmcs, instances
// should be 4, start with 1-based counting for host names
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.