-
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
CRD values for Aggregate Player Tracking #1551
CRD values for Aggregate Player Tracking #1551
Conversation
Build Succeeded 👏 Build Id: bf9a4f9a-671b-42f5-901f-217429db43b5 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:
|
pkg/apis/agones/v1/common.go
Outdated
@@ -35,6 +35,12 @@ const ( | |||
ErrContainerNameInvalid = "Container must be empty or the name of a container in the pod template" | |||
) | |||
|
|||
// AggregatePlayerStatus stores total player tracking values | |||
type AggregatePlayerStatus struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Aggregate/Aggregated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aggregated works for me. Changed.
pkg/apis/agones/v1/fleet.go
Outdated
// [FeatureFlag:PlayerTracking] | ||
// Players are the current total player capacity and count for this Fleet | ||
// +optional | ||
Players *AggregatePlayerStatus `json:"players"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
omitempty
pkg/apis/agones/v1/gameserverset.go
Outdated
// [FeatureFlag:PlayerTracking] | ||
// Players are the current total player capacity and count for this GameServerSet | ||
// +optional | ||
Players *AggregatePlayerStatus `json:"players"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
omitempty
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes! Nice!
This PR is only the structure to store aggregate values for player tracking data across Fleets and GameServerSets. Later PRs will implement the logic. Work on googleforgames#1033
5bd6739
to
413ddc2
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: markmandel, pooneh-m 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 |
Nice! |
Build Succeeded 👏 Build Id: eff3391a-0372-4003-8d62-6ccfddda4b85 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:
|
This PR is only the structure to store aggregate values for player tracking data across Fleets and GameServerSets. Later PRs will implement the logic. Work on googleforgames#1033
What type of PR is this?
/kind feature
What this PR does / Why we need it:
This PR is only the structure to store aggregate values for player tracking data across Fleets and GameServerSets.
Which issue(s) this PR fixes:
Work on #1033
Special notes for your reviewer:
Later PRs will implement the logic.