Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( Name = "github" Kind = "source" Team = "slashben" Version = "development" // overridden at build time with -ldflags -X )
Functions ¶
func Configure ¶
func Configure(_ context.Context, logger zerolog.Logger, specBytes []byte, opts sdkplugin.NewClientOptions) (sdkplugin.Client, error)
Configure implements sdkplugin.NewClientFunc.
func GenerateTableDocs ¶
GenerateTableDocs writes the Markdown table reference (one file per table and an index, README.md) into dir. It is the code path behind `make gen-docs` and the test that keeps docs/tables current.
The SDK's own `doc` command only writes JSON, so the Markdown generator is called directly; it needs the tables but no configured client.
Types ¶
type Client ¶
type Client struct {
sdkplugin.UnimplementedDestination
// contains filtered or unexported fields
}
func (*Client) Sync ¶
func (c *Client) Sync(ctx context.Context, options sdkplugin.SyncOptions, res chan<- message.SyncMessage) error