Documentation ¶
Index ¶
- Variables
- func Init(opts ...Option)
- type DataSourceHandler
- func (h *DataSourceHandler) CreateDataSource(ctx context.Context, input *request.CreateDataSource) (output *response.CreateDataSource, err error)
- func (h *DataSourceHandler) DeleteDataSources(ctx context.Context, input *request.DeleteDataSources) (output *model.EmptyStruct, err error)
- func (h *DataSourceHandler) DeleteDataSourcesBySpaceId(ctx context.Context, input *request.DeleteWorkspaces) (output *model.EmptyStruct, err error)
- func (h *DataSourceHandler) DescribeDataSource(ctx context.Context, input *request.DescribeDataSource) (output *response.DescribeDataSource, err error)
- func (h *DataSourceHandler) DescribeDataSourceKinds(ctx context.Context, input *model.EmptyStruct) (output *response.DescribeDataSourceKinds, err error)
- func (h *DataSourceHandler) DisableDataSources(ctx context.Context, input *request.DisableDataSources) (output *model.EmptyStruct, err error)
- func (h *DataSourceHandler) EnableDataSources(ctx context.Context, input *request.EnableDataSources) (output *model.EmptyStruct, err error)
- func (h *DataSourceHandler) ListDataSourceConnections(ctx context.Context, input *request.ListDataSourceConnections) (output *response.ListDataSourceConnections, err error)
- func (h *DataSourceHandler) ListDataSources(ctx context.Context, input *request.ListDataSources) (output *response.ListDataSources, err error)
- func (h *DataSourceHandler) PingDataSourceConnection(ctx context.Context, input *request.PingDataSourceConnection) (output *response.PingDataSourceConnection, err error)
- func (h *DataSourceHandler) UpdateDataSource(ctx context.Context, input *request.UpdateDataSource) (output *model.EmptyStruct, err error)
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EngineClient enginepb.EngineClient
)
global options in this package.
Functions ¶
Types ¶
type DataSourceHandler ¶
type DataSourceHandler struct{}
func (*DataSourceHandler) CreateDataSource ¶
func (h *DataSourceHandler) CreateDataSource(ctx context.Context, input *request.CreateDataSource) (output *response.CreateDataSource, err error)
func (*DataSourceHandler) DeleteDataSources ¶
func (h *DataSourceHandler) DeleteDataSources(ctx context.Context, input *request.DeleteDataSources) (output *model.EmptyStruct, err error)
func (*DataSourceHandler) DeleteDataSourcesBySpaceId ¶
func (h *DataSourceHandler) DeleteDataSourcesBySpaceId(ctx context.Context, input *request.DeleteWorkspaces) (output *model.EmptyStruct, err error)
func (*DataSourceHandler) DescribeDataSource ¶
func (h *DataSourceHandler) DescribeDataSource(ctx context.Context, input *request.DescribeDataSource) (output *response.DescribeDataSource, err error)
func (*DataSourceHandler) DescribeDataSourceKinds ¶
func (h *DataSourceHandler) DescribeDataSourceKinds(ctx context.Context, input *model.EmptyStruct) (output *response.DescribeDataSourceKinds, err error)
func (*DataSourceHandler) DisableDataSources ¶
func (h *DataSourceHandler) DisableDataSources(ctx context.Context, input *request.DisableDataSources) (output *model.EmptyStruct, err error)
func (*DataSourceHandler) EnableDataSources ¶
func (h *DataSourceHandler) EnableDataSources(ctx context.Context, input *request.EnableDataSources) (output *model.EmptyStruct, err error)
func (*DataSourceHandler) ListDataSourceConnections ¶
func (h *DataSourceHandler) ListDataSourceConnections(ctx context.Context, input *request.ListDataSourceConnections) (output *response.ListDataSourceConnections, err error)
func (*DataSourceHandler) ListDataSources ¶
func (h *DataSourceHandler) ListDataSources(ctx context.Context, input *request.ListDataSources) (output *response.ListDataSources, err error)
func (*DataSourceHandler) PingDataSourceConnection ¶
func (h *DataSourceHandler) PingDataSourceConnection(ctx context.Context, input *request.PingDataSourceConnection) (output *response.PingDataSourceConnection, err error)
func (*DataSourceHandler) UpdateDataSource ¶
func (h *DataSourceHandler) UpdateDataSource(ctx context.Context, input *request.UpdateDataSource) (output *model.EmptyStruct, err error)
Click to show internal directories.
Click to hide internal directories.