(name string)
| 195 | } |
| 196 | |
| 197 | func createSecret(name string) *kube.Secret { |
| 198 | return &kube.Secret{ |
| 199 | ObjectMeta: kube.ObjectMeta{Name: name}, |
| 200 | |
| 201 | Type: kube.SecretTypeOpaque, |
| 202 | Data: map[string][]byte{randomString(10): []byte(randomString(80))}, |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | // testRandomObjects returns a slice of randomly generated objects. If it is called with an object |
| 207 | // count of 0, a random number of slices (with an upper bound of 100) will be generated. |
no test coverage detected