static

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRepositoryProvider

func NewRepositoryProvider(filename string) repository.Provider

NewRepositoryProvider creates a repository provider which is configured by a static list of github repositories. It expects one github URL per line in the file.

Types

type Provider

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

func (Provider) List

func (p Provider) List(ctx context.Context) ([]repository.Handle, error)

List reads in a static list of github repositories with one entry per line.

Jump to

Keyboard shortcuts

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