Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶ added in v0.0.11
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶ added in v0.0.11
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) EXPECT ¶ added in v0.0.11
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetBaseURL ¶ added in v0.0.11
func (m *MockClient) GetBaseURL() string
GetBaseURL mocks base method.
func (*MockClient) GetNetworks ¶ added in v0.0.11
func (m *MockClient) GetNetworks(ctx context.Context) ([]string, error)
GetNetworks mocks base method.
func (*MockClient) Query ¶ added in v0.0.11
func (m *MockClient) Query(ctx context.Context, query string) (*grafana.QueryResponse, error)
Query mocks base method.
type MockClientMockRecorder ¶ added in v0.0.11
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) GetBaseURL ¶ added in v0.0.11
func (mr *MockClientMockRecorder) GetBaseURL() *gomock.Call
GetBaseURL indicates an expected call of GetBaseURL.
func (*MockClientMockRecorder) GetNetworks ¶ added in v0.0.11
func (mr *MockClientMockRecorder) GetNetworks(ctx any) *gomock.Call
GetNetworks indicates an expected call of GetNetworks.
Click to show internal directories.
Click to hide internal directories.