DataTug Commercial Subsystem
This directory contains the commercial subsystem, enterprise entitlement definitions, and proprietary extensions for the DataTug platform.
1. Governance & Licensing Scope
Unlike the community core (pkg/, cmd/, internal/, web/, docs/, scripts/, spec/), which is licensed under the Apache License 2.0, all code and documentation under commercial/ are governed by the DataTug Commercial Terms.
For full license terms, refer to:
2. Architectural Boundary & Separation of Concerns
DataTug enforces strict architectural boundaries to preserve the integrity of the open-source community edition:
- No Inward Dependencies:
Core community packages (
pkg/, internal/, cmd/) must never import proprietary commercial implementations.
- Contract-First Entitlement:
The
commercial/licensing package exposes clean Go interfaces (e.g., EntitlementVerifier, CapacityDescriptor, CoordinatorContract). This allows core subsystems to define optional hooks or runtime extension points without bundling proprietary enterprise logic into the open-source binaries.
- Standalone / Community Operation:
When running in community mode, DataTug operates fully standalone with built-in default/no-op verifiers, requiring zero proprietary runtime dependencies or network callouts to commercial license servers.
3. Package Summary
commercial/licensing/:
Defines enterprise entitlement contracts, capacity descriptors, license validation abstractions, and coordinator interfaces.