 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func APILabelsToLabelsV1(labels []api.AllowedLabelBeta) []api.LabelV1
- func ActionsPlanToAPIActions(ctx context.Context, actions types.Set) ([]api.DestinationFilterActionV1, diag.Diagnostics)
- func FQLDefinedPropertiesPlanToAPIValue(ctx context.Context, properties types.Set) ([]api.FQLDefinedPropertyV1, diag.Diagnostics)
- func GetFunctionSettingAPIValueFromPlan(ctx context.Context, settings types.Set) ([]api.FunctionSettingV1, diag.Diagnostics)
- func GetPermissionsAPIValueFromPlan(ctx context.Context, permissions types.Set) ([]api.PermissionV1, diag.Diagnostics)
- func GetPermissionsAPIValueFromState(permissions []PermissionState) []api.PermissionV1
- func GetSchemaSettingsFromPlan(ctx context.Context, settings types.Object) (*api.SourceSettingsOutputV1, diag.Diagnostics)
- func GetSettings(settings map[string]interface{}) (jsontypes.Normalized, error)
- func GetSettingsFromMap(settings map[string]interface{}) (jsontypes.Normalized, error)
- func LabelsPlanToAPILabels(ctx context.Context, labels types.Set) ([]api.AllowedLabelBeta, diag.Diagnostics)
- func PermissionsToInvitePermissions(permissions []api.PermissionV1) []api.InvitePermissionV1
- func PermissionsToPermissionsInput(permissions []api.PermissionV1) []api.PermissionInputV1
- func PropertyRenamesPlanToAPIValue(ctx context.Context, renames types.Set) ([]api.PropertyRenameV1, diag.Diagnostics)
- func PropertyValueTransformationsPlanToAPIValue(ctx context.Context, transforms types.Set) ([]api.PropertyValueTransformationV1, diag.Diagnostics)
- type Action
- type Component
- type Contact
- type DestinationFilterActionState
- type DestinationFilterPlan
- type DestinationFilterState
- type DestinationMetadataState
- type DestinationPlan
- type DestinationState
- type DestinationSubscriptionPlan
- type DestinationSubscriptionState
- type FQLDefinedProperty
- type Field
- type FunctionPlan
- type FunctionSettingState
- type FunctionState
- type GroupSettings
- type IdentifySettings
- type InsertFunctionInstanceState
- type IntegrationOptionState
- type LabelResourceState
- type LabelState
- type LogosState
- type PermissionPlan
- type PermissionState
- type Preset
- type ProfilesWarehouseState
- type PropertyRename
- type PropertyValueTransform
- type PropertyValueTransformPlan
- type ResourcePlan
- type ResourceState
- type ReverseETLModelState
- type ReverseETLScheduleState
- type RoleState
- type RulesDSState
- type RulesState
- type SchemaSettingsPlan
- type SchemaSettingsState
- type SourceDataSourceState
- type SourceMetadataState
- type SourcePlan
- type SourceState
- type SourceTrackingPlanConnectionPlan
- type SourceTrackingPlanConnectionState
- type SupportedFeature
- type SupportedMethod
- type SupportedPlatform
- type TrackSettings
- type TrackingPlanDSState
- type TrackingPlanPlan
- type TrackingPlanState
- type TransformationPlan
- type TransformationState
- type UserDataSourceState
- type UserGroupPlan
- type UserGroupState
- type UserPlan
- type UserState
- type WarehouseMetadataState
- type WarehousePlan
- type WarehouseState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APILabelsToLabelsV1 ¶
func APILabelsToLabelsV1(labels []api.AllowedLabelBeta) []api.LabelV1
func ActionsPlanToAPIActions ¶
func ActionsPlanToAPIActions(ctx context.Context, actions types.Set) ([]api.DestinationFilterActionV1, diag.Diagnostics)
func FQLDefinedPropertiesPlanToAPIValue ¶ added in v0.9.0
func FQLDefinedPropertiesPlanToAPIValue(ctx context.Context, properties types.Set) ([]api.FQLDefinedPropertyV1, diag.Diagnostics)
func GetFunctionSettingAPIValueFromPlan ¶
func GetFunctionSettingAPIValueFromPlan(ctx context.Context, settings types.Set) ([]api.FunctionSettingV1, diag.Diagnostics)
func GetPermissionsAPIValueFromPlan ¶
func GetPermissionsAPIValueFromPlan(ctx context.Context, permissions types.Set) ([]api.PermissionV1, diag.Diagnostics)
func GetPermissionsAPIValueFromState ¶
func GetPermissionsAPIValueFromState(permissions []PermissionState) []api.PermissionV1
func GetSchemaSettingsFromPlan ¶ added in v0.6.0
func GetSchemaSettingsFromPlan(ctx context.Context, settings types.Object) (*api.SourceSettingsOutputV1, diag.Diagnostics)
func GetSettings ¶
func GetSettings(settings map[string]interface{}) (jsontypes.Normalized, error)
func GetSettingsFromMap ¶ added in v0.7.0
func GetSettingsFromMap(settings map[string]interface{}) (jsontypes.Normalized, error)
func LabelsPlanToAPILabels ¶
func LabelsPlanToAPILabels(ctx context.Context, labels types.Set) ([]api.AllowedLabelBeta, diag.Diagnostics)
func PermissionsToInvitePermissions ¶
func PermissionsToInvitePermissions(permissions []api.PermissionV1) []api.InvitePermissionV1
func PermissionsToPermissionsInput ¶
func PermissionsToPermissionsInput(permissions []api.PermissionV1) []api.PermissionInputV1
func PropertyRenamesPlanToAPIValue ¶ added in v0.9.0
func PropertyRenamesPlanToAPIValue(ctx context.Context, renames types.Set) ([]api.PropertyRenameV1, diag.Diagnostics)
func PropertyValueTransformationsPlanToAPIValue ¶ added in v0.9.0
func PropertyValueTransformationsPlanToAPIValue(ctx context.Context, transforms types.Set) ([]api.PropertyValueTransformationV1, diag.Diagnostics)
Types ¶
type Action ¶
type Action struct {
	ID             types.String `tfsdk:"id"`
	Name           types.String `tfsdk:"name"`
	Slug           types.String `tfsdk:"slug"`
	Description    types.String `tfsdk:"description"`
	Platform       types.String `tfsdk:"platform"`
	Hidden         types.Bool   `tfsdk:"hidden"`
	DefaultTrigger types.String `tfsdk:"default_trigger"`
	Fields         []Field      `tfsdk:"fields"`
}
    type DestinationFilterActionState ¶
type DestinationFilterActionState struct {
	Type    types.String         `tfsdk:"type"`
	Percent types.Float64        `tfsdk:"percent"`
	Path    types.String         `tfsdk:"path"`
	Fields  jsontypes.Normalized `tfsdk:"fields"`
}
    func (*DestinationFilterActionState) Fill ¶
func (d *DestinationFilterActionState) Fill(action api.DestinationFilterActionV1) error
func (*DestinationFilterActionState) ToAPIValue ¶
func (d *DestinationFilterActionState) ToAPIValue() (api.DestinationFilterActionV1, diag.Diagnostics)
type DestinationFilterPlan ¶
type DestinationFilterPlan struct {
	ID            types.String `tfsdk:"id"`
	If            types.String `tfsdk:"if"`
	DestinationID types.String `tfsdk:"destination_id"`
	SourceID      types.String `tfsdk:"source_id"`
	Title         types.String `tfsdk:"title"`
	Description   types.String `tfsdk:"description"`
	Enabled       types.Bool   `tfsdk:"enabled"`
	Actions       types.Set    `tfsdk:"actions"`
}
    type DestinationFilterState ¶
type DestinationFilterState struct {
	ID            types.String                   `tfsdk:"id"`
	If            types.String                   `tfsdk:"if"`
	DestinationID types.String                   `tfsdk:"destination_id"`
	SourceID      types.String                   `tfsdk:"source_id"`
	Title         types.String                   `tfsdk:"title"`
	Description   types.String                   `tfsdk:"description"`
	Enabled       types.Bool                     `tfsdk:"enabled"`
	Actions       []DestinationFilterActionState `tfsdk:"actions"`
}
    func (*DestinationFilterState) Fill ¶
func (d *DestinationFilterState) Fill(filter *api.DestinationFilterV1) error
type DestinationMetadataState ¶
type DestinationMetadataState struct {
	ID                 types.String             `tfsdk:"id"`
	Name               types.String             `tfsdk:"name"`
	Slug               types.String             `tfsdk:"slug"`
	Description        types.String             `tfsdk:"description"`
	Logos              *LogosState              `tfsdk:"logos"`
	Options            []IntegrationOptionState `tfsdk:"options"`
	Categories         []types.String           `tfsdk:"categories"`
	Website            types.String             `tfsdk:"website"`
	Components         []Component              `tfsdk:"components"`
	PreviousNames      []types.String           `tfsdk:"previous_names"`
	Status             types.String             `tfsdk:"status"`
	SupportedFeatures  *SupportedFeature        `tfsdk:"supported_features"`
	SupportedMethods   *SupportedMethod         `tfsdk:"supported_methods"`
	SupportedPlatforms *SupportedPlatform       `tfsdk:"supported_platforms"`
	Actions            []Action                 `tfsdk:"actions"`
	Presets            []Preset                 `tfsdk:"presets"`
	Contacts           []Contact                `tfsdk:"contacts"`
	PartnerOwned       types.Bool               `tfsdk:"partner_owned"`
	SupportedRegions   []types.String           `tfsdk:"supported_regions"`
	RegionEndpoints    []types.String           `tfsdk:"region_endpoints"`
}
    func (*DestinationMetadataState) Fill ¶
func (d *DestinationMetadataState) Fill(destinationMetadata api.DestinationMetadataV1) error
type DestinationPlan ¶
type DestinationState ¶
type DestinationState struct {
	ID       types.String              `tfsdk:"id"`
	Name     types.String              `tfsdk:"name"`
	Enabled  types.Bool                `tfsdk:"enabled"`
	Metadata *DestinationMetadataState `tfsdk:"metadata"`
	SourceID types.String              `tfsdk:"source_id"`
	Settings jsontypes.Normalized      `tfsdk:"settings"`
}
    func (*DestinationState) Fill ¶
func (d *DestinationState) Fill(destination *api.DestinationV1) error
type DestinationSubscriptionPlan ¶ added in v1.2.0
type DestinationSubscriptionPlan struct {
	ID                 types.String         `tfsdk:"id"`
	DestinationID      types.String         `tfsdk:"destination_id"`
	Name               types.String         `tfsdk:"name"`
	Enabled            types.Bool           `tfsdk:"enabled"`
	ActionID           types.String         `tfsdk:"action_id"`
	ActionSlug         types.String         `tfsdk:"action_slug"`
	Trigger            types.String         `tfsdk:"trigger"`
	ModelID            types.String         `tfsdk:"model_id"`
	Settings           jsontypes.Normalized `tfsdk:"settings"`
	ReverseETLSchedule types.Object         `tfsdk:"reverse_etl_schedule"`
}
    type DestinationSubscriptionState ¶
type DestinationSubscriptionState struct {
	ID                 types.String             `tfsdk:"id"`
	DestinationID      types.String             `tfsdk:"destination_id"`
	Name               types.String             `tfsdk:"name"`
	Enabled            types.Bool               `tfsdk:"enabled"`
	ActionID           types.String             `tfsdk:"action_id"`
	ActionSlug         types.String             `tfsdk:"action_slug"`
	Trigger            types.String             `tfsdk:"trigger"`
	ModelID            types.String             `tfsdk:"model_id"`
	Settings           jsontypes.Normalized     `tfsdk:"settings"`
	ReverseETLSchedule *ReverseETLScheduleState `tfsdk:"reverse_etl_schedule"`
}
    func (*DestinationSubscriptionState) Fill ¶
func (d *DestinationSubscriptionState) Fill(subscription api.DestinationSubscription) error
type FQLDefinedProperty ¶ added in v0.9.0
type Field ¶
type Field struct {
	ID           types.String         `tfsdk:"id"`
	SortOrder    types.Float64        `tfsdk:"sort_order"`
	FieldKey     types.String         `tfsdk:"field_key"`
	Label        types.String         `tfsdk:"label"`
	Type         types.String         `tfsdk:"type"`
	Description  types.String         `tfsdk:"description"`
	Placeholder  types.String         `tfsdk:"placeholder"`
	Required     types.Bool           `tfsdk:"required"`
	Multiple     types.Bool           `tfsdk:"multiple"`
	Dynamic      types.Bool           `tfsdk:"dynamic"`
	AllowNull    types.Bool           `tfsdk:"allow_null"`
	DefaultValue jsontypes.Normalized `tfsdk:"default_value"`
	Choices      jsontypes.Normalized `tfsdk:"choices"`
}
    type FunctionPlan ¶
type FunctionPlan struct {
	ID                types.String `tfsdk:"id"`
	Code              types.String `tfsdk:"code"`
	DisplayName       types.String `tfsdk:"display_name"`
	LogoURL           types.String `tfsdk:"logo_url"`
	ResourceType      types.String `tfsdk:"resource_type"`
	Description       types.String `tfsdk:"description"`
	PreviewWebhookURL types.String `tfsdk:"preview_webhook_url"`
	CatalogID         types.String `tfsdk:"catalog_id"`
	Settings          types.Set    `tfsdk:"settings"`
}
    type FunctionSettingState ¶
type FunctionSettingState struct {
	Name        types.String `tfsdk:"name"`
	Label       types.String `tfsdk:"label"`
	Description types.String `tfsdk:"description"`
	Type        types.String `tfsdk:"type"`
	Required    types.Bool   `tfsdk:"required"`
	Sensitive   types.Bool   `tfsdk:"sensitive"`
}
    func (*FunctionSettingState) Fill ¶
func (f *FunctionSettingState) Fill(setting api.FunctionSettingV1)
func (*FunctionSettingState) ToAPIValue ¶
func (f *FunctionSettingState) ToAPIValue() api.FunctionSettingV1
type FunctionState ¶
type FunctionState struct {
	ID                types.String           `tfsdk:"id"`
	Code              types.String           `tfsdk:"code"`
	DisplayName       types.String           `tfsdk:"display_name"`
	LogoURL           types.String           `tfsdk:"logo_url"`
	ResourceType      types.String           `tfsdk:"resource_type"`
	Description       types.String           `tfsdk:"description"`
	PreviewWebhookURL types.String           `tfsdk:"preview_webhook_url"`
	CatalogID         types.String           `tfsdk:"catalog_id"`
	Settings          []FunctionSettingState `tfsdk:"settings"`
}
    func (*FunctionState) Fill ¶
func (f *FunctionState) Fill(function api.FunctionV1)
type GroupSettings ¶ added in v0.6.0
type GroupSettings struct {
	AllowUnplannedTraits    types.Bool   `tfsdk:"allow_unplanned_traits"`
	AllowTraitsOnViolations types.Bool   `tfsdk:"allow_traits_on_violations"`
	CommonEventOnViolations types.String `tfsdk:"common_event_on_violations"`
}
    func (*GroupSettings) Fill ¶ added in v0.6.0
func (g *GroupSettings) Fill(groupSettings *api.GroupSourceSettingsV1)
type IdentifySettings ¶ added in v0.6.0
type IdentifySettings struct {
	AllowUnplannedTraits    types.Bool   `tfsdk:"allow_unplanned_traits"`
	AllowTraitsOnViolations types.Bool   `tfsdk:"allow_traits_on_violations"`
	CommonEventOnViolations types.String `tfsdk:"common_event_on_violations"`
}
    func (*IdentifySettings) Fill ¶ added in v0.6.0
func (i *IdentifySettings) Fill(identifySettings *api.IdentifySourceSettingsV1)
type InsertFunctionInstanceState ¶ added in v0.7.0
type InsertFunctionInstanceState struct {
	ID            types.String         `tfsdk:"id"`
	FunctionID    types.String         `tfsdk:"function_id"`
	IntegrationID types.String         `tfsdk:"integration_id"`
	Name          types.String         `tfsdk:"name"`
	Enabled       types.Bool           `tfsdk:"enabled"`
	Settings      jsontypes.Normalized `tfsdk:"settings"`
}
    func (*InsertFunctionInstanceState) Fill ¶ added in v0.7.0
func (i *InsertFunctionInstanceState) Fill(instance api.InsertFunctionInstanceAlpha) error
type IntegrationOptionState ¶
type LabelResourceState ¶ added in v0.6.0
type LabelResourceState struct {
	Key         types.String `tfsdk:"key"`
	Value       types.String `tfsdk:"value"`
	Description types.String `tfsdk:"description"`
}
    func (*LabelResourceState) Fill ¶ added in v0.6.0
func (l *LabelResourceState) Fill(label api.LabelV1)
func (*LabelResourceState) ToAPIValue ¶ added in v0.6.0
func (l *LabelResourceState) ToAPIValue() api.AllowedLabelBeta
type LabelState ¶
func (*LabelState) Fill ¶
func (l *LabelState) Fill(label api.LabelV1)
func (*LabelState) ToAPIValue ¶
func (l *LabelState) ToAPIValue() api.AllowedLabelBeta
type LogosState ¶
type PermissionPlan ¶
type PermissionPlan struct {
	RoleID    types.String `tfsdk:"role_id"`
	Resources types.Set    `tfsdk:"resources"`
}
    func (*PermissionPlan) ToAPIValue ¶
func (p *PermissionPlan) ToAPIValue(ctx context.Context) (api.PermissionV1, diag.Diagnostics)
type PermissionState ¶
type PermissionState struct {
	RoleID    types.String    `tfsdk:"role_id"`
	Resources []ResourceState `tfsdk:"resources"`
}
    func (*PermissionState) Fill ¶
func (p *PermissionState) Fill(permission api.PermissionV1) error
func (*PermissionState) ToAPIValue ¶
func (p *PermissionState) ToAPIValue() api.PermissionV1
type ProfilesWarehouseState ¶
type ProfilesWarehouseState struct {
	ID         types.String         `tfsdk:"id"`
	SpaceID    types.String         `tfsdk:"space_id"`
	MetadataID types.String         `tfsdk:"metadata_id"`
	Name       types.String         `tfsdk:"name"`
	Enabled    types.Bool           `tfsdk:"enabled"`
	SchemaName types.String         `tfsdk:"schema_name"`
	Settings   jsontypes.Normalized `tfsdk:"settings"`
}
    func (*ProfilesWarehouseState) Fill ¶
func (w *ProfilesWarehouseState) Fill(warehouse api.ProfilesWarehouseAlpha) error
type PropertyRename ¶ added in v0.9.0
type PropertyValueTransform ¶ added in v0.9.0
type PropertyValueTransformPlan ¶ added in v0.9.0
type ResourcePlan ¶
type ResourcePlan struct {
	ID     types.String `tfsdk:"id"`
	Type   types.String `tfsdk:"type"`
	Labels types.Set    `tfsdk:"labels"`
}
    func (*ResourcePlan) ToAPIValue ¶
func (r *ResourcePlan) ToAPIValue(ctx context.Context) (api.PermissionResourceV1, diag.Diagnostics)
type ResourceState ¶
type ResourceState struct {
	ID     types.String `tfsdk:"id"`
	Type   types.String `tfsdk:"type"`
	Labels []LabelState `tfsdk:"labels"`
}
    func (*ResourceState) Fill ¶
func (r *ResourceState) Fill(resource api.PermissionResourceV1)
func (*ResourceState) ToAPIValue ¶
func (r *ResourceState) ToAPIValue() api.PermissionResourceV1
type ReverseETLModelState ¶
type ReverseETLModelState struct {
	ID                    types.String `tfsdk:"id"`
	SourceID              types.String `tfsdk:"source_id"`
	Name                  types.String `tfsdk:"name"`
	Description           types.String `tfsdk:"description"`
	Enabled               types.Bool   `tfsdk:"enabled"`
	Query                 types.String `tfsdk:"query"`
	QueryIdentifierColumn types.String `tfsdk:"query_identifier_column"`
	// Deprecated, schedule moved to destination_subscription
	ScheduleStrategy types.String         `tfsdk:"schedule_strategy"`
	ScheduleConfig   jsontypes.Normalized `tfsdk:"schedule_config"`
}
    func (*ReverseETLModelState) Fill ¶
func (r *ReverseETLModelState) Fill(model api.ReverseEtlModel) error
type ReverseETLScheduleState ¶ added in v1.2.0
type ReverseETLScheduleState struct {
	Strategy types.String         `tfsdk:"strategy"`
	Config   jsontypes.Normalized `tfsdk:"config"`
}
    type RoleState ¶
type RulesDSState ¶
type RulesDSState struct {
	Type         types.String         `tfsdk:"type"`
	Key          types.String         `tfsdk:"key"`
	JSONSchema   jsontypes.Normalized `tfsdk:"json_schema"`
	Version      types.Float64        `tfsdk:"version"`
	CreatedAt    types.String         `tfsdk:"created_at"`
	UpdatedAt    types.String         `tfsdk:"updated_at"`
	DeprecatedAt types.String         `tfsdk:"deprecated_at"`
}
    type RulesState ¶
type RulesState struct {
	Type       types.String         `tfsdk:"type"`
	Key        types.String         `tfsdk:"key"`
	JSONSchema jsontypes.Normalized `tfsdk:"json_schema"`
	Version    types.Float64        `tfsdk:"version"`
}
    func (*RulesState) ToAPIRule ¶
func (r *RulesState) ToAPIRule() (api.RuleV1, diag.Diagnostics)
func (*RulesState) ToAPIRuleInput ¶
func (r *RulesState) ToAPIRuleInput() (api.RuleInputV1, diag.Diagnostics)
type SchemaSettingsPlan ¶ added in v0.6.0
type SchemaSettingsState ¶ added in v0.6.0
type SchemaSettingsState struct {
	Track                     *TrackSettings    `tfsdk:"track"`
	Identify                  *IdentifySettings `tfsdk:"identify"`
	Group                     *GroupSettings    `tfsdk:"group"`
	ForwardingViolationsTo    types.String      `tfsdk:"forwarding_violations_to"`
	ForwardingBlockedEventsTo types.String      `tfsdk:"forwarding_blocked_events_to"`
}
    func SchemaSettingsPlanToState ¶ added in v0.6.0
func SchemaSettingsPlanToState(ctx context.Context, settings types.Object) (*SchemaSettingsState, diag.Diagnostics)
func (*SchemaSettingsState) Fill ¶ added in v0.6.0
func (s *SchemaSettingsState) Fill(schemaSettings api.SourceSettingsOutputV1)
type SourceDataSourceState ¶ added in v0.8.0
type SourceDataSourceState struct {
	Enabled        types.Bool           `tfsdk:"enabled"`
	ID             types.String         `tfsdk:"id"`
	Labels         []LabelState         `tfsdk:"labels"`
	Metadata       *SourceMetadataState `tfsdk:"metadata"`
	Name           types.String         `tfsdk:"name"`
	Slug           types.String         `tfsdk:"slug"`
	WorkspaceID    types.String         `tfsdk:"workspace_id"`
	WriteKeys      []types.String       `tfsdk:"write_keys"`
	Settings       jsontypes.Normalized `tfsdk:"settings"`
	SchemaSettings *SchemaSettingsState `tfsdk:"schema_settings"`
}
    func (*SourceDataSourceState) Fill ¶ added in v0.8.0
func (s *SourceDataSourceState) Fill(source api.SourceV1, schemaSettings *api.SourceSettingsOutputV1) error
type SourceMetadataState ¶
type SourceMetadataState struct {
	ID                 types.String             `tfsdk:"id"`
	Name               types.String             `tfsdk:"name"`
	Slug               types.String             `tfsdk:"slug"`
	Description        types.String             `tfsdk:"description"`
	Logos              *LogosState              `tfsdk:"logos"`
	Options            []IntegrationOptionState `tfsdk:"options"`
	Categories         []types.String           `tfsdk:"categories"`
	IsCloudEventSource types.Bool               `tfsdk:"is_cloud_event_source"`
}
    func (*SourceMetadataState) Fill ¶
func (s *SourceMetadataState) Fill(sourceMetadata api.SourceMetadataV1) error
type SourcePlan ¶
type SourcePlan struct {
	Enabled     types.Bool           `tfsdk:"enabled"`
	ID          types.String         `tfsdk:"id"`
	Labels      types.Set            `tfsdk:"labels"`
	Metadata    types.Object         `tfsdk:"metadata"`
	Name        types.String         `tfsdk:"name"`
	Slug        types.String         `tfsdk:"slug"`
	WorkspaceID types.String         `tfsdk:"workspace_id"`
	WriteKeys   types.List           `tfsdk:"write_keys"`
	Settings    jsontypes.Normalized `tfsdk:"settings"`
}
    type SourceState ¶
type SourceState struct {
	Enabled     types.Bool           `tfsdk:"enabled"`
	ID          types.String         `tfsdk:"id"`
	Labels      []LabelState         `tfsdk:"labels"`
	Metadata    *SourceMetadataState `tfsdk:"metadata"`
	Name        types.String         `tfsdk:"name"`
	Slug        types.String         `tfsdk:"slug"`
	WorkspaceID types.String         `tfsdk:"workspace_id"`
	WriteKeys   []types.String       `tfsdk:"write_keys"`
	Settings    jsontypes.Normalized `tfsdk:"settings"`
}
    type SourceTrackingPlanConnectionPlan ¶ added in v0.8.0
type SourceTrackingPlanConnectionState ¶ added in v0.8.0
type SourceTrackingPlanConnectionState struct {
	SourceID       types.String         `tfsdk:"source_id"`
	TrackingPlanID types.String         `tfsdk:"tracking_plan_id"`
	SchemaSettings *SchemaSettingsState `tfsdk:"schema_settings"`
}
    func (*SourceTrackingPlanConnectionState) Fill ¶ added in v0.8.0
func (s *SourceTrackingPlanConnectionState) Fill(sourceID string, trackingPlanID string, schemaSettings *api.SourceSettingsOutputV1)
type SupportedFeature ¶
type SupportedFeature struct {
	CloudModeInstances     types.String `tfsdk:"cloud_mode_instances"`
	DeviceModeInstances    types.String `tfsdk:"device_mode_instances"`
	Replay                 types.Bool   `tfsdk:"replay"`
	BrowseUnbundling       types.Bool   `tfsdk:"browser_unbundling"`
	BrowseUnbundlingPublic types.Bool   `tfsdk:"browser_unbundling_public"`
}
    type SupportedMethod ¶
type SupportedPlatform ¶
type TrackSettings ¶ added in v0.6.0
type TrackSettings struct {
	AllowUnplannedEvents          types.Bool   `tfsdk:"allow_unplanned_events"`
	AllowUnplannedEventProperties types.Bool   `tfsdk:"allow_unplanned_event_properties"`
	AllowEventOnViolations        types.Bool   `tfsdk:"allow_event_on_violations"`
	AllowPropertiesOnViolations   types.Bool   `tfsdk:"allow_properties_on_violations"`
	CommonEventOnViolations       types.String `tfsdk:"common_event_on_violations"`
}
    func (*TrackSettings) Fill ¶ added in v0.6.0
func (t *TrackSettings) Fill(trackSettings *api.TrackSourceSettingsV1)
type TrackingPlanDSState ¶
type TrackingPlanDSState struct {
	ID          types.String   `tfsdk:"id"`
	Name        types.String   `tfsdk:"name"`
	Slug        types.String   `tfsdk:"slug"`
	Description types.String   `tfsdk:"description"`
	Type        types.String   `tfsdk:"type"`
	UpdatedAt   types.String   `tfsdk:"updated_at"`
	CreatedAt   types.String   `tfsdk:"created_at"`
	Rules       []RulesDSState `tfsdk:"rules"`
}
    func (*TrackingPlanDSState) Fill ¶
func (t *TrackingPlanDSState) Fill(trackingPlan api.TrackingPlanV1, rules *[]api.RuleV1) error
type TrackingPlanPlan ¶
type TrackingPlanPlan struct {
	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Slug        types.String `tfsdk:"slug"`
	Description types.String `tfsdk:"description"`
	Type        types.String `tfsdk:"type"`
	UpdatedAt   types.String `tfsdk:"updated_at"`
	CreatedAt   types.String `tfsdk:"created_at"`
	Rules       types.Set    `tfsdk:"rules"`
}
    type TrackingPlanState ¶
type TrackingPlanState struct {
	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Slug        types.String `tfsdk:"slug"`
	Description types.String `tfsdk:"description"`
	Type        types.String `tfsdk:"type"`
	UpdatedAt   types.String `tfsdk:"updated_at"`
	CreatedAt   types.String `tfsdk:"created_at"`
	Rules       []RulesState `tfsdk:"rules"`
}
    func (*TrackingPlanState) Fill ¶
func (t *TrackingPlanState) Fill(trackingPlan api.TrackingPlanV1, rules *[]api.RuleV1) error
type TransformationPlan ¶ added in v0.9.0
type TransformationPlan struct {
	ID                           types.String `tfsdk:"id"`
	SourceID                     types.String `tfsdk:"source_id"`
	DestinationMetadataID        types.String `tfsdk:"destination_metadata_id"`
	Name                         types.String `tfsdk:"name"`
	Enabled                      types.Bool   `tfsdk:"enabled"`
	If                           types.String `tfsdk:"if"`
	NewEventName                 types.String `tfsdk:"new_event_name"`
	PropertyRenames              types.Set    `tfsdk:"property_renames"`
	PropertyValueTransformations types.Set    `tfsdk:"property_value_transformations"`
	FQLDefinedProperties         types.Set    `tfsdk:"fql_defined_properties"`
}
    type TransformationState ¶ added in v0.9.0
type TransformationState struct {
	ID                           types.String             `tfsdk:"id"`
	SourceID                     types.String             `tfsdk:"source_id"`
	DestinationMetadataID        types.String             `tfsdk:"destination_metadata_id"`
	Name                         types.String             `tfsdk:"name"`
	Enabled                      types.Bool               `tfsdk:"enabled"`
	If                           types.String             `tfsdk:"if"`
	NewEventName                 types.String             `tfsdk:"new_event_name"`
	PropertyRenames              []PropertyRename         `tfsdk:"property_renames"`
	PropertyValueTransformations []PropertyValueTransform `tfsdk:"property_value_transformations"`
	FQLDefinedProperties         []FQLDefinedProperty     `tfsdk:"fql_defined_properties"`
}
    func (*TransformationState) Fill ¶ added in v0.9.0
func (t *TransformationState) Fill(transformation api.TransformationV1)
type UserDataSourceState ¶
type UserGroupPlan ¶
type UserGroupState ¶
type UserGroupState struct {
	ID          types.String      `tfsdk:"id"`
	Name        types.String      `tfsdk:"name"`
	Members     []types.String    `tfsdk:"members"`
	Permissions []PermissionState `tfsdk:"permissions"`
}
    func (*UserGroupState) Fill ¶
func (u *UserGroupState) Fill(userGroup api.UserGroupV1, members []string) error
type UserState ¶
type WarehouseMetadataState ¶
type WarehouseMetadataState struct {
	ID          types.String             `tfsdk:"id"`
	Name        types.String             `tfsdk:"name"`
	Slug        types.String             `tfsdk:"slug"`
	Description types.String             `tfsdk:"description"`
	Logos       *LogosState              `tfsdk:"logos"`
	Options     []IntegrationOptionState `tfsdk:"options"`
}
    func (*WarehouseMetadataState) Fill ¶
func (w *WarehouseMetadataState) Fill(warehouseMetadata api.WarehouseMetadataV1) error
type WarehousePlan ¶
type WarehouseState ¶
type WarehouseState struct {
	ID          types.String            `tfsdk:"id"`
	Metadata    *WarehouseMetadataState `tfsdk:"metadata"`
	Name        types.String            `tfsdk:"name"`
	WorkspaceID types.String            `tfsdk:"workspace_id"`
	Enabled     types.Bool              `tfsdk:"enabled"`
	Settings    jsontypes.Normalized    `tfsdk:"settings"`
}
    func (*WarehouseState) Fill ¶
func (w *WarehouseState) Fill(warehouse api.WarehouseV1) error
       Source Files
      ¶
      Source Files
      ¶
    
- destination.go
- destination_filter.go
- destination_metadata.go
- destination_subscription.go
- function.go
- insert_function_instance.go
- label.go
- profiles_warehouse.go
- reverse_etl_model.go
- role.go
- source.go
- source_metadata.go
- source_tracking_plan_connection.go
- tracking_plan.go
- transformation.go
- user.go
- user_group.go
- warehouse.go
- warehouse_metadata.go
 Click to show internal directories. 
   Click to hide internal directories.