Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBucketObjectName ¶
func GetBucketObjectName(svc *runtime.ServiceRuntime, bucket *appcatv1.ObjectBucket, resName string, obj resource.Managed) string
GetBucketObjectName ensures that the right object name is chosen. Legacy buckets where created with wrong object names that break nested services. This logic returns the new naming scheme, if there's no existing bucket CR. If there's already a CR it will simply return it's name. The `obj` parameter should always be a deepCopy of the original, otherwise the pointer in the calling function will have all the fields populated. Which can lead to unexpected side effects.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.