Categorygithub.com/cilium/mock-hubble
modulepackage
0.0.0-20220926083530-21d19b4a2920
Repository: https://github.com/cilium/mock-hubble.git
Documentation: pkg.go.dev

# README

A mock implementation of Hubble API

This project contains an implementation of Hubble API that can run as a server for various testing purposes.

There is a standalone main function in server/, and a package that can be called from tests or somehow otherwise in observer/.

Features:

  • support for plain and compressed JSON files (i.e. .json & .json.{gz,bz2,xz})
  • all flows events in a given set of JSON files are replayed to every client with adjusted timestamps
  • distance between consequetive flow event timestamps is respected
    • speed adjustment can be applied, e.g. -10 to slow down 10x, 250 to speed-up 200x

# Packages

No description provided by the author