GenerateWorkloadNamePattern generates the workload name pattern
(clusterName, compName string)
| 90 | |
| 91 | // GenerateWorkloadNamePattern generates the workload name pattern |
| 92 | func GenerateWorkloadNamePattern(clusterName, compName string) string { |
| 93 | return fmt.Sprintf("%s-%s", clusterName, compName) |
| 94 | } |
| 95 | |
| 96 | // GeneratePodName generates the connection credential name for component. |
| 97 | func GeneratePodName(clusterName, compName string, ordinal int) string { |
no outgoing calls
no test coverage detected
searching dependent graphs…