publish

package
v1.25.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 23 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 Continuable added in v1.19.0

type Continuable interface {
	ContinueOnError() bool
}

type Pipe

type Pipe struct {
	// contains filtered or unexported fields
}

Pipe that publishes artifacts.

func New added in v1.19.0

func New() Pipe

New publish pipeline.

func (Pipe) Run

func (p 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