Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "plugin-pub-mssql", Short: "A publisher that pulls data from SQL.", Long: fmt.Sprintf(`Version %s Runs the publisher in externally controlled mode.`, version.Version.String()), Run: func(cmd *cobra.Command, args []string) { log := hclog.New(&hclog.LoggerOptions{ Level: hclog.Trace, Output: os.Stderr, JSONFormat: false, Name: "plugin-oracle", }) plugin.Serve(&plugin.ServeConfig{ HandshakeConfig: plugin.HandshakeConfig{ ProtocolVersion: plugins.PublisherProtocolVersion, MagicCookieKey: plugins.PublisherMagicCookieKey, MagicCookieValue: plugins.PublisherMagicCookieValue, }, Plugins: map[string]plugin.Plugin{ "publisher": pub.NewServerPlugin(internal.NewServer(log)), }, Logger: log, GRPCServer: plugin.DefaultGRPCServer, }) }}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.