MCPcopy Create free account
hub / github.com/cloudbase/garm / SetPasswordGeneration

Function SetPasswordGeneration

auth/context.go:241–243  ·  view source on GitHub ↗
(ctx context.Context, val uint)

Source from the content-addressed store, hash-verified

239}
240
241func SetPasswordGeneration(ctx context.Context, val uint) context.Context {
242 return context.WithValue(ctx, passwordGenerationFlag, val)
243}
244
245func PasswordGeneration(ctx context.Context) uint {
246 elem := ctx.Value(passwordGenerationFlag)

Callers 1

PopulateContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected