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

Function isNotImplicitReadFromStdinSyntax

plugins/pass/commands/set.go:128–130  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

126}
127
128func isNotImplicitReadFromStdinSyntax(args []string) bool {
129 return strings.Contains(args[0], "=") || len(args) > 1
130}
131
132func secretMappingFromSTDIN(ctx context.Context, reader io.Reader, id string) (*secret, error) {
133 data, err := readAllWithContext(ctx, reader)

Callers 1

SetCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected