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

Function PasswordGeneration

auth/context.go:245–251  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

243}
244
245func PasswordGeneration(ctx context.Context) uint {
246 elem := ctx.Value(passwordGenerationFlag)
247 if elem == nil {
248 return 0
249 }
250 return elem.(uint)
251}
252
253// SetFullName sets the user full name in the context
254func SetFullName(ctx context.Context, fullName string) context.Context {

Callers 2

NewClientFunction · 0.92
GetJWTTokenMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected