Documentation
¶
Index ¶
- func AWSCreateS3CloudCredential(conn *grpc.ClientConn, credName string, bucketName string, accessKey string, ...) (credID string, errorFound error)
- func AWSDeleteS3CloudCredential(conn *grpc.ClientConn, credentialId string) error
- func AWSInspectS3CloudCredential(conn *grpc.ClientConn, credentialId string) (credResponse *api.SdkCredentialInspectResponse, errorFound error)
- func AWSValidateS3CloudCredential(conn *grpc.ClientConn, credentialId string) error
- func AllCloudSnapsCluster(conn *grpc.ClientConn) (cloudSnaps map[string]map[string][]*api.SdkCloudBackupInfo, errorFound error)
- func CloudSnapHistory(conn *grpc.ClientConn, volumeName string)
- func CreateCloudSnap(conn *grpc.ClientConn, volumeID string, credentialID string) (taskID string, errorFound error)
- func CreateLocalSnap(conn *grpc.ClientConn, volumeID string) (snapID string, errorFound error)
- func DeleteCloudSnap(conn *grpc.ClientConn, cloudSnapID string) (errorFound error)
- func GetCloudSnaps(conn *grpc.ClientConn, volumeID string, CredIDsList []string) (cloudSnapsMap map[string][]*api.SdkCloudBackupInfo, errorFound error)
- func GetSpecificCloudSnapshot(conn *grpc.ClientConn, cloudSnapID string, credentialID string) (cloudSnap *api.SdkCloudBackupInfo, errorFound error)
- func ListCloudCredentialIDs(conn *grpc.ClientConn) (CredIds []string, errorFound error)
- func StatusCloudSnap(conn *grpc.ClientConn, volumeID string) (jsonStatus string, errorFound error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AWSCreateS3CloudCredential ¶
func AWSCreateS3CloudCredential(conn *grpc.ClientConn, credName string, bucketName string, accessKey string, secretKey string, endPoint string, region string, sslDisabled bool, iamPolicyEnabled bool) (credID string, errorFound error)
AWSCreateS3CloudCredential creates a new AWS S3 Cloud credential
func AWSDeleteS3CloudCredential ¶
func AWSDeleteS3CloudCredential(conn *grpc.ClientConn, credentialId string) error
AWSDeleteS3CloudCredentials deletes an AWS S3 Cloud credential
func AWSInspectS3CloudCredential ¶
func AWSInspectS3CloudCredential(conn *grpc.ClientConn, credentialId string) (credResponse *api.SdkCredentialInspectResponse, errorFound error)
AWSInspectS3CloudCredential inspects the given an AWS S3 Cloud credential
func AWSValidateS3CloudCredential ¶
func AWSValidateS3CloudCredential(conn *grpc.ClientConn, credentialId string) error
AWSValidateS3CloudCredential validates the given an AWS S3 Cloud credential
func AllCloudSnapsCluster ¶
func AllCloudSnapsCluster(conn *grpc.ClientConn) (cloudSnaps map[string]map[string][]*api.SdkCloudBackupInfo, errorFound error)
AllCloudSnapsCluster retrieves all the cloud snapshots of all the volumes in the Portworx cluster
func CloudSnapHistory ¶
func CloudSnapHistory(conn *grpc.ClientConn, volumeName string)
CloudSnapHistory gets the history of a cloud snapshot
func CreateCloudSnap ¶
func CreateCloudSnap(conn *grpc.ClientConn, volumeID string, credentialID string) (taskID string, errorFound error)
CreateCloudSnap creates a cloud snapshot
func CreateLocalSnap ¶
func CreateLocalSnap(conn *grpc.ClientConn, volumeID string) (snapID string, errorFound error)
CreateLocalSnap creates a local snapshot of a volume
func DeleteCloudSnap ¶
func DeleteCloudSnap(conn *grpc.ClientConn, cloudSnapID string) (errorFound error)
DeleteCloudSnap deletes a cloud snapshot
func GetCloudSnaps ¶
func GetCloudSnaps(conn *grpc.ClientConn, volumeID string, CredIDsList []string) (cloudSnapsMap map[string][]*api.SdkCloudBackupInfo, errorFound error)
GetCloudSnaps gets the cloud snapshots of a volume, concurrently
func GetSpecificCloudSnapshot ¶
func GetSpecificCloudSnapshot(conn *grpc.ClientConn, cloudSnapID string, credentialID string) (cloudSnap *api.SdkCloudBackupInfo, errorFound error)
GetSpecificCloudSnapshot gets a specific cloud snapshot having the CloudSnap ID
func ListCloudCredentialIDs ¶
func ListCloudCredentialIDs(conn *grpc.ClientConn) (CredIds []string, errorFound error)
ListCloudCredentialIDs lists all the cloud credentials ids in the cluster
func StatusCloudSnap ¶
func StatusCloudSnap(conn *grpc.ClientConn, volumeID string) (jsonStatus string, errorFound error)
StatusCloudSnap gets the status of a cloud snapshot
Types ¶
This section is empty.