Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudServerClientInterface ¶
type CloudServerClientInterface interface { // cloud account CreateAccount(ctx context.Context, h http.Header, data map[string]interface{}) (resp *metadata.Response, err error) SearchAccount(ctx context.Context, h http.Header, data map[string]interface{}) (resp *metadata.SearchResp, err error) UpdateAccount(ctx context.Context, h http.Header, accountID int64, data map[string]interface{}) (resp *metadata.Response, err error) DeleteAccount(ctx context.Context, h http.Header, accountID int64) (resp *metadata.Response, err error) CreateSyncTask(ctx context.Context, h http.Header, data map[string]interface{}) (resp *metadata.Response, err error) SearchSyncTask(ctx context.Context, h http.Header, data map[string]interface{}) (resp *metadata.SearchResp, err error) UpdateSyncTask(ctx context.Context, h http.Header, taskID int64, data map[string]interface{}) (resp *metadata.Response, err error) DeleteSyncTask(ctx context.Context, h http.Header, taskID int64) (resp *metadata.Response, err error) SearchSyncHistory(ctx context.Context, h http.Header, data map[string]interface{}) (resp *metadata.SearchResp, err error) SearchSyncRegion(ctx context.Context, h http.Header, data map[string]interface{}) (resp *metadata.SearchResp, err error) }
func NewCloudServerClientInterface ¶
func NewCloudServerClientInterface(c *util.Capability, version string) CloudServerClientInterface
Click to show internal directories.
Click to hide internal directories.