Documentation ¶
Index ¶
- Constants
- func ProcessPVCMap(pvcString string) (map[string]string, error)
- func RenamePVCs(volumes []v1.Volume, PVCRenameMap map[string]string, path string) (jsonpatch.Patch, error)
- func UpdateImage(containerImagePath, updatedImagePath string) (jsonpatch.Patch, error)
- func UpdateImageRegistry(registryReplacements map[string]string, oldImageName string) (string, bool)
Constants ¶
View Source
const ( PVCPathCronJobString = "/spec/jobTemplate/spec/template/spec/volumes/%d/persistentVolumeClaim/claimName" PVCPathPodString = "/spec/volumes/%d/persistentVolumeClaim/claimName" PVCPathGenericString = "/spec/template/spec/volumes/%d/persistentVolumeClaim/claimName" PVCPathTemplateString = "/spec/volumeClaimTemplates/%d/metadata/name" )
Variables ¶
This section is empty.
Functions ¶
func ProcessPVCMap ¶ added in v0.0.8
func RenamePVCs ¶ added in v0.0.8
func UpdateImage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.