Documentation ¶
Index ¶
- func CreateOrUpdateNumatopo(client *versioned.Clientset)
- func GetAllResTopoInfo() map[string]v1alpha1.ResourceInfo
- func GetCpusDetail() map[string]v1alpha1.CPUInfo
- func GetKubeletConfigFromLocalFile(kubeletConfigPath string) (*kubeletconfigv1beta1.KubeletConfiguration, error)
- func GetPolicy() map[v1alpha1.PolicyName]string
- func GetResReserved() map[string]string
- func GetkubeletConfig(confPath string) bool
- func NodeInfoRefresh(opt *args.Argument) bool
- func RegisterNumaType(info NumaInfo)
- func TopoInfoUpdate(opt *args.Argument) bool
- type CpuNumaInfo
- type NumaInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateNumatopo ¶
func GetAllResTopoInfo ¶
func GetAllResTopoInfo() map[string]v1alpha1.ResourceInfo
func GetCpusDetail ¶ added in v1.0.1
func GetKubeletConfigFromLocalFile ¶
func GetKubeletConfigFromLocalFile(kubeletConfigPath string) (*kubeletconfigv1beta1.KubeletConfiguration, error)
func GetPolicy ¶
func GetPolicy() map[v1alpha1.PolicyName]string
func GetResReserved ¶ added in v1.0.3
func GetkubeletConfig ¶
func NodeInfoRefresh ¶
func RegisterNumaType ¶
func RegisterNumaType(info NumaInfo)
func TopoInfoUpdate ¶
Types ¶
type CpuNumaInfo ¶
type CpuNumaInfo struct { NUMANodes []int NUMA2CpuCap map[int]int NUMA2FreeCpus map[int][]int // contains filtered or unexported fields }
func NewCpuNumaInfo ¶
func NewCpuNumaInfo() *CpuNumaInfo
func (*CpuNumaInfo) GetCpuDetail ¶ added in v1.0.1
func (info *CpuNumaInfo) GetCpuDetail() map[string]v1alpha1.CPUInfo
func (*CpuNumaInfo) GetResourceInfoMap ¶
func (info *CpuNumaInfo) GetResourceInfoMap() v1alpha1.ResourceInfo
func (*CpuNumaInfo) Name ¶
func (info *CpuNumaInfo) Name() string
Click to show internal directories.
Click to hide internal directories.