Documentation ¶
Index ¶
- Constants
- Variables
- func AddPrefix(containerId string, runtime types.Runtime) string
- func NewContainerDiscovery(client types.Client) discovery_kit_sdk.TargetDiscovery
- func NewFillDiskContainerAction(r runc.Runc) action_kit_sdk.Action[FillDiskActionState]
- func NewNetworkBlackholeContainerAction(runc runc.Runc) action_kit_sdk.Action[NetworkActionState]
- func NewNetworkBlockDnsContainerAction(r runc.Runc) action_kit_sdk.Action[NetworkActionState]
- func NewNetworkCorruptPackagesContainerAction(r runc.Runc) action_kit_sdk.Action[NetworkActionState]
- func NewNetworkDelayContainerAction(r runc.Runc) action_kit_sdk.Action[NetworkActionState]
- func NewNetworkLimitBandwidthContainerAction(runc runc.Runc) action_kit_sdk.Action[NetworkActionState]
- func NewNetworkPackageLossContainerAction(r runc.Runc) action_kit_sdk.Action[NetworkActionState]
- func NewPauseContainerAction(client types.Client) action_kit_sdk.Action[PauseActionState]
- func NewStopContainerAction(client types.Client) action_kit_sdk.Action[StopActionState]
- func NewStressCpuContainerAction(r runc.Runc) action_kit_sdk.Action[StressActionState]
- func NewStressIoContainerAction(r runc.Runc) action_kit_sdk.Action[StressActionState]
- func NewStressMemoryContainerAction(r runc.Runc) action_kit_sdk.Action[StressActionState]
- func RemovePrefix(containerId string) string
- type FillDiskActionState
- type Mode
- type NetworkActionState
- type PauseActionState
- type StopActionState
- type StressActionState
Constants ¶
View Source
const (
BaseActionID = "com.steadybit.extension_container"
)
Variables ¶
View Source
var ID = fmt.Sprintf("%s.fill_disk", BaseActionID)
Functions ¶
func NewContainerDiscovery ¶
func NewContainerDiscovery(client types.Client) discovery_kit_sdk.TargetDiscovery
func NewFillDiskContainerAction ¶
func NewFillDiskContainerAction(r runc.Runc) action_kit_sdk.Action[FillDiskActionState]
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 ¶
Types ¶
type FillDiskActionState ¶
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 StressActionState ¶
Source Files ¶
- action_fill_disk.go
- action_network.go
- action_network_bandwidth.go
- action_network_blackhole.go
- action_network_corrupt.go
- action_network_delay.go
- action_network_dns.go
- action_network_loss.go
- action_pause.go
- action_stop.go
- action_stress.go
- action_stress_cpu.go
- action_stress_io.go
- action_stress_memory.go
- common.go
- discovery.go
- discovery_utils.go
Click to show internal directories.
Click to hide internal directories.