cultivator

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Change

type Change struct {
	Name      string `json:"name"`
	Branch    string `json:"branch"`
	Body      string `json:"body"`
	CommitMsg string `json:"commit_msg"`
}

Change defines the metadata for a Pull Request against a repo

type Config

type Config struct {
	CacheDir       string `json:"cache_dir"`
	IntegrationID  int    `json:"integration_id"`
	PrivateKeyFile string `json:"private_key_file"`
	CheckDir       string `json:"check_dir"`
}

Config describes options for changing the behavior of Cultivator

type Executor

type Executor struct {
	Config Config
}

Executor defines a cultivator instance

func NewFromFile

func NewFromFile(fileArg string) (Executor, error)

NewFromFile creates a new Executor from a config file

func (*Executor) Execute

func (e *Executor) Execute() error

Execute checks on all visible repos

Jump to

Keyboard shortcuts

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