Versions in this module Expand all Collapse all v0 v0.38.0 Jun 12, 2023 Changes in this version + func IsResourceTypeSupported(ty string) bool + type AttributeSchema struct + ConfigSchema configschema.Attribute + JsonString bool + type Attributes map[string]interface + func (a *Attributes) Copy() *Attributes + func (a *Attributes) DeleteIfDefault(path string) + func (a *Attributes) Get(path string) (interface{}, bool) + func (a *Attributes) GetBool(path string) *bool + func (a *Attributes) GetFloat64(path string) *float64 + func (a *Attributes) GetInt(path string) *int + func (a *Attributes) GetMap(path string) map[string]interface{} + func (a *Attributes) GetSlice(path string) []interface{} + func (a *Attributes) GetString(path string) *string + func (a *Attributes) SafeDelete(path []string) + func (a *Attributes) SafeSet(path []string, value interface{}) error + func (a *Attributes) SanitizeDefaults() + type Deserializer struct + func NewDeserializer(factory ResourceFactory) *Deserializer + func (s *Deserializer) Deserialize(ty string, rawList []cty.Value) ([]*Resource, error) + func (s *Deserializer) DeserializeOne(ty string, value cty.Value) (*Resource, error) + type Flags uint32 + const FlagDeepMode + func (f *Flags) AddFlag(flag Flags) + func (f Flags) HasFlag(flag Flags) bool + type MockSupplier struct + func NewMockSupplier(t mockConstructorTestingTNewMockSupplier) *MockSupplier + func (_m *MockSupplier) Resources() ([]*Resource, error) + type NormalizedResource interface + NormalizeForProvider func() (Resource, error) + NormalizeForState func() (Resource, error) + type Resource struct + Attrs *Attributes + Id string + Sch *Schema + Source Source + Type string + func Sort(res []*Resource) []*Resource + func (r *Resource) Attributes() *Attributes + func (r *Resource) Equal(res *Resource) bool + func (r *Resource) ResourceId() string + func (r *Resource) ResourceType() string + func (r *Resource) Schema() *Schema + func (r *Resource) SourceString() string + func (r *Resource) Src() Source + type ResourceFactory interface + CreateAbstractResource func(ty, id string, data map[string]interface{}) *Resource + type ResourceType string + func (ty ResourceType) String() string + type ResourceTypeMeta struct + func GetMeta(ty ResourceType) ResourceTypeMeta + func (ty ResourceTypeMeta) GetChildrenTypes() []ResourceType + type Schema struct + Attributes map[string]AttributeSchema + DiscriminantFunc func(*Resource, *Resource) bool + Flags Flags + HumanReadableAttributesFunc func(res *Resource) map[string]string + NormalizeFunc func(res *Resource) + ProviderVersion *version.Version + SchemaVersion int64 + func (s *Schema) IsComputedField(path []string) bool + func (s *Schema) IsJsonStringField(path []string) bool + type SerializableResource struct + Id string + ReadableAttributes map[string]string + Source *SerializableSource + Type string + func NewSerializableResource(res *Resource) *SerializableResource + type SerializableSource struct + Name string + Ns string + S string + type Source interface + InternalName func() string + Namespace func() string + Source func() string + type StoppableSupplier interface + Stop func() + type Supplier interface + Resources func() ([]*Resource, error) + type TerraformStateSource struct + Module string + Name string + State string + func NewTerraformStateSource(state, module, name string) *TerraformStateSource + func (s *TerraformStateSource) InternalName() string + func (s *TerraformStateSource) Namespace() string + func (s *TerraformStateSource) Source() string