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

package envoy_config_overload_v2alpha

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

Index

Package Files

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

Variables

var File_envoy_config_overload_v2alpha_overload_proto protoreflect.FileDescriptor

type OverloadAction Uses

type OverloadAction struct {
    Name     string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Triggers []*Trigger `protobuf:"bytes,2,rep,name=triggers,proto3" json:"triggers,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) 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 {
    RefreshInterval  *duration.Duration `protobuf:"bytes,1,opt,name=refresh_interval,json=refreshInterval,proto3" json:"refresh_interval,omitempty"`
    ResourceMonitors []*ResourceMonitor `protobuf:"bytes,2,rep,name=resource_monitors,json=resourceMonitors,proto3" json:"resource_monitors,omitempty"`
    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 {
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Types that are assignable to ConfigType:
    //	*ResourceMonitor_Config
    //	*ResourceMonitor_TypedConfig
    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) GetConfig Uses

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

Deprecated: Do not use.

func (*ResourceMonitor) GetConfigType Uses

func (m *ResourceMonitor) GetConfigType() isResourceMonitor_ConfigType

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_Config Uses

type ResourceMonitor_Config struct {
    // Deprecated: Do not use.
    Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,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 ThresholdTrigger Uses

type ThresholdTrigger struct {
    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 {
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Types that are assignable to TriggerOneof:
    //	*Trigger_Threshold
    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) 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_Threshold Uses

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

Package envoy_config_overload_v2alpha imports 21 packages (graph) and is imported by 2 packages. Updated 2020-07-26. Refresh now. Tools for package owners.