Documentation
¶
Index ¶
- type Container
- func (*Container) Descriptor() ([]byte, []int)
- func (m *Container) GetLimitResource() map[int32]*v1alpha2.MetricData
- func (m *Container) GetName() string
- func (m *Container) GetRequestResource() map[int32]*v1alpha2.MetricData
- func (*Container) ProtoMessage()
- func (m *Container) Reset()
- func (m *Container) String() string
- func (m *Container) XXX_DiscardUnknown()
- func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Container) XXX_Merge(src proto.Message)
- func (m *Container) XXX_Size() int
- func (m *Container) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetIsPredicted() bool
- func (m *Node) GetName() string
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type Pod
- func (*Pod) Descriptor() ([]byte, []int)
- func (m *Pod) GetContainers() []*Container
- func (m *Pod) GetIsPredicted() bool
- func (m *Pod) GetNamespacedName() *v1alpha21.NamespacedName
- func (m *Pod) GetNodeName() string
- func (m *Pod) GetPolicy() v1alpha22.RecommendationPolicy
- func (m *Pod) GetResourceLink() string
- func (m *Pod) GetScaler() *v1alpha21.NamespacedName
- func (m *Pod) GetStartTime() *timestamp.Timestamp
- func (*Pod) ProtoMessage()
- func (m *Pod) Reset()
- func (m *Pod) String() string
- func (m *Pod) XXX_DiscardUnknown()
- func (m *Pod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pod) XXX_Merge(src proto.Message)
- func (m *Pod) XXX_Size() int
- func (m *Pod) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // use containersai.datahub.metric.v1alpha2.MetricType as key LimitResource map[int32]*v1alpha2.MetricData `` /* 189-byte string literal not displayed */ // use containersai.datahub.metric.v1alpha2.MetricType as key RequestResource map[int32]*v1alpha2.MetricData `` /* 195-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Represents a container and its containing limit and requeset configurations
func (*Container) Descriptor ¶
func (*Container) GetLimitResource ¶
func (m *Container) GetLimitResource() map[int32]*v1alpha2.MetricData
func (*Container) GetRequestResource ¶
func (m *Container) GetRequestResource() map[int32]*v1alpha2.MetricData
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) XXX_DiscardUnknown ¶
func (m *Container) XXX_DiscardUnknown()
func (*Container) XXX_Marshal ¶
func (*Container) XXX_Unmarshal ¶
type Node ¶
type Node struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` IsPredicted bool `protobuf:"varint,2,opt,name=is_predicted,json=isPredicted,proto3" json:"is_predicted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Represents a Kubernetes node
func (*Node) Descriptor ¶
func (*Node) GetIsPredicted ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
type Pod ¶
type Pod struct { NamespacedName *v1alpha21.NamespacedName `protobuf:"bytes,1,opt,name=namespaced_name,json=namespacedName,proto3" json:"namespaced_name,omitempty"` ResourceLink string `protobuf:"bytes,2,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"` Containers []*Container `protobuf:"bytes,3,rep,name=containers,proto3" json:"containers,omitempty"` IsPredicted bool `protobuf:"varint,4,opt,name=is_predicted,json=isPredicted,proto3" json:"is_predicted,omitempty"` Scaler *v1alpha21.NamespacedName `protobuf:"bytes,5,opt,name=scaler,proto3" json:"scaler,omitempty"` NodeName string `protobuf:"bytes,6,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` Policy v1alpha22.RecommendationPolicy `` /* 137-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Represents a Kubernetes pod
func (*Pod) Descriptor ¶
func (*Pod) GetContainers ¶
func (*Pod) GetIsPredicted ¶
func (*Pod) GetNamespacedName ¶
func (m *Pod) GetNamespacedName() *v1alpha21.NamespacedName
func (*Pod) GetNodeName ¶
func (*Pod) GetPolicy ¶
func (m *Pod) GetPolicy() v1alpha22.RecommendationPolicy
func (*Pod) GetResourceLink ¶
func (*Pod) GetScaler ¶
func (m *Pod) GetScaler() *v1alpha21.NamespacedName
func (*Pod) GetStartTime ¶
func (*Pod) ProtoMessage ¶
func (*Pod) ProtoMessage()
func (*Pod) XXX_DiscardUnknown ¶
func (m *Pod) XXX_DiscardUnknown()
func (*Pod) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.