publish

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package publish contains the publishing pipe.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipe

type Pipe struct{}

Pipe that publishes artifacts.

func (Pipe) Run

func (Pipe) Run(ctx *context.Context) error

func (Pipe) Skip added in v0.180.0

func (Pipe) Skip(ctx *context.Context) bool

func (Pipe) String

func (Pipe) String() string

type Publisher

type Publisher interface {
	fmt.Stringer

	// Default sets the configuration defaults
	Publish(ctx *context.Context) error
}

Publisher should be implemented by pipes that want to publish artifacts.

Jump to

Keyboard shortcuts

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