datastore

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartAppendBundleCall

func StartAppendBundleCall(m telemetry.Metrics) *telemetry.CallCounter

StartAppendBundleCall return metric for server's datastore, on sets the bundle.

func StartCountBundleCall

func StartCountBundleCall(m telemetry.Metrics) *telemetry.CallCounter

StartCountBundleCall return metric for server's datastore, on counting bundles.

func StartCountNodeCall

func StartCountNodeCall(m telemetry.Metrics) *telemetry.CallCounter

StartCountNodeCall return metric for server's datastore, on counting nodes.

func StartCountRegistrationCall

func StartCountRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter

StartCountRegistrationCall return metric for server's datastore, on counting registrations.

func StartCreateBundleCall

func StartCreateBundleCall(m telemetry.Metrics) *telemetry.CallCounter

StartCreateBundleCall return metric for server's datastore, on creating a bundle.

func StartCreateFederationRelationshipCall

func StartCreateFederationRelationshipCall(m telemetry.Metrics) *telemetry.CallCounter

StartCreateFederationRelationshipCall return metric for server's datastore, on creating a registration.

func StartCreateJoinTokenCall

func StartCreateJoinTokenCall(m telemetry.Metrics) *telemetry.CallCounter

StartCreateJoinTokenCall return metric for server's datastore, on creating a join token.

func StartCreateNodeCall

func StartCreateNodeCall(m telemetry.Metrics) *telemetry.CallCounter

StartCreateNodeCall return metric for server's datastore, on creating a node.

func StartCreateRegistrationCall

func StartCreateRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter

StartCreateRegistrationCall return metric for server's datastore, on creating a registration.

func StartDeleteBundleCall

func StartDeleteBundleCall(m telemetry.Metrics) *telemetry.CallCounter

StartDeleteBundleCall return metric for server's datastore, on deleting a bundle.

func StartDeleteFederationRelationshipCall

func StartDeleteFederationRelationshipCall(m telemetry.Metrics) *telemetry.CallCounter

StartDeleteFederationRelationshipCall return metric for server's datastore, on deleting a federation relationship.

func StartDeleteJoinTokenCall

func StartDeleteJoinTokenCall(m telemetry.Metrics) *telemetry.CallCounter

StartDeleteJoinTokenCall return metric for server's datastore, on deleting a join token.

func StartDeleteNodeCall

func StartDeleteNodeCall(m telemetry.Metrics) *telemetry.CallCounter

StartDeleteNodeCall return metric for server's datastore, on deleting a node.

func StartDeleteRegistrationCall

func StartDeleteRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter

StartDeleteRegistrationCall return metric for server's datastore, on deleting a registration.

func StartFetchBundleCall

func StartFetchBundleCall(m telemetry.Metrics) *telemetry.CallCounter

StartFetchBundleCall return metric for server's datastore, on fetching a bundle.

func StartFetchFederationRelationshipCall

func StartFetchFederationRelationshipCall(m telemetry.Metrics) *telemetry.CallCounter

StartFetchFederationRelationship return metric for server's datastore, on fetching a federation relationship.

func StartFetchJoinTokenCall

func StartFetchJoinTokenCall(m telemetry.Metrics) *telemetry.CallCounter

StartFetchJoinTokenCall return metric for server's datastore, on fetching a join token.

func StartFetchNodeCall

func StartFetchNodeCall(m telemetry.Metrics) *telemetry.CallCounter

StartFetchNodeCall return metric for server's datastore, on fetching a node.

func StartFetchRegistrationCall

func StartFetchRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter

StartFetchRegistrationCall return metric for server's datastore, on creating a registration.

func StartGetNodeSelectorsCall

func StartGetNodeSelectorsCall(m telemetry.Metrics) *telemetry.CallCounter

StartGetNodeSelectorsCall return metric for server's datastore, on getting selectors for a node.

func StartListBundleCall

func StartListBundleCall(m telemetry.Metrics) *telemetry.CallCounter

StartListBundleCall return metric for server's datastore, on listing bundles.

func StartListFederationRelationshipsCall

func StartListFederationRelationshipsCall(m telemetry.Metrics) *telemetry.CallCounter

StartListFederationRelationshipsCall return metric for server's datastore, on listing federation relationships.

func StartListNodeCall

func StartListNodeCall(m telemetry.Metrics) *telemetry.CallCounter

StartListNodeCall return metric for server's datastore, on listing nodes.

func StartListNodeSelectorsCall

func StartListNodeSelectorsCall(m telemetry.Metrics) *telemetry.CallCounter

StartListNodeSelectorsCall return metric for server's datastore, on getting selectors for a node.

func StartListRegistrationCall

func StartListRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter

StartListRegistrationCall return metric for server's datastore, on listing registrations.

func StartPruneBundleCall

func StartPruneBundleCall(m telemetry.Metrics) *telemetry.CallCounter

StartPruneBundleCall return metric for server's datastore, on pruning a bundle.

func StartPruneJoinTokenCall

func StartPruneJoinTokenCall(m telemetry.Metrics) *telemetry.CallCounter

StartPruneJoinTokenCall return metric for server's datastore, on pruning join tokens.

func StartPruneRegistrationCall

func StartPruneRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter

StartPruneRegistrationCall return metric for server's datastore, on pruning registrations.

func StartSetBundleCall

func StartSetBundleCall(m telemetry.Metrics) *telemetry.CallCounter

StartSetBundleCall return metric for server's datastore, on sets the bundle.

func StartSetNodeSelectorsCall

func StartSetNodeSelectorsCall(m telemetry.Metrics) *telemetry.CallCounter

StartSetNodeSelectorsCall return metric for server's datastore, on setting selectors for a node.

func StartUpdateBundleCall

func StartUpdateBundleCall(m telemetry.Metrics) *telemetry.CallCounter

StartUpdateBundleCall return metric for server's datastore, on updating a bundle.

func StartUpdateFederationRelationshipCall

func StartUpdateFederationRelationshipCall(m telemetry.Metrics) *telemetry.CallCounter

StartUpdateFederationRelationshipCall return metric for server's datastore, on updating a federation relationship.

func StartUpdateNodeCall

func StartUpdateNodeCall(m telemetry.Metrics) *telemetry.CallCounter

StartUpdateNodeCall return metric for server's datastore, on updating a node.

func StartUpdateRegistrationCall

func StartUpdateRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter

StartUpdateRegistrationCall return metric for server's datastore, on updating a registration.

func WithMetrics

func WithMetrics(ds datastore.DataStore, metrics telemetry.Metrics) datastore.DataStore

WithMetrics wraps a datastore interface and provides per-call metrics. The metrics produced include a call counter and elapsed time measurement with labels for the status code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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