tfcheck

package
v3.93.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Helpers to execute OS commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TfDriver

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

func NewTfDriver

func NewTfDriver(t pulcheck.T, dir, providerName string, prov any) *TfDriver

This takes a sdkv2 schema.Provider or a providerv6

func (*TfDriver) Apply

func (d *TfDriver) Apply(t pulcheck.T, plan *TfPlan) error

func (*TfDriver) GetOutput

func (d *TfDriver) GetOutput(t pulcheck.T, outputName string) string

func (*TfDriver) GetState

func (d *TfDriver) GetState(t pulcheck.T) string

func (*TfDriver) Plan

func (d *TfDriver) Plan(t pulcheck.T) (*TfPlan, error)

func (*TfDriver) Show

func (d *TfDriver) Show(t pulcheck.T, planFile string) string

func (*TfDriver) Write

func (d *TfDriver) Write(t pulcheck.T, program string)

type TfPlan

type TfPlan struct {
	PlanFile string
	RawPlan  any
}

Jump to

Keyboard shortcuts

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