MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / strPtr

Function strPtr

pkg/credentials/azurekv/keyvault.go:188–190  ·  view source on GitHub ↗

string to pointer

(s string)

Source from the content-addressed store, hash-verified

186
187// string to pointer
188func strPtr(s string) *string {
189 return &s
190}
191
192func ValidateReaderClient(m *Manager, pathPrefix string) error {
193 // try to retrieve a non-existing key

Callers 4

SaveCredentialsMethod · 0.85
ValidateWriterClientFunction · 0.85
TestSaveCredentialsMethod · 0.85
TestReadCredentialsMethod · 0.85

Calls

no outgoing calls

Tested by 2

TestSaveCredentialsMethod · 0.68
TestReadCredentialsMethod · 0.68