package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Packages

# Functions

IsAlignmentGuaranteed return true if the given policy guarantees that either the compute resources will be allocated within a NUMA boundary, or the allocation will fail at all.
NewBestEffortPolicy returns best-effort policy.
NewContainerScope returns a container scope.
NewFakeManager returns an instance of FakeManager.
NewFakeManagerWithHint returns an instance of fake topology manager with specified topology hints.
NewFakeManagerWithPolicy returns an instance of fake topology manager with specified policy.
NewManager creates a new TopologyManager based on provided policy and scope.
NewNonePolicy returns none policy.
NewNoneScope returns a none scope.
NewPodScope returns a pod scope.
NewRestrictedPolicy returns restricted policy.
NewSingleNumaNodePolicy returns single-numa-node policy.

# Constants

ErrorTopologyAffinity represents the type for a TopologyAffinityError.
PolicyBestEffort policy name.
PolicyNone policy name.
PolicyRestricted policy name.
PolicySingleNumaNode policy name.

# Structs

TopologyAffinityError represents an resource alignment error.
TopologyHint is a struct containing the NUMANodeAffinity for a Container.

# Interfaces

HintProvider is an interface for components that want to collaborate to achieve globally optimal concrete resource alignment with respect to NUMA locality.
Manager interface provides methods for Kubelet to manage pod topology hints.
Policy interface for Topology Manager Pod Admit Result.
Scope interface for Topology Manager.
Store interface is to allow Hint Providers to retrieve pod affinity.

# Type aliases