mongochaos

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyChaos

func ApplyChaos(opts *options.ClientOptions, mgr *config.Manager) *options.ClientOptions

ApplyChaos integrates Pastaay fault injection into MongoDB ClientOptions.

func NewChaosMonitor

func NewChaosMonitor(mgr *config.Manager) *event.CommandMonitor

Types

type ChaosDialer

type ChaosDialer struct {
	DefaultDialer options.ContextDialer
	Manager       *config.Manager
}

func (*ChaosDialer) DialContext

func (c *ChaosDialer) DialContext(ctx context.Context, network, address string) (net.Conn, error)

Jump to

Keyboard shortcuts

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