Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
func (*APIClient) ApplyVolume ¶
type ApplyVolumeResp ¶
type ApplyVolumeResp struct {
BucketName string `json:"bucketName"`
Cloud string `json:"cloud"`
Condition Condition `json:"condition"`
Credentials Credentials `json:"credentials"`
Endpoint string `json:"endpoint"`
Region string `json:"region"`
UploadPath string `json:"uploadPath"`
VolumeName string `json:"volumeName"`
}
func (*ApplyVolumeResp) String ¶
func (a *ApplyVolumeResp) String() string
type Credentials ¶
type Credentials struct {
ExpireTime string `json:"expireTime"`
SessionToken string `json:"sessionToken"`
TmpAK string `json:"tmpAK"`
TmpSK string `json:"tmpSK"`
}
func (*Credentials) String ¶
func (cred *Credentials) String() string
type Destination ¶
type Destination struct {
ClusterID string `json:"clusterId"`
}
func (*Destination) String ¶
func (d *Destination) String() string
type Migrate ¶
type Migrate struct {
Source Source `json:"source"`
Destination Destination `json:"destination"`
}
type MigrateResp ¶
type MigrateResp struct {
JobID string `json:"jobId"`
}
Click to show internal directories.
Click to hide internal directories.