monitoring

package
v0.0.0-...-e06b190 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

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
	Instance           *app.Eii
	Namespace          string
	ClientSet          *kubernetes.Clientset
	Running            bool
	RunningCallback    func()
	NotRunningCallback func()
	// contains filtered or unexported fields
}

func NewMonitor

func NewMonitor(runtimeClient client.Client, instance *app.Eii, namespace string,
	runningCallback func(), notRunningCallback func()) *Monitor

func (*Monitor) GetApplicationStatus

func (m *Monitor) GetApplicationStatus() app.AppStatus

func (*Monitor) Pause

func (m *Monitor) Pause()

func (*Monitor) Run

func (m *Monitor) Run()

Jump to

Keyboard shortcuts

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