mock

package
v0.0.0-...-f12ef76 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Run(ctx context.Context) error
	Init() error
}

func New

func New(opts *Options, log logr.Logger) Interface

type Options

type Options struct {
	// ServiceEntryNumber service entry number
	ServiceEntryNumber int
	// WorkloadEntryNumber the workload entry number per serviceEntry.
	WorkloadEntryNumber int
	// AddressPrefix address predix, eg "10.180"
	AddressPrefix string
	// PilotAddress the pilot address.
	PilotAddress string
	// Namespace ...
	Namespace string
	// ConnectRateLimit limits the number of new XDS requests allowed. This helps prevent thundering hurd of connect
	// requests at same time.
	ConnectRateLimit float64

	kube.Options
}

Options options to run

Jump to

Keyboard shortcuts

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