Documentation ¶
Index ¶
- func DgcClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateConnection() *def.HttpRequestDef
- func GenReqDefForDeleteConnction() *def.HttpRequestDef
- func GenReqDefForExportConnections() *def.HttpRequestDef
- func GenReqDefForImportConnections() *def.HttpRequestDef
- func GenReqDefForListConnections() *def.HttpRequestDef
- func GenReqDefForShowConnection() *def.HttpRequestDef
- func GenReqDefForUpdateConnection() *def.HttpRequestDef
- type DgcClient
- func (c *DgcClient) CreateConnection(request *model.CreateConnectionRequest) (*model.CreateConnectionResponse, error)
- func (c *DgcClient) DeleteConnction(request *model.DeleteConnctionRequest) (*model.DeleteConnctionResponse, error)
- func (c *DgcClient) ExportConnections(request *model.ExportConnectionsRequest) (*model.ExportConnectionsResponse, error)
- func (c *DgcClient) ImportConnections(request *model.ImportConnectionsRequest) (*model.ImportConnectionsResponse, error)
- func (c *DgcClient) ListConnections(request *model.ListConnectionsRequest) (*model.ListConnectionsResponse, error)
- func (c *DgcClient) ShowConnection(request *model.ShowConnectionRequest) (*model.ShowConnectionResponse, error)
- func (c *DgcClient) UpdateConnection(request *model.UpdateConnectionRequest) (*model.UpdateConnectionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DgcClientBuilder ¶
func DgcClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCreateConnection ¶
func GenReqDefForCreateConnection() *def.HttpRequestDef
func GenReqDefForDeleteConnction ¶
func GenReqDefForDeleteConnction() *def.HttpRequestDef
func GenReqDefForExportConnections ¶
func GenReqDefForExportConnections() *def.HttpRequestDef
func GenReqDefForImportConnections ¶
func GenReqDefForImportConnections() *def.HttpRequestDef
func GenReqDefForListConnections ¶
func GenReqDefForListConnections() *def.HttpRequestDef
func GenReqDefForShowConnection ¶
func GenReqDefForShowConnection() *def.HttpRequestDef
func GenReqDefForUpdateConnection ¶
func GenReqDefForUpdateConnection() *def.HttpRequestDef
Types ¶
type DgcClient ¶
type DgcClient struct {
HcClient *http_client.HcHttpClient
}
func NewDgcClient ¶
func NewDgcClient(hcClient *http_client.HcHttpClient) *DgcClient
func (*DgcClient) CreateConnection ¶
func (c *DgcClient) CreateConnection(request *model.CreateConnectionRequest) (*model.CreateConnectionResponse, error)
func (*DgcClient) DeleteConnction ¶
func (c *DgcClient) DeleteConnction(request *model.DeleteConnctionRequest) (*model.DeleteConnctionResponse, error)
func (*DgcClient) ExportConnections ¶
func (c *DgcClient) ExportConnections(request *model.ExportConnectionsRequest) (*model.ExportConnectionsResponse, error)
func (*DgcClient) ImportConnections ¶
func (c *DgcClient) ImportConnections(request *model.ImportConnectionsRequest) (*model.ImportConnectionsResponse, error)
func (*DgcClient) ListConnections ¶
func (c *DgcClient) ListConnections(request *model.ListConnectionsRequest) (*model.ListConnectionsResponse, error)
func (*DgcClient) ShowConnection ¶
func (c *DgcClient) ShowConnection(request *model.ShowConnectionRequest) (*model.ShowConnectionResponse, error)
func (*DgcClient) UpdateConnection ¶
func (c *DgcClient) UpdateConnection(request *model.UpdateConnectionRequest) (*model.UpdateConnectionResponse, error)
Click to show internal directories.
Click to hide internal directories.