Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the build release identifier. Version = "Unspecified" // Revision is the build source control revision. Revision = "Unspecified" )
View Source
var DefaultLogLevel = len(log.AllLevels) - 2
DefaultLogLevel is the default log level value.
Functions ¶
func RunPlugin ¶
func RunPlugin(name string, plugin server.VersionedInterface)
RunPlugin runs a plugin server, advertising with the provided name for discovery. The plugin should conform to the rpc call convention as implemented in the rpc package.
func VersionCommand ¶
VersionCommand creates a cobra Command that prints build version information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.