 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package attrmapper contains types and methods that provide an intermediate step between the OpenAPI schema types (libopenapi) and the Provider Code Specification types (terraform-plugin-codegen-spec). This intermediate step enables merging of attributes, overriding of specific properties, and converting into a provider code spec type to be marshalled to JSON.
Index ¶
- func ApplyComputedOptionalRequiredOverride(value string) (schema.ComputedOptionalRequired, error)
- type DataSourceAttribute
- type DataSourceAttributes
- func (attributes DataSourceAttributes) ApplyOverride(path []string, override explorer.Override) (DataSourceAttributes, error)
- func (attributes DataSourceAttributes) ApplyOverrides(overrideMap map[string]explorer.Override) (DataSourceAttributes, error)
- func (targetSlice DataSourceAttributes) Merge(mergeSlices ...DataSourceAttributes) (DataSourceAttributes, error)
- func (attributes DataSourceAttributes) ToSpec() []datasource.Attribute
 
- type DataSourceBoolAttribute
- func (a *DataSourceBoolAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceBoolAttribute) GetName() string
- func (a *DataSourceBoolAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceBoolAttribute) ToSpec() datasource.Attribute
 
- type DataSourceFloat64Attribute
- func (a *DataSourceFloat64Attribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceFloat64Attribute) GetName() string
- func (a *DataSourceFloat64Attribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceFloat64Attribute) ToSpec() datasource.Attribute
 
- type DataSourceInt32Attribute
- func (a *DataSourceInt32Attribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceInt32Attribute) GetName() string
- func (a *DataSourceInt32Attribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceInt32Attribute) ToSpec() datasource.Attribute
 
- type DataSourceInt64Attribute
- func (a *DataSourceInt64Attribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceInt64Attribute) GetName() string
- func (a *DataSourceInt64Attribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceInt64Attribute) ToSpec() datasource.Attribute
 
- type DataSourceListAttribute
- func (a *DataSourceListAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceListAttribute) GetName() string
- func (a *DataSourceListAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceListAttribute) ToSpec() datasource.Attribute
 
- type DataSourceListNestedAttribute
- func (a *DataSourceListNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceListNestedAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceListNestedAttribute) GetName() string
- func (a *DataSourceListNestedAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceListNestedAttribute) ToSpec() datasource.Attribute
 
- type DataSourceMapAttribute
- func (a *DataSourceMapAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceMapAttribute) GetName() string
- func (a *DataSourceMapAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceMapAttribute) ToSpec() datasource.Attribute
 
- type DataSourceMapNestedAttribute
- func (a *DataSourceMapNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceMapNestedAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceMapNestedAttribute) GetName() string
- func (a *DataSourceMapNestedAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceMapNestedAttribute) ToSpec() datasource.Attribute
 
- type DataSourceNestedAttribute
- type DataSourceNestedAttributeObject
- type DataSourceNumberAttribute
- func (a *DataSourceNumberAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceNumberAttribute) GetName() string
- func (a *DataSourceNumberAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceNumberAttribute) ToSpec() datasource.Attribute
 
- type DataSourceSetAttribute
- func (a *DataSourceSetAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceSetAttribute) GetName() string
- func (a *DataSourceSetAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceSetAttribute) ToSpec() datasource.Attribute
 
- type DataSourceSetNestedAttribute
- func (a *DataSourceSetNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceSetNestedAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceSetNestedAttribute) GetName() string
- func (a *DataSourceSetNestedAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceSetNestedAttribute) ToSpec() datasource.Attribute
 
- type DataSourceSingleNestedAttribute
- func (a *DataSourceSingleNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceSingleNestedAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceSingleNestedAttribute) GetName() string
- func (a *DataSourceSingleNestedAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceSingleNestedAttribute) ToSpec() datasource.Attribute
 
- type DataSourceStringAttribute
- func (a *DataSourceStringAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
- func (a *DataSourceStringAttribute) GetName() string
- func (a *DataSourceStringAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
- func (a *DataSourceStringAttribute) ToSpec() datasource.Attribute
 
- type ProviderAttribute
- type ProviderAttributes
- type ProviderBoolAttribute
- type ProviderFloat64Attribute
- type ProviderInt32Attribute
- type ProviderInt64Attribute
- type ProviderListAttribute
- type ProviderListNestedAttribute
- type ProviderMapAttribute
- type ProviderMapNestedAttribute
- type ProviderNestedAttributeObject
- type ProviderNumberAttribute
- type ProviderSetAttribute
- type ProviderSetNestedAttribute
- type ProviderSingleNestedAttribute
- type ProviderStringAttribute
- type ResourceAttribute
- type ResourceAttributes
- func (attributes ResourceAttributes) ApplyOverride(path []string, override explorer.Override) (ResourceAttributes, error)
- func (attributes ResourceAttributes) ApplyOverrides(overrideMap map[string]explorer.Override) (ResourceAttributes, error)
- func (targetSlice ResourceAttributes) Merge(mergeSlices ...ResourceAttributes) (ResourceAttributes, error)
- func (attributes ResourceAttributes) ToSpec() []resource.Attribute
 
- type ResourceBoolAttribute
- func (a *ResourceBoolAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceBoolAttribute) GetName() string
- func (a *ResourceBoolAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceBoolAttribute) ToSpec() resource.Attribute
 
- type ResourceFloat64Attribute
- func (a *ResourceFloat64Attribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceFloat64Attribute) GetName() string
- func (a *ResourceFloat64Attribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceFloat64Attribute) ToSpec() resource.Attribute
 
- type ResourceInt32Attribute
- func (a *ResourceInt32Attribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceInt32Attribute) GetName() string
- func (a *ResourceInt32Attribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceInt32Attribute) ToSpec() resource.Attribute
 
- type ResourceInt64Attribute
- func (a *ResourceInt64Attribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceInt64Attribute) GetName() string
- func (a *ResourceInt64Attribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceInt64Attribute) ToSpec() resource.Attribute
 
- type ResourceListAttribute
- func (a *ResourceListAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceListAttribute) GetName() string
- func (a *ResourceListAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceListAttribute) ToSpec() resource.Attribute
 
- type ResourceListNestedAttribute
- func (a *ResourceListNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceListNestedAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceListNestedAttribute) GetName() string
- func (a *ResourceListNestedAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceListNestedAttribute) ToSpec() resource.Attribute
 
- type ResourceMapAttribute
- func (a *ResourceMapAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceMapAttribute) GetName() string
- func (a *ResourceMapAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceMapAttribute) ToSpec() resource.Attribute
 
- type ResourceMapNestedAttribute
- func (a *ResourceMapNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceMapNestedAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceMapNestedAttribute) GetName() string
- func (a *ResourceMapNestedAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceMapNestedAttribute) ToSpec() resource.Attribute
 
- type ResourceNestedAttribute
- type ResourceNestedAttributeObject
- type ResourceNumberAttribute
- func (a *ResourceNumberAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceNumberAttribute) GetName() string
- func (a *ResourceNumberAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceNumberAttribute) ToSpec() resource.Attribute
 
- type ResourceSetAttribute
- func (a *ResourceSetAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceSetAttribute) GetName() string
- func (a *ResourceSetAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceSetAttribute) ToSpec() resource.Attribute
 
- type ResourceSetNestedAttribute
- func (a *ResourceSetNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceSetNestedAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceSetNestedAttribute) GetName() string
- func (a *ResourceSetNestedAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceSetNestedAttribute) ToSpec() resource.Attribute
 
- type ResourceSingleNestedAttribute
- func (a *ResourceSingleNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceSingleNestedAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceSingleNestedAttribute) GetName() string
- func (a *ResourceSingleNestedAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceSingleNestedAttribute) ToSpec() resource.Attribute
 
- type ResourceStringAttribute
- func (a *ResourceStringAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
- func (a *ResourceStringAttribute) GetName() string
- func (a *ResourceStringAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
- func (a *ResourceStringAttribute) ToSpec() resource.Attribute
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyComputedOptionalRequiredOverride ¶
func ApplyComputedOptionalRequiredOverride(value string) (schema.ComputedOptionalRequired, error)
Types ¶
type DataSourceAttribute ¶
type DataSourceAttribute interface {
	GetName() string
	Merge(DataSourceAttribute) (DataSourceAttribute, error)
	ApplyOverride(explorer.Override) (DataSourceAttribute, error)
	ToSpec() datasource.Attribute
}
    type DataSourceAttributes ¶
type DataSourceAttributes []DataSourceAttribute
func (DataSourceAttributes) ApplyOverride ¶
func (attributes DataSourceAttributes) ApplyOverride(path []string, override explorer.Override) (DataSourceAttributes, error)
func (DataSourceAttributes) ApplyOverrides ¶
func (attributes DataSourceAttributes) ApplyOverrides(overrideMap map[string]explorer.Override) (DataSourceAttributes, error)
func (DataSourceAttributes) Merge ¶
func (targetSlice DataSourceAttributes) Merge(mergeSlices ...DataSourceAttributes) (DataSourceAttributes, error)
func (DataSourceAttributes) ToSpec ¶
func (attributes DataSourceAttributes) ToSpec() []datasource.Attribute
type DataSourceBoolAttribute ¶
type DataSourceBoolAttribute struct {
	datasource.BoolAttribute
	Name string
}
    func (*DataSourceBoolAttribute) ApplyOverride ¶
func (a *DataSourceBoolAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceBoolAttribute) GetName ¶
func (a *DataSourceBoolAttribute) GetName() string
func (*DataSourceBoolAttribute) Merge ¶
func (a *DataSourceBoolAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceBoolAttribute) ToSpec ¶
func (a *DataSourceBoolAttribute) ToSpec() datasource.Attribute
type DataSourceFloat64Attribute ¶
type DataSourceFloat64Attribute struct {
	datasource.Float64Attribute
	Name string
}
    func (*DataSourceFloat64Attribute) ApplyOverride ¶
func (a *DataSourceFloat64Attribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceFloat64Attribute) GetName ¶
func (a *DataSourceFloat64Attribute) GetName() string
func (*DataSourceFloat64Attribute) Merge ¶
func (a *DataSourceFloat64Attribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceFloat64Attribute) ToSpec ¶
func (a *DataSourceFloat64Attribute) ToSpec() datasource.Attribute
type DataSourceInt32Attribute ¶ added in v0.5.0
type DataSourceInt32Attribute struct {
	datasource.Int32Attribute
	Name string
}
    func (*DataSourceInt32Attribute) ApplyOverride ¶ added in v0.5.0
func (a *DataSourceInt32Attribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceInt32Attribute) GetName ¶ added in v0.5.0
func (a *DataSourceInt32Attribute) GetName() string
func (*DataSourceInt32Attribute) Merge ¶ added in v0.5.0
func (a *DataSourceInt32Attribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceInt32Attribute) ToSpec ¶ added in v0.5.0
func (a *DataSourceInt32Attribute) ToSpec() datasource.Attribute
type DataSourceInt64Attribute ¶
type DataSourceInt64Attribute struct {
	datasource.Int64Attribute
	Name string
}
    func (*DataSourceInt64Attribute) ApplyOverride ¶
func (a *DataSourceInt64Attribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceInt64Attribute) GetName ¶
func (a *DataSourceInt64Attribute) GetName() string
func (*DataSourceInt64Attribute) Merge ¶
func (a *DataSourceInt64Attribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceInt64Attribute) ToSpec ¶
func (a *DataSourceInt64Attribute) ToSpec() datasource.Attribute
type DataSourceListAttribute ¶
type DataSourceListAttribute struct {
	datasource.ListAttribute
	Name string
}
    func (*DataSourceListAttribute) ApplyOverride ¶
func (a *DataSourceListAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceListAttribute) GetName ¶
func (a *DataSourceListAttribute) GetName() string
func (*DataSourceListAttribute) Merge ¶
func (a *DataSourceListAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceListAttribute) ToSpec ¶
func (a *DataSourceListAttribute) ToSpec() datasource.Attribute
type DataSourceListNestedAttribute ¶
type DataSourceListNestedAttribute struct {
	datasource.ListNestedAttribute
	Name         string
	NestedObject DataSourceNestedAttributeObject
}
    func (*DataSourceListNestedAttribute) ApplyNestedOverride ¶
func (a *DataSourceListNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceListNestedAttribute) ApplyOverride ¶
func (a *DataSourceListNestedAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceListNestedAttribute) GetName ¶
func (a *DataSourceListNestedAttribute) GetName() string
func (*DataSourceListNestedAttribute) Merge ¶
func (a *DataSourceListNestedAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceListNestedAttribute) ToSpec ¶
func (a *DataSourceListNestedAttribute) ToSpec() datasource.Attribute
type DataSourceMapAttribute ¶
type DataSourceMapAttribute struct {
	datasource.MapAttribute
	Name string
}
    func (*DataSourceMapAttribute) ApplyOverride ¶
func (a *DataSourceMapAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceMapAttribute) GetName ¶
func (a *DataSourceMapAttribute) GetName() string
func (*DataSourceMapAttribute) Merge ¶
func (a *DataSourceMapAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceMapAttribute) ToSpec ¶
func (a *DataSourceMapAttribute) ToSpec() datasource.Attribute
type DataSourceMapNestedAttribute ¶
type DataSourceMapNestedAttribute struct {
	datasource.MapNestedAttribute
	Name         string
	NestedObject DataSourceNestedAttributeObject
}
    func (*DataSourceMapNestedAttribute) ApplyNestedOverride ¶
func (a *DataSourceMapNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceMapNestedAttribute) ApplyOverride ¶
func (a *DataSourceMapNestedAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceMapNestedAttribute) GetName ¶
func (a *DataSourceMapNestedAttribute) GetName() string
func (*DataSourceMapNestedAttribute) Merge ¶
func (a *DataSourceMapNestedAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceMapNestedAttribute) ToSpec ¶
func (a *DataSourceMapNestedAttribute) ToSpec() datasource.Attribute
type DataSourceNestedAttribute ¶
type DataSourceNestedAttribute interface {
	ApplyNestedOverride([]string, explorer.Override) (DataSourceAttribute, error)
}
    type DataSourceNestedAttributeObject ¶
type DataSourceNestedAttributeObject struct {
	Attributes DataSourceAttributes
}
    type DataSourceNumberAttribute ¶
type DataSourceNumberAttribute struct {
	datasource.NumberAttribute
	Name string
}
    func (*DataSourceNumberAttribute) ApplyOverride ¶
func (a *DataSourceNumberAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceNumberAttribute) GetName ¶
func (a *DataSourceNumberAttribute) GetName() string
func (*DataSourceNumberAttribute) Merge ¶
func (a *DataSourceNumberAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceNumberAttribute) ToSpec ¶
func (a *DataSourceNumberAttribute) ToSpec() datasource.Attribute
type DataSourceSetAttribute ¶
type DataSourceSetAttribute struct {
	datasource.SetAttribute
	Name string
}
    func (*DataSourceSetAttribute) ApplyOverride ¶
func (a *DataSourceSetAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceSetAttribute) GetName ¶
func (a *DataSourceSetAttribute) GetName() string
func (*DataSourceSetAttribute) Merge ¶
func (a *DataSourceSetAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceSetAttribute) ToSpec ¶
func (a *DataSourceSetAttribute) ToSpec() datasource.Attribute
type DataSourceSetNestedAttribute ¶
type DataSourceSetNestedAttribute struct {
	datasource.SetNestedAttribute
	Name         string
	NestedObject DataSourceNestedAttributeObject
}
    func (*DataSourceSetNestedAttribute) ApplyNestedOverride ¶
func (a *DataSourceSetNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceSetNestedAttribute) ApplyOverride ¶
func (a *DataSourceSetNestedAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceSetNestedAttribute) GetName ¶
func (a *DataSourceSetNestedAttribute) GetName() string
func (*DataSourceSetNestedAttribute) Merge ¶
func (a *DataSourceSetNestedAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceSetNestedAttribute) ToSpec ¶
func (a *DataSourceSetNestedAttribute) ToSpec() datasource.Attribute
type DataSourceSingleNestedAttribute ¶
type DataSourceSingleNestedAttribute struct {
	datasource.SingleNestedAttribute
	Name       string
	Attributes DataSourceAttributes
}
    func (*DataSourceSingleNestedAttribute) ApplyNestedOverride ¶
func (a *DataSourceSingleNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceSingleNestedAttribute) ApplyOverride ¶
func (a *DataSourceSingleNestedAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceSingleNestedAttribute) GetName ¶
func (a *DataSourceSingleNestedAttribute) GetName() string
func (*DataSourceSingleNestedAttribute) Merge ¶
func (a *DataSourceSingleNestedAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceSingleNestedAttribute) ToSpec ¶
func (a *DataSourceSingleNestedAttribute) ToSpec() datasource.Attribute
type DataSourceStringAttribute ¶
type DataSourceStringAttribute struct {
	datasource.StringAttribute
	Name string
}
    func (*DataSourceStringAttribute) ApplyOverride ¶
func (a *DataSourceStringAttribute) ApplyOverride(override explorer.Override) (DataSourceAttribute, error)
func (*DataSourceStringAttribute) GetName ¶
func (a *DataSourceStringAttribute) GetName() string
func (*DataSourceStringAttribute) Merge ¶
func (a *DataSourceStringAttribute) Merge(mergeAttribute DataSourceAttribute) (DataSourceAttribute, error)
func (*DataSourceStringAttribute) ToSpec ¶
func (a *DataSourceStringAttribute) ToSpec() datasource.Attribute
type ProviderAttribute ¶
type ProviderAttributes ¶
type ProviderAttributes []ProviderAttribute
func (ProviderAttributes) ToSpec ¶
func (attributes ProviderAttributes) ToSpec() []provider.Attribute
type ProviderBoolAttribute ¶
type ProviderBoolAttribute struct {
	provider.BoolAttribute
	Name string
}
    func (*ProviderBoolAttribute) ToSpec ¶
func (a *ProviderBoolAttribute) ToSpec() provider.Attribute
type ProviderFloat64Attribute ¶
type ProviderFloat64Attribute struct {
	provider.Float64Attribute
	Name string
}
    func (*ProviderFloat64Attribute) ToSpec ¶
func (a *ProviderFloat64Attribute) ToSpec() provider.Attribute
type ProviderInt32Attribute ¶ added in v0.5.0
type ProviderInt32Attribute struct {
	provider.Int32Attribute
	Name string
}
    func (*ProviderInt32Attribute) ToSpec ¶ added in v0.5.0
func (a *ProviderInt32Attribute) ToSpec() provider.Attribute
type ProviderInt64Attribute ¶
type ProviderInt64Attribute struct {
	provider.Int64Attribute
	Name string
}
    func (*ProviderInt64Attribute) ToSpec ¶
func (a *ProviderInt64Attribute) ToSpec() provider.Attribute
type ProviderListAttribute ¶
type ProviderListAttribute struct {
	provider.ListAttribute
	Name string
}
    func (*ProviderListAttribute) ToSpec ¶
func (a *ProviderListAttribute) ToSpec() provider.Attribute
type ProviderListNestedAttribute ¶
type ProviderListNestedAttribute struct {
	provider.ListNestedAttribute
	Name         string
	NestedObject ProviderNestedAttributeObject
}
    func (*ProviderListNestedAttribute) ToSpec ¶
func (a *ProviderListNestedAttribute) ToSpec() provider.Attribute
type ProviderMapAttribute ¶
type ProviderMapAttribute struct {
	provider.MapAttribute
	Name string
}
    func (*ProviderMapAttribute) ToSpec ¶
func (a *ProviderMapAttribute) ToSpec() provider.Attribute
type ProviderMapNestedAttribute ¶
type ProviderMapNestedAttribute struct {
	provider.MapNestedAttribute
	Name         string
	NestedObject ProviderNestedAttributeObject
}
    func (*ProviderMapNestedAttribute) ToSpec ¶
func (a *ProviderMapNestedAttribute) ToSpec() provider.Attribute
type ProviderNestedAttributeObject ¶
type ProviderNestedAttributeObject struct {
	Attributes ProviderAttributes
}
    type ProviderNumberAttribute ¶
type ProviderNumberAttribute struct {
	provider.NumberAttribute
	Name string
}
    func (*ProviderNumberAttribute) ToSpec ¶
func (a *ProviderNumberAttribute) ToSpec() provider.Attribute
type ProviderSetAttribute ¶
type ProviderSetAttribute struct {
	provider.SetAttribute
	Name string
}
    func (*ProviderSetAttribute) ToSpec ¶
func (a *ProviderSetAttribute) ToSpec() provider.Attribute
type ProviderSetNestedAttribute ¶
type ProviderSetNestedAttribute struct {
	provider.SetNestedAttribute
	Name         string
	NestedObject ProviderNestedAttributeObject
}
    func (*ProviderSetNestedAttribute) ToSpec ¶
func (a *ProviderSetNestedAttribute) ToSpec() provider.Attribute
type ProviderSingleNestedAttribute ¶
type ProviderSingleNestedAttribute struct {
	provider.SingleNestedAttribute
	Name       string
	Attributes ProviderAttributes
}
    func (*ProviderSingleNestedAttribute) ToSpec ¶
func (a *ProviderSingleNestedAttribute) ToSpec() provider.Attribute
type ProviderStringAttribute ¶
type ProviderStringAttribute struct {
	provider.StringAttribute
	Name string
}
    func (*ProviderStringAttribute) ToSpec ¶
func (a *ProviderStringAttribute) ToSpec() provider.Attribute
type ResourceAttribute ¶
type ResourceAttribute interface {
	GetName() string
	Merge(ResourceAttribute) (ResourceAttribute, error)
	ApplyOverride(explorer.Override) (ResourceAttribute, error)
	ToSpec() resource.Attribute
}
    type ResourceAttributes ¶
type ResourceAttributes []ResourceAttribute
func (ResourceAttributes) ApplyOverride ¶
func (attributes ResourceAttributes) ApplyOverride(path []string, override explorer.Override) (ResourceAttributes, error)
func (ResourceAttributes) ApplyOverrides ¶
func (attributes ResourceAttributes) ApplyOverrides(overrideMap map[string]explorer.Override) (ResourceAttributes, error)
func (ResourceAttributes) Merge ¶
func (targetSlice ResourceAttributes) Merge(mergeSlices ...ResourceAttributes) (ResourceAttributes, error)
func (ResourceAttributes) ToSpec ¶
func (attributes ResourceAttributes) ToSpec() []resource.Attribute
type ResourceBoolAttribute ¶
type ResourceBoolAttribute struct {
	resource.BoolAttribute
	Name string
}
    func (*ResourceBoolAttribute) ApplyOverride ¶
func (a *ResourceBoolAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceBoolAttribute) GetName ¶
func (a *ResourceBoolAttribute) GetName() string
func (*ResourceBoolAttribute) Merge ¶
func (a *ResourceBoolAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceBoolAttribute) ToSpec ¶
func (a *ResourceBoolAttribute) ToSpec() resource.Attribute
type ResourceFloat64Attribute ¶
type ResourceFloat64Attribute struct {
	resource.Float64Attribute
	Name string
}
    func (*ResourceFloat64Attribute) ApplyOverride ¶
func (a *ResourceFloat64Attribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceFloat64Attribute) GetName ¶
func (a *ResourceFloat64Attribute) GetName() string
func (*ResourceFloat64Attribute) Merge ¶
func (a *ResourceFloat64Attribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceFloat64Attribute) ToSpec ¶
func (a *ResourceFloat64Attribute) ToSpec() resource.Attribute
type ResourceInt32Attribute ¶ added in v0.5.0
type ResourceInt32Attribute struct {
	resource.Int32Attribute
	Name string
}
    func (*ResourceInt32Attribute) ApplyOverride ¶ added in v0.5.0
func (a *ResourceInt32Attribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceInt32Attribute) GetName ¶ added in v0.5.0
func (a *ResourceInt32Attribute) GetName() string
func (*ResourceInt32Attribute) Merge ¶ added in v0.5.0
func (a *ResourceInt32Attribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceInt32Attribute) ToSpec ¶ added in v0.5.0
func (a *ResourceInt32Attribute) ToSpec() resource.Attribute
type ResourceInt64Attribute ¶
type ResourceInt64Attribute struct {
	resource.Int64Attribute
	Name string
}
    func (*ResourceInt64Attribute) ApplyOverride ¶
func (a *ResourceInt64Attribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceInt64Attribute) GetName ¶
func (a *ResourceInt64Attribute) GetName() string
func (*ResourceInt64Attribute) Merge ¶
func (a *ResourceInt64Attribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceInt64Attribute) ToSpec ¶
func (a *ResourceInt64Attribute) ToSpec() resource.Attribute
type ResourceListAttribute ¶
type ResourceListAttribute struct {
	resource.ListAttribute
	Name string
}
    func (*ResourceListAttribute) ApplyOverride ¶
func (a *ResourceListAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceListAttribute) GetName ¶
func (a *ResourceListAttribute) GetName() string
func (*ResourceListAttribute) Merge ¶
func (a *ResourceListAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceListAttribute) ToSpec ¶
func (a *ResourceListAttribute) ToSpec() resource.Attribute
type ResourceListNestedAttribute ¶
type ResourceListNestedAttribute struct {
	resource.ListNestedAttribute
	Name         string
	NestedObject ResourceNestedAttributeObject
}
    func (*ResourceListNestedAttribute) ApplyNestedOverride ¶
func (a *ResourceListNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (ResourceAttribute, error)
func (*ResourceListNestedAttribute) ApplyOverride ¶
func (a *ResourceListNestedAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceListNestedAttribute) GetName ¶
func (a *ResourceListNestedAttribute) GetName() string
func (*ResourceListNestedAttribute) Merge ¶
func (a *ResourceListNestedAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceListNestedAttribute) ToSpec ¶
func (a *ResourceListNestedAttribute) ToSpec() resource.Attribute
type ResourceMapAttribute ¶
type ResourceMapAttribute struct {
	resource.MapAttribute
	Name string
}
    func (*ResourceMapAttribute) ApplyOverride ¶
func (a *ResourceMapAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceMapAttribute) GetName ¶
func (a *ResourceMapAttribute) GetName() string
func (*ResourceMapAttribute) Merge ¶
func (a *ResourceMapAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceMapAttribute) ToSpec ¶
func (a *ResourceMapAttribute) ToSpec() resource.Attribute
type ResourceMapNestedAttribute ¶
type ResourceMapNestedAttribute struct {
	resource.MapNestedAttribute
	Name         string
	NestedObject ResourceNestedAttributeObject
}
    func (*ResourceMapNestedAttribute) ApplyNestedOverride ¶
func (a *ResourceMapNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (ResourceAttribute, error)
func (*ResourceMapNestedAttribute) ApplyOverride ¶
func (a *ResourceMapNestedAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceMapNestedAttribute) GetName ¶
func (a *ResourceMapNestedAttribute) GetName() string
func (*ResourceMapNestedAttribute) Merge ¶
func (a *ResourceMapNestedAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceMapNestedAttribute) ToSpec ¶
func (a *ResourceMapNestedAttribute) ToSpec() resource.Attribute
type ResourceNestedAttribute ¶
type ResourceNestedAttribute interface {
	ApplyNestedOverride([]string, explorer.Override) (ResourceAttribute, error)
}
    type ResourceNestedAttributeObject ¶
type ResourceNestedAttributeObject struct {
	Attributes ResourceAttributes
}
    type ResourceNumberAttribute ¶
type ResourceNumberAttribute struct {
	resource.NumberAttribute
	Name string
}
    func (*ResourceNumberAttribute) ApplyOverride ¶
func (a *ResourceNumberAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceNumberAttribute) GetName ¶
func (a *ResourceNumberAttribute) GetName() string
func (*ResourceNumberAttribute) Merge ¶
func (a *ResourceNumberAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceNumberAttribute) ToSpec ¶
func (a *ResourceNumberAttribute) ToSpec() resource.Attribute
type ResourceSetAttribute ¶
type ResourceSetAttribute struct {
	resource.SetAttribute
	Name string
}
    func (*ResourceSetAttribute) ApplyOverride ¶
func (a *ResourceSetAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceSetAttribute) GetName ¶
func (a *ResourceSetAttribute) GetName() string
func (*ResourceSetAttribute) Merge ¶
func (a *ResourceSetAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceSetAttribute) ToSpec ¶
func (a *ResourceSetAttribute) ToSpec() resource.Attribute
type ResourceSetNestedAttribute ¶
type ResourceSetNestedAttribute struct {
	resource.SetNestedAttribute
	Name         string
	NestedObject ResourceNestedAttributeObject
}
    func (*ResourceSetNestedAttribute) ApplyNestedOverride ¶
func (a *ResourceSetNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (ResourceAttribute, error)
func (*ResourceSetNestedAttribute) ApplyOverride ¶
func (a *ResourceSetNestedAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceSetNestedAttribute) GetName ¶
func (a *ResourceSetNestedAttribute) GetName() string
func (*ResourceSetNestedAttribute) Merge ¶
func (a *ResourceSetNestedAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceSetNestedAttribute) ToSpec ¶
func (a *ResourceSetNestedAttribute) ToSpec() resource.Attribute
type ResourceSingleNestedAttribute ¶
type ResourceSingleNestedAttribute struct {
	resource.SingleNestedAttribute
	Name       string
	Attributes ResourceAttributes
}
    func (*ResourceSingleNestedAttribute) ApplyNestedOverride ¶
func (a *ResourceSingleNestedAttribute) ApplyNestedOverride(path []string, override explorer.Override) (ResourceAttribute, error)
func (*ResourceSingleNestedAttribute) ApplyOverride ¶
func (a *ResourceSingleNestedAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceSingleNestedAttribute) GetName ¶
func (a *ResourceSingleNestedAttribute) GetName() string
func (*ResourceSingleNestedAttribute) Merge ¶
func (a *ResourceSingleNestedAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceSingleNestedAttribute) ToSpec ¶
func (a *ResourceSingleNestedAttribute) ToSpec() resource.Attribute
type ResourceStringAttribute ¶
type ResourceStringAttribute struct {
	resource.StringAttribute
	Name string
}
    func (*ResourceStringAttribute) ApplyOverride ¶
func (a *ResourceStringAttribute) ApplyOverride(override explorer.Override) (ResourceAttribute, error)
func (*ResourceStringAttribute) GetName ¶
func (a *ResourceStringAttribute) GetName() string
func (*ResourceStringAttribute) Merge ¶
func (a *ResourceStringAttribute) Merge(mergeAttribute ResourceAttribute) (ResourceAttribute, error)
func (*ResourceStringAttribute) ToSpec ¶
func (a *ResourceStringAttribute) ToSpec() resource.Attribute
 Click to show internal directories. 
   Click to hide internal directories.