github

package
v0.1.3-test Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: BSD-2-Clause-Patent Imports: 19 Imported by: 0

Documentation

Overview

Package harness provides support for executing Github plugins.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(root string) bool

Is returns true if the root path is a Harness plugin repository.

func ParseLookup

func ParseLookup(s string) (repo string, ref string, ok bool)

ParseLookup parses the step string and returns the associated repository and ref.

Types

type Execer

type Execer struct {
	Name       string
	Environ    []string
	Source     string
	OutputFile string
	Stdout     io.Writer
	Stderr     io.Writer
}

Execer executes a github action.

func (*Execer) Exec

func (e *Execer) Exec(ctx context.Context) error

Exec executes a github action.

Jump to

Keyboard shortcuts

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