chaosdaemon

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChaosDaemonClientBuilder

type ChaosDaemonClientBuilder struct {
	client.Reader
}

func (*ChaosDaemonClientBuilder) Build

Build will construct a ChaosDaemonClient The `id` parameter is the namespacedName of current handling resource, which will be printed in the log of the chaos-daemon

func (*ChaosDaemonClientBuilder) FindDaemonIP

func (b *ChaosDaemonClientBuilder) FindDaemonIP(ctx context.Context, pod *v1.Pod) (string, error)

type ChaosDaemonClientBuilderParams

type ChaosDaemonClientBuilderParams struct {
	fx.In

	NoCacheReader           client.Reader `name:"no-cache"`
	ControlPlaneCacheReader client.Reader `name:"control-plane-cache" optional:"true"`
}

Jump to

Keyboard shortcuts

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