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

Function SetInstanceHasJITConfig

auth/context.go:99–101  ·  view source on GitHub ↗
(ctx context.Context, cfg map[string]string)

Source from the content-addressed store, hash-verified

97}
98
99func SetInstanceHasJITConfig(ctx context.Context, cfg map[string]string) context.Context {
100 return context.WithValue(ctx, instanceHasJITConfig, len(cfg) > 0)
101}
102
103func InstanceHasJITConfig(ctx context.Context) bool {
104 elem := ctx.Value(instanceHasJITConfig)

Calls

no outgoing calls