Skip to content

Latest commit

Β 

History

History
34 lines (29 loc) Β· 1.35 KB

Architecture.md

File metadata and controls

34 lines (29 loc) Β· 1.35 KB
title Architecture
parent Develop & Contribute
nav_order 3

Architecture

Repository Structure

β”œβ”€β”€ api/
β”‚   └── enterprise/   CRD Go types for current and compatibility API versions
β”œβ”€β”€ cmd/              Main entry point for the operator
β”œβ”€β”€ config/           Kubernetes manifests and configuration
β”‚   β”œβ”€β”€ crd/          CRD base files
β”‚   β”œβ”€β”€ samples/      Example CR manifests
β”‚   β”œβ”€β”€ default/      Default kustomize configurations
β”‚   └── rbac/         RBAC configurations
β”œβ”€β”€ docs/             User-facing documentation
β”œβ”€β”€ helm-chart/       Helm charts for operator and enterprise
β”œβ”€β”€ internal/         Internal controller logic
β”œβ”€β”€ kuttl/            KUTTL test scenarios
β”œβ”€β”€ pkg/              Core business logic
β”‚   └── splunk/
β”œβ”€β”€ test/             Integration tests
β”‚   β”œβ”€β”€ testenv/      Test environment utilities
β”‚   └── */            Test suites by feature
└── tools/            Helper scripts and utilities

Package Architecture

Domain logic under pkg/splunk/ is organized by concern with a strict layered import direction. See pkg/splunk/README.md for the full package layout, import rules, and guidance on where to put new code.