github

package
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubProvider

type GithubProvider struct {
	// Github API client
	Client *github.Client
}

func NewGithubProvider

func NewGithubProvider() (*GithubProvider, error)

func (*GithubProvider) CanHandleSelector

func (g *GithubProvider) CanHandleSelector(e entities.Selector) bool

func (*GithubProvider) Close

func (g *GithubProvider) Close() error

func (*GithubProvider) ComputeObjective

func (g *GithubProvider) ComputeObjective(objective *entities.Objective,
	from, to time.Time) (*entities.Indicator, error)

func (*GithubProvider) ResourceFromSelector

func (g *GithubProvider) ResourceFromSelector(e entities.Selector) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL