Skip to content

Commit fa0f839

Browse files
Copilotknopers8
andcommitted
Add package documentation for core packages
Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com>
1 parent fa8f16a commit fa0f839

File tree

12 files changed

+24
-0
lines changed

12 files changed

+24
-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 filesystem backend for the configuration
26+
// service, providing file-based configuration storage and retrieval.
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 gRPC client backend for the configuration
26+
// service, providing access to remote configuration stores.
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: 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 topic defines topic constants and types for the event system,
26+
// providing structured topic names for different event types.
2527
package topic
2628

2729
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 both Kafka and in-memory event systems.
2527
package event
2628

2729
import (

common/utils/utils.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 utils provides common utility functions for string manipulation,
26+
// data conversion, and various helper operations used across O² Control components.
2527
package utils
2628

2729
import (

configuration/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 configuration provides interfaces and implementations for managing
26+
// runtime configuration of O² Control components and detectors.
2527
package configuration
2628

2729
import (

0 commit comments

Comments
 (0)