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: Add trafficpolicy package and conversion util #564

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

jonstacks
Copy link
Collaborator

What

Adds a new trafficpolicy package for creating traffic policy. It also adds new util function to convert a moduleset to a traffic policy.

How

Add utilities for creating adding rules and actions to a traffic policy. Create helpers to create actions for each type of action. Write the translation logic that converts modulesets to traffic policy with tests for each.

Breaking Changes

No. All net new utilities

@jonstacks jonstacks self-assigned this Jan 8, 2025
@jonstacks jonstacks requested a review from a team as a code owner January 8, 2025 22:47
@github-actions github-actions bot added the area/controller Issues dealing with the controller label Jan 8, 2025
Copy link
Contributor

@Alice-Lilith Alice-Lilith left a comment

Choose a reason for hiding this comment

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

🔥 🚀

@jonstacks jonstacks added this pull request to the merge queue Jan 9, 2025
Merged via the queue into ngrok:main with commit cf90f52 Jan 9, 2025
8 checks passed
@jonstacks jonstacks deleted the traffic-policy-conversion branch January 9, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Issues dealing with the controller
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants