Documentation ¶
Index ¶
- Variables
- type AbortActionConfig
- func (*AbortActionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AbortActionConfig) GetWaitDuration() *duration.Duration
- func (*AbortActionConfig) ProtoMessage()
- func (x *AbortActionConfig) ProtoReflect() protoreflect.Message
- func (x *AbortActionConfig) Reset()
- func (x *AbortActionConfig) String() string
- func (m *AbortActionConfig) Validate() error
- func (m *AbortActionConfig) ValidateAll() error
- type AbortActionConfigMultiError
- type AbortActionConfigValidationError
- func (e AbortActionConfigValidationError) Cause() error
- func (e AbortActionConfigValidationError) Error() string
- func (e AbortActionConfigValidationError) ErrorName() string
- func (e AbortActionConfigValidationError) Field() string
- func (e AbortActionConfigValidationError) Key() bool
- func (e AbortActionConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 *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
deprecated
func (*AbortActionConfig) Descriptor() ([]byte, []int)
Deprecated: Use AbortActionConfig.ProtoReflect.Descriptor instead.
func (*AbortActionConfig) GetWaitDuration ¶
func (x *AbortActionConfig) GetWaitDuration() *duration.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
func (*AbortActionConfig) Validate ¶
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, the first error encountered is returned, or nil if there are no violations.
func (*AbortActionConfig) ValidateAll ¶
func (m *AbortActionConfig) ValidateAll() error
ValidateAll checks the field values on AbortActionConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AbortActionConfigMultiError, or nil if none found.
type AbortActionConfigMultiError ¶
type AbortActionConfigMultiError []error
AbortActionConfigMultiError is an error wrapping multiple validation errors returned by AbortActionConfig.ValidateAll() if the designated constraints aren't met.
func (AbortActionConfigMultiError) AllErrors ¶
func (m AbortActionConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AbortActionConfigMultiError) Error ¶
func (m AbortActionConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AbortActionConfigValidationError ¶
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 ¶
func (e AbortActionConfigValidationError) Cause() error
Cause function returns cause value.
func (AbortActionConfigValidationError) Error ¶
func (e AbortActionConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AbortActionConfigValidationError) ErrorName ¶
func (e AbortActionConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AbortActionConfigValidationError) Field ¶
func (e AbortActionConfigValidationError) Field() string
Field function returns field value.
func (AbortActionConfigValidationError) Key ¶
func (e AbortActionConfigValidationError) Key() bool
Key function returns key value.
func (AbortActionConfigValidationError) Reason ¶
func (e AbortActionConfigValidationError) Reason() string
Reason function returns reason value.