versa

package
v0.0.0-...-23f3549 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package versa implements NDM Versa corecheck

Index

Constants

View Source
const (
	// CheckName is the name of the check
	CheckName = "versa"
)

Variables

This section is empty.

Functions

func Factory

func Factory() option.Option[func() check.Check]

Factory creates a new check factory

Types

type VersaCheck

type VersaCheck struct {
	core.CheckBase
	// contains filtered or unexported fields
}

VersaCheck contains the fields for the Versa check

func (*VersaCheck) Configure

func (v *VersaCheck) Configure(senderManager sender.SenderManager, integrationConfigDigest uint64, rawInstance integration.Data, rawInitConfig integration.Data, source string) error

Configure the Versa check

func (*VersaCheck) Interval

func (v *VersaCheck) Interval() time.Duration

Interval returns the scheduling time for the check

func (*VersaCheck) IsHASupported

func (v *VersaCheck) IsHASupported() bool

IsHASupported returns true if the check supports HA

func (*VersaCheck) Run

func (v *VersaCheck) Run() error

Run executes the check

Directories

Path Synopsis
Package report implements Versa metadata and metrics reporting
Package report implements Versa metadata and metrics reporting

Jump to

Keyboard shortcuts

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