Directories

Path Synopsis
lib module
ref
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/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/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.
examples/echo/echo
Command echo is a client for the Echo service.
Command echo is a client for the Echo service.
examples/echo/echod
Command echo is a server for the Echo service.
Command echo is a server for the Echo service.
examples/fortune
Package fortune defines the Fortune example interface.
Package fortune defines the Fortune example interface.
examples/fortune/fortune
Command fortune is a client to the Fortune interface.
Command fortune is a client to the Fortune interface.
examples/fortune/fortuned
Command fortuned runs a daemon that implements the Fortune interface.
Command fortuned runs a daemon that implements the Fortune interface.
examples/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.
examples/rps
Package rps defines interfaces for playing the game Rock-Paper-Scissors.
Package rps defines interfaces for playing the game Rock-Paper-Scissors.
examples/rps/rpsbot
Command rpsbot repeatedly runs automated games, implementing all three roles.
Command rpsbot repeatedly runs automated games, implementing all three roles.
examples/rps/rpsplayer
Command rpsplayer implements the Player interface, which enables a human to play the game.
Command rpsplayer implements the Player interface, which enables a human to play the game.
examples/rps/rpsscorekeeper
Command rpsscorekeeper implements the ScoreKeeper interface.
Command rpsscorekeeper implements the ScoreKeeper interface.
examples/tunnel
Package tunnel defines an interface for creating a network tunnel from client to server.
Package tunnel defines an interface for creating a network tunnel from client to server.
examples/tunnel/tunneld
Command tunneld runs the tunneld daemon, which implements the Tunnel interface.
Command tunneld runs the tunneld daemon, which implements the Tunnel interface.
examples/tunnel/vsh
Command vsh runs the Vanadium shell, a Tunnel client that can be used to run shell commands or start an interactive shell on a remote tunneld server.
Command vsh runs the Vanadium shell, a Tunnel client that can be used to run shell commands or start an interactive shell on a remote tunneld server.
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/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
Package bcrypter defines the mechanisms for blessings based encryption and decryption.
Package bcrypter defines the mechanisms for blessings based encryption and decryption.
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/security/signing/keyfile
Package keyfile provides a signing service that uses files to store keys.
Package keyfile provides a signing service that uses files to store keys.
lib/security/signing/sshagent
Package sshagent provides the ability to use openssh's ssh-agent to carry out key signing operations using keys stored therein.
Package sshagent provides the ability to use openssh's ssh-agent to carry out key signing operations using keys stored therein.
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/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/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.
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/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/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/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/ben
Package ben defines datastructures to archive microbenchmark results.
Package ben defines datastructures to archive microbenchmark results.
services/ben/archive
Package archive defines the RPC interface for archiving benchmark results.
Package archive defines the RPC interface for archiving benchmark results.
services/ben/benarchd
Command benarchd implements a benchmark archival daemon.
Command benarchd implements a benchmark archival daemon.
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/discharger
Package discharger defines an interface for obtaining discharges for third-party caveats.
Package discharger defines an interface for obtaining discharges for third-party caveats.
services/groups/groups
Command groups creates and manages Vanadium groups of blessing patterns.
Command groups creates and manages Vanadium groups of blessing patterns.
services/groups/groupsd
Daemon groupsd implements the v.io/v23/services/groups interfaces for managing access control groups.
Daemon groupsd implements the v.io/v23/services/groups interfaces for managing access control groups.
services/identity
Package identity defines interfaces for Vanadium identity providers.
Package identity defines interfaces for Vanadium identity providers.
services/identity/identityd
Command identityd runs a daemon HTTP server that uses OAuth to create security.Blessings objects.
Command identityd runs a daemon HTTP server that uses OAuth to create security.Blessings objects.
services/identity/identitylib
Package identitylib implements a test identityd service registered using the v.io/x/lib/gosh library.
Package identitylib implements a test identityd service registered using the v.io/x/lib/gosh library.
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/role
Package role defines an interface for requesting blessings from a role account server.
Package role defines an interface for requesting blessings from a role account server.
services/role/roled
Command roled runs the Role interface daemon.
Command roled runs the Role interface daemon.
services/stats
Packages stats defines the non-native types exported by the stats service.
Packages stats defines the non-native types exported by the stats service.
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/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.