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

Function validateConfig

pkg/credentials/manager/manager.go:58–60  ·  view source on GitHub ↗
(msg protoreflect.ProtoMessage)

Source from the content-addressed store, hash-verified

56}
57
58func validateConfig(msg protoreflect.ProtoMessage) error {
59 return protovalidate.Validate(msg)
60}
61
62func newAzureKBManager(conf *api.Credentials_AzureKeyVault, prefix string, r credentials.Role, l log.Logger) (*azurekv.Manager, error) {
63 if err := validateConfig(conf); err != nil {

Callers 4

newAzureKBManagerFunction · 0.85
newAWSCredentialsManagerFunction · 0.85
newGCPCredentialsManagerFunction · 0.85

Calls 1

ValidateMethod · 0.45

Tested by

no test coverage detected