Documentation
¶
Index ¶
- func DeleteConnector(endpoint, name string) error
- func ListTopics(endpoint, name string) ([]string, error)
- type Connector
- type ConnectorConfig
- type ConnectorName
- type ConnectorPlugin
- type ConnectorState
- type ConnectorStatus
- type Error
- type Task
- type TaskConfig
- type TaskInfo
- type TaskState
- type TaskTopics
- type Topics
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteConnector ¶
func ListTopics ¶
Types ¶
type Connector ¶
type Connector struct {
Name ConnectorName `json:"name"`
Config ConnectorConfig `json:"config"`
Type string `json:"type"`
Tasks []Task `json:"tasks"`
}
func CreateConnector ¶
func GetConnector ¶
type ConnectorConfig ¶
func GetConnectorConfig ¶
func GetConnectorConfig(endpoint, name string) (*ConnectorConfig, error)
type ConnectorName ¶
type ConnectorName = string
func GetConnectorNames ¶
func GetConnectorNames(endpoint string) ([]ConnectorName, error)
type ConnectorPlugin ¶
type ConnectorPlugin struct {
Class string `json:"class"`
Type string `json:"type"`
Version string `json:"version"`
}
func ListConnectorPlugin ¶
func ListConnectorPlugin(endpoint string) ([]ConnectorPlugin, error)
type ConnectorState ¶
type ConnectorStatus ¶
type ConnectorStatus struct {
Name string `json:"name"`
State ConnectorState `json:"connector"`
Tasks []TaskState `json:"tasks"`
Type string `json:"type"`
}
func GetConnectorStatus ¶
func GetConnectorStatus(endpoint, name string) (*ConnectorStatus, error)
type TaskConfig ¶
type TaskInfo ¶
type TaskInfo struct {
ID Task `json:"id"`
Config TaskConfig `json:"config"`
}
type TaskState ¶
type TaskTopics ¶
Click to show internal directories.
Click to hide internal directories.