Help us shape the future of Go! Take the 2026 Go Developer Survey

cut

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigPath = "cutship.yaml"

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(ctx context.Context, f forge.Reader, repo string) (config.Config, string, error)

Types

type ConfigError

type ConfigError struct {
	File     string
	Problems []config.Problem
}

func (*ConfigError) Error

func (e *ConfigError) Error() string

type Input

type Input struct {
	App         string
	Tag         string
	SHA         string
	ServiceRepo string
	DeployRepo  string
	Now         time.Time
	Notifiers   func(config.Config) ([]notifier.Notifier, error)
}

type Outcome

type Outcome string
const (
	Bumped     Outcome = "bump"
	Same       Outcome = "same"
	Superseded Outcome = "superseded"
)

type Result

type Result struct {
	Outcome  Outcome
	Change   forge.Change
	Warnings []string
}

func Release

func Release(ctx context.Context, service, deploy forge.Forge, reg registry.Registry, in Input) (Result, error)

Jump to

Keyboard shortcuts

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