Documentation
¶
Index ¶
Constants ¶
View Source
const ( IndexResource = "resource" IndexRest = "rest" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FaultInjectionResult ¶
type FaultInjector ¶
type FaultInjector interface {
FaultInjectionRest(URL string, method string) (result *FaultInjectionResult)
FaultInjectionResource(namespace, apiGroup, resource, verb string) (result *FaultInjectionResult)
HandlerWrapper() func(http.Handler) http.Handler
}
type ManagerInterface ¶
type ManagerInterface interface {
FaultInjector
Sync(config *ctrlmeshproto.FaultInjection) (*ctrlmeshproto.FaultInjectConfigResp, error)
}
func NewManager ¶
func NewManager(ctx context.Context) ManagerInterface
Click to show internal directories.
Click to hide internal directories.