1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-04 16:50:41 +00:00

Add CustomizeSchemas builder hook

This commit is contained in:
Darren Shepherd
2018-11-09 10:05:15 -07:00
parent dec9be08bb
commit d98c0db62b
2 changed files with 11 additions and 4 deletions

View File

@@ -35,10 +35,11 @@ type Config struct {
Threadiness int
K3s K3sConfig
GlobalSetup func(context.Context) (context.Context, error)
MasterSetup func(context.Context) (context.Context, error)
PreStart func(context.Context) error
APISetup func(context.Context, *api.Server) error
CustomizeSchemas func(context.Context, proxy.ClientGetter, *types.Schemas) error
GlobalSetup func(context.Context) (context.Context, error)
MasterSetup func(context.Context) (context.Context, error)
PreStart func(context.Context) error
APISetup func(context.Context, *api.Server) error
PerServerControllers []ControllerRegister
MasterControllers []ControllerRegister