MockSecretsInterface mocks a kubernetes SecretsInterface
| 182 | |
| 183 | // MockSecretsInterface mocks a kubernetes SecretsInterface |
| 184 | type MockSecretsInterface struct { |
| 185 | corev1.SecretInterface |
| 186 | |
| 187 | objects map[string]*v1.Secret |
| 188 | } |
| 189 | |
| 190 | // Init initializes the MockSecretsInterface with the set of releases. |
| 191 | func (mock *MockSecretsInterface) Init(t *testing.T, releases ...*rspb.Release) { |
nothing calls this directly
no outgoing calls
no test coverage detected