types

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionArgs

type ExecutionArgs struct {
	Platform string
	APIURL   string
	APIToken string
	Repos    []string
	GitUser  string
	GitEmail string
}

type Executor

type Executor interface {
	Execute(args ExecutionArgs) error
}

type PlatformManager

type PlatformManager interface {
	http.Handler
	ListRepos() ([]string, error)
	ExecutionArgs(repos ...string) ExecutionArgs
}

type Scheduler

type Scheduler interface {
	Schedule(args ExecutionArgs) error
}

Jump to

Keyboard shortcuts

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