actions

package
v0.1.113 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlanAction

type PlanAction struct {
	State *apiv1.PluginState

	AppStates        map[string]*apiv1.AppState
	DependencyStates map[string]*apiv1.DependencyState
	DNSRecords       []*apiv1.DNSRecord
	// contains filtered or unexported fields
}

func NewPlan

func NewPlan(pctx *config.PluginContext, logger log.Logger, state *apiv1.PluginState, domains []*apiv1.DomainInfo, reg *registry.Registry, destroy, fullCheck bool) (*PlanAction, error)

func (*PlanAction) Apply

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

func (*PlanAction) Plan

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

Jump to

Keyboard shortcuts

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