Skip to content

Commit fd5d7a5

Browse files
Copilotknopers8
andauthored
OCTRL-1021 Add package documentation for all Go packages (#733)
* Initial plan * Add package documentation for core packages Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com> * Add package documentation for configuration, core, executor, and integration packages Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com> * Complete package documentation for all remaining packages Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com> * Initial plan for addressing PR review comments Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com> * Address PR review comments on package documentation Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com> * Fix package documentation placement and remove go.mod changes Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com>
1 parent 5d0a386 commit fd5d7a5

File tree

42 files changed

+80
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+80
-0
lines changed

apricot/apricot.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
* Intergovernmental Organization or submit itself to any jurisdiction.
2323
*/
2424

25+
// Package apricot implements the ALICE configuration service with templating,
26+
// load balancing and caching capabilities on top of the configuration store.
2527
package apricot
2628

2729
import (

apricot/cacheproxy/service.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Package cacheproxy provides a caching proxy implementation for the
2+
// configuration service, optimizing detector inventory lookups.
13
package cacheproxy
24

35
import (

apricot/local/service.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
* Intergovernmental Organization or submit itself to any jurisdiction.
2323
*/
2424

25+
// Package local implements a local configuration backend for the configuration
26+
// service, providing direct access to the backend storage without gRPC.
2527
package local
2628

2729
import (

apricot/remote/service.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
* Intergovernmental Organization or submit itself to any jurisdiction.
2323
*/
2424

25+
// Package remote implements a remote configuration backend for the configuration
26+
// service, accessing configuration handled by a different application via gRPC.
2527
package remote
2628

2729
import (

coconut/app/constants.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
* Intergovernmental Organization or submit itself to any jurisdiction.
2323
*/
2424

25+
// Package app provides application constants and metadata for the coconut
26+
// command line interface and its components.
2527
package app
2628

2729
const (

coconut/cmd/environment.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424

2525
//go:generate protoc -I=../../core -I=../../common --go_out=.. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative --go-grpc_out=require_unimplemented_servers=false:.. protos/o2control.proto
2626

27+
// Package cmd implements the command line interface for coconut, providing
28+
// various subcommands for managing O² Control environments and configurations.
2729
package cmd
2830

2931
import (

common/event/topic/topic.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* Intergovernmental Organization or submit itself to any jurisdiction.
2323
*/
2424

25+
// Package topic defines constants and types for event system topics.
2526
package topic
2627

2728
type Topic string

common/event/writer.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
* Intergovernmental Organization or submit itself to any jurisdiction.
2323
*/
2424

25+
// Package event provides event publishing and streaming functionality for
26+
// O² Control components, supporting Kafka and dummy event writers.
2527
package event
2628

2729
import (

common/golangmetrics/metrics.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
* Intergovernmental Organization or submit itself to any jurisdiction.
2323
*/
2424

25+
// Package golangmetrics provides Go runtime metrics collection and reporting
26+
// functionality for monitoring system resource usage and performance.
2527
package golangmetrics
2628

2729
import (

common/logger/infologger/protocols.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
* Intergovernmental Organization or submit itself to any jurisdiction.
2323
*/
2424

25+
// Package infologger provides InfoLogger protocol implementation for
26+
// integration with the ALICE InfoLogger logging system.
2527
package infologger
2628

2729
type protoVersion string

0 commit comments

Comments
 (0)