mirror of
https://github.com/alibaba/higress.git
synced 2026-03-16 08:20:45 +08:00
Improve the UT coverage of cmd/higress. (#142)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user