mock-hubble

command module
v0.0.0-...-21d19b4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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