MCPcopy
hub / github.com/kubevela/kubevela / PreStartHook

Interface PreStartHook

cmd/core/app/hooks/pre_start_hook.go:39–41  ·  view source on GitHub ↗

PreStartHook hook that should be run before controller start working

Source from the content-addressed store, hash-verified

37
38// PreStartHook hook that should be run before controller start working
39type PreStartHook interface {
40 Run(ctx context.Context) error
41}
42
43// SystemCRDValidationHook checks if the crd in the system are valid to run the current controller
44type SystemCRDValidationHook struct {

Callers 2

prepareRunFunction · 0.65

Implementers 15

GenMetapkg/definition/gen_sdk/gen_sdk.go
MockRunnerpkg/builtin/registry/registry_runner_t
HTTPCmdpkg/builtin/http/http.go
SystemCRDValidationHookcmd/core/app/hooks/pre_start_hook.go
Argsreferences/cli/logs.go
UpCommandOptionsreferences/cli/up.go
KubeApplyOptionsreferences/cli/kube.go
KubeDeleteOptionsreferences/cli/kube.go
VelaPortForwardOptionsreferences/cli/portforward.go
DeleteOptionsreferences/cli/delete.go
GenKubeConfigOptionsreferences/cli/auth.go
ListPrivilegesOptionsreferences/cli/auth.go

Calls

no outgoing calls

Tested by

no test coverage detected