@@ -36,36 +36,44 @@ const (
3636 DDInfraInitOnly = "initOnly"
3737
3838 // Agent Namespace
39- DDAgentDeployParamName = "deploy"
40- DDAgentDeployWithOperatorParamName = "deployWithOperator"
41- DDAgentVersionParamName = "version"
42- DDAgentFlavorParamName = "flavor"
43- DDAgentPipelineID = "pipeline_id"
44- DDAgentLocalPackage = "localPackage"
45- DDAgentLocalChartPath = "localChartPath"
46- DDAgentCommitSHA = "commit_sha"
47- DDAgentFullImagePathParamName = "fullImagePath"
48- DDClusterAgentVersionParamName = "clusterAgentVersion"
49- DDClusterAgentFullImagePathParamName = "clusterAgentFullImagePath"
50- DDOperatorVersionParamName = "operatorVersion"
51- DDOperatorFullImagePathParamName = "operatorFullImagePath"
52- DDOperatorLocalChartPath = "localChartPath"
53- DDImagePullRegistryParamName = "imagePullRegistry"
54- DDImagePullUsernameParamName = "imagePullUsername"
55- DDImagePullPasswordParamName = "imagePullPassword"
56- DDAgentAPIKeyParamName = "apiKey"
57- DDAgentAPPKeyParamName = "appKey"
58- DDAgentFakeintake = "fakeintake"
59- DDAgentDualShipping = "dualshipping"
60- DDAgentFakeintakeStoreType = "fakeintakeStoreType"
61- DDAGentFakeintakeRetentionPeriod = "fakeintakeRetentionPeriod"
62- DDAgentSite = "site"
63- DDAgentMajorVersion = "majorVersion"
64- DDAgentExtraEnvVars = "extraEnvVars" // extraEnvVars is expected in the format: <key1>=<value1>,<key2>=<value2>,...
65- DDAgentJMX = "jmx"
66- DDAgentFIPS = "fips"
67- DDAgentConfigPathParamName = "configPath"
68- DDAgentHelmConfig = "helmConfig"
39+ DDAgentDeployParamName = "deploy"
40+ DDAgentDeployWithOperatorParamName = "deployWithOperator"
41+ DDAgentVersionParamName = "version"
42+ DDAgentFlavorParamName = "flavor"
43+ DDAgentPipelineID = "pipeline_id"
44+ DDAgentLocalPackage = "localPackage"
45+ DDAgentLocalChartPath = "localChartPath"
46+ DDAgentCommitSHA = "commit_sha"
47+ DDAgentFullImagePathParamName = "fullImagePath"
48+ DDClusterAgentVersionParamName = "clusterAgentVersion"
49+ DDClusterAgentFullImagePathParamName = "clusterAgentFullImagePath"
50+ DDAgentBaselineVersionParamName = "baselineVersion"
51+ DDAgentBaselineFullImagePathParamName = "baselineFullImagePath"
52+ DDClusterAgentBaselineVersionParamName = "baselineClusterAgentVersion"
53+ DDClusterAgentBaselineFullImagePathParamName = "baselineClusterAgentFullImagePath"
54+ DDAgentComparisonVersionParamName = "comparisonVersion"
55+ DDAgentComparisonFullImagePathParamName = "comparisonFullImagePath"
56+ DDClusterAgentComparisonVersionParamName = "comparisonClusterAgentVersion"
57+ DDClusterAgentComparisonFullImagePathParamName = "comparisonClusterAgentFullImagePath"
58+ DDOperatorVersionParamName = "operatorVersion"
59+ DDOperatorFullImagePathParamName = "operatorFullImagePath"
60+ DDOperatorLocalChartPath = "localChartPath"
61+ DDImagePullRegistryParamName = "imagePullRegistry"
62+ DDImagePullUsernameParamName = "imagePullUsername"
63+ DDImagePullPasswordParamName = "imagePullPassword"
64+ DDAgentAPIKeyParamName = "apiKey"
65+ DDAgentAPPKeyParamName = "appKey"
66+ DDAgentFakeintake = "fakeintake"
67+ DDAgentDualShipping = "dualshipping"
68+ DDAgentFakeintakeStoreType = "fakeintakeStoreType"
69+ DDAGentFakeintakeRetentionPeriod = "fakeintakeRetentionPeriod"
70+ DDAgentSite = "site"
71+ DDAgentMajorVersion = "majorVersion"
72+ DDAgentExtraEnvVars = "extraEnvVars" // extraEnvVars is expected in the format: <key1>=<value1>,<key2>=<value2>,...
73+ DDAgentJMX = "jmx"
74+ DDAgentFIPS = "fips"
75+ DDAgentConfigPathParamName = "configPath"
76+ DDAgentHelmConfig = "helmConfig"
6977
7078 // Updater Namespace
7179 DDUpdaterParamName = "deploy"
@@ -123,6 +131,15 @@ type Env interface {
123131 ClusterAgentVersion () string
124132 AgentFullImagePath () string
125133 ClusterAgentFullImagePath () string
134+ // Benchmarkeks specific methods
135+ AgentBaselineVersion () string
136+ AgentBaselineFullImagePath () string
137+ ClusterAgentBaselineVersion () string
138+ ClusterAgentBaselineFullImagePath () string
139+ AgentComparisonVersion () string
140+ AgentComparisonFullImagePath () string
141+ ClusterAgentComparisonVersion () string
142+ ClusterAgentComparisonFullImagePath () string
126143 OperatorFullImagePath () string
127144 OperatorVersion () string
128145 OperatorLocalChartPath () string
@@ -315,6 +332,40 @@ func (e *CommonEnvironment) ClusterAgentFullImagePath() string {
315332 return e .AgentConfig .Get (DDClusterAgentFullImagePathParamName )
316333}
317334
335+ // Benchmarkeks specific methods for baseline variant
336+ func (e * CommonEnvironment ) AgentBaselineVersion () string {
337+ return e .AgentConfig .Get (DDAgentBaselineVersionParamName )
338+ }
339+
340+ func (e * CommonEnvironment ) AgentBaselineFullImagePath () string {
341+ return e .AgentConfig .Get (DDAgentBaselineFullImagePathParamName )
342+ }
343+
344+ func (e * CommonEnvironment ) ClusterAgentBaselineVersion () string {
345+ return e .AgentConfig .Get (DDClusterAgentBaselineVersionParamName )
346+ }
347+
348+ func (e * CommonEnvironment ) ClusterAgentBaselineFullImagePath () string {
349+ return e .AgentConfig .Get (DDClusterAgentBaselineFullImagePathParamName )
350+ }
351+
352+ // Benchmarkeks specific methods for comparison variant
353+ func (e * CommonEnvironment ) AgentComparisonVersion () string {
354+ return e .AgentConfig .Get (DDAgentComparisonVersionParamName )
355+ }
356+
357+ func (e * CommonEnvironment ) AgentComparisonFullImagePath () string {
358+ return e .AgentConfig .Get (DDAgentComparisonFullImagePathParamName )
359+ }
360+
361+ func (e * CommonEnvironment ) ClusterAgentComparisonVersion () string {
362+ return e .AgentConfig .Get (DDClusterAgentComparisonVersionParamName )
363+ }
364+
365+ func (e * CommonEnvironment ) ClusterAgentComparisonFullImagePath () string {
366+ return e .AgentConfig .Get (DDClusterAgentComparisonFullImagePathParamName )
367+ }
368+
318369func (e * CommonEnvironment ) OperatorVersion () string {
319370 return e .OperatorConfig .Get (DDOperatorVersionParamName )
320371}
0 commit comments