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/gator
Package config implements the configuration for the aggregator..
|
Package config implements the configuration for the aggregator.. |
|
config/insights-controller
Package config contains the configuration for the application.
|
Package config contains the configuration for the application. |
|
domain
Package domain provides domain logic.
|
Package domain provides domain logic. |
|
domain/backfiller
Package backfiller provides functionality to backfill Kubernetes resources and store them in a specified storage.
|
Package backfiller provides functionality to backfill Kubernetes resources and store them in a specified storage. |
|
domain/filter
Package filter provides low-level functionality for metric filtering.
|
Package filter provides low-level functionality for metric filtering. |
|
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 provides utilities for interacting with Kubernetes clusters.
|
Package k8s provides utilities for interacting with Kubernetes clusters. |
|
domain/monitor
Package monitor provides functionality to manage and reload secrets dynamically.
|
Package monitor provides functionality to manage and reload secrets dynamically. |
|
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 domain logic for for the shipper.
|
Package shipper provides domain logic for for the shipper. |
|
functions/collector
command
|
|
|
functions/insights-controller
command
|
|
|
functions/jsonbr2parquet
command
|
|
|
functions/shipper
command
|
|
|
handlers
Package handlers provides HTTP handlers.
|
Package handlers provides HTTP handlers. |
|
http
Package http implements an admission webhook handler.
|
Package http implements an admission webhook handler. |
|
http/handler
Package handler admission webhook handlers (hook.Handler) for various resource types.
|
Package handler admission webhook handlers (hook.Handler) for various resource types. |
|
http/hook
Package hook contains structures and interfaces for implementing admission webhooks handlers.
|
Package hook contains structures and interfaces for implementing admission webhooks handlers. |
|
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. |
|
instr
Package instr provides instrumentation utilities.
|
Package instr provides instrumentation utilities. |
|
lock
Package lock provides an interface for file-based locking.
|
Package lock provides an interface for file-based locking. |
|
logging
Package logging provides a wrapper around Zerolog.
|
Package logging provides a wrapper around Zerolog. |
|
parallel
Package parallel provides utilities for running tasks in parallel.
|
Package parallel provides utilities for running tasks in parallel. |
|
storage/core
Package core provides core functionalities for database repository implementations.
|
Package core provides core functionalities for database repository implementations. |
|
storage/repo
Package repo provides implementations for resource repository interfaces.
|
Package repo provides implementations for resource repository interfaces. |
|
storage/sqlite
Package sqlite provides implementations for resource repository interfaces using SQLite as the underlying database.
|
Package sqlite provides implementations for resource repository interfaces using SQLite as the underlying database. |
|
store
Package store provides storage functionality.
|
Package store provides storage functionality. |
|
types
Package types contains types and errors used throughout the application.
|
Package types contains types and errors used throughout the application. |
|
types/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
utils
Package utils contains utility functions and types used throughout the application.
|
Package utils contains utility functions and types used throughout the application. |
|
validation
Package validation provides validation logic.
|
Package validation provides validation logic. |
|
cmd
|
|
|
agent-inspector
command
|
|
|
agent-validator
command
|
|
|
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. |
|
pkg
|
|
|
build
Package build contains build information embedded into the binary during compilation.
|
Package build contains build information embedded into the binary during compilation. |
|
cmd/config
Package config contains a CLI for managing configuration files.
|
Package config contains a CLI for managing configuration files. |
|
cmd/diagnose
Package diagnose contains a CLI for running diagnostics.
|
Package diagnose contains a CLI for running diagnostics. |
|
cmd/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. |
|
config
Package config contains configuration settings.
|
Package config contains configuration settings. |
|
diagnostic
Package diagnostic contains an interface to be implemented by diagnostics providers.
|
Package diagnostic contains an interface to be implemented by diagnostics providers. |
|
diagnostic/catalog
Package catalog contains the registry of diagnostics.
|
Package catalog contains the registry of diagnostics. |
|
diagnostic/common
Package common contains common utilities.
|
Package common contains common utilities. |
|
diagnostic/cz
Package cz contains code for checking a CloudZero API token.
|
Package cz contains code for checking a CloudZero API token. |
|
diagnostic/egress
Package egress contains code for checking egress access.
|
Package egress contains code for checking egress access. |
|
diagnostic/k8s
Package k8s contains code for checking the Kubernetes configuration.
|
Package k8s contains code for checking the Kubernetes configuration. |
|
diagnostic/kms
Package kms contains code for testing access the Kubernetes Management Service.
|
Package kms contains code for testing access the Kubernetes Management Service. |
|
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. |
|
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. |
|
diagnostic/runner
Package runner contains tools for running diagnostics.
|
Package runner contains tools for running diagnostics. |
|
diagnostic/stage
Package stage contains a diagnostic provider for checking the stage.
|
Package stage contains a diagnostic provider for checking the stage. |
|
http
Package http contains utilities for making HTTP requests.
|
Package http contains utilities for making HTTP requests. |
|
k8s
Package k8s contains helpers for working with the Kubernetes Client.
|
Package k8s contains helpers for working with the Kubernetes Client. |
|
logging
Package logging contains utilities for logging.
|
Package logging contains utilities for logging. |
|
status
Package status contains generated code for reading and writing the ClusterStatus protobuf.
|
Package status contains generated code for reading and writing the ClusterStatus protobuf. |
|
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. |
|
util/gh
Package gh contains utilities for interacting with GitHub.
|
Package gh contains utilities for interacting with GitHub. |
|
Package test contains higher-level (e.g., integration) tests.
|
Package test contains higher-level (e.g., integration) tests. |
|
tests
|
|
|
integration
Package integration provides integration tests.
|
Package integration provides integration tests. |
|
smoke
Package smoke provides smoke tests.
|
Package smoke provides smoke tests. |
|
utils
Package utils provides utilities supporting the smoke tests.
|
Package utils provides utilities supporting the smoke tests. |
Click to show internal directories.
Click to hide internal directories.
