K8s: Add APIGroupPostStartHookProvider (#97801)
This commit is contained in:
@@ -62,6 +62,11 @@ type APIGroupRouteProvider interface {
|
||||
GetAPIRoutes() *APIRoutes
|
||||
}
|
||||
|
||||
type APIGroupPostStartHookProvider interface {
|
||||
// GetPostStartHooks returns a list of functions that will be called after the server has started
|
||||
GetPostStartHooks() (map[string]genericapiserver.PostStartHookFunc, error)
|
||||
}
|
||||
|
||||
type APIGroupOptions struct {
|
||||
Scheme *runtime.Scheme
|
||||
OptsGetter generic.RESTOptionsGetter
|
||||
|
||||
Reference in New Issue
Block a user