datasources

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: MIT Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubSource

type GithubSource struct {
	Org       *string
	Teams     []string
	Usernames []string
	Exclude   []string
	// contains filtered or unexported fields
}

func NewGithubSource

func NewGithubSource(endpoint *string, token *string, org *string, teams []string, usernames []string, exclude []string) *GithubSource

func (GithubSource) CheckInputErrors

func (g GithubSource) CheckInputErrors() string

func (GithubSource) GetKeys

func (g GithubSource) GetKeys() []string

func (GithubSource) GetName

func (g GithubSource) GetName() string

type GitlabSource

type GitlabSource struct {
	Groups    []string
	Usernames []string
	Exclude   []string
	// contains filtered or unexported fields
}

func NewGitlabSource

func NewGitlabSource(endpoint *string, token string, groups []string, usernames []string, exclude []string) *GitlabSource

func (GitlabSource) CheckInputErrors

func (g GitlabSource) CheckInputErrors() string

func (GitlabSource) GetKeys

func (g GitlabSource) GetKeys() []string

func (GitlabSource) GetName

func (g GitlabSource) GetName() string

type LocalSource

type LocalSource struct {
	// contains filtered or unexported fields
}

func NewLocalSource

func NewLocalSource(path string) *LocalSource

func (LocalSource) CheckInputErrors

func (l LocalSource) CheckInputErrors() string

func (LocalSource) GetKeys

func (l LocalSource) GetKeys() []string

func (LocalSource) GetName

func (l LocalSource) GetName() string

type Source

type Source interface {
	GetName() string
	CheckInputErrors() string
	GetKeys() []string
}

Jump to

Keyboard shortcuts

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