The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/pkg/services/publicdashboards/public_dashboard_middleware...

47 lines
1.5 KiB

// Code generated by mockery v2.36.1. DO NOT EDIT.
package publicdashboards
import (
contextmodel "github.com/grafana/grafana/pkg/services/contexthandler/model"
mock "github.com/stretchr/testify/mock"
)
// FakePublicDashboardMiddleware is an autogenerated mock type for the Middleware type
type FakePublicDashboardMiddleware struct {
mock.Mock
}
// HandleAccessView provides a mock function with given fields: c
func (_m *FakePublicDashboardMiddleware) HandleAccessView(c *contextmodel.ReqContext) {
_m.Called(c)
}
// HandleApi provides a mock function with given fields: c
func (_m *FakePublicDashboardMiddleware) HandleApi(c *contextmodel.ReqContext) {
_m.Called(c)
}
// HandleConfirmAccessView provides a mock function with given fields: c
func (_m *FakePublicDashboardMiddleware) HandleConfirmAccessView(c *contextmodel.ReqContext) {
_m.Called(c)
}
// HandleView provides a mock function with given fields: c
func (_m *FakePublicDashboardMiddleware) HandleView(c *contextmodel.ReqContext) {
_m.Called(c)
}
// NewFakePublicDashboardMiddleware creates a new instance of FakePublicDashboardMiddleware. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewFakePublicDashboardMiddleware(t interface {
mock.TestingT
Cleanup(func())
}) *FakePublicDashboardMiddleware {
mock := &FakePublicDashboardMiddleware{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}