pkg/

directory
v3.5.4 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: Apache-2.0

README

pkg/ is a collection of utility packages used by etcd without being specific to etcd itself. A package belongs here only if it could possibly be moved out into its own repository in the future.

Directories

Path Synopsis
Package adt implements useful abstract data types.
Package adt implements useful abstract data types.
Package contention provides facilities for detecting system contention.
Package contention provides facilities for detecting system contention.
Package cpuutil provides facilities for detecting cpu-specific features.
Package cpuutil provides facilities for detecting cpu-specific features.
Package crc provides utility function for cyclic redundancy check algorithms.
Package crc provides utility function for cyclic redundancy check algorithms.
Package debugutil includes utility functions for debugging.
Package debugutil includes utility functions for debugging.
Package expect implements a small expect-style interface
Package expect implements a small expect-style interface
Package fileutil implements utility functions related to files and paths.
Package fileutil implements utility functions related to files and paths.
Package flags implements command-line flag parsing.
Package flags implements command-line flag parsing.
Package httputil provides HTTP utility functions.
Package httputil provides HTTP utility functions.
Package idutil implements utility functions for generating unique, randomized ids.
Package idutil implements utility functions for generating unique, randomized ids.
Package ioutil implements I/O utility functions.
Package ioutil implements I/O utility functions.
Package logutil includes utilities to facilitate logging.
Package logutil includes utilities to facilitate logging.
mock
mockserver
Package mockserver provides mock implementations for etcdserver's server interface.
Package mockserver provides mock implementations for etcdserver's server interface.
mockstorage
Package mockstorage provides mock implementations for etcdserver's storage interface.
Package mockstorage provides mock implementations for etcdserver's storage interface.
mockstore
Package mockstore provides mock structures for the etcd store package.
Package mockstore provides mock structures for the etcd store package.
mockwait
Package mockwait provides mock implementations for pkg/wait.
Package mockwait provides mock implementations for pkg/wait.
Package netutil implements network-related utility functions.
Package netutil implements network-related utility functions.
Package osutil implements operating system-related utility functions.
Package osutil implements operating system-related utility functions.
Package pathutil implements utility functions for handling slash-separated paths.
Package pathutil implements utility functions for handling slash-separated paths.
Package pbutil defines interfaces for handling Protocol Buffer objects.
Package pbutil defines interfaces for handling Protocol Buffer objects.
Package proxy implements proxy servers for network fault testing.
Package proxy implements proxy servers for network fault testing.
Package report generates human-readable benchmark reports.
Package report generates human-readable benchmark reports.
Package runtime implements utility functions for runtime systems.
Package runtime implements utility functions for runtime systems.
Package schedule provides mechanisms and policies for scheduling units of work.
Package schedule provides mechanisms and policies for scheduling units of work.
Package srv looks up DNS SRV records.
Package srv looks up DNS SRV records.
Package stringutil exports string utility functions.
Package stringutil exports string utility functions.
Package systemd provides utility functions for systemd.
Package systemd provides utility functions for systemd.
Package testutil provides test utility functions.
Package testutil provides test utility functions.
Package tlsutil provides utility functions for handling TLS.
Package tlsutil provides utility functions for handling TLS.
Package traceutil implements tracing utilities using "context".
Package traceutil implements tracing utilities using "context".
Package transport implements various HTTP transport utilities based on Go net package.
Package transport implements various HTTP transport utilities based on Go net package.
Package types declares various data types and implements type-checking functions.
Package types declares various data types and implements type-checking functions.
Package wait provides utility functions for polling, listening using Go channel.
Package wait provides utility functions for polling, listening using Go channel.

Jump to

Keyboard shortcuts

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