MCPcopy Create free account
hub / github.com/docker/secrets-engine / Valid

Method Valid

plugin/stub.go:51–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49)
50
51func (c *Config) Valid() error {
52 if c.Version == nil {
53 return errors.New("version is required")
54 }
55 if c.Pattern == nil {
56 return errors.New("pattern is required")
57 }
58 return nil
59}
60
61// New creates a stub with the given plugin and options.
62// ManualLaunchOption only apply when the plugin is launched manually.

Callers 1

NewFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected