Documentation ¶
Index ¶
- type HealthCheck
- func (_m *HealthCheck) PluginHealthCheck(ctx context.Context, gClient v1.PluginClient, plugin config.Plugin, ...) (types.AliveStatus, error)
- func (_m *HealthCheck) PluginStatus(ctx context.Context) []types.PluginStatus
- func (_m *HealthCheck) VATZHealthCheck(schedule []string, _a1 []dispatcher.Dispatcher) error
- type MockPluginClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheck ¶
HealthCheck is an autogenerated mock type for the HealthCheck type
func NewHealthCheck ¶
func NewHealthCheck(t mockConstructorTestingTNewHealthCheck) *HealthCheck
NewHealthCheck creates a new instance of HealthCheck. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*HealthCheck) PluginHealthCheck ¶
func (_m *HealthCheck) PluginHealthCheck(ctx context.Context, gClient v1.PluginClient, plugin config.Plugin, _a3 []dispatcher.Dispatcher) (types.AliveStatus, error)
PluginHealthCheck provides a mock function with given fields: ctx, gClient, plugin, _a3
func (*HealthCheck) PluginStatus ¶
func (_m *HealthCheck) PluginStatus(ctx context.Context) []types.PluginStatus
PluginStatus provides a mock function with given fields: ctx
func (*HealthCheck) VATZHealthCheck ¶
func (_m *HealthCheck) VATZHealthCheck(schedule []string, _a1 []dispatcher.Dispatcher) error
VATZHealthCheck provides a mock function with given fields: schedule, _a1
type MockPluginClient ¶
MockPluginClient is mock object for grpc client of VATZ.
func (*MockPluginClient) Execute ¶
func (c *MockPluginClient) Execute(ctx context.Context, in *pluginpb.ExecuteRequest, opts ...grpc.CallOption) (*pluginpb.ExecuteResponse, error)
func (*MockPluginClient) Verify ¶
func (c *MockPluginClient) Verify(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*pluginpb.VerifyInfo, error)
Click to show internal directories.
Click to hide internal directories.