Documentation
¶
Overview ¶
Package binding implements a simple binding that can work with a specific hardware configuration without a reservation system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a new binding that could be either a vendor plugin, a binding configuration file, or a KNE configuration file. This depends on the command line flags given.
The vendor plugin should be a "package main" with a New function that will receive the value of the --plugin-args flag as a string.
package main import "github.com/openconfig/ondatra/binding" func New(arg string) (binding.Binding, error) { ... }
And the plugin should be built with:
go build -buildmode=plugin
For more detail about how to write a plugin, see: https://pkg.go.dev/plugin
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.