Documentation ¶
Index ¶
- Variables
- type OverloadAction
- func (*OverloadAction) Descriptor() ([]byte, []int)
- func (m *OverloadAction) GetName() string
- func (m *OverloadAction) GetTriggers() []*Trigger
- func (m *OverloadAction) Marshal() (dAtA []byte, err error)
- func (m *OverloadAction) MarshalTo(dAtA []byte) (int, error)
- func (m *OverloadAction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OverloadAction) ProtoMessage()
- func (m *OverloadAction) Reset()
- func (m *OverloadAction) Size() (n int)
- func (m *OverloadAction) String() string
- func (m *OverloadAction) Unmarshal(dAtA []byte) error
- func (m *OverloadAction) Validate() error
- 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 OverloadActionValidationError
- func (e OverloadActionValidationError) Cause() error
- func (e OverloadActionValidationError) Error() string
- func (e OverloadActionValidationError) ErrorName() string
- func (e OverloadActionValidationError) Field() string
- func (e OverloadActionValidationError) Key() bool
- func (e OverloadActionValidationError) Reason() string
- type OverloadManager
- func (*OverloadManager) Descriptor() ([]byte, []int)
- func (m *OverloadManager) GetActions() []*OverloadAction
- func (m *OverloadManager) GetRefreshInterval() *types.Duration
- func (m *OverloadManager) GetResourceMonitors() []*ResourceMonitor
- func (m *OverloadManager) Marshal() (dAtA []byte, err error)
- func (m *OverloadManager) MarshalTo(dAtA []byte) (int, error)
- func (m *OverloadManager) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OverloadManager) ProtoMessage()
- func (m *OverloadManager) Reset()
- func (m *OverloadManager) Size() (n int)
- func (m *OverloadManager) String() string
- func (m *OverloadManager) Unmarshal(dAtA []byte) error
- func (m *OverloadManager) Validate() error
- 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 OverloadManagerValidationError
- func (e OverloadManagerValidationError) Cause() error
- func (e OverloadManagerValidationError) Error() string
- func (e OverloadManagerValidationError) ErrorName() string
- func (e OverloadManagerValidationError) Field() string
- func (e OverloadManagerValidationError) Key() bool
- func (e OverloadManagerValidationError) Reason() string
- type ResourceMonitor
- func (*ResourceMonitor) Descriptor() ([]byte, []int)
- func (m *ResourceMonitor) GetConfigType() isResourceMonitor_ConfigType
- func (m *ResourceMonitor) GetName() string
- func (m *ResourceMonitor) GetTypedConfig() *types.Any
- func (m *ResourceMonitor) Marshal() (dAtA []byte, err error)
- func (m *ResourceMonitor) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceMonitor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceMonitor) ProtoMessage()
- func (m *ResourceMonitor) Reset()
- func (m *ResourceMonitor) Size() (n int)
- func (m *ResourceMonitor) String() string
- func (m *ResourceMonitor) Unmarshal(dAtA []byte) error
- func (m *ResourceMonitor) Validate() error
- 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 ResourceMonitorValidationError
- func (e ResourceMonitorValidationError) Cause() error
- func (e ResourceMonitorValidationError) Error() string
- func (e ResourceMonitorValidationError) ErrorName() string
- func (e ResourceMonitorValidationError) Field() string
- func (e ResourceMonitorValidationError) Key() bool
- func (e ResourceMonitorValidationError) Reason() string
- type ResourceMonitor_TypedConfig
- type ThresholdTrigger
- func (*ThresholdTrigger) Descriptor() ([]byte, []int)
- func (m *ThresholdTrigger) GetValue() float64
- func (m *ThresholdTrigger) Marshal() (dAtA []byte, err error)
- func (m *ThresholdTrigger) MarshalTo(dAtA []byte) (int, error)
- func (m *ThresholdTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ThresholdTrigger) ProtoMessage()
- func (m *ThresholdTrigger) Reset()
- func (m *ThresholdTrigger) Size() (n int)
- func (m *ThresholdTrigger) String() string
- func (m *ThresholdTrigger) Unmarshal(dAtA []byte) error
- func (m *ThresholdTrigger) Validate() error
- 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 ThresholdTriggerValidationError
- func (e ThresholdTriggerValidationError) Cause() error
- func (e ThresholdTriggerValidationError) Error() string
- func (e ThresholdTriggerValidationError) ErrorName() string
- func (e ThresholdTriggerValidationError) Field() string
- func (e ThresholdTriggerValidationError) Key() bool
- func (e ThresholdTriggerValidationError) Reason() string
- type Trigger
- func (*Trigger) Descriptor() ([]byte, []int)
- func (m *Trigger) GetName() string
- func (m *Trigger) GetThreshold() *ThresholdTrigger
- func (m *Trigger) GetTriggerOneof() isTrigger_TriggerOneof
- func (m *Trigger) Marshal() (dAtA []byte, err error)
- func (m *Trigger) MarshalTo(dAtA []byte) (int, error)
- func (m *Trigger) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Trigger) ProtoMessage()
- func (m *Trigger) Reset()
- func (m *Trigger) Size() (n int)
- func (m *Trigger) String() string
- func (m *Trigger) Unmarshal(dAtA []byte) error
- func (m *Trigger) Validate() error
- 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 TriggerValidationError
- type Trigger_Threshold
Constants ¶
This section is empty.
Variables ¶
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) Marshal ¶
func (m *OverloadAction) Marshal() (dAtA []byte, err error)
func (*OverloadAction) MarshalToSizedBuffer ¶
func (m *OverloadAction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OverloadAction) ProtoMessage ¶
func (*OverloadAction) ProtoMessage()
func (*OverloadAction) Reset ¶
func (m *OverloadAction) Reset()
func (*OverloadAction) Size ¶
func (m *OverloadAction) Size() (n int)
func (*OverloadAction) String ¶
func (m *OverloadAction) String() string
func (*OverloadAction) Unmarshal ¶
func (m *OverloadAction) Unmarshal(dAtA []byte) error
func (*OverloadAction) Validate ¶
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.
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 OverloadActionValidationError ¶
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 ¶
func (e OverloadActionValidationError) Cause() error
Cause function returns cause value.
func (OverloadActionValidationError) Error ¶
func (e OverloadActionValidationError) Error() string
Error satisfies the builtin error interface
func (OverloadActionValidationError) ErrorName ¶
func (e OverloadActionValidationError) ErrorName() string
ErrorName returns error name.
func (OverloadActionValidationError) Field ¶
func (e OverloadActionValidationError) Field() string
Field function returns field value.
func (OverloadActionValidationError) Key ¶
func (e OverloadActionValidationError) Key() bool
Key function returns key value.
func (OverloadActionValidationError) Reason ¶
func (e OverloadActionValidationError) Reason() string
Reason function returns reason value.
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) Marshal ¶
func (m *OverloadManager) Marshal() (dAtA []byte, err error)
func (*OverloadManager) MarshalToSizedBuffer ¶
func (m *OverloadManager) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OverloadManager) ProtoMessage ¶
func (*OverloadManager) ProtoMessage()
func (*OverloadManager) Reset ¶
func (m *OverloadManager) Reset()
func (*OverloadManager) Size ¶
func (m *OverloadManager) Size() (n int)
func (*OverloadManager) String ¶
func (m *OverloadManager) String() string
func (*OverloadManager) Unmarshal ¶
func (m *OverloadManager) Unmarshal(dAtA []byte) error
func (*OverloadManager) Validate ¶
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.
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 OverloadManagerValidationError ¶
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 ¶
func (e OverloadManagerValidationError) Cause() error
Cause function returns cause value.
func (OverloadManagerValidationError) Error ¶
func (e OverloadManagerValidationError) Error() string
Error satisfies the builtin error interface
func (OverloadManagerValidationError) ErrorName ¶
func (e OverloadManagerValidationError) ErrorName() string
ErrorName returns error name.
func (OverloadManagerValidationError) Field ¶
func (e OverloadManagerValidationError) Field() string
Field function returns field value.
func (OverloadManagerValidationError) Key ¶
func (e OverloadManagerValidationError) Key() bool
Key function returns key value.
func (OverloadManagerValidationError) Reason ¶
func (e OverloadManagerValidationError) Reason() string
Reason function returns reason value.
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_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) 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) Marshal ¶
func (m *ResourceMonitor) Marshal() (dAtA []byte, err error)
func (*ResourceMonitor) MarshalToSizedBuffer ¶
func (m *ResourceMonitor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceMonitor) ProtoMessage ¶
func (*ResourceMonitor) ProtoMessage()
func (*ResourceMonitor) Reset ¶
func (m *ResourceMonitor) Reset()
func (*ResourceMonitor) Size ¶
func (m *ResourceMonitor) Size() (n int)
func (*ResourceMonitor) String ¶
func (m *ResourceMonitor) String() string
func (*ResourceMonitor) Unmarshal ¶
func (m *ResourceMonitor) Unmarshal(dAtA []byte) error
func (*ResourceMonitor) Validate ¶
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.
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 ResourceMonitorValidationError ¶
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 ¶
func (e ResourceMonitorValidationError) Cause() error
Cause function returns cause value.
func (ResourceMonitorValidationError) Error ¶
func (e ResourceMonitorValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceMonitorValidationError) ErrorName ¶
func (e ResourceMonitorValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceMonitorValidationError) Field ¶
func (e ResourceMonitorValidationError) Field() string
Field function returns field value.
func (ResourceMonitorValidationError) Key ¶
func (e ResourceMonitorValidationError) Key() bool
Key function returns key value.
func (ResourceMonitorValidationError) Reason ¶
func (e ResourceMonitorValidationError) Reason() string
Reason function returns reason value.
type ResourceMonitor_TypedConfig ¶
type ResourceMonitor_TypedConfig struct {
TypedConfig *types.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof" json:"typed_config,omitempty"`
}
func (*ResourceMonitor_TypedConfig) MarshalTo ¶
func (m *ResourceMonitor_TypedConfig) MarshalTo(dAtA []byte) (int, error)
func (*ResourceMonitor_TypedConfig) MarshalToSizedBuffer ¶
func (m *ResourceMonitor_TypedConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceMonitor_TypedConfig) Size ¶
func (m *ResourceMonitor_TypedConfig) Size() (n int)
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) Marshal ¶
func (m *ThresholdTrigger) Marshal() (dAtA []byte, err error)
func (*ThresholdTrigger) MarshalToSizedBuffer ¶
func (m *ThresholdTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ThresholdTrigger) ProtoMessage ¶
func (*ThresholdTrigger) ProtoMessage()
func (*ThresholdTrigger) Reset ¶
func (m *ThresholdTrigger) Reset()
func (*ThresholdTrigger) Size ¶
func (m *ThresholdTrigger) Size() (n int)
func (*ThresholdTrigger) String ¶
func (m *ThresholdTrigger) String() string
func (*ThresholdTrigger) Unmarshal ¶
func (m *ThresholdTrigger) Unmarshal(dAtA []byte) error
func (*ThresholdTrigger) Validate ¶
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.
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 ThresholdTriggerValidationError ¶
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 ¶
func (e ThresholdTriggerValidationError) Cause() error
Cause function returns cause value.
func (ThresholdTriggerValidationError) Error ¶
func (e ThresholdTriggerValidationError) Error() string
Error satisfies the builtin error interface
func (ThresholdTriggerValidationError) ErrorName ¶
func (e ThresholdTriggerValidationError) ErrorName() string
ErrorName returns error name.
func (ThresholdTriggerValidationError) Field ¶
func (e ThresholdTriggerValidationError) Field() string
Field function returns field value.
func (ThresholdTriggerValidationError) Key ¶
func (e ThresholdTriggerValidationError) Key() bool
Key function returns key value.
func (ThresholdTriggerValidationError) Reason ¶
func (e ThresholdTriggerValidationError) Reason() string
Reason function returns reason value.
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) MarshalToSizedBuffer ¶
func (*Trigger) ProtoMessage ¶
func (*Trigger) ProtoMessage()
func (*Trigger) Validate ¶
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.
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 TriggerValidationError ¶
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 ¶
func (e TriggerValidationError) Cause() error
Cause function returns cause value.
func (TriggerValidationError) Error ¶
func (e TriggerValidationError) Error() string
Error satisfies the builtin error interface
func (TriggerValidationError) ErrorName ¶
func (e TriggerValidationError) ErrorName() string
ErrorName returns error name.
func (TriggerValidationError) Field ¶
func (e TriggerValidationError) Field() string
Field function returns field value.
func (TriggerValidationError) Key ¶
func (e TriggerValidationError) Key() bool
Key function returns key value.
func (TriggerValidationError) Reason ¶
func (e TriggerValidationError) Reason() string
Reason function returns reason value.
type Trigger_Threshold ¶
type Trigger_Threshold struct {
Threshold *ThresholdTrigger `protobuf:"bytes,2,opt,name=threshold,proto3,oneof" json:"threshold,omitempty"`
}
func (*Trigger_Threshold) MarshalTo ¶
func (m *Trigger_Threshold) MarshalTo(dAtA []byte) (int, error)
func (*Trigger_Threshold) MarshalToSizedBuffer ¶
func (m *Trigger_Threshold) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Trigger_Threshold) Size ¶
func (m *Trigger_Threshold) Size() (n int)