model

package
v0.0.29-beta Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionInfo

type ConnectionInfo struct {
	Name           *string                       `json:"name,omitempty"`
	ConnectionType *ConnectionInfoConnectionType `json:"connectionType,omitempty"`
	Config         *interface{}                  `json:"config,omitempty"`
}

func (ConnectionInfo) String

func (o ConnectionInfo) String() string

type ConnectionInfoConnectionType

type ConnectionInfoConnectionType struct {
	// contains filtered or unexported fields
}

func (ConnectionInfoConnectionType) MarshalJSON

func (c ConnectionInfoConnectionType) MarshalJSON() ([]byte, error)

func (*ConnectionInfoConnectionType) UnmarshalJSON

func (c *ConnectionInfoConnectionType) UnmarshalJSON(b []byte) error

type ConnectionParam

type ConnectionParam struct {
	Name           *string                        `json:"name,omitempty"`
	ConnectionType *ConnectionParamConnectionType `json:"connectionType,omitempty"`
	Params         *interface{}                   `json:"params,omitempty"`
}

func (ConnectionParam) String

func (o ConnectionParam) String() string

type ConnectionParamConnectionType

type ConnectionParamConnectionType struct {
	// contains filtered or unexported fields
}

func (ConnectionParamConnectionType) MarshalJSON

func (c ConnectionParamConnectionType) MarshalJSON() ([]byte, error)

func (*ConnectionParamConnectionType) UnmarshalJSON

func (c *ConnectionParamConnectionType) UnmarshalJSON(b []byte) error

type CreateConnectionRequest

type CreateConnectionRequest struct {
	Body *ConnectionInfo `json:"body,omitempty"`
}

Request Object

func (CreateConnectionRequest) String

func (o CreateConnectionRequest) String() string

type CreateConnectionResponse

type CreateConnectionResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CreateConnectionResponse) String

func (o CreateConnectionResponse) String() string

type DeleteConnctionRequest

type DeleteConnctionRequest struct {
	ConnectionName string `json:"connection_name"`
}

Request Object

func (DeleteConnctionRequest) String

func (o DeleteConnctionRequest) String() string

type DeleteConnctionResponse

type DeleteConnctionResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteConnctionResponse) String

func (o DeleteConnctionResponse) String() string

type ExportConnectionsRequest

type ExportConnectionsRequest struct {
}

Request Object

func (ExportConnectionsRequest) String

func (o ExportConnectionsRequest) String() string

type ExportConnectionsResponse

type ExportConnectionsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ExportConnectionsResponse) String

func (o ExportConnectionsResponse) String() string

type ImportConnectionReq

type ImportConnectionReq struct {
	Path *string `json:"path,omitempty"`
	// 连接参数
	Params         *[]ConnectionParam                 `json:"params,omitempty"`
	SameNamePolicy *ImportConnectionReqSameNamePolicy `json:"sameNamePolicy,omitempty"`
}

func (ImportConnectionReq) String

func (o ImportConnectionReq) String() string

type ImportConnectionReqSameNamePolicy

type ImportConnectionReqSameNamePolicy struct {
	// contains filtered or unexported fields
}

func (ImportConnectionReqSameNamePolicy) MarshalJSON

func (c ImportConnectionReqSameNamePolicy) MarshalJSON() ([]byte, error)

func (*ImportConnectionReqSameNamePolicy) UnmarshalJSON

func (c *ImportConnectionReqSameNamePolicy) UnmarshalJSON(b []byte) error

type ImportConnectionReqSameNamePolicyEnum

type ImportConnectionReqSameNamePolicyEnum struct {
	SKIP      ImportConnectionReqSameNamePolicy
	OVERWRITE ImportConnectionReqSameNamePolicy
}

func GetImportConnectionReqSameNamePolicyEnum

func GetImportConnectionReqSameNamePolicyEnum() ImportConnectionReqSameNamePolicyEnum

type ImportConnectionsRequest

type ImportConnectionsRequest struct {
	Body *ImportConnectionReq `json:"body,omitempty"`
}

Request Object

func (ImportConnectionsRequest) String

func (o ImportConnectionsRequest) String() string

type ImportConnectionsResponse

type ImportConnectionsResponse struct {
	// 任务id
	TaskId         *string `json:"taskId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ImportConnectionsResponse) String

func (o ImportConnectionsResponse) String() string

type ListConnectionsRequest

type ListConnectionsRequest struct {
}

Request Object

func (ListConnectionsRequest) String

func (o ListConnectionsRequest) String() string

type ListConnectionsResponse

type ListConnectionsResponse struct {
	Total          *string           `json:"total,omitempty"`
	Connections    *[]ConnectionInfo `json:"connections,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListConnectionsResponse) String

func (o ListConnectionsResponse) String() string

type ShowConnectionRequest

type ShowConnectionRequest struct {
	ConnectionName string `json:"connection_name"`
}

Request Object

func (ShowConnectionRequest) String

func (o ShowConnectionRequest) String() string

type ShowConnectionResponse

type ShowConnectionResponse struct {
	Name           *string                               `json:"name,omitempty"`
	ConnectionType *ShowConnectionResponseConnectionType `json:"connectionType,omitempty"`
	Config         *interface{}                          `json:"config,omitempty"`
	HttpStatusCode int                                   `json:"-"`
}

Response Object

func (ShowConnectionResponse) String

func (o ShowConnectionResponse) String() string

type ShowConnectionResponseConnectionType

type ShowConnectionResponseConnectionType struct {
	// contains filtered or unexported fields
}

func (ShowConnectionResponseConnectionType) MarshalJSON

func (c ShowConnectionResponseConnectionType) MarshalJSON() ([]byte, error)

func (*ShowConnectionResponseConnectionType) UnmarshalJSON

func (c *ShowConnectionResponseConnectionType) UnmarshalJSON(b []byte) error

type UpdateConnectionRequest

type UpdateConnectionRequest struct {
	ConnectionName string          `json:"connection_name"`
	Body           *ConnectionInfo `json:"body,omitempty"`
}

Request Object

func (UpdateConnectionRequest) String

func (o UpdateConnectionRequest) String() string

type UpdateConnectionResponse

type UpdateConnectionResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateConnectionResponse) String

func (o UpdateConnectionResponse) String() string

Jump to

Keyboard shortcuts

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