Documentation
¶
Index ¶
- func DeleteConnector(endpoint, name string) error
- func ListTopics(endpoint, name string) ([]string, error)
- func PauseConnector(endpoint, name string) error
- func RestartConnector(endpoint, name string) error
- func RestartTask(endpoint, name, id string) error
- func ResumeConnector(endpoint, name 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 ¶
func PauseConnector ¶ added in v0.0.2
func RestartConnector ¶ added in v0.0.2
func RestartTask ¶ added in v0.0.2
func ResumeConnector ¶ added in v0.0.2
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 ListConnectors ¶ added in v0.0.2
func ListConnectors(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 TaskState struct { ID int `json:"id"` State string `json:"state"` WorkerID string `json:"worker_id"` }
func GetTaskStatus ¶
type TaskTopics ¶
Click to show internal directories.
Click to hide internal directories.