unfork

package
v0.49.1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDaemonUnforker

func NewDaemonUnforker(logger log.Logger, daemon daemontypes.Daemon, fs afero.Afero, stateManager state.Manager, patcher patch.Patcher) lifecycle.Unforker

func NewDaemonlessUnforker

func NewDaemonlessUnforker(logger log.Logger, fs afero.Afero, state state.Manager, patcher patch.Patcher) lifecycle.Unforker

Types

type ListK8sYaml

type ListK8sYaml struct {
	APIVersion string        `json:"apiVersion" yaml:"apiVersion"`
	Kind       string        `json:"kind" yaml:"kind" hcl:"kind"`
	Items      []interface{} `json:"items" yaml:"items"`
}

type Unforker

type Unforker struct {
	Logger  log.Logger
	FS      afero.Afero
	State   state.Manager
	Patcher patch.Patcher
}

func (*Unforker) Execute

func (l *Unforker) Execute(ctx context.Context, release *api.Release, step api.Unfork) error

func (*Unforker) PreExecute

func (l *Unforker) PreExecute(ctx context.Context, step api.Step) error

Jump to

Keyboard shortcuts

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