Merge pull request #95720 from draveness/feature/topology-manager-format

style: update comments in topology manager
This commit is contained in:
Kubernetes Prow Robot 2020-10-27 10:36:38 -07:00 committed by GitHub
commit 94cedd9f14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,16 +41,16 @@ const (
// Manager interface provides methods for Kubelet to manage pod topology hints
type Manager interface {
//Manager implements pod admit handler interface
// PodAdmitHandler is implemented by Manager
lifecycle.PodAdmitHandler
//Adds a hint provider to manager to indicate the hint provider
//wants to be consoluted when making topology hints
// AddHintProvider adds a hint provider to manager to indicate the hint provider
// wants to be consulted with when making topology hints
AddHintProvider(HintProvider)
//Adds pod to Manager for tracking
// AddContainer adds pod to Manager for tracking
AddContainer(pod *v1.Pod, containerID string) error
//Removes pod from Manager tracking
// RemoveContainer removes pod from Manager tracking
RemoveContainer(containerID string) error
//Interface for storing pod topology hints
// Store is the interface for storing pod topology hints
Store
}