goalsImpl

package
v0.1.1 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 goalsImpl implements the zedpm-plugin-goals plugin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoDisplayTask

type InfoDisplayTask struct {
	plugin.TaskBoilerplate
}

InfoDisplayTask provides an implementation of the /info/display task.

type Plugin

type Plugin struct{}

Plugin implements the built-in goals plugin.

func (*Plugin) Cancel

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

Cancel is a no-op.

func (*Plugin) Complete

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

Complete will output the accumulated properties if the /info/display task has been executed.

func (*Plugin) Goal

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

Goal provides descriptions for the following goals: build, deploy, generate, info, init, install, lint, release, request, and test.

func (*Plugin) Implements

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

Implements returns that this plugin implements the /info/display task.

func (*Plugin) Prepare

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

Prepare returns the implementations for the implemented tasks.

Jump to

Keyboard shortcuts

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