extcontainer

package
v1.3.27 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 37 Imported by: 1 module, 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.

Documentation

Index

Constants

View Source
const (
	BaseActionID = "com.steadybit.extension_container"
)

Variables

This section is empty.

Functions

func AddPrefix

func AddPrefix(containerId string, runtime types.Runtime) string

func NewContainerDiscovery

func NewContainerDiscovery(client types.Client) discovery_kit_sdk.TargetDiscovery

func NewFillMemoryContainerAction added in v1.3.22

func NewFillMemoryContainerAction(r runc.Runc) action_kit_sdk.Action[FillMemoryActionState]

func NewNetworkBlackholeContainerAction

func NewNetworkBlackholeContainerAction(runc runc.Runc) action_kit_sdk.Action[NetworkActionState]

func NewNetworkBlockDnsContainerAction

func NewNetworkBlockDnsContainerAction(r runc.Runc) action_kit_sdk.Action[NetworkActionState]

func NewNetworkCorruptPackagesContainerAction

func NewNetworkCorruptPackagesContainerAction(r runc.Runc) action_kit_sdk.Action[NetworkActionState]

func NewNetworkDelayContainerAction

func NewNetworkDelayContainerAction(r runc.Runc) action_kit_sdk.Action[NetworkActionState]

func NewNetworkLimitBandwidthContainerAction

func NewNetworkLimitBandwidthContainerAction(runc runc.Runc) action_kit_sdk.Action[NetworkActionState]

func NewNetworkPackageLossContainerAction

func NewNetworkPackageLossContainerAction(r runc.Runc) action_kit_sdk.Action[NetworkActionState]

func NewPauseContainerAction

func NewPauseContainerAction(client types.Client) action_kit_sdk.Action[PauseActionState]

func NewStopContainerAction

func NewStopContainerAction(client types.Client) action_kit_sdk.Action[StopActionState]

func NewStressCpuContainerAction

func NewStressCpuContainerAction(r runc.Runc) action_kit_sdk.Action[StressActionState]

func NewStressIoContainerAction

func NewStressIoContainerAction(r runc.Runc) action_kit_sdk.Action[StressActionState]

func NewStressMemoryContainerAction

func NewStressMemoryContainerAction(r runc.Runc) action_kit_sdk.Action[StressActionState]

func RemovePrefix

func RemovePrefix(containerId string) string

Types

type FillDiskActionState

type FillDiskActionState struct {
	ExecutionId  uuid.UUID
	ContainerID  string
	Sidecar      diskfill.SidecarOpts
	FillDiskOpts diskfill.Opts
}

type FillMemoryActionState added in v1.3.22

type FillMemoryActionState struct {
	ExecutionId     uuid.UUID
	ContainerID     string
	TargetProcess   runc.LinuxProcessInfo
	FillMemoryOpts  memfill.Opts
	IgnoreExitCodes []int
}

type Mode

type Mode string
const (
	ModeReadWriteAndFlush Mode = "read_write_and_flush"
	ModeReadWrite         Mode = "read_write"
	ModeFlush             Mode = "flush"
)

type NetworkActionState

type NetworkActionState struct {
	ExecutionId uuid.UUID
	NetworkOpts json.RawMessage
	Sidecar     network.SidecarOpts
	ContainerID string
}

type PauseActionState

type PauseActionState struct {
	ContainerId string
}

type StopActionState

type StopActionState struct {
	ContainerId string
	Graceful    bool
	ExecutionId uuid.UUID
}

type StressActionState

type StressActionState struct {
	Sidecar         stress.SidecarOpts
	ContainerID     string
	StressOpts      stress.Opts
	ExecutionId     uuid.UUID
	IgnoreExitCodes []int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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