Skip to content

Conversation

efd6
Copy link
Contributor

@efd6 efd6 commented Oct 9, 2025

Export and liberate from method status:

  • CreatePackageDatastream
  • BuildDataStreamName
  • BuildIndexTemplateName
  • FindPolicyTemplateForInput
  • SelectPolicyTemplateByName

Also harmonise pointiness of parameter types to avoid copies.

For #2868

Please take a look.

Export and liberate from method status:

* CreatePackageDatastream
* BuildDataStreamName
* BuildIndexTemplateName
* FindPolicyTemplateForInput
* SelectPolicyTemplateByName

Also harmonise pointiness of parameter types to avoid copies.
@efd6 efd6 self-assigned this Oct 9, 2025
@efd6 efd6 added the enhancement New feature or request label Oct 9, 2025
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @efd6

@efd6 efd6 marked this pull request as ready for review October 9, 2025 06:49
@efd6 efd6 requested a review from a team October 9, 2025 06:49
jsoriano
jsoriano approved these changes Oct 10, 2025
Comment on lines -1912 to +1914
config testConfig,
cfgName string,
cfgVars, cfgDSVars common.MapStr,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice changes to be more specific on the inputs needed 👍

func createPackageDatastream(
kibanaPolicy kibana.Policy,
pkg packages.PackageManifest,
func CreatePackageDatastream(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if these functions could be moved to some common package now that they are going to be used in multiple test runners. Similar functions probably exist too in benchmark runners.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants