Documentation ¶
Index ¶
- Variables
- type ScalingAction
- func (*ScalingAction) Descriptor() ([]byte, []int)deprecated
- func (x *ScalingAction) GetCount() int64
- func (x *ScalingAction) GetDirection() ScalingDirection
- func (x *ScalingAction) GetError() bool
- func (x *ScalingAction) GetMeta() *any1.Any
- func (x *ScalingAction) GetReason() string
- func (*ScalingAction) ProtoMessage()
- func (x *ScalingAction) ProtoReflect() protoreflect.Message
- func (x *ScalingAction) Reset()
- func (x *ScalingAction) String() string
- type ScalingDirection
- func (ScalingDirection) Descriptor() protoreflect.EnumDescriptor
- func (x ScalingDirection) Enum() *ScalingDirection
- func (ScalingDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScalingDirection) Number() protoreflect.EnumNumber
- func (x ScalingDirection) String() string
- func (ScalingDirection) Type() protoreflect.EnumType
- type ScalingPolicyCheck
- func (*ScalingPolicyCheck) Descriptor() ([]byte, []int)deprecated
- func (x *ScalingPolicyCheck) GetName() string
- func (x *ScalingPolicyCheck) GetQuery() string
- func (x *ScalingPolicyCheck) GetQueryWindow() *duration.Duration
- func (x *ScalingPolicyCheck) GetSource() string
- func (x *ScalingPolicyCheck) GetStrategy() *ScalingPolicyStrategy
- func (*ScalingPolicyCheck) ProtoMessage()
- func (x *ScalingPolicyCheck) ProtoReflect() protoreflect.Message
- func (x *ScalingPolicyCheck) Reset()
- func (x *ScalingPolicyCheck) String() string
- type ScalingPolicyStrategy
- func (*ScalingPolicyStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *ScalingPolicyStrategy) GetConfig() map[string]string
- func (x *ScalingPolicyStrategy) GetName() string
- func (*ScalingPolicyStrategy) ProtoMessage()
- func (x *ScalingPolicyStrategy) ProtoReflect() protoreflect.Message
- func (x *ScalingPolicyStrategy) Reset()
- func (x *ScalingPolicyStrategy) String() string
- type TimeRange
- func (*TimeRange) Descriptor() ([]byte, []int)deprecated
- func (x *TimeRange) GetFrom() *timestamp.Timestamp
- func (x *TimeRange) GetTo() *timestamp.Timestamp
- func (*TimeRange) ProtoMessage()
- func (x *TimeRange) ProtoReflect() protoreflect.Message
- func (x *TimeRange) Reset()
- func (x *TimeRange) String() string
- type TimestampedMetric
- func (*TimestampedMetric) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedMetric) GetTimestamp() *timestamp.Timestamp
- func (x *TimestampedMetric) GetValue() float64
- func (*TimestampedMetric) ProtoMessage()
- func (x *TimestampedMetric) ProtoReflect() protoreflect.Message
- func (x *TimestampedMetric) Reset()
- func (x *TimestampedMetric) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ScalingDirection_name = map[int32]string{ 0: "SCALING_DIRECTION_UNSPECIFIED", 1: "SCALING_DIRECTION_NONE", 2: "SCALING_DIRECTION_DOWN", 3: "SCALING_DIRECTION_UP", } ScalingDirection_value = map[string]int32{ "SCALING_DIRECTION_UNSPECIFIED": 0, "SCALING_DIRECTION_NONE": 1, "SCALING_DIRECTION_DOWN": 2, "SCALING_DIRECTION_UP": 3, } )
Enum value maps for ScalingDirection.
Functions ¶
This section is empty.
Types ¶
type ScalingAction ¶
type ScalingAction struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Error bool `protobuf:"varint,3,opt,name=error,proto3" json:"error,omitempty"` Direction ScalingDirection `` /* 145-byte string literal not displayed */ Meta *any1.Any `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*ScalingAction) Descriptor
deprecated
func (*ScalingAction) Descriptor() ([]byte, []int)
Deprecated: Use ScalingAction.ProtoReflect.Descriptor instead.
func (*ScalingAction) GetCount ¶
func (x *ScalingAction) GetCount() int64
func (*ScalingAction) GetDirection ¶
func (x *ScalingAction) GetDirection() ScalingDirection
func (*ScalingAction) GetError ¶
func (x *ScalingAction) GetError() bool
func (*ScalingAction) GetMeta ¶
func (x *ScalingAction) GetMeta() *any1.Any
func (*ScalingAction) GetReason ¶
func (x *ScalingAction) GetReason() string
func (*ScalingAction) ProtoMessage ¶
func (*ScalingAction) ProtoMessage()
func (*ScalingAction) ProtoReflect ¶
func (x *ScalingAction) ProtoReflect() protoreflect.Message
func (*ScalingAction) Reset ¶
func (x *ScalingAction) Reset()
func (*ScalingAction) String ¶
func (x *ScalingAction) String() string
type ScalingDirection ¶
type ScalingDirection int32
const ( ScalingDirection_SCALING_DIRECTION_UNSPECIFIED ScalingDirection = 0 ScalingDirection_SCALING_DIRECTION_NONE ScalingDirection = 1 ScalingDirection_SCALING_DIRECTION_DOWN ScalingDirection = 2 ScalingDirection_SCALING_DIRECTION_UP ScalingDirection = 3 )
func (ScalingDirection) Descriptor ¶
func (ScalingDirection) Descriptor() protoreflect.EnumDescriptor
func (ScalingDirection) Enum ¶
func (x ScalingDirection) Enum() *ScalingDirection
func (ScalingDirection) EnumDescriptor
deprecated
func (ScalingDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScalingDirection.Descriptor instead.
func (ScalingDirection) Number ¶
func (x ScalingDirection) Number() protoreflect.EnumNumber
func (ScalingDirection) String ¶
func (x ScalingDirection) String() string
func (ScalingDirection) Type ¶
func (ScalingDirection) Type() protoreflect.EnumType
type ScalingPolicyCheck ¶
type ScalingPolicyCheck struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` QueryWindow *duration.Duration `protobuf:"bytes,4,opt,name=query_window,json=queryWindow,proto3" json:"query_window,omitempty"` Strategy *ScalingPolicyStrategy `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"` // contains filtered or unexported fields }
func (*ScalingPolicyCheck) Descriptor
deprecated
func (*ScalingPolicyCheck) Descriptor() ([]byte, []int)
Deprecated: Use ScalingPolicyCheck.ProtoReflect.Descriptor instead.
func (*ScalingPolicyCheck) GetName ¶
func (x *ScalingPolicyCheck) GetName() string
func (*ScalingPolicyCheck) GetQuery ¶
func (x *ScalingPolicyCheck) GetQuery() string
func (*ScalingPolicyCheck) GetQueryWindow ¶
func (x *ScalingPolicyCheck) GetQueryWindow() *duration.Duration
func (*ScalingPolicyCheck) GetSource ¶
func (x *ScalingPolicyCheck) GetSource() string
func (*ScalingPolicyCheck) GetStrategy ¶
func (x *ScalingPolicyCheck) GetStrategy() *ScalingPolicyStrategy
func (*ScalingPolicyCheck) ProtoMessage ¶
func (*ScalingPolicyCheck) ProtoMessage()
func (*ScalingPolicyCheck) ProtoReflect ¶
func (x *ScalingPolicyCheck) ProtoReflect() protoreflect.Message
func (*ScalingPolicyCheck) Reset ¶
func (x *ScalingPolicyCheck) Reset()
func (*ScalingPolicyCheck) String ¶
func (x *ScalingPolicyCheck) String() string
type ScalingPolicyStrategy ¶
type ScalingPolicyStrategy struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Config map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ScalingPolicyStrategy) Descriptor
deprecated
func (*ScalingPolicyStrategy) Descriptor() ([]byte, []int)
Deprecated: Use ScalingPolicyStrategy.ProtoReflect.Descriptor instead.
func (*ScalingPolicyStrategy) GetConfig ¶
func (x *ScalingPolicyStrategy) GetConfig() map[string]string
func (*ScalingPolicyStrategy) GetName ¶
func (x *ScalingPolicyStrategy) GetName() string
func (*ScalingPolicyStrategy) ProtoMessage ¶
func (*ScalingPolicyStrategy) ProtoMessage()
func (*ScalingPolicyStrategy) ProtoReflect ¶
func (x *ScalingPolicyStrategy) ProtoReflect() protoreflect.Message
func (*ScalingPolicyStrategy) Reset ¶
func (x *ScalingPolicyStrategy) Reset()
func (*ScalingPolicyStrategy) String ¶
func (x *ScalingPolicyStrategy) String() string
type TimeRange ¶
type TimeRange struct { To *timestamp.Timestamp `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` From *timestamp.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // contains filtered or unexported fields }
func (*TimeRange) Descriptor
deprecated
func (*TimeRange) ProtoMessage ¶
func (*TimeRange) ProtoMessage()
func (*TimeRange) ProtoReflect ¶
func (x *TimeRange) ProtoReflect() protoreflect.Message
type TimestampedMetric ¶
type TimestampedMetric struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*TimestampedMetric) Descriptor
deprecated
func (*TimestampedMetric) Descriptor() ([]byte, []int)
Deprecated: Use TimestampedMetric.ProtoReflect.Descriptor instead.
func (*TimestampedMetric) GetTimestamp ¶
func (x *TimestampedMetric) GetTimestamp() *timestamp.Timestamp
func (*TimestampedMetric) GetValue ¶
func (x *TimestampedMetric) GetValue() float64
func (*TimestampedMetric) ProtoMessage ¶
func (*TimestampedMetric) ProtoMessage()
func (*TimestampedMetric) ProtoReflect ¶
func (x *TimestampedMetric) ProtoReflect() protoreflect.Message
func (*TimestampedMetric) Reset ¶
func (x *TimestampedMetric) Reset()
func (*TimestampedMetric) String ¶
func (x *TimestampedMetric) String() string
Click to show internal directories.
Click to hide internal directories.