Documentation
¶
Index ¶
Constants ¶
View Source
const TypeEventRule = "event_rule"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImportableCategory ¶
type ImportableCategory struct {
localcatalog.Category
}
type ImportableCustomType ¶
type ImportableCustomType struct {
localcatalog.CustomType
}
func (*ImportableCustomType) ForExport ¶
func (ct *ImportableCustomType) ForExport( externalID string, upstream *catalog.CustomType, resolver resolver.ReferenceResolver, ) (map[string]any, error)
ForExport loads the custom type from the upstream and resolves references to properties and other custom types. It then returns the custom type in a format that can be exported to a file.
type ImportableEvent ¶
type ImportableEvent struct {
localcatalog.Event
}
type ImportableProperty ¶
type ImportableProperty struct {
localcatalog.Property
}
func (*ImportableProperty) ForExport ¶
func (p *ImportableProperty) ForExport( externalID string, upstream *catalog.Property, resolver resolver.ReferenceResolver, ) (map[string]any, error)
ForExport loads the property from the upstream and resolves references to custom types. It then returns the property in a format that can be exported to a file.
type ImportableTrackingPlan ¶
type ImportableTrackingPlan struct {
localcatalog.TrackingPlan
}
func (*ImportableTrackingPlan) ForExport ¶
func (tp *ImportableTrackingPlan) ForExport( externalID string, upstream *catalog.TrackingPlanWithIdentifiers, resolver resolver.ReferenceResolver, idNamer namer.Namer, ) (map[string]any, error)
ForExport loads the tracking plan from the upstream and returns it in a format that can be exported to a file.
type ImportableVariants ¶
type ImportableVariants struct {
Variants []localcatalog.Variant
}
ImportableVariants is an embeddable type for handling variant conversion from upstream.
Click to show internal directories.
Click to hide internal directories.