Documentation ¶
Index ¶
- Variables
- func CLIDestinationSpecToPbSpec(spec specs.Destination) pbSpecs.Destination
- func CLIMigrateModeToPbMigrateMode(migrateMode specs.MigrateMode) pbSpecs.MigrateMode
- func CLIPkModeToPbPKMode(pkMode specs.PKMode) pbSpecs.PKMode
- func CLIRegistryToPbRegistry(registry specs.Registry) pbSpecs.Registry
- func CLISourceSpecToPbSpec(spec specs.Source) pbSpecs.Source
- func CLIWriteModeToPbWriteMode(writeMode specs.WriteMode) pbSpecs.WriteMode
- func CloseLogFile()
- func NewCmdMigrate() *cobra.Command
- func NewCmdRoot() *cobra.Command
- func NewCmdSync() *cobra.Command
- func NewCmdTables() *cobra.Command
- func SpecRegistryToPlugin(registry specs.Registry) managedplugin.Registry
- type AnalyticsClient
- type ExitReason
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Version = "development"
)
Functions ¶
func CLIDestinationSpecToPbSpec ¶
func CLIDestinationSpecToPbSpec(spec specs.Destination) pbSpecs.Destination
func CLIMigrateModeToPbMigrateMode ¶
func CLIMigrateModeToPbMigrateMode(migrateMode specs.MigrateMode) pbSpecs.MigrateMode
func CLIPkModeToPbPKMode ¶
func CLIRegistryToPbRegistry ¶
func CLISourceSpecToPbSpec ¶
This converts CLI configuration to a source spec prior to V3 version when our spec wasn't decoupled from the over the wire protocol
func CloseLogFile ¶
func CloseLogFile()
func NewCmdMigrate ¶
func NewCmdRoot ¶
func NewCmdSync ¶
func NewCmdTables ¶
func SpecRegistryToPlugin ¶
func SpecRegistryToPlugin(registry specs.Registry) managedplugin.Registry
Types ¶
type AnalyticsClient ¶
type AnalyticsClient struct {
// contains filtered or unexported fields
}
func (*AnalyticsClient) Close ¶
func (c *AnalyticsClient) Close() error
func (*AnalyticsClient) Host ¶
func (c *AnalyticsClient) Host() string
func (*AnalyticsClient) SendSyncMetrics ¶
func (c *AnalyticsClient) SendSyncMetrics(ctx context.Context, sourceSpec specs.Source, destinationsSpecs []specs.Destination, invocationUUID string, m *metrics.Metrics, exitReason ExitReason) error
type ExitReason ¶
type ExitReason string
const ( ExitReasonUnset ExitReason = "" ExitReasonStopped ExitReason = "stopped" ExitReasonCompleted ExitReason = "completed" )
Source Files ¶
- addon_download.go
- addon_publish.go
- analytics.go
- constants.go
- doc.go
- errors.go
- init.go
- install.go
- logging.go
- login.go
- logout.go
- migrate.go
- migrate_v1.go
- migrate_v2.go
- migrate_v3.go
- plugin_docs_download.go
- plugin_docs_upload.go
- plugin_publish.go
- plugin_uiassets_upload.go
- progress.go
- registry.go
- root.go
- sentry.go
- specs.go
- summary.go
- switch.go
- sync.go
- sync_v1.go
- sync_v2.go
- sync_v3.go
- tables.go
- tables_v2.go
- tables_v3.go
- test_connection.go
- validate_config.go
Click to show internal directories.
Click to hide internal directories.