Documentation ¶
Index ¶
- Variables
- type ContainerResources
- func (*ContainerResources) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerResources) GetContainerName() string
- func (x *ContainerResources) GetLimits() []*ContainerResources_ResourceList
- func (x *ContainerResources) GetRequests() []*ContainerResources_ResourceList
- func (*ContainerResources) ProtoMessage()
- func (x *ContainerResources) ProtoReflect() protoreflect.Message
- func (x *ContainerResources) Reset()
- func (x *ContainerResources) String() string
- type ContainerResources_ResourceList
- func (*ContainerResources_ResourceList) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerResources_ResourceList) GetName() string
- func (x *ContainerResources_ResourceList) GetValue() string
- func (*ContainerResources_ResourceList) ProtoMessage()
- func (x *ContainerResources_ResourceList) ProtoReflect() protoreflect.Message
- func (x *ContainerResources_ResourceList) Reset()
- func (x *ContainerResources_ResourceList) String() string
- type Error
- type WorkloadHorizontalData
- func (*WorkloadHorizontalData) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadHorizontalData) GetReplicas() int32
- func (x *WorkloadHorizontalData) GetTimestamp() *timestamp.Timestamp
- func (*WorkloadHorizontalData) ProtoMessage()
- func (x *WorkloadHorizontalData) ProtoReflect() protoreflect.Message
- func (x *WorkloadHorizontalData) Reset()
- func (x *WorkloadHorizontalData) String() string
- type WorkloadHorizontalValues
- func (*WorkloadHorizontalValues) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadHorizontalValues) GetAuto() *WorkloadHorizontalData
- func (x *WorkloadHorizontalValues) GetError() *Error
- func (x *WorkloadHorizontalValues) GetManual() *WorkloadHorizontalData
- func (*WorkloadHorizontalValues) ProtoMessage()
- func (x *WorkloadHorizontalValues) ProtoReflect() protoreflect.Message
- func (x *WorkloadHorizontalValues) Reset()
- func (x *WorkloadHorizontalValues) String() string
- type WorkloadValues
- func (*WorkloadValues) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadValues) GetError() *Error
- func (x *WorkloadValues) GetHorizontal() *WorkloadHorizontalValues
- func (x *WorkloadValues) GetName() string
- func (x *WorkloadValues) GetNamespace() string
- func (x *WorkloadValues) GetVertical() *WorkloadVerticalValues
- func (*WorkloadValues) ProtoMessage()
- func (x *WorkloadValues) ProtoReflect() protoreflect.Message
- func (x *WorkloadValues) Reset()
- func (x *WorkloadValues) String() string
- type WorkloadValuesList
- func (*WorkloadValuesList) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadValuesList) GetValues() []*WorkloadValues
- func (*WorkloadValuesList) ProtoMessage()
- func (x *WorkloadValuesList) ProtoReflect() protoreflect.Message
- func (x *WorkloadValuesList) Reset()
- func (x *WorkloadValuesList) String() string
- type WorkloadVerticalData
- func (*WorkloadVerticalData) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadVerticalData) GetResources() []*ContainerResources
- func (x *WorkloadVerticalData) GetTimestamp() *timestamp.Timestamp
- func (*WorkloadVerticalData) ProtoMessage()
- func (x *WorkloadVerticalData) ProtoReflect() protoreflect.Message
- func (x *WorkloadVerticalData) Reset()
- func (x *WorkloadVerticalData) String() string
- type WorkloadVerticalValues
- func (*WorkloadVerticalValues) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadVerticalValues) GetAuto() *WorkloadVerticalData
- func (x *WorkloadVerticalValues) GetError() *Error
- func (x *WorkloadVerticalValues) GetManual() *WorkloadVerticalData
- func (*WorkloadVerticalValues) ProtoMessage()
- func (x *WorkloadVerticalValues) ProtoReflect() protoreflect.Message
- func (x *WorkloadVerticalValues) Reset()
- func (x *WorkloadVerticalValues) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_autoscaling_kubernetes_autoscaling_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ContainerResources ¶
type ContainerResources struct { ContainerName string `protobuf:"bytes,1,opt,name=containerName,proto3" json:"containerName,omitempty"` // ContainerName is the name of the container Requests []*ContainerResources_ResourceList `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` Limits []*ContainerResources_ResourceList `protobuf:"bytes,3,rep,name=limits,proto3" json:"limits,omitempty"` // contains filtered or unexported fields }
func (*ContainerResources) Descriptor
deprecated
func (*ContainerResources) Descriptor() ([]byte, []int)
Deprecated: Use ContainerResources.ProtoReflect.Descriptor instead.
func (*ContainerResources) GetContainerName ¶
func (x *ContainerResources) GetContainerName() string
func (*ContainerResources) GetLimits ¶
func (x *ContainerResources) GetLimits() []*ContainerResources_ResourceList
func (*ContainerResources) GetRequests ¶
func (x *ContainerResources) GetRequests() []*ContainerResources_ResourceList
func (*ContainerResources) ProtoMessage ¶
func (*ContainerResources) ProtoMessage()
func (*ContainerResources) ProtoReflect ¶
func (x *ContainerResources) ProtoReflect() protoreflect.Message
func (*ContainerResources) Reset ¶
func (x *ContainerResources) Reset()
func (*ContainerResources) String ¶
func (x *ContainerResources) String() string
type ContainerResources_ResourceList ¶
type ContainerResources_ResourceList struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name is the name of the resource (e.g. "cpu" or "memory") Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Value is stored in Kubernetes format (e.g. "1Gi") // contains filtered or unexported fields }
func (*ContainerResources_ResourceList) Descriptor
deprecated
func (*ContainerResources_ResourceList) Descriptor() ([]byte, []int)
Deprecated: Use ContainerResources_ResourceList.ProtoReflect.Descriptor instead.
func (*ContainerResources_ResourceList) GetName ¶
func (x *ContainerResources_ResourceList) GetName() string
func (*ContainerResources_ResourceList) GetValue ¶
func (x *ContainerResources_ResourceList) GetValue() string
func (*ContainerResources_ResourceList) ProtoMessage ¶
func (*ContainerResources_ResourceList) ProtoMessage()
func (*ContainerResources_ResourceList) ProtoReflect ¶
func (x *ContainerResources_ResourceList) ProtoReflect() protoreflect.Message
func (*ContainerResources_ResourceList) Reset ¶
func (x *ContainerResources_ResourceList) Reset()
func (*ContainerResources_ResourceList) String ¶
func (x *ContainerResources_ResourceList) String() string
type Error ¶
type Error struct { Code *int32 `protobuf:"varint,1,opt,name=code,proto3,oneof" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
Error represents an error message
func (*Error) Descriptor
deprecated
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type WorkloadHorizontalData ¶
type WorkloadHorizontalData struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp is the time the values were generated Replicas *int32 `protobuf:"varint,2,opt,name=replicas,proto3,oneof" json:"replicas,omitempty"` // Replicas is the number of replicas the workload should have // contains filtered or unexported fields }
func (*WorkloadHorizontalData) Descriptor
deprecated
func (*WorkloadHorizontalData) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadHorizontalData.ProtoReflect.Descriptor instead.
func (*WorkloadHorizontalData) GetReplicas ¶
func (x *WorkloadHorizontalData) GetReplicas() int32
func (*WorkloadHorizontalData) GetTimestamp ¶
func (x *WorkloadHorizontalData) GetTimestamp() *timestamp.Timestamp
func (*WorkloadHorizontalData) ProtoMessage ¶
func (*WorkloadHorizontalData) ProtoMessage()
func (*WorkloadHorizontalData) ProtoReflect ¶
func (x *WorkloadHorizontalData) ProtoReflect() protoreflect.Message
func (*WorkloadHorizontalData) Reset ¶
func (x *WorkloadHorizontalData) Reset()
func (*WorkloadHorizontalData) String ¶
func (x *WorkloadHorizontalData) String() string
type WorkloadHorizontalValues ¶
type WorkloadHorizontalValues struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Error is the error message if new values cannot be calculated Manual *WorkloadHorizontalData `protobuf:"bytes,2,opt,name=manual,proto3" json:"manual,omitempty"` // Manual is the manual override values for the workload Auto *WorkloadHorizontalData `protobuf:"bytes,3,opt,name=auto,proto3" json:"auto,omitempty"` // Auto is the periodic recommendation values for the workload // contains filtered or unexported fields }
func (*WorkloadHorizontalValues) Descriptor
deprecated
func (*WorkloadHorizontalValues) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadHorizontalValues.ProtoReflect.Descriptor instead.
func (*WorkloadHorizontalValues) GetAuto ¶
func (x *WorkloadHorizontalValues) GetAuto() *WorkloadHorizontalData
func (*WorkloadHorizontalValues) GetError ¶
func (x *WorkloadHorizontalValues) GetError() *Error
func (*WorkloadHorizontalValues) GetManual ¶
func (x *WorkloadHorizontalValues) GetManual() *WorkloadHorizontalData
func (*WorkloadHorizontalValues) ProtoMessage ¶
func (*WorkloadHorizontalValues) ProtoMessage()
func (*WorkloadHorizontalValues) ProtoReflect ¶
func (x *WorkloadHorizontalValues) ProtoReflect() protoreflect.Message
func (*WorkloadHorizontalValues) Reset ¶
func (x *WorkloadHorizontalValues) Reset()
func (*WorkloadHorizontalValues) String ¶
func (x *WorkloadHorizontalValues) String() string
type WorkloadValues ¶
type WorkloadValues struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Namespace is the namespace of PodAutoscaler object Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Name is the name of the PodAutoscaler object Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // Error is any global error that prevent the calculation of new values (not specific to horizontal or vertical values) Horizontal *WorkloadHorizontalValues `protobuf:"bytes,4,opt,name=horizontal,proto3" json:"horizontal,omitempty"` Vertical *WorkloadVerticalValues `protobuf:"bytes,5,opt,name=vertical,proto3" json:"vertical,omitempty"` // contains filtered or unexported fields }
WorkloadValues represents the values of a workload
func (*WorkloadValues) Descriptor
deprecated
func (*WorkloadValues) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadValues.ProtoReflect.Descriptor instead.
func (*WorkloadValues) GetError ¶
func (x *WorkloadValues) GetError() *Error
func (*WorkloadValues) GetHorizontal ¶
func (x *WorkloadValues) GetHorizontal() *WorkloadHorizontalValues
func (*WorkloadValues) GetName ¶
func (x *WorkloadValues) GetName() string
func (*WorkloadValues) GetNamespace ¶
func (x *WorkloadValues) GetNamespace() string
func (*WorkloadValues) GetVertical ¶
func (x *WorkloadValues) GetVertical() *WorkloadVerticalValues
func (*WorkloadValues) ProtoMessage ¶
func (*WorkloadValues) ProtoMessage()
func (*WorkloadValues) ProtoReflect ¶
func (x *WorkloadValues) ProtoReflect() protoreflect.Message
func (*WorkloadValues) Reset ¶
func (x *WorkloadValues) Reset()
func (*WorkloadValues) String ¶
func (x *WorkloadValues) String() string
type WorkloadValuesList ¶
type WorkloadValuesList struct { Values []*WorkloadValues `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
WorkloadValuesList represents a list of workload values
func (*WorkloadValuesList) Descriptor
deprecated
func (*WorkloadValuesList) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadValuesList.ProtoReflect.Descriptor instead.
func (*WorkloadValuesList) GetValues ¶
func (x *WorkloadValuesList) GetValues() []*WorkloadValues
func (*WorkloadValuesList) ProtoMessage ¶
func (*WorkloadValuesList) ProtoMessage()
func (*WorkloadValuesList) ProtoReflect ¶
func (x *WorkloadValuesList) ProtoReflect() protoreflect.Message
func (*WorkloadValuesList) Reset ¶
func (x *WorkloadValuesList) Reset()
func (*WorkloadValuesList) String ¶
func (x *WorkloadValuesList) String() string
type WorkloadVerticalData ¶
type WorkloadVerticalData struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp is the time the values were generated Resources []*ContainerResources `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` // Resources is the list of resources for the workload // contains filtered or unexported fields }
func (*WorkloadVerticalData) Descriptor
deprecated
func (*WorkloadVerticalData) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadVerticalData.ProtoReflect.Descriptor instead.
func (*WorkloadVerticalData) GetResources ¶
func (x *WorkloadVerticalData) GetResources() []*ContainerResources
func (*WorkloadVerticalData) GetTimestamp ¶
func (x *WorkloadVerticalData) GetTimestamp() *timestamp.Timestamp
func (*WorkloadVerticalData) ProtoMessage ¶
func (*WorkloadVerticalData) ProtoMessage()
func (*WorkloadVerticalData) ProtoReflect ¶
func (x *WorkloadVerticalData) ProtoReflect() protoreflect.Message
func (*WorkloadVerticalData) Reset ¶
func (x *WorkloadVerticalData) Reset()
func (*WorkloadVerticalData) String ¶
func (x *WorkloadVerticalData) String() string
type WorkloadVerticalValues ¶
type WorkloadVerticalValues struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Error is the error message if new values cannot be calculated Manual *WorkloadVerticalData `protobuf:"bytes,2,opt,name=manual,proto3" json:"manual,omitempty"` // Manual is the manual override values for the workload Auto *WorkloadVerticalData `protobuf:"bytes,3,opt,name=auto,proto3" json:"auto,omitempty"` // Auto is the periodic recommendation values for the workload // contains filtered or unexported fields }
func (*WorkloadVerticalValues) Descriptor
deprecated
func (*WorkloadVerticalValues) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadVerticalValues.ProtoReflect.Descriptor instead.
func (*WorkloadVerticalValues) GetAuto ¶
func (x *WorkloadVerticalValues) GetAuto() *WorkloadVerticalData
func (*WorkloadVerticalValues) GetError ¶
func (x *WorkloadVerticalValues) GetError() *Error
func (*WorkloadVerticalValues) GetManual ¶
func (x *WorkloadVerticalValues) GetManual() *WorkloadVerticalData
func (*WorkloadVerticalValues) ProtoMessage ¶
func (*WorkloadVerticalValues) ProtoMessage()
func (*WorkloadVerticalValues) ProtoReflect ¶
func (x *WorkloadVerticalValues) ProtoReflect() protoreflect.Message
func (*WorkloadVerticalValues) Reset ¶
func (x *WorkloadVerticalValues) Reset()
func (*WorkloadVerticalValues) String ¶
func (x *WorkloadVerticalValues) String() string