promote a bunch of hidden fields - #34
Merged
Merged
Conversation
joeyberkovitz
commented
Jul 16, 2026
| } | ||
|
|
||
| // ResetMetrics resets time intervals or counted values of the diagnostic data for this manager. | ||
| func (manager *Manager) ResetMetrics() error { |
Author
There was a problem hiding this comment.
this would've been a nasty bug if anyone used it
joeyberkovitz
commented
Jul 16, 2026
| SupportedResetTypes []ResetType | ||
| resetToDefaultsTarget string | ||
| resetToDefaultsActionInfoTarget string | ||
| SupportedResetToDefaultsTypes []ResetToDefaultsType |
joeyberkovitz
commented
Jul 16, 2026
| // resetInfo contains URI for an ActionInfo Resource that describes this action. | ||
| actionInfo string | ||
| // SupportedResetTypes, if provided, is the reset types this system supports. | ||
| SupportedResetTypes []ResetType |
joeyberkovitz
commented
Jul 16, 2026
| // firmware images that apply to this manager. | ||
| softwareImages []string | ||
| // SoftwareImagesCount is the number of firmware images that apply to this manager. | ||
| SoftwareImagesCount int |
joeyberkovitz
commented
Jul 16, 2026
| // resources of which this Manager instance has control. | ||
| managerForSwitches []string | ||
| // ManagerForSwitchesCount is the number of Switches being managed. | ||
| ManagerForSwitchesCount int |
joeyberkovitz
commented
Jul 16, 2026
| // resources of which this Manager instance has control. | ||
| managerForServers []string | ||
| // ManagerForServersCount is the number of Servers being managed. | ||
| ManagerForServersCount int |
joeyberkovitz
commented
Jul 16, 2026
| // being managed by this manager. | ||
| managerForManagers []string | ||
| // ManagerForManagersCount is the number of managers being managed by this manager. | ||
| ManagerForManagersCount int |
joeyberkovitz
commented
Jul 16, 2026
| // resources of which this Manager instance has control. | ||
| managerForChassis []string | ||
| // ManagerForChassisCount is the number of Chassis being managed. | ||
| ManagerForChassisCount int |
joeyberkovitz
commented
Jul 16, 2026
| // manager. | ||
| managedBy []string | ||
| // ManagedByCount is the number of managers for this manager. | ||
| ManagedByCount int |
joeyberkovitz
commented
Jul 16, 2026
| // Oem are all OEM data under top level manager section | ||
| Oem json.RawMessage | ||
| // OEMLinks are all OEM data under link section | ||
| OemLinks json.RawMessage |
joeyberkovitz
commented
Jul 16, 2026
| // manager. | ||
| networkProtocol string | ||
| // OemActions contains all the vendor specific actions. It is vendor responsibility to parse this field accordingly | ||
| OemActions json.RawMessage |
joeyberkovitz
force-pushed
the
manager-links
branch
from
July 16, 2026 19:14
6f113c8 to
eb420cf
Compare
iamsli
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
promotes a bunch of private members on Manager to public
this is a bit breaking since some members ended up dup'ed as a result