Implement syncVolume.

This commit is contained in:
Jan Safranek
2016-05-17 14:55:11 +02:00
parent 0be1512f1c
commit f4f252e81c
3 changed files with 303 additions and 7 deletions

View File

@@ -244,3 +244,7 @@ func (c byAccessModes) Len() int {
func claimToClaimKey(claim *api.PersistentVolumeClaim) string {
return fmt.Sprintf("%s/%s", claim.Namespace, claim.Name)
}
func claimrefToClaimKey(claimref *api.ObjectReference) string {
return fmt.Sprintf("%s/%s", claimref.Namespace, claimref.Name)
}