Documentation ¶
Index ¶
- func StartAppendBundleCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartCountBundleCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartCountNodeCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartCountRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartCreateAttestedNodeEventForTestingCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartCreateBundleCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartCreateFederationRelationshipCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartCreateJoinTokenCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartCreateNodeCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartCreateRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartCreateRegistrationEntryEventForTestingCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartDeleteAttestedNodeEventForTestingCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartDeleteBundleCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartDeleteFederationRelationshipCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartDeleteJoinTokenCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartDeleteNodeCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartDeleteRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartDeleteRegistrationEntryEventForTestingCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartFetchAttestedNodeEventCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartFetchBundleCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartFetchCAJournal(m telemetry.Metrics) *telemetry.CallCounter
- func StartFetchFederationRelationshipCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartFetchJoinTokenCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartFetchNodeCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartFetchRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartFetchRegistrationEntryEventCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartGetNodeSelectorsCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartListAttestedNodesEventsCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartListBundleCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartListCAJournalsForTesting(m telemetry.Metrics) *telemetry.CallCounter
- func StartListFederationRelationshipsCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartListNodeCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartListNodeSelectorsCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartListRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartListRegistrationEntriesEventsCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartPruneAttestedNodesEventsCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartPruneBundleCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartPruneCAJournalsCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartPruneJoinTokenCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartPruneRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartPruneRegistrationEntriesEventsCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartRevokeJWTKeyCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartRevokeX509CACall(m telemetry.Metrics) *telemetry.CallCounter
- func StartSetBundleCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartSetCAJournal(m telemetry.Metrics) *telemetry.CallCounter
- func StartSetNodeSelectorsCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartTaintJWTKeyCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartTaintX509CAByKeyCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartUpdateBundleCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartUpdateFederationRelationshipCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartUpdateNodeCall(m telemetry.Metrics) *telemetry.CallCounter
- func StartUpdateRegistrationCall(m telemetry.Metrics) *telemetry.CallCounter
- func WithMetrics(ds datastore.DataStore, metrics telemetry.Metrics) datastore.DataStore
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 StartListAttestedNodesEventsCall ¶ added in v1.8.3
func StartListAttestedNodesEventsCall(m telemetry.Metrics) *telemetry.CallCounter
StartListAttestedNodesEventsCall 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 StartListRegistrationEntriesEventsCall ¶ added in v1.8.0
func StartListRegistrationEntriesEventsCall(m telemetry.Metrics) *telemetry.CallCounter
StartListRegistrationEntriesEventsCall return metric for server's datastore, on listing registration entry events.
func StartPruneAttestedNodesEventsCall ¶ added in v1.8.3
func StartPruneAttestedNodesEventsCall(m telemetry.Metrics) *telemetry.CallCounter
StartPruneAttestedNodesEventsCall 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 StartPruneRegistrationEntriesEventsCall ¶ added in v1.8.0
func StartPruneRegistrationEntriesEventsCall(m telemetry.Metrics) *telemetry.CallCounter
StartPruneRegistrationEntriesEventsCall 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
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.