Directories
¶
| Path | Synopsis |
|---|---|
|
app
|
|
|
build
Package build contains build information for the application.
|
Package build contains build information for the application. |
|
compress
Package compress provides functionality to compress a file into a tar.gz archive.
|
Package compress provides functionality to compress a file into a tar.gz archive. |
|
config
Package config contains code for all configs to share
|
Package config contains code for all configs to share |
|
config/gator
Package config implements the configuration for the aggregator..
|
Package config implements the configuration for the aggregator.. |
|
config/validator
Package config contains configuration settings.
|
Package config contains configuration settings. |
|
config/webhook
Package config contains the configuration for the application.
|
Package config contains the configuration for the application. |
|
domain
Package domain contains the Application Core business logic for the CloudZero Agent.
|
Package domain contains the Application Core business logic for the CloudZero Agent. |
|
domain/certificate
Package certificate provides certificate generation and management functionality for the CloudZero Agent, including TLS certificate creation and Kubernetes webhook configuration management.
|
Package certificate provides certificate generation and management functionality for the CloudZero Agent, including TLS certificate creation and Kubernetes webhook configuration management. |
|
domain/certificate/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
domain/diagnostic
Package diagnostic contains an interface to be implemented by diagnostics providers.
|
Package diagnostic contains an interface to be implemented by diagnostics providers. |
|
domain/diagnostic/catalog
Package catalog contains the registry of diagnostics.
|
Package catalog contains the registry of diagnostics. |
|
domain/diagnostic/cz
Package cz contains code for checking a CloudZero API token.
|
Package cz contains code for checking a CloudZero API token. |
|
domain/diagnostic/k8s/namespace
Package namespace contains code for checking the Kubernetes configuration.
|
Package namespace contains code for checking the Kubernetes configuration. |
|
domain/diagnostic/k8s/provider
Package provider contains code for checking the Kubernetes configuration.
|
Package provider contains code for checking the Kubernetes configuration. |
|
domain/diagnostic/k8s/version
Package version contains code for checking the Kubernetes configuration.
|
Package version contains code for checking the Kubernetes configuration. |
|
domain/diagnostic/kms
Package kms contains code for testing access the Kubernetes Management Service.
|
Package kms contains code for testing access the Kubernetes Management Service. |
|
domain/diagnostic/prom/config
Package config contains a diagnostic provider for checking the Prometheus configuration.
|
Package config contains a diagnostic provider for checking the Prometheus configuration. |
|
domain/diagnostic/prom/version
Package version contains a diagnostic provider for checking the Prometheus version.
|
Package version contains a diagnostic provider for checking the Prometheus version. |
|
domain/diagnostic/runner
Package runner contains tools for running diagnostics.
|
Package runner contains tools for running diagnostics. |
|
domain/diagnostic/stage
Package stage contains a diagnostic provider for checking the stage.
|
Package stage contains a diagnostic provider for checking the stage. |
|
domain/diagnostic/webhook
Package webhook contains code for checking a CloudZero API token.
|
Package webhook contains code for checking a CloudZero API token. |
|
domain/filter
Package filter provides high-performance metric filtering utilities for CloudZero Agent cost allocation.
|
Package filter provides high-performance metric filtering utilities for CloudZero Agent cost allocation. |
|
domain/healthz
Package healthz provides a simple and extensible health check mechanism for HTTP services.
|
Package healthz provides a simple and extensible health check mechanism for HTTP services. |
|
domain/housekeeper
Package housekeeper provides a mechanism for cleaning up stale data in a resource store.
|
Package housekeeper provides a mechanism for cleaning up stale data in a resource store. |
|
domain/k8s
Package k8s gives a unified interface for k8s information to be retrieved.
|
Package k8s gives a unified interface for k8s information to be retrieved. |
|
domain/k8s/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
domain/monitor
Package monitor provides secure dynamic secret management and certificate monitoring for CloudZero Agent operations.
|
Package monitor provides secure dynamic secret management and certificate monitoring for CloudZero Agent operations. |
|
domain/pusher
Package pusher provides a mechanism for pushing metrics to a remote write endpoint.
|
Package pusher provides a mechanism for pushing metrics to a remote write endpoint. |
|
domain/shipper
Package shipper provides metric upload and transmission services for the CloudZero Agent.
|
Package shipper provides metric upload and transmission services for the CloudZero Agent. |
|
domain/transform
Package transform provides metric transformation capabilities for standardizing vendor-specific metrics into common formats for cost allocation.
|
Package transform provides metric transformation capabilities for standardizing vendor-specific metrics into common formats for cost allocation. |
|
domain/transform/catalog
Package catalog provides a catalog-based metric transformer that routes metrics to registered specialized transformers.
|
Package catalog provides a catalog-based metric transformer that routes metrics to registered specialized transformers. |
|
domain/transform/dcgm
Package dcgm provides NVIDIA DCGM metric transformation for cost allocation.
|
Package dcgm provides NVIDIA DCGM metric transformation for cost allocation. |
|
domain/webhook
Package webhook provides Kubernetes admission webhook business logic for CloudZero Agent cost allocation.
|
Package webhook provides Kubernetes admission webhook business logic for CloudZero Agent cost allocation. |
|
domain/webhook/backfiller
Package backfiller provides functionality to backfill Kubernetes Resource objects, and if enabled invokes the webhook domain logic
|
Package backfiller provides functionality to backfill Kubernetes Resource objects, and if enabled invokes the webhook domain logic |
|
domain/webhook/handler
Package handler admission webhook handlers (hook.Handler) for various resource types.
|
Package handler admission webhook handlers (hook.Handler) for various resource types. |
|
domain/webhook/helper
Package helper contains decode helper methods for transforming kubernetes metav1.Objects into K8sObjects
|
Package helper contains decode helper methods for transforming kubernetes metav1.Objects into K8sObjects |
|
domain/webhook/hook
Package hook contains structures and interfaces for implementing admission webhooks handlers.
|
Package hook contains structures and interfaces for implementing admission webhooks handlers. |
|
functions/agent-inspector
command
|
|
|
functions/agent-validator
command
|
|
|
functions/agent-validator/config
Package config contains a CLI for managing configuration files.
|
Package config contains a CLI for managing configuration files. |
|
functions/agent-validator/diagnose
Package diagnose contains a CLI for running diagnostics.
|
Package diagnose contains a CLI for running diagnostics. |
|
functions/agent-validator/install
Package install contains a CLI for copying the executable to a destination.
|
Package install contains a CLI for copying the executable to a destination. |
|
functions/certifik8s
command
|
|
|
functions/cluster-config
command
|
|
|
functions/cluster-config/loader
Package loader provides code to load all the different config types
|
Package loader provides code to load all the different config types |
|
functions/collector
command
|
|
|
functions/helmless
command
Package main implements a tool for comparing configured values against default values from a Helm chart.
|
Package main implements a tool for comparing configured values against default values from a Helm chart. |
|
functions/helmless/overrides
Package overrides provides functionality for extracting configuration overrides by comparing configured values against default values from Helm charts.
|
Package overrides provides functionality for extracting configuration overrides by comparing configured values against default values from Helm charts. |
|
functions/jsonbr2parquet
command
|
|
|
functions/scout
command
|
|
|
functions/shipper
command
|
|
|
functions/webhook
command
|
|
|
handlers
Package handlers provides HTTP request handlers for CloudZero Agent Primary Adapter implementations.
|
Package handlers provides HTTP request handlers for CloudZero Agent Primary Adapter implementations. |
|
http/client
Package http provides HTTP client utilities for CloudZero Agent external API integrations.
|
Package http provides HTTP client utilities for CloudZero Agent external API integrations. |
|
http/middleware
Package middleware provides standard app middlware implementations
|
Package middleware provides standard app middlware implementations |
|
inspector
Package inspector provides a way to inspect HTTP responses from the CloudZero API to diagnose issues.
|
Package inspector provides a way to inspect HTTP responses from the CloudZero API to diagnose issues. |
|
logging
Package logging provides structured logging infrastructure for CloudZero Agent operations.
|
Package logging provides structured logging infrastructure for CloudZero Agent operations. |
|
logging/instr
Package instr provides instrumentation utilities.
|
Package instr provides instrumentation utilities. |
|
logging/validator
Package logging contains utilities for logging.
|
Package logging contains utilities for logging. |
|
storage/core
Package core provides foundational database repository infrastructure for CloudZero Agent storage operations.
|
Package core provides foundational database repository infrastructure for CloudZero Agent storage operations. |
|
storage/disk
Package disk implements the secondary adapter for persistent storage in hexagonal architecture.
|
Package disk implements the secondary adapter for persistent storage in hexagonal architecture. |
|
storage/repo
Package repo provides concrete repository implementations for CloudZero Agent resource metadata storage.
|
Package repo provides concrete repository implementations for CloudZero Agent resource metadata storage. |
|
storage/sqlite
Package sqlite provides SQLite database driver implementation for CloudZero Agent data persistence.
|
Package sqlite provides SQLite database driver implementation for CloudZero Agent data persistence. |
|
types
Package types defines event bus abstractions for inter-component communication in the CloudZero Agent.
|
Package types defines event bus abstractions for inter-component communication in the CloudZero Agent. |
|
types/clusterconfig
Package clusterconfig provides protobuf-based cluster configuration management for the CloudZero Agent.
|
Package clusterconfig provides protobuf-based cluster configuration management for the CloudZero Agent. |
|
types/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
types/status
Package status provides thread-safe access to CloudZero Agent cluster health reporting.
|
Package status provides thread-safe access to CloudZero Agent cluster health reporting. |
|
utils
Package utils provides utility functions and types for CloudZero Agent operational support.
|
Package utils provides utility functions and types for CloudZero Agent operational support. |
|
utils/k8s
Package k8s contains helpers for working with the Kubernetes Client.
|
Package k8s contains helpers for working with the Kubernetes Client. |
|
utils/lock
Package lock provides an interface for file-based locking.
|
Package lock provides an interface for file-based locking. |
|
utils/parallel
Package parallel provides utilities for running tasks in parallel.
|
Package parallel provides utilities for running tasks in parallel. |
|
utils/scout
Package scout provides cloud environment detection and metadata retrieval capabilities for cloud environments.
|
Package scout provides cloud environment detection and metadata retrieval capabilities for cloud environments. |
|
utils/scout/auto
Package auto provides auto-detection capabilities for the CloudZero Scout.
|
Package auto provides auto-detection capabilities for the CloudZero Scout. |
|
utils/scout/aws
Package aws provides AWS cloud environment detection and metadata retrieval capabilities using the EC2 instance metadata service (IMDS) v2 with fallback to v1.
|
Package aws provides AWS cloud environment detection and metadata retrieval capabilities using the EC2 instance metadata service (IMDS) v2 with fallback to v1. |
|
utils/scout/azure
Package azure provides Azure cloud environment detection and metadata retrieval capabilities using the Azure Instance Metadata Service (IMDS).
|
Package azure provides Azure cloud environment detection and metadata retrieval capabilities using the Azure Instance Metadata Service (IMDS). |
|
utils/scout/google
Package google provides functionality for detecting and gathering environment information from Google Cloud metadat services.
|
Package google provides functionality for detecting and gathering environment information from Google Cloud metadat services. |
|
utils/scout/types
Package types defines core types and interfaces for cloud environment detection and metadata retrieval.
|
Package types defines core types and interfaces for cloud environment detection and metadata retrieval. |
|
utils/scout/types/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
utils/telemetry
Package telemetry contains code for posting telemetry data to the CloudZero API.
|
Package telemetry contains code for posting telemetry data to the CloudZero API. |
|
mock
|
|
|
controller
command
|
|
|
controller/controller
Package controller provides a mock insights controller.
|
Package controller provides a mock insights controller. |
|
metrics
Package metrics provides utilities for generating metrics.
|
Package metrics provides utilities for generating metrics. |
|
remotewrite
command
|
|
|
remotewrite/pkg
Package remotewrite provides a mock remote write server.
|
Package remotewrite provides a mock remote write server. |
Click to show internal directories.
Click to hide internal directories.

