code: func (c *cinderPlugin) convertSnapshotStatus(status string) *[]crdv1.VolumeSnapshotCondition {
  	var snapConditions []crdv1.VolumeSnapshotCondition
  	if status == "available" {
  		snapConditions = []crdv1.VolumeSnapshotCondition{
  			{
  				Type:               crdv1.VolumeSnapshotConditionReady,
  				Status:             v1.ConditionTrue,
  				Message:            "Snapshot created successfully and it is ready",
  				LastTransitionTime: metav1.Now(),
  			},
  		}
  	} else if status == "creating" {
  		snapConditions = []crdv1.VolumeSnapshotCondition{
  			{
  				Type:               crdv1.VolumeSnapshotConditionPending,
  				Status:             v1.ConditionUnknown,
  				Message:            "Snapshot is being created",
  				LastTransitionTime: metav1.Now(),
  			},
  		}
  	} else {
  		snapConditions = []crdv1.VolumeSnapshotCondition{
  			{
  				Type:               crdv1.VolumeSnapshotConditionError,
  				Status:             v1.ConditionTrue,
  				Message:            "Snapshot creation failed",
  				LastTransitionTime: metav1.Now(),
  			},
  		}
  	}
  
  	return &snapConditions
  }
docs: // convertSnapshotStatus converts Cinder snapshot status to crdv1.VolumeSnapshotCondition