api

package
v0.15.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostStarRocksPipeline

func PostStarRocksPipeline(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)

@Summary pipelines plan for starrocks @Description pipelines plan for starrocks @Tags plugins/starrocks @Accept application/json @Param blueprint body StarRocksPipelinePlan true "json" @Router /pipelines/starrocks/pipeline-plan [post]

Types

type StarRocksPipelinePlan

type StarRocksPipelinePlan [][]struct {
	Plugin  string `json:"plugin"`
	Options struct {
		SourceType   string            `json:"source_type"`
		SourceDsn    string            `json:"source_dsn"`
		UpdateColumn string            `json:"update_column"`
		Host         string            `json:"host"`
		Port         int               `json:"port"`
		User         string            `json:"user"`
		Password     string            `json:"password"`
		Database     string            `json:"database"`
		BeHost       string            `json:"be_host"`
		BePort       int               `json:"be_port"`
		Tables       []string          `json:"tables"`
		BatchSize    int               `json:"batch_size"`
		OrderBy      map[string]string `json:"order_by"`
		Extra        string            `json:"extra"`
		DomainLayer  string            `json:"domain_layer"`
	} `json:"options"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL