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

Function InstanceHasJITConfig

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

Source from the content-addressed store, hash-verified

101}
102
103func InstanceHasJITConfig(ctx context.Context) bool {
104 elem := ctx.Value(instanceHasJITConfig)
105 if elem == nil {
106 return false
107 }
108 return elem.(bool)
109}
110
111func SetInstanceParams(ctx context.Context, instance params.Instance) context.Context {
112 return context.WithValue(ctx, instanceParams, instance)

Callers 2

GetJITConfigFileMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected