K8s: Move standalone apiserver CLI to enterprise (#93799)

This commit is contained in:
Ryan McKinley
2024-09-27 09:04:35 +03:00
committed by GitHub
parent e672796632
commit 87c81825b7
24 changed files with 63 additions and 924 deletions
+1 -1
View File
@@ -465,5 +465,5 @@ func InitializeModuleServer(cfg *setting.Cfg, opts Options, apiOpts api.ServerOp
// Initialize the standalone APIServer factory
func InitializeAPIServerFactory() (standalone.APIServerFactory, error) {
wire.Build(wireExtsStandaloneAPIServerSet)
return &standalone.DummyAPIFactory{}, nil // Wire will replace this with a real interface
return &standalone.NoOpAPIServerFactory{}, nil // Wire will replace this with a real interface
}
+1 -1
View File
@@ -141,5 +141,5 @@ var wireExtsModuleServerSet = wire.NewSet(
)
var wireExtsStandaloneAPIServerSet = wire.NewSet(
standalone.GetDummyAPIFactory,
standalone.ProvideAPIServerFactory,
)