MCPcopy
hub / github.com/helm/helm / MockSecretsInterface

Struct MockSecretsInterface

pkg/storage/driver/mock_test.go:184–188  ·  view source on GitHub ↗

MockSecretsInterface mocks a kubernetes SecretsInterface

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected