stats

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UID        string
	InstanceID string
)

Functions

func DecNumberOfFeatures

func DecNumberOfFeatures()

DecNumberOfFeatures decrements the number of features that are being served by the engine.

func IncNumberOfFeatures

func IncNumberOfFeatures()

IncNumberOfFeatures increments the number of features that are being served by the engine.

func IncrFeatureAppends

func IncrFeatureAppends()

IncrFeatureAppends increments the number of feature `Append` requests.

func IncrFeatureDescriptorReqs

func IncrFeatureDescriptorReqs()

IncrFeatureDescriptorReqs increments the number of feature descriptor requests.

func IncrFeatureGets

func IncrFeatureGets()

IncrFeatureGets increments the number of feature `Get` requests.

func IncrFeatureIncrements

func IncrFeatureIncrements()

IncrFeatureIncrements increments the number of feature `Increment` requests.

func IncrFeatureSets

func IncrFeatureSets()

IncrFeatureSets increments the number of feature `Set` requests.

func IncrFeatureUpdates

func IncrFeatureUpdates()

IncrFeatureUpdates increments the number of feature `Update` requests.

Types

type NoLeaderRunnableFunc

type NoLeaderRunnableFunc func(context.Context) error

NoLeaderRunnableFunc implements Runnable using a function that's run on every instance (not only the leader). It's very important that the given function block until it's done running.

func Run

func Run(cfg *rest.Config, kc client.Client, usageReporting bool, logger logr.Logger) NoLeaderRunnableFunc

func (*NoLeaderRunnableFunc) NeedLeaderElection

func (r *NoLeaderRunnableFunc) NeedLeaderElection() bool

NeedLeaderElection make sure the Runnable will run on every instance

func (NoLeaderRunnableFunc) Start

Start implements Runnable.

Jump to

Keyboard shortcuts

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