data_source

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DataSourceSyncerName = "dataSourceSyncer"

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSourceSyncConfig

type DataSourceSyncConfig struct {
	base.BaseTargetConfig
	TargetFile      string
	DeleteUntouched bool
	ReplaceTags     bool
	DeleteTempFiles bool
}

type DataSourceSyncer

type DataSourceSyncer interface {
	SyncDataSource(config *DataSourceSyncConfig) (string, error)
}

type DataSourceSyncerPlugin

type DataSourceSyncerPlugin struct {
	Impl DataSourceSyncer
}

func (DataSourceSyncerPlugin) Client

func (DataSourceSyncerPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error)

func (*DataSourceSyncerPlugin) Server

func (p *DataSourceSyncerPlugin) Server(*plugin.MuxBroker) (interface{}, error)

type DataSourceSyncerRPC

type DataSourceSyncerRPC struct {
	// contains filtered or unexported fields
}

func (*DataSourceSyncerRPC) SyncDataSource

func (g *DataSourceSyncerRPC) SyncDataSource(config *DataSourceSyncConfig) (string, error)

type DataSourceSyncerRPCServer

type DataSourceSyncerRPCServer struct {
	Impl DataSourceSyncer
}

func (*DataSourceSyncerRPCServer) SyncDataSource

func (s *DataSourceSyncerRPCServer) SyncDataSource(config *DataSourceSyncConfig, resp *string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL