Versions in this module Expand all Collapse all v0 v0.38.0 Jun 12, 2023 Changes in this version + func GetSupportedTypes() []string + func IsResourceTypeSupported(ty string) bool + type Deserializer struct + func NewDeserializer(factory resource.ResourceFactory) *Deserializer + func (s *Deserializer) Deserialize(ty string, rawList []cty.Value) ([]*resource.Resource, error) + func (s *Deserializer) DeserializeOne(ty string, value cty.Value) (*resource.Resource, error) + type DriftctlResourceFactory struct + func NewDriftctlResourceFactory(resourceSchemaRepository SchemaRepositoryInterface) *DriftctlResourceFactory + func (r *DriftctlResourceFactory) CreateAbstractResource(ty, id string, data map[string]interface{}) *resource.Resource + type IaCSupplier interface + SourceCount func() uint + type MockIaCSupplier struct + func NewMockIaCSupplier(t mockConstructorTestingTNewMockIaCSupplier) *MockIaCSupplier + func (_m *MockIaCSupplier) Resources() ([]*enumerationresource.Resource, error) + func (_m *MockIaCSupplier) SourceCount() uint + type MockResourceFactory struct + func NewMockResourceFactory(t mockConstructorTestingTNewMockResourceFactory) *MockResourceFactory + func (_m *MockResourceFactory) CreateAbstractResource(ty string, id string, data map[string]interface{}) *enumerationresource.Resource + type MockSupplier struct + func (_m *MockSupplier) Resources() ([]*resource.Resource, error) + type ResourceFactory interface + CreateAbstractResource func(ty, id string, data map[string]interface{}) *resource.Resource + type ResourceType string + func (ty ResourceType) String() string + type ResourceTypeMeta struct + func GetMeta(ty ResourceType) ResourceTypeMeta + func (ty ResourceTypeMeta) GetChildrenTypes() []ResourceType + type SchemaRepositoryInterface interface + GetSchema func(resourceType string) (*resource.Schema, bool) + SetDiscriminantFunc func(string, func(*resource.Resource, *resource.Resource) bool) + SetFlags func(typ string, flags ...resource.Flags) + SetHumanReadableAttributesFunc func(typ string, ...) + SetNormalizeFunc func(typ string, normalizeFunc func(res *resource.Resource)) + UpdateSchema func(typ string, ...)