deploy

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDeploymentStrategy

func IsDeploymentStrategy(err error) bool

Types

type Interface

type Interface interface {
	Empty() bool
	Verify() error
}

type Struct

type Struct struct {
	Branch  branch.String  `yaml:"branch,omitempty"`
	Preview preview.Bool   `yaml:"preview,omitempty"`
	Release release.String `yaml:"release,omitempty"`
	Suspend suspend.Bool   `yaml:"suspend,omitempty"`
	Webhook webhook.Slice  `yaml:"webhook,omitempty"`
}

Struct defines exactly one mutually exclusive declaration of either Branch, Release, Suspend or Webhook as required deployment instruction. Struct may also define Preview as a testing environment only deployment mechanism for pull requests, which does not influence the main deployment strategy configuration mentioned above.

func (Struct) Empty

func (s Struct) Empty() bool

func (Struct) String

func (s Struct) String() string

func (Struct) Verify

func (s Struct) Verify() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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