Documentation ¶
Overview ¶
Package cloudclientmocks is a generated GoMock package.
Index ¶
- type MockCloudClient
- func (m *MockCloudClient) EXPECT() *MockCloudClientMockRecorder
- func (m *MockCloudClient) ReportComponentStatus(ctx context.Context, component cloudclient.ComponentType) error
- func (m *MockCloudClient) ReportDiscoveredIntents(ctx context.Context, intents []*cloudclient.DiscoveredIntentInput) error
- func (m *MockCloudClient) ReportExternalTrafficDiscoveredIntents(ctx context.Context, ...) error
- func (m *MockCloudClient) ReportIncomingTrafficDiscoveredIntents(ctx context.Context, ...) error
- func (m *MockCloudClient) ReportK8sIngresses(ctx context.Context, namespace string, ingresses []cloudclient.K8sIngressInput) error
- func (m *MockCloudClient) ReportK8sServices(ctx context.Context, namespace string, services []cloudclient.K8sServiceInput) error
- type MockCloudClientMockRecorder
- func (mr *MockCloudClientMockRecorder) ReportComponentStatus(ctx, component interface{}) *gomock.Call
- func (mr *MockCloudClientMockRecorder) ReportDiscoveredIntents(ctx, intents interface{}) *gomock.Call
- func (mr *MockCloudClientMockRecorder) ReportExternalTrafficDiscoveredIntents(ctx, intents interface{}) *gomock.Call
- func (mr *MockCloudClientMockRecorder) ReportIncomingTrafficDiscoveredIntents(ctx, intents interface{}) *gomock.Call
- func (mr *MockCloudClientMockRecorder) ReportK8sIngresses(ctx, namespace, ingresses interface{}) *gomock.Call
- func (mr *MockCloudClientMockRecorder) ReportK8sServices(ctx, namespace, services interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCloudClient ¶
type MockCloudClient struct {
// contains filtered or unexported fields
}
MockCloudClient is a mock of CloudClient interface.
func NewMockCloudClient ¶
func NewMockCloudClient(ctrl *gomock.Controller) *MockCloudClient
NewMockCloudClient creates a new mock instance.
func (*MockCloudClient) EXPECT ¶
func (m *MockCloudClient) EXPECT() *MockCloudClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCloudClient) ReportComponentStatus ¶
func (m *MockCloudClient) ReportComponentStatus(ctx context.Context, component cloudclient.ComponentType) error
ReportComponentStatus mocks base method.
func (*MockCloudClient) ReportDiscoveredIntents ¶
func (m *MockCloudClient) ReportDiscoveredIntents(ctx context.Context, intents []*cloudclient.DiscoveredIntentInput) error
ReportDiscoveredIntents mocks base method.
func (*MockCloudClient) ReportExternalTrafficDiscoveredIntents ¶
func (m *MockCloudClient) ReportExternalTrafficDiscoveredIntents(ctx context.Context, intents []cloudclient.ExternalTrafficDiscoveredIntentInput) error
ReportExternalTrafficDiscoveredIntents mocks base method.
func (*MockCloudClient) ReportIncomingTrafficDiscoveredIntents ¶
func (m *MockCloudClient) ReportIncomingTrafficDiscoveredIntents(ctx context.Context, intents []cloudclient.IncomingTrafficDiscoveredIntentInput) error
ReportIncomingTrafficDiscoveredIntents mocks base method.
func (*MockCloudClient) ReportK8sIngresses ¶
func (m *MockCloudClient) ReportK8sIngresses(ctx context.Context, namespace string, ingresses []cloudclient.K8sIngressInput) error
ReportK8sIngresses mocks base method.
func (*MockCloudClient) ReportK8sServices ¶
func (m *MockCloudClient) ReportK8sServices(ctx context.Context, namespace string, services []cloudclient.K8sServiceInput) error
ReportK8sServices mocks base method.
type MockCloudClientMockRecorder ¶
type MockCloudClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCloudClientMockRecorder is the mock recorder for MockCloudClient.
func (*MockCloudClientMockRecorder) ReportComponentStatus ¶
func (mr *MockCloudClientMockRecorder) ReportComponentStatus(ctx, component interface{}) *gomock.Call
ReportComponentStatus indicates an expected call of ReportComponentStatus.
func (*MockCloudClientMockRecorder) ReportDiscoveredIntents ¶
func (mr *MockCloudClientMockRecorder) ReportDiscoveredIntents(ctx, intents interface{}) *gomock.Call
ReportDiscoveredIntents indicates an expected call of ReportDiscoveredIntents.
func (*MockCloudClientMockRecorder) ReportExternalTrafficDiscoveredIntents ¶
func (mr *MockCloudClientMockRecorder) ReportExternalTrafficDiscoveredIntents(ctx, intents interface{}) *gomock.Call
ReportExternalTrafficDiscoveredIntents indicates an expected call of ReportExternalTrafficDiscoveredIntents.
func (*MockCloudClientMockRecorder) ReportIncomingTrafficDiscoveredIntents ¶
func (mr *MockCloudClientMockRecorder) ReportIncomingTrafficDiscoveredIntents(ctx, intents interface{}) *gomock.Call
ReportIncomingTrafficDiscoveredIntents indicates an expected call of ReportIncomingTrafficDiscoveredIntents.
func (*MockCloudClientMockRecorder) ReportK8sIngresses ¶
func (mr *MockCloudClientMockRecorder) ReportK8sIngresses(ctx, namespace, ingresses interface{}) *gomock.Call
ReportK8sIngresses indicates an expected call of ReportK8sIngresses.
func (*MockCloudClientMockRecorder) ReportK8sServices ¶
func (mr *MockCloudClientMockRecorder) ReportK8sServices(ctx, namespace, services interface{}) *gomock.Call
ReportK8sServices indicates an expected call of ReportK8sServices.