monitoring

package
v0.0.0-...-ac771f7 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: BSD-3-Clause Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	RuntimeClient      client.Client
	InstanceKey        client.ObjectKey
	InstanceAppStatus  common_types.AppStatus
	ClientSet          *kubernetes.Clientset
	CreateAppCr        common_types.AppCrCreator
	Running            bool
	RunningCallback    func()
	NotRunningCallback func()
	// contains filtered or unexported fields
}

func NewMonitor

func NewMonitor(runtimeClient client.Client, instanceKey client.ObjectKey, instanceAppStatus common_types.AppStatus, createAppCr common_types.AppCrCreator,
	runningCallback func(), notRunningCallback func()) *Monitor

func (*Monitor) GetApplicationStatusUsingPodStatus

func (m *Monitor) GetApplicationStatusUsingPodStatus() common_types.AppStatus

func (*Monitor) Pause

func (m *Monitor) Pause()

func (*Monitor) Run

func (m *Monitor) Run()

type MonitorCallbackFunctions

type MonitorCallbackFunctions struct {
	RunningCallback    func()
	NotRunningCallback func()
}

Jump to

Keyboard shortcuts

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