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: 0

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