converter

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type MultyResourceConverter

type MultyResourceConverter interface {
	ConvertToMultyResource(resourceId string, arg proto.Message, resources map[string]common_resources.CloudSpecificResource) (common_resources.CloudSpecificResource, error)
	GetResourceType() string
}

type ResourceConverters

type ResourceConverters[Arg proto.Message, OutT proto.Message] interface {
	Convert(resourceId string, request Arg, state *output.TfState) (OutT, error)
}

type ResourceInitFunc added in v0.1.15

type ResourceInitFunc[T proto.Message, O resources.Resource] func(string, T, resources.Resources) (O, error)

type ResourceMetadata added in v0.1.15

type ResourceMetadata struct {
	InitFunc        ResourceInitFunc[proto.Message, resources.Resource]
	AbbreviatedName string
}

func GetConverter added in v0.1.18

func GetConverter(name protoreflect.FullName) (*ResourceMetadata, error)

Jump to

Keyboard shortcuts

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