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

Function SetInstancePoolID

auth/context.go:152–154  ·  view source on GitHub ↗
(ctx context.Context, val string)

Source from the content-addressed store, hash-verified

150}
151
152func SetInstancePoolID(ctx context.Context, val string) context.Context {
153 return context.WithValue(ctx, instancePoolIDKey, val)
154}
155
156func InstancePoolID(ctx context.Context) string {
157 elem := ctx.Value(instancePoolIDKey)

Callers 1

PopulateInstanceContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected