extcontainer

package
v1.5.11 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 36 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 ociruntime.OciRuntime, c types.Client) action_kit_sdk.Action[FillMemoryActionState]

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 RemovePrefix

func RemovePrefix(containerId string) string

Types

type FillDiskActionState

type FillDiskActionState struct {
	ExecutionId     uuid.UUID
	ContainerID     string
	TargetLabel     string
	Sidecar         diskfill.SidecarOpts
	FillDiskOpts    diskfill.Opts
	IgnoreExitCodes []int
}

type FillMemoryActionState added in v1.3.22

type FillMemoryActionState struct {
	ExecutionId     uuid.UUID
	ContainerID     string
	TargetLabel     string
	TargetProcess   ociruntime.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
	TargetLabel string
}

type PauseActionState

type PauseActionState struct {
	ContainerId string
	TargetLabel string
}

type StopActionState

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

type StressActionState

type StressActionState struct {
	Sidecar         stress.SidecarOpts
	ContainerID     string
	TargetLabel     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