MCPcopy Create free account
hub / github.com/aws/smithy-go / ClearStackValues

Function ClearStackValues

middleware/stack_values.go:20–22  ·  view source on GitHub ↗

ClearStackValues returns a context without any stack values.

(ctx context.Context)

Source from the content-addressed store, hash-verified

18
19// ClearStackValues returns a context without any stack values.
20func ClearStackValues(ctx context.Context) context.Context {
21 return context.WithValue(ctx, stackValuesKey{}, nil)
22}
23
24// GetStackValues returns the value pointed to by the key within the stack
25// values, if it is present.

Callers 1

TestStackValuesFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestStackValuesFunction · 0.68