state

package
v0.0.0-...-0ea8e91 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package state provides the state of the USM monitor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Set

func Set(state MonitorState)

Set sets the current state of the USM monitor.

Types

type MonitorState

type MonitorState = string

MonitorState represents the state of the USM monitor.

const (
	// Disabled represents the state of the USM monitor when it is disabled.
	Disabled MonitorState = "Disabled"
	// Running represents the state of the USM monitor when it is running.
	Running MonitorState = "Running"
	// NotRunning represents the state of the USM monitor when it is not running.
	NotRunning MonitorState = "Not running"
	// Stopped represents the state of the USM monitor when it is stopped.
	Stopped MonitorState = "Stopped"
)

func Get

func Get() MonitorState

Get returns the current state of the USM monitor.

Jump to

Keyboard shortcuts

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