stateconverter

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PulumiState

type PulumiState []Resource

type Resource

type Resource struct {
	Urn     string                 `json:"urn"`
	Type    string                 `json:"type"`
	Outputs map[string]interface{} `json:"outputs"`
}

type StateConverter

type StateConverter interface {
	// ConvertState converts the state to the Klotho state
	ConvertState(io.Reader) (State, error)
	ConvertResource(Resource) (*construct.Resource, error)
}

func NewStateConverter

func NewStateConverter(provider string, templates map[string]statetemplate.StateTemplate) StateConverter

Jump to

Keyboard shortcuts

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