plancomponents

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlanComponents

type PlanComponents struct {
	Plan  *plans.Plan
	State *statefile.File
	Snap  *configload.Snapshot
}

PlanComponents struct

func FromFile

func FromFile(fn string) (*PlanComponents, error)

FromFile function

func New

func New(r *planfile.Reader) (*PlanComponents, error)

New PlanComponents

func (*PlanComponents) Get

func (pc *PlanComponents) Get(key string) (string, error)

Get function

func (*PlanComponents) Set

func (pc *PlanComponents) Set(key string, value string) error

Set function

func (*PlanComponents) Write

func (pc *PlanComponents) Write(planFn string) error

Write PlanComponents to a file

Jump to

Keyboard shortcuts

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