Help us shape the future of Go! Take the 2026 Go Developer Survey

datastore

package
v1.14.9 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 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 added in v0.12.0

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

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

func StartCountNodeCall added in v0.12.0

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

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

func StartCountRegistrationCall added in v0.12.0

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

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

func StartCreateAttestedNodeEventForTestingCall added in v1.10.0

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

StartCreateAttestedNodeEventForTestingCall return metric for server's datastore, on creating an attested node event.

func StartCreateBundleCall

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

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

func StartCreateFederationRelationshipCall added in v1.1.0

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 StartCreateRegistrationEntryEventForTestingCall added in v1.10.0

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

StartCreateRegistrationEntryEventForTestingCall return metric for server's datastore, on creating a registration entry event.

func StartDeleteAttestedNodeEventForTestingCall added in v1.10.0

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

StartDeleteAttestedNodeEventForTestingCall return metric for server's datastore, on deleting an attested node event.

func StartDeleteBundleCall

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

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

func StartDeleteFederationRelationshipCall added in v1.1.0

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 StartDeleteRegistrationEntryEventForTestingCall added in v1.10.0

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

StartDeleteRegistrationEntryEventForTestingCall return metric for server's datastore, on deleting a registration entry event.

func StartFetchAttestedNodeEventCall added in v1.10.0

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

StartFetchAttestedNodeEventCall return metric for server's datastore, on fetching an attested node event.

func StartFetchBundleCall

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

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

func StartFetchCAJournal added in v1.9.0

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

StartFetchCAJournal return metric for server's datastore, on fetching a CA journal.

func StartFetchFederationRelationshipCall added in v1.1.0

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 StartFetchRegistrationEntryEventCall added in v1.10.0

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

StartFetchRegistrationEntryEventCall return metric for server's datastore, on fetching a registration entry event.

func StartGetNodeSelectorsCall

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

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

func StartListAttestedNodeEventsCall added in v1.11.0

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

StartListAttestedNodeEventsCall return metric for server's datastore, on listing attested node events.

func StartListBundleCall

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

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

func StartListCAJournalsForTesting added in v1.9.0

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

StartListCAJournalsForTesting return metric for server's datastore, on listing CA journals for testing.

func StartListFederationRelationshipsCall added in v1.1.0

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 added in v0.12.0

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 StartListRegistrationEntryEventsCall added in v1.11.0

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

StartListRegistrationEntryEventsCall return metric for server's datastore, on listing registration entry events.

func StartPruneAttestedExpiredNodes added in v1.13.0

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

StartPruneAttestedExpiredNodes return metric for server's datastore, on pruning expired attested nodes.

func StartPruneAttestedNodeEventsCall added in v1.11.0

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

StartPruneAttestedNodeEventsCall return metric for server's datastore, on pruning attested node events.

func StartPruneBundleCall

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

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

func StartPruneCAJournalsCall added in v1.9.0

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

StartPruneCAJournalsCall return metric for server's datastore, on pruning CA journals.

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 StartPruneRegistrationEntryEventsCall added in v1.11.0

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

StartPruneRegistrationEntryEventsCall return metric for server's datastore, on pruning registration entry events.

func StartRevokeJWTKeyCall added in v1.6.3

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

StartRevokeJWTKeyCall return metric for server's datastore, on revoking a JWT Signing Key from bundle.

func StartRevokeX509CACall added in v1.6.3

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

StartRevokeX509CACall return metric for server's datastore, on revoking an X.509 CA from bundle.

func StartSetBundleCall

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

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

func StartSetCAJournal added in v1.9.0

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

StartSetCAJournal return metric for server's datastore, on setting a CA journal.

func StartSetNodeSelectorsCall

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

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

func StartTaintJWTKeyCall added in v1.6.3

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

StartTaintJWTKeyCall return metric for server's datastore, on tainting a JWT public key.

func StartTaintX509CAByKeyCall added in v1.6.3

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

StartTaintKeyCall return metric for server's datastore, on tainting an X.509 CA by key.

func StartUpdateBundleCall

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

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

func StartUpdateFederationRelationshipCall added in v1.1.0

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 added in v0.11.0

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