package envoy_extensions_watchdog_abort_action_v3alpha

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

Index

Variables

var File_envoy_extensions_watchdog_abort_action_v3alpha_abort_action_proto protoreflect.FileDescriptor

Types

type AbortActionConfig

type AbortActionConfig struct {

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

This is currently only implemented for systems that support kill to send signals.

func (*AbortActionConfig) Descriptor

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, an error is returned.

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

Cause function returns cause value.

func (AbortActionConfigValidationError) Error

Error satisfies the builtin error interface

func (AbortActionConfigValidationError) ErrorName

ErrorName returns error name.

func (AbortActionConfigValidationError) Field

Field function returns field value.

func (AbortActionConfigValidationError) Key

Key function returns key value.

func (AbortActionConfigValidationError) Reason

Reason function returns reason value.

Source Files

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

Version
v0.9.7
Published
Oct 1, 2020
Platform
js/wasm
Imports
19 packages
Last checked
2 hours ago

Tools for package owners.