Documentation ¶ Index ¶ type Model type Profiles func NewProfiles(sp *api.SP, logger zerolog.Logger) *Profiles func (u *Profiles) GetDestTable(spec Spec) (*schema.Table, error) func (u *Profiles) Sync(ctx context.Context, metrics *source.TableClientMetrics, ...) error type Spec Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Model ¶ type Model struct { Spec Spec } type Profiles ¶ type Profiles struct { TablesMap map[string]Model // normalized table name to table metadata (map[CQ Table Name]Model) // contains filtered or unexported fields } func NewProfiles ¶ func NewProfiles(sp *api.SP, logger zerolog.Logger) *Profiles func (*Profiles) GetDestTable ¶ func (u *Profiles) GetDestTable(spec Spec) (*schema.Table, error) func (*Profiles) Sync ¶ func (u *Profiles) Sync(ctx context.Context, metrics *source.TableClientMetrics, res chan<- *schema.Resource, table *schema.Table) error type Spec ¶ type Spec struct { // Whether to enable user profiles sync Enabled bool `json:"enabled"` // Optional, an alias for the table name Alias string `json:"alias"` } Spec is the configuration for MMD term set source Source Files ¶ View all Source files profiles.gospec.gosync.go Click to show internal directories. Click to hide internal directories.