Improve the UT coverage of cmd/higress. (#142)

This commit is contained in:
Kent Dong
2023-01-23 16:35:41 +08:00
committed by GitHub
parent 9593cb7340
commit 4fb9efe3bf
6 changed files with 101 additions and 4 deletions

View File

@@ -107,6 +107,11 @@ type ServerArgs struct {
type readinessProbe func() (bool, error)
type ServerInterface interface {
Start(stop <-chan struct{}) error
WaitUntilCompletion()
}
type Server struct {
*ServerArgs
environment *model.Environment