Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager implements interfaces#Recoverable, interfaces#AppManager generic app management service watches events from all the pods, it recognize apps by reading pod's spec labels, if there are proper info such as applicationID, queue name found, and claim it as an app or a app task, then report them to scheduler cache by calling am protocol
func NewManager ¶
func NewManager(amProtocol interfaces.ApplicationManagementProtocol, apiProvider client.APIProvider) *Manager
func (*Manager) GetExistingAllocation ¶
func (os *Manager) GetExistingAllocation(pod *v1.Pod) *si.Allocation
func (*Manager) ListApplications ¶
func (os *Manager) ListApplications() (map[string]interfaces.ApplicationMetadata, error)
func (*Manager) ServiceInit ¶
this implements AppManagementService interface
Click to show internal directories.
Click to hide internal directories.