goImpl

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package goImpl provides the implementaiton of the zedpm-plugin-go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Plugin implements the plugin.Interface for performing tasks related to go.

func (*Plugin) Cancel

func (p *Plugin) Cancel(ctx context.Context, task plugin.Task) error

Cancel is a no-op.

func (*Plugin) Complete

func (p *Plugin) Complete(ctx context.Context, task plugin.Task) error

Complete is a no-op.

func (*Plugin) Goal

func (p *Plugin) Goal(ctx context.Context, name string) (plugin.GoalDescription, error)

Goal returns plugin.ErrUnsupportedGoal.

func (*Plugin) Implements

func (p *Plugin) Implements(ctx context.Context) ([]plugin.TaskDescription, error)

Implements provides task descriptions for /test/run/go tasks.

func (*Plugin) Prepare

func (p *Plugin) Prepare(
	_ context.Context,
	task string,
) (plugin.Task, error)

Prepare returns plugin.Task implementations for the implemented tasks.

type TestRunTask

type TestRunTask struct {
	plugin.TaskBoilerplate
}

func (*TestRunTask) Run

func (*TestRunTask) RunTests

func (s *TestRunTask) RunTests(ctx context.Context) error

Jump to

Keyboard shortcuts

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