Documentation ¶
Index ¶
- type Client
- func (gc Client) ListRepoAlerts(ctx context.Context, owner string, repo string, opt *github.AlertListOptions) ([]*github.Alert, *github.Response, error)
- func (gc Client) ListRepoDependabotAlerts(ctx context.Context, owner string, repo string, opt *github.ListAlertsOptions) ([]*github.DependabotAlert, *github.Response, error)
- type Wrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is the wrapper around google's go-github client
func (Client) ListRepoAlerts ¶
func (gc Client) ListRepoAlerts(ctx context.Context, owner string, repo string, opt *github.AlertListOptions) ([]*github.Alert, *github.Response, error)
ListRepoAlerts is a thin wrapper around github's ListRepoAlerts
func (Client) ListRepoDependabotAlerts ¶
func (gc Client) ListRepoDependabotAlerts(ctx context.Context, owner string, repo string, opt *github.ListAlertsOptions) ([]*github.DependabotAlert, *github.Response, error)
ListRepoDependabotAlerts is a thin wrapper around github's ListRepoDependabotAlerts
type Wrapper ¶
type Wrapper interface { // ListRepoAlerts is a thin wrapper around github's equivalent ListRepoAlerts(ctx context.Context, owner string, repo string, opt *github.AlertListOptions) ([]*github.Alert, *github.Response, error) // ListRepoDependabotAlerts is a thin wrapper around github's equivalent ListRepoDependabotAlerts(ctx context.Context, owner string, repo string, opt *github.ListAlertsOptions) ([]*github.DependabotAlert, *github.Response, error) }
Wrapper is the wrapper interface that allows the github client to be pluggable
Click to show internal directories.
Click to hide internal directories.