Documentation
¶
Index ¶
- func Close() error
- func DeleteConfig(rq *api.ConfigDeleteRequest) (*api.ConfigDeleteResponse, error)
- func EnableConnector(rq *api.EnableRequest) error
- func GetConfig(attr string) (string, error, bool)
- func Init(filename string) error
- func InitCreate(filename string) error
- func IsConnectorEnabled(spec string) (bool, error)
- func ListConfig(rq *api.ConfigListRequest) (*api.ConfigListResponse, error)
- func UpdateConfig(rq *api.ConfigUpdateRequest) error
- type ColumnSchema
- type DatabaseConnector
- type SourceConnector
- type TableSchema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteConfig ¶
func DeleteConfig(rq *api.ConfigDeleteRequest) (*api.ConfigDeleteResponse, error)
func EnableConnector ¶
func EnableConnector(rq *api.EnableRequest) error
func InitCreate ¶
Init and create: call this instead of Init() when creating a new database.
func IsConnectorEnabled ¶
func ListConfig ¶
func ListConfig(rq *api.ConfigListRequest) (*api.ConfigListResponse, error)
func UpdateConfig ¶
func UpdateConfig(rq *api.ConfigUpdateRequest) error
Types ¶
type ColumnSchema ¶
type DatabaseConnector ¶
type DatabaseConnector struct { ID int64 Name string Type string DBHost string DBPort string DBName string DBAdminUser string DBAdminPassword string DBUsers string DBSSLMode string Status status.Status }
func ReadDatabaseConnectors ¶
func ReadDatabaseConnectors() ([]*DatabaseConnector, error)
type SourceConnector ¶
type SourceConnector struct { ID int64 Name string Brokers string Topics []string Group string SchemaPassFilter []string SchemaPrefix string Databases []string Status status.Status }
func ReadSourceConnectors ¶
func ReadSourceConnectors() ([]*SourceConnector, error)
type TableSchema ¶
type TableSchema struct {
Column []ColumnSchema
}
Click to show internal directories.
Click to hide internal directories.