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 interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
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 ¶
ExtensionMetricsRegistry is an autogenerated mock type for the ExtensionMetricsRegistry type
func NewExtensionMetricsRegistry ¶
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 ¶
func (_m *ExtensionMetricsRegistry) IncExtensionRequestCounter(_a0 string, status int)
IncExtensionRequestCounter provides a mock function with given fields: _a0, status
func (*ExtensionMetricsRegistry) ObserveExtensionRequestDuration ¶
func (_m *ExtensionMetricsRegistry) ObserveExtensionRequestDuration(_a0 string, duration time.Duration)
ObserveExtensionRequestDuration provides a mock function with given fields: _a0, duration
type ProjectGetter ¶
ProjectGetter is an autogenerated mock type for the ProjectGetter type
func NewProjectGetter ¶
func NewProjectGetter(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*ProjectGetter) Get ¶
func (_m *ProjectGetter) Get(name string) (*v1alpha1.AppProject, error)
Get provides a mock function with given fields: name
func (*ProjectGetter) GetClusters ¶
func (_m *ProjectGetter) GetClusters(project string) ([]*v1alpha1.Cluster, error)
GetClusters provides a mock function with given fields: project
type RbacEnforcer ¶
RbacEnforcer is an autogenerated mock type for the RbacEnforcer type
func NewRbacEnforcer ¶
func NewRbacEnforcer(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*RbacEnforcer) EnforceErr ¶
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 interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*SettingsGetter) Get ¶
func (_m *SettingsGetter) Get() (*settings.ArgoCDSettings, error)
Get provides a mock function with given fields:
type UserGetter ¶
UserGetter is an autogenerated mock type for the UserGetter type
func NewUserGetter ¶
func NewUserGetter(t interface { mock.TestingT Cleanup(func()) }) *UserGetter
NewUserGetter creates a new instance of UserGetter. 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.