fixer

package
v0.0.0-...-8e52ff2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockType

type BlockType string
const (
	BlockTypeProvider   BlockType = "provider"
	BlockTypeResource   BlockType = "resource"
	BlockTypeDataSource BlockType = "datasource"
)

type DummyFixer

type DummyFixer struct{}

func (DummyFixer) FixDefinition

type FixDefinitionRequest

type FixDefinitionRequest struct {
	BlockType BlockType
	BlockName string
	Version   int
	// The raw HCL content of this block definition
	RawContent []byte
	// The Terraform state (only available for resource and data source)
	RawState []byte
}

type FixDefinitionResponse

type FixDefinitionResponse struct {
	// The updated raw HCL content of this block definition
	RawContent []byte
}

type FixReferenceOriginsRequest

type FixReferenceOriginsRequest struct {
	BlockType BlockType
	BlockName string
	Version   int
	// The raw HCL contents of each reference origin
	RawContents [][]byte
}

type FixReferenceOriginsResponse

type FixReferenceOriginsResponse struct {
	// The updated raw HCL contents of each reference origin
	RawContents [][]byte
}

type ProviderFixer

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

func NewProviderFixer

func NewProviderFixer(c tfclient.Client) (*ProviderFixer, error)

func (ProviderFixer) FixDefinition

func (ProviderFixer) FixReferenceOrigins

Jump to

Keyboard shortcuts

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