types

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericResource

type GenericResource struct {
	Label            string
	Instances        []Instance
	ResourceType     string
	Block            *hclwrite.Block
	References       []Reference
	InputProperties  []string
	OutputProperties []string
	Migrated         bool
}

func (GenericResource) EmptyImportConfig

func (r GenericResource) EmptyImportConfig() string

func (GenericResource) IsForEach

func (r GenericResource) IsForEach() bool

func (GenericResource) IsMultipleResources

func (r GenericResource) IsMultipleResources() bool

func (GenericResource) NewAddress

func (r GenericResource) NewAddress(index interface{}) string

func (GenericResource) OldAddress

func (r GenericResource) OldAddress(index interface{}) string

type GenericUpdateResource

type GenericUpdateResource struct {
	ApiVersion       string
	Label            string
	OldLabel         string
	Id               string
	ResourceType     string
	Change           *tfjson.Change
	Block            *hclwrite.Block
	Migrated         bool
	References       []Reference
	Outputs          []Output
	InputProperties  []string
	OutputProperties []string
}

func (GenericUpdateResource) EmptyImportConfig

func (r GenericUpdateResource) EmptyImportConfig() string

func (GenericUpdateResource) NewAddress

func (r GenericUpdateResource) NewAddress() string

func (GenericUpdateResource) OldAddress

func (r GenericUpdateResource) OldAddress() string

type Instance

type Instance struct {
	Index      interface{}
	ApiVersion string
	ResourceId string
	Outputs    []Output
}

type Output

type Output struct {
	OldName string
	NewName string
	Value   interface{}
}

func (Output) GetStringValue

func (r Output) GetStringValue() string

type Reference

type Reference struct {
	Name  string
	Value interface{}
}

func (Reference) GetStringValue

func (r Reference) GetStringValue() string

Jump to

Keyboard shortcuts

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