mockfrontend

package
v1.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLimits

type MockLimits struct {
	mock.Mock
}

MockLimits is an autogenerated mock type for the Limits type

func NewMockLimits

func NewMockLimits(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockLimits

NewMockLimits creates a new instance of MockLimits. 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 (*MockLimits) EXPECT

func (_m *MockLimits) EXPECT() *MockLimits_Expecter

func (*MockLimits) MaxFlameGraphNodesDefault

func (_m *MockLimits) MaxFlameGraphNodesDefault(_a0 string) int

MaxFlameGraphNodesDefault provides a mock function with given fields: _a0

func (*MockLimits) MaxFlameGraphNodesMax

func (_m *MockLimits) MaxFlameGraphNodesMax(_a0 string) int

MaxFlameGraphNodesMax provides a mock function with given fields: _a0

func (*MockLimits) MaxFlameGraphNodesOnSelectMergeProfile added in v1.15.0

func (_m *MockLimits) MaxFlameGraphNodesOnSelectMergeProfile(_a0 string) bool

MaxFlameGraphNodesOnSelectMergeProfile provides a mock function with given fields: _a0

func (*MockLimits) MaxQueryLength

func (_m *MockLimits) MaxQueryLength(tenantID string) time.Duration

MaxQueryLength provides a mock function with given fields: tenantID

func (*MockLimits) MaxQueryLookback

func (_m *MockLimits) MaxQueryLookback(tenantID string) time.Duration

MaxQueryLookback provides a mock function with given fields: tenantID

func (*MockLimits) MaxQueryParallelism

func (_m *MockLimits) MaxQueryParallelism(_a0 string) int

MaxQueryParallelism provides a mock function with given fields: _a0

func (*MockLimits) QueryAnalysisEnabled

func (_m *MockLimits) QueryAnalysisEnabled(_a0 string) bool

QueryAnalysisEnabled provides a mock function with given fields: _a0

func (*MockLimits) QuerySanitizeOnMerge added in v1.15.0

func (_m *MockLimits) QuerySanitizeOnMerge(_a0 string) bool

QuerySanitizeOnMerge provides a mock function with given fields: _a0

func (*MockLimits) QuerySplitDuration

func (_m *MockLimits) QuerySplitDuration(_a0 string) time.Duration

QuerySplitDuration provides a mock function with given fields: _a0

func (*MockLimits) SymbolizerEnabled added in v1.14.0

func (_m *MockLimits) SymbolizerEnabled(_a0 string) bool

SymbolizerEnabled provides a mock function with given fields: _a0

type MockLimits_Expecter

type MockLimits_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockLimits_Expecter) MaxFlameGraphNodesDefault

func (_e *MockLimits_Expecter) MaxFlameGraphNodesDefault(_a0 interface{}) *MockLimits_MaxFlameGraphNodesDefault_Call

MaxFlameGraphNodesDefault is a helper method to define mock.On call

  • _a0 string

func (*MockLimits_Expecter) MaxFlameGraphNodesMax

func (_e *MockLimits_Expecter) MaxFlameGraphNodesMax(_a0 interface{}) *MockLimits_MaxFlameGraphNodesMax_Call

MaxFlameGraphNodesMax is a helper method to define mock.On call

  • _a0 string

func (*MockLimits_Expecter) MaxFlameGraphNodesOnSelectMergeProfile added in v1.15.0

func (_e *MockLimits_Expecter) MaxFlameGraphNodesOnSelectMergeProfile(_a0 interface{}) *MockLimits_MaxFlameGraphNodesOnSelectMergeProfile_Call

MaxFlameGraphNodesOnSelectMergeProfile is a helper method to define mock.On call

  • _a0 string

func (*MockLimits_Expecter) MaxQueryLength

func (_e *MockLimits_Expecter) MaxQueryLength(tenantID interface{}) *MockLimits_MaxQueryLength_Call

MaxQueryLength is a helper method to define mock.On call

  • tenantID string

func (*MockLimits_Expecter) MaxQueryLookback

func (_e *MockLimits_Expecter) MaxQueryLookback(tenantID interface{}) *MockLimits_MaxQueryLookback_Call

MaxQueryLookback is a helper method to define mock.On call

  • tenantID string

func (*MockLimits_Expecter) MaxQueryParallelism

func (_e *MockLimits_Expecter) MaxQueryParallelism(_a0 interface{}) *MockLimits_MaxQueryParallelism_Call

MaxQueryParallelism is a helper method to define mock.On call

  • _a0 string

func (*MockLimits_Expecter) QueryAnalysisEnabled

func (_e *MockLimits_Expecter) QueryAnalysisEnabled(_a0 interface{}) *MockLimits_QueryAnalysisEnabled_Call

QueryAnalysisEnabled is a helper method to define mock.On call

  • _a0 string

func (*MockLimits_Expecter) QuerySanitizeOnMerge added in v1.15.0

func (_e *MockLimits_Expecter) QuerySanitizeOnMerge(_a0 interface{}) *MockLimits_QuerySanitizeOnMerge_Call

QuerySanitizeOnMerge is a helper method to define mock.On call

  • _a0 string

func (*MockLimits_Expecter) QuerySplitDuration

func (_e *MockLimits_Expecter) QuerySplitDuration(_a0 interface{}) *MockLimits_QuerySplitDuration_Call

QuerySplitDuration is a helper method to define mock.On call

  • _a0 string

func (*MockLimits_Expecter) SymbolizerEnabled added in v1.14.0

func (_e *MockLimits_Expecter) SymbolizerEnabled(_a0 interface{}) *MockLimits_SymbolizerEnabled_Call

SymbolizerEnabled is a helper method to define mock.On call

  • _a0 string

type MockLimits_MaxFlameGraphNodesDefault_Call

type MockLimits_MaxFlameGraphNodesDefault_Call struct {
	*mock.Call
}

MockLimits_MaxFlameGraphNodesDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaxFlameGraphNodesDefault'

func (*MockLimits_MaxFlameGraphNodesDefault_Call) Return

func (*MockLimits_MaxFlameGraphNodesDefault_Call) Run

func (*MockLimits_MaxFlameGraphNodesDefault_Call) RunAndReturn

type MockLimits_MaxFlameGraphNodesMax_Call

type MockLimits_MaxFlameGraphNodesMax_Call struct {
	*mock.Call
}

MockLimits_MaxFlameGraphNodesMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaxFlameGraphNodesMax'

func (*MockLimits_MaxFlameGraphNodesMax_Call) Return

func (*MockLimits_MaxFlameGraphNodesMax_Call) Run

func (*MockLimits_MaxFlameGraphNodesMax_Call) RunAndReturn

type MockLimits_MaxFlameGraphNodesOnSelectMergeProfile_Call added in v1.15.0

type MockLimits_MaxFlameGraphNodesOnSelectMergeProfile_Call struct {
	*mock.Call
}

MockLimits_MaxFlameGraphNodesOnSelectMergeProfile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaxFlameGraphNodesOnSelectMergeProfile'

func (*MockLimits_MaxFlameGraphNodesOnSelectMergeProfile_Call) Return added in v1.15.0

func (*MockLimits_MaxFlameGraphNodesOnSelectMergeProfile_Call) Run added in v1.15.0

func (*MockLimits_MaxFlameGraphNodesOnSelectMergeProfile_Call) RunAndReturn added in v1.15.0

type MockLimits_MaxQueryLength_Call

type MockLimits_MaxQueryLength_Call struct {
	*mock.Call
}

MockLimits_MaxQueryLength_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaxQueryLength'

func (*MockLimits_MaxQueryLength_Call) Return

func (*MockLimits_MaxQueryLength_Call) Run

func (*MockLimits_MaxQueryLength_Call) RunAndReturn

type MockLimits_MaxQueryLookback_Call

type MockLimits_MaxQueryLookback_Call struct {
	*mock.Call
}

MockLimits_MaxQueryLookback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaxQueryLookback'

func (*MockLimits_MaxQueryLookback_Call) Return

func (*MockLimits_MaxQueryLookback_Call) Run

func (*MockLimits_MaxQueryLookback_Call) RunAndReturn

type MockLimits_MaxQueryParallelism_Call

type MockLimits_MaxQueryParallelism_Call struct {
	*mock.Call
}

MockLimits_MaxQueryParallelism_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaxQueryParallelism'

func (*MockLimits_MaxQueryParallelism_Call) Return

func (*MockLimits_MaxQueryParallelism_Call) Run

func (*MockLimits_MaxQueryParallelism_Call) RunAndReturn

type MockLimits_QueryAnalysisEnabled_Call

type MockLimits_QueryAnalysisEnabled_Call struct {
	*mock.Call
}

MockLimits_QueryAnalysisEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryAnalysisEnabled'

func (*MockLimits_QueryAnalysisEnabled_Call) Return

func (*MockLimits_QueryAnalysisEnabled_Call) Run

func (*MockLimits_QueryAnalysisEnabled_Call) RunAndReturn

type MockLimits_QuerySanitizeOnMerge_Call added in v1.15.0

type MockLimits_QuerySanitizeOnMerge_Call struct {
	*mock.Call
}

MockLimits_QuerySanitizeOnMerge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QuerySanitizeOnMerge'

func (*MockLimits_QuerySanitizeOnMerge_Call) Return added in v1.15.0

func (*MockLimits_QuerySanitizeOnMerge_Call) Run added in v1.15.0

func (*MockLimits_QuerySanitizeOnMerge_Call) RunAndReturn added in v1.15.0

type MockLimits_QuerySplitDuration_Call

type MockLimits_QuerySplitDuration_Call struct {
	*mock.Call
}

MockLimits_QuerySplitDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QuerySplitDuration'

func (*MockLimits_QuerySplitDuration_Call) Return

func (*MockLimits_QuerySplitDuration_Call) Run

func (*MockLimits_QuerySplitDuration_Call) RunAndReturn

type MockLimits_SymbolizerEnabled_Call added in v1.14.0

type MockLimits_SymbolizerEnabled_Call struct {
	*mock.Call
}

MockLimits_SymbolizerEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SymbolizerEnabled'

func (*MockLimits_SymbolizerEnabled_Call) Return added in v1.14.0

func (*MockLimits_SymbolizerEnabled_Call) Run added in v1.14.0

func (*MockLimits_SymbolizerEnabled_Call) RunAndReturn added in v1.14.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL