publish

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: AGPL-3.0 Imports: 27 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

type Continuable interface {
	ContinueOnError() bool
}

type Pipe

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

Pipe that publishes artifacts.

func New

func New() Pipe

New publish pipeline.

func (Pipe) Run

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

func (Pipe) Skip

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