Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(node): add NodeDefinitionModifier #66

Conversation

Zygimantass
Copy link
Contributor

@Zygimantass Zygimantass commented Jan 26, 2024

In this PR

With provider-specific configurations, there will be cases where the users of Petri will want to change the task definitions or provider-specific configuration based on NodeConfig. NodeDefinitionModifier lets you accept a TaskDefinition and return a modified one based on the NodeConfig.

Questions

  • is there a better pattern to use for this kind of functionality?

@Zygimantass Zygimantass merged commit f23db1f into zygis/add-provider-specific-config Jan 30, 2024
7 checks passed
Zygimantass added a commit that referenced this pull request Jan 30, 2024
@Zygimantass Zygimantass deleted the zygis/add-node-definition-modifier branch January 31, 2024 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants