rollback

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseRollback

type BaseRollback struct {
	ModuleCache   *cache.Cache
	PipelineCache *cache.Cache
}

func (*BaseRollback) AutoAssert

func (b *BaseRollback) AutoAssert(runtime connector.Runtime)

func (*BaseRollback) Execute

func (b *BaseRollback) Execute(runtime connector.Runtime, result *ending.ActionResult) error

func (*BaseRollback) Init

func (b *BaseRollback) Init(moduleCache *cache.Cache, pipelineCache *cache.Cache)

type Rollback

type Rollback interface {
	Execute(runtime connector.Runtime, result *ending.ActionResult) (err error)
	Init(cache *cache.Cache, rootCache *cache.Cache)
	AutoAssert(runtime connector.Runtime)
}

Jump to

Keyboard shortcuts

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