Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewAssociationTypeResource() resource.Resource
- func NewAttributeGroupResource() resource.Resource
- func NewAttributeOptionResource() resource.Resource
- func NewAttributeResource() resource.Resource
- func NewCategoryResource() resource.Resource
- func NewChannelResource() resource.Resource
- func NewFamilyResource() resource.Resource
- func NewFamilyVariantResource() resource.Resource
- func NewMeasurementFamilyResource() resource.Resource
- type AkeneoProvider
- func (p *AkeneoProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *AkeneoProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *AkeneoProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *AkeneoProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *AkeneoProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type AkeneoProviderModel
- type AssociationTypeResource
- func (r *AssociationTypeResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AssociationTypeResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AssociationTypeResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AssociationTypeResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AssociationTypeResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AssociationTypeResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AssociationTypeResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AssociationTypeResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type AssociationTypeResourceModel
- type AttributeGroupResource
- func (r *AttributeGroupResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AttributeGroupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AttributeGroupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AttributeGroupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AttributeGroupResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AttributeGroupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AttributeGroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AttributeGroupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type AttributeGroupResourceModel
- type AttributeOptionResource
- func (r *AttributeOptionResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AttributeOptionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AttributeOptionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AttributeOptionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AttributeOptionResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AttributeOptionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AttributeOptionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AttributeOptionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type AttributeOptionResourceModel
- type AttributeResource
- func (r *AttributeResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AttributeResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AttributeResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AttributeResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AttributeResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AttributeResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AttributeResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AttributeResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type AttributeResourceModel
- type CategoryResource
- func (r *CategoryResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *CategoryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CategoryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CategoryResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *CategoryResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *CategoryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CategoryResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CategoryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CategoryResourceModel
- type ChannelResource
- func (r *ChannelResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ChannelResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ChannelResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ChannelResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ChannelResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ChannelResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ChannelResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ChannelResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ChannelResourceModel
- type DataSourceData
- type FamilyResource
- func (r *FamilyResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *FamilyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *FamilyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *FamilyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *FamilyResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *FamilyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *FamilyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *FamilyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type FamilyResourceModel
- type FamilyVariantResource
- func (r *FamilyVariantResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *FamilyVariantResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *FamilyVariantResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *FamilyVariantResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *FamilyVariantResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *FamilyVariantResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *FamilyVariantResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *FamilyVariantResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type FamilyVariantResourceModel
- type MeasurementFamilyResource
- func (r *MeasurementFamilyResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *MeasurementFamilyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *MeasurementFamilyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *MeasurementFamilyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *MeasurementFamilyResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *MeasurementFamilyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *MeasurementFamilyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *MeasurementFamilyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type MeasurementFamilyResourceModel
- type MeasurementFamilyResourceUnitConversionModel
- type MeasurementFamilyResourceUnitModel
- type ResourceData
- type VariantAttributeSetModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAssociationTypeResource ¶ added in v0.5.0
func NewAttributeResource ¶
func NewCategoryResource ¶ added in v0.4.0
func NewChannelResource ¶ added in v0.3.0
func NewFamilyResource ¶
func NewMeasurementFamilyResource ¶ added in v0.2.0
Types ¶
type AkeneoProvider ¶
type AkeneoProvider struct {
// contains filtered or unexported fields
}
AkeneoProvider defines the provider implementation.
func (*AkeneoProvider) Configure ¶
func (p *AkeneoProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*AkeneoProvider) DataSources ¶
func (p *AkeneoProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*AkeneoProvider) Metadata ¶
func (p *AkeneoProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*AkeneoProvider) Resources ¶
func (p *AkeneoProvider) Resources(ctx context.Context) []func() resource.Resource
func (*AkeneoProvider) Schema ¶
func (p *AkeneoProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type AkeneoProviderModel ¶
type AkeneoProviderModel struct { Host types.String `tfsdk:"host"` UnsecureApi types.Bool `tfsdk:"unsecure_api"` ApiUsername types.String `tfsdk:"api_username"` ApiPassword types.String `tfsdk:"api_password"` ApiClientId types.String `tfsdk:"api_client_id"` ApiSecret types.String `tfsdk:"api_client_secret"` ExtraAttributeTypes types.List `tfsdk:"extra_attribute_types"` }
AkeneoProviderModel describes the provider data model.
type AssociationTypeResource ¶ added in v0.5.0
type AssociationTypeResource struct {
// contains filtered or unexported fields
}
AssociationTypeResource defines the resource implementation.
func (*AssociationTypeResource) Configure ¶ added in v0.5.0
func (r *AssociationTypeResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AssociationTypeResource) Create ¶ added in v0.5.0
func (r *AssociationTypeResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AssociationTypeResource) Delete ¶ added in v0.5.0
func (r *AssociationTypeResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AssociationTypeResource) ImportState ¶ added in v0.5.0
func (r *AssociationTypeResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AssociationTypeResource) Metadata ¶ added in v0.5.0
func (r *AssociationTypeResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AssociationTypeResource) Read ¶ added in v0.5.0
func (r *AssociationTypeResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AssociationTypeResource) Schema ¶ added in v0.5.0
func (r *AssociationTypeResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*AssociationTypeResource) Update ¶ added in v0.5.0
func (r *AssociationTypeResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AssociationTypeResourceModel ¶ added in v0.5.0
type AssociationTypeResourceModel struct { Code types.String `tfsdk:"code"` Labels types.Map `tfsdk:"labels"` IsQuantified types.Bool `tfsdk:"is_quantified"` IsTwoWay types.Bool `tfsdk:"is_two_way"` }
AssociationTypeResourceModel describes the resource data model.
type AttributeGroupResource ¶
type AttributeGroupResource struct {
// contains filtered or unexported fields
}
AttributeGroupResource defines the resource implementation.
func (*AttributeGroupResource) Configure ¶
func (r *AttributeGroupResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AttributeGroupResource) Create ¶
func (r *AttributeGroupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AttributeGroupResource) Delete ¶
func (r *AttributeGroupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AttributeGroupResource) ImportState ¶
func (r *AttributeGroupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AttributeGroupResource) Metadata ¶
func (r *AttributeGroupResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AttributeGroupResource) Read ¶
func (r *AttributeGroupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AttributeGroupResource) Schema ¶
func (r *AttributeGroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*AttributeGroupResource) Update ¶
func (r *AttributeGroupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AttributeGroupResourceModel ¶
type AttributeGroupResourceModel struct { Code types.String `tfsdk:"code"` SortOrder types.Int64 `tfsdk:"sort_order"` Labels types.Map `tfsdk:"labels"` }
AttributeGroupResourceModel describes the resource data model.
type AttributeOptionResource ¶
type AttributeOptionResource struct {
// contains filtered or unexported fields
}
AttributeOptionResource defines the resource implementation.
func (*AttributeOptionResource) Configure ¶
func (r *AttributeOptionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AttributeOptionResource) Create ¶
func (r *AttributeOptionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AttributeOptionResource) Delete ¶
func (r *AttributeOptionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AttributeOptionResource) ImportState ¶
func (r *AttributeOptionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AttributeOptionResource) Metadata ¶
func (r *AttributeOptionResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AttributeOptionResource) Read ¶
func (r *AttributeOptionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AttributeOptionResource) Schema ¶
func (r *AttributeOptionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*AttributeOptionResource) Update ¶
func (r *AttributeOptionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AttributeOptionResourceModel ¶
type AttributeOptionResourceModel struct { Code types.String `tfsdk:"code"` Attribute types.String `tfsdk:"attribute"` SortOrder types.Int64 `tfsdk:"sort_order"` Labels types.Map `tfsdk:"labels"` }
AttributeOptionResourceModel describes the resource data model.
type AttributeResource ¶
type AttributeResource struct {
// contains filtered or unexported fields
}
AttributeResource defines the resource implementation.
func (*AttributeResource) Configure ¶
func (r *AttributeResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AttributeResource) Create ¶
func (r *AttributeResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AttributeResource) Delete ¶
func (r *AttributeResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AttributeResource) ImportState ¶
func (r *AttributeResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AttributeResource) Metadata ¶
func (r *AttributeResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AttributeResource) Read ¶
func (r *AttributeResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AttributeResource) Schema ¶
func (r *AttributeResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*AttributeResource) Update ¶
func (r *AttributeResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AttributeResourceModel ¶
type AttributeResourceModel struct { Code types.String `tfsdk:"code"` Type types.String `tfsdk:"type"` Labels types.Map `tfsdk:"labels"` Group types.String `tfsdk:"group"` GroupLabels types.Map `tfsdk:"group_labels"` SortOrder types.Int64 `tfsdk:"sort_order"` Localizable types.Bool `tfsdk:"localizable"` Scopable types.Bool `tfsdk:"scopable"` AvailableLocales types.List `tfsdk:"available_locales"` Unique types.Bool `tfsdk:"unique"` UseableAsGridFilter types.Bool `tfsdk:"useable_as_grid_filter"` MaxCharacters types.Int64 `tfsdk:"max_characters"` ValidationRule types.String `tfsdk:"validation_rule"` ValidationRegexp types.String `tfsdk:"validation_regexp"` WysiwygEnabled types.Bool `tfsdk:"wysiwyg_enabled"` NumberMin types.Number `tfsdk:"number_min"` NumberMax types.Number `tfsdk:"number_max"` DecimalsAllowed types.Bool `tfsdk:"decimals_allowed"` NegativeAllowed types.Bool `tfsdk:"negative_allowed"` MetricFamily types.String `tfsdk:"metric_family"` DefaultMetricUnit types.String `tfsdk:"default_metric_unit"` DateMin types.String `tfsdk:"date_min"` DateMax types.String `tfsdk:"date_max"` AllowedExtensions types.List `tfsdk:"allowed_extensions"` MaxFileSize types.Int64 `tfsdk:"max_file_size"` ReferenceDataName types.String `tfsdk:"reference_data_name"` DefaultValue types.Bool `tfsdk:"default_value"` TableConfiguration types.List `tfsdk:"table_configuration"` }
AttributeResourceModel describes the resource data model.
type CategoryResource ¶ added in v0.4.0
type CategoryResource struct {
// contains filtered or unexported fields
}
CategoryResource defines the resource implementation.
func (*CategoryResource) Configure ¶ added in v0.4.0
func (r *CategoryResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CategoryResource) Create ¶ added in v0.4.0
func (r *CategoryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CategoryResource) Delete ¶ added in v0.4.0
func (r *CategoryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CategoryResource) ImportState ¶ added in v0.4.0
func (r *CategoryResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*CategoryResource) Metadata ¶ added in v0.4.0
func (r *CategoryResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*CategoryResource) Read ¶ added in v0.4.0
func (r *CategoryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CategoryResource) Schema ¶ added in v0.4.0
func (r *CategoryResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CategoryResource) Update ¶ added in v0.4.0
func (r *CategoryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CategoryResourceModel ¶ added in v0.4.0
type CategoryResourceModel struct { Code types.String `tfsdk:"code"` Parent types.String `tfsdk:"parent"` Labels types.Map `tfsdk:"labels"` }
CategoryResourceModel describes the resource data model.
type ChannelResource ¶ added in v0.3.0
type ChannelResource struct {
// contains filtered or unexported fields
}
ChannelResource defines the resource implementation.
func (*ChannelResource) Configure ¶ added in v0.3.0
func (r *ChannelResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ChannelResource) Create ¶ added in v0.3.0
func (r *ChannelResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ChannelResource) Delete ¶ added in v0.3.0
func (r *ChannelResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ChannelResource) ImportState ¶ added in v0.3.0
func (r *ChannelResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ChannelResource) Metadata ¶ added in v0.3.0
func (r *ChannelResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ChannelResource) Read ¶ added in v0.3.0
func (r *ChannelResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ChannelResource) Schema ¶ added in v0.3.0
func (r *ChannelResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ChannelResource) Update ¶ added in v0.3.0
func (r *ChannelResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ChannelResourceModel ¶ added in v0.3.0
type ChannelResourceModel struct { Code types.String `tfsdk:"code"` Labels types.Map `tfsdk:"labels"` Locales types.List `tfsdk:"locales"` Currencies types.List `tfsdk:"currencies"` CategoryTree types.String `tfsdk:"category_tree"` ConversionUnits types.Map `tfsdk:"conversion_units"` }
ChannelResourceModel describes the resource data model.
type DataSourceData ¶
type FamilyResource ¶
type FamilyResource struct {
// contains filtered or unexported fields
}
FamilyResource defines the resource implementation.
func (*FamilyResource) Configure ¶
func (r *FamilyResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*FamilyResource) Create ¶
func (r *FamilyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*FamilyResource) Delete ¶
func (r *FamilyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*FamilyResource) ImportState ¶
func (r *FamilyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*FamilyResource) Metadata ¶
func (r *FamilyResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*FamilyResource) Read ¶
func (r *FamilyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*FamilyResource) Schema ¶
func (r *FamilyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*FamilyResource) Update ¶
func (r *FamilyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type FamilyResourceModel ¶
type FamilyResourceModel struct { Code types.String `tfsdk:"code"` Labels types.Map `tfsdk:"labels"` Attributes types.List `tfsdk:"attributes"` AttributeAsLabel types.String `tfsdk:"attribute_as_label"` AttributeAsImage types.String `tfsdk:"attribute_as_image"` AttributeRequirements types.Map `tfsdk:"attribute_requirements"` }
FamilyResourceModel describes the resource data model.
type FamilyVariantResource ¶
type FamilyVariantResource struct {
// contains filtered or unexported fields
}
FamilyVariantResource defines the resource implementation.
func (*FamilyVariantResource) Configure ¶
func (r *FamilyVariantResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*FamilyVariantResource) Create ¶
func (r *FamilyVariantResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*FamilyVariantResource) Delete ¶
func (r *FamilyVariantResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*FamilyVariantResource) ImportState ¶
func (r *FamilyVariantResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*FamilyVariantResource) Metadata ¶
func (r *FamilyVariantResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*FamilyVariantResource) Read ¶
func (r *FamilyVariantResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*FamilyVariantResource) Schema ¶
func (r *FamilyVariantResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*FamilyVariantResource) Update ¶
func (r *FamilyVariantResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type FamilyVariantResourceModel ¶
type FamilyVariantResourceModel struct { FamilyCode types.String `tfsdk:"family_code"` Code types.String `tfsdk:"code"` Labels types.Map `tfsdk:"labels"` VariantAttributeSets []VariantAttributeSetModel `tfsdk:"variant_attribute_sets"` }
FamilyVariantResourceModel describes the resource data model.
type MeasurementFamilyResource ¶ added in v0.2.0
type MeasurementFamilyResource struct {
// contains filtered or unexported fields
}
MeasurementFamilyResource defines the resource implementation.
func (*MeasurementFamilyResource) Configure ¶ added in v0.2.0
func (r *MeasurementFamilyResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*MeasurementFamilyResource) Create ¶ added in v0.2.0
func (r *MeasurementFamilyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*MeasurementFamilyResource) Delete ¶ added in v0.2.0
func (r *MeasurementFamilyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*MeasurementFamilyResource) ImportState ¶ added in v0.2.0
func (r *MeasurementFamilyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*MeasurementFamilyResource) Metadata ¶ added in v0.2.0
func (r *MeasurementFamilyResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*MeasurementFamilyResource) Read ¶ added in v0.2.0
func (r *MeasurementFamilyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*MeasurementFamilyResource) Schema ¶ added in v0.2.0
func (r *MeasurementFamilyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*MeasurementFamilyResource) Update ¶ added in v0.2.0
func (r *MeasurementFamilyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type MeasurementFamilyResourceModel ¶ added in v0.2.0
type MeasurementFamilyResourceModel struct { Code types.String `tfsdk:"code"` StandardUnitCode types.String `tfsdk:"standard_unit_code"` Labels types.Map `tfsdk:"labels"` Units []MeasurementFamilyResourceUnitModel `tfsdk:"units"` }
MeasurementFamilyResourceModel describes the resource data model.