Remove sandox store and controller service type
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
parent
a788f6c799
commit
34314717b0
@ -192,6 +192,9 @@ func WithInMemoryServices(ic *plugin.InitContext) ClientOpt {
|
||||
plugin.SandboxStorePlugin: func(i interface{}) ServicesOpt {
|
||||
return WithSandboxStore(i.(sandbox.Store))
|
||||
},
|
||||
plugin.SandboxControllerPlugin: func(i interface{}) ServicesOpt {
|
||||
return WithSandboxController(i.(sandbox.Controller))
|
||||
},
|
||||
} {
|
||||
i, err := ic.Get(t)
|
||||
if err != nil {
|
||||
@ -229,9 +232,6 @@ func WithInMemoryServices(ic *plugin.InitContext) ClientOpt {
|
||||
srv.IntrospectionService: func(s interface{}) ServicesOpt {
|
||||
return WithIntrospectionClient(s.(introspectionapi.IntrospectionClient))
|
||||
},
|
||||
srv.SandboxControllerService: func(s interface{}) ServicesOpt {
|
||||
return WithSandboxController(s.(sandbox.Controller))
|
||||
},
|
||||
} {
|
||||
p := plugins[s]
|
||||
if p == nil {
|
||||
|
@ -33,10 +33,6 @@ const (
|
||||
DiffService = "diff-service"
|
||||
// IntrospectionService is the id of introspection service
|
||||
IntrospectionService = "introspection-service"
|
||||
// SandboxControllerService is the id of Sandbox's controller service
|
||||
SandboxControllerService = "sandbox-controller-service"
|
||||
// SandboxStoreService is the id of Sandbox's store service
|
||||
SandboxStoreService = "sandbox-store-service"
|
||||
// Streaming service is the id of the streaming service
|
||||
StreamingService = "streaming-service"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user