actions

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeStatic  = "static"
	TypeService = "service"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PlanAction

type PlanAction struct {
	PluginMap        types.PluginStateMap
	AppStates        map[string]*types.AppState
	DependencyStates map[string]*types.DependencyState
	// contains filtered or unexported fields
}

func NewPlan

func NewPlan(pctx *config.PluginContext, logger log.Logger, state types.PluginStateMap, appStates map[string]*types.AppState, depStates map[string]*types.DependencyState, verify, destroy, fullCheck bool) (*PlanAction, error)

func (*PlanAction) Apply

func (p *PlanAction) Apply(ctx context.Context, appPlans []*types.AppPlan, cb func(a *types.ApplyAction)) error

func (*PlanAction) Plan

func (p *PlanAction) Plan(ctx context.Context, appPlans []*types.AppPlan) (*types.Plan, error)

Jump to

Keyboard shortcuts

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