go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/overload/v3 Index | Files

package envoy_config_overload_v3

import "github.com/envoyproxy/go-control-plane/envoy/config/overload/v3"

Index

Package Files

overload.pb.go overload.pb.validate.go

Variables

var (
    ScaleTimersOverloadActionConfig_TimerType_name = map[int32]string{
        0:  "UNSPECIFIED",
        1:  "HTTP_DOWNSTREAM_CONNECTION_IDLE",
        2:  "HTTP_DOWNSTREAM_STREAM_IDLE",
    }
    ScaleTimersOverloadActionConfig_TimerType_value = map[string]int32{
        "UNSPECIFIED":                     0,
        "HTTP_DOWNSTREAM_CONNECTION_IDLE": 1,
        "HTTP_DOWNSTREAM_STREAM_IDLE":     2,
    }
)

Enum value maps for ScaleTimersOverloadActionConfig_TimerType.

var File_envoy_config_overload_v3_overload_proto protoreflect.FileDescriptor

type OverloadAction Uses

type OverloadAction struct {

    // The name of the overload action. This is just a well-known string that listeners can
    // use for registering callbacks. Custom overload actions should be named using reverse
    // DNS to ensure uniqueness.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // A set of triggers for this action. The state of the action is the maximum
    // state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners
    // are notified when the overload action changes state.
    Triggers []*Trigger `protobuf:"bytes,2,rep,name=triggers,proto3" json:"triggers,omitempty"`
    // Configuration for the action being instantiated.
    TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
    // contains filtered or unexported fields
}

func (*OverloadAction) Descriptor Uses

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

Deprecated: Use OverloadAction.ProtoReflect.Descriptor instead.

func (*OverloadAction) GetName Uses

func (x *OverloadAction) GetName() string

func (*OverloadAction) GetTriggers Uses

func (x *OverloadAction) GetTriggers() []*Trigger

func (*OverloadAction) GetTypedConfig Uses

func (x *OverloadAction) GetTypedConfig() *any.Any

func (*OverloadAction) ProtoMessage Uses

func (*OverloadAction) ProtoMessage()

func (*OverloadAction) ProtoReflect Uses

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

func (*OverloadAction) Reset Uses

func (x *OverloadAction) Reset()

func (*OverloadAction) String Uses

func (x *OverloadAction) String() string

func (*OverloadAction) Validate Uses

func (m *OverloadAction) Validate() error

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

type OverloadActionValidationError Uses

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

OverloadActionValidationError is the validation error returned by OverloadAction.Validate if the designated constraints aren't met.

func (OverloadActionValidationError) Cause Uses

func (e OverloadActionValidationError) Cause() error

Cause function returns cause value.

func (OverloadActionValidationError) Error Uses

func (e OverloadActionValidationError) Error() string

Error satisfies the builtin error interface

func (OverloadActionValidationError) ErrorName Uses

func (e OverloadActionValidationError) ErrorName() string

ErrorName returns error name.

func (OverloadActionValidationError) Field Uses

func (e OverloadActionValidationError) Field() string

Field function returns field value.

func (OverloadActionValidationError) Key Uses

func (e OverloadActionValidationError) Key() bool

Key function returns key value.

func (OverloadActionValidationError) Reason Uses

func (e OverloadActionValidationError) Reason() string

Reason function returns reason value.

type OverloadManager Uses

type OverloadManager struct {

    // The interval for refreshing resource usage.
    RefreshInterval *duration.Duration `protobuf:"bytes,1,opt,name=refresh_interval,json=refreshInterval,proto3" json:"refresh_interval,omitempty"`
    // The set of resources to monitor.
    ResourceMonitors []*ResourceMonitor `protobuf:"bytes,2,rep,name=resource_monitors,json=resourceMonitors,proto3" json:"resource_monitors,omitempty"`
    // The set of overload actions.
    Actions []*OverloadAction `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
    // contains filtered or unexported fields
}

func (*OverloadManager) Descriptor Uses

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

Deprecated: Use OverloadManager.ProtoReflect.Descriptor instead.

func (*OverloadManager) GetActions Uses

func (x *OverloadManager) GetActions() []*OverloadAction

func (*OverloadManager) GetRefreshInterval Uses

func (x *OverloadManager) GetRefreshInterval() *duration.Duration

func (*OverloadManager) GetResourceMonitors Uses

func (x *OverloadManager) GetResourceMonitors() []*ResourceMonitor

func (*OverloadManager) ProtoMessage Uses

func (*OverloadManager) ProtoMessage()

func (*OverloadManager) ProtoReflect Uses

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

func (*OverloadManager) Reset Uses

func (x *OverloadManager) Reset()

func (*OverloadManager) String Uses

func (x *OverloadManager) String() string

func (*OverloadManager) Validate Uses

func (m *OverloadManager) Validate() error

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

type OverloadManagerValidationError Uses

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

OverloadManagerValidationError is the validation error returned by OverloadManager.Validate if the designated constraints aren't met.

func (OverloadManagerValidationError) Cause Uses

func (e OverloadManagerValidationError) Cause() error

Cause function returns cause value.

func (OverloadManagerValidationError) Error Uses

func (e OverloadManagerValidationError) Error() string

Error satisfies the builtin error interface

func (OverloadManagerValidationError) ErrorName Uses

func (e OverloadManagerValidationError) ErrorName() string

ErrorName returns error name.

func (OverloadManagerValidationError) Field Uses

func (e OverloadManagerValidationError) Field() string

Field function returns field value.

func (OverloadManagerValidationError) Key Uses

func (e OverloadManagerValidationError) Key() bool

Key function returns key value.

func (OverloadManagerValidationError) Reason Uses

func (e OverloadManagerValidationError) Reason() string

Reason function returns reason value.

type ResourceMonitor Uses

type ResourceMonitor struct {

    // The name of the resource monitor to instantiate. Must match a registered
    // resource monitor type. The built-in resource monitors are:
    //
    // * :ref:`envoy.resource_monitors.fixed_heap
    //   <envoy_api_msg_config.resource_monitor.fixed_heap.v2alpha.FixedHeapConfig>`
    // * :ref:`envoy.resource_monitors.injected_resource
    //   <envoy_api_msg_config.resource_monitor.injected_resource.v2alpha.InjectedResourceConfig>`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Configuration for the resource monitor being instantiated.
    //
    // Types that are assignable to ConfigType:
    //	*ResourceMonitor_TypedConfig
    //	*ResourceMonitor_HiddenEnvoyDeprecatedConfig
    ConfigType isResourceMonitor_ConfigType `protobuf_oneof:"config_type"`
    // contains filtered or unexported fields
}

func (*ResourceMonitor) Descriptor Uses

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

Deprecated: Use ResourceMonitor.ProtoReflect.Descriptor instead.

func (*ResourceMonitor) GetConfigType Uses

func (m *ResourceMonitor) GetConfigType() isResourceMonitor_ConfigType

func (*ResourceMonitor) GetHiddenEnvoyDeprecatedConfig Uses

func (x *ResourceMonitor) GetHiddenEnvoyDeprecatedConfig() *_struct.Struct

Deprecated: Do not use.

func (*ResourceMonitor) GetName Uses

func (x *ResourceMonitor) GetName() string

func (*ResourceMonitor) GetTypedConfig Uses

func (x *ResourceMonitor) GetTypedConfig() *any.Any

func (*ResourceMonitor) ProtoMessage Uses

func (*ResourceMonitor) ProtoMessage()

func (*ResourceMonitor) ProtoReflect Uses

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

func (*ResourceMonitor) Reset Uses

func (x *ResourceMonitor) Reset()

func (*ResourceMonitor) String Uses

func (x *ResourceMonitor) String() string

func (*ResourceMonitor) Validate Uses

func (m *ResourceMonitor) Validate() error

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

type ResourceMonitorValidationError Uses

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

ResourceMonitorValidationError is the validation error returned by ResourceMonitor.Validate if the designated constraints aren't met.

func (ResourceMonitorValidationError) Cause Uses

func (e ResourceMonitorValidationError) Cause() error

Cause function returns cause value.

func (ResourceMonitorValidationError) Error Uses

func (e ResourceMonitorValidationError) Error() string

Error satisfies the builtin error interface

func (ResourceMonitorValidationError) ErrorName Uses

func (e ResourceMonitorValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceMonitorValidationError) Field Uses

func (e ResourceMonitorValidationError) Field() string

Field function returns field value.

func (ResourceMonitorValidationError) Key Uses

func (e ResourceMonitorValidationError) Key() bool

Key function returns key value.

func (ResourceMonitorValidationError) Reason Uses

func (e ResourceMonitorValidationError) Reason() string

Reason function returns reason value.

type ResourceMonitor_HiddenEnvoyDeprecatedConfig Uses

type ResourceMonitor_HiddenEnvoyDeprecatedConfig struct {
    // Deprecated: Do not use.
    HiddenEnvoyDeprecatedConfig *_struct.Struct `protobuf:"bytes,2,opt,name=hidden_envoy_deprecated_config,json=hiddenEnvoyDeprecatedConfig,proto3,oneof"`
}

type ResourceMonitor_TypedConfig Uses

type ResourceMonitor_TypedConfig struct {
    TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type ScaleTimersOverloadActionConfig Uses

type ScaleTimersOverloadActionConfig struct {

    // A set of timer scaling rules to be applied.
    TimerScaleFactors []*ScaleTimersOverloadActionConfig_ScaleTimer `protobuf:"bytes,1,rep,name=timer_scale_factors,json=timerScaleFactors,proto3" json:"timer_scale_factors,omitempty"`
    // contains filtered or unexported fields
}

Typed configuration for the "envoy.overload_actions.reduce_timeouts" action. See :ref:`the docs <config_overload_manager_reducing_timeouts>` for an example of how to configure the action with different timeouts and minimum values.

func (*ScaleTimersOverloadActionConfig) Descriptor Uses

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

Deprecated: Use ScaleTimersOverloadActionConfig.ProtoReflect.Descriptor instead.

func (*ScaleTimersOverloadActionConfig) GetTimerScaleFactors Uses

func (x *ScaleTimersOverloadActionConfig) GetTimerScaleFactors() []*ScaleTimersOverloadActionConfig_ScaleTimer

func (*ScaleTimersOverloadActionConfig) ProtoMessage Uses

func (*ScaleTimersOverloadActionConfig) ProtoMessage()

func (*ScaleTimersOverloadActionConfig) ProtoReflect Uses

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

func (*ScaleTimersOverloadActionConfig) Reset Uses

func (x *ScaleTimersOverloadActionConfig) Reset()

func (*ScaleTimersOverloadActionConfig) String Uses

func (x *ScaleTimersOverloadActionConfig) String() string

func (*ScaleTimersOverloadActionConfig) Validate Uses

func (m *ScaleTimersOverloadActionConfig) Validate() error

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

type ScaleTimersOverloadActionConfigValidationError Uses

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

ScaleTimersOverloadActionConfigValidationError is the validation error returned by ScaleTimersOverloadActionConfig.Validate if the designated constraints aren't met.

func (ScaleTimersOverloadActionConfigValidationError) Cause Uses

func (e ScaleTimersOverloadActionConfigValidationError) Cause() error

Cause function returns cause value.

func (ScaleTimersOverloadActionConfigValidationError) Error Uses

func (e ScaleTimersOverloadActionConfigValidationError) Error() string

Error satisfies the builtin error interface

func (ScaleTimersOverloadActionConfigValidationError) ErrorName Uses

func (e ScaleTimersOverloadActionConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ScaleTimersOverloadActionConfigValidationError) Field Uses

func (e ScaleTimersOverloadActionConfigValidationError) Field() string

Field function returns field value.

func (ScaleTimersOverloadActionConfigValidationError) Key Uses

func (e ScaleTimersOverloadActionConfigValidationError) Key() bool

Key function returns key value.

func (ScaleTimersOverloadActionConfigValidationError) Reason Uses

func (e ScaleTimersOverloadActionConfigValidationError) Reason() string

Reason function returns reason value.

type ScaleTimersOverloadActionConfig_ScaleTimer Uses

type ScaleTimersOverloadActionConfig_ScaleTimer struct {

    // The type of timer this minimum applies to.
    Timer ScaleTimersOverloadActionConfig_TimerType `protobuf:"varint,1,opt,name=timer,proto3,enum=envoy.config.overload.v3.ScaleTimersOverloadActionConfig_TimerType" json:"timer,omitempty"`
    // Types that are assignable to OverloadAdjust:
    //	*ScaleTimersOverloadActionConfig_ScaleTimer_MinTimeout
    //	*ScaleTimersOverloadActionConfig_ScaleTimer_MinScale
    OverloadAdjust isScaleTimersOverloadActionConfig_ScaleTimer_OverloadAdjust `protobuf_oneof:"overload_adjust"`
    // contains filtered or unexported fields
}

func (*ScaleTimersOverloadActionConfig_ScaleTimer) Descriptor Uses

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

Deprecated: Use ScaleTimersOverloadActionConfig_ScaleTimer.ProtoReflect.Descriptor instead.

func (*ScaleTimersOverloadActionConfig_ScaleTimer) GetMinScale Uses

func (x *ScaleTimersOverloadActionConfig_ScaleTimer) GetMinScale() *v3.Percent

func (*ScaleTimersOverloadActionConfig_ScaleTimer) GetMinTimeout Uses

func (x *ScaleTimersOverloadActionConfig_ScaleTimer) GetMinTimeout() *duration.Duration

func (*ScaleTimersOverloadActionConfig_ScaleTimer) GetOverloadAdjust Uses

func (m *ScaleTimersOverloadActionConfig_ScaleTimer) GetOverloadAdjust() isScaleTimersOverloadActionConfig_ScaleTimer_OverloadAdjust

func (*ScaleTimersOverloadActionConfig_ScaleTimer) GetTimer Uses

func (x *ScaleTimersOverloadActionConfig_ScaleTimer) GetTimer() ScaleTimersOverloadActionConfig_TimerType

func (*ScaleTimersOverloadActionConfig_ScaleTimer) ProtoMessage Uses

func (*ScaleTimersOverloadActionConfig_ScaleTimer) ProtoMessage()

func (*ScaleTimersOverloadActionConfig_ScaleTimer) ProtoReflect Uses

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

func (*ScaleTimersOverloadActionConfig_ScaleTimer) Reset Uses

func (x *ScaleTimersOverloadActionConfig_ScaleTimer) Reset()

func (*ScaleTimersOverloadActionConfig_ScaleTimer) String Uses

func (x *ScaleTimersOverloadActionConfig_ScaleTimer) String() string

func (*ScaleTimersOverloadActionConfig_ScaleTimer) Validate Uses

func (m *ScaleTimersOverloadActionConfig_ScaleTimer) Validate() error

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

type ScaleTimersOverloadActionConfig_ScaleTimerValidationError Uses

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

ScaleTimersOverloadActionConfig_ScaleTimerValidationError is the validation error returned by ScaleTimersOverloadActionConfig_ScaleTimer.Validate if the designated constraints aren't met.

func (ScaleTimersOverloadActionConfig_ScaleTimerValidationError) Cause Uses

func (e ScaleTimersOverloadActionConfig_ScaleTimerValidationError) Cause() error

Cause function returns cause value.

func (ScaleTimersOverloadActionConfig_ScaleTimerValidationError) Error Uses

func (e ScaleTimersOverloadActionConfig_ScaleTimerValidationError) Error() string

Error satisfies the builtin error interface

func (ScaleTimersOverloadActionConfig_ScaleTimerValidationError) ErrorName Uses

func (e ScaleTimersOverloadActionConfig_ScaleTimerValidationError) ErrorName() string

ErrorName returns error name.

func (ScaleTimersOverloadActionConfig_ScaleTimerValidationError) Field Uses

func (e ScaleTimersOverloadActionConfig_ScaleTimerValidationError) Field() string

Field function returns field value.

func (ScaleTimersOverloadActionConfig_ScaleTimerValidationError) Key Uses

func (e ScaleTimersOverloadActionConfig_ScaleTimerValidationError) Key() bool

Key function returns key value.

func (ScaleTimersOverloadActionConfig_ScaleTimerValidationError) Reason Uses

func (e ScaleTimersOverloadActionConfig_ScaleTimerValidationError) Reason() string

Reason function returns reason value.

type ScaleTimersOverloadActionConfig_ScaleTimer_MinScale Uses

type ScaleTimersOverloadActionConfig_ScaleTimer_MinScale struct {
    // Sets the minimum duration as a percentage of the maximum value.
    MinScale *v3.Percent `protobuf:"bytes,3,opt,name=min_scale,json=minScale,proto3,oneof"`
}

type ScaleTimersOverloadActionConfig_ScaleTimer_MinTimeout Uses

type ScaleTimersOverloadActionConfig_ScaleTimer_MinTimeout struct {
    // Sets the minimum duration as an absolute value.
    MinTimeout *duration.Duration `protobuf:"bytes,2,opt,name=min_timeout,json=minTimeout,proto3,oneof"`
}

type ScaleTimersOverloadActionConfig_TimerType Uses

type ScaleTimersOverloadActionConfig_TimerType int32
const (
    // Unsupported value; users must explicitly specify the timer they want scaled.
    ScaleTimersOverloadActionConfig_UNSPECIFIED ScaleTimersOverloadActionConfig_TimerType = 0
    // Adjusts the idle timer for downstream HTTP connections that takes effect when there are no active streams.
    // This affects the value of :ref:`HttpConnectionManager.common_http_protocol_options.idle_timeout
    // <envoy_v3_api_field_config.core.v3.HttpProtocolOptions.idle_timeout>`
    ScaleTimersOverloadActionConfig_HTTP_DOWNSTREAM_CONNECTION_IDLE ScaleTimersOverloadActionConfig_TimerType = 1
    // Adjusts the idle timer for HTTP streams initiated by downstream clients.
    // This affects the value of :ref:`RouteAction.idle_timeout <envoy_v3_api_field_config.route.v3.RouteAction.idle_timeout>` and
    // :ref:`HttpConnectionManager.stream_idle_timeout
    // <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_idle_timeout>`
    ScaleTimersOverloadActionConfig_HTTP_DOWNSTREAM_STREAM_IDLE ScaleTimersOverloadActionConfig_TimerType = 2
)

func (ScaleTimersOverloadActionConfig_TimerType) Descriptor Uses

func (ScaleTimersOverloadActionConfig_TimerType) Descriptor() protoreflect.EnumDescriptor

func (ScaleTimersOverloadActionConfig_TimerType) Enum Uses

func (x ScaleTimersOverloadActionConfig_TimerType) Enum() *ScaleTimersOverloadActionConfig_TimerType

func (ScaleTimersOverloadActionConfig_TimerType) EnumDescriptor Uses

func (ScaleTimersOverloadActionConfig_TimerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ScaleTimersOverloadActionConfig_TimerType.Descriptor instead.

func (ScaleTimersOverloadActionConfig_TimerType) Number Uses

func (x ScaleTimersOverloadActionConfig_TimerType) Number() protoreflect.EnumNumber

func (ScaleTimersOverloadActionConfig_TimerType) String Uses

func (x ScaleTimersOverloadActionConfig_TimerType) String() string

func (ScaleTimersOverloadActionConfig_TimerType) Type Uses

func (ScaleTimersOverloadActionConfig_TimerType) Type() protoreflect.EnumType

type ScaledTrigger Uses

type ScaledTrigger struct {

    // If the resource pressure is greater than this value, the trigger will be in the
    // :ref:`scaling <arch_overview_overload_manager-triggers-state>` state with value
    // `(pressure - scaling_threshold) / (saturation_threshold - scaling_threshold)`.
    ScalingThreshold float64 `protobuf:"fixed64,1,opt,name=scaling_threshold,json=scalingThreshold,proto3" json:"scaling_threshold,omitempty"`
    // If the resource pressure is greater than this value, the trigger will enter saturation.
    SaturationThreshold float64 `protobuf:"fixed64,2,opt,name=saturation_threshold,json=saturationThreshold,proto3" json:"saturation_threshold,omitempty"`
    // contains filtered or unexported fields
}

func (*ScaledTrigger) Descriptor Uses

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

Deprecated: Use ScaledTrigger.ProtoReflect.Descriptor instead.

func (*ScaledTrigger) GetSaturationThreshold Uses

func (x *ScaledTrigger) GetSaturationThreshold() float64

func (*ScaledTrigger) GetScalingThreshold Uses

func (x *ScaledTrigger) GetScalingThreshold() float64

func (*ScaledTrigger) ProtoMessage Uses

func (*ScaledTrigger) ProtoMessage()

func (*ScaledTrigger) ProtoReflect Uses

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

func (*ScaledTrigger) Reset Uses

func (x *ScaledTrigger) Reset()

func (*ScaledTrigger) String Uses

func (x *ScaledTrigger) String() string

func (*ScaledTrigger) Validate Uses

func (m *ScaledTrigger) Validate() error

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

type ScaledTriggerValidationError Uses

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

ScaledTriggerValidationError is the validation error returned by ScaledTrigger.Validate if the designated constraints aren't met.

func (ScaledTriggerValidationError) Cause Uses

func (e ScaledTriggerValidationError) Cause() error

Cause function returns cause value.

func (ScaledTriggerValidationError) Error Uses

func (e ScaledTriggerValidationError) Error() string

Error satisfies the builtin error interface

func (ScaledTriggerValidationError) ErrorName Uses

func (e ScaledTriggerValidationError) ErrorName() string

ErrorName returns error name.

func (ScaledTriggerValidationError) Field Uses

func (e ScaledTriggerValidationError) Field() string

Field function returns field value.

func (ScaledTriggerValidationError) Key Uses

func (e ScaledTriggerValidationError) Key() bool

Key function returns key value.

func (ScaledTriggerValidationError) Reason Uses

func (e ScaledTriggerValidationError) Reason() string

Reason function returns reason value.

type ThresholdTrigger Uses

type ThresholdTrigger struct {

    // If the resource pressure is greater than or equal to this value, the trigger
    // will enter saturation.
    Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
    // contains filtered or unexported fields
}

func (*ThresholdTrigger) Descriptor Uses

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

Deprecated: Use ThresholdTrigger.ProtoReflect.Descriptor instead.

func (*ThresholdTrigger) GetValue Uses

func (x *ThresholdTrigger) GetValue() float64

func (*ThresholdTrigger) ProtoMessage Uses

func (*ThresholdTrigger) ProtoMessage()

func (*ThresholdTrigger) ProtoReflect Uses

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

func (*ThresholdTrigger) Reset Uses

func (x *ThresholdTrigger) Reset()

func (*ThresholdTrigger) String Uses

func (x *ThresholdTrigger) String() string

func (*ThresholdTrigger) Validate Uses

func (m *ThresholdTrigger) Validate() error

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

type ThresholdTriggerValidationError Uses

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

ThresholdTriggerValidationError is the validation error returned by ThresholdTrigger.Validate if the designated constraints aren't met.

func (ThresholdTriggerValidationError) Cause Uses

func (e ThresholdTriggerValidationError) Cause() error

Cause function returns cause value.

func (ThresholdTriggerValidationError) Error Uses

func (e ThresholdTriggerValidationError) Error() string

Error satisfies the builtin error interface

func (ThresholdTriggerValidationError) ErrorName Uses

func (e ThresholdTriggerValidationError) ErrorName() string

ErrorName returns error name.

func (ThresholdTriggerValidationError) Field Uses

func (e ThresholdTriggerValidationError) Field() string

Field function returns field value.

func (ThresholdTriggerValidationError) Key Uses

func (e ThresholdTriggerValidationError) Key() bool

Key function returns key value.

func (ThresholdTriggerValidationError) Reason Uses

func (e ThresholdTriggerValidationError) Reason() string

Reason function returns reason value.

type Trigger Uses

type Trigger struct {

    // The name of the resource this is a trigger for.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Types that are assignable to TriggerOneof:
    //	*Trigger_Threshold
    //	*Trigger_Scaled
    TriggerOneof isTrigger_TriggerOneof `protobuf_oneof:"trigger_oneof"`
    // contains filtered or unexported fields
}

func (*Trigger) Descriptor Uses

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

Deprecated: Use Trigger.ProtoReflect.Descriptor instead.

func (*Trigger) GetName Uses

func (x *Trigger) GetName() string

func (*Trigger) GetScaled Uses

func (x *Trigger) GetScaled() *ScaledTrigger

func (*Trigger) GetThreshold Uses

func (x *Trigger) GetThreshold() *ThresholdTrigger

func (*Trigger) GetTriggerOneof Uses

func (m *Trigger) GetTriggerOneof() isTrigger_TriggerOneof

func (*Trigger) ProtoMessage Uses

func (*Trigger) ProtoMessage()

func (*Trigger) ProtoReflect Uses

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

func (*Trigger) Reset Uses

func (x *Trigger) Reset()

func (*Trigger) String Uses

func (x *Trigger) String() string

func (*Trigger) Validate Uses

func (m *Trigger) Validate() error

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

type TriggerValidationError Uses

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

TriggerValidationError is the validation error returned by Trigger.Validate if the designated constraints aren't met.

func (TriggerValidationError) Cause Uses

func (e TriggerValidationError) Cause() error

Cause function returns cause value.

func (TriggerValidationError) Error Uses

func (e TriggerValidationError) Error() string

Error satisfies the builtin error interface

func (TriggerValidationError) ErrorName Uses

func (e TriggerValidationError) ErrorName() string

ErrorName returns error name.

func (TriggerValidationError) Field Uses

func (e TriggerValidationError) Field() string

Field function returns field value.

func (TriggerValidationError) Key Uses

func (e TriggerValidationError) Key() bool

Key function returns key value.

func (TriggerValidationError) Reason Uses

func (e TriggerValidationError) Reason() string

Reason function returns reason value.

type Trigger_Scaled Uses

type Trigger_Scaled struct {
    Scaled *ScaledTrigger `protobuf:"bytes,3,opt,name=scaled,proto3,oneof"`
}

type Trigger_Threshold Uses

type Trigger_Threshold struct {
    Threshold *ThresholdTrigger `protobuf:"bytes,2,opt,name=threshold,proto3,oneof"`
}

Package envoy_config_overload_v3 imports 22 packages (graph) and is imported by 9 packages. Updated 2021-01-08. Refresh now. Tools for package owners.