go-control-plane: github.com/envoyproxy/go-control-plane/envoy/watchdog/v3alpha Index | Files

package envoy_watchdog_v3alpha

import "github.com/envoyproxy/go-control-plane/envoy/watchdog/v3alpha"

Index

Package Files

abort_action.pb.go abort_action.pb.validate.go

Variables

var File_envoy_watchdog_v3alpha_abort_action_proto protoreflect.FileDescriptor

type AbortActionConfig Uses

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 *duration.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 Uses

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

Deprecated: Use AbortActionConfig.ProtoReflect.Descriptor instead.

func (*AbortActionConfig) GetWaitDuration Uses

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

func (*AbortActionConfig) ProtoMessage Uses

func (*AbortActionConfig) ProtoMessage()

func (*AbortActionConfig) ProtoReflect Uses

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

func (*AbortActionConfig) Reset Uses

func (x *AbortActionConfig) Reset()

func (*AbortActionConfig) String Uses

func (x *AbortActionConfig) String() string

func (*AbortActionConfig) Validate Uses

func (m *AbortActionConfig) Validate() error

Validate checks the field values on AbortActionConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AbortActionConfigValidationError Uses

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

AbortActionConfigValidationError is the validation error returned by AbortActionConfig.Validate if the designated constraints aren't met.

func (AbortActionConfigValidationError) Cause Uses

func (e AbortActionConfigValidationError) Cause() error

Cause function returns cause value.

func (AbortActionConfigValidationError) Error Uses

func (e AbortActionConfigValidationError) Error() string

Error satisfies the builtin error interface

func (AbortActionConfigValidationError) ErrorName Uses

func (e AbortActionConfigValidationError) ErrorName() string

ErrorName returns error name.

func (AbortActionConfigValidationError) Field Uses

func (e AbortActionConfigValidationError) Field() string

Field function returns field value.

func (AbortActionConfigValidationError) Key Uses

func (e AbortActionConfigValidationError) Key() bool

Key function returns key value.

func (AbortActionConfigValidationError) Reason Uses

func (e AbortActionConfigValidationError) Reason() string

Reason function returns reason value.

Package envoy_watchdog_v3alpha imports 19 packages (graph) and is imported by 5 packages. Updated 2021-01-10. Refresh now. Tools for package owners.