MCPcopy
hub / github.com/keploy/keploy / Secret

Interface Secret

pkg/models/config.go:14–16  ·  view source on GitHub ↗

Secret interface for types that support secret configuration.

Source from the content-addressed store, hash-verified

12
13// Secret interface for types that support secret configuration.
14type Secret interface {
15 SetSecrets(secrets map[string]interface{})
16}
17
18func (ts *TestSet) SetSecrets(secrets map[string]interface{}) {
19 ts.Secret = secrets

Callers 1

ReadMethod · 0.65

Implementers 2

MockSecretpkg/models/mock_Secret.go
TestSetpkg/models/config.go

Calls

no outgoing calls

Tested by

no test coverage detected