seed

command
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Outpost Data Seeder

A utility that creates test data in Outpost by sending API requests to create tenants and destinations with mock data.

Purpose

This tool is useful for:

  • Testing tenant and destination-related logic
  • Validating migrations (e.g., Redis key structure changes)
  • Populating development environments with realistic data
  • Load testing with configurable volumes of data

Usage

# Show all available options
go run cmd/seed/main.go -help

# Run with defaults (100 tenants with random destinations)
go run cmd/seed/main.go

# Skip confirmation prompt
go run cmd/seed/main.go -yes

# Create custom volume of data
go run cmd/seed/main.go -tenants=500 -min-destinations=5 -max-destinations=20

What It Creates

  • Tenants: With various ID formats (UUIDs, prefixed IDs like org_, team_, cus_)
  • Destinations: Webhook endpoints pointing to mock.hookdeck.com
  • Topics: Limited set including user.created, user.updated, user.deleted

The tool uses concurrent workers to efficiently create large volumes of test data.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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