internal/

directory
v0.0.0-...-3384764 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2026 License: Apache-2.0

Directories

Path Synopsis
agent
api/server
Package server provides primitives to interact with the openapi HTTP API.
Package server provides primitives to interact with the openapi HTTP API.
handlers/v1alpha1
Package v1alpha1 implements HTTP handlers for the Agent API.
Package v1alpha1 implements HTTP handlers for the Agent API.
healthcheck
Package healthcheck monitors agent heartbeats and marks agents unavailable.
Package healthcheck monitors agent heartbeats and marks agents unavailable.
service
Package service implements agent business logic.
Package service implements agent business logic.
store/agent
Package agent provides the GORM-based store for Agent entities.
Package agent provides the GORM-based store for Agent entities.
store/model
Package model defines the Agent domain model for GORM persistence.
Package model defines the Agent domain model for GORM persistence.
Package app wires the control-plane monolith.
Package app wires the control-plane monolith.
Package auth provides HTTP authentication middleware and actor resolution.
Package auth provides HTTP authentication middleware and actor resolution.
service
Package service implements actor resolution and JIT provisioning.
Package service implements actor resolution and JIT provisioning.
store
Package store defines the actor store interface and GORM implementation.
Package store defines the actor store interface and GORM implementation.
store/model
Package model defines the actor and identity persistence types.
Package model defines the actor and identity persistence types.
catalog
api/server
Package server provides primitives to interact with the openapi HTTP API.
Package server provides primitives to interact with the openapi HTTP API.
config
Package config provides application configuration loaded from environment variables.
Package config provides application configuration loaded from environment variables.
handlers/v1alpha1
Package v1alpha1 implements the v1alpha1 API request handlers.
Package v1alpha1 implements the v1alpha1 API request handlers.
logging
Package logging provides HTTP logging middleware using slog.
Package logging provides HTTP logging middleware using slog.
placement
Package placement provides a client for the Placement Manager service.
Package placement provides a client for the Placement Manager service.
service
Package service implements the business logic for catalog management.
Package service implements the business logic for catalog management.
store
Package store provides database access for catalog resources.
Package store provides database access for catalog resources.
store/model
Package model defines the database models for catalog resources.
Package model defines the database models for catalog resources.
testutil
Package testutil provides helpers shared by catalog tests.
Package testutil provides helpers shared by catalog tests.
placement
agent
Package agent provides types and an adapter boundary for listing ready agents, mirroring the policy and sprm adapter packages.
Package agent provides types and an adapter boundary for listing ready agents, mirroring the policy and sprm adapter packages.
config
Package config handles loading and validating service configuration.
Package config handles loading and validating service configuration.
httputil
Package httputil provides HTTP utility functions including retry logic.
Package httputil provides HTTP utility functions including retry logic.
logging
Package logging provides structured logging initialization for the application.
Package logging provides structured logging initialization for the application.
policy
Package policy provides types and an adapter boundary for policy evaluation.
Package policy provides types and an adapter boundary for policy evaluation.
service
Package service implements the core business logic for resource placement.
Package service implements the core business logic for resource placement.
sprm
Package sprm provides types and an adapter boundary for SP resource instances.
Package sprm provides types and an adapter boundary for SP resource instances.
store
Package store provides data persistence operations for resources.
Package store provides data persistence operations for resources.
store/model
Package model defines the database models for resource storage.
Package model defines the database models for resource storage.
types
Package types holds domain models for placement resources.
Package types holds domain models for placement resources.
policy
api/server
Package server provides primitives to interact with the openapi HTTP API.
Package server provides primitives to interact with the openapi HTTP API.
config
Package config provides application configuration loaded from environment variables.
Package config provides application configuration loaded from environment variables.
handlers/v1alpha1
Package v1alpha1 handles v1alpha1 API requests for policy CRUD operations.
Package v1alpha1 handles v1alpha1 API requests for policy CRUD operations.
logging
Package logging provides structured logging initialization for the application.
Package logging provides structured logging initialization for the application.
opa
Package opa provides an embedded OPA engine for policy compilation and evaluation.
Package opa provides an embedded OPA engine for policy compilation and evaluation.
service
Package service implements the business logic for policy operations.
Package service implements the business logic for policy operations.
store
Package store provides database initialization and storage interfaces for policies.
Package store provides database initialization and storage interfaces for policies.
store/model
Package model defines the database models for the store layer.
Package model defines the database models for the store layer.
sp
api/resource_manager
Package resource_manager provides primitives to interact with the openapi HTTP API.
Package resource_manager provides primitives to interact with the openapi HTTP API.
cleanup
Package cleanup implements stale instance cleanup scheduling.
Package cleanup implements stale instance cleanup scheduling.
config
Package config handles loading and validating service configuration.
Package config handles loading and validating service configuration.
consumer
Package consumer subscribes to NATS JetStream status events.
Package consumer subscribes to NATS JetStream status events.
handlers/resource_manager
Package resource_manager implements HTTP handlers for the Resource Manager API.
Package resource_manager implements HTTP handlers for the Resource Manager API.
logging
Package logging provides structured logging initialization for the application.
Package logging provides structured logging initialization for the application.
messaging
Package messaging provides CloudEvent types and a JetStream publisher for agent communication.
Package messaging provides CloudEvent types and a JetStream publisher for agent communication.
pending
Package pending sweeps timed-out pending and queued service instances.
Package pending sweeps timed-out pending and queued service instances.
service
Package service provides shared types and helpers for business logic layers.
Package service provides shared types and helpers for business logic layers.
service/resource_manager
Package resource_manager implements service type instance management.
Package resource_manager implements service type instance management.
store
Package store provides database access interfaces and implementations.
Package store provides database access interfaces and implementations.
store/model
Package model defines database models for the service provider store.
Package model defines database models for the service provider store.
store/resource_manager
Package store provides database access for service type instance operations.
Package store provides database access for service type instance operations.
testutil
Package testutil provides helpers shared by tests in this module.
Package testutil provides helpers shared by tests in this module.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL