kubernetes/pkg/kubelet/cm/topologymanager/topology_manager.go

const defaultMaxAllowableNUMANodes

const ErrorTopologyAffinity

type TopologyAffinityError

func (e TopologyAffinityError) Error() string {}

func (e TopologyAffinityError) Type() string {}

type Manager

type manager

type HintProvider

type Store

type TopologyHint

// IsEqual checks if TopologyHint are equal
func (th *TopologyHint) IsEqual(topologyHint TopologyHint) bool {}

// LessThan checks if TopologyHint `a` is less than TopologyHint `b`
// this means that either `a` is a preferred hint and `b` is not
// or `a` NUMANodeAffinity attribute is narrower than `b` NUMANodeAffinity attribute.
func (th *TopologyHint) LessThan(other TopologyHint) bool {}

var _

// NewManager creates a new TopologyManager based on provided policy and scope
func NewManager(topology []cadvisorapi.Node, topologyPolicyName string, topologyScopeName string, topologyPolicyOptions map[string]string) (Manager, error) {}

func (m *manager) GetAffinity(podUID string, containerName string) TopologyHint {}

func (m *manager) GetPolicy() Policy {}

func (m *manager) AddHintProvider(h HintProvider) {}

func (m *manager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {}

func (m *manager) RemoveContainer(containerID string) error {}

func (m *manager) Admit(attrs *lifecycle.PodAdmitAttributes) lifecycle.PodAdmitResult {}