Documentation ¶
Index ¶
- type OverloadAction
- func (*OverloadAction) Descriptor() ([]byte, []int)
- func (m *OverloadAction) GetName() string
- func (m *OverloadAction) GetTriggers() []*Trigger
- func (*OverloadAction) ProtoMessage()
- func (m *OverloadAction) Reset()
- func (m *OverloadAction) String() string
- func (m *OverloadAction) XXX_DiscardUnknown()
- func (m *OverloadAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OverloadAction) XXX_Merge(src proto.Message)
- func (m *OverloadAction) XXX_Size() int
- func (m *OverloadAction) XXX_Unmarshal(b []byte) error
- type OverloadManager
- func (*OverloadManager) Descriptor() ([]byte, []int)
- func (m *OverloadManager) GetActions() []*OverloadAction
- func (m *OverloadManager) GetRefreshInterval() *types.Duration
- func (m *OverloadManager) GetResourceMonitors() []*ResourceMonitor
- func (*OverloadManager) ProtoMessage()
- func (m *OverloadManager) Reset()
- func (m *OverloadManager) String() string
- func (m *OverloadManager) XXX_DiscardUnknown()
- func (m *OverloadManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OverloadManager) XXX_Merge(src proto.Message)
- func (m *OverloadManager) XXX_Size() int
- func (m *OverloadManager) XXX_Unmarshal(b []byte) error
- type ResourceMonitor
- func (*ResourceMonitor) Descriptor() ([]byte, []int)
- func (m *ResourceMonitor) GetConfig() *types.Structdeprecated
- func (m *ResourceMonitor) GetConfigType() isResourceMonitor_ConfigType
- func (m *ResourceMonitor) GetName() string
- func (m *ResourceMonitor) GetTypedConfig() *types.Any
- func (*ResourceMonitor) ProtoMessage()
- func (m *ResourceMonitor) Reset()
- func (m *ResourceMonitor) String() string
- func (m *ResourceMonitor) XXX_DiscardUnknown()
- func (m *ResourceMonitor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceMonitor) XXX_Merge(src proto.Message)
- func (*ResourceMonitor) XXX_OneofWrappers() []interface{}
- func (m *ResourceMonitor) XXX_Size() int
- func (m *ResourceMonitor) XXX_Unmarshal(b []byte) error
- type ResourceMonitor_Config
- type ResourceMonitor_TypedConfig
- type ThresholdTrigger
- func (*ThresholdTrigger) Descriptor() ([]byte, []int)
- func (m *ThresholdTrigger) GetValue() float64
- func (*ThresholdTrigger) ProtoMessage()
- func (m *ThresholdTrigger) Reset()
- func (m *ThresholdTrigger) String() string
- func (m *ThresholdTrigger) XXX_DiscardUnknown()
- func (m *ThresholdTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThresholdTrigger) XXX_Merge(src proto.Message)
- func (m *ThresholdTrigger) XXX_Size() int
- func (m *ThresholdTrigger) XXX_Unmarshal(b []byte) error
- type Trigger
- func (*Trigger) Descriptor() ([]byte, []int)
- func (m *Trigger) GetName() string
- func (m *Trigger) GetThreshold() *ThresholdTrigger
- func (m *Trigger) GetTriggerOneof() isTrigger_TriggerOneof
- func (*Trigger) ProtoMessage()
- func (m *Trigger) Reset()
- func (m *Trigger) String() string
- func (m *Trigger) XXX_DiscardUnknown()
- func (m *Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Trigger) XXX_Merge(src proto.Message)
- func (*Trigger) XXX_OneofWrappers() []interface{}
- func (m *Trigger) XXX_Size() int
- func (m *Trigger) XXX_Unmarshal(b []byte) error
- type Trigger_Threshold
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OverloadAction ¶
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. If any of these triggers fire the overload action // is activated. Listeners are notified when the overload action transitions from // inactivated to activated, or vice versa. Triggers []*Trigger `protobuf:"bytes,2,rep,name=triggers,proto3" json:"triggers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OverloadAction) Descriptor ¶
func (*OverloadAction) Descriptor() ([]byte, []int)
func (*OverloadAction) GetName ¶
func (m *OverloadAction) GetName() string
func (*OverloadAction) GetTriggers ¶
func (m *OverloadAction) GetTriggers() []*Trigger
func (*OverloadAction) ProtoMessage ¶
func (*OverloadAction) ProtoMessage()
func (*OverloadAction) Reset ¶
func (m *OverloadAction) Reset()
func (*OverloadAction) String ¶
func (m *OverloadAction) String() string
func (*OverloadAction) XXX_DiscardUnknown ¶
func (m *OverloadAction) XXX_DiscardUnknown()
func (*OverloadAction) XXX_Marshal ¶
func (m *OverloadAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OverloadAction) XXX_Merge ¶
func (m *OverloadAction) XXX_Merge(src proto.Message)
func (*OverloadAction) XXX_Size ¶
func (m *OverloadAction) XXX_Size() int
func (*OverloadAction) XXX_Unmarshal ¶
func (m *OverloadAction) XXX_Unmarshal(b []byte) error
type OverloadManager ¶
type OverloadManager struct { // The interval for refreshing resource usage. RefreshInterval *types.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OverloadManager) Descriptor ¶
func (*OverloadManager) Descriptor() ([]byte, []int)
func (*OverloadManager) GetActions ¶
func (m *OverloadManager) GetActions() []*OverloadAction
func (*OverloadManager) GetRefreshInterval ¶
func (m *OverloadManager) GetRefreshInterval() *types.Duration
func (*OverloadManager) GetResourceMonitors ¶
func (m *OverloadManager) GetResourceMonitors() []*ResourceMonitor
func (*OverloadManager) ProtoMessage ¶
func (*OverloadManager) ProtoMessage()
func (*OverloadManager) Reset ¶
func (m *OverloadManager) Reset()
func (*OverloadManager) String ¶
func (m *OverloadManager) String() string
func (*OverloadManager) XXX_DiscardUnknown ¶
func (m *OverloadManager) XXX_DiscardUnknown()
func (*OverloadManager) XXX_Marshal ¶
func (m *OverloadManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OverloadManager) XXX_Merge ¶
func (m *OverloadManager) XXX_Merge(src proto.Message)
func (*OverloadManager) XXX_Size ¶
func (m *OverloadManager) XXX_Size() int
func (*OverloadManager) XXX_Unmarshal ¶
func (m *OverloadManager) XXX_Unmarshal(b []byte) error
type ResourceMonitor ¶
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 valid to be assigned to ConfigType: // *ResourceMonitor_Config // *ResourceMonitor_TypedConfig ConfigType isResourceMonitor_ConfigType `protobuf_oneof:"config_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResourceMonitor) Descriptor ¶
func (*ResourceMonitor) Descriptor() ([]byte, []int)
func (*ResourceMonitor) GetConfig
deprecated
func (m *ResourceMonitor) GetConfig() *types.Struct
Deprecated: Do not use.
func (*ResourceMonitor) GetConfigType ¶
func (m *ResourceMonitor) GetConfigType() isResourceMonitor_ConfigType
func (*ResourceMonitor) GetName ¶
func (m *ResourceMonitor) GetName() string
func (*ResourceMonitor) GetTypedConfig ¶
func (m *ResourceMonitor) GetTypedConfig() *types.Any
func (*ResourceMonitor) ProtoMessage ¶
func (*ResourceMonitor) ProtoMessage()
func (*ResourceMonitor) Reset ¶
func (m *ResourceMonitor) Reset()
func (*ResourceMonitor) String ¶
func (m *ResourceMonitor) String() string
func (*ResourceMonitor) XXX_DiscardUnknown ¶
func (m *ResourceMonitor) XXX_DiscardUnknown()
func (*ResourceMonitor) XXX_Marshal ¶
func (m *ResourceMonitor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceMonitor) XXX_Merge ¶
func (m *ResourceMonitor) XXX_Merge(src proto.Message)
func (*ResourceMonitor) XXX_OneofWrappers ¶
func (*ResourceMonitor) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ResourceMonitor) XXX_Size ¶
func (m *ResourceMonitor) XXX_Size() int
func (*ResourceMonitor) XXX_Unmarshal ¶
func (m *ResourceMonitor) XXX_Unmarshal(b []byte) error
type ResourceMonitor_Config ¶
type ThresholdTrigger ¶
type ThresholdTrigger struct { // If the resource pressure is greater than or equal to this value, the trigger // will fire. Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ThresholdTrigger) Descriptor ¶
func (*ThresholdTrigger) Descriptor() ([]byte, []int)
func (*ThresholdTrigger) GetValue ¶
func (m *ThresholdTrigger) GetValue() float64
func (*ThresholdTrigger) ProtoMessage ¶
func (*ThresholdTrigger) ProtoMessage()
func (*ThresholdTrigger) Reset ¶
func (m *ThresholdTrigger) Reset()
func (*ThresholdTrigger) String ¶
func (m *ThresholdTrigger) String() string
func (*ThresholdTrigger) XXX_DiscardUnknown ¶
func (m *ThresholdTrigger) XXX_DiscardUnknown()
func (*ThresholdTrigger) XXX_Marshal ¶
func (m *ThresholdTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThresholdTrigger) XXX_Merge ¶
func (m *ThresholdTrigger) XXX_Merge(src proto.Message)
func (*ThresholdTrigger) XXX_Size ¶
func (m *ThresholdTrigger) XXX_Size() int
func (*ThresholdTrigger) XXX_Unmarshal ¶
func (m *ThresholdTrigger) XXX_Unmarshal(b []byte) error
type Trigger ¶
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 valid to be assigned to TriggerOneof: // *Trigger_Threshold TriggerOneof isTrigger_TriggerOneof `protobuf_oneof:"trigger_oneof"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Trigger) Descriptor ¶
func (*Trigger) GetThreshold ¶
func (m *Trigger) GetThreshold() *ThresholdTrigger
func (*Trigger) GetTriggerOneof ¶
func (m *Trigger) GetTriggerOneof() isTrigger_TriggerOneof
func (*Trigger) ProtoMessage ¶
func (*Trigger) ProtoMessage()
func (*Trigger) XXX_DiscardUnknown ¶
func (m *Trigger) XXX_DiscardUnknown()
func (*Trigger) XXX_Marshal ¶
func (*Trigger) XXX_OneofWrappers ¶
func (*Trigger) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Trigger) XXX_Unmarshal ¶
type Trigger_Threshold ¶
type Trigger_Threshold struct {
Threshold *ThresholdTrigger `protobuf:"bytes,2,opt,name=threshold,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.