snapshots

package
v0.0.0-...-bcb6836 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL