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

Generate enums for Gateway condition types and reasons #37

Merged
merged 1 commit into from
May 14, 2024

Conversation

aryan9600
Copy link
Contributor

Add a xtask to generate enums for Condition types and reasons along with an implemention of the Display trait for easy stringification. Use xtask for Gateway Condition types and reasons: GatewayConditionType, GatewayConditionReason, ListenerConditionType, ListenerConditionReason.

@shaneutt shaneutt self-requested a review May 13, 2024 16:38
@shaneutt shaneutt self-assigned this May 13, 2024
@shaneutt shaneutt added the enhancement New feature or request label May 13, 2024
xtask/src/main.rs Show resolved Hide resolved
Add a xtask to generate enums for Condition types and reasons along with
an implemention of the Display trait for easy stringification. Use xtask
for Gateway Condition types and reasons: `GatewayConditionType`,
`GatewayConditionReason`, `ListenerConditionType`,
`ListenerConditionReason`.

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
Copy link
Collaborator

@shaneutt shaneutt left a comment

Choose a reason for hiding this comment

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

👍

@shaneutt shaneutt merged commit 3d2d6c3 into kube-rs:main May 14, 2024
2 checks passed
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.

Types should include Status Reason/Condition
2 participants