internal/

directory
v0.0.0-...-f0edac9 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0

Directories

Path Synopsis
api
server
Package server provides primitives to interact with the openapi HTTP API.
Package server provides primitives to interact with the openapi HTTP API.
Package apiserver provides HTTP server lifecycle management for the environment agent.
Package apiserver provides HTTP server lifecycle management for the environment agent.
Package auth provides JWT authentication middleware for the environment agent API.
Package auth provides JWT authentication middleware for the environment agent API.
Package backoff provides utilities for calculating exponential backoff durations with jitter.
Package backoff provides utilities for calculating exponential backoff durations with jitter.
Package cloudevent provides CloudEvent v1.0 construction utilities.
Package cloudevent provides CloudEvent v1.0 construction utilities.
Package config handles environment-based configuration loading and validation.
Package config handles environment-based configuration loading and validation.
Package dcm implements DCM registration and heartbeat lifecycle management.
Package dcm implements DCM registration and heartbeat lifecycle management.
Package embedded wires in-process OpenShift service providers into the agent.
Package embedded wires in-process OpenShift service providers into the agent.
cluster
Package cluster embeds the ACM cluster service provider in the agent.
Package cluster embeds the ACM cluster service provider in the agent.
container
Package container embeds the k8s container service provider in the agent.
Package container embeds the k8s container service provider in the agent.
network
Package network embeds the k8s network service provider in the agent.
Package network embeds the k8s network service provider in the agent.
storage
Package storage embeds the storage service provider in the agent.
Package storage embeds the storage service provider in the agent.
util
Package util provides small helpers shared by embedded service provider handlers.
Package util provides small helpers shared by embedded service provider handlers.
vm
Package vm embeds the KubeVirt VM service provider in the agent.
Package vm embeds the KubeVirt VM service provider in the agent.
Package handler implements the strict server interface by delegating to domain services.
Package handler implements the strict server interface by delegating to domain services.
Package health implements the health service domain logic.
Package health implements the health service domain logic.
monitor
Package monitor implements SP health monitoring: periodic checks, state machine transitions, and provider lifecycle management.
Package monitor implements SP health monitoring: periodic checks, state machine transitions, and provider lifecycle management.
Package httperror provides RFC 9457 problem details construction and mapping.
Package httperror provides RFC 9457 problem details construction and mapping.
Package messaging provides NATS/JetStream messaging client and topic management.
Package messaging provides NATS/JetStream messaging client and topic management.
openshift
acmcluster/app
Package app wires the ACM cluster service provider for in-process (embedded) use.
Package app wires the ACM cluster service provider for in-process (embedded) use.
acmcluster/cluster
Package cluster provides shared labels, conversion utilities, and platform-agnostic operations for cluster service provider implementations.
Package cluster provides shared labels, conversion utilities, and platform-agnostic operations for cluster service provider implementations.
acmcluster/cluster/baremetal
Package baremetal implements the BareMetal (Agent) platform Create operation.
Package baremetal implements the BareMetal (Agent) platform Create operation.
acmcluster/cluster/clustertest
Package clustertest provides shared test helpers for cluster service tests.
Package clustertest provides shared test helpers for cluster service tests.
acmcluster/cluster/dispatcher
Package dispatcher implements a composite ClusterService that dispatches operations to platform-specific sub-services.
Package dispatcher implements a composite ClusterService that dispatches operations to platform-specific sub-services.
acmcluster/cluster/kubevirtprovider
Package kubevirtprovider implements the KubeVirt platform Create operation.
Package kubevirtprovider implements the KubeVirt platform Create operation.
acmcluster/config
Package config provides environment-based configuration for the embedded cluster service provider.
Package config provides environment-based configuration for the embedded cluster service provider.
acmcluster/health
Package health implements dependency health checks for the service provider.
Package health implements dependency health checks for the service provider.
acmcluster/monitoring
Package monitoring watches HostedCluster and NodePool resources and publishes status CloudEvents.
Package monitoring watches HostedCluster and NodePool resources and publishes status CloudEvents.
acmcluster/service
Package service defines domain service interfaces for the service provider.
Package service defines domain service interfaces for the service provider.
acmcluster/service/status
Package status maps HyperShift conditions to DCM cluster statuses.
Package status maps HyperShift conditions to DCM cluster statuses.
acmcluster/util
Package util provides small generic helper functions.
Package util provides small generic helper functions.
acmcluster/version
Package version maps OpenShift release versions to Kubernetes minor versions.
Package version maps OpenShift release versions to Kubernetes minor versions.
container/app
Package app wires the container service provider for in-process (embedded) use.
Package app wires the container service provider for in-process (embedded) use.
container/config
Package config handles configuration loading from environment variables.
Package config handles configuration loading from environment variables.
container/dcm
Package dcm defines shared constants and conventions for the DCM service provider.
Package dcm defines shared constants and conventions for the DCM service provider.
container/kubernetes
Package kubernetes implements the container store using Kubernetes resources.
Package kubernetes implements the container store using Kubernetes resources.
container/monitoring
Package monitoring watches Kubernetes resources managed by DCM and publishes status change events via CloudEvents over NATS.
Package monitoring watches Kubernetes resources managed by DCM and publishes status change events via CloudEvents over NATS.
container/store
Package store defines the container repository interface and error types.
Package store defines the container repository interface and error types.
container/units
Package units provides resource unit conversions between API and Kubernetes formats.
Package units provides resource unit conversions between API and Kubernetes formats.
container/validate
Package validate provides request validation for container create operations.
Package validate provides request validation for container create operations.
database/config
Package config handles configuration loading from environment variables
Package config handles configuration loading from environment variables
database/dcm
Package dcm defines shared constants and conventions for the DCM service provider.
Package dcm defines shared constants and conventions for the DCM service provider.
database/kubernetes
Package kubernetes implements the database store using Kubernetes resources.
Package kubernetes implements the database store using Kubernetes resources.
database/store
Package store defines the database repository interface and error types.
Package store defines the database repository interface and error types.
database/units
Package units provides resource unit conversions between API and Kubernetes formats.
Package units provides resource unit conversions between API and Kubernetes formats.
database/validate
Package validate provides request validation for database create operations.
Package validate provides request validation for database create operations.
kubeconfig
Package kubeconfig builds Kubernetes REST configs for embedded SPs.
Package kubeconfig builds Kubernetes REST configs for embedded SPs.
kubevirtvm/app
Package app wires the KubeVirt VM service provider for in-process (embedded) use.
Package app wires the KubeVirt VM service provider for in-process (embedded) use.
kubevirtvm/config
Package config handles configuration loading for the embedded kubevirt VM service provider.
Package config handles configuration loading for the embedded kubevirt VM service provider.
kubevirtvm/constants
Package constants defines label keys for kubevirt VM resources.
Package constants defines label keys for kubevirt VM resources.
kubevirtvm/events
Package events publishes VM status change events to NATS JetStream.
Package events publishes VM status change events to NATS JetStream.
kubevirtvm/kubevirt
Package kubevirt provides a client for the KubeVirt API.
Package kubevirt provides a client for the KubeVirt API.
kubevirtvm/monitor
Package monitor watches KubeVirt VM instances and publishes status events.
Package monitor watches KubeVirt VM instances and publishes status events.
network/app
Package app wires the network service provider for in-process (embedded) use.
Package app wires the network service provider for in-process (embedded) use.
network/config
Package config handles configuration loading from environment variables.
Package config handles configuration loading from environment variables.
network/dcm
Package dcm defines shared constants and conventions for the DCM service provider.
Package dcm defines shared constants and conventions for the DCM service provider.
network/kubernetes
Package kubernetes implements Kubernetes-backed operations for the network SP.
Package kubernetes implements Kubernetes-backed operations for the network SP.
network/monitoring
Package monitoring watches network service resources managed by DCM and publishes status change events via CloudEvents over NATS.
Package monitoring watches network service resources managed by DCM and publishes status change events via CloudEvents over NATS.
network/store
Package store defines interfaces for network and health-check abstractions.
Package store defines interfaces for network and health-check abstractions.
network/validate
Package validate provides request validation for network operations.
Package validate provides request validation for network operations.
shared
Package shared holds settings common to all embedded OpenShift SPs.
Package shared holds settings common to all embedded OpenShift SPs.
storage/app
Package app wires the storage service provider for in-process (embedded) use.
Package app wires the storage service provider for in-process (embedded) use.
storage/config
Package config handles configuration loading from environment variables.
Package config handles configuration loading from environment variables.
storage/dcm
Package dcm defines shared constants and conventions for the DCM service provider.
Package dcm defines shared constants and conventions for the DCM service provider.
storage/kubernetes
Package kubernetes implements Kubernetes-backed operations for the storage SP.
Package kubernetes implements Kubernetes-backed operations for the storage SP.
storage/monitoring
Package monitoring watches Kubernetes PVCs managed by DCM and publishes status change events via CloudEvents over NATS.
Package monitoring watches Kubernetes PVCs managed by DCM and publishes status change events via CloudEvents over NATS.
storage/store
Package store defines interfaces for storage and health-check abstractions.
Package store defines interfaces for storage and health-check abstractions.
storage/validate
Package validate provides request validation for storage volume operations.
Package validate provides request validation for storage volume operations.
util
Package util provides small helpers shared across in-repo OpenShift service providers.
Package util provides small helpers shared across in-repo OpenShift service providers.
worker
Package worker provides shared lifecycle helpers for embedded SP apps.
Package worker provides shared lifecycle helpers for embedded SP apps.
Package provider implements SP registration and management.
Package provider implements SP registration and management.
service
Package service implements SP registration business logic.
Package service implements SP registration business logic.
store
Package store defines the persistence interface and implementation for SP registrations.
Package store defines the persistence interface and implementation for SP registrations.
Package ptr provides generic pointer helper functions.
Package ptr provides generic pointer helper functions.
Package requestctx provides request-scoped context helpers.
Package requestctx provides request-scoped context helpers.
Package routing dispatches resource operation requests to service providers.
Package routing dispatches resource operation requests to service providers.
retry
Package retry handles retry topic processing triggered by SP health transitions.
Package retry handles retry topic processing triggered by SP health transitions.
routingtest
Package routingtest provides shared test fakes, CE builders, and assertion helpers for routing and retry integration tests.
Package routingtest provides shared test fakes, CE builders, and assertion helpers for routing and retry integration tests.

Jump to

Keyboard shortcuts

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