systemd

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const StopSystemdBin = "chaos_stopsystemd"

Variables

This section is empty.

Functions

func NewStopSystemdActionCommandSpec

func NewStopSystemdActionCommandSpec() spec.ExpActionCommandSpec

func NewSystemdCommandModelSpec

func NewSystemdCommandModelSpec() spec.ExpModelCommandSpec

Types

type StopSystemdActionCommandSpec

type StopSystemdActionCommandSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*StopSystemdActionCommandSpec) Aliases

func (*StopSystemdActionCommandSpec) Aliases() []string

func (*StopSystemdActionCommandSpec) Categories

func (*StopSystemdActionCommandSpec) Categories() []string

func (*StopSystemdActionCommandSpec) LongDesc

func (k *StopSystemdActionCommandSpec) LongDesc() string

func (*StopSystemdActionCommandSpec) Name

func (*StopSystemdActionCommandSpec) ShortDesc

func (*StopSystemdActionCommandSpec) ShortDesc() string

type StopSystemdExecutor

type StopSystemdExecutor struct {
	// contains filtered or unexported fields
}

func (*StopSystemdExecutor) Exec

func (sse *StopSystemdExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*StopSystemdExecutor) Name

func (sse *StopSystemdExecutor) Name() string

func (*StopSystemdExecutor) SetChannel

func (sse *StopSystemdExecutor) SetChannel(channel spec.Channel)

type SystemdCommandModelSpec

type SystemdCommandModelSpec struct {
	spec.BaseExpModelCommandSpec
}

func (*SystemdCommandModelSpec) LongDesc

func (*SystemdCommandModelSpec) LongDesc() string

func (*SystemdCommandModelSpec) Name

func (*SystemdCommandModelSpec) ShortDesc

func (*SystemdCommandModelSpec) ShortDesc() string

Jump to

Keyboard shortcuts

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