{"modulePath":"github.com/slashben/cq-source-github","version":"v0.1.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package plugin\n\n## Variables\n\n```go\nvar (\n\tName    = \"github\"\n\tKind    = \"source\"\n\tTeam    = \"slashben\"\n\tVersion = \"development\" // overridden at build time with -ldflags -X\n)\n```\n\n## Functions\n\n```go\nfunc Configure(_ context.Context, logger zerolog.Logger, specBytes []byte, opts sdkplugin.NewClientOptions) (sdkplugin.Client, error)\n```\nConfigure implements sdkplugin.NewClientFunc.\n\n```go\nfunc GenerateTableDocs(dir string) error\n```\nGenerateTableDocs 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.\n\nThe SDK's own \\`doc\\` command only writes JSON, so the Markdown generator is called directly; it needs the tables but no configured client.\n\n```go\nfunc Plugin() *sdkplugin.Plugin\n```\nPlugin returns the GitHub source plugin definition.\n\n```go\nfunc Tables() schema.Tables\n```\nTables returns the plugin's top-level tables, fully transformed. It panics if a table definition is invalid, since that is a programming error.\n\n## Types\n\n```go\ntype Client struct {\n\tsdkplugin.UnimplementedDestination\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Client) Close(_ context.Context) error\n```\n\n```go\nfunc (c *Client) Logger() *zerolog.Logger\n```\n\n```go\nfunc (c *Client) Sync(ctx context.Context, options sdkplugin.SyncOptions, res chan\u003c- message.SyncMessage) error\n```\n\n```go\nfunc (c *Client) Tables(_ context.Context, options sdkplugin.TableOptions) (schema.Tables, error)\n```\n\n","path":"github.com/slashben/cq-source-github/plugin","name":"plugin","synopsis":"","isRedistributable":true}
