pln

package
v0.0.0-...-22a6971 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plan

type Plan struct {
	// contains filtered or unexported fields
}

func NewPlan

func NewPlan() *Plan

func (*Plan) AddDependency

func (p *Plan) AddDependency(fromOpID, toOpID string) error

func (*Plan) AddInStagedOperation

func (p *Plan) AddInStagedOperation(op opertn.Operation, stageInID string)

func (*Plan) AddOperation

func (p *Plan) AddOperation(op opertn.Operation)

func (*Plan) AddOutStagedOperation

func (p *Plan) AddOutStagedOperation(op opertn.Operation, stageOutID string)

func (*Plan) AddStagedOperation

func (p *Plan) AddStagedOperation(op opertn.Operation, stageInID, stageOutID string)

func (*Plan) CanceledOperations

func (p *Plan) CanceledOperations() (canceledOps []opertn.Operation, found bool, err error)

func (*Plan) CompletedOperations

func (p *Plan) CompletedOperations() (completedOps []opertn.Operation, found bool, err error)

func (*Plan) DOT

func (p *Plan) DOT() ([]byte, error)

func (*Plan) FailedOperations

func (p *Plan) FailedOperations() (failedOps []opertn.Operation, found bool, err error)

func (*Plan) Operation

func (p *Plan) Operation(idFormat string, a ...any) (op opertn.Operation, found bool)

func (*Plan) Operations

func (p *Plan) Operations() (operations []opertn.Operation, found bool, err error)

func (*Plan) OperationsMatch

func (p *Plan) OperationsMatch(regex *regexp.Regexp) (ops []opertn.Operation, found bool, err error)

func (*Plan) Optimize

func (p *Plan) Optimize() error

func (*Plan) PredecessorMap

func (p *Plan) PredecessorMap() (map[string]map[string]graph.Edge[string], error)

func (*Plan) SaveDOT

func (p *Plan) SaveDOT(path string) error

func (*Plan) Useless

func (p *Plan) Useless() (bool, error)

func (*Plan) WorthyCanceledOperations

func (p *Plan) WorthyCanceledOperations() (worthyCanceledOps []opertn.Operation, found bool, err error)

func (*Plan) WorthyCompletedOperations

func (p *Plan) WorthyCompletedOperations() (worthyCompletedOps []opertn.Operation, found bool, err error)

func (*Plan) WorthyFailedOperations

func (p *Plan) WorthyFailedOperations() (worthyFailedOps []opertn.Operation, found bool, err error)

Jump to

Keyboard shortcuts

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