Documentation ¶
Index ¶
- Constants
- Variables
- func CheckTargetHostname(attributes map[string][]string) (*string, error)
- func NewFillDiskHostAction(r runc.Runc) action_kit_sdk.Action[FillDiskActionState]
- func NewHostDiscovery() discovery_kit_sdk.TargetDiscovery
- func NewNetworkBlackholeContainerAction(r 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(r runc.Runc) action_kit_sdk.Action[NetworkActionState]
- func NewNetworkPackageLossContainerAction(r runc.Runc) action_kit_sdk.Action[NetworkActionState]
- func NewShutdownAction() action_kit_sdk.Action[ActionState]
- func NewStopProcessAction() action_kit_sdk.Action[StopProcessActionState]
- func NewStressCpuAction(r runc.Runc) action_kit_sdk.Action[StressActionState]
- func NewStressIoAction(r runc.Runc) action_kit_sdk.Action[StressActionState]
- func NewStressMemoryAction(r runc.Runc) action_kit_sdk.Action[StressActionState]
- func NewTimetravelAction(r runc.Runc) action_kit_sdk.Action[TimeTravelActionState]
- type ActionState
- type FillDiskActionState
- type Mode
- type NetworkActionState
- type ShutdownMethod
- type StopProcessActionState
- type StressActionState
- type TimeTravelActionState
Constants ¶
View Source
const ( TargetID = "com.steadybit.extension_host.host" BaseActionID = "com.steadybit.extension_host" )
View Source
const SteadybitLabelPrefix = "steadybit_label_"
Variables ¶
View Source
var ID = fmt.Sprintf("%s.fill_disk", BaseActionID)
Functions ¶
func CheckTargetHostname ¶
func NewFillDiskHostAction ¶ added in v1.2.0
func NewFillDiskHostAction(r runc.Runc) action_kit_sdk.Action[FillDiskActionState]
func NewHostDiscovery ¶ added in v1.2.0
func NewHostDiscovery() discovery_kit_sdk.TargetDiscovery
func NewNetworkBlackholeContainerAction ¶
func NewNetworkBlackholeContainerAction(r 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(r runc.Runc) action_kit_sdk.Action[NetworkActionState]
func NewNetworkPackageLossContainerAction ¶
func NewNetworkPackageLossContainerAction(r runc.Runc) action_kit_sdk.Action[NetworkActionState]
func NewShutdownAction ¶
func NewShutdownAction() action_kit_sdk.Action[ActionState]
func NewStopProcessAction ¶
func NewStopProcessAction() action_kit_sdk.Action[StopProcessActionState]
func NewStressCpuAction ¶ added in v1.2.0
func NewStressCpuAction(r runc.Runc) action_kit_sdk.Action[StressActionState]
func NewStressIoAction ¶ added in v1.2.0
func NewStressIoAction(r runc.Runc) action_kit_sdk.Action[StressActionState]
func NewStressMemoryAction ¶
func NewStressMemoryAction(r runc.Runc) action_kit_sdk.Action[StressActionState]
func NewTimetravelAction ¶
func NewTimetravelAction(r runc.Runc) action_kit_sdk.Action[TimeTravelActionState]
Types ¶
type ActionState ¶
type ActionState struct { Reboot bool ShutdownMethod ShutdownMethod }
type FillDiskActionState ¶ added in v1.2.0
type NetworkActionState ¶
type NetworkActionState struct { ExecutionId uuid.UUID NetworkOpts json.RawMessage Sidecar network.SidecarOpts }
type ShutdownMethod ¶
type ShutdownMethod uint64
const ( Command ShutdownMethod = iota SyscallOrSysrq )
type StopProcessActionState ¶
type StressActionState ¶ added in v1.2.0
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_shutdown.go
- action_stop_process.go
- action_stress.go
- action_stress_cpu.go
- action_stress_io.go
- action_stress_memory.go
- action_timetravel.go
- common.go
- discovery.go
- envVars.go
Click to show internal directories.
Click to hide internal directories.