Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationGetter ¶
ApplicationGetter is an autogenerated mock type for the ApplicationGetter type
func NewApplicationGetter ¶
func NewApplicationGetter(t mockConstructorTestingTNewApplicationGetter) *ApplicationGetter
NewApplicationGetter creates a new instance of ApplicationGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ApplicationGetter) Get ¶
func (_m *ApplicationGetter) Get(ns string, name string) (*v1alpha1.Application, error)
Get provides a mock function with given fields: ns, name
type ExtensionMetricsRegistry ¶ added in v2.11.0
ExtensionMetricsRegistry is an autogenerated mock type for the ExtensionMetricsRegistry type
func NewExtensionMetricsRegistry ¶ added in v2.11.0
func NewExtensionMetricsRegistry(t interface { mock.TestingT Cleanup(func()) }) *ExtensionMetricsRegistry
NewExtensionMetricsRegistry creates a new instance of ExtensionMetricsRegistry. 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 (*ExtensionMetricsRegistry) IncExtensionRequestCounter ¶ added in v2.11.0
func (_m *ExtensionMetricsRegistry) IncExtensionRequestCounter(_a0 string, status int)
IncExtensionRequestCounter provides a mock function with given fields: _a0, status
func (*ExtensionMetricsRegistry) ObserveExtensionRequestDuration ¶ added in v2.11.0
func (_m *ExtensionMetricsRegistry) ObserveExtensionRequestDuration(_a0 string, duration time.Duration)
ObserveExtensionRequestDuration provides a mock function with given fields: _a0, duration
type ProjectGetter ¶ added in v2.7.0
ProjectGetter is an autogenerated mock type for the ProjectGetter type
func NewProjectGetter ¶ added in v2.7.0
func NewProjectGetter(t mockConstructorTestingTNewProjectGetter) *ProjectGetter
NewProjectGetter creates a new instance of ProjectGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ProjectGetter) Get ¶ added in v2.7.0
func (_m *ProjectGetter) Get(name string) (*v1alpha1.AppProject, error)
Get provides a mock function with given fields: name
func (*ProjectGetter) GetClusters ¶ added in v2.7.0
func (_m *ProjectGetter) GetClusters(project string) ([]*v1alpha1.Cluster, error)
GetClusters provides a mock function with given fields: project
type RbacEnforcer ¶ added in v2.7.0
RbacEnforcer is an autogenerated mock type for the RbacEnforcer type
func NewRbacEnforcer ¶ added in v2.7.0
func NewRbacEnforcer(t mockConstructorTestingTNewRbacEnforcer) *RbacEnforcer
NewRbacEnforcer creates a new instance of RbacEnforcer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RbacEnforcer) EnforceErr ¶ added in v2.7.0
func (_m *RbacEnforcer) EnforceErr(rvals ...interface{}) error
EnforceErr provides a mock function with given fields: rvals
type SettingsGetter ¶
SettingsGetter is an autogenerated mock type for the SettingsGetter type
func NewSettingsGetter ¶
func NewSettingsGetter(t mockConstructorTestingTNewSettingsGetter) *SettingsGetter
NewSettingsGetter creates a new instance of SettingsGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SettingsGetter) Get ¶
func (_m *SettingsGetter) Get() (*settings.ArgoCDSettings, error)
Get provides a mock function with given fields: