nginx

package
v1.8.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NginxConfigBin = "chaos_nginxconfig"
)
View Source
const NginxCrashBin = "chaos_nginxcrash"
View Source
const (
	NginxResponseBin = "chaos_nginxresponse"
)
View Source
const NginxRestartBin = "chaos_nginxrestart"

Variables

This section is empty.

Functions

func NewConfigActionSpec

func NewConfigActionSpec() spec.ExpActionCommandSpec

func NewCrashActionSpec

func NewCrashActionSpec() spec.ExpActionCommandSpec

func NewNginxCommandSpec

func NewNginxCommandSpec() spec.ExpModelCommandSpec

func NewResponseActionSpec

func NewResponseActionSpec() spec.ExpActionCommandSpec

func NewRestartActionSpec

func NewRestartActionSpec() spec.ExpActionCommandSpec

Types

type ConfigActionSpec

type ConfigActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*ConfigActionSpec) Aliases

func (*ConfigActionSpec) Aliases() []string

func (*ConfigActionSpec) LongDesc

func (d *ConfigActionSpec) LongDesc() string

func (*ConfigActionSpec) Name

func (*ConfigActionSpec) Name() string

func (*ConfigActionSpec) ShortDesc

func (*ConfigActionSpec) ShortDesc() string

type CrashActionSpec

type CrashActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*CrashActionSpec) Aliases

func (*CrashActionSpec) Aliases() []string

func (*CrashActionSpec) LongDesc

func (d *CrashActionSpec) LongDesc() string

func (*CrashActionSpec) Name

func (*CrashActionSpec) Name() string

func (*CrashActionSpec) ShortDesc

func (*CrashActionSpec) ShortDesc() string

type NginxCommandSpec

type NginxCommandSpec struct {
	spec.BaseExpModelCommandSpec
}

func (*NginxCommandSpec) LongDesc

func (*NginxCommandSpec) LongDesc() string

func (*NginxCommandSpec) Name

func (*NginxCommandSpec) Name() string

func (*NginxCommandSpec) ShortDesc

func (*NginxCommandSpec) ShortDesc() string

type NginxConfigExecutor

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

func (*NginxConfigExecutor) Exec

func (ng *NginxConfigExecutor) Exec(suid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*NginxConfigExecutor) Name

func (*NginxConfigExecutor) Name() string

func (*NginxConfigExecutor) SetChannel

func (ng *NginxConfigExecutor) SetChannel(channel spec.Channel)

type NginxCrashExecutor

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

func (*NginxCrashExecutor) Exec

func (ng *NginxCrashExecutor) Exec(suid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*NginxCrashExecutor) Name

func (*NginxCrashExecutor) Name() string

func (*NginxCrashExecutor) SetChannel

func (ng *NginxCrashExecutor) SetChannel(channel spec.Channel)

type NginxResponseExecutor

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

func (*NginxResponseExecutor) Exec

func (ng *NginxResponseExecutor) Exec(suid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*NginxResponseExecutor) Name

func (*NginxResponseExecutor) Name() string

func (*NginxResponseExecutor) SetChannel

func (ng *NginxResponseExecutor) SetChannel(channel spec.Channel)

type NginxRestartExecutor

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

func (*NginxRestartExecutor) Exec

func (ng *NginxRestartExecutor) Exec(suid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*NginxRestartExecutor) Name

func (*NginxRestartExecutor) Name() string

func (*NginxRestartExecutor) SetChannel

func (ng *NginxRestartExecutor) SetChannel(channel spec.Channel)

type ResponseActionSpec

type ResponseActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*ResponseActionSpec) Aliases

func (*ResponseActionSpec) Aliases() []string

func (*ResponseActionSpec) LongDesc

func (d *ResponseActionSpec) LongDesc() string

func (*ResponseActionSpec) Name

func (*ResponseActionSpec) Name() string

func (*ResponseActionSpec) ShortDesc

func (*ResponseActionSpec) ShortDesc() string

type RestartActionSpec

type RestartActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*RestartActionSpec) Aliases

func (*RestartActionSpec) Aliases() []string

func (*RestartActionSpec) LongDesc

func (d *RestartActionSpec) LongDesc() string

func (*RestartActionSpec) Name

func (*RestartActionSpec) Name() string

func (*RestartActionSpec) ShortDesc

func (*RestartActionSpec) ShortDesc() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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