appmgmt

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppManagementService

type AppManagementService struct {
	// contains filtered or unexported fields
}

AppManagementService is a central service that interacts with one or more K8s operators for app scheduling.

func (*AppManagementService) ApplicationStateUpdateEventHandler

func (svc *AppManagementService) ApplicationStateUpdateEventHandler() func(obj interface{})

func (*AppManagementService) GetAllManagers

func (svc *AppManagementService) GetAllManagers() []interfaces.AppManager

func (*AppManagementService) GetManagerByName

func (svc *AppManagementService) GetManagerByName(name string) interfaces.AppManager

func (*AppManagementService) Start

func (svc *AppManagementService) Start() error

func (*AppManagementService) Stop

func (svc *AppManagementService) Stop()

func (*AppManagementService) WaitForRecovery

func (svc *AppManagementService) WaitForRecovery() error

WaitForRecovery initiates and waits for the app management service to finish recovery. If recovery is canceled (used by testing code) or an error occurs, an error will be returned. In production, this method will block until recovery completes.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL