Directories ¶
Path | Synopsis |
---|---|
lib
module
|
|
Package ref defines constants used through the Vanadium reference implementation, which is implemented in its subdirectories.
|
Package ref defines constants used through the Vanadium reference implementation, which is implemented in its subdirectories. |
cmd/gclogs
Command gclogs safely deletes old log files.
|
Command gclogs safely deletes old log files. |
cmd/mounttable
Command mounttable sends commands to Vanadium mounttable services.
|
Command mounttable sends commands to Vanadium mounttable services. |
cmd/namespace
Command namespace resolves and manages names in the Vanadium namespace.
|
Command namespace resolves and manages names in the Vanadium namespace. |
cmd/principal
Command principal creates and manages Vanadium principals and blessings.
|
Command principal creates and manages Vanadium principals and blessings. |
cmd/principal/caveatflag
Package caveatflag provides support for specifying caveats via command line flags and for creating caveats via their VDL type and values.
|
Package caveatflag provides support for specifying caveats via command line flags and for creating caveats via their VDL type and values. |
cmd/uniqueid
Command uniqueid generates unique identifiers.
|
Command uniqueid generates unique identifiers. |
cmd/vdl
Command vdl manages Vanadium Definition Language source code.
|
Command vdl manages Vanadium Definition Language source code. |
cmd/vdl/gotagtest
This file was auto-generated by the vanadium vdl tool.
|
This file was auto-generated by the vanadium vdl tool. |
cmd/vom
Command vom helps debug the Vanadium Object Marshaling wire protocol.
|
Command vom helps debug the Vanadium Object Marshaling wire protocol. |
cmd/vrpc
Command vrpc sends and receives Vanadium remote procedure calls.
|
Command vrpc sends and receives Vanadium remote procedure calls. |
cmd/vrpc/internal
This file was auto-generated by the vanadium vdl tool.
|
This file was auto-generated by the vanadium vdl tool. |
internal/reflectutil
Package reflectutil provides reflection-based utilities.
|
Package reflectutil provides reflection-based utilities. |
lib/apilog
Package apilog provides functions to be used in conjunction with logcop.
|
Package apilog provides functions to be used in conjunction with logcop. |
lib/discovery
This file was auto-generated by the vanadium vdl tool.
|
This file was auto-generated by the vanadium vdl tool. |
lib/discovery/global
TODO(jhahn): This is an experimental work to see its feasibility and set the long-term goal, and can be changed without notice.
|
TODO(jhahn): This is an experimental work to see its feasibility and set the long-term goal, and can be changed without notice. |
lib/discovery/plugins/loopback
Package loopback implements loopback plugin for discovery service.
|
Package loopback implements loopback plugin for discovery service. |
lib/discovery/plugins/mdns
Package mdns implements mDNS plugin for discovery service.
|
Package mdns implements mDNS plugin for discovery service. |
lib/discovery/plugins/vine
Package vine contains a discovery plugin that is using Vine protocol.
|
Package vine contains a discovery plugin that is using Vine protocol. |
lib/discovery/test
package test contains tests that rely on a fake runtime.
|
package test contains tests that rely on a fake runtime. |
lib/discovery/testutil
Package testutil defines helpers for discovery tests.
|
Package testutil defines helpers for discovery tests. |
lib/exec
Package exec implements configuration and secret-sharing between parent and child processes via anoymous pipes.
|
Package exec implements configuration and secret-sharing between parent and child processes via anoymous pipes. |
lib/flags
Package flags implements utilities to augment the standard Go flag package.
|
Package flags implements utilities to augment the standard Go flag package. |
lib/publisher
Package publisher provides a type to publish names to a mounttable.
|
Package publisher provides a type to publish names to a mounttable. |
lib/pubsub
Package pubsub defines interfaces for accessing dynamically changing process configuration information.
|
Package pubsub defines interfaces for accessing dynamically changing process configuration information. |
lib/security
Package security implements utilities for creating and using Vanadium security primitives.
|
Package security implements utilities for creating and using Vanadium security primitives. |
lib/security/audit
Package audit implements a mechanism for writing auditable events to an audit log.
|
Package audit implements a mechanism for writing auditable events to an audit log. |
lib/security/bcrypter
This file was auto-generated by the vanadium vdl tool.
|
This file was auto-generated by the vanadium vdl tool. |
lib/security/internal/lockedfile
Package lockedfile creates and manipulates files whose contents should only change atomically.
|
Package lockedfile creates and manipulates files whose contents should only change atomically. |
lib/security/internal/lockedfile/filelock
Package filelock provides a platform-independent API for advisory file locking.
|
Package filelock provides a platform-independent API for advisory file locking. |
lib/security/keys
Package keys provides support for working with an extensible set of cryptographic keys.
|
Package keys provides support for working with an extensible set of cryptographic keys. |
lib/security/keys/indirectkeyfiles
Package indirectkeyfiles provides support for key files whose contents refer to another keyfile.
|
Package indirectkeyfiles provides support for key files whose contents refer to another keyfile. |
lib/security/keys/sshkeys
Package sshkeys provides support for using ssh keys with the security/keys package, including private keys hosted within an ssh agent.
|
Package sshkeys provides support for using ssh keys with the security/keys package, including private keys hosted within an ssh agent. |
lib/security/keys/x509keys
Package x509 provides support for using x509/ssl keys with the security/keys package.
|
Package x509 provides support for using x509/ssl keys with the security/keys package. |
lib/security/passphrase
Package passphrase contains utilities for reading a passphrase.
|
Package passphrase contains utilities for reading a passphrase. |
lib/security/securityflag
Package securityflag implements utilities for creating security objects based on flags.
|
Package securityflag implements utilities for creating security objects based on flags. |
lib/security/serialization
Package serialization implements utilities for reading and writing data with signature-based integrity checking.
|
Package serialization implements utilities for reading and writing data with signature-based integrity checking. |
lib/signals
Package signals implements utilities for managing process shutdown with support for signal-handling.
|
Package signals implements utilities for managing process shutdown with support for signal-handling. |
lib/slang
Package slang provides a simple, type checked scripting language.
|
Package slang provides a simple, type checked scripting language. |
lib/stats
Package stats implements a global repository of stats objects.
|
Package stats implements a global repository of stats objects. |
lib/stats/counter
Package counter implements counters that keeps track of their recent values over different periods of time.
|
Package counter implements counters that keeps track of their recent values over different periods of time. |
lib/stats/histogram
Package histogram implements a basic histogram to keep track of data distribution.
|
Package histogram implements a basic histogram to keep track of data distribution. |
lib/stats/sysstats
Package sysstats implements system statistics and updates them periodically.
|
Package sysstats implements system statistics and updates them periodically. |
lib/timekeeper
Package timekeeper defines an interface to allow switching between real time and simulated time.
|
Package timekeeper defines an interface to allow switching between real time and simulated time. |
lib/v23cmd
Package v23cmd implements utilities for running v23 cmdline programs.
|
Package v23cmd implements utilities for running v23 cmdline programs. |
lib/vdl/build
Package build implements utilities to collect VDL build information and run the parser and compiler.
|
Package build implements utilities to collect VDL build information and run the parser and compiler. |
lib/vdl/codegen
Package codegen implements utilities for VDL code generators.
|
Package codegen implements utilities for VDL code generators. |
lib/vdl/codegen/golang
Package golang implements Go code generation from compiled VDL packages.
|
Package golang implements Go code generation from compiled VDL packages. |
lib/vdl/codegen/java
Package java implements Java code generation from compiled VDL packages.
|
Package java implements Java code generation from compiled VDL packages. |
lib/vdl/codegen/javascript
Package javascript implements Javascript code generation from compiled VDL packages.
|
Package javascript implements Javascript code generation from compiled VDL packages. |
lib/vdl/codegen/json
Package json implements JSON generation for VDL const values.
|
Package json implements JSON generation for VDL const values. |
lib/vdl/codegen/swift
Package swift implements Swift code generation from compiled VDL packages.
|
Package swift implements Swift code generation from compiled VDL packages. |
lib/vdl/codegen/vdlgen
Package vdlgen implements VDL code generation from compiled VDL packages.
|
Package vdlgen implements VDL code generation from compiled VDL packages. |
lib/vdl/compile
Package compile implements the VDL compiler, converting a parse tree into compiled results.
|
Package compile implements the VDL compiler, converting a parse tree into compiled results. |
lib/vdl/internal/vdltestutil
Package vdltestutil provides testing utilities for v.io/x/ref/lib/vdl/...
|
Package vdltestutil provides testing utilities for v.io/x/ref/lib/vdl/... |
lib/vdl/opconst
Package opconst defines the representation and operations for VDL constants.
|
Package opconst defines the representation and operations for VDL constants. |
lib/vdl/parse
Package parse implements the VDL parser, converting source files into a parse tree.
|
Package parse implements the VDL parser, converting source files into a parse tree. |
lib/vdl/vdlutil
Package vdlutil implements utilities used by many VDL components.
|
Package vdlutil implements utilities used by many VDL components. |
lib/vtrace
Package vtrace implements the Trace and Span interfaces in v.io/v23/vtrace.
|
Package vtrace implements the Trace and Span interfaces in v.io/v23/vtrace. |
runtime
Package runtime and its subdirectories provide implementations of the Vanadium runtime for different runtime environments.
|
Package runtime and its subdirectories provide implementations of the Vanadium runtime for different runtime environments. |
runtime/factories/fake
Package fake implements a fake RuntimeFactory, useful in tests for mocking out certain components.
|
Package fake implements a fake RuntimeFactory, useful in tests for mocking out certain components. |
runtime/factories/generic
Package generic implements a RuntimeFactory that is useful in tests.
|
Package generic implements a RuntimeFactory that is useful in tests. |
runtime/factories/library
Package library implements a RuntimeFactory suitable for building a Vanadium library that is linked into other applications.
|
Package library implements a RuntimeFactory suitable for building a Vanadium library that is linked into other applications. |
runtime/factories/library/internal/noflags
An example using the 'library' factory which is configured via exported variables rather than by command line flags.
|
An example using the 'library' factory which is configured via exported variables rather than by command line flags. |
runtime/factories/library/internal/notpreparsed
An example using the 'library' factory which is configured via exported variables rather than by command line flags.
|
An example using the 'library' factory which is configured via exported variables rather than by command line flags. |
runtime/factories/library/internal/preparsed
An example using the 'library' factory which is configured via exported variables rather than by command line flags.
|
An example using the 'library' factory which is configured via exported variables rather than by command line flags. |
runtime/factories/library/internal/withflags
An example using the 'library' factory which is configured via exported variables rather than by command line flags.
|
An example using the 'library' factory which is configured via exported variables rather than by command line flags. |
runtime/factories/roaming
Package roaming implements a RuntimeFactory suitable for a variety of network configurations, including 1-1 NATs, dhcp auto-configuration, Amazon Web Services and Google Compute Engine.
|
Package roaming implements a RuntimeFactory suitable for a variety of network configurations, including 1-1 NATs, dhcp auto-configuration, Amazon Web Services and Google Compute Engine. |
runtime/factories/static
Package static implements a RuntimeFactory suitable for a variety of network configurations, including 1-1 NATs, Amazon Web Services and Google Compute Engine but hosted on a static IP address with no support for adapting to dhcp changes.
|
Package static implements a RuntimeFactory suitable for a variety of network configurations, including 1-1 NATs, Amazon Web Services and Google Compute Engine but hosted on a static IP address with no support for adapting to dhcp changes. |
runtime/internal/cloudvm
Package cloudvm provides functions to test whether the current process is running on Google Compute Engine or Amazon Web Services, and to extract settings from this environment.
|
Package cloudvm provides functions to test whether the current process is running on Google Compute Engine or Amazon Web Services, and to extract settings from this environment. |
runtime/internal/flow/cipher/aead
Package aead provides a block cipher using aead.GCM with AES 256 encryption.
|
Package aead provides a block cipher using aead.GCM with AES 256 encryption. |
runtime/internal/flow/cipher/naclbox
Package naclbox provides a block cipher using nacl/{box,secretbox}
|
Package naclbox provides a block cipher using nacl/{box,secretbox} |
runtime/internal/flow/conn
This file was auto-generated by the vanadium vdl tool.
|
This file was auto-generated by the vanadium vdl tool. |
runtime/internal/lib/bqueue
Package bqueue implements several kinds of buffer queues, as a N-writer, 1-reader queue.
|
Package bqueue implements several kinds of buffer queues, as a N-writer, 1-reader queue. |
runtime/internal/lib/bqueue/drrqueue
Package drrqueue implements a deficit round-robin buffer queue.
|
Package drrqueue implements a deficit round-robin buffer queue. |
runtime/internal/lib/dependency
Package dependency keeps track of a dependency graph.
|
Package dependency keeps track of a dependency graph. |
runtime/internal/lib/deque
Package deque implements a deque using a circular array.
|
Package deque implements a deque using a circular array. |
runtime/internal/lib/iobuf
Package iobuf performs explicit memory management for data buffers used to perform network IO.
|
Package iobuf performs explicit memory management for data buffers used to perform network IO. |
runtime/internal/lib/pcqueue
A producer/consumer queue is a concurrent bounded buffer supporting multiple concurrent producers and consumers, with timeouts.
|
A producer/consumer queue is a concurrent bounded buffer supporting multiple concurrent producers and consumers, with timeouts. |
runtime/internal/lib/sync
Package sync provides synchronization primitives.
|
Package sync provides synchronization primitives. |
runtime/internal/lib/upcqueue
Package upcqueue implements an unbounded producer/consumer queue.
|
Package upcqueue implements an unbounded producer/consumer queue. |
runtime/internal/naming
Package naming provides an implementation of the interfaces in v.io/v23/naming.
|
Package naming provides an implementation of the interfaces in v.io/v23/naming. |
runtime/internal/rpc/stress
This file was auto-generated by the vanadium vdl tool.
|
This file was auto-generated by the vanadium vdl tool. |
Usage: | |
runtime/internal/rpc/stress/stress
Command stress is a tool to stress/load test RPC by issuing randomly generated requests.
|
Command stress is a tool to stress/load test RPC by issuing randomly generated requests. |
runtime/internal/rpc/stress/stressd
Command stressd runs the stress-test server.
|
Command stressd runs the stress-test server. |
runtime/internal/rpc/test
package test contains test for rpc code that do not rely on unexposed rpc declarations.
|
package test contains test for rpc code that do not rely on unexposed rpc declarations. |
runtime/internal/test/concurrency
Package concurrency implements a framework for systematic testing of concurrent vanadium Go programs.
|
Package concurrency implements a framework for systematic testing of concurrent vanadium Go programs. |
runtime/protocols/bidi
This file was auto-generated by the vanadium vdl tool.
|
This file was auto-generated by the vanadium vdl tool. |
runtime/protocols/lib/framer
Package framer provides the ability to wrap a network connection (or any io.ReadWriteCloser) with framing that consists of a 3-byte length followed by data of that length.
|
Package framer provides the ability to wrap a network connection (or any io.ReadWriteCloser) with framing that consists of a 3-byte length followed by data of that length. |
runtime/protocols/lib/tcputil
package tcputil contains functions commonly used to manipulate TCP connections.
|
package tcputil contains functions commonly used to manipulate TCP connections. |
runtime/protocols/lib/websocket
This file was auto-generated by the vanadium vdl tool.
|
This file was auto-generated by the vanadium vdl tool. |
runtime/protocols/vine
Package vine contains Vanadium's Implementation of Network Emulation (VINE).
|
Package vine contains Vanadium's Implementation of Network Emulation (VINE). |
runtime/protocols/wsh
Package wsh registers the websocket 'hybrid' protocol.
|
Package wsh registers the websocket 'hybrid' protocol. |
runtime/protocols/wsh_nacl
Package wsh_nacl registers the websocket 'hybrid' protocol for nacl architectures.
|
Package wsh_nacl registers the websocket 'hybrid' protocol for nacl architectures. |
services/debug/debug
Command debug supports debugging Vanadium servers.
|
Command debug supports debugging Vanadium servers. |
services/debug/debug/browseserver
Package browseserver provides a web interface that can be used to interact with the vanadium debug interface.
|
Package browseserver provides a web interface that can be used to interact with the vanadium debug interface. |
services/debug/debuglib
Package debuglib implements debug server support.
|
Package debuglib implements debug server support. |
services/identity
This file was auto-generated by the vanadium vdl tool.
|
This file was auto-generated by the vanadium vdl tool. |
services/internal/dirprinter
Package dirprinter contains utilities for dumping the contents and structure of a directory tree.
|
Package dirprinter contains utilities for dumping the contents and structure of a directory tree. |
services/internal/logreaderlib
Package logreaderlib implements the LogFile interface from v.io/v23/services/logreader, which can be used to allow remote access to log files, and the ChildrenGlobber interface from v.io/v23/rpc to find the files in a logs directory.
|
Package logreaderlib implements the LogFile interface from v.io/v23/services/logreader, which can be used to allow remote access to log files, and the ChildrenGlobber interface from v.io/v23/rpc to find the files in a logs directory. |
services/internal/multipart
Package multipart implements an http.File that acts as one logical file backed by several physical files (the 'parts').
|
Package multipart implements an http.File that acts as one logical file backed by several physical files (the 'parts'). |
services/internal/pproflib
Package pproflib defines a client-side proxy and server-side implementation of the v.io/v23/services/pprof interface.
|
Package pproflib defines a client-side proxy and server-side implementation of the v.io/v23/services/pprof interface. |
services/internal/statslib
Package statslib implements the Stats interface from v.io/v23/services/stats.
|
Package statslib implements the Stats interface from v.io/v23/services/stats. |
services/mounttable/mounttabled
Command mounttabled runs the mount table daemon, which implements the v.io/v23/services/mounttable interfaces.
|
Command mounttabled runs the mount table daemon, which implements the v.io/v23/services/mounttable interfaces. |
services/mounttable/mounttablelib
Package mounttablelib implements utilities for mounttable implementations.
|
Package mounttablelib implements utilities for mounttable implementations. |
services/stats
This file was auto-generated by the vanadium vdl tool.
|
This file was auto-generated by the vanadium vdl tool. |
services/xproxy
Package xproxy enables services to export (proxy) themselves across networks (behind NATs for example).
|
Package xproxy enables services to export (proxy) themselves across networks (behind NATs for example). |
services/xproxy/xproxy
Package xproxy contains the implementation of the proxy service.
|
Package xproxy contains the implementation of the proxy service. |
services/xproxy/xproxyd
Command proxyd is a daemon that listens for connections from Vanadium services (typically behind NATs) and proxies these services to the outside world.
|
Command proxyd is a daemon that listens for connections from Vanadium services (typically behind NATs) and proxies these services to the outside world. |
test
Package test implements initialization for unit and integration tests.
|
Package test implements initialization for unit and integration tests. |
test/basics
Package basics implements some benchmarks for important basic operations in go.
|
Package basics implements some benchmarks for important basic operations in go. |
test/benchmark
Package benchmark implements utilities to augment the standard Go testing.Benchmark functionality.
|
Package benchmark implements utilities to augment the standard Go testing.Benchmark functionality. |
test/compatibility
Package compatibility provides support for compatibility testing between different versions of vanadium.
|
Package compatibility provides support for compatibility testing between different versions of vanadium. |
test/expect
Package expect implements support for checking expectations against a buffered input stream.
|
Package expect implements support for checking expectations against a buffered input stream. |
test/hello
Package hello defines a simple client and server and uses them in a series of regression tests.
|
Package hello defines a simple client and server and uses them in a series of regression tests. |
test/hello/helloclient
Command helloclient is a simple client mainly used in regression tests.
|
Command helloclient is a simple client mainly used in regression tests. |
test/hello/helloserver
Command helloserver is a simple server mainly used in regression tests.
|
Command helloserver is a simple server mainly used in regression tests. |
test/testutil
Package testutil implements utilities for unit and integration tests.
|
Package testutil implements utilities for unit and integration tests. |
test/timekeeper
Package timekeeper implements simulated time against the v.io/x/ref/lib/timekeeper.TimeKeeper interface.
|
Package timekeeper implements simulated time against the v.io/x/ref/lib/timekeeper.TimeKeeper interface. |
test/v23test
Package v23test defines Shell, a wrapper around gosh.Shell that provides Vanadium-specific functionality such as credentials management, StartRootMountTable, and StartSyncbase.
|
Package v23test defines Shell, a wrapper around gosh.Shell that provides Vanadium-specific functionality such as credentials management, StartRootMountTable, and StartSyncbase. |
aws
Module
|
|
examples
Module
|
|
internal/logger
Module
|
|
lib/flags/sitedefaults
Module
|
|
Click to show internal directories.
Click to hide internal directories.