watchdogv3

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_watchdog_v3_abort_action_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AbortActionConfig

type AbortActionConfig struct {

	// How long to wait for the thread to respond to the thread kill function
	// before killing the process from this action. This is a blocking action.
	// By default this is 5 seconds.
	WaitDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=wait_duration,json=waitDuration,proto3" json:"wait_duration,omitempty"`
	// contains filtered or unexported fields
}

A GuardDogAction that will terminate the process by killing the stuck thread. This would allow easier access to the call stack of the stuck thread since we would run signal handlers on that thread. By default this will be registered to run as the last watchdog action on KILL and MULTIKILL events if those are enabled.

func (*AbortActionConfig) Descriptor deprecated

func (*AbortActionConfig) Descriptor() ([]byte, []int)

Deprecated: Use AbortActionConfig.ProtoReflect.Descriptor instead.

func (*AbortActionConfig) GetWaitDuration

func (x *AbortActionConfig) GetWaitDuration() *durationpb.Duration

func (*AbortActionConfig) ProtoMessage

func (*AbortActionConfig) ProtoMessage()

func (*AbortActionConfig) ProtoReflect

func (x *AbortActionConfig) ProtoReflect() protoreflect.Message

func (*AbortActionConfig) Reset

func (x *AbortActionConfig) Reset()

func (*AbortActionConfig) String

func (x *AbortActionConfig) String() string

Jump to

Keyboard shortcuts

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