-
Notifications
You must be signed in to change notification settings - Fork 825
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
Alpha GameServer attributes added to SDK #1440
Alpha GameServer attributes added to SDK #1440
Conversation
Rather than recreating SDK.GameServer() and SDK.WatchGameServer() in the alpha SDK, I thought it would be easiest both in the short and long term to mimic what we have done in the GameServer CRD, and populate the Alpha attributes from these SDK methods when the feature flag for Player Tracking is enabled. This is done by adding logic to the conversion function that converts the K8s GameServer definition into the SDK GameServer definition. This includes regenerated gRPC code for the supported clients. I also had to fix the line endings in the C# gen.sh, so including that in this PR.
Build Succeeded 👏 Build Id: 005ed5f7-70f5-4113-90aa-65711902df4a The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Build Succeeded 👏 Build Id: f6e1973f-d545-42d9-b8e0-15e2c029dd62 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: markmandel, roberthbailey The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Alpha GameServer attributes added to SDK Rather than recreating SDK.GameServer() and SDK.WatchGameServer() in the alpha SDK, I thought it would be easiest both in the short and long term to mimic what we have done in the GameServer CRD, and populate the Alpha attributes from these SDK methods when the feature flag for Player Tracking is enabled. This is done by adding logic to the conversion function that converts the K8s GameServer definition into the SDK GameServer definition. This includes regenerated gRPC code for the supported clients. I also had to fix the line endings in the C# gen.sh, so including that in this PR. * Update based on review
Rather than recreating SDK.GameServer() and SDK.WatchGameServer() in the alpha SDK, I thought it would be easiest both in the short and long term to mimic what we have done in the GameServer CRD, and populate the Alpha attributes from these SDK methods when the feature flag for Player Tracking is enabled.
This is done by adding logic to the conversion function that converts the K8s GameServer definition into the SDK GameServer definition.
This includes regenerated gRPC code for the supported clients.
I also had to fix the line endings in the C# gen.sh, so including that in this PR.
Work on #1033