FormatWorkloadIdentityEmail formats a workload identity email from email.
(email string)
| 707 | |
| 708 | // FormatWorkloadIdentityEmail formats a workload identity email from email. |
| 709 | func FormatWorkloadIdentityEmail(email string) string { |
| 710 | return fmt.Sprintf("%s%s", WorkloadIdentityNamePrefix, email) |
| 711 | } |
| 712 | |
| 713 | // GetServiceAccountEmail extracts email from a service account resource name. |
| 714 | func GetServiceAccountEmail(name string) (string, error) { |
no outgoing calls
no test coverage detected