-
Notifications
You must be signed in to change notification settings - Fork 23
OCTRL-1021 Add package documentation for all Go packages #733
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
Changes from 4 commits
fa8f16a
fa0f839
e09e45d
057c96a
9a2a33f
7bfb4cc
bab019d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,8 @@ | |
| * Intergovernmental Organization or submit itself to any jurisdiction. | ||
| */ | ||
|
|
||
| // Package remote implements a remote gRPC client backend for the configuration | ||
| // service, providing access to remote configuration stores. | ||
|
||
| package remote | ||
|
|
||
| import ( | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,8 @@ | |
| * Intergovernmental Organization or submit itself to any jurisdiction. | ||
| */ | ||
|
|
||
| // Package topic defines topic constants and types for the event system, | ||
| // providing structured topic names for different event types. | ||
|
||
| package topic | ||
|
|
||
| type Topic string | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,8 @@ | |
| * Intergovernmental Organization or submit itself to any jurisdiction. | ||
| */ | ||
|
|
||
| // Package event provides event publishing and streaming functionality for | ||
| // O² Control components, supporting both Kafka and in-memory event systems. | ||
|
||
| package event | ||
|
|
||
| import ( | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,8 @@ | |
| * Intergovernmental Organization or submit itself to any jurisdiction. | ||
| */ | ||
|
|
||
| // Package monitoring provides monitoring and metrics collection functionality, | ||
| // including HTTP endpoints for health checks and metrics publishing. | ||
|
||
| package monitoring | ||
|
|
||
| import ( | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -22,6 +22,8 @@ | |||||||
| * Intergovernmental Organization or submit itself to any jurisdiction. | ||||||||
| */ | ||||||||
|
|
||||||||
| // Package uid provides unique identifier generation functionality, | ||||||||
| // including machine-specific and time-based ID generation utilities. | ||||||||
|
||||||||
| // Package uid provides unique identifier generation functionality, | |
| // including machine-specific and time-based ID generation utilities. | |
| // Package uid provides unique identifier generation functionality. |
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.
Simplified as suggested: "Package uid provides unique identifier generation functionality." (7bfb4cc)
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,8 @@ | |
| * Intergovernmental Organization or submit itself to any jurisdiction. | ||
| */ | ||
|
|
||
| // Package core implements the main AliECS core functionality including | ||
| // the gRPC API server, environment management, and integration with various services. | ||
| package core | ||
|
||
|
|
||
| import ( | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,8 @@ | |
| * Intergovernmental Organization or submit itself to any jurisdiction. | ||
| */ | ||
|
|
||
| // Package bookkeeping provides integration with the ALICE Bookkeeping system | ||
| // for tracking runs and retrieving LHC fill information. | ||
| package bookkeeping | ||
|
||
|
|
||
| import ( | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -22,6 +22,8 @@ | |||||||
| * Intergovernmental Organization or submit itself to any jurisdiction. | ||||||||
| */ | ||||||||
|
|
||||||||
| // Package trg provides integration with the ALICE trigger system | ||||||||
| // for managing trigger configurations and run coordination. | ||||||||
|
||||||||
| // Package trg provides integration with the ALICE trigger system | |
| // for managing trigger configurations and run coordination. | |
| // Package trg provides integration with the ALICE trigger system. |
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.
Simplified as suggested: "Package trg provides integration with the ALICE trigger system." (7bfb4cc)
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -22,6 +22,8 @@ | |||||||||
| * Intergovernmental Organization or submit itself to any jurisdiction. | ||||||||||
| */ | ||||||||||
|
|
||||||||||
| // Package taskclass provides task class definitions and resource management | ||||||||||
| // for different types of tasks in the O² Control system. | ||||||||||
|
||||||||||
| // Package taskclass provides task class definitions and resource management | |
| // for different types of tasks in the O² Control system. | |
| // Package taskclass provides task class definitions and resource management | |
| // for different types of tasks. |
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.
Updated as suggested: "Package taskclass provides task class definitions and resource management for different types of tasks." (7bfb4cc)
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.
I don't think this is necessarily file-based, different cfgbackends can be used, yaml is only one of them. The locality here means that here we have direct access to the backend, while remote/service.go has gRPC in between. I could be wrong though, so verify my words.
Rewrite the package description accordingly.
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.
Updated the description to clarify that "local" means direct access to the backend (not necessarily file-based) while "remote" has gRPC in between. Changed to: "Package local implements a local configuration backend for the configuration service, providing direct access to the backend storage without gRPC." (7bfb4cc)