Documentation ¶
Index ¶
- func CcClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateCloudConnection() *def.HttpRequestDef
- func GenReqDefForCreateNetworkInstance() *def.HttpRequestDef
- func GenReqDefForDeleteCloudConnection() *def.HttpRequestDef
- func GenReqDefForDeleteNetworkInstance() *def.HttpRequestDef
- func GenReqDefForListCloudConnectionRoutes() *def.HttpRequestDef
- func GenReqDefForListCloudConnections() *def.HttpRequestDef
- func GenReqDefForListNetworkInstances() *def.HttpRequestDef
- func GenReqDefForShowCloudConnection() *def.HttpRequestDef
- func GenReqDefForShowCloudConnectionRoutes() *def.HttpRequestDef
- func GenReqDefForShowNetworkInstance() *def.HttpRequestDef
- func GenReqDefForUpdateCloudConnection() *def.HttpRequestDef
- func GenReqDefForUpdateNetworkInstance() *def.HttpRequestDef
- type CcClient
- func (c *CcClient) CreateCloudConnection(request *model.CreateCloudConnectionRequest) (*model.CreateCloudConnectionResponse, error)
- func (c *CcClient) CreateNetworkInstance(request *model.CreateNetworkInstanceRequest) (*model.CreateNetworkInstanceResponse, error)
- func (c *CcClient) DeleteCloudConnection(request *model.DeleteCloudConnectionRequest) (*model.DeleteCloudConnectionResponse, error)
- func (c *CcClient) DeleteNetworkInstance(request *model.DeleteNetworkInstanceRequest) (*model.DeleteNetworkInstanceResponse, error)
- func (c *CcClient) ListCloudConnectionRoutes(request *model.ListCloudConnectionRoutesRequest) (*model.ListCloudConnectionRoutesResponse, error)
- func (c *CcClient) ListCloudConnections(request *model.ListCloudConnectionsRequest) (*model.ListCloudConnectionsResponse, error)
- func (c *CcClient) ListNetworkInstances(request *model.ListNetworkInstancesRequest) (*model.ListNetworkInstancesResponse, error)
- func (c *CcClient) ShowCloudConnection(request *model.ShowCloudConnectionRequest) (*model.ShowCloudConnectionResponse, error)
- func (c *CcClient) ShowCloudConnectionRoutes(request *model.ShowCloudConnectionRoutesRequest) (*model.ShowCloudConnectionRoutesResponse, error)
- func (c *CcClient) ShowNetworkInstance(request *model.ShowNetworkInstanceRequest) (*model.ShowNetworkInstanceResponse, error)
- func (c *CcClient) UpdateCloudConnection(request *model.UpdateCloudConnectionRequest) (*model.UpdateCloudConnectionResponse, error)
- func (c *CcClient) UpdateNetworkInstance(request *model.UpdateNetworkInstanceRequest) (*model.UpdateNetworkInstanceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CcClientBuilder ¶
func CcClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCreateCloudConnection ¶
func GenReqDefForCreateCloudConnection() *def.HttpRequestDef
func GenReqDefForCreateNetworkInstance ¶
func GenReqDefForCreateNetworkInstance() *def.HttpRequestDef
func GenReqDefForDeleteCloudConnection ¶
func GenReqDefForDeleteCloudConnection() *def.HttpRequestDef
func GenReqDefForDeleteNetworkInstance ¶
func GenReqDefForDeleteNetworkInstance() *def.HttpRequestDef
func GenReqDefForListCloudConnectionRoutes ¶
func GenReqDefForListCloudConnectionRoutes() *def.HttpRequestDef
func GenReqDefForListCloudConnections ¶
func GenReqDefForListCloudConnections() *def.HttpRequestDef
func GenReqDefForListNetworkInstances ¶
func GenReqDefForListNetworkInstances() *def.HttpRequestDef
func GenReqDefForShowCloudConnection ¶
func GenReqDefForShowCloudConnection() *def.HttpRequestDef
func GenReqDefForShowCloudConnectionRoutes ¶
func GenReqDefForShowCloudConnectionRoutes() *def.HttpRequestDef
func GenReqDefForShowNetworkInstance ¶
func GenReqDefForShowNetworkInstance() *def.HttpRequestDef
func GenReqDefForUpdateCloudConnection ¶
func GenReqDefForUpdateCloudConnection() *def.HttpRequestDef
func GenReqDefForUpdateNetworkInstance ¶
func GenReqDefForUpdateNetworkInstance() *def.HttpRequestDef
Types ¶
type CcClient ¶
type CcClient struct {
HcClient *http_client.HcHttpClient
}
func NewCcClient ¶
func NewCcClient(hcClient *http_client.HcHttpClient) *CcClient
func (*CcClient) CreateCloudConnection ¶
func (c *CcClient) CreateCloudConnection(request *model.CreateCloudConnectionRequest) (*model.CreateCloudConnectionResponse, error)
创建云连接实例。
func (*CcClient) CreateNetworkInstance ¶
func (c *CcClient) CreateNetworkInstance(request *model.CreateNetworkInstanceRequest) (*model.CreateNetworkInstanceResponse, error)
创建网络实例。
func (*CcClient) DeleteCloudConnection ¶
func (c *CcClient) DeleteCloudConnection(request *model.DeleteCloudConnectionRequest) (*model.DeleteCloudConnectionResponse, error)
删除云连接实例。
func (*CcClient) DeleteNetworkInstance ¶
func (c *CcClient) DeleteNetworkInstance(request *model.DeleteNetworkInstanceRequest) (*model.DeleteNetworkInstanceResponse, error)
删除网络实例。
func (*CcClient) ListCloudConnectionRoutes ¶
func (c *CcClient) ListCloudConnectionRoutes(request *model.ListCloudConnectionRoutesRequest) (*model.ListCloudConnectionRoutesResponse, error)
查询云连接路由条目列表。 分页查询使用的参数为marker、limit。marker和limit一起使用时才会生效,单独使用无效。
func (*CcClient) ListCloudConnections ¶
func (c *CcClient) ListCloudConnections(request *model.ListCloudConnectionsRequest) (*model.ListCloudConnectionsResponse, error)
查询云连接列表。 分页查询使用的参数为marker、limit。marker和limit一起使用时才会生效,单独使用无效。
func (*CcClient) ListNetworkInstances ¶
func (c *CcClient) ListNetworkInstances(request *model.ListNetworkInstancesRequest) (*model.ListNetworkInstancesResponse, error)
查询云连接列表。 分页查询使用的参数为marker、limit。marker和limit一起使用时才会生效,单独使用无效。
func (*CcClient) ShowCloudConnection ¶
func (c *CcClient) ShowCloudConnection(request *model.ShowCloudConnectionRequest) (*model.ShowCloudConnectionResponse, error)
查询云连接实例。
func (*CcClient) ShowCloudConnectionRoutes ¶
func (c *CcClient) ShowCloudConnectionRoutes(request *model.ShowCloudConnectionRoutesRequest) (*model.ShowCloudConnectionRoutesResponse, error)
查询云连接路由条目列表。 分页查询使用的参数为marker、limit。marker和limit一起使用时才会生效,单独使用无效。
func (*CcClient) ShowNetworkInstance ¶
func (c *CcClient) ShowNetworkInstance(request *model.ShowNetworkInstanceRequest) (*model.ShowNetworkInstanceResponse, error)
查询网络实例。
func (*CcClient) UpdateCloudConnection ¶
func (c *CcClient) UpdateCloudConnection(request *model.UpdateCloudConnectionRequest) (*model.UpdateCloudConnectionResponse, error)
更新云连接实例。
func (*CcClient) UpdateNetworkInstance ¶
func (c *CcClient) UpdateNetworkInstance(request *model.UpdateNetworkInstanceRequest) (*model.UpdateNetworkInstanceResponse, error)
更新网络实例。
Click to show internal directories.
Click to hide internal directories.