github

package
v0.49.3 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 12 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) 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