api

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigDeleteRequest

type ConfigDeleteRequest struct {
	Attr string
}

type ConfigDeleteResponse

type ConfigDeleteResponse struct {
	AttrNotFound bool
}

type ConfigItem

type ConfigItem struct {
	Attr string
	Val  string
}

type ConfigListRequest

type ConfigListRequest struct {
	Attr string
}

type ConfigListResponse

type ConfigListResponse struct {
	Configs []ConfigItem
}

type ConfigUpdateRequest

type ConfigUpdateRequest struct {
	Attr string
	Val  string
}

type DatabaseConnector

type DatabaseConnector struct {
	Name   string                  `json:"name"`
	Config DatabaseConnectorConfig `json:"config"`
}

type DatabaseConnectorConfig

type DatabaseConnectorConfig struct {
	Type            string `json:"type"`
	DBHost          string `json:"dbHost"`
	DBPort          string `json:"dbPort"`
	DBName          string `json:"dbName"`
	DBAdminUser     string `json:"dbAdminUser"`
	DBAdminPassword string `json:"dbAdminPassword"`
	DBUsers         string `json:"dbUsers"`
	DBSSLMode       string `json:"dbSSLMode"`
}

type DisableRequest added in v0.7.0

type DisableRequest struct {
	Connectors []string
}

type EnableRequest

type EnableRequest struct {
	Connectors []string
}

type GetStatusRequest

type GetStatusRequest struct {
}

type GetStatusResponse

type GetStatusResponse struct {
	Sources   map[string]status.Status `json:"sources"`
	Databases map[string]status.Status `json:"databases"`
}

type SourceConnector

type SourceConnector struct {
	Name   string                `json:"name"`
	Config SourceConnectorConfig `json:"config"`
}

type SourceConnectorConfig

type SourceConnectorConfig struct {
	Brokers          string   `json:"brokers"`
	Topics           []string `json:"topics"`
	Group            string   `json:"group"`
	SchemaPassFilter []string `json:"schemaPassFilter"`
	SchemaPrefix     string   `json:"schemaPrefix"`
	Databases        []string `json:"databases"`
}

type UpdateDatabaseConnectorRequest

type UpdateDatabaseConnectorRequest DatabaseConnector

type UpdateSourceConnectorRequest

type UpdateSourceConnectorRequest SourceConnector

type UserDeleteRequest added in v0.9.0

type UserDeleteRequest struct {
	Name string
}

type UserDeleteResponse added in v0.9.0

type UserDeleteResponse struct {
	NameNotFound bool
}

type UserItem added in v0.9.0

type UserItem struct {
	Name   string
	Tables string
}

type UserListRequest added in v0.9.0

type UserListRequest struct {
	Name string
}

type UserListResponse added in v0.9.0

type UserListResponse struct {
	Users []UserItem
}

type UserUpdateRequest added in v0.9.0

type UserUpdateRequest struct {
	Name     string
	Tables   string
	Create   bool
	Password string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳