time

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: 6 Imported by: 0

Documentation

Index

Constants

View Source
const TravelTimeBin = "chaos_timetravel"

Variables

This section is empty.

Functions

func NewTimeCommandSpec

func NewTimeCommandSpec() spec.ExpModelCommandSpec

func NewTravelTimeActionCommandSpec

func NewTravelTimeActionCommandSpec() spec.ExpActionCommandSpec

Types

type TimeCommandSpec

type TimeCommandSpec struct {
	spec.BaseExpModelCommandSpec
}

func (*TimeCommandSpec) LongDesc

func (*TimeCommandSpec) LongDesc() string

func (*TimeCommandSpec) Name

func (*TimeCommandSpec) Name() string

func (*TimeCommandSpec) ShortDesc

func (*TimeCommandSpec) ShortDesc() string

type TravelTimeActionCommandSpec

type TravelTimeActionCommandSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*TravelTimeActionCommandSpec) Aliases

func (*TravelTimeActionCommandSpec) Aliases() []string

func (*TravelTimeActionCommandSpec) Categories

func (*TravelTimeActionCommandSpec) Categories() []string

func (*TravelTimeActionCommandSpec) LongDesc

func (k *TravelTimeActionCommandSpec) LongDesc() string

func (*TravelTimeActionCommandSpec) Name

func (*TravelTimeActionCommandSpec) ShortDesc

func (*TravelTimeActionCommandSpec) ShortDesc() string

type TravelTimeExecutor

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

func (*TravelTimeExecutor) Exec

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

func (*TravelTimeExecutor) Name

func (tte *TravelTimeExecutor) Name() string

func (*TravelTimeExecutor) SetChannel

func (tte *TravelTimeExecutor) SetChannel(channel spec.Channel)

Jump to

Keyboard shortcuts

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