Versions in this module Expand all Collapse all v0 v0.0.2 Apr 12, 2020 v0.0.1 Mar 26, 2020 Changes in this version + const GBytes + const MBytes + func PatchPodResourceLimitList(pod *corev1.Pod, resourceList *corev1.ResourceList) + func RequestBitflowResourceLimitByNode(node *corev1.Node, conf *config.Config) float64 + type NodeInfo struct + AllocatableResources corev1.ResourceList + NumberOfBitflowContainers int + TotalResourceLimit float64 + func (nodeInfo *NodeInfo) GetCurrentResourceList(initSize, spawning int, factor float64) *corev1.ResourceList + func (nodeInfo *NodeInfo) String() string + type ResourceAssigner struct + Client client.Client + Config *config.Config + Namespace string + PodLabels map[string]string + Respawning *common.RespawningPods + func (res *ResourceAssigner) AssignResources(pod *corev1.Pod, node *corev1.Node) *corev1.ResourceList + func (res *ResourceAssigner) AssignResourcesNodeImplicit(pod *corev1.Pod) *corev1.ResourceList + func (res *ResourceAssigner) GetCurrentResources(node *corev1.Node) *corev1.ResourceList + func (res *ResourceAssigner) RequestNodeInfo(node *corev1.Node, podName string) NodeInfo