(strlen int)
| 186 | } |
| 187 | |
| 188 | func randomString(strlen int) string { |
| 189 | const chars = "abcdefghijklmnopqrstuvwxyz0123456789" |
| 190 | result := make([]byte, strlen) |
| 191 | for i := 0; i < strlen; i++ { |
| 192 | result[i] = chars[rand.Intn(len(chars))] |
| 193 | } |
| 194 | return string(result) |
| 195 | } |
| 196 | |
| 197 | func createSecret(name string) *kube.Secret { |
| 198 | return &kube.Secret{ |
no outgoing calls
no test coverage detected