style: update comments in topology manager

This commit is contained in:
draveness 2020-10-20 18:14:44 +08:00
parent 6d3ccd8e6c
commit 60d3f99b1f

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
}