stats

package
v0.0.0-...-52772bf Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UID        string
	InstanceID string
)

Functions

func DecNumberOfFeatures

func DecNumberOfFeatures()

func IncNumberOfFeatures

func IncNumberOfFeatures()

func IncrFeatureAppends

func IncrFeatureAppends()

func IncrFeatureGets

func IncrFeatureGets()

func IncrFeatureIncrements

func IncrFeatureIncrements()

func IncrFeatureSets

func IncrFeatureSets()

func IncrFeatureUpdates

func IncrFeatureUpdates()

func IncrMetadataReqs

func IncrMetadataReqs()

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