Documentation
¶
Index ¶
- type AlertContactPoints
- func (_mock *AlertContactPoints) ClearContactPoints() ([]string, error)
- func (_mock *AlertContactPoints) DownloadContactPoints() (string, error)
- func (_m *AlertContactPoints) EXPECT() *AlertContactPoints_Expecter
- func (_mock *AlertContactPoints) ListContactPoints() ([]*models.EmbeddedContactPoint, error)
- func (_mock *AlertContactPoints) UploadContactPoints() ([]string, error)
- type AlertContactPoints_ClearContactPoints_Call
- func (_c *AlertContactPoints_ClearContactPoints_Call) Return(strings []string, err error) *AlertContactPoints_ClearContactPoints_Call
- func (_c *AlertContactPoints_ClearContactPoints_Call) Run(run func()) *AlertContactPoints_ClearContactPoints_Call
- func (_c *AlertContactPoints_ClearContactPoints_Call) RunAndReturn(run func() ([]string, error)) *AlertContactPoints_ClearContactPoints_Call
- type AlertContactPoints_DownloadContactPoints_Call
- func (_c *AlertContactPoints_DownloadContactPoints_Call) Return(s string, err error) *AlertContactPoints_DownloadContactPoints_Call
- func (_c *AlertContactPoints_DownloadContactPoints_Call) Run(run func()) *AlertContactPoints_DownloadContactPoints_Call
- func (_c *AlertContactPoints_DownloadContactPoints_Call) RunAndReturn(run func() (string, error)) *AlertContactPoints_DownloadContactPoints_Call
- type AlertContactPoints_Expecter
- func (_e *AlertContactPoints_Expecter) ClearContactPoints() *AlertContactPoints_ClearContactPoints_Call
- func (_e *AlertContactPoints_Expecter) DownloadContactPoints() *AlertContactPoints_DownloadContactPoints_Call
- func (_e *AlertContactPoints_Expecter) ListContactPoints() *AlertContactPoints_ListContactPoints_Call
- func (_e *AlertContactPoints_Expecter) UploadContactPoints() *AlertContactPoints_UploadContactPoints_Call
- type AlertContactPoints_ListContactPoints_Call
- func (_c *AlertContactPoints_ListContactPoints_Call) Return(embeddedContactPoints []*models.EmbeddedContactPoint, err error) *AlertContactPoints_ListContactPoints_Call
- func (_c *AlertContactPoints_ListContactPoints_Call) Run(run func()) *AlertContactPoints_ListContactPoints_Call
- func (_c *AlertContactPoints_ListContactPoints_Call) RunAndReturn(run func() ([]*models.EmbeddedContactPoint, error)) *AlertContactPoints_ListContactPoints_Call
- type AlertContactPoints_UploadContactPoints_Call
- func (_c *AlertContactPoints_UploadContactPoints_Call) Return(strings []string, err error) *AlertContactPoints_UploadContactPoints_Call
- func (_c *AlertContactPoints_UploadContactPoints_Call) Run(run func()) *AlertContactPoints_UploadContactPoints_Call
- func (_c *AlertContactPoints_UploadContactPoints_Call) RunAndReturn(run func() ([]string, error)) *AlertContactPoints_UploadContactPoints_Call
- type AlertPolicies
- func (_mock *AlertPolicies) ClearAlertNotifications() error
- func (_mock *AlertPolicies) DownloadAlertNotifications() (string, error)
- func (_m *AlertPolicies) EXPECT() *AlertPolicies_Expecter
- func (_mock *AlertPolicies) ListAlertNotifications() (*models.Route, error)
- func (_mock *AlertPolicies) UploadAlertNotifications() (*models.Route, error)
- type AlertPolicies_ClearAlertNotifications_Call
- func (_c *AlertPolicies_ClearAlertNotifications_Call) Return(err error) *AlertPolicies_ClearAlertNotifications_Call
- func (_c *AlertPolicies_ClearAlertNotifications_Call) Run(run func()) *AlertPolicies_ClearAlertNotifications_Call
- func (_c *AlertPolicies_ClearAlertNotifications_Call) RunAndReturn(run func() error) *AlertPolicies_ClearAlertNotifications_Call
- type AlertPolicies_DownloadAlertNotifications_Call
- func (_c *AlertPolicies_DownloadAlertNotifications_Call) Return(s string, err error) *AlertPolicies_DownloadAlertNotifications_Call
- func (_c *AlertPolicies_DownloadAlertNotifications_Call) Run(run func()) *AlertPolicies_DownloadAlertNotifications_Call
- func (_c *AlertPolicies_DownloadAlertNotifications_Call) RunAndReturn(run func() (string, error)) *AlertPolicies_DownloadAlertNotifications_Call
- type AlertPolicies_Expecter
- func (_e *AlertPolicies_Expecter) ClearAlertNotifications() *AlertPolicies_ClearAlertNotifications_Call
- func (_e *AlertPolicies_Expecter) DownloadAlertNotifications() *AlertPolicies_DownloadAlertNotifications_Call
- func (_e *AlertPolicies_Expecter) ListAlertNotifications() *AlertPolicies_ListAlertNotifications_Call
- func (_e *AlertPolicies_Expecter) UploadAlertNotifications() *AlertPolicies_UploadAlertNotifications_Call
- type AlertPolicies_ListAlertNotifications_Call
- func (_c *AlertPolicies_ListAlertNotifications_Call) Return(route *models.Route, err error) *AlertPolicies_ListAlertNotifications_Call
- func (_c *AlertPolicies_ListAlertNotifications_Call) Run(run func()) *AlertPolicies_ListAlertNotifications_Call
- func (_c *AlertPolicies_ListAlertNotifications_Call) RunAndReturn(run func() (*models.Route, error)) *AlertPolicies_ListAlertNotifications_Call
- type AlertPolicies_UploadAlertNotifications_Call
- func (_c *AlertPolicies_UploadAlertNotifications_Call) Return(route *models.Route, err error) *AlertPolicies_UploadAlertNotifications_Call
- func (_c *AlertPolicies_UploadAlertNotifications_Call) Run(run func()) *AlertPolicies_UploadAlertNotifications_Call
- func (_c *AlertPolicies_UploadAlertNotifications_Call) RunAndReturn(run func() (*models.Route, error)) *AlertPolicies_UploadAlertNotifications_Call
- type AlertRules
- func (_mock *AlertRules) ClearAlertRules(filter filters.V2Filter) ([]string, error)
- func (_mock *AlertRules) DownloadAlertRules(filter filters.V2Filter) ([]string, error)
- func (_m *AlertRules) EXPECT() *AlertRules_Expecter
- func (_mock *AlertRules) ListAlertRules(filter filters.V2Filter) ([]*domain.AlertRuleWithNestedFolder, error)
- func (_mock *AlertRules) UploadAlertRules(filter filters.V2Filter) error
- type AlertRules_ClearAlertRules_Call
- func (_c *AlertRules_ClearAlertRules_Call) Return(strings []string, err error) *AlertRules_ClearAlertRules_Call
- func (_c *AlertRules_ClearAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertRules_ClearAlertRules_Call
- func (_c *AlertRules_ClearAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]string, error)) *AlertRules_ClearAlertRules_Call
- type AlertRules_DownloadAlertRules_Call
- func (_c *AlertRules_DownloadAlertRules_Call) Return(strings []string, err error) *AlertRules_DownloadAlertRules_Call
- func (_c *AlertRules_DownloadAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertRules_DownloadAlertRules_Call
- func (_c *AlertRules_DownloadAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]string, error)) *AlertRules_DownloadAlertRules_Call
- type AlertRules_Expecter
- func (_e *AlertRules_Expecter) ClearAlertRules(filter interface{}) *AlertRules_ClearAlertRules_Call
- func (_e *AlertRules_Expecter) DownloadAlertRules(filter interface{}) *AlertRules_DownloadAlertRules_Call
- func (_e *AlertRules_Expecter) ListAlertRules(filter interface{}) *AlertRules_ListAlertRules_Call
- func (_e *AlertRules_Expecter) UploadAlertRules(filter interface{}) *AlertRules_UploadAlertRules_Call
- type AlertRules_ListAlertRules_Call
- func (_c *AlertRules_ListAlertRules_Call) Return(alertRuleWithNestedFolders []*domain.AlertRuleWithNestedFolder, err error) *AlertRules_ListAlertRules_Call
- func (_c *AlertRules_ListAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertRules_ListAlertRules_Call
- func (_c *AlertRules_ListAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]*domain.AlertRuleWithNestedFolder, error)) *AlertRules_ListAlertRules_Call
- type AlertRules_UploadAlertRules_Call
- func (_c *AlertRules_UploadAlertRules_Call) Return(err error) *AlertRules_UploadAlertRules_Call
- func (_c *AlertRules_UploadAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertRules_UploadAlertRules_Call
- func (_c *AlertRules_UploadAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) error) *AlertRules_UploadAlertRules_Call
- type AlertTemplates
- func (_mock *AlertTemplates) ClearAlertTemplates() ([]string, error)
- func (_mock *AlertTemplates) DownloadAlertTemplates() (string, error)
- func (_m *AlertTemplates) EXPECT() *AlertTemplates_Expecter
- func (_mock *AlertTemplates) ListAlertTemplates() ([]*models.NotificationTemplate, error)
- func (_mock *AlertTemplates) UploadAlertTemplates() ([]string, error)
- type AlertTemplates_ClearAlertTemplates_Call
- func (_c *AlertTemplates_ClearAlertTemplates_Call) Return(strings []string, err error) *AlertTemplates_ClearAlertTemplates_Call
- func (_c *AlertTemplates_ClearAlertTemplates_Call) Run(run func()) *AlertTemplates_ClearAlertTemplates_Call
- func (_c *AlertTemplates_ClearAlertTemplates_Call) RunAndReturn(run func() ([]string, error)) *AlertTemplates_ClearAlertTemplates_Call
- type AlertTemplates_DownloadAlertTemplates_Call
- func (_c *AlertTemplates_DownloadAlertTemplates_Call) Return(s string, err error) *AlertTemplates_DownloadAlertTemplates_Call
- func (_c *AlertTemplates_DownloadAlertTemplates_Call) Run(run func()) *AlertTemplates_DownloadAlertTemplates_Call
- func (_c *AlertTemplates_DownloadAlertTemplates_Call) RunAndReturn(run func() (string, error)) *AlertTemplates_DownloadAlertTemplates_Call
- type AlertTemplates_Expecter
- func (_e *AlertTemplates_Expecter) ClearAlertTemplates() *AlertTemplates_ClearAlertTemplates_Call
- func (_e *AlertTemplates_Expecter) DownloadAlertTemplates() *AlertTemplates_DownloadAlertTemplates_Call
- func (_e *AlertTemplates_Expecter) ListAlertTemplates() *AlertTemplates_ListAlertTemplates_Call
- func (_e *AlertTemplates_Expecter) UploadAlertTemplates() *AlertTemplates_UploadAlertTemplates_Call
- type AlertTemplates_ListAlertTemplates_Call
- func (_c *AlertTemplates_ListAlertTemplates_Call) Return(notificationTemplates []*models.NotificationTemplate, err error) *AlertTemplates_ListAlertTemplates_Call
- func (_c *AlertTemplates_ListAlertTemplates_Call) Run(run func()) *AlertTemplates_ListAlertTemplates_Call
- func (_c *AlertTemplates_ListAlertTemplates_Call) RunAndReturn(run func() ([]*models.NotificationTemplate, error)) *AlertTemplates_ListAlertTemplates_Call
- type AlertTemplates_UploadAlertTemplates_Call
- func (_c *AlertTemplates_UploadAlertTemplates_Call) Return(strings []string, err error) *AlertTemplates_UploadAlertTemplates_Call
- func (_c *AlertTemplates_UploadAlertTemplates_Call) Run(run func()) *AlertTemplates_UploadAlertTemplates_Call
- func (_c *AlertTemplates_UploadAlertTemplates_Call) RunAndReturn(run func() ([]string, error)) *AlertTemplates_UploadAlertTemplates_Call
- type AlertTimings
- func (_mock *AlertTimings) ClearAlertTimings() error
- func (_mock *AlertTimings) DownloadAlertTimings() (string, error)
- func (_m *AlertTimings) EXPECT() *AlertTimings_Expecter
- func (_mock *AlertTimings) ListAlertTimings() ([]*models.MuteTimeInterval, error)
- func (_mock *AlertTimings) UploadAlertTimings() ([]string, error)
- type AlertTimings_ClearAlertTimings_Call
- func (_c *AlertTimings_ClearAlertTimings_Call) Return(err error) *AlertTimings_ClearAlertTimings_Call
- func (_c *AlertTimings_ClearAlertTimings_Call) Run(run func()) *AlertTimings_ClearAlertTimings_Call
- func (_c *AlertTimings_ClearAlertTimings_Call) RunAndReturn(run func() error) *AlertTimings_ClearAlertTimings_Call
- type AlertTimings_DownloadAlertTimings_Call
- func (_c *AlertTimings_DownloadAlertTimings_Call) Return(s string, err error) *AlertTimings_DownloadAlertTimings_Call
- func (_c *AlertTimings_DownloadAlertTimings_Call) Run(run func()) *AlertTimings_DownloadAlertTimings_Call
- func (_c *AlertTimings_DownloadAlertTimings_Call) RunAndReturn(run func() (string, error)) *AlertTimings_DownloadAlertTimings_Call
- type AlertTimings_Expecter
- func (_e *AlertTimings_Expecter) ClearAlertTimings() *AlertTimings_ClearAlertTimings_Call
- func (_e *AlertTimings_Expecter) DownloadAlertTimings() *AlertTimings_DownloadAlertTimings_Call
- func (_e *AlertTimings_Expecter) ListAlertTimings() *AlertTimings_ListAlertTimings_Call
- func (_e *AlertTimings_Expecter) UploadAlertTimings() *AlertTimings_UploadAlertTimings_Call
- type AlertTimings_ListAlertTimings_Call
- func (_c *AlertTimings_ListAlertTimings_Call) Return(muteTimeIntervals []*models.MuteTimeInterval, err error) *AlertTimings_ListAlertTimings_Call
- func (_c *AlertTimings_ListAlertTimings_Call) Run(run func()) *AlertTimings_ListAlertTimings_Call
- func (_c *AlertTimings_ListAlertTimings_Call) RunAndReturn(run func() ([]*models.MuteTimeInterval, error)) *AlertTimings_ListAlertTimings_Call
- type AlertTimings_UploadAlertTimings_Call
- func (_c *AlertTimings_UploadAlertTimings_Call) Return(strings []string, err error) *AlertTimings_UploadAlertTimings_Call
- func (_c *AlertTimings_UploadAlertTimings_Call) Run(run func()) *AlertTimings_UploadAlertTimings_Call
- func (_c *AlertTimings_UploadAlertTimings_Call) RunAndReturn(run func() ([]string, error)) *AlertTimings_UploadAlertTimings_Call
- type AlertingApi
- func (_mock *AlertingApi) ClearAlertNotifications() error
- func (_mock *AlertingApi) ClearAlertRules(filter filters.V2Filter) ([]string, error)
- func (_mock *AlertingApi) ClearAlertTemplates() ([]string, error)
- func (_mock *AlertingApi) ClearAlertTimings() error
- func (_mock *AlertingApi) ClearContactPoints() ([]string, error)
- func (_mock *AlertingApi) DownloadAlertNotifications() (string, error)
- func (_mock *AlertingApi) DownloadAlertRules(filter filters.V2Filter) ([]string, error)
- func (_mock *AlertingApi) DownloadAlertTemplates() (string, error)
- func (_mock *AlertingApi) DownloadAlertTimings() (string, error)
- func (_mock *AlertingApi) DownloadContactPoints() (string, error)
- func (_m *AlertingApi) EXPECT() *AlertingApi_Expecter
- func (_mock *AlertingApi) ListAlertNotifications() (*models.Route, error)
- func (_mock *AlertingApi) ListAlertRules(filter filters.V2Filter) ([]*domain.AlertRuleWithNestedFolder, error)
- func (_mock *AlertingApi) ListAlertTemplates() ([]*models.NotificationTemplate, error)
- func (_mock *AlertingApi) ListAlertTimings() ([]*models.MuteTimeInterval, error)
- func (_mock *AlertingApi) ListContactPoints() ([]*models.EmbeddedContactPoint, error)
- func (_mock *AlertingApi) UploadAlertNotifications() (*models.Route, error)
- func (_mock *AlertingApi) UploadAlertRules(filter filters.V2Filter) error
- func (_mock *AlertingApi) UploadAlertTemplates() ([]string, error)
- func (_mock *AlertingApi) UploadAlertTimings() ([]string, error)
- func (_mock *AlertingApi) UploadContactPoints() ([]string, error)
- type AlertingApi_ClearAlertNotifications_Call
- func (_c *AlertingApi_ClearAlertNotifications_Call) Return(err error) *AlertingApi_ClearAlertNotifications_Call
- func (_c *AlertingApi_ClearAlertNotifications_Call) Run(run func()) *AlertingApi_ClearAlertNotifications_Call
- func (_c *AlertingApi_ClearAlertNotifications_Call) RunAndReturn(run func() error) *AlertingApi_ClearAlertNotifications_Call
- type AlertingApi_ClearAlertRules_Call
- func (_c *AlertingApi_ClearAlertRules_Call) Return(strings []string, err error) *AlertingApi_ClearAlertRules_Call
- func (_c *AlertingApi_ClearAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertingApi_ClearAlertRules_Call
- func (_c *AlertingApi_ClearAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]string, error)) *AlertingApi_ClearAlertRules_Call
- type AlertingApi_ClearAlertTemplates_Call
- func (_c *AlertingApi_ClearAlertTemplates_Call) Return(strings []string, err error) *AlertingApi_ClearAlertTemplates_Call
- func (_c *AlertingApi_ClearAlertTemplates_Call) Run(run func()) *AlertingApi_ClearAlertTemplates_Call
- func (_c *AlertingApi_ClearAlertTemplates_Call) RunAndReturn(run func() ([]string, error)) *AlertingApi_ClearAlertTemplates_Call
- type AlertingApi_ClearAlertTimings_Call
- func (_c *AlertingApi_ClearAlertTimings_Call) Return(err error) *AlertingApi_ClearAlertTimings_Call
- func (_c *AlertingApi_ClearAlertTimings_Call) Run(run func()) *AlertingApi_ClearAlertTimings_Call
- func (_c *AlertingApi_ClearAlertTimings_Call) RunAndReturn(run func() error) *AlertingApi_ClearAlertTimings_Call
- type AlertingApi_ClearContactPoints_Call
- func (_c *AlertingApi_ClearContactPoints_Call) Return(strings []string, err error) *AlertingApi_ClearContactPoints_Call
- func (_c *AlertingApi_ClearContactPoints_Call) Run(run func()) *AlertingApi_ClearContactPoints_Call
- func (_c *AlertingApi_ClearContactPoints_Call) RunAndReturn(run func() ([]string, error)) *AlertingApi_ClearContactPoints_Call
- type AlertingApi_DownloadAlertNotifications_Call
- func (_c *AlertingApi_DownloadAlertNotifications_Call) Return(s string, err error) *AlertingApi_DownloadAlertNotifications_Call
- func (_c *AlertingApi_DownloadAlertNotifications_Call) Run(run func()) *AlertingApi_DownloadAlertNotifications_Call
- func (_c *AlertingApi_DownloadAlertNotifications_Call) RunAndReturn(run func() (string, error)) *AlertingApi_DownloadAlertNotifications_Call
- type AlertingApi_DownloadAlertRules_Call
- func (_c *AlertingApi_DownloadAlertRules_Call) Return(strings []string, err error) *AlertingApi_DownloadAlertRules_Call
- func (_c *AlertingApi_DownloadAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertingApi_DownloadAlertRules_Call
- func (_c *AlertingApi_DownloadAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]string, error)) *AlertingApi_DownloadAlertRules_Call
- type AlertingApi_DownloadAlertTemplates_Call
- func (_c *AlertingApi_DownloadAlertTemplates_Call) Return(s string, err error) *AlertingApi_DownloadAlertTemplates_Call
- func (_c *AlertingApi_DownloadAlertTemplates_Call) Run(run func()) *AlertingApi_DownloadAlertTemplates_Call
- func (_c *AlertingApi_DownloadAlertTemplates_Call) RunAndReturn(run func() (string, error)) *AlertingApi_DownloadAlertTemplates_Call
- type AlertingApi_DownloadAlertTimings_Call
- func (_c *AlertingApi_DownloadAlertTimings_Call) Return(s string, err error) *AlertingApi_DownloadAlertTimings_Call
- func (_c *AlertingApi_DownloadAlertTimings_Call) Run(run func()) *AlertingApi_DownloadAlertTimings_Call
- func (_c *AlertingApi_DownloadAlertTimings_Call) RunAndReturn(run func() (string, error)) *AlertingApi_DownloadAlertTimings_Call
- type AlertingApi_DownloadContactPoints_Call
- func (_c *AlertingApi_DownloadContactPoints_Call) Return(s string, err error) *AlertingApi_DownloadContactPoints_Call
- func (_c *AlertingApi_DownloadContactPoints_Call) Run(run func()) *AlertingApi_DownloadContactPoints_Call
- func (_c *AlertingApi_DownloadContactPoints_Call) RunAndReturn(run func() (string, error)) *AlertingApi_DownloadContactPoints_Call
- type AlertingApi_Expecter
- func (_e *AlertingApi_Expecter) ClearAlertNotifications() *AlertingApi_ClearAlertNotifications_Call
- func (_e *AlertingApi_Expecter) ClearAlertRules(filter interface{}) *AlertingApi_ClearAlertRules_Call
- func (_e *AlertingApi_Expecter) ClearAlertTemplates() *AlertingApi_ClearAlertTemplates_Call
- func (_e *AlertingApi_Expecter) ClearAlertTimings() *AlertingApi_ClearAlertTimings_Call
- func (_e *AlertingApi_Expecter) ClearContactPoints() *AlertingApi_ClearContactPoints_Call
- func (_e *AlertingApi_Expecter) DownloadAlertNotifications() *AlertingApi_DownloadAlertNotifications_Call
- func (_e *AlertingApi_Expecter) DownloadAlertRules(filter interface{}) *AlertingApi_DownloadAlertRules_Call
- func (_e *AlertingApi_Expecter) DownloadAlertTemplates() *AlertingApi_DownloadAlertTemplates_Call
- func (_e *AlertingApi_Expecter) DownloadAlertTimings() *AlertingApi_DownloadAlertTimings_Call
- func (_e *AlertingApi_Expecter) DownloadContactPoints() *AlertingApi_DownloadContactPoints_Call
- func (_e *AlertingApi_Expecter) ListAlertNotifications() *AlertingApi_ListAlertNotifications_Call
- func (_e *AlertingApi_Expecter) ListAlertRules(filter interface{}) *AlertingApi_ListAlertRules_Call
- func (_e *AlertingApi_Expecter) ListAlertTemplates() *AlertingApi_ListAlertTemplates_Call
- func (_e *AlertingApi_Expecter) ListAlertTimings() *AlertingApi_ListAlertTimings_Call
- func (_e *AlertingApi_Expecter) ListContactPoints() *AlertingApi_ListContactPoints_Call
- func (_e *AlertingApi_Expecter) UploadAlertNotifications() *AlertingApi_UploadAlertNotifications_Call
- func (_e *AlertingApi_Expecter) UploadAlertRules(filter interface{}) *AlertingApi_UploadAlertRules_Call
- func (_e *AlertingApi_Expecter) UploadAlertTemplates() *AlertingApi_UploadAlertTemplates_Call
- func (_e *AlertingApi_Expecter) UploadAlertTimings() *AlertingApi_UploadAlertTimings_Call
- func (_e *AlertingApi_Expecter) UploadContactPoints() *AlertingApi_UploadContactPoints_Call
- type AlertingApi_ListAlertNotifications_Call
- func (_c *AlertingApi_ListAlertNotifications_Call) Return(route *models.Route, err error) *AlertingApi_ListAlertNotifications_Call
- func (_c *AlertingApi_ListAlertNotifications_Call) Run(run func()) *AlertingApi_ListAlertNotifications_Call
- func (_c *AlertingApi_ListAlertNotifications_Call) RunAndReturn(run func() (*models.Route, error)) *AlertingApi_ListAlertNotifications_Call
- type AlertingApi_ListAlertRules_Call
- func (_c *AlertingApi_ListAlertRules_Call) Return(alertRuleWithNestedFolders []*domain.AlertRuleWithNestedFolder, err error) *AlertingApi_ListAlertRules_Call
- func (_c *AlertingApi_ListAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertingApi_ListAlertRules_Call
- func (_c *AlertingApi_ListAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]*domain.AlertRuleWithNestedFolder, error)) *AlertingApi_ListAlertRules_Call
- type AlertingApi_ListAlertTemplates_Call
- func (_c *AlertingApi_ListAlertTemplates_Call) Return(notificationTemplates []*models.NotificationTemplate, err error) *AlertingApi_ListAlertTemplates_Call
- func (_c *AlertingApi_ListAlertTemplates_Call) Run(run func()) *AlertingApi_ListAlertTemplates_Call
- func (_c *AlertingApi_ListAlertTemplates_Call) RunAndReturn(run func() ([]*models.NotificationTemplate, error)) *AlertingApi_ListAlertTemplates_Call
- type AlertingApi_ListAlertTimings_Call
- func (_c *AlertingApi_ListAlertTimings_Call) Return(muteTimeIntervals []*models.MuteTimeInterval, err error) *AlertingApi_ListAlertTimings_Call
- func (_c *AlertingApi_ListAlertTimings_Call) Run(run func()) *AlertingApi_ListAlertTimings_Call
- func (_c *AlertingApi_ListAlertTimings_Call) RunAndReturn(run func() ([]*models.MuteTimeInterval, error)) *AlertingApi_ListAlertTimings_Call
- type AlertingApi_ListContactPoints_Call
- func (_c *AlertingApi_ListContactPoints_Call) Return(embeddedContactPoints []*models.EmbeddedContactPoint, err error) *AlertingApi_ListContactPoints_Call
- func (_c *AlertingApi_ListContactPoints_Call) Run(run func()) *AlertingApi_ListContactPoints_Call
- func (_c *AlertingApi_ListContactPoints_Call) RunAndReturn(run func() ([]*models.EmbeddedContactPoint, error)) *AlertingApi_ListContactPoints_Call
- type AlertingApi_UploadAlertNotifications_Call
- func (_c *AlertingApi_UploadAlertNotifications_Call) Return(route *models.Route, err error) *AlertingApi_UploadAlertNotifications_Call
- func (_c *AlertingApi_UploadAlertNotifications_Call) Run(run func()) *AlertingApi_UploadAlertNotifications_Call
- func (_c *AlertingApi_UploadAlertNotifications_Call) RunAndReturn(run func() (*models.Route, error)) *AlertingApi_UploadAlertNotifications_Call
- type AlertingApi_UploadAlertRules_Call
- func (_c *AlertingApi_UploadAlertRules_Call) Return(err error) *AlertingApi_UploadAlertRules_Call
- func (_c *AlertingApi_UploadAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertingApi_UploadAlertRules_Call
- func (_c *AlertingApi_UploadAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) error) *AlertingApi_UploadAlertRules_Call
- type AlertingApi_UploadAlertTemplates_Call
- func (_c *AlertingApi_UploadAlertTemplates_Call) Return(strings []string, err error) *AlertingApi_UploadAlertTemplates_Call
- func (_c *AlertingApi_UploadAlertTemplates_Call) Run(run func()) *AlertingApi_UploadAlertTemplates_Call
- func (_c *AlertingApi_UploadAlertTemplates_Call) RunAndReturn(run func() ([]string, error)) *AlertingApi_UploadAlertTemplates_Call
- type AlertingApi_UploadAlertTimings_Call
- func (_c *AlertingApi_UploadAlertTimings_Call) Return(strings []string, err error) *AlertingApi_UploadAlertTimings_Call
- func (_c *AlertingApi_UploadAlertTimings_Call) Run(run func()) *AlertingApi_UploadAlertTimings_Call
- func (_c *AlertingApi_UploadAlertTimings_Call) RunAndReturn(run func() ([]string, error)) *AlertingApi_UploadAlertTimings_Call
- type AlertingApi_UploadContactPoints_Call
- func (_c *AlertingApi_UploadContactPoints_Call) Return(strings []string, err error) *AlertingApi_UploadContactPoints_Call
- func (_c *AlertingApi_UploadContactPoints_Call) Run(run func()) *AlertingApi_UploadContactPoints_Call
- func (_c *AlertingApi_UploadContactPoints_Call) RunAndReturn(run func() ([]string, error)) *AlertingApi_UploadContactPoints_Call
- type AuthenticationApi
- func (_mock *AuthenticationApi) CreateServiceAccount(name string, role string, expiration int64) (*models.ServiceAccountDTO, error)
- func (_mock *AuthenticationApi) CreateServiceAccountToken(serviceAccountId int64, name string, expiration int64) (*models.NewAPIKeyResult, error)
- func (_mock *AuthenticationApi) DecodeValue(in string) string
- func (_mock *AuthenticationApi) DeleteAllServiceAccounts() []string
- func (_mock *AuthenticationApi) DeleteServiceAccount(accountId int64) error
- func (_mock *AuthenticationApi) DeleteServiceAccountTokens(serviceId int64) []string
- func (_m *AuthenticationApi) EXPECT() *AuthenticationApi_Expecter
- func (_mock *AuthenticationApi) EncodeValue(in string) string
- func (_mock *AuthenticationApi) ListServiceAccounts() []*domain.ServiceAccountDTOWithTokens
- func (_mock *AuthenticationApi) ListServiceAccountsTokens(id int64) ([]*models.TokenDTO, error)
- func (_mock *AuthenticationApi) Login()
- type AuthenticationApi_CreateServiceAccountToken_Call
- func (_c *AuthenticationApi_CreateServiceAccountToken_Call) Return(newAPIKeyResult *models.NewAPIKeyResult, err error) *AuthenticationApi_CreateServiceAccountToken_Call
- func (_c *AuthenticationApi_CreateServiceAccountToken_Call) Run(run func(serviceAccountId int64, name string, expiration int64)) *AuthenticationApi_CreateServiceAccountToken_Call
- func (_c *AuthenticationApi_CreateServiceAccountToken_Call) RunAndReturn(...) *AuthenticationApi_CreateServiceAccountToken_Call
- type AuthenticationApi_CreateServiceAccount_Call
- func (_c *AuthenticationApi_CreateServiceAccount_Call) Return(serviceAccountDTO *models.ServiceAccountDTO, err error) *AuthenticationApi_CreateServiceAccount_Call
- func (_c *AuthenticationApi_CreateServiceAccount_Call) Run(run func(name string, role string, expiration int64)) *AuthenticationApi_CreateServiceAccount_Call
- func (_c *AuthenticationApi_CreateServiceAccount_Call) RunAndReturn(...) *AuthenticationApi_CreateServiceAccount_Call
- type AuthenticationApi_DecodeValue_Call
- func (_c *AuthenticationApi_DecodeValue_Call) Return(s string) *AuthenticationApi_DecodeValue_Call
- func (_c *AuthenticationApi_DecodeValue_Call) Run(run func(in string)) *AuthenticationApi_DecodeValue_Call
- func (_c *AuthenticationApi_DecodeValue_Call) RunAndReturn(run func(in string) string) *AuthenticationApi_DecodeValue_Call
- type AuthenticationApi_DeleteAllServiceAccounts_Call
- func (_c *AuthenticationApi_DeleteAllServiceAccounts_Call) Return(strings []string) *AuthenticationApi_DeleteAllServiceAccounts_Call
- func (_c *AuthenticationApi_DeleteAllServiceAccounts_Call) Run(run func()) *AuthenticationApi_DeleteAllServiceAccounts_Call
- func (_c *AuthenticationApi_DeleteAllServiceAccounts_Call) RunAndReturn(run func() []string) *AuthenticationApi_DeleteAllServiceAccounts_Call
- type AuthenticationApi_DeleteServiceAccountTokens_Call
- func (_c *AuthenticationApi_DeleteServiceAccountTokens_Call) Return(strings []string) *AuthenticationApi_DeleteServiceAccountTokens_Call
- func (_c *AuthenticationApi_DeleteServiceAccountTokens_Call) Run(run func(serviceId int64)) *AuthenticationApi_DeleteServiceAccountTokens_Call
- func (_c *AuthenticationApi_DeleteServiceAccountTokens_Call) RunAndReturn(run func(serviceId int64) []string) *AuthenticationApi_DeleteServiceAccountTokens_Call
- type AuthenticationApi_DeleteServiceAccount_Call
- func (_c *AuthenticationApi_DeleteServiceAccount_Call) Return(err error) *AuthenticationApi_DeleteServiceAccount_Call
- func (_c *AuthenticationApi_DeleteServiceAccount_Call) Run(run func(accountId int64)) *AuthenticationApi_DeleteServiceAccount_Call
- func (_c *AuthenticationApi_DeleteServiceAccount_Call) RunAndReturn(run func(accountId int64) error) *AuthenticationApi_DeleteServiceAccount_Call
- type AuthenticationApi_EncodeValue_Call
- func (_c *AuthenticationApi_EncodeValue_Call) Return(s string) *AuthenticationApi_EncodeValue_Call
- func (_c *AuthenticationApi_EncodeValue_Call) Run(run func(in string)) *AuthenticationApi_EncodeValue_Call
- func (_c *AuthenticationApi_EncodeValue_Call) RunAndReturn(run func(in string) string) *AuthenticationApi_EncodeValue_Call
- type AuthenticationApi_Expecter
- func (_e *AuthenticationApi_Expecter) CreateServiceAccount(name interface{}, role interface{}, expiration interface{}) *AuthenticationApi_CreateServiceAccount_Call
- func (_e *AuthenticationApi_Expecter) CreateServiceAccountToken(serviceAccountId interface{}, name interface{}, expiration interface{}) *AuthenticationApi_CreateServiceAccountToken_Call
- func (_e *AuthenticationApi_Expecter) DecodeValue(in interface{}) *AuthenticationApi_DecodeValue_Call
- func (_e *AuthenticationApi_Expecter) DeleteAllServiceAccounts() *AuthenticationApi_DeleteAllServiceAccounts_Call
- func (_e *AuthenticationApi_Expecter) DeleteServiceAccount(accountId interface{}) *AuthenticationApi_DeleteServiceAccount_Call
- func (_e *AuthenticationApi_Expecter) DeleteServiceAccountTokens(serviceId interface{}) *AuthenticationApi_DeleteServiceAccountTokens_Call
- func (_e *AuthenticationApi_Expecter) EncodeValue(in interface{}) *AuthenticationApi_EncodeValue_Call
- func (_e *AuthenticationApi_Expecter) ListServiceAccounts() *AuthenticationApi_ListServiceAccounts_Call
- func (_e *AuthenticationApi_Expecter) ListServiceAccountsTokens(id interface{}) *AuthenticationApi_ListServiceAccountsTokens_Call
- func (_e *AuthenticationApi_Expecter) Login() *AuthenticationApi_Login_Call
- type AuthenticationApi_ListServiceAccountsTokens_Call
- func (_c *AuthenticationApi_ListServiceAccountsTokens_Call) Return(tokenDTOs []*models.TokenDTO, err error) *AuthenticationApi_ListServiceAccountsTokens_Call
- func (_c *AuthenticationApi_ListServiceAccountsTokens_Call) Run(run func(id int64)) *AuthenticationApi_ListServiceAccountsTokens_Call
- func (_c *AuthenticationApi_ListServiceAccountsTokens_Call) RunAndReturn(run func(id int64) ([]*models.TokenDTO, error)) *AuthenticationApi_ListServiceAccountsTokens_Call
- type AuthenticationApi_ListServiceAccounts_Call
- func (_c *AuthenticationApi_ListServiceAccounts_Call) Return(serviceAccountDTOWithTokenss []*domain.ServiceAccountDTOWithTokens) *AuthenticationApi_ListServiceAccounts_Call
- func (_c *AuthenticationApi_ListServiceAccounts_Call) Run(run func()) *AuthenticationApi_ListServiceAccounts_Call
- func (_c *AuthenticationApi_ListServiceAccounts_Call) RunAndReturn(run func() []*domain.ServiceAccountDTOWithTokens) *AuthenticationApi_ListServiceAccounts_Call
- type AuthenticationApi_Login_Call
- type ConnectionPermissions
- func (_mock *ConnectionPermissions) DeleteAllConnectionPermissions(filter filters.V2Filter) []string
- func (_mock *ConnectionPermissions) DownloadConnectionPermissions(filter filters.V2Filter) []string
- func (_m *ConnectionPermissions) EXPECT() *ConnectionPermissions_Expecter
- func (_mock *ConnectionPermissions) ListConnectionPermissions(filter filters.V2Filter) []domain.ConnectionPermissionItem
- func (_mock *ConnectionPermissions) UploadConnectionPermissions(filter filters.V2Filter) []string
- type ConnectionPermissions_DeleteAllConnectionPermissions_Call
- func (_c *ConnectionPermissions_DeleteAllConnectionPermissions_Call) Return(strings []string) *ConnectionPermissions_DeleteAllConnectionPermissions_Call
- func (_c *ConnectionPermissions_DeleteAllConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionPermissions_DeleteAllConnectionPermissions_Call
- func (_c *ConnectionPermissions_DeleteAllConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionPermissions_DeleteAllConnectionPermissions_Call
- type ConnectionPermissions_DownloadConnectionPermissions_Call
- func (_c *ConnectionPermissions_DownloadConnectionPermissions_Call) Return(strings []string) *ConnectionPermissions_DownloadConnectionPermissions_Call
- func (_c *ConnectionPermissions_DownloadConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionPermissions_DownloadConnectionPermissions_Call
- func (_c *ConnectionPermissions_DownloadConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionPermissions_DownloadConnectionPermissions_Call
- type ConnectionPermissions_Expecter
- func (_e *ConnectionPermissions_Expecter) DeleteAllConnectionPermissions(filter interface{}) *ConnectionPermissions_DeleteAllConnectionPermissions_Call
- func (_e *ConnectionPermissions_Expecter) DownloadConnectionPermissions(filter interface{}) *ConnectionPermissions_DownloadConnectionPermissions_Call
- func (_e *ConnectionPermissions_Expecter) ListConnectionPermissions(filter interface{}) *ConnectionPermissions_ListConnectionPermissions_Call
- func (_e *ConnectionPermissions_Expecter) UploadConnectionPermissions(filter interface{}) *ConnectionPermissions_UploadConnectionPermissions_Call
- type ConnectionPermissions_ListConnectionPermissions_Call
- func (_c *ConnectionPermissions_ListConnectionPermissions_Call) Return(connectionPermissionItems []domain.ConnectionPermissionItem) *ConnectionPermissions_ListConnectionPermissions_Call
- func (_c *ConnectionPermissions_ListConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionPermissions_ListConnectionPermissions_Call
- func (_c *ConnectionPermissions_ListConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []domain.ConnectionPermissionItem) *ConnectionPermissions_ListConnectionPermissions_Call
- type ConnectionPermissions_UploadConnectionPermissions_Call
- func (_c *ConnectionPermissions_UploadConnectionPermissions_Call) Return(strings []string) *ConnectionPermissions_UploadConnectionPermissions_Call
- func (_c *ConnectionPermissions_UploadConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionPermissions_UploadConnectionPermissions_Call
- func (_c *ConnectionPermissions_UploadConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionPermissions_UploadConnectionPermissions_Call
- type ConnectionsApi
- func (_mock *ConnectionsApi) DeleteAllConnectionPermissions(filter filters.V2Filter) []string
- func (_mock *ConnectionsApi) DeleteAllConnections(filter filters.V2Filter) []string
- func (_mock *ConnectionsApi) DownloadConnectionPermissions(filter filters.V2Filter) []string
- func (_mock *ConnectionsApi) DownloadConnections(filter filters.V2Filter) []string
- func (_m *ConnectionsApi) EXPECT() *ConnectionsApi_Expecter
- func (_mock *ConnectionsApi) ListConnectionPermissions(filter filters.V2Filter) []domain.ConnectionPermissionItem
- func (_mock *ConnectionsApi) ListConnections(filter filters.V2Filter) []models.DataSourceListItemDTO
- func (_mock *ConnectionsApi) UploadConnectionPermissions(filter filters.V2Filter) []string
- func (_mock *ConnectionsApi) UploadConnections(filter filters.V2Filter) []string
- type ConnectionsApi_DeleteAllConnectionPermissions_Call
- func (_c *ConnectionsApi_DeleteAllConnectionPermissions_Call) Return(strings []string) *ConnectionsApi_DeleteAllConnectionPermissions_Call
- func (_c *ConnectionsApi_DeleteAllConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_DeleteAllConnectionPermissions_Call
- func (_c *ConnectionsApi_DeleteAllConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionsApi_DeleteAllConnectionPermissions_Call
- type ConnectionsApi_DeleteAllConnections_Call
- func (_c *ConnectionsApi_DeleteAllConnections_Call) Return(strings []string) *ConnectionsApi_DeleteAllConnections_Call
- func (_c *ConnectionsApi_DeleteAllConnections_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_DeleteAllConnections_Call
- func (_c *ConnectionsApi_DeleteAllConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionsApi_DeleteAllConnections_Call
- type ConnectionsApi_DownloadConnectionPermissions_Call
- func (_c *ConnectionsApi_DownloadConnectionPermissions_Call) Return(strings []string) *ConnectionsApi_DownloadConnectionPermissions_Call
- func (_c *ConnectionsApi_DownloadConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_DownloadConnectionPermissions_Call
- func (_c *ConnectionsApi_DownloadConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionsApi_DownloadConnectionPermissions_Call
- type ConnectionsApi_DownloadConnections_Call
- func (_c *ConnectionsApi_DownloadConnections_Call) Return(strings []string) *ConnectionsApi_DownloadConnections_Call
- func (_c *ConnectionsApi_DownloadConnections_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_DownloadConnections_Call
- func (_c *ConnectionsApi_DownloadConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionsApi_DownloadConnections_Call
- type ConnectionsApi_Expecter
- func (_e *ConnectionsApi_Expecter) DeleteAllConnectionPermissions(filter interface{}) *ConnectionsApi_DeleteAllConnectionPermissions_Call
- func (_e *ConnectionsApi_Expecter) DeleteAllConnections(filter interface{}) *ConnectionsApi_DeleteAllConnections_Call
- func (_e *ConnectionsApi_Expecter) DownloadConnectionPermissions(filter interface{}) *ConnectionsApi_DownloadConnectionPermissions_Call
- func (_e *ConnectionsApi_Expecter) DownloadConnections(filter interface{}) *ConnectionsApi_DownloadConnections_Call
- func (_e *ConnectionsApi_Expecter) ListConnectionPermissions(filter interface{}) *ConnectionsApi_ListConnectionPermissions_Call
- func (_e *ConnectionsApi_Expecter) ListConnections(filter interface{}) *ConnectionsApi_ListConnections_Call
- func (_e *ConnectionsApi_Expecter) UploadConnectionPermissions(filter interface{}) *ConnectionsApi_UploadConnectionPermissions_Call
- func (_e *ConnectionsApi_Expecter) UploadConnections(filter interface{}) *ConnectionsApi_UploadConnections_Call
- type ConnectionsApi_ListConnectionPermissions_Call
- func (_c *ConnectionsApi_ListConnectionPermissions_Call) Return(connectionPermissionItems []domain.ConnectionPermissionItem) *ConnectionsApi_ListConnectionPermissions_Call
- func (_c *ConnectionsApi_ListConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_ListConnectionPermissions_Call
- func (_c *ConnectionsApi_ListConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []domain.ConnectionPermissionItem) *ConnectionsApi_ListConnectionPermissions_Call
- type ConnectionsApi_ListConnections_Call
- func (_c *ConnectionsApi_ListConnections_Call) Return(dataSourceListItemDTOs []models.DataSourceListItemDTO) *ConnectionsApi_ListConnections_Call
- func (_c *ConnectionsApi_ListConnections_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_ListConnections_Call
- func (_c *ConnectionsApi_ListConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []models.DataSourceListItemDTO) *ConnectionsApi_ListConnections_Call
- type ConnectionsApi_UploadConnectionPermissions_Call
- func (_c *ConnectionsApi_UploadConnectionPermissions_Call) Return(strings []string) *ConnectionsApi_UploadConnectionPermissions_Call
- func (_c *ConnectionsApi_UploadConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_UploadConnectionPermissions_Call
- func (_c *ConnectionsApi_UploadConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionsApi_UploadConnectionPermissions_Call
- type ConnectionsApi_UploadConnections_Call
- func (_c *ConnectionsApi_UploadConnections_Call) Return(strings []string) *ConnectionsApi_UploadConnections_Call
- func (_c *ConnectionsApi_UploadConnections_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_UploadConnections_Call
- func (_c *ConnectionsApi_UploadConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionsApi_UploadConnections_Call
- type DashboardPermissionsApi
- func (_mock *DashboardPermissionsApi) ClearDashboardPermissions(filterReq filters.V2Filter) error
- func (_mock *DashboardPermissionsApi) DownloadDashboardPermissions(filterReq filters.V2Filter) ([]string, error)
- func (_m *DashboardPermissionsApi) EXPECT() *DashboardPermissionsApi_Expecter
- func (_mock *DashboardPermissionsApi) ListDashboardPermissions(filterReq filters.V2Filter) ([]domain.DashboardAndPermissions, error)
- func (_mock *DashboardPermissionsApi) UploadDashboardPermissions(filterReq filters.V2Filter) ([]string, error)
- type DashboardPermissionsApi_ClearDashboardPermissions_Call
- func (_c *DashboardPermissionsApi_ClearDashboardPermissions_Call) Return(err error) *DashboardPermissionsApi_ClearDashboardPermissions_Call
- func (_c *DashboardPermissionsApi_ClearDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *DashboardPermissionsApi_ClearDashboardPermissions_Call
- func (_c *DashboardPermissionsApi_ClearDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) error) *DashboardPermissionsApi_ClearDashboardPermissions_Call
- type DashboardPermissionsApi_DownloadDashboardPermissions_Call
- func (_c *DashboardPermissionsApi_DownloadDashboardPermissions_Call) Return(strings []string, err error) *DashboardPermissionsApi_DownloadDashboardPermissions_Call
- func (_c *DashboardPermissionsApi_DownloadDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *DashboardPermissionsApi_DownloadDashboardPermissions_Call
- func (_c *DashboardPermissionsApi_DownloadDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]string, error)) *DashboardPermissionsApi_DownloadDashboardPermissions_Call
- type DashboardPermissionsApi_Expecter
- func (_e *DashboardPermissionsApi_Expecter) ClearDashboardPermissions(filterReq interface{}) *DashboardPermissionsApi_ClearDashboardPermissions_Call
- func (_e *DashboardPermissionsApi_Expecter) DownloadDashboardPermissions(filterReq interface{}) *DashboardPermissionsApi_DownloadDashboardPermissions_Call
- func (_e *DashboardPermissionsApi_Expecter) ListDashboardPermissions(filterReq interface{}) *DashboardPermissionsApi_ListDashboardPermissions_Call
- func (_e *DashboardPermissionsApi_Expecter) UploadDashboardPermissions(filterReq interface{}) *DashboardPermissionsApi_UploadDashboardPermissions_Call
- type DashboardPermissionsApi_ListDashboardPermissions_Call
- func (_c *DashboardPermissionsApi_ListDashboardPermissions_Call) Return(dashboardAndPermissionss []domain.DashboardAndPermissions, err error) *DashboardPermissionsApi_ListDashboardPermissions_Call
- func (_c *DashboardPermissionsApi_ListDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *DashboardPermissionsApi_ListDashboardPermissions_Call
- func (_c *DashboardPermissionsApi_ListDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]domain.DashboardAndPermissions, error)) *DashboardPermissionsApi_ListDashboardPermissions_Call
- type DashboardPermissionsApi_UploadDashboardPermissions_Call
- func (_c *DashboardPermissionsApi_UploadDashboardPermissions_Call) Return(strings []string, err error) *DashboardPermissionsApi_UploadDashboardPermissions_Call
- func (_c *DashboardPermissionsApi_UploadDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *DashboardPermissionsApi_UploadDashboardPermissions_Call
- func (_c *DashboardPermissionsApi_UploadDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]string, error)) *DashboardPermissionsApi_UploadDashboardPermissions_Call
- type DashboardsApi
- func (_mock *DashboardsApi) DeleteAllDashboards(filter filters.V2Filter) []string
- func (_mock *DashboardsApi) DownloadDashboards(filter filters.V2Filter) []string
- func (_m *DashboardsApi) EXPECT() *DashboardsApi_Expecter
- func (_mock *DashboardsApi) ListDashboards(filter filters.V2Filter) []*domain.NestedHit
- func (_mock *DashboardsApi) UploadDashboards(filterReq filters.V2Filter) ([]string, error)
- type DashboardsApi_DeleteAllDashboards_Call
- func (_c *DashboardsApi_DeleteAllDashboards_Call) Return(strings []string) *DashboardsApi_DeleteAllDashboards_Call
- func (_c *DashboardsApi_DeleteAllDashboards_Call) Run(run func(filter filters.V2Filter)) *DashboardsApi_DeleteAllDashboards_Call
- func (_c *DashboardsApi_DeleteAllDashboards_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *DashboardsApi_DeleteAllDashboards_Call
- type DashboardsApi_DownloadDashboards_Call
- func (_c *DashboardsApi_DownloadDashboards_Call) Return(strings []string) *DashboardsApi_DownloadDashboards_Call
- func (_c *DashboardsApi_DownloadDashboards_Call) Run(run func(filter filters.V2Filter)) *DashboardsApi_DownloadDashboards_Call
- func (_c *DashboardsApi_DownloadDashboards_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *DashboardsApi_DownloadDashboards_Call
- type DashboardsApi_Expecter
- func (_e *DashboardsApi_Expecter) DeleteAllDashboards(filter interface{}) *DashboardsApi_DeleteAllDashboards_Call
- func (_e *DashboardsApi_Expecter) DownloadDashboards(filter interface{}) *DashboardsApi_DownloadDashboards_Call
- func (_e *DashboardsApi_Expecter) ListDashboards(filter interface{}) *DashboardsApi_ListDashboards_Call
- func (_e *DashboardsApi_Expecter) UploadDashboards(filterReq interface{}) *DashboardsApi_UploadDashboards_Call
- type DashboardsApi_ListDashboards_Call
- func (_c *DashboardsApi_ListDashboards_Call) Return(nestedHits []*domain.NestedHit) *DashboardsApi_ListDashboards_Call
- func (_c *DashboardsApi_ListDashboards_Call) Run(run func(filter filters.V2Filter)) *DashboardsApi_ListDashboards_Call
- func (_c *DashboardsApi_ListDashboards_Call) RunAndReturn(run func(filter filters.V2Filter) []*domain.NestedHit) *DashboardsApi_ListDashboards_Call
- type DashboardsApi_UploadDashboards_Call
- func (_c *DashboardsApi_UploadDashboards_Call) Return(strings []string, err error) *DashboardsApi_UploadDashboards_Call
- func (_c *DashboardsApi_UploadDashboards_Call) Run(run func(filterReq filters.V2Filter)) *DashboardsApi_UploadDashboards_Call
- func (_c *DashboardsApi_UploadDashboards_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]string, error)) *DashboardsApi_UploadDashboards_Call
- type FoldersApi
- func (_mock *FoldersApi) DeleteAllFolders(filter filters.V2Filter) []string
- func (_mock *FoldersApi) DownloadFolderPermissions(filter filters.V2Filter) []string
- func (_mock *FoldersApi) DownloadFolders(filter filters.V2Filter) []string
- func (_m *FoldersApi) EXPECT() *FoldersApi_Expecter
- func (_mock *FoldersApi) ListFolderPermissions(filter filters.V2Filter) map[*domain.NestedHit][]*models.DashboardACLInfoDTO
- func (_mock *FoldersApi) ListFolders(filter filters.V2Filter) []*domain.NestedHit
- func (_mock *FoldersApi) UploadFolderPermissions(filter filters.V2Filter) []string
- func (_mock *FoldersApi) UploadFolders(filter filters.V2Filter) []string
- type FoldersApi_DeleteAllFolders_Call
- func (_c *FoldersApi_DeleteAllFolders_Call) Return(strings []string) *FoldersApi_DeleteAllFolders_Call
- func (_c *FoldersApi_DeleteAllFolders_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_DeleteAllFolders_Call
- func (_c *FoldersApi_DeleteAllFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *FoldersApi_DeleteAllFolders_Call
- type FoldersApi_DownloadFolderPermissions_Call
- func (_c *FoldersApi_DownloadFolderPermissions_Call) Return(strings []string) *FoldersApi_DownloadFolderPermissions_Call
- func (_c *FoldersApi_DownloadFolderPermissions_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_DownloadFolderPermissions_Call
- func (_c *FoldersApi_DownloadFolderPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *FoldersApi_DownloadFolderPermissions_Call
- type FoldersApi_DownloadFolders_Call
- func (_c *FoldersApi_DownloadFolders_Call) Return(strings []string) *FoldersApi_DownloadFolders_Call
- func (_c *FoldersApi_DownloadFolders_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_DownloadFolders_Call
- func (_c *FoldersApi_DownloadFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *FoldersApi_DownloadFolders_Call
- type FoldersApi_Expecter
- func (_e *FoldersApi_Expecter) DeleteAllFolders(filter interface{}) *FoldersApi_DeleteAllFolders_Call
- func (_e *FoldersApi_Expecter) DownloadFolderPermissions(filter interface{}) *FoldersApi_DownloadFolderPermissions_Call
- func (_e *FoldersApi_Expecter) DownloadFolders(filter interface{}) *FoldersApi_DownloadFolders_Call
- func (_e *FoldersApi_Expecter) ListFolderPermissions(filter interface{}) *FoldersApi_ListFolderPermissions_Call
- func (_e *FoldersApi_Expecter) ListFolders(filter interface{}) *FoldersApi_ListFolders_Call
- func (_e *FoldersApi_Expecter) UploadFolderPermissions(filter interface{}) *FoldersApi_UploadFolderPermissions_Call
- func (_e *FoldersApi_Expecter) UploadFolders(filter interface{}) *FoldersApi_UploadFolders_Call
- type FoldersApi_ListFolderPermissions_Call
- func (_c *FoldersApi_ListFolderPermissions_Call) Return(...) *FoldersApi_ListFolderPermissions_Call
- func (_c *FoldersApi_ListFolderPermissions_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_ListFolderPermissions_Call
- func (_c *FoldersApi_ListFolderPermissions_Call) RunAndReturn(...) *FoldersApi_ListFolderPermissions_Call
- type FoldersApi_ListFolders_Call
- func (_c *FoldersApi_ListFolders_Call) Return(nestedHits []*domain.NestedHit) *FoldersApi_ListFolders_Call
- func (_c *FoldersApi_ListFolders_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_ListFolders_Call
- func (_c *FoldersApi_ListFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []*domain.NestedHit) *FoldersApi_ListFolders_Call
- type FoldersApi_UploadFolderPermissions_Call
- func (_c *FoldersApi_UploadFolderPermissions_Call) Return(strings []string) *FoldersApi_UploadFolderPermissions_Call
- func (_c *FoldersApi_UploadFolderPermissions_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_UploadFolderPermissions_Call
- func (_c *FoldersApi_UploadFolderPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *FoldersApi_UploadFolderPermissions_Call
- type FoldersApi_UploadFolders_Call
- func (_c *FoldersApi_UploadFolders_Call) Return(strings []string) *FoldersApi_UploadFolders_Call
- func (_c *FoldersApi_UploadFolders_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_UploadFolders_Call
- func (_c *FoldersApi_UploadFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *FoldersApi_UploadFolders_Call
- type GrafanaService
- func (_mock *GrafanaService) AddUserToOrg(role string, orgSlug string, userId int64) error
- func (_mock *GrafanaService) ClearAlertNotifications() error
- func (_mock *GrafanaService) ClearAlertRules(filter filters.V2Filter) ([]string, error)
- func (_mock *GrafanaService) ClearAlertTemplates() ([]string, error)
- func (_mock *GrafanaService) ClearAlertTimings() error
- func (_mock *GrafanaService) ClearContactPoints() ([]string, error)
- func (_mock *GrafanaService) ClearDashboardPermissions(filterReq filters.V2Filter) error
- func (_mock *GrafanaService) CreateServiceAccount(name string, role string, expiration int64) (*models.ServiceAccountDTO, error)
- func (_mock *GrafanaService) CreateServiceAccountToken(serviceAccountId int64, name string, expiration int64) (*models.NewAPIKeyResult, error)
- func (_mock *GrafanaService) DecodeValue(in string) string
- func (_mock *GrafanaService) DeleteAllConnectionPermissions(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DeleteAllConnections(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DeleteAllDashboards(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DeleteAllFolders(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DeleteAllLibraryElements(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DeleteAllServiceAccounts() []string
- func (_mock *GrafanaService) DeleteAllUsers(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DeleteServiceAccount(accountId int64) error
- func (_mock *GrafanaService) DeleteServiceAccountTokens(serviceId int64) []string
- func (_mock *GrafanaService) DeleteTeam(filter filters.V2Filter) ([]*models.TeamDTO, error)
- func (_mock *GrafanaService) DeleteUserFromOrg(orgId string, userId int64) error
- func (_mock *GrafanaService) DownloadAlertNotifications() (string, error)
- func (_mock *GrafanaService) DownloadAlertRules(filter filters.V2Filter) ([]string, error)
- func (_mock *GrafanaService) DownloadAlertTemplates() (string, error)
- func (_mock *GrafanaService) DownloadAlertTimings() (string, error)
- func (_mock *GrafanaService) DownloadConnectionPermissions(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DownloadConnections(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DownloadContactPoints() (string, error)
- func (_mock *GrafanaService) DownloadDashboardPermissions(filterReq filters.V2Filter) ([]string, error)
- func (_mock *GrafanaService) DownloadDashboards(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DownloadFolderPermissions(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DownloadFolders(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DownloadLibraryElements(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DownloadOrganizations(filter filters.V2Filter) []string
- func (_mock *GrafanaService) DownloadTeams(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO
- func (_mock *GrafanaService) DownloadUsers(filter filters.V2Filter) []string
- func (_m *GrafanaService) EXPECT() *GrafanaService_Expecter
- func (_mock *GrafanaService) EncodeValue(in string) string
- func (_mock *GrafanaService) GetOrgPreferences(orgName string) (*models.PreferencesSpec, error)
- func (_mock *GrafanaService) GetServerInfo() map[string]any
- func (_mock *GrafanaService) GetTokenOrganization() *models.OrgDetailsDTO
- func (_mock *GrafanaService) GetUserInfo() (*models.UserProfileDTO, error)
- func (_mock *GrafanaService) GetUserOrganization() *models.OrgDetailsDTO
- func (_mock *GrafanaService) InitOrganizations()
- func (_mock *GrafanaService) IsEnterprise() bool
- func (_mock *GrafanaService) ListAlertNotifications() (*models.Route, error)
- func (_mock *GrafanaService) ListAlertRules(filter filters.V2Filter) ([]*domain.AlertRuleWithNestedFolder, error)
- func (_mock *GrafanaService) ListAlertTemplates() ([]*models.NotificationTemplate, error)
- func (_mock *GrafanaService) ListAlertTimings() ([]*models.MuteTimeInterval, error)
- func (_mock *GrafanaService) ListConnectionPermissions(filter filters.V2Filter) []domain.ConnectionPermissionItem
- func (_mock *GrafanaService) ListConnections(filter filters.V2Filter) []models.DataSourceListItemDTO
- func (_mock *GrafanaService) ListContactPoints() ([]*models.EmbeddedContactPoint, error)
- func (_mock *GrafanaService) ListDashboardPermissions(filterReq filters.V2Filter) ([]domain.DashboardAndPermissions, error)
- func (_mock *GrafanaService) ListDashboards(filter filters.V2Filter) []*domain.NestedHit
- func (_mock *GrafanaService) ListFolderPermissions(filter filters.V2Filter) map[*domain.NestedHit][]*models.DashboardACLInfoDTO
- func (_mock *GrafanaService) ListFolders(filter filters.V2Filter) []*domain.NestedHit
- func (_mock *GrafanaService) ListLibraryElements(filter filters.V2Filter) []*domain.WithNested[models.LibraryElementDTO]
- func (_mock *GrafanaService) ListLibraryElementsConnections(filter filters.V2Filter, connectionID string) []*models.DashboardFullWithMeta
- func (_mock *GrafanaService) ListOrgUsers(orgId int64) []*models.OrgUserDTO
- func (_mock *GrafanaService) ListOrganizations(filter filters.V2Filter, withPreferences bool) []*domain.OrgsDTOWithPreferences
- func (_mock *GrafanaService) ListServiceAccounts() []*domain.ServiceAccountDTOWithTokens
- func (_mock *GrafanaService) ListServiceAccountsTokens(id int64) ([]*models.TokenDTO, error)
- func (_mock *GrafanaService) ListTeams(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO
- func (_mock *GrafanaService) ListUserOrganizations() ([]*models.UserOrgDTO, error)
- func (_mock *GrafanaService) ListUsers(filter filters.V2Filter) []*models.UserSearchHitDTO
- func (_mock *GrafanaService) Login()
- func (_mock *GrafanaService) PromoteUser(userLogin string) (string, error)
- func (_mock *GrafanaService) SetOrganizationByName(name string, useSlug bool) error
- func (_mock *GrafanaService) SetUserOrganizations(id int64) error
- func (_mock *GrafanaService) UpdateUserInOrg(role string, orgSlug string, userId int64) error
- func (_mock *GrafanaService) UploadAlertNotifications() (*models.Route, error)
- func (_mock *GrafanaService) UploadAlertRules(filter filters.V2Filter) error
- func (_mock *GrafanaService) UploadAlertTemplates() ([]string, error)
- func (_mock *GrafanaService) UploadAlertTimings() ([]string, error)
- func (_mock *GrafanaService) UploadConnectionPermissions(filter filters.V2Filter) []string
- func (_mock *GrafanaService) UploadConnections(filter filters.V2Filter) []string
- func (_mock *GrafanaService) UploadContactPoints() ([]string, error)
- func (_mock *GrafanaService) UploadDashboardPermissions(filterReq filters.V2Filter) ([]string, error)
- func (_mock *GrafanaService) UploadDashboards(filterReq filters.V2Filter) ([]string, error)
- func (_mock *GrafanaService) UploadFolderPermissions(filter filters.V2Filter) []string
- func (_mock *GrafanaService) UploadFolders(filter filters.V2Filter) []string
- func (_mock *GrafanaService) UploadLibraryElements(filter filters.V2Filter) []string
- func (_mock *GrafanaService) UploadOrgPreferences(orgName string, pref *models.PreferencesSpec) error
- func (_mock *GrafanaService) UploadOrganizations(filter filters.V2Filter) []string
- func (_mock *GrafanaService) UploadTeams(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO
- func (_mock *GrafanaService) UploadUsers(filter filters.V2Filter) []domain.UserProfileWithAuth
- type GrafanaService_AddUserToOrg_Call
- func (_c *GrafanaService_AddUserToOrg_Call) Return(err error) *GrafanaService_AddUserToOrg_Call
- func (_c *GrafanaService_AddUserToOrg_Call) Run(run func(role string, orgSlug string, userId int64)) *GrafanaService_AddUserToOrg_Call
- func (_c *GrafanaService_AddUserToOrg_Call) RunAndReturn(run func(role string, orgSlug string, userId int64) error) *GrafanaService_AddUserToOrg_Call
- type GrafanaService_ClearAlertNotifications_Call
- func (_c *GrafanaService_ClearAlertNotifications_Call) Return(err error) *GrafanaService_ClearAlertNotifications_Call
- func (_c *GrafanaService_ClearAlertNotifications_Call) Run(run func()) *GrafanaService_ClearAlertNotifications_Call
- func (_c *GrafanaService_ClearAlertNotifications_Call) RunAndReturn(run func() error) *GrafanaService_ClearAlertNotifications_Call
- type GrafanaService_ClearAlertRules_Call
- func (_c *GrafanaService_ClearAlertRules_Call) Return(strings []string, err error) *GrafanaService_ClearAlertRules_Call
- func (_c *GrafanaService_ClearAlertRules_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ClearAlertRules_Call
- func (_c *GrafanaService_ClearAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]string, error)) *GrafanaService_ClearAlertRules_Call
- type GrafanaService_ClearAlertTemplates_Call
- func (_c *GrafanaService_ClearAlertTemplates_Call) Return(strings []string, err error) *GrafanaService_ClearAlertTemplates_Call
- func (_c *GrafanaService_ClearAlertTemplates_Call) Run(run func()) *GrafanaService_ClearAlertTemplates_Call
- func (_c *GrafanaService_ClearAlertTemplates_Call) RunAndReturn(run func() ([]string, error)) *GrafanaService_ClearAlertTemplates_Call
- type GrafanaService_ClearAlertTimings_Call
- func (_c *GrafanaService_ClearAlertTimings_Call) Return(err error) *GrafanaService_ClearAlertTimings_Call
- func (_c *GrafanaService_ClearAlertTimings_Call) Run(run func()) *GrafanaService_ClearAlertTimings_Call
- func (_c *GrafanaService_ClearAlertTimings_Call) RunAndReturn(run func() error) *GrafanaService_ClearAlertTimings_Call
- type GrafanaService_ClearContactPoints_Call
- func (_c *GrafanaService_ClearContactPoints_Call) Return(strings []string, err error) *GrafanaService_ClearContactPoints_Call
- func (_c *GrafanaService_ClearContactPoints_Call) Run(run func()) *GrafanaService_ClearContactPoints_Call
- func (_c *GrafanaService_ClearContactPoints_Call) RunAndReturn(run func() ([]string, error)) *GrafanaService_ClearContactPoints_Call
- type GrafanaService_ClearDashboardPermissions_Call
- func (_c *GrafanaService_ClearDashboardPermissions_Call) Return(err error) *GrafanaService_ClearDashboardPermissions_Call
- func (_c *GrafanaService_ClearDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *GrafanaService_ClearDashboardPermissions_Call
- func (_c *GrafanaService_ClearDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) error) *GrafanaService_ClearDashboardPermissions_Call
- type GrafanaService_CreateServiceAccountToken_Call
- func (_c *GrafanaService_CreateServiceAccountToken_Call) Return(newAPIKeyResult *models.NewAPIKeyResult, err error) *GrafanaService_CreateServiceAccountToken_Call
- func (_c *GrafanaService_CreateServiceAccountToken_Call) Run(run func(serviceAccountId int64, name string, expiration int64)) *GrafanaService_CreateServiceAccountToken_Call
- func (_c *GrafanaService_CreateServiceAccountToken_Call) RunAndReturn(...) *GrafanaService_CreateServiceAccountToken_Call
- type GrafanaService_CreateServiceAccount_Call
- func (_c *GrafanaService_CreateServiceAccount_Call) Return(serviceAccountDTO *models.ServiceAccountDTO, err error) *GrafanaService_CreateServiceAccount_Call
- func (_c *GrafanaService_CreateServiceAccount_Call) Run(run func(name string, role string, expiration int64)) *GrafanaService_CreateServiceAccount_Call
- func (_c *GrafanaService_CreateServiceAccount_Call) RunAndReturn(...) *GrafanaService_CreateServiceAccount_Call
- type GrafanaService_DecodeValue_Call
- func (_c *GrafanaService_DecodeValue_Call) Return(s string) *GrafanaService_DecodeValue_Call
- func (_c *GrafanaService_DecodeValue_Call) Run(run func(in string)) *GrafanaService_DecodeValue_Call
- func (_c *GrafanaService_DecodeValue_Call) RunAndReturn(run func(in string) string) *GrafanaService_DecodeValue_Call
- type GrafanaService_DeleteAllConnectionPermissions_Call
- func (_c *GrafanaService_DeleteAllConnectionPermissions_Call) Return(strings []string) *GrafanaService_DeleteAllConnectionPermissions_Call
- func (_c *GrafanaService_DeleteAllConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteAllConnectionPermissions_Call
- func (_c *GrafanaService_DeleteAllConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DeleteAllConnectionPermissions_Call
- type GrafanaService_DeleteAllConnections_Call
- func (_c *GrafanaService_DeleteAllConnections_Call) Return(strings []string) *GrafanaService_DeleteAllConnections_Call
- func (_c *GrafanaService_DeleteAllConnections_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteAllConnections_Call
- func (_c *GrafanaService_DeleteAllConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DeleteAllConnections_Call
- type GrafanaService_DeleteAllDashboards_Call
- func (_c *GrafanaService_DeleteAllDashboards_Call) Return(strings []string) *GrafanaService_DeleteAllDashboards_Call
- func (_c *GrafanaService_DeleteAllDashboards_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteAllDashboards_Call
- func (_c *GrafanaService_DeleteAllDashboards_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DeleteAllDashboards_Call
- type GrafanaService_DeleteAllFolders_Call
- func (_c *GrafanaService_DeleteAllFolders_Call) Return(strings []string) *GrafanaService_DeleteAllFolders_Call
- func (_c *GrafanaService_DeleteAllFolders_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteAllFolders_Call
- func (_c *GrafanaService_DeleteAllFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DeleteAllFolders_Call
- type GrafanaService_DeleteAllLibraryElements_Call
- func (_c *GrafanaService_DeleteAllLibraryElements_Call) Return(strings []string) *GrafanaService_DeleteAllLibraryElements_Call
- func (_c *GrafanaService_DeleteAllLibraryElements_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteAllLibraryElements_Call
- func (_c *GrafanaService_DeleteAllLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DeleteAllLibraryElements_Call
- type GrafanaService_DeleteAllServiceAccounts_Call
- func (_c *GrafanaService_DeleteAllServiceAccounts_Call) Return(strings []string) *GrafanaService_DeleteAllServiceAccounts_Call
- func (_c *GrafanaService_DeleteAllServiceAccounts_Call) Run(run func()) *GrafanaService_DeleteAllServiceAccounts_Call
- func (_c *GrafanaService_DeleteAllServiceAccounts_Call) RunAndReturn(run func() []string) *GrafanaService_DeleteAllServiceAccounts_Call
- type GrafanaService_DeleteAllUsers_Call
- func (_c *GrafanaService_DeleteAllUsers_Call) Return(strings []string) *GrafanaService_DeleteAllUsers_Call
- func (_c *GrafanaService_DeleteAllUsers_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteAllUsers_Call
- func (_c *GrafanaService_DeleteAllUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DeleteAllUsers_Call
- type GrafanaService_DeleteServiceAccountTokens_Call
- func (_c *GrafanaService_DeleteServiceAccountTokens_Call) Return(strings []string) *GrafanaService_DeleteServiceAccountTokens_Call
- func (_c *GrafanaService_DeleteServiceAccountTokens_Call) Run(run func(serviceId int64)) *GrafanaService_DeleteServiceAccountTokens_Call
- func (_c *GrafanaService_DeleteServiceAccountTokens_Call) RunAndReturn(run func(serviceId int64) []string) *GrafanaService_DeleteServiceAccountTokens_Call
- type GrafanaService_DeleteServiceAccount_Call
- func (_c *GrafanaService_DeleteServiceAccount_Call) Return(err error) *GrafanaService_DeleteServiceAccount_Call
- func (_c *GrafanaService_DeleteServiceAccount_Call) Run(run func(accountId int64)) *GrafanaService_DeleteServiceAccount_Call
- func (_c *GrafanaService_DeleteServiceAccount_Call) RunAndReturn(run func(accountId int64) error) *GrafanaService_DeleteServiceAccount_Call
- type GrafanaService_DeleteTeam_Call
- func (_c *GrafanaService_DeleteTeam_Call) Return(teamDTOs []*models.TeamDTO, err error) *GrafanaService_DeleteTeam_Call
- func (_c *GrafanaService_DeleteTeam_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteTeam_Call
- func (_c *GrafanaService_DeleteTeam_Call) RunAndReturn(run func(filter filters.V2Filter) ([]*models.TeamDTO, error)) *GrafanaService_DeleteTeam_Call
- type GrafanaService_DeleteUserFromOrg_Call
- func (_c *GrafanaService_DeleteUserFromOrg_Call) Return(err error) *GrafanaService_DeleteUserFromOrg_Call
- func (_c *GrafanaService_DeleteUserFromOrg_Call) Run(run func(orgId string, userId int64)) *GrafanaService_DeleteUserFromOrg_Call
- func (_c *GrafanaService_DeleteUserFromOrg_Call) RunAndReturn(run func(orgId string, userId int64) error) *GrafanaService_DeleteUserFromOrg_Call
- type GrafanaService_DownloadAlertNotifications_Call
- func (_c *GrafanaService_DownloadAlertNotifications_Call) Return(s string, err error) *GrafanaService_DownloadAlertNotifications_Call
- func (_c *GrafanaService_DownloadAlertNotifications_Call) Run(run func()) *GrafanaService_DownloadAlertNotifications_Call
- func (_c *GrafanaService_DownloadAlertNotifications_Call) RunAndReturn(run func() (string, error)) *GrafanaService_DownloadAlertNotifications_Call
- type GrafanaService_DownloadAlertRules_Call
- func (_c *GrafanaService_DownloadAlertRules_Call) Return(strings []string, err error) *GrafanaService_DownloadAlertRules_Call
- func (_c *GrafanaService_DownloadAlertRules_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadAlertRules_Call
- func (_c *GrafanaService_DownloadAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]string, error)) *GrafanaService_DownloadAlertRules_Call
- type GrafanaService_DownloadAlertTemplates_Call
- func (_c *GrafanaService_DownloadAlertTemplates_Call) Return(s string, err error) *GrafanaService_DownloadAlertTemplates_Call
- func (_c *GrafanaService_DownloadAlertTemplates_Call) Run(run func()) *GrafanaService_DownloadAlertTemplates_Call
- func (_c *GrafanaService_DownloadAlertTemplates_Call) RunAndReturn(run func() (string, error)) *GrafanaService_DownloadAlertTemplates_Call
- type GrafanaService_DownloadAlertTimings_Call
- func (_c *GrafanaService_DownloadAlertTimings_Call) Return(s string, err error) *GrafanaService_DownloadAlertTimings_Call
- func (_c *GrafanaService_DownloadAlertTimings_Call) Run(run func()) *GrafanaService_DownloadAlertTimings_Call
- func (_c *GrafanaService_DownloadAlertTimings_Call) RunAndReturn(run func() (string, error)) *GrafanaService_DownloadAlertTimings_Call
- type GrafanaService_DownloadConnectionPermissions_Call
- func (_c *GrafanaService_DownloadConnectionPermissions_Call) Return(strings []string) *GrafanaService_DownloadConnectionPermissions_Call
- func (_c *GrafanaService_DownloadConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadConnectionPermissions_Call
- func (_c *GrafanaService_DownloadConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadConnectionPermissions_Call
- type GrafanaService_DownloadConnections_Call
- func (_c *GrafanaService_DownloadConnections_Call) Return(strings []string) *GrafanaService_DownloadConnections_Call
- func (_c *GrafanaService_DownloadConnections_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadConnections_Call
- func (_c *GrafanaService_DownloadConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadConnections_Call
- type GrafanaService_DownloadContactPoints_Call
- func (_c *GrafanaService_DownloadContactPoints_Call) Return(s string, err error) *GrafanaService_DownloadContactPoints_Call
- func (_c *GrafanaService_DownloadContactPoints_Call) Run(run func()) *GrafanaService_DownloadContactPoints_Call
- func (_c *GrafanaService_DownloadContactPoints_Call) RunAndReturn(run func() (string, error)) *GrafanaService_DownloadContactPoints_Call
- type GrafanaService_DownloadDashboardPermissions_Call
- func (_c *GrafanaService_DownloadDashboardPermissions_Call) Return(strings []string, err error) *GrafanaService_DownloadDashboardPermissions_Call
- func (_c *GrafanaService_DownloadDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *GrafanaService_DownloadDashboardPermissions_Call
- func (_c *GrafanaService_DownloadDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]string, error)) *GrafanaService_DownloadDashboardPermissions_Call
- type GrafanaService_DownloadDashboards_Call
- func (_c *GrafanaService_DownloadDashboards_Call) Return(strings []string) *GrafanaService_DownloadDashboards_Call
- func (_c *GrafanaService_DownloadDashboards_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadDashboards_Call
- func (_c *GrafanaService_DownloadDashboards_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadDashboards_Call
- type GrafanaService_DownloadFolderPermissions_Call
- func (_c *GrafanaService_DownloadFolderPermissions_Call) Return(strings []string) *GrafanaService_DownloadFolderPermissions_Call
- func (_c *GrafanaService_DownloadFolderPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadFolderPermissions_Call
- func (_c *GrafanaService_DownloadFolderPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadFolderPermissions_Call
- type GrafanaService_DownloadFolders_Call
- func (_c *GrafanaService_DownloadFolders_Call) Return(strings []string) *GrafanaService_DownloadFolders_Call
- func (_c *GrafanaService_DownloadFolders_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadFolders_Call
- func (_c *GrafanaService_DownloadFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadFolders_Call
- type GrafanaService_DownloadLibraryElements_Call
- func (_c *GrafanaService_DownloadLibraryElements_Call) Return(strings []string) *GrafanaService_DownloadLibraryElements_Call
- func (_c *GrafanaService_DownloadLibraryElements_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadLibraryElements_Call
- func (_c *GrafanaService_DownloadLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadLibraryElements_Call
- type GrafanaService_DownloadOrganizations_Call
- func (_c *GrafanaService_DownloadOrganizations_Call) Return(strings []string) *GrafanaService_DownloadOrganizations_Call
- func (_c *GrafanaService_DownloadOrganizations_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadOrganizations_Call
- func (_c *GrafanaService_DownloadOrganizations_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadOrganizations_Call
- type GrafanaService_DownloadTeams_Call
- func (_c *GrafanaService_DownloadTeams_Call) Return(teamDTOToTeamMemberDTOs map[*models.TeamDTO][]*models.TeamMemberDTO) *GrafanaService_DownloadTeams_Call
- func (_c *GrafanaService_DownloadTeams_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadTeams_Call
- func (_c *GrafanaService_DownloadTeams_Call) RunAndReturn(run func(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO) *GrafanaService_DownloadTeams_Call
- type GrafanaService_DownloadUsers_Call
- func (_c *GrafanaService_DownloadUsers_Call) Return(strings []string) *GrafanaService_DownloadUsers_Call
- func (_c *GrafanaService_DownloadUsers_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadUsers_Call
- func (_c *GrafanaService_DownloadUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadUsers_Call
- type GrafanaService_EncodeValue_Call
- func (_c *GrafanaService_EncodeValue_Call) Return(s string) *GrafanaService_EncodeValue_Call
- func (_c *GrafanaService_EncodeValue_Call) Run(run func(in string)) *GrafanaService_EncodeValue_Call
- func (_c *GrafanaService_EncodeValue_Call) RunAndReturn(run func(in string) string) *GrafanaService_EncodeValue_Call
- type GrafanaService_Expecter
- func (_e *GrafanaService_Expecter) AddUserToOrg(role interface{}, orgSlug interface{}, userId interface{}) *GrafanaService_AddUserToOrg_Call
- func (_e *GrafanaService_Expecter) ClearAlertNotifications() *GrafanaService_ClearAlertNotifications_Call
- func (_e *GrafanaService_Expecter) ClearAlertRules(filter interface{}) *GrafanaService_ClearAlertRules_Call
- func (_e *GrafanaService_Expecter) ClearAlertTemplates() *GrafanaService_ClearAlertTemplates_Call
- func (_e *GrafanaService_Expecter) ClearAlertTimings() *GrafanaService_ClearAlertTimings_Call
- func (_e *GrafanaService_Expecter) ClearContactPoints() *GrafanaService_ClearContactPoints_Call
- func (_e *GrafanaService_Expecter) ClearDashboardPermissions(filterReq interface{}) *GrafanaService_ClearDashboardPermissions_Call
- func (_e *GrafanaService_Expecter) CreateServiceAccount(name interface{}, role interface{}, expiration interface{}) *GrafanaService_CreateServiceAccount_Call
- func (_e *GrafanaService_Expecter) CreateServiceAccountToken(serviceAccountId interface{}, name interface{}, expiration interface{}) *GrafanaService_CreateServiceAccountToken_Call
- func (_e *GrafanaService_Expecter) DecodeValue(in interface{}) *GrafanaService_DecodeValue_Call
- func (_e *GrafanaService_Expecter) DeleteAllConnectionPermissions(filter interface{}) *GrafanaService_DeleteAllConnectionPermissions_Call
- func (_e *GrafanaService_Expecter) DeleteAllConnections(filter interface{}) *GrafanaService_DeleteAllConnections_Call
- func (_e *GrafanaService_Expecter) DeleteAllDashboards(filter interface{}) *GrafanaService_DeleteAllDashboards_Call
- func (_e *GrafanaService_Expecter) DeleteAllFolders(filter interface{}) *GrafanaService_DeleteAllFolders_Call
- func (_e *GrafanaService_Expecter) DeleteAllLibraryElements(filter interface{}) *GrafanaService_DeleteAllLibraryElements_Call
- func (_e *GrafanaService_Expecter) DeleteAllServiceAccounts() *GrafanaService_DeleteAllServiceAccounts_Call
- func (_e *GrafanaService_Expecter) DeleteAllUsers(filter interface{}) *GrafanaService_DeleteAllUsers_Call
- func (_e *GrafanaService_Expecter) DeleteServiceAccount(accountId interface{}) *GrafanaService_DeleteServiceAccount_Call
- func (_e *GrafanaService_Expecter) DeleteServiceAccountTokens(serviceId interface{}) *GrafanaService_DeleteServiceAccountTokens_Call
- func (_e *GrafanaService_Expecter) DeleteTeam(filter interface{}) *GrafanaService_DeleteTeam_Call
- func (_e *GrafanaService_Expecter) DeleteUserFromOrg(orgId interface{}, userId interface{}) *GrafanaService_DeleteUserFromOrg_Call
- func (_e *GrafanaService_Expecter) DownloadAlertNotifications() *GrafanaService_DownloadAlertNotifications_Call
- func (_e *GrafanaService_Expecter) DownloadAlertRules(filter interface{}) *GrafanaService_DownloadAlertRules_Call
- func (_e *GrafanaService_Expecter) DownloadAlertTemplates() *GrafanaService_DownloadAlertTemplates_Call
- func (_e *GrafanaService_Expecter) DownloadAlertTimings() *GrafanaService_DownloadAlertTimings_Call
- func (_e *GrafanaService_Expecter) DownloadConnectionPermissions(filter interface{}) *GrafanaService_DownloadConnectionPermissions_Call
- func (_e *GrafanaService_Expecter) DownloadConnections(filter interface{}) *GrafanaService_DownloadConnections_Call
- func (_e *GrafanaService_Expecter) DownloadContactPoints() *GrafanaService_DownloadContactPoints_Call
- func (_e *GrafanaService_Expecter) DownloadDashboardPermissions(filterReq interface{}) *GrafanaService_DownloadDashboardPermissions_Call
- func (_e *GrafanaService_Expecter) DownloadDashboards(filter interface{}) *GrafanaService_DownloadDashboards_Call
- func (_e *GrafanaService_Expecter) DownloadFolderPermissions(filter interface{}) *GrafanaService_DownloadFolderPermissions_Call
- func (_e *GrafanaService_Expecter) DownloadFolders(filter interface{}) *GrafanaService_DownloadFolders_Call
- func (_e *GrafanaService_Expecter) DownloadLibraryElements(filter interface{}) *GrafanaService_DownloadLibraryElements_Call
- func (_e *GrafanaService_Expecter) DownloadOrganizations(filter interface{}) *GrafanaService_DownloadOrganizations_Call
- func (_e *GrafanaService_Expecter) DownloadTeams(filter interface{}) *GrafanaService_DownloadTeams_Call
- func (_e *GrafanaService_Expecter) DownloadUsers(filter interface{}) *GrafanaService_DownloadUsers_Call
- func (_e *GrafanaService_Expecter) EncodeValue(in interface{}) *GrafanaService_EncodeValue_Call
- func (_e *GrafanaService_Expecter) GetOrgPreferences(orgName interface{}) *GrafanaService_GetOrgPreferences_Call
- func (_e *GrafanaService_Expecter) GetServerInfo() *GrafanaService_GetServerInfo_Call
- func (_e *GrafanaService_Expecter) GetTokenOrganization() *GrafanaService_GetTokenOrganization_Call
- func (_e *GrafanaService_Expecter) GetUserInfo() *GrafanaService_GetUserInfo_Call
- func (_e *GrafanaService_Expecter) GetUserOrganization() *GrafanaService_GetUserOrganization_Call
- func (_e *GrafanaService_Expecter) InitOrganizations() *GrafanaService_InitOrganizations_Call
- func (_e *GrafanaService_Expecter) IsEnterprise() *GrafanaService_IsEnterprise_Call
- func (_e *GrafanaService_Expecter) ListAlertNotifications() *GrafanaService_ListAlertNotifications_Call
- func (_e *GrafanaService_Expecter) ListAlertRules(filter interface{}) *GrafanaService_ListAlertRules_Call
- func (_e *GrafanaService_Expecter) ListAlertTemplates() *GrafanaService_ListAlertTemplates_Call
- func (_e *GrafanaService_Expecter) ListAlertTimings() *GrafanaService_ListAlertTimings_Call
- func (_e *GrafanaService_Expecter) ListConnectionPermissions(filter interface{}) *GrafanaService_ListConnectionPermissions_Call
- func (_e *GrafanaService_Expecter) ListConnections(filter interface{}) *GrafanaService_ListConnections_Call
- func (_e *GrafanaService_Expecter) ListContactPoints() *GrafanaService_ListContactPoints_Call
- func (_e *GrafanaService_Expecter) ListDashboardPermissions(filterReq interface{}) *GrafanaService_ListDashboardPermissions_Call
- func (_e *GrafanaService_Expecter) ListDashboards(filter interface{}) *GrafanaService_ListDashboards_Call
- func (_e *GrafanaService_Expecter) ListFolderPermissions(filter interface{}) *GrafanaService_ListFolderPermissions_Call
- func (_e *GrafanaService_Expecter) ListFolders(filter interface{}) *GrafanaService_ListFolders_Call
- func (_e *GrafanaService_Expecter) ListLibraryElements(filter interface{}) *GrafanaService_ListLibraryElements_Call
- func (_e *GrafanaService_Expecter) ListLibraryElementsConnections(filter interface{}, connectionID interface{}) *GrafanaService_ListLibraryElementsConnections_Call
- func (_e *GrafanaService_Expecter) ListOrgUsers(orgId interface{}) *GrafanaService_ListOrgUsers_Call
- func (_e *GrafanaService_Expecter) ListOrganizations(filter interface{}, withPreferences interface{}) *GrafanaService_ListOrganizations_Call
- func (_e *GrafanaService_Expecter) ListServiceAccounts() *GrafanaService_ListServiceAccounts_Call
- func (_e *GrafanaService_Expecter) ListServiceAccountsTokens(id interface{}) *GrafanaService_ListServiceAccountsTokens_Call
- func (_e *GrafanaService_Expecter) ListTeams(filter interface{}) *GrafanaService_ListTeams_Call
- func (_e *GrafanaService_Expecter) ListUserOrganizations() *GrafanaService_ListUserOrganizations_Call
- func (_e *GrafanaService_Expecter) ListUsers(filter interface{}) *GrafanaService_ListUsers_Call
- func (_e *GrafanaService_Expecter) Login() *GrafanaService_Login_Call
- func (_e *GrafanaService_Expecter) PromoteUser(userLogin interface{}) *GrafanaService_PromoteUser_Call
- func (_e *GrafanaService_Expecter) SetOrganizationByName(name interface{}, useSlug interface{}) *GrafanaService_SetOrganizationByName_Call
- func (_e *GrafanaService_Expecter) SetUserOrganizations(id interface{}) *GrafanaService_SetUserOrganizations_Call
- func (_e *GrafanaService_Expecter) UpdateUserInOrg(role interface{}, orgSlug interface{}, userId interface{}) *GrafanaService_UpdateUserInOrg_Call
- func (_e *GrafanaService_Expecter) UploadAlertNotifications() *GrafanaService_UploadAlertNotifications_Call
- func (_e *GrafanaService_Expecter) UploadAlertRules(filter interface{}) *GrafanaService_UploadAlertRules_Call
- func (_e *GrafanaService_Expecter) UploadAlertTemplates() *GrafanaService_UploadAlertTemplates_Call
- func (_e *GrafanaService_Expecter) UploadAlertTimings() *GrafanaService_UploadAlertTimings_Call
- func (_e *GrafanaService_Expecter) UploadConnectionPermissions(filter interface{}) *GrafanaService_UploadConnectionPermissions_Call
- func (_e *GrafanaService_Expecter) UploadConnections(filter interface{}) *GrafanaService_UploadConnections_Call
- func (_e *GrafanaService_Expecter) UploadContactPoints() *GrafanaService_UploadContactPoints_Call
- func (_e *GrafanaService_Expecter) UploadDashboardPermissions(filterReq interface{}) *GrafanaService_UploadDashboardPermissions_Call
- func (_e *GrafanaService_Expecter) UploadDashboards(filterReq interface{}) *GrafanaService_UploadDashboards_Call
- func (_e *GrafanaService_Expecter) UploadFolderPermissions(filter interface{}) *GrafanaService_UploadFolderPermissions_Call
- func (_e *GrafanaService_Expecter) UploadFolders(filter interface{}) *GrafanaService_UploadFolders_Call
- func (_e *GrafanaService_Expecter) UploadLibraryElements(filter interface{}) *GrafanaService_UploadLibraryElements_Call
- func (_e *GrafanaService_Expecter) UploadOrgPreferences(orgName interface{}, pref interface{}) *GrafanaService_UploadOrgPreferences_Call
- func (_e *GrafanaService_Expecter) UploadOrganizations(filter interface{}) *GrafanaService_UploadOrganizations_Call
- func (_e *GrafanaService_Expecter) UploadTeams(filter interface{}) *GrafanaService_UploadTeams_Call
- func (_e *GrafanaService_Expecter) UploadUsers(filter interface{}) *GrafanaService_UploadUsers_Call
- type GrafanaService_GetOrgPreferences_Call
- func (_c *GrafanaService_GetOrgPreferences_Call) Return(preferencesSpec *models.PreferencesSpec, err error) *GrafanaService_GetOrgPreferences_Call
- func (_c *GrafanaService_GetOrgPreferences_Call) Run(run func(orgName string)) *GrafanaService_GetOrgPreferences_Call
- func (_c *GrafanaService_GetOrgPreferences_Call) RunAndReturn(run func(orgName string) (*models.PreferencesSpec, error)) *GrafanaService_GetOrgPreferences_Call
- type GrafanaService_GetServerInfo_Call
- func (_c *GrafanaService_GetServerInfo_Call) Return(stringToV map[string]any) *GrafanaService_GetServerInfo_Call
- func (_c *GrafanaService_GetServerInfo_Call) Run(run func()) *GrafanaService_GetServerInfo_Call
- func (_c *GrafanaService_GetServerInfo_Call) RunAndReturn(run func() map[string]any) *GrafanaService_GetServerInfo_Call
- type GrafanaService_GetTokenOrganization_Call
- func (_c *GrafanaService_GetTokenOrganization_Call) Return(orgDetailsDTO *models.OrgDetailsDTO) *GrafanaService_GetTokenOrganization_Call
- func (_c *GrafanaService_GetTokenOrganization_Call) Run(run func()) *GrafanaService_GetTokenOrganization_Call
- func (_c *GrafanaService_GetTokenOrganization_Call) RunAndReturn(run func() *models.OrgDetailsDTO) *GrafanaService_GetTokenOrganization_Call
- type GrafanaService_GetUserInfo_Call
- func (_c *GrafanaService_GetUserInfo_Call) Return(userProfileDTO *models.UserProfileDTO, err error) *GrafanaService_GetUserInfo_Call
- func (_c *GrafanaService_GetUserInfo_Call) Run(run func()) *GrafanaService_GetUserInfo_Call
- func (_c *GrafanaService_GetUserInfo_Call) RunAndReturn(run func() (*models.UserProfileDTO, error)) *GrafanaService_GetUserInfo_Call
- type GrafanaService_GetUserOrganization_Call
- func (_c *GrafanaService_GetUserOrganization_Call) Return(orgDetailsDTO *models.OrgDetailsDTO) *GrafanaService_GetUserOrganization_Call
- func (_c *GrafanaService_GetUserOrganization_Call) Run(run func()) *GrafanaService_GetUserOrganization_Call
- func (_c *GrafanaService_GetUserOrganization_Call) RunAndReturn(run func() *models.OrgDetailsDTO) *GrafanaService_GetUserOrganization_Call
- type GrafanaService_InitOrganizations_Call
- func (_c *GrafanaService_InitOrganizations_Call) Return() *GrafanaService_InitOrganizations_Call
- func (_c *GrafanaService_InitOrganizations_Call) Run(run func()) *GrafanaService_InitOrganizations_Call
- func (_c *GrafanaService_InitOrganizations_Call) RunAndReturn(run func()) *GrafanaService_InitOrganizations_Call
- type GrafanaService_IsEnterprise_Call
- type GrafanaService_ListAlertNotifications_Call
- func (_c *GrafanaService_ListAlertNotifications_Call) Return(route *models.Route, err error) *GrafanaService_ListAlertNotifications_Call
- func (_c *GrafanaService_ListAlertNotifications_Call) Run(run func()) *GrafanaService_ListAlertNotifications_Call
- func (_c *GrafanaService_ListAlertNotifications_Call) RunAndReturn(run func() (*models.Route, error)) *GrafanaService_ListAlertNotifications_Call
- type GrafanaService_ListAlertRules_Call
- func (_c *GrafanaService_ListAlertRules_Call) Return(alertRuleWithNestedFolders []*domain.AlertRuleWithNestedFolder, err error) *GrafanaService_ListAlertRules_Call
- func (_c *GrafanaService_ListAlertRules_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListAlertRules_Call
- func (_c *GrafanaService_ListAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]*domain.AlertRuleWithNestedFolder, error)) *GrafanaService_ListAlertRules_Call
- type GrafanaService_ListAlertTemplates_Call
- func (_c *GrafanaService_ListAlertTemplates_Call) Return(notificationTemplates []*models.NotificationTemplate, err error) *GrafanaService_ListAlertTemplates_Call
- func (_c *GrafanaService_ListAlertTemplates_Call) Run(run func()) *GrafanaService_ListAlertTemplates_Call
- func (_c *GrafanaService_ListAlertTemplates_Call) RunAndReturn(run func() ([]*models.NotificationTemplate, error)) *GrafanaService_ListAlertTemplates_Call
- type GrafanaService_ListAlertTimings_Call
- func (_c *GrafanaService_ListAlertTimings_Call) Return(muteTimeIntervals []*models.MuteTimeInterval, err error) *GrafanaService_ListAlertTimings_Call
- func (_c *GrafanaService_ListAlertTimings_Call) Run(run func()) *GrafanaService_ListAlertTimings_Call
- func (_c *GrafanaService_ListAlertTimings_Call) RunAndReturn(run func() ([]*models.MuteTimeInterval, error)) *GrafanaService_ListAlertTimings_Call
- type GrafanaService_ListConnectionPermissions_Call
- func (_c *GrafanaService_ListConnectionPermissions_Call) Return(connectionPermissionItems []domain.ConnectionPermissionItem) *GrafanaService_ListConnectionPermissions_Call
- func (_c *GrafanaService_ListConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListConnectionPermissions_Call
- func (_c *GrafanaService_ListConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []domain.ConnectionPermissionItem) *GrafanaService_ListConnectionPermissions_Call
- type GrafanaService_ListConnections_Call
- func (_c *GrafanaService_ListConnections_Call) Return(dataSourceListItemDTOs []models.DataSourceListItemDTO) *GrafanaService_ListConnections_Call
- func (_c *GrafanaService_ListConnections_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListConnections_Call
- func (_c *GrafanaService_ListConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []models.DataSourceListItemDTO) *GrafanaService_ListConnections_Call
- type GrafanaService_ListContactPoints_Call
- func (_c *GrafanaService_ListContactPoints_Call) Return(embeddedContactPoints []*models.EmbeddedContactPoint, err error) *GrafanaService_ListContactPoints_Call
- func (_c *GrafanaService_ListContactPoints_Call) Run(run func()) *GrafanaService_ListContactPoints_Call
- func (_c *GrafanaService_ListContactPoints_Call) RunAndReturn(run func() ([]*models.EmbeddedContactPoint, error)) *GrafanaService_ListContactPoints_Call
- type GrafanaService_ListDashboardPermissions_Call
- func (_c *GrafanaService_ListDashboardPermissions_Call) Return(dashboardAndPermissionss []domain.DashboardAndPermissions, err error) *GrafanaService_ListDashboardPermissions_Call
- func (_c *GrafanaService_ListDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *GrafanaService_ListDashboardPermissions_Call
- func (_c *GrafanaService_ListDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]domain.DashboardAndPermissions, error)) *GrafanaService_ListDashboardPermissions_Call
- type GrafanaService_ListDashboards_Call
- func (_c *GrafanaService_ListDashboards_Call) Return(nestedHits []*domain.NestedHit) *GrafanaService_ListDashboards_Call
- func (_c *GrafanaService_ListDashboards_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListDashboards_Call
- func (_c *GrafanaService_ListDashboards_Call) RunAndReturn(run func(filter filters.V2Filter) []*domain.NestedHit) *GrafanaService_ListDashboards_Call
- type GrafanaService_ListFolderPermissions_Call
- func (_c *GrafanaService_ListFolderPermissions_Call) Return(...) *GrafanaService_ListFolderPermissions_Call
- func (_c *GrafanaService_ListFolderPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListFolderPermissions_Call
- func (_c *GrafanaService_ListFolderPermissions_Call) RunAndReturn(...) *GrafanaService_ListFolderPermissions_Call
- type GrafanaService_ListFolders_Call
- func (_c *GrafanaService_ListFolders_Call) Return(nestedHits []*domain.NestedHit) *GrafanaService_ListFolders_Call
- func (_c *GrafanaService_ListFolders_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListFolders_Call
- func (_c *GrafanaService_ListFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []*domain.NestedHit) *GrafanaService_ListFolders_Call
- type GrafanaService_ListLibraryElementsConnections_Call
- func (_c *GrafanaService_ListLibraryElementsConnections_Call) Return(dashboardFullWithMetas []*models.DashboardFullWithMeta) *GrafanaService_ListLibraryElementsConnections_Call
- func (_c *GrafanaService_ListLibraryElementsConnections_Call) Run(run func(filter filters.V2Filter, connectionID string)) *GrafanaService_ListLibraryElementsConnections_Call
- func (_c *GrafanaService_ListLibraryElementsConnections_Call) RunAndReturn(...) *GrafanaService_ListLibraryElementsConnections_Call
- type GrafanaService_ListLibraryElements_Call
- func (_c *GrafanaService_ListLibraryElements_Call) Return(withNesteds []*domain.WithNested[models.LibraryElementDTO]) *GrafanaService_ListLibraryElements_Call
- func (_c *GrafanaService_ListLibraryElements_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListLibraryElements_Call
- func (_c *GrafanaService_ListLibraryElements_Call) RunAndReturn(...) *GrafanaService_ListLibraryElements_Call
- type GrafanaService_ListOrgUsers_Call
- func (_c *GrafanaService_ListOrgUsers_Call) Return(orgUserDTOs []*models.OrgUserDTO) *GrafanaService_ListOrgUsers_Call
- func (_c *GrafanaService_ListOrgUsers_Call) Run(run func(orgId int64)) *GrafanaService_ListOrgUsers_Call
- func (_c *GrafanaService_ListOrgUsers_Call) RunAndReturn(run func(orgId int64) []*models.OrgUserDTO) *GrafanaService_ListOrgUsers_Call
- type GrafanaService_ListOrganizations_Call
- func (_c *GrafanaService_ListOrganizations_Call) Return(orgsDTOWithPreferencess []*domain.OrgsDTOWithPreferences) *GrafanaService_ListOrganizations_Call
- func (_c *GrafanaService_ListOrganizations_Call) Run(run func(filter filters.V2Filter, withPreferences bool)) *GrafanaService_ListOrganizations_Call
- func (_c *GrafanaService_ListOrganizations_Call) RunAndReturn(...) *GrafanaService_ListOrganizations_Call
- type GrafanaService_ListServiceAccountsTokens_Call
- func (_c *GrafanaService_ListServiceAccountsTokens_Call) Return(tokenDTOs []*models.TokenDTO, err error) *GrafanaService_ListServiceAccountsTokens_Call
- func (_c *GrafanaService_ListServiceAccountsTokens_Call) Run(run func(id int64)) *GrafanaService_ListServiceAccountsTokens_Call
- func (_c *GrafanaService_ListServiceAccountsTokens_Call) RunAndReturn(run func(id int64) ([]*models.TokenDTO, error)) *GrafanaService_ListServiceAccountsTokens_Call
- type GrafanaService_ListServiceAccounts_Call
- func (_c *GrafanaService_ListServiceAccounts_Call) Return(serviceAccountDTOWithTokenss []*domain.ServiceAccountDTOWithTokens) *GrafanaService_ListServiceAccounts_Call
- func (_c *GrafanaService_ListServiceAccounts_Call) Run(run func()) *GrafanaService_ListServiceAccounts_Call
- func (_c *GrafanaService_ListServiceAccounts_Call) RunAndReturn(run func() []*domain.ServiceAccountDTOWithTokens) *GrafanaService_ListServiceAccounts_Call
- type GrafanaService_ListTeams_Call
- func (_c *GrafanaService_ListTeams_Call) Return(teamDTOToTeamMemberDTOs map[*models.TeamDTO][]*models.TeamMemberDTO) *GrafanaService_ListTeams_Call
- func (_c *GrafanaService_ListTeams_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListTeams_Call
- func (_c *GrafanaService_ListTeams_Call) RunAndReturn(run func(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO) *GrafanaService_ListTeams_Call
- type GrafanaService_ListUserOrganizations_Call
- func (_c *GrafanaService_ListUserOrganizations_Call) Return(userOrgDTOs []*models.UserOrgDTO, err error) *GrafanaService_ListUserOrganizations_Call
- func (_c *GrafanaService_ListUserOrganizations_Call) Run(run func()) *GrafanaService_ListUserOrganizations_Call
- func (_c *GrafanaService_ListUserOrganizations_Call) RunAndReturn(run func() ([]*models.UserOrgDTO, error)) *GrafanaService_ListUserOrganizations_Call
- type GrafanaService_ListUsers_Call
- func (_c *GrafanaService_ListUsers_Call) Return(userSearchHitDTOs []*models.UserSearchHitDTO) *GrafanaService_ListUsers_Call
- func (_c *GrafanaService_ListUsers_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListUsers_Call
- func (_c *GrafanaService_ListUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []*models.UserSearchHitDTO) *GrafanaService_ListUsers_Call
- type GrafanaService_Login_Call
- type GrafanaService_PromoteUser_Call
- func (_c *GrafanaService_PromoteUser_Call) Return(s string, err error) *GrafanaService_PromoteUser_Call
- func (_c *GrafanaService_PromoteUser_Call) Run(run func(userLogin string)) *GrafanaService_PromoteUser_Call
- func (_c *GrafanaService_PromoteUser_Call) RunAndReturn(run func(userLogin string) (string, error)) *GrafanaService_PromoteUser_Call
- type GrafanaService_SetOrganizationByName_Call
- func (_c *GrafanaService_SetOrganizationByName_Call) Return(err error) *GrafanaService_SetOrganizationByName_Call
- func (_c *GrafanaService_SetOrganizationByName_Call) Run(run func(name string, useSlug bool)) *GrafanaService_SetOrganizationByName_Call
- func (_c *GrafanaService_SetOrganizationByName_Call) RunAndReturn(run func(name string, useSlug bool) error) *GrafanaService_SetOrganizationByName_Call
- type GrafanaService_SetUserOrganizations_Call
- func (_c *GrafanaService_SetUserOrganizations_Call) Return(err error) *GrafanaService_SetUserOrganizations_Call
- func (_c *GrafanaService_SetUserOrganizations_Call) Run(run func(id int64)) *GrafanaService_SetUserOrganizations_Call
- func (_c *GrafanaService_SetUserOrganizations_Call) RunAndReturn(run func(id int64) error) *GrafanaService_SetUserOrganizations_Call
- type GrafanaService_UpdateUserInOrg_Call
- func (_c *GrafanaService_UpdateUserInOrg_Call) Return(err error) *GrafanaService_UpdateUserInOrg_Call
- func (_c *GrafanaService_UpdateUserInOrg_Call) Run(run func(role string, orgSlug string, userId int64)) *GrafanaService_UpdateUserInOrg_Call
- func (_c *GrafanaService_UpdateUserInOrg_Call) RunAndReturn(run func(role string, orgSlug string, userId int64) error) *GrafanaService_UpdateUserInOrg_Call
- type GrafanaService_UploadAlertNotifications_Call
- func (_c *GrafanaService_UploadAlertNotifications_Call) Return(route *models.Route, err error) *GrafanaService_UploadAlertNotifications_Call
- func (_c *GrafanaService_UploadAlertNotifications_Call) Run(run func()) *GrafanaService_UploadAlertNotifications_Call
- func (_c *GrafanaService_UploadAlertNotifications_Call) RunAndReturn(run func() (*models.Route, error)) *GrafanaService_UploadAlertNotifications_Call
- type GrafanaService_UploadAlertRules_Call
- func (_c *GrafanaService_UploadAlertRules_Call) Return(err error) *GrafanaService_UploadAlertRules_Call
- func (_c *GrafanaService_UploadAlertRules_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadAlertRules_Call
- func (_c *GrafanaService_UploadAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) error) *GrafanaService_UploadAlertRules_Call
- type GrafanaService_UploadAlertTemplates_Call
- func (_c *GrafanaService_UploadAlertTemplates_Call) Return(strings []string, err error) *GrafanaService_UploadAlertTemplates_Call
- func (_c *GrafanaService_UploadAlertTemplates_Call) Run(run func()) *GrafanaService_UploadAlertTemplates_Call
- func (_c *GrafanaService_UploadAlertTemplates_Call) RunAndReturn(run func() ([]string, error)) *GrafanaService_UploadAlertTemplates_Call
- type GrafanaService_UploadAlertTimings_Call
- func (_c *GrafanaService_UploadAlertTimings_Call) Return(strings []string, err error) *GrafanaService_UploadAlertTimings_Call
- func (_c *GrafanaService_UploadAlertTimings_Call) Run(run func()) *GrafanaService_UploadAlertTimings_Call
- func (_c *GrafanaService_UploadAlertTimings_Call) RunAndReturn(run func() ([]string, error)) *GrafanaService_UploadAlertTimings_Call
- type GrafanaService_UploadConnectionPermissions_Call
- func (_c *GrafanaService_UploadConnectionPermissions_Call) Return(strings []string) *GrafanaService_UploadConnectionPermissions_Call
- func (_c *GrafanaService_UploadConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadConnectionPermissions_Call
- func (_c *GrafanaService_UploadConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_UploadConnectionPermissions_Call
- type GrafanaService_UploadConnections_Call
- func (_c *GrafanaService_UploadConnections_Call) Return(strings []string) *GrafanaService_UploadConnections_Call
- func (_c *GrafanaService_UploadConnections_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadConnections_Call
- func (_c *GrafanaService_UploadConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_UploadConnections_Call
- type GrafanaService_UploadContactPoints_Call
- func (_c *GrafanaService_UploadContactPoints_Call) Return(strings []string, err error) *GrafanaService_UploadContactPoints_Call
- func (_c *GrafanaService_UploadContactPoints_Call) Run(run func()) *GrafanaService_UploadContactPoints_Call
- func (_c *GrafanaService_UploadContactPoints_Call) RunAndReturn(run func() ([]string, error)) *GrafanaService_UploadContactPoints_Call
- type GrafanaService_UploadDashboardPermissions_Call
- func (_c *GrafanaService_UploadDashboardPermissions_Call) Return(strings []string, err error) *GrafanaService_UploadDashboardPermissions_Call
- func (_c *GrafanaService_UploadDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *GrafanaService_UploadDashboardPermissions_Call
- func (_c *GrafanaService_UploadDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]string, error)) *GrafanaService_UploadDashboardPermissions_Call
- type GrafanaService_UploadDashboards_Call
- func (_c *GrafanaService_UploadDashboards_Call) Return(strings []string, err error) *GrafanaService_UploadDashboards_Call
- func (_c *GrafanaService_UploadDashboards_Call) Run(run func(filterReq filters.V2Filter)) *GrafanaService_UploadDashboards_Call
- func (_c *GrafanaService_UploadDashboards_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]string, error)) *GrafanaService_UploadDashboards_Call
- type GrafanaService_UploadFolderPermissions_Call
- func (_c *GrafanaService_UploadFolderPermissions_Call) Return(strings []string) *GrafanaService_UploadFolderPermissions_Call
- func (_c *GrafanaService_UploadFolderPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadFolderPermissions_Call
- func (_c *GrafanaService_UploadFolderPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_UploadFolderPermissions_Call
- type GrafanaService_UploadFolders_Call
- func (_c *GrafanaService_UploadFolders_Call) Return(strings []string) *GrafanaService_UploadFolders_Call
- func (_c *GrafanaService_UploadFolders_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadFolders_Call
- func (_c *GrafanaService_UploadFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_UploadFolders_Call
- type GrafanaService_UploadLibraryElements_Call
- func (_c *GrafanaService_UploadLibraryElements_Call) Return(strings []string) *GrafanaService_UploadLibraryElements_Call
- func (_c *GrafanaService_UploadLibraryElements_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadLibraryElements_Call
- func (_c *GrafanaService_UploadLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_UploadLibraryElements_Call
- type GrafanaService_UploadOrgPreferences_Call
- func (_c *GrafanaService_UploadOrgPreferences_Call) Return(err error) *GrafanaService_UploadOrgPreferences_Call
- func (_c *GrafanaService_UploadOrgPreferences_Call) Run(run func(orgName string, pref *models.PreferencesSpec)) *GrafanaService_UploadOrgPreferences_Call
- func (_c *GrafanaService_UploadOrgPreferences_Call) RunAndReturn(run func(orgName string, pref *models.PreferencesSpec) error) *GrafanaService_UploadOrgPreferences_Call
- type GrafanaService_UploadOrganizations_Call
- func (_c *GrafanaService_UploadOrganizations_Call) Return(strings []string) *GrafanaService_UploadOrganizations_Call
- func (_c *GrafanaService_UploadOrganizations_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadOrganizations_Call
- func (_c *GrafanaService_UploadOrganizations_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_UploadOrganizations_Call
- type GrafanaService_UploadTeams_Call
- func (_c *GrafanaService_UploadTeams_Call) Return(teamDTOToTeamMemberDTOs map[*models.TeamDTO][]*models.TeamMemberDTO) *GrafanaService_UploadTeams_Call
- func (_c *GrafanaService_UploadTeams_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadTeams_Call
- func (_c *GrafanaService_UploadTeams_Call) RunAndReturn(run func(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO) *GrafanaService_UploadTeams_Call
- type GrafanaService_UploadUsers_Call
- func (_c *GrafanaService_UploadUsers_Call) Return(userProfileWithAuths []domain.UserProfileWithAuth) *GrafanaService_UploadUsers_Call
- func (_c *GrafanaService_UploadUsers_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadUsers_Call
- func (_c *GrafanaService_UploadUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []domain.UserProfileWithAuth) *GrafanaService_UploadUsers_Call
- type LibraryElementsApi
- func (_mock *LibraryElementsApi) DeleteAllLibraryElements(filter filters.V2Filter) []string
- func (_mock *LibraryElementsApi) DownloadLibraryElements(filter filters.V2Filter) []string
- func (_m *LibraryElementsApi) EXPECT() *LibraryElementsApi_Expecter
- func (_mock *LibraryElementsApi) ListLibraryElements(filter filters.V2Filter) []*domain.WithNested[models.LibraryElementDTO]
- func (_mock *LibraryElementsApi) ListLibraryElementsConnections(filter filters.V2Filter, connectionID string) []*models.DashboardFullWithMeta
- func (_mock *LibraryElementsApi) UploadLibraryElements(filter filters.V2Filter) []string
- type LibraryElementsApi_DeleteAllLibraryElements_Call
- func (_c *LibraryElementsApi_DeleteAllLibraryElements_Call) Return(strings []string) *LibraryElementsApi_DeleteAllLibraryElements_Call
- func (_c *LibraryElementsApi_DeleteAllLibraryElements_Call) Run(run func(filter filters.V2Filter)) *LibraryElementsApi_DeleteAllLibraryElements_Call
- func (_c *LibraryElementsApi_DeleteAllLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *LibraryElementsApi_DeleteAllLibraryElements_Call
- type LibraryElementsApi_DownloadLibraryElements_Call
- func (_c *LibraryElementsApi_DownloadLibraryElements_Call) Return(strings []string) *LibraryElementsApi_DownloadLibraryElements_Call
- func (_c *LibraryElementsApi_DownloadLibraryElements_Call) Run(run func(filter filters.V2Filter)) *LibraryElementsApi_DownloadLibraryElements_Call
- func (_c *LibraryElementsApi_DownloadLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *LibraryElementsApi_DownloadLibraryElements_Call
- type LibraryElementsApi_Expecter
- func (_e *LibraryElementsApi_Expecter) DeleteAllLibraryElements(filter interface{}) *LibraryElementsApi_DeleteAllLibraryElements_Call
- func (_e *LibraryElementsApi_Expecter) DownloadLibraryElements(filter interface{}) *LibraryElementsApi_DownloadLibraryElements_Call
- func (_e *LibraryElementsApi_Expecter) ListLibraryElements(filter interface{}) *LibraryElementsApi_ListLibraryElements_Call
- func (_e *LibraryElementsApi_Expecter) ListLibraryElementsConnections(filter interface{}, connectionID interface{}) *LibraryElementsApi_ListLibraryElementsConnections_Call
- func (_e *LibraryElementsApi_Expecter) UploadLibraryElements(filter interface{}) *LibraryElementsApi_UploadLibraryElements_Call
- type LibraryElementsApi_ListLibraryElementsConnections_Call
- func (_c *LibraryElementsApi_ListLibraryElementsConnections_Call) Return(dashboardFullWithMetas []*models.DashboardFullWithMeta) *LibraryElementsApi_ListLibraryElementsConnections_Call
- func (_c *LibraryElementsApi_ListLibraryElementsConnections_Call) Run(run func(filter filters.V2Filter, connectionID string)) *LibraryElementsApi_ListLibraryElementsConnections_Call
- func (_c *LibraryElementsApi_ListLibraryElementsConnections_Call) RunAndReturn(...) *LibraryElementsApi_ListLibraryElementsConnections_Call
- type LibraryElementsApi_ListLibraryElements_Call
- func (_c *LibraryElementsApi_ListLibraryElements_Call) Return(withNesteds []*domain.WithNested[models.LibraryElementDTO]) *LibraryElementsApi_ListLibraryElements_Call
- func (_c *LibraryElementsApi_ListLibraryElements_Call) Run(run func(filter filters.V2Filter)) *LibraryElementsApi_ListLibraryElements_Call
- func (_c *LibraryElementsApi_ListLibraryElements_Call) RunAndReturn(...) *LibraryElementsApi_ListLibraryElements_Call
- type LibraryElementsApi_UploadLibraryElements_Call
- func (_c *LibraryElementsApi_UploadLibraryElements_Call) Return(strings []string) *LibraryElementsApi_UploadLibraryElements_Call
- func (_c *LibraryElementsApi_UploadLibraryElements_Call) Run(run func(filter filters.V2Filter)) *LibraryElementsApi_UploadLibraryElements_Call
- func (_c *LibraryElementsApi_UploadLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *LibraryElementsApi_UploadLibraryElements_Call
- type LicenseApi
- type LicenseApi_Expecter
- type LicenseApi_IsEnterprise_Call
- type OrgPreferencesApi
- type OrgPreferencesApi_Expecter
- type OrgPreferencesApi_GetOrgPreferences_Call
- func (_c *OrgPreferencesApi_GetOrgPreferences_Call) Return(preferencesSpec *models.PreferencesSpec, err error) *OrgPreferencesApi_GetOrgPreferences_Call
- func (_c *OrgPreferencesApi_GetOrgPreferences_Call) Run(run func(orgName string)) *OrgPreferencesApi_GetOrgPreferences_Call
- func (_c *OrgPreferencesApi_GetOrgPreferences_Call) RunAndReturn(run func(orgName string) (*models.PreferencesSpec, error)) *OrgPreferencesApi_GetOrgPreferences_Call
- type OrgPreferencesApi_UploadOrgPreferences_Call
- func (_c *OrgPreferencesApi_UploadOrgPreferences_Call) Return(err error) *OrgPreferencesApi_UploadOrgPreferences_Call
- func (_c *OrgPreferencesApi_UploadOrgPreferences_Call) Run(run func(orgName string, pref *models.PreferencesSpec)) *OrgPreferencesApi_UploadOrgPreferences_Call
- func (_c *OrgPreferencesApi_UploadOrgPreferences_Call) RunAndReturn(run func(orgName string, pref *models.PreferencesSpec) error) *OrgPreferencesApi_UploadOrgPreferences_Call
- type OrganizationsApi
- func (_mock *OrganizationsApi) AddUserToOrg(role string, orgSlug string, userId int64) error
- func (_mock *OrganizationsApi) DeleteUserFromOrg(orgId string, userId int64) error
- func (_mock *OrganizationsApi) DownloadOrganizations(filter filters.V2Filter) []string
- func (_m *OrganizationsApi) EXPECT() *OrganizationsApi_Expecter
- func (_mock *OrganizationsApi) GetOrgPreferences(orgName string) (*models.PreferencesSpec, error)
- func (_mock *OrganizationsApi) GetTokenOrganization() *models.OrgDetailsDTO
- func (_mock *OrganizationsApi) GetUserOrganization() *models.OrgDetailsDTO
- func (_mock *OrganizationsApi) InitOrganizations()
- func (_mock *OrganizationsApi) ListOrgUsers(orgId int64) []*models.OrgUserDTO
- func (_mock *OrganizationsApi) ListOrganizations(filter filters.V2Filter, withPreferences bool) []*domain.OrgsDTOWithPreferences
- func (_mock *OrganizationsApi) ListUserOrganizations() ([]*models.UserOrgDTO, error)
- func (_mock *OrganizationsApi) SetOrganizationByName(name string, useSlug bool) error
- func (_mock *OrganizationsApi) SetUserOrganizations(id int64) error
- func (_mock *OrganizationsApi) UpdateUserInOrg(role string, orgSlug string, userId int64) error
- func (_mock *OrganizationsApi) UploadOrgPreferences(orgName string, pref *models.PreferencesSpec) error
- func (_mock *OrganizationsApi) UploadOrganizations(filter filters.V2Filter) []string
- type OrganizationsApi_AddUserToOrg_Call
- func (_c *OrganizationsApi_AddUserToOrg_Call) Return(err error) *OrganizationsApi_AddUserToOrg_Call
- func (_c *OrganizationsApi_AddUserToOrg_Call) Run(run func(role string, orgSlug string, userId int64)) *OrganizationsApi_AddUserToOrg_Call
- func (_c *OrganizationsApi_AddUserToOrg_Call) RunAndReturn(run func(role string, orgSlug string, userId int64) error) *OrganizationsApi_AddUserToOrg_Call
- type OrganizationsApi_DeleteUserFromOrg_Call
- func (_c *OrganizationsApi_DeleteUserFromOrg_Call) Return(err error) *OrganizationsApi_DeleteUserFromOrg_Call
- func (_c *OrganizationsApi_DeleteUserFromOrg_Call) Run(run func(orgId string, userId int64)) *OrganizationsApi_DeleteUserFromOrg_Call
- func (_c *OrganizationsApi_DeleteUserFromOrg_Call) RunAndReturn(run func(orgId string, userId int64) error) *OrganizationsApi_DeleteUserFromOrg_Call
- type OrganizationsApi_DownloadOrganizations_Call
- func (_c *OrganizationsApi_DownloadOrganizations_Call) Return(strings []string) *OrganizationsApi_DownloadOrganizations_Call
- func (_c *OrganizationsApi_DownloadOrganizations_Call) Run(run func(filter filters.V2Filter)) *OrganizationsApi_DownloadOrganizations_Call
- func (_c *OrganizationsApi_DownloadOrganizations_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *OrganizationsApi_DownloadOrganizations_Call
- type OrganizationsApi_Expecter
- func (_e *OrganizationsApi_Expecter) AddUserToOrg(role interface{}, orgSlug interface{}, userId interface{}) *OrganizationsApi_AddUserToOrg_Call
- func (_e *OrganizationsApi_Expecter) DeleteUserFromOrg(orgId interface{}, userId interface{}) *OrganizationsApi_DeleteUserFromOrg_Call
- func (_e *OrganizationsApi_Expecter) DownloadOrganizations(filter interface{}) *OrganizationsApi_DownloadOrganizations_Call
- func (_e *OrganizationsApi_Expecter) GetOrgPreferences(orgName interface{}) *OrganizationsApi_GetOrgPreferences_Call
- func (_e *OrganizationsApi_Expecter) GetTokenOrganization() *OrganizationsApi_GetTokenOrganization_Call
- func (_e *OrganizationsApi_Expecter) GetUserOrganization() *OrganizationsApi_GetUserOrganization_Call
- func (_e *OrganizationsApi_Expecter) InitOrganizations() *OrganizationsApi_InitOrganizations_Call
- func (_e *OrganizationsApi_Expecter) ListOrgUsers(orgId interface{}) *OrganizationsApi_ListOrgUsers_Call
- func (_e *OrganizationsApi_Expecter) ListOrganizations(filter interface{}, withPreferences interface{}) *OrganizationsApi_ListOrganizations_Call
- func (_e *OrganizationsApi_Expecter) ListUserOrganizations() *OrganizationsApi_ListUserOrganizations_Call
- func (_e *OrganizationsApi_Expecter) SetOrganizationByName(name interface{}, useSlug interface{}) *OrganizationsApi_SetOrganizationByName_Call
- func (_e *OrganizationsApi_Expecter) SetUserOrganizations(id interface{}) *OrganizationsApi_SetUserOrganizations_Call
- func (_e *OrganizationsApi_Expecter) UpdateUserInOrg(role interface{}, orgSlug interface{}, userId interface{}) *OrganizationsApi_UpdateUserInOrg_Call
- func (_e *OrganizationsApi_Expecter) UploadOrgPreferences(orgName interface{}, pref interface{}) *OrganizationsApi_UploadOrgPreferences_Call
- func (_e *OrganizationsApi_Expecter) UploadOrganizations(filter interface{}) *OrganizationsApi_UploadOrganizations_Call
- type OrganizationsApi_GetOrgPreferences_Call
- func (_c *OrganizationsApi_GetOrgPreferences_Call) Return(preferencesSpec *models.PreferencesSpec, err error) *OrganizationsApi_GetOrgPreferences_Call
- func (_c *OrganizationsApi_GetOrgPreferences_Call) Run(run func(orgName string)) *OrganizationsApi_GetOrgPreferences_Call
- func (_c *OrganizationsApi_GetOrgPreferences_Call) RunAndReturn(run func(orgName string) (*models.PreferencesSpec, error)) *OrganizationsApi_GetOrgPreferences_Call
- type OrganizationsApi_GetTokenOrganization_Call
- func (_c *OrganizationsApi_GetTokenOrganization_Call) Return(orgDetailsDTO *models.OrgDetailsDTO) *OrganizationsApi_GetTokenOrganization_Call
- func (_c *OrganizationsApi_GetTokenOrganization_Call) Run(run func()) *OrganizationsApi_GetTokenOrganization_Call
- func (_c *OrganizationsApi_GetTokenOrganization_Call) RunAndReturn(run func() *models.OrgDetailsDTO) *OrganizationsApi_GetTokenOrganization_Call
- type OrganizationsApi_GetUserOrganization_Call
- func (_c *OrganizationsApi_GetUserOrganization_Call) Return(orgDetailsDTO *models.OrgDetailsDTO) *OrganizationsApi_GetUserOrganization_Call
- func (_c *OrganizationsApi_GetUserOrganization_Call) Run(run func()) *OrganizationsApi_GetUserOrganization_Call
- func (_c *OrganizationsApi_GetUserOrganization_Call) RunAndReturn(run func() *models.OrgDetailsDTO) *OrganizationsApi_GetUserOrganization_Call
- type OrganizationsApi_InitOrganizations_Call
- func (_c *OrganizationsApi_InitOrganizations_Call) Return() *OrganizationsApi_InitOrganizations_Call
- func (_c *OrganizationsApi_InitOrganizations_Call) Run(run func()) *OrganizationsApi_InitOrganizations_Call
- func (_c *OrganizationsApi_InitOrganizations_Call) RunAndReturn(run func()) *OrganizationsApi_InitOrganizations_Call
- type OrganizationsApi_ListOrgUsers_Call
- func (_c *OrganizationsApi_ListOrgUsers_Call) Return(orgUserDTOs []*models.OrgUserDTO) *OrganizationsApi_ListOrgUsers_Call
- func (_c *OrganizationsApi_ListOrgUsers_Call) Run(run func(orgId int64)) *OrganizationsApi_ListOrgUsers_Call
- func (_c *OrganizationsApi_ListOrgUsers_Call) RunAndReturn(run func(orgId int64) []*models.OrgUserDTO) *OrganizationsApi_ListOrgUsers_Call
- type OrganizationsApi_ListOrganizations_Call
- func (_c *OrganizationsApi_ListOrganizations_Call) Return(orgsDTOWithPreferencess []*domain.OrgsDTOWithPreferences) *OrganizationsApi_ListOrganizations_Call
- func (_c *OrganizationsApi_ListOrganizations_Call) Run(run func(filter filters.V2Filter, withPreferences bool)) *OrganizationsApi_ListOrganizations_Call
- func (_c *OrganizationsApi_ListOrganizations_Call) RunAndReturn(...) *OrganizationsApi_ListOrganizations_Call
- type OrganizationsApi_ListUserOrganizations_Call
- func (_c *OrganizationsApi_ListUserOrganizations_Call) Return(userOrgDTOs []*models.UserOrgDTO, err error) *OrganizationsApi_ListUserOrganizations_Call
- func (_c *OrganizationsApi_ListUserOrganizations_Call) Run(run func()) *OrganizationsApi_ListUserOrganizations_Call
- func (_c *OrganizationsApi_ListUserOrganizations_Call) RunAndReturn(run func() ([]*models.UserOrgDTO, error)) *OrganizationsApi_ListUserOrganizations_Call
- type OrganizationsApi_SetOrganizationByName_Call
- func (_c *OrganizationsApi_SetOrganizationByName_Call) Return(err error) *OrganizationsApi_SetOrganizationByName_Call
- func (_c *OrganizationsApi_SetOrganizationByName_Call) Run(run func(name string, useSlug bool)) *OrganizationsApi_SetOrganizationByName_Call
- func (_c *OrganizationsApi_SetOrganizationByName_Call) RunAndReturn(run func(name string, useSlug bool) error) *OrganizationsApi_SetOrganizationByName_Call
- type OrganizationsApi_SetUserOrganizations_Call
- func (_c *OrganizationsApi_SetUserOrganizations_Call) Return(err error) *OrganizationsApi_SetUserOrganizations_Call
- func (_c *OrganizationsApi_SetUserOrganizations_Call) Run(run func(id int64)) *OrganizationsApi_SetUserOrganizations_Call
- func (_c *OrganizationsApi_SetUserOrganizations_Call) RunAndReturn(run func(id int64) error) *OrganizationsApi_SetUserOrganizations_Call
- type OrganizationsApi_UpdateUserInOrg_Call
- func (_c *OrganizationsApi_UpdateUserInOrg_Call) Return(err error) *OrganizationsApi_UpdateUserInOrg_Call
- func (_c *OrganizationsApi_UpdateUserInOrg_Call) Run(run func(role string, orgSlug string, userId int64)) *OrganizationsApi_UpdateUserInOrg_Call
- func (_c *OrganizationsApi_UpdateUserInOrg_Call) RunAndReturn(run func(role string, orgSlug string, userId int64) error) *OrganizationsApi_UpdateUserInOrg_Call
- type OrganizationsApi_UploadOrgPreferences_Call
- func (_c *OrganizationsApi_UploadOrgPreferences_Call) Return(err error) *OrganizationsApi_UploadOrgPreferences_Call
- func (_c *OrganizationsApi_UploadOrgPreferences_Call) Run(run func(orgName string, pref *models.PreferencesSpec)) *OrganizationsApi_UploadOrgPreferences_Call
- func (_c *OrganizationsApi_UploadOrgPreferences_Call) RunAndReturn(run func(orgName string, pref *models.PreferencesSpec) error) *OrganizationsApi_UploadOrgPreferences_Call
- type OrganizationsApi_UploadOrganizations_Call
- func (_c *OrganizationsApi_UploadOrganizations_Call) Return(strings []string) *OrganizationsApi_UploadOrganizations_Call
- func (_c *OrganizationsApi_UploadOrganizations_Call) Run(run func(filter filters.V2Filter)) *OrganizationsApi_UploadOrganizations_Call
- func (_c *OrganizationsApi_UploadOrganizations_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *OrganizationsApi_UploadOrganizations_Call
- type ServerInfoApi
- type ServerInfoApi_Expecter
- type ServerInfoApi_GetServerInfo_Call
- func (_c *ServerInfoApi_GetServerInfo_Call) Return(stringToV map[string]any) *ServerInfoApi_GetServerInfo_Call
- func (_c *ServerInfoApi_GetServerInfo_Call) Run(run func()) *ServerInfoApi_GetServerInfo_Call
- func (_c *ServerInfoApi_GetServerInfo_Call) RunAndReturn(run func() map[string]any) *ServerInfoApi_GetServerInfo_Call
- type ServiceAccountApi
- func (_mock *ServiceAccountApi) CreateServiceAccount(name string, role string, expiration int64) (*models.ServiceAccountDTO, error)
- func (_mock *ServiceAccountApi) CreateServiceAccountToken(serviceAccountId int64, name string, expiration int64) (*models.NewAPIKeyResult, error)
- func (_mock *ServiceAccountApi) DeleteAllServiceAccounts() []string
- func (_mock *ServiceAccountApi) DeleteServiceAccount(accountId int64) error
- func (_mock *ServiceAccountApi) DeleteServiceAccountTokens(serviceId int64) []string
- func (_m *ServiceAccountApi) EXPECT() *ServiceAccountApi_Expecter
- func (_mock *ServiceAccountApi) ListServiceAccounts() []*domain.ServiceAccountDTOWithTokens
- func (_mock *ServiceAccountApi) ListServiceAccountsTokens(id int64) ([]*models.TokenDTO, error)
- type ServiceAccountApi_CreateServiceAccountToken_Call
- func (_c *ServiceAccountApi_CreateServiceAccountToken_Call) Return(newAPIKeyResult *models.NewAPIKeyResult, err error) *ServiceAccountApi_CreateServiceAccountToken_Call
- func (_c *ServiceAccountApi_CreateServiceAccountToken_Call) Run(run func(serviceAccountId int64, name string, expiration int64)) *ServiceAccountApi_CreateServiceAccountToken_Call
- func (_c *ServiceAccountApi_CreateServiceAccountToken_Call) RunAndReturn(...) *ServiceAccountApi_CreateServiceAccountToken_Call
- type ServiceAccountApi_CreateServiceAccount_Call
- func (_c *ServiceAccountApi_CreateServiceAccount_Call) Return(serviceAccountDTO *models.ServiceAccountDTO, err error) *ServiceAccountApi_CreateServiceAccount_Call
- func (_c *ServiceAccountApi_CreateServiceAccount_Call) Run(run func(name string, role string, expiration int64)) *ServiceAccountApi_CreateServiceAccount_Call
- func (_c *ServiceAccountApi_CreateServiceAccount_Call) RunAndReturn(...) *ServiceAccountApi_CreateServiceAccount_Call
- type ServiceAccountApi_DeleteAllServiceAccounts_Call
- func (_c *ServiceAccountApi_DeleteAllServiceAccounts_Call) Return(strings []string) *ServiceAccountApi_DeleteAllServiceAccounts_Call
- func (_c *ServiceAccountApi_DeleteAllServiceAccounts_Call) Run(run func()) *ServiceAccountApi_DeleteAllServiceAccounts_Call
- func (_c *ServiceAccountApi_DeleteAllServiceAccounts_Call) RunAndReturn(run func() []string) *ServiceAccountApi_DeleteAllServiceAccounts_Call
- type ServiceAccountApi_DeleteServiceAccountTokens_Call
- func (_c *ServiceAccountApi_DeleteServiceAccountTokens_Call) Return(strings []string) *ServiceAccountApi_DeleteServiceAccountTokens_Call
- func (_c *ServiceAccountApi_DeleteServiceAccountTokens_Call) Run(run func(serviceId int64)) *ServiceAccountApi_DeleteServiceAccountTokens_Call
- func (_c *ServiceAccountApi_DeleteServiceAccountTokens_Call) RunAndReturn(run func(serviceId int64) []string) *ServiceAccountApi_DeleteServiceAccountTokens_Call
- type ServiceAccountApi_DeleteServiceAccount_Call
- func (_c *ServiceAccountApi_DeleteServiceAccount_Call) Return(err error) *ServiceAccountApi_DeleteServiceAccount_Call
- func (_c *ServiceAccountApi_DeleteServiceAccount_Call) Run(run func(accountId int64)) *ServiceAccountApi_DeleteServiceAccount_Call
- func (_c *ServiceAccountApi_DeleteServiceAccount_Call) RunAndReturn(run func(accountId int64) error) *ServiceAccountApi_DeleteServiceAccount_Call
- type ServiceAccountApi_Expecter
- func (_e *ServiceAccountApi_Expecter) CreateServiceAccount(name interface{}, role interface{}, expiration interface{}) *ServiceAccountApi_CreateServiceAccount_Call
- func (_e *ServiceAccountApi_Expecter) CreateServiceAccountToken(serviceAccountId interface{}, name interface{}, expiration interface{}) *ServiceAccountApi_CreateServiceAccountToken_Call
- func (_e *ServiceAccountApi_Expecter) DeleteAllServiceAccounts() *ServiceAccountApi_DeleteAllServiceAccounts_Call
- func (_e *ServiceAccountApi_Expecter) DeleteServiceAccount(accountId interface{}) *ServiceAccountApi_DeleteServiceAccount_Call
- func (_e *ServiceAccountApi_Expecter) DeleteServiceAccountTokens(serviceId interface{}) *ServiceAccountApi_DeleteServiceAccountTokens_Call
- func (_e *ServiceAccountApi_Expecter) ListServiceAccounts() *ServiceAccountApi_ListServiceAccounts_Call
- func (_e *ServiceAccountApi_Expecter) ListServiceAccountsTokens(id interface{}) *ServiceAccountApi_ListServiceAccountsTokens_Call
- type ServiceAccountApi_ListServiceAccountsTokens_Call
- func (_c *ServiceAccountApi_ListServiceAccountsTokens_Call) Return(tokenDTOs []*models.TokenDTO, err error) *ServiceAccountApi_ListServiceAccountsTokens_Call
- func (_c *ServiceAccountApi_ListServiceAccountsTokens_Call) Run(run func(id int64)) *ServiceAccountApi_ListServiceAccountsTokens_Call
- func (_c *ServiceAccountApi_ListServiceAccountsTokens_Call) RunAndReturn(run func(id int64) ([]*models.TokenDTO, error)) *ServiceAccountApi_ListServiceAccountsTokens_Call
- type ServiceAccountApi_ListServiceAccounts_Call
- func (_c *ServiceAccountApi_ListServiceAccounts_Call) Return(serviceAccountDTOWithTokenss []*domain.ServiceAccountDTOWithTokens) *ServiceAccountApi_ListServiceAccounts_Call
- func (_c *ServiceAccountApi_ListServiceAccounts_Call) Run(run func()) *ServiceAccountApi_ListServiceAccounts_Call
- func (_c *ServiceAccountApi_ListServiceAccounts_Call) RunAndReturn(run func() []*domain.ServiceAccountDTOWithTokens) *ServiceAccountApi_ListServiceAccounts_Call
- type TeamsApi
- func (_mock *TeamsApi) DeleteTeam(filter filters.V2Filter) ([]*models.TeamDTO, error)
- func (_mock *TeamsApi) DownloadTeams(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO
- func (_m *TeamsApi) EXPECT() *TeamsApi_Expecter
- func (_mock *TeamsApi) ListTeams(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO
- func (_mock *TeamsApi) UploadTeams(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO
- type TeamsApi_DeleteTeam_Call
- func (_c *TeamsApi_DeleteTeam_Call) Return(teamDTOs []*models.TeamDTO, err error) *TeamsApi_DeleteTeam_Call
- func (_c *TeamsApi_DeleteTeam_Call) Run(run func(filter filters.V2Filter)) *TeamsApi_DeleteTeam_Call
- func (_c *TeamsApi_DeleteTeam_Call) RunAndReturn(run func(filter filters.V2Filter) ([]*models.TeamDTO, error)) *TeamsApi_DeleteTeam_Call
- type TeamsApi_DownloadTeams_Call
- func (_c *TeamsApi_DownloadTeams_Call) Return(teamDTOToTeamMemberDTOs map[*models.TeamDTO][]*models.TeamMemberDTO) *TeamsApi_DownloadTeams_Call
- func (_c *TeamsApi_DownloadTeams_Call) Run(run func(filter filters.V2Filter)) *TeamsApi_DownloadTeams_Call
- func (_c *TeamsApi_DownloadTeams_Call) RunAndReturn(run func(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO) *TeamsApi_DownloadTeams_Call
- type TeamsApi_Expecter
- func (_e *TeamsApi_Expecter) DeleteTeam(filter interface{}) *TeamsApi_DeleteTeam_Call
- func (_e *TeamsApi_Expecter) DownloadTeams(filter interface{}) *TeamsApi_DownloadTeams_Call
- func (_e *TeamsApi_Expecter) ListTeams(filter interface{}) *TeamsApi_ListTeams_Call
- func (_e *TeamsApi_Expecter) UploadTeams(filter interface{}) *TeamsApi_UploadTeams_Call
- type TeamsApi_ListTeams_Call
- func (_c *TeamsApi_ListTeams_Call) Return(teamDTOToTeamMemberDTOs map[*models.TeamDTO][]*models.TeamMemberDTO) *TeamsApi_ListTeams_Call
- func (_c *TeamsApi_ListTeams_Call) Run(run func(filter filters.V2Filter)) *TeamsApi_ListTeams_Call
- func (_c *TeamsApi_ListTeams_Call) RunAndReturn(run func(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO) *TeamsApi_ListTeams_Call
- type TeamsApi_UploadTeams_Call
- func (_c *TeamsApi_UploadTeams_Call) Return(teamDTOToTeamMemberDTOs map[*models.TeamDTO][]*models.TeamMemberDTO) *TeamsApi_UploadTeams_Call
- func (_c *TeamsApi_UploadTeams_Call) Run(run func(filter filters.V2Filter)) *TeamsApi_UploadTeams_Call
- func (_c *TeamsApi_UploadTeams_Call) RunAndReturn(run func(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO) *TeamsApi_UploadTeams_Call
- type UsersApi
- func (_mock *UsersApi) DeleteAllUsers(filter filters.V2Filter) []string
- func (_mock *UsersApi) DownloadUsers(filter filters.V2Filter) []string
- func (_m *UsersApi) EXPECT() *UsersApi_Expecter
- func (_mock *UsersApi) GetUserInfo() (*models.UserProfileDTO, error)
- func (_mock *UsersApi) ListUsers(filter filters.V2Filter) []*models.UserSearchHitDTO
- func (_mock *UsersApi) PromoteUser(userLogin string) (string, error)
- func (_mock *UsersApi) UploadUsers(filter filters.V2Filter) []domain.UserProfileWithAuth
- type UsersApi_DeleteAllUsers_Call
- func (_c *UsersApi_DeleteAllUsers_Call) Return(strings []string) *UsersApi_DeleteAllUsers_Call
- func (_c *UsersApi_DeleteAllUsers_Call) Run(run func(filter filters.V2Filter)) *UsersApi_DeleteAllUsers_Call
- func (_c *UsersApi_DeleteAllUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *UsersApi_DeleteAllUsers_Call
- type UsersApi_DownloadUsers_Call
- func (_c *UsersApi_DownloadUsers_Call) Return(strings []string) *UsersApi_DownloadUsers_Call
- func (_c *UsersApi_DownloadUsers_Call) Run(run func(filter filters.V2Filter)) *UsersApi_DownloadUsers_Call
- func (_c *UsersApi_DownloadUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *UsersApi_DownloadUsers_Call
- type UsersApi_Expecter
- func (_e *UsersApi_Expecter) DeleteAllUsers(filter interface{}) *UsersApi_DeleteAllUsers_Call
- func (_e *UsersApi_Expecter) DownloadUsers(filter interface{}) *UsersApi_DownloadUsers_Call
- func (_e *UsersApi_Expecter) GetUserInfo() *UsersApi_GetUserInfo_Call
- func (_e *UsersApi_Expecter) ListUsers(filter interface{}) *UsersApi_ListUsers_Call
- func (_e *UsersApi_Expecter) PromoteUser(userLogin interface{}) *UsersApi_PromoteUser_Call
- func (_e *UsersApi_Expecter) UploadUsers(filter interface{}) *UsersApi_UploadUsers_Call
- type UsersApi_GetUserInfo_Call
- func (_c *UsersApi_GetUserInfo_Call) Return(userProfileDTO *models.UserProfileDTO, err error) *UsersApi_GetUserInfo_Call
- func (_c *UsersApi_GetUserInfo_Call) Run(run func()) *UsersApi_GetUserInfo_Call
- func (_c *UsersApi_GetUserInfo_Call) RunAndReturn(run func() (*models.UserProfileDTO, error)) *UsersApi_GetUserInfo_Call
- type UsersApi_ListUsers_Call
- func (_c *UsersApi_ListUsers_Call) Return(userSearchHitDTOs []*models.UserSearchHitDTO) *UsersApi_ListUsers_Call
- func (_c *UsersApi_ListUsers_Call) Run(run func(filter filters.V2Filter)) *UsersApi_ListUsers_Call
- func (_c *UsersApi_ListUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []*models.UserSearchHitDTO) *UsersApi_ListUsers_Call
- type UsersApi_PromoteUser_Call
- func (_c *UsersApi_PromoteUser_Call) Return(s string, err error) *UsersApi_PromoteUser_Call
- func (_c *UsersApi_PromoteUser_Call) Run(run func(userLogin string)) *UsersApi_PromoteUser_Call
- func (_c *UsersApi_PromoteUser_Call) RunAndReturn(run func(userLogin string) (string, error)) *UsersApi_PromoteUser_Call
- type UsersApi_UploadUsers_Call
- func (_c *UsersApi_UploadUsers_Call) Return(userProfileWithAuths []domain.UserProfileWithAuth) *UsersApi_UploadUsers_Call
- func (_c *UsersApi_UploadUsers_Call) Run(run func(filter filters.V2Filter)) *UsersApi_UploadUsers_Call
- func (_c *UsersApi_UploadUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []domain.UserProfileWithAuth) *UsersApi_UploadUsers_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertContactPoints ¶ added in v0.8.0
AlertContactPoints is an autogenerated mock type for the AlertContactPoints type
func NewAlertContactPoints ¶ added in v0.8.0
func NewAlertContactPoints(t interface {
mock.TestingT
Cleanup(func())
}) *AlertContactPoints
NewAlertContactPoints creates a new instance of AlertContactPoints. 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 (*AlertContactPoints) ClearContactPoints ¶ added in v0.8.0
func (_mock *AlertContactPoints) ClearContactPoints() ([]string, error)
ClearContactPoints provides a mock function for the type AlertContactPoints
func (*AlertContactPoints) DownloadContactPoints ¶ added in v0.8.0
func (_mock *AlertContactPoints) DownloadContactPoints() (string, error)
DownloadContactPoints provides a mock function for the type AlertContactPoints
func (*AlertContactPoints) EXPECT ¶ added in v0.8.0
func (_m *AlertContactPoints) EXPECT() *AlertContactPoints_Expecter
func (*AlertContactPoints) ListContactPoints ¶ added in v0.8.0
func (_mock *AlertContactPoints) ListContactPoints() ([]*models.EmbeddedContactPoint, error)
ListContactPoints provides a mock function for the type AlertContactPoints
func (*AlertContactPoints) UploadContactPoints ¶ added in v0.8.0
func (_mock *AlertContactPoints) UploadContactPoints() ([]string, error)
UploadContactPoints provides a mock function for the type AlertContactPoints
type AlertContactPoints_ClearContactPoints_Call ¶ added in v0.8.0
AlertContactPoints_ClearContactPoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearContactPoints'
func (*AlertContactPoints_ClearContactPoints_Call) Return ¶ added in v0.8.0
func (_c *AlertContactPoints_ClearContactPoints_Call) Return(strings []string, err error) *AlertContactPoints_ClearContactPoints_Call
func (*AlertContactPoints_ClearContactPoints_Call) Run ¶ added in v0.8.0
func (_c *AlertContactPoints_ClearContactPoints_Call) Run(run func()) *AlertContactPoints_ClearContactPoints_Call
func (*AlertContactPoints_ClearContactPoints_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertContactPoints_ClearContactPoints_Call) RunAndReturn(run func() ([]string, error)) *AlertContactPoints_ClearContactPoints_Call
type AlertContactPoints_DownloadContactPoints_Call ¶ added in v0.8.0
AlertContactPoints_DownloadContactPoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadContactPoints'
func (*AlertContactPoints_DownloadContactPoints_Call) Return ¶ added in v0.8.0
func (_c *AlertContactPoints_DownloadContactPoints_Call) Return(s string, err error) *AlertContactPoints_DownloadContactPoints_Call
func (*AlertContactPoints_DownloadContactPoints_Call) Run ¶ added in v0.8.0
func (_c *AlertContactPoints_DownloadContactPoints_Call) Run(run func()) *AlertContactPoints_DownloadContactPoints_Call
func (*AlertContactPoints_DownloadContactPoints_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertContactPoints_DownloadContactPoints_Call) RunAndReturn(run func() (string, error)) *AlertContactPoints_DownloadContactPoints_Call
type AlertContactPoints_Expecter ¶ added in v0.8.0
type AlertContactPoints_Expecter struct {
// contains filtered or unexported fields
}
func (*AlertContactPoints_Expecter) ClearContactPoints ¶ added in v0.8.0
func (_e *AlertContactPoints_Expecter) ClearContactPoints() *AlertContactPoints_ClearContactPoints_Call
ClearContactPoints is a helper method to define mock.On call
func (*AlertContactPoints_Expecter) DownloadContactPoints ¶ added in v0.8.0
func (_e *AlertContactPoints_Expecter) DownloadContactPoints() *AlertContactPoints_DownloadContactPoints_Call
DownloadContactPoints is a helper method to define mock.On call
func (*AlertContactPoints_Expecter) ListContactPoints ¶ added in v0.8.0
func (_e *AlertContactPoints_Expecter) ListContactPoints() *AlertContactPoints_ListContactPoints_Call
ListContactPoints is a helper method to define mock.On call
func (*AlertContactPoints_Expecter) UploadContactPoints ¶ added in v0.8.0
func (_e *AlertContactPoints_Expecter) UploadContactPoints() *AlertContactPoints_UploadContactPoints_Call
UploadContactPoints is a helper method to define mock.On call
type AlertContactPoints_ListContactPoints_Call ¶ added in v0.8.0
AlertContactPoints_ListContactPoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListContactPoints'
func (*AlertContactPoints_ListContactPoints_Call) Return ¶ added in v0.8.0
func (_c *AlertContactPoints_ListContactPoints_Call) Return(embeddedContactPoints []*models.EmbeddedContactPoint, err error) *AlertContactPoints_ListContactPoints_Call
func (*AlertContactPoints_ListContactPoints_Call) Run ¶ added in v0.8.0
func (_c *AlertContactPoints_ListContactPoints_Call) Run(run func()) *AlertContactPoints_ListContactPoints_Call
func (*AlertContactPoints_ListContactPoints_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertContactPoints_ListContactPoints_Call) RunAndReturn(run func() ([]*models.EmbeddedContactPoint, error)) *AlertContactPoints_ListContactPoints_Call
type AlertContactPoints_UploadContactPoints_Call ¶ added in v0.8.0
AlertContactPoints_UploadContactPoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadContactPoints'
func (*AlertContactPoints_UploadContactPoints_Call) Return ¶ added in v0.8.0
func (_c *AlertContactPoints_UploadContactPoints_Call) Return(strings []string, err error) *AlertContactPoints_UploadContactPoints_Call
func (*AlertContactPoints_UploadContactPoints_Call) Run ¶ added in v0.8.0
func (_c *AlertContactPoints_UploadContactPoints_Call) Run(run func()) *AlertContactPoints_UploadContactPoints_Call
func (*AlertContactPoints_UploadContactPoints_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertContactPoints_UploadContactPoints_Call) RunAndReturn(run func() ([]string, error)) *AlertContactPoints_UploadContactPoints_Call
type AlertPolicies ¶ added in v0.9.1
AlertPolicies is an autogenerated mock type for the AlertPolicies type
func NewAlertPolicies ¶ added in v0.9.1
func NewAlertPolicies(t interface {
mock.TestingT
Cleanup(func())
}) *AlertPolicies
NewAlertPolicies creates a new instance of AlertPolicies. 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 (*AlertPolicies) ClearAlertNotifications ¶ added in v0.9.1
func (_mock *AlertPolicies) ClearAlertNotifications() error
ClearAlertNotifications provides a mock function for the type AlertPolicies
func (*AlertPolicies) DownloadAlertNotifications ¶ added in v0.9.1
func (_mock *AlertPolicies) DownloadAlertNotifications() (string, error)
DownloadAlertNotifications provides a mock function for the type AlertPolicies
func (*AlertPolicies) EXPECT ¶ added in v0.9.1
func (_m *AlertPolicies) EXPECT() *AlertPolicies_Expecter
func (*AlertPolicies) ListAlertNotifications ¶ added in v0.9.1
func (_mock *AlertPolicies) ListAlertNotifications() (*models.Route, error)
ListAlertNotifications provides a mock function for the type AlertPolicies
func (*AlertPolicies) UploadAlertNotifications ¶ added in v0.9.1
func (_mock *AlertPolicies) UploadAlertNotifications() (*models.Route, error)
UploadAlertNotifications provides a mock function for the type AlertPolicies
type AlertPolicies_ClearAlertNotifications_Call ¶ added in v0.9.1
AlertPolicies_ClearAlertNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearAlertNotifications'
func (*AlertPolicies_ClearAlertNotifications_Call) Return ¶ added in v0.9.1
func (_c *AlertPolicies_ClearAlertNotifications_Call) Return(err error) *AlertPolicies_ClearAlertNotifications_Call
func (*AlertPolicies_ClearAlertNotifications_Call) Run ¶ added in v0.9.1
func (_c *AlertPolicies_ClearAlertNotifications_Call) Run(run func()) *AlertPolicies_ClearAlertNotifications_Call
func (*AlertPolicies_ClearAlertNotifications_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AlertPolicies_ClearAlertNotifications_Call) RunAndReturn(run func() error) *AlertPolicies_ClearAlertNotifications_Call
type AlertPolicies_DownloadAlertNotifications_Call ¶ added in v0.9.1
AlertPolicies_DownloadAlertNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAlertNotifications'
func (*AlertPolicies_DownloadAlertNotifications_Call) Return ¶ added in v0.9.1
func (_c *AlertPolicies_DownloadAlertNotifications_Call) Return(s string, err error) *AlertPolicies_DownloadAlertNotifications_Call
func (*AlertPolicies_DownloadAlertNotifications_Call) Run ¶ added in v0.9.1
func (_c *AlertPolicies_DownloadAlertNotifications_Call) Run(run func()) *AlertPolicies_DownloadAlertNotifications_Call
func (*AlertPolicies_DownloadAlertNotifications_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AlertPolicies_DownloadAlertNotifications_Call) RunAndReturn(run func() (string, error)) *AlertPolicies_DownloadAlertNotifications_Call
type AlertPolicies_Expecter ¶ added in v0.9.1
type AlertPolicies_Expecter struct {
// contains filtered or unexported fields
}
func (*AlertPolicies_Expecter) ClearAlertNotifications ¶ added in v0.9.1
func (_e *AlertPolicies_Expecter) ClearAlertNotifications() *AlertPolicies_ClearAlertNotifications_Call
ClearAlertNotifications is a helper method to define mock.On call
func (*AlertPolicies_Expecter) DownloadAlertNotifications ¶ added in v0.9.1
func (_e *AlertPolicies_Expecter) DownloadAlertNotifications() *AlertPolicies_DownloadAlertNotifications_Call
DownloadAlertNotifications is a helper method to define mock.On call
func (*AlertPolicies_Expecter) ListAlertNotifications ¶ added in v0.9.1
func (_e *AlertPolicies_Expecter) ListAlertNotifications() *AlertPolicies_ListAlertNotifications_Call
ListAlertNotifications is a helper method to define mock.On call
func (*AlertPolicies_Expecter) UploadAlertNotifications ¶ added in v0.9.1
func (_e *AlertPolicies_Expecter) UploadAlertNotifications() *AlertPolicies_UploadAlertNotifications_Call
UploadAlertNotifications is a helper method to define mock.On call
type AlertPolicies_ListAlertNotifications_Call ¶ added in v0.9.1
AlertPolicies_ListAlertNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlertNotifications'
func (*AlertPolicies_ListAlertNotifications_Call) Return ¶ added in v0.9.1
func (_c *AlertPolicies_ListAlertNotifications_Call) Return(route *models.Route, err error) *AlertPolicies_ListAlertNotifications_Call
func (*AlertPolicies_ListAlertNotifications_Call) Run ¶ added in v0.9.1
func (_c *AlertPolicies_ListAlertNotifications_Call) Run(run func()) *AlertPolicies_ListAlertNotifications_Call
func (*AlertPolicies_ListAlertNotifications_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AlertPolicies_ListAlertNotifications_Call) RunAndReturn(run func() (*models.Route, error)) *AlertPolicies_ListAlertNotifications_Call
type AlertPolicies_UploadAlertNotifications_Call ¶ added in v0.9.1
AlertPolicies_UploadAlertNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadAlertNotifications'
func (*AlertPolicies_UploadAlertNotifications_Call) Return ¶ added in v0.9.1
func (_c *AlertPolicies_UploadAlertNotifications_Call) Return(route *models.Route, err error) *AlertPolicies_UploadAlertNotifications_Call
func (*AlertPolicies_UploadAlertNotifications_Call) Run ¶ added in v0.9.1
func (_c *AlertPolicies_UploadAlertNotifications_Call) Run(run func()) *AlertPolicies_UploadAlertNotifications_Call
func (*AlertPolicies_UploadAlertNotifications_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AlertPolicies_UploadAlertNotifications_Call) RunAndReturn(run func() (*models.Route, error)) *AlertPolicies_UploadAlertNotifications_Call
type AlertRules ¶ added in v0.8.0
AlertRules is an autogenerated mock type for the AlertRules type
func NewAlertRules ¶ added in v0.8.0
func NewAlertRules(t interface {
mock.TestingT
Cleanup(func())
}) *AlertRules
NewAlertRules creates a new instance of AlertRules. 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 (*AlertRules) ClearAlertRules ¶ added in v0.8.0
func (_mock *AlertRules) ClearAlertRules(filter filters.V2Filter) ([]string, error)
ClearAlertRules provides a mock function for the type AlertRules
func (*AlertRules) DownloadAlertRules ¶ added in v0.8.0
func (_mock *AlertRules) DownloadAlertRules(filter filters.V2Filter) ([]string, error)
DownloadAlertRules provides a mock function for the type AlertRules
func (*AlertRules) EXPECT ¶ added in v0.8.0
func (_m *AlertRules) EXPECT() *AlertRules_Expecter
func (*AlertRules) ListAlertRules ¶ added in v0.8.0
func (_mock *AlertRules) ListAlertRules(filter filters.V2Filter) ([]*domain.AlertRuleWithNestedFolder, error)
ListAlertRules provides a mock function for the type AlertRules
func (*AlertRules) UploadAlertRules ¶ added in v0.8.0
func (_mock *AlertRules) UploadAlertRules(filter filters.V2Filter) error
UploadAlertRules provides a mock function for the type AlertRules
type AlertRules_ClearAlertRules_Call ¶ added in v0.8.0
AlertRules_ClearAlertRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearAlertRules'
func (*AlertRules_ClearAlertRules_Call) Return ¶ added in v0.8.0
func (_c *AlertRules_ClearAlertRules_Call) Return(strings []string, err error) *AlertRules_ClearAlertRules_Call
func (*AlertRules_ClearAlertRules_Call) Run ¶ added in v0.8.0
func (_c *AlertRules_ClearAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertRules_ClearAlertRules_Call
func (*AlertRules_ClearAlertRules_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertRules_ClearAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]string, error)) *AlertRules_ClearAlertRules_Call
type AlertRules_DownloadAlertRules_Call ¶ added in v0.8.0
AlertRules_DownloadAlertRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAlertRules'
func (*AlertRules_DownloadAlertRules_Call) Return ¶ added in v0.8.0
func (_c *AlertRules_DownloadAlertRules_Call) Return(strings []string, err error) *AlertRules_DownloadAlertRules_Call
func (*AlertRules_DownloadAlertRules_Call) Run ¶ added in v0.8.0
func (_c *AlertRules_DownloadAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertRules_DownloadAlertRules_Call
func (*AlertRules_DownloadAlertRules_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertRules_DownloadAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]string, error)) *AlertRules_DownloadAlertRules_Call
type AlertRules_Expecter ¶ added in v0.8.0
type AlertRules_Expecter struct {
// contains filtered or unexported fields
}
func (*AlertRules_Expecter) ClearAlertRules ¶ added in v0.8.0
func (_e *AlertRules_Expecter) ClearAlertRules(filter interface{}) *AlertRules_ClearAlertRules_Call
ClearAlertRules is a helper method to define mock.On call
- filter filters.V2Filter
func (*AlertRules_Expecter) DownloadAlertRules ¶ added in v0.8.0
func (_e *AlertRules_Expecter) DownloadAlertRules(filter interface{}) *AlertRules_DownloadAlertRules_Call
DownloadAlertRules is a helper method to define mock.On call
- filter filters.V2Filter
func (*AlertRules_Expecter) ListAlertRules ¶ added in v0.8.0
func (_e *AlertRules_Expecter) ListAlertRules(filter interface{}) *AlertRules_ListAlertRules_Call
ListAlertRules is a helper method to define mock.On call
- filter filters.V2Filter
func (*AlertRules_Expecter) UploadAlertRules ¶ added in v0.8.0
func (_e *AlertRules_Expecter) UploadAlertRules(filter interface{}) *AlertRules_UploadAlertRules_Call
UploadAlertRules is a helper method to define mock.On call
- filter filters.V2Filter
type AlertRules_ListAlertRules_Call ¶ added in v0.8.0
AlertRules_ListAlertRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlertRules'
func (*AlertRules_ListAlertRules_Call) Return ¶ added in v0.8.0
func (_c *AlertRules_ListAlertRules_Call) Return(alertRuleWithNestedFolders []*domain.AlertRuleWithNestedFolder, err error) *AlertRules_ListAlertRules_Call
func (*AlertRules_ListAlertRules_Call) Run ¶ added in v0.8.0
func (_c *AlertRules_ListAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertRules_ListAlertRules_Call
func (*AlertRules_ListAlertRules_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertRules_ListAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]*domain.AlertRuleWithNestedFolder, error)) *AlertRules_ListAlertRules_Call
type AlertRules_UploadAlertRules_Call ¶ added in v0.8.0
AlertRules_UploadAlertRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadAlertRules'
func (*AlertRules_UploadAlertRules_Call) Return ¶ added in v0.8.0
func (_c *AlertRules_UploadAlertRules_Call) Return(err error) *AlertRules_UploadAlertRules_Call
func (*AlertRules_UploadAlertRules_Call) Run ¶ added in v0.8.0
func (_c *AlertRules_UploadAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertRules_UploadAlertRules_Call
func (*AlertRules_UploadAlertRules_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertRules_UploadAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) error) *AlertRules_UploadAlertRules_Call
type AlertTemplates ¶ added in v0.8.0
AlertTemplates is an autogenerated mock type for the AlertTemplates type
func NewAlertTemplates ¶ added in v0.8.0
func NewAlertTemplates(t interface {
mock.TestingT
Cleanup(func())
}) *AlertTemplates
NewAlertTemplates creates a new instance of AlertTemplates. 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 (*AlertTemplates) ClearAlertTemplates ¶ added in v0.8.0
func (_mock *AlertTemplates) ClearAlertTemplates() ([]string, error)
ClearAlertTemplates provides a mock function for the type AlertTemplates
func (*AlertTemplates) DownloadAlertTemplates ¶ added in v0.8.0
func (_mock *AlertTemplates) DownloadAlertTemplates() (string, error)
DownloadAlertTemplates provides a mock function for the type AlertTemplates
func (*AlertTemplates) EXPECT ¶ added in v0.8.0
func (_m *AlertTemplates) EXPECT() *AlertTemplates_Expecter
func (*AlertTemplates) ListAlertTemplates ¶ added in v0.8.0
func (_mock *AlertTemplates) ListAlertTemplates() ([]*models.NotificationTemplate, error)
ListAlertTemplates provides a mock function for the type AlertTemplates
func (*AlertTemplates) UploadAlertTemplates ¶ added in v0.8.0
func (_mock *AlertTemplates) UploadAlertTemplates() ([]string, error)
UploadAlertTemplates provides a mock function for the type AlertTemplates
type AlertTemplates_ClearAlertTemplates_Call ¶ added in v0.8.0
AlertTemplates_ClearAlertTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearAlertTemplates'
func (*AlertTemplates_ClearAlertTemplates_Call) Return ¶ added in v0.8.0
func (_c *AlertTemplates_ClearAlertTemplates_Call) Return(strings []string, err error) *AlertTemplates_ClearAlertTemplates_Call
func (*AlertTemplates_ClearAlertTemplates_Call) Run ¶ added in v0.8.0
func (_c *AlertTemplates_ClearAlertTemplates_Call) Run(run func()) *AlertTemplates_ClearAlertTemplates_Call
func (*AlertTemplates_ClearAlertTemplates_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertTemplates_ClearAlertTemplates_Call) RunAndReturn(run func() ([]string, error)) *AlertTemplates_ClearAlertTemplates_Call
type AlertTemplates_DownloadAlertTemplates_Call ¶ added in v0.8.0
AlertTemplates_DownloadAlertTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAlertTemplates'
func (*AlertTemplates_DownloadAlertTemplates_Call) Return ¶ added in v0.8.0
func (_c *AlertTemplates_DownloadAlertTemplates_Call) Return(s string, err error) *AlertTemplates_DownloadAlertTemplates_Call
func (*AlertTemplates_DownloadAlertTemplates_Call) Run ¶ added in v0.8.0
func (_c *AlertTemplates_DownloadAlertTemplates_Call) Run(run func()) *AlertTemplates_DownloadAlertTemplates_Call
func (*AlertTemplates_DownloadAlertTemplates_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertTemplates_DownloadAlertTemplates_Call) RunAndReturn(run func() (string, error)) *AlertTemplates_DownloadAlertTemplates_Call
type AlertTemplates_Expecter ¶ added in v0.8.0
type AlertTemplates_Expecter struct {
// contains filtered or unexported fields
}
func (*AlertTemplates_Expecter) ClearAlertTemplates ¶ added in v0.8.0
func (_e *AlertTemplates_Expecter) ClearAlertTemplates() *AlertTemplates_ClearAlertTemplates_Call
ClearAlertTemplates is a helper method to define mock.On call
func (*AlertTemplates_Expecter) DownloadAlertTemplates ¶ added in v0.8.0
func (_e *AlertTemplates_Expecter) DownloadAlertTemplates() *AlertTemplates_DownloadAlertTemplates_Call
DownloadAlertTemplates is a helper method to define mock.On call
func (*AlertTemplates_Expecter) ListAlertTemplates ¶ added in v0.8.0
func (_e *AlertTemplates_Expecter) ListAlertTemplates() *AlertTemplates_ListAlertTemplates_Call
ListAlertTemplates is a helper method to define mock.On call
func (*AlertTemplates_Expecter) UploadAlertTemplates ¶ added in v0.8.0
func (_e *AlertTemplates_Expecter) UploadAlertTemplates() *AlertTemplates_UploadAlertTemplates_Call
UploadAlertTemplates is a helper method to define mock.On call
type AlertTemplates_ListAlertTemplates_Call ¶ added in v0.8.0
AlertTemplates_ListAlertTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlertTemplates'
func (*AlertTemplates_ListAlertTemplates_Call) Return ¶ added in v0.8.0
func (_c *AlertTemplates_ListAlertTemplates_Call) Return(notificationTemplates []*models.NotificationTemplate, err error) *AlertTemplates_ListAlertTemplates_Call
func (*AlertTemplates_ListAlertTemplates_Call) Run ¶ added in v0.8.0
func (_c *AlertTemplates_ListAlertTemplates_Call) Run(run func()) *AlertTemplates_ListAlertTemplates_Call
func (*AlertTemplates_ListAlertTemplates_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertTemplates_ListAlertTemplates_Call) RunAndReturn(run func() ([]*models.NotificationTemplate, error)) *AlertTemplates_ListAlertTemplates_Call
type AlertTemplates_UploadAlertTemplates_Call ¶ added in v0.8.0
AlertTemplates_UploadAlertTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadAlertTemplates'
func (*AlertTemplates_UploadAlertTemplates_Call) Return ¶ added in v0.8.0
func (_c *AlertTemplates_UploadAlertTemplates_Call) Return(strings []string, err error) *AlertTemplates_UploadAlertTemplates_Call
func (*AlertTemplates_UploadAlertTemplates_Call) Run ¶ added in v0.8.0
func (_c *AlertTemplates_UploadAlertTemplates_Call) Run(run func()) *AlertTemplates_UploadAlertTemplates_Call
func (*AlertTemplates_UploadAlertTemplates_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertTemplates_UploadAlertTemplates_Call) RunAndReturn(run func() ([]string, error)) *AlertTemplates_UploadAlertTemplates_Call
type AlertTimings ¶ added in v0.9.1
AlertTimings is an autogenerated mock type for the AlertTimings type
func NewAlertTimings ¶ added in v0.9.1
func NewAlertTimings(t interface {
mock.TestingT
Cleanup(func())
}) *AlertTimings
NewAlertTimings creates a new instance of AlertTimings. 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 (*AlertTimings) ClearAlertTimings ¶ added in v0.9.1
func (_mock *AlertTimings) ClearAlertTimings() error
ClearAlertTimings provides a mock function for the type AlertTimings
func (*AlertTimings) DownloadAlertTimings ¶ added in v0.9.1
func (_mock *AlertTimings) DownloadAlertTimings() (string, error)
DownloadAlertTimings provides a mock function for the type AlertTimings
func (*AlertTimings) EXPECT ¶ added in v0.9.1
func (_m *AlertTimings) EXPECT() *AlertTimings_Expecter
func (*AlertTimings) ListAlertTimings ¶ added in v0.9.1
func (_mock *AlertTimings) ListAlertTimings() ([]*models.MuteTimeInterval, error)
ListAlertTimings provides a mock function for the type AlertTimings
func (*AlertTimings) UploadAlertTimings ¶ added in v0.9.1
func (_mock *AlertTimings) UploadAlertTimings() ([]string, error)
UploadAlertTimings provides a mock function for the type AlertTimings
type AlertTimings_ClearAlertTimings_Call ¶ added in v0.9.1
AlertTimings_ClearAlertTimings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearAlertTimings'
func (*AlertTimings_ClearAlertTimings_Call) Return ¶ added in v0.9.1
func (_c *AlertTimings_ClearAlertTimings_Call) Return(err error) *AlertTimings_ClearAlertTimings_Call
func (*AlertTimings_ClearAlertTimings_Call) Run ¶ added in v0.9.1
func (_c *AlertTimings_ClearAlertTimings_Call) Run(run func()) *AlertTimings_ClearAlertTimings_Call
func (*AlertTimings_ClearAlertTimings_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AlertTimings_ClearAlertTimings_Call) RunAndReturn(run func() error) *AlertTimings_ClearAlertTimings_Call
type AlertTimings_DownloadAlertTimings_Call ¶ added in v0.9.1
AlertTimings_DownloadAlertTimings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAlertTimings'
func (*AlertTimings_DownloadAlertTimings_Call) Return ¶ added in v0.9.1
func (_c *AlertTimings_DownloadAlertTimings_Call) Return(s string, err error) *AlertTimings_DownloadAlertTimings_Call
func (*AlertTimings_DownloadAlertTimings_Call) Run ¶ added in v0.9.1
func (_c *AlertTimings_DownloadAlertTimings_Call) Run(run func()) *AlertTimings_DownloadAlertTimings_Call
func (*AlertTimings_DownloadAlertTimings_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AlertTimings_DownloadAlertTimings_Call) RunAndReturn(run func() (string, error)) *AlertTimings_DownloadAlertTimings_Call
type AlertTimings_Expecter ¶ added in v0.9.1
type AlertTimings_Expecter struct {
// contains filtered or unexported fields
}
func (*AlertTimings_Expecter) ClearAlertTimings ¶ added in v0.9.1
func (_e *AlertTimings_Expecter) ClearAlertTimings() *AlertTimings_ClearAlertTimings_Call
ClearAlertTimings is a helper method to define mock.On call
func (*AlertTimings_Expecter) DownloadAlertTimings ¶ added in v0.9.1
func (_e *AlertTimings_Expecter) DownloadAlertTimings() *AlertTimings_DownloadAlertTimings_Call
DownloadAlertTimings is a helper method to define mock.On call
func (*AlertTimings_Expecter) ListAlertTimings ¶ added in v0.9.1
func (_e *AlertTimings_Expecter) ListAlertTimings() *AlertTimings_ListAlertTimings_Call
ListAlertTimings is a helper method to define mock.On call
func (*AlertTimings_Expecter) UploadAlertTimings ¶ added in v0.9.1
func (_e *AlertTimings_Expecter) UploadAlertTimings() *AlertTimings_UploadAlertTimings_Call
UploadAlertTimings is a helper method to define mock.On call
type AlertTimings_ListAlertTimings_Call ¶ added in v0.9.1
AlertTimings_ListAlertTimings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlertTimings'
func (*AlertTimings_ListAlertTimings_Call) Return ¶ added in v0.9.1
func (_c *AlertTimings_ListAlertTimings_Call) Return(muteTimeIntervals []*models.MuteTimeInterval, err error) *AlertTimings_ListAlertTimings_Call
func (*AlertTimings_ListAlertTimings_Call) Run ¶ added in v0.9.1
func (_c *AlertTimings_ListAlertTimings_Call) Run(run func()) *AlertTimings_ListAlertTimings_Call
func (*AlertTimings_ListAlertTimings_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AlertTimings_ListAlertTimings_Call) RunAndReturn(run func() ([]*models.MuteTimeInterval, error)) *AlertTimings_ListAlertTimings_Call
type AlertTimings_UploadAlertTimings_Call ¶ added in v0.9.1
AlertTimings_UploadAlertTimings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadAlertTimings'
func (*AlertTimings_UploadAlertTimings_Call) Return ¶ added in v0.9.1
func (_c *AlertTimings_UploadAlertTimings_Call) Return(strings []string, err error) *AlertTimings_UploadAlertTimings_Call
func (*AlertTimings_UploadAlertTimings_Call) Run ¶ added in v0.9.1
func (_c *AlertTimings_UploadAlertTimings_Call) Run(run func()) *AlertTimings_UploadAlertTimings_Call
func (*AlertTimings_UploadAlertTimings_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AlertTimings_UploadAlertTimings_Call) RunAndReturn(run func() ([]string, error)) *AlertTimings_UploadAlertTimings_Call
type AlertingApi ¶ added in v0.7.2
AlertingApi is an autogenerated mock type for the AlertingApi type
func NewAlertingApi ¶ added in v0.7.2
func NewAlertingApi(t interface {
mock.TestingT
Cleanup(func())
}) *AlertingApi
NewAlertingApi creates a new instance of AlertingApi. 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 (*AlertingApi) ClearAlertNotifications ¶ added in v0.8.0
func (_mock *AlertingApi) ClearAlertNotifications() error
ClearAlertNotifications provides a mock function for the type AlertingApi
func (*AlertingApi) ClearAlertRules ¶ added in v0.8.0
func (_mock *AlertingApi) ClearAlertRules(filter filters.V2Filter) ([]string, error)
ClearAlertRules provides a mock function for the type AlertingApi
func (*AlertingApi) ClearAlertTemplates ¶ added in v0.8.0
func (_mock *AlertingApi) ClearAlertTemplates() ([]string, error)
ClearAlertTemplates provides a mock function for the type AlertingApi
func (*AlertingApi) ClearAlertTimings ¶ added in v0.9.1
func (_mock *AlertingApi) ClearAlertTimings() error
ClearAlertTimings provides a mock function for the type AlertingApi
func (*AlertingApi) ClearContactPoints ¶ added in v0.7.2
func (_mock *AlertingApi) ClearContactPoints() ([]string, error)
ClearContactPoints provides a mock function for the type AlertingApi
func (*AlertingApi) DownloadAlertNotifications ¶ added in v0.8.0
func (_mock *AlertingApi) DownloadAlertNotifications() (string, error)
DownloadAlertNotifications provides a mock function for the type AlertingApi
func (*AlertingApi) DownloadAlertRules ¶ added in v0.8.0
func (_mock *AlertingApi) DownloadAlertRules(filter filters.V2Filter) ([]string, error)
DownloadAlertRules provides a mock function for the type AlertingApi
func (*AlertingApi) DownloadAlertTemplates ¶ added in v0.8.0
func (_mock *AlertingApi) DownloadAlertTemplates() (string, error)
DownloadAlertTemplates provides a mock function for the type AlertingApi
func (*AlertingApi) DownloadAlertTimings ¶ added in v0.9.1
func (_mock *AlertingApi) DownloadAlertTimings() (string, error)
DownloadAlertTimings provides a mock function for the type AlertingApi
func (*AlertingApi) DownloadContactPoints ¶ added in v0.7.2
func (_mock *AlertingApi) DownloadContactPoints() (string, error)
DownloadContactPoints provides a mock function for the type AlertingApi
func (*AlertingApi) EXPECT ¶ added in v0.7.2
func (_m *AlertingApi) EXPECT() *AlertingApi_Expecter
func (*AlertingApi) ListAlertNotifications ¶ added in v0.8.0
func (_mock *AlertingApi) ListAlertNotifications() (*models.Route, error)
ListAlertNotifications provides a mock function for the type AlertingApi
func (*AlertingApi) ListAlertRules ¶ added in v0.8.0
func (_mock *AlertingApi) ListAlertRules(filter filters.V2Filter) ([]*domain.AlertRuleWithNestedFolder, error)
ListAlertRules provides a mock function for the type AlertingApi
func (*AlertingApi) ListAlertTemplates ¶ added in v0.8.0
func (_mock *AlertingApi) ListAlertTemplates() ([]*models.NotificationTemplate, error)
ListAlertTemplates provides a mock function for the type AlertingApi
func (*AlertingApi) ListAlertTimings ¶ added in v0.9.1
func (_mock *AlertingApi) ListAlertTimings() ([]*models.MuteTimeInterval, error)
ListAlertTimings provides a mock function for the type AlertingApi
func (*AlertingApi) ListContactPoints ¶ added in v0.7.2
func (_mock *AlertingApi) ListContactPoints() ([]*models.EmbeddedContactPoint, error)
ListContactPoints provides a mock function for the type AlertingApi
func (*AlertingApi) UploadAlertNotifications ¶ added in v0.8.0
func (_mock *AlertingApi) UploadAlertNotifications() (*models.Route, error)
UploadAlertNotifications provides a mock function for the type AlertingApi
func (*AlertingApi) UploadAlertRules ¶ added in v0.8.0
func (_mock *AlertingApi) UploadAlertRules(filter filters.V2Filter) error
UploadAlertRules provides a mock function for the type AlertingApi
func (*AlertingApi) UploadAlertTemplates ¶ added in v0.8.0
func (_mock *AlertingApi) UploadAlertTemplates() ([]string, error)
UploadAlertTemplates provides a mock function for the type AlertingApi
func (*AlertingApi) UploadAlertTimings ¶ added in v0.9.1
func (_mock *AlertingApi) UploadAlertTimings() ([]string, error)
UploadAlertTimings provides a mock function for the type AlertingApi
func (*AlertingApi) UploadContactPoints ¶ added in v0.7.2
func (_mock *AlertingApi) UploadContactPoints() ([]string, error)
UploadContactPoints provides a mock function for the type AlertingApi
type AlertingApi_ClearAlertNotifications_Call ¶ added in v0.8.0
AlertingApi_ClearAlertNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearAlertNotifications'
func (*AlertingApi_ClearAlertNotifications_Call) Return ¶ added in v0.8.0
func (_c *AlertingApi_ClearAlertNotifications_Call) Return(err error) *AlertingApi_ClearAlertNotifications_Call
func (*AlertingApi_ClearAlertNotifications_Call) Run ¶ added in v0.8.0
func (_c *AlertingApi_ClearAlertNotifications_Call) Run(run func()) *AlertingApi_ClearAlertNotifications_Call
func (*AlertingApi_ClearAlertNotifications_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertingApi_ClearAlertNotifications_Call) RunAndReturn(run func() error) *AlertingApi_ClearAlertNotifications_Call
type AlertingApi_ClearAlertRules_Call ¶ added in v0.8.0
AlertingApi_ClearAlertRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearAlertRules'
func (*AlertingApi_ClearAlertRules_Call) Return ¶ added in v0.8.0
func (_c *AlertingApi_ClearAlertRules_Call) Return(strings []string, err error) *AlertingApi_ClearAlertRules_Call
func (*AlertingApi_ClearAlertRules_Call) Run ¶ added in v0.8.0
func (_c *AlertingApi_ClearAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertingApi_ClearAlertRules_Call
func (*AlertingApi_ClearAlertRules_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertingApi_ClearAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]string, error)) *AlertingApi_ClearAlertRules_Call
type AlertingApi_ClearAlertTemplates_Call ¶ added in v0.8.0
AlertingApi_ClearAlertTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearAlertTemplates'
func (*AlertingApi_ClearAlertTemplates_Call) Return ¶ added in v0.8.0
func (_c *AlertingApi_ClearAlertTemplates_Call) Return(strings []string, err error) *AlertingApi_ClearAlertTemplates_Call
func (*AlertingApi_ClearAlertTemplates_Call) Run ¶ added in v0.8.0
func (_c *AlertingApi_ClearAlertTemplates_Call) Run(run func()) *AlertingApi_ClearAlertTemplates_Call
func (*AlertingApi_ClearAlertTemplates_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertingApi_ClearAlertTemplates_Call) RunAndReturn(run func() ([]string, error)) *AlertingApi_ClearAlertTemplates_Call
type AlertingApi_ClearAlertTimings_Call ¶ added in v0.9.1
AlertingApi_ClearAlertTimings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearAlertTimings'
func (*AlertingApi_ClearAlertTimings_Call) Return ¶ added in v0.9.1
func (_c *AlertingApi_ClearAlertTimings_Call) Return(err error) *AlertingApi_ClearAlertTimings_Call
func (*AlertingApi_ClearAlertTimings_Call) Run ¶ added in v0.9.1
func (_c *AlertingApi_ClearAlertTimings_Call) Run(run func()) *AlertingApi_ClearAlertTimings_Call
func (*AlertingApi_ClearAlertTimings_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AlertingApi_ClearAlertTimings_Call) RunAndReturn(run func() error) *AlertingApi_ClearAlertTimings_Call
type AlertingApi_ClearContactPoints_Call ¶ added in v0.7.2
AlertingApi_ClearContactPoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearContactPoints'
func (*AlertingApi_ClearContactPoints_Call) Return ¶ added in v0.7.2
func (_c *AlertingApi_ClearContactPoints_Call) Return(strings []string, err error) *AlertingApi_ClearContactPoints_Call
func (*AlertingApi_ClearContactPoints_Call) Run ¶ added in v0.7.2
func (_c *AlertingApi_ClearContactPoints_Call) Run(run func()) *AlertingApi_ClearContactPoints_Call
func (*AlertingApi_ClearContactPoints_Call) RunAndReturn ¶ added in v0.7.2
func (_c *AlertingApi_ClearContactPoints_Call) RunAndReturn(run func() ([]string, error)) *AlertingApi_ClearContactPoints_Call
type AlertingApi_DownloadAlertNotifications_Call ¶ added in v0.8.0
AlertingApi_DownloadAlertNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAlertNotifications'
func (*AlertingApi_DownloadAlertNotifications_Call) Return ¶ added in v0.8.0
func (_c *AlertingApi_DownloadAlertNotifications_Call) Return(s string, err error) *AlertingApi_DownloadAlertNotifications_Call
func (*AlertingApi_DownloadAlertNotifications_Call) Run ¶ added in v0.8.0
func (_c *AlertingApi_DownloadAlertNotifications_Call) Run(run func()) *AlertingApi_DownloadAlertNotifications_Call
func (*AlertingApi_DownloadAlertNotifications_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertingApi_DownloadAlertNotifications_Call) RunAndReturn(run func() (string, error)) *AlertingApi_DownloadAlertNotifications_Call
type AlertingApi_DownloadAlertRules_Call ¶ added in v0.8.0
AlertingApi_DownloadAlertRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAlertRules'
func (*AlertingApi_DownloadAlertRules_Call) Return ¶ added in v0.8.0
func (_c *AlertingApi_DownloadAlertRules_Call) Return(strings []string, err error) *AlertingApi_DownloadAlertRules_Call
func (*AlertingApi_DownloadAlertRules_Call) Run ¶ added in v0.8.0
func (_c *AlertingApi_DownloadAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertingApi_DownloadAlertRules_Call
func (*AlertingApi_DownloadAlertRules_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertingApi_DownloadAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]string, error)) *AlertingApi_DownloadAlertRules_Call
type AlertingApi_DownloadAlertTemplates_Call ¶ added in v0.8.0
AlertingApi_DownloadAlertTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAlertTemplates'
func (*AlertingApi_DownloadAlertTemplates_Call) Return ¶ added in v0.8.0
func (_c *AlertingApi_DownloadAlertTemplates_Call) Return(s string, err error) *AlertingApi_DownloadAlertTemplates_Call
func (*AlertingApi_DownloadAlertTemplates_Call) Run ¶ added in v0.8.0
func (_c *AlertingApi_DownloadAlertTemplates_Call) Run(run func()) *AlertingApi_DownloadAlertTemplates_Call
func (*AlertingApi_DownloadAlertTemplates_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertingApi_DownloadAlertTemplates_Call) RunAndReturn(run func() (string, error)) *AlertingApi_DownloadAlertTemplates_Call
type AlertingApi_DownloadAlertTimings_Call ¶ added in v0.9.1
AlertingApi_DownloadAlertTimings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAlertTimings'
func (*AlertingApi_DownloadAlertTimings_Call) Return ¶ added in v0.9.1
func (_c *AlertingApi_DownloadAlertTimings_Call) Return(s string, err error) *AlertingApi_DownloadAlertTimings_Call
func (*AlertingApi_DownloadAlertTimings_Call) Run ¶ added in v0.9.1
func (_c *AlertingApi_DownloadAlertTimings_Call) Run(run func()) *AlertingApi_DownloadAlertTimings_Call
func (*AlertingApi_DownloadAlertTimings_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AlertingApi_DownloadAlertTimings_Call) RunAndReturn(run func() (string, error)) *AlertingApi_DownloadAlertTimings_Call
type AlertingApi_DownloadContactPoints_Call ¶ added in v0.7.2
AlertingApi_DownloadContactPoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadContactPoints'
func (*AlertingApi_DownloadContactPoints_Call) Return ¶ added in v0.7.2
func (_c *AlertingApi_DownloadContactPoints_Call) Return(s string, err error) *AlertingApi_DownloadContactPoints_Call
func (*AlertingApi_DownloadContactPoints_Call) Run ¶ added in v0.7.2
func (_c *AlertingApi_DownloadContactPoints_Call) Run(run func()) *AlertingApi_DownloadContactPoints_Call
func (*AlertingApi_DownloadContactPoints_Call) RunAndReturn ¶ added in v0.7.2
func (_c *AlertingApi_DownloadContactPoints_Call) RunAndReturn(run func() (string, error)) *AlertingApi_DownloadContactPoints_Call
type AlertingApi_Expecter ¶ added in v0.7.2
type AlertingApi_Expecter struct {
// contains filtered or unexported fields
}
func (*AlertingApi_Expecter) ClearAlertNotifications ¶ added in v0.8.0
func (_e *AlertingApi_Expecter) ClearAlertNotifications() *AlertingApi_ClearAlertNotifications_Call
ClearAlertNotifications is a helper method to define mock.On call
func (*AlertingApi_Expecter) ClearAlertRules ¶ added in v0.8.0
func (_e *AlertingApi_Expecter) ClearAlertRules(filter interface{}) *AlertingApi_ClearAlertRules_Call
ClearAlertRules is a helper method to define mock.On call
- filter filters.V2Filter
func (*AlertingApi_Expecter) ClearAlertTemplates ¶ added in v0.8.0
func (_e *AlertingApi_Expecter) ClearAlertTemplates() *AlertingApi_ClearAlertTemplates_Call
ClearAlertTemplates is a helper method to define mock.On call
func (*AlertingApi_Expecter) ClearAlertTimings ¶ added in v0.9.1
func (_e *AlertingApi_Expecter) ClearAlertTimings() *AlertingApi_ClearAlertTimings_Call
ClearAlertTimings is a helper method to define mock.On call
func (*AlertingApi_Expecter) ClearContactPoints ¶ added in v0.7.2
func (_e *AlertingApi_Expecter) ClearContactPoints() *AlertingApi_ClearContactPoints_Call
ClearContactPoints is a helper method to define mock.On call
func (*AlertingApi_Expecter) DownloadAlertNotifications ¶ added in v0.8.0
func (_e *AlertingApi_Expecter) DownloadAlertNotifications() *AlertingApi_DownloadAlertNotifications_Call
DownloadAlertNotifications is a helper method to define mock.On call
func (*AlertingApi_Expecter) DownloadAlertRules ¶ added in v0.8.0
func (_e *AlertingApi_Expecter) DownloadAlertRules(filter interface{}) *AlertingApi_DownloadAlertRules_Call
DownloadAlertRules is a helper method to define mock.On call
- filter filters.V2Filter
func (*AlertingApi_Expecter) DownloadAlertTemplates ¶ added in v0.8.0
func (_e *AlertingApi_Expecter) DownloadAlertTemplates() *AlertingApi_DownloadAlertTemplates_Call
DownloadAlertTemplates is a helper method to define mock.On call
func (*AlertingApi_Expecter) DownloadAlertTimings ¶ added in v0.9.1
func (_e *AlertingApi_Expecter) DownloadAlertTimings() *AlertingApi_DownloadAlertTimings_Call
DownloadAlertTimings is a helper method to define mock.On call
func (*AlertingApi_Expecter) DownloadContactPoints ¶ added in v0.7.2
func (_e *AlertingApi_Expecter) DownloadContactPoints() *AlertingApi_DownloadContactPoints_Call
DownloadContactPoints is a helper method to define mock.On call
func (*AlertingApi_Expecter) ListAlertNotifications ¶ added in v0.8.0
func (_e *AlertingApi_Expecter) ListAlertNotifications() *AlertingApi_ListAlertNotifications_Call
ListAlertNotifications is a helper method to define mock.On call
func (*AlertingApi_Expecter) ListAlertRules ¶ added in v0.8.0
func (_e *AlertingApi_Expecter) ListAlertRules(filter interface{}) *AlertingApi_ListAlertRules_Call
ListAlertRules is a helper method to define mock.On call
- filter filters.V2Filter
func (*AlertingApi_Expecter) ListAlertTemplates ¶ added in v0.8.0
func (_e *AlertingApi_Expecter) ListAlertTemplates() *AlertingApi_ListAlertTemplates_Call
ListAlertTemplates is a helper method to define mock.On call
func (*AlertingApi_Expecter) ListAlertTimings ¶ added in v0.9.1
func (_e *AlertingApi_Expecter) ListAlertTimings() *AlertingApi_ListAlertTimings_Call
ListAlertTimings is a helper method to define mock.On call
func (*AlertingApi_Expecter) ListContactPoints ¶ added in v0.7.2
func (_e *AlertingApi_Expecter) ListContactPoints() *AlertingApi_ListContactPoints_Call
ListContactPoints is a helper method to define mock.On call
func (*AlertingApi_Expecter) UploadAlertNotifications ¶ added in v0.8.0
func (_e *AlertingApi_Expecter) UploadAlertNotifications() *AlertingApi_UploadAlertNotifications_Call
UploadAlertNotifications is a helper method to define mock.On call
func (*AlertingApi_Expecter) UploadAlertRules ¶ added in v0.8.0
func (_e *AlertingApi_Expecter) UploadAlertRules(filter interface{}) *AlertingApi_UploadAlertRules_Call
UploadAlertRules is a helper method to define mock.On call
- filter filters.V2Filter
func (*AlertingApi_Expecter) UploadAlertTemplates ¶ added in v0.8.0
func (_e *AlertingApi_Expecter) UploadAlertTemplates() *AlertingApi_UploadAlertTemplates_Call
UploadAlertTemplates is a helper method to define mock.On call
func (*AlertingApi_Expecter) UploadAlertTimings ¶ added in v0.9.1
func (_e *AlertingApi_Expecter) UploadAlertTimings() *AlertingApi_UploadAlertTimings_Call
UploadAlertTimings is a helper method to define mock.On call
func (*AlertingApi_Expecter) UploadContactPoints ¶ added in v0.7.2
func (_e *AlertingApi_Expecter) UploadContactPoints() *AlertingApi_UploadContactPoints_Call
UploadContactPoints is a helper method to define mock.On call
type AlertingApi_ListAlertNotifications_Call ¶ added in v0.8.0
AlertingApi_ListAlertNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlertNotifications'
func (*AlertingApi_ListAlertNotifications_Call) Return ¶ added in v0.8.0
func (_c *AlertingApi_ListAlertNotifications_Call) Return(route *models.Route, err error) *AlertingApi_ListAlertNotifications_Call
func (*AlertingApi_ListAlertNotifications_Call) Run ¶ added in v0.8.0
func (_c *AlertingApi_ListAlertNotifications_Call) Run(run func()) *AlertingApi_ListAlertNotifications_Call
func (*AlertingApi_ListAlertNotifications_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertingApi_ListAlertNotifications_Call) RunAndReturn(run func() (*models.Route, error)) *AlertingApi_ListAlertNotifications_Call
type AlertingApi_ListAlertRules_Call ¶ added in v0.8.0
AlertingApi_ListAlertRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlertRules'
func (*AlertingApi_ListAlertRules_Call) Return ¶ added in v0.8.0
func (_c *AlertingApi_ListAlertRules_Call) Return(alertRuleWithNestedFolders []*domain.AlertRuleWithNestedFolder, err error) *AlertingApi_ListAlertRules_Call
func (*AlertingApi_ListAlertRules_Call) Run ¶ added in v0.8.0
func (_c *AlertingApi_ListAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertingApi_ListAlertRules_Call
func (*AlertingApi_ListAlertRules_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertingApi_ListAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]*domain.AlertRuleWithNestedFolder, error)) *AlertingApi_ListAlertRules_Call
type AlertingApi_ListAlertTemplates_Call ¶ added in v0.8.0
AlertingApi_ListAlertTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlertTemplates'
func (*AlertingApi_ListAlertTemplates_Call) Return ¶ added in v0.8.0
func (_c *AlertingApi_ListAlertTemplates_Call) Return(notificationTemplates []*models.NotificationTemplate, err error) *AlertingApi_ListAlertTemplates_Call
func (*AlertingApi_ListAlertTemplates_Call) Run ¶ added in v0.8.0
func (_c *AlertingApi_ListAlertTemplates_Call) Run(run func()) *AlertingApi_ListAlertTemplates_Call
func (*AlertingApi_ListAlertTemplates_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertingApi_ListAlertTemplates_Call) RunAndReturn(run func() ([]*models.NotificationTemplate, error)) *AlertingApi_ListAlertTemplates_Call
type AlertingApi_ListAlertTimings_Call ¶ added in v0.9.1
AlertingApi_ListAlertTimings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlertTimings'
func (*AlertingApi_ListAlertTimings_Call) Return ¶ added in v0.9.1
func (_c *AlertingApi_ListAlertTimings_Call) Return(muteTimeIntervals []*models.MuteTimeInterval, err error) *AlertingApi_ListAlertTimings_Call
func (*AlertingApi_ListAlertTimings_Call) Run ¶ added in v0.9.1
func (_c *AlertingApi_ListAlertTimings_Call) Run(run func()) *AlertingApi_ListAlertTimings_Call
func (*AlertingApi_ListAlertTimings_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AlertingApi_ListAlertTimings_Call) RunAndReturn(run func() ([]*models.MuteTimeInterval, error)) *AlertingApi_ListAlertTimings_Call
type AlertingApi_ListContactPoints_Call ¶ added in v0.7.2
AlertingApi_ListContactPoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListContactPoints'
func (*AlertingApi_ListContactPoints_Call) Return ¶ added in v0.7.2
func (_c *AlertingApi_ListContactPoints_Call) Return(embeddedContactPoints []*models.EmbeddedContactPoint, err error) *AlertingApi_ListContactPoints_Call
func (*AlertingApi_ListContactPoints_Call) Run ¶ added in v0.7.2
func (_c *AlertingApi_ListContactPoints_Call) Run(run func()) *AlertingApi_ListContactPoints_Call
func (*AlertingApi_ListContactPoints_Call) RunAndReturn ¶ added in v0.7.2
func (_c *AlertingApi_ListContactPoints_Call) RunAndReturn(run func() ([]*models.EmbeddedContactPoint, error)) *AlertingApi_ListContactPoints_Call
type AlertingApi_UploadAlertNotifications_Call ¶ added in v0.8.0
AlertingApi_UploadAlertNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadAlertNotifications'
func (*AlertingApi_UploadAlertNotifications_Call) Return ¶ added in v0.8.0
func (_c *AlertingApi_UploadAlertNotifications_Call) Return(route *models.Route, err error) *AlertingApi_UploadAlertNotifications_Call
func (*AlertingApi_UploadAlertNotifications_Call) Run ¶ added in v0.8.0
func (_c *AlertingApi_UploadAlertNotifications_Call) Run(run func()) *AlertingApi_UploadAlertNotifications_Call
func (*AlertingApi_UploadAlertNotifications_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertingApi_UploadAlertNotifications_Call) RunAndReturn(run func() (*models.Route, error)) *AlertingApi_UploadAlertNotifications_Call
type AlertingApi_UploadAlertRules_Call ¶ added in v0.8.0
AlertingApi_UploadAlertRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadAlertRules'
func (*AlertingApi_UploadAlertRules_Call) Return ¶ added in v0.8.0
func (_c *AlertingApi_UploadAlertRules_Call) Return(err error) *AlertingApi_UploadAlertRules_Call
func (*AlertingApi_UploadAlertRules_Call) Run ¶ added in v0.8.0
func (_c *AlertingApi_UploadAlertRules_Call) Run(run func(filter filters.V2Filter)) *AlertingApi_UploadAlertRules_Call
func (*AlertingApi_UploadAlertRules_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertingApi_UploadAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) error) *AlertingApi_UploadAlertRules_Call
type AlertingApi_UploadAlertTemplates_Call ¶ added in v0.8.0
AlertingApi_UploadAlertTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadAlertTemplates'
func (*AlertingApi_UploadAlertTemplates_Call) Return ¶ added in v0.8.0
func (_c *AlertingApi_UploadAlertTemplates_Call) Return(strings []string, err error) *AlertingApi_UploadAlertTemplates_Call
func (*AlertingApi_UploadAlertTemplates_Call) Run ¶ added in v0.8.0
func (_c *AlertingApi_UploadAlertTemplates_Call) Run(run func()) *AlertingApi_UploadAlertTemplates_Call
func (*AlertingApi_UploadAlertTemplates_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AlertingApi_UploadAlertTemplates_Call) RunAndReturn(run func() ([]string, error)) *AlertingApi_UploadAlertTemplates_Call
type AlertingApi_UploadAlertTimings_Call ¶ added in v0.9.1
AlertingApi_UploadAlertTimings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadAlertTimings'
func (*AlertingApi_UploadAlertTimings_Call) Return ¶ added in v0.9.1
func (_c *AlertingApi_UploadAlertTimings_Call) Return(strings []string, err error) *AlertingApi_UploadAlertTimings_Call
func (*AlertingApi_UploadAlertTimings_Call) Run ¶ added in v0.9.1
func (_c *AlertingApi_UploadAlertTimings_Call) Run(run func()) *AlertingApi_UploadAlertTimings_Call
func (*AlertingApi_UploadAlertTimings_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AlertingApi_UploadAlertTimings_Call) RunAndReturn(run func() ([]string, error)) *AlertingApi_UploadAlertTimings_Call
type AlertingApi_UploadContactPoints_Call ¶ added in v0.7.2
AlertingApi_UploadContactPoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadContactPoints'
func (*AlertingApi_UploadContactPoints_Call) Return ¶ added in v0.7.2
func (_c *AlertingApi_UploadContactPoints_Call) Return(strings []string, err error) *AlertingApi_UploadContactPoints_Call
func (*AlertingApi_UploadContactPoints_Call) Run ¶ added in v0.7.2
func (_c *AlertingApi_UploadContactPoints_Call) Run(run func()) *AlertingApi_UploadContactPoints_Call
func (*AlertingApi_UploadContactPoints_Call) RunAndReturn ¶ added in v0.7.2
func (_c *AlertingApi_UploadContactPoints_Call) RunAndReturn(run func() ([]string, error)) *AlertingApi_UploadContactPoints_Call
type AuthenticationApi ¶
AuthenticationApi is an autogenerated mock type for the AuthenticationApi type
func NewAuthenticationApi ¶
func NewAuthenticationApi(t interface {
mock.TestingT
Cleanup(func())
}) *AuthenticationApi
NewAuthenticationApi creates a new instance of AuthenticationApi. 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 (*AuthenticationApi) CreateServiceAccount ¶
func (_mock *AuthenticationApi) CreateServiceAccount(name string, role string, expiration int64) (*models.ServiceAccountDTO, error)
CreateServiceAccount provides a mock function for the type AuthenticationApi
func (*AuthenticationApi) CreateServiceAccountToken ¶
func (_mock *AuthenticationApi) CreateServiceAccountToken(serviceAccountId int64, name string, expiration int64) (*models.NewAPIKeyResult, error)
CreateServiceAccountToken provides a mock function for the type AuthenticationApi
func (*AuthenticationApi) DecodeValue ¶ added in v0.9.1
func (_mock *AuthenticationApi) DecodeValue(in string) string
DecodeValue provides a mock function for the type AuthenticationApi
func (*AuthenticationApi) DeleteAllServiceAccounts ¶
func (_mock *AuthenticationApi) DeleteAllServiceAccounts() []string
DeleteAllServiceAccounts provides a mock function for the type AuthenticationApi
func (*AuthenticationApi) DeleteServiceAccount ¶ added in v0.8.0
func (_mock *AuthenticationApi) DeleteServiceAccount(accountId int64) error
DeleteServiceAccount provides a mock function for the type AuthenticationApi
func (*AuthenticationApi) DeleteServiceAccountTokens ¶
func (_mock *AuthenticationApi) DeleteServiceAccountTokens(serviceId int64) []string
DeleteServiceAccountTokens provides a mock function for the type AuthenticationApi
func (*AuthenticationApi) EXPECT ¶ added in v0.5.2
func (_m *AuthenticationApi) EXPECT() *AuthenticationApi_Expecter
func (*AuthenticationApi) EncodeValue ¶ added in v0.9.1
func (_mock *AuthenticationApi) EncodeValue(in string) string
EncodeValue provides a mock function for the type AuthenticationApi
func (*AuthenticationApi) ListServiceAccounts ¶
func (_mock *AuthenticationApi) ListServiceAccounts() []*domain.ServiceAccountDTOWithTokens
ListServiceAccounts provides a mock function for the type AuthenticationApi
func (*AuthenticationApi) ListServiceAccountsTokens ¶
func (_mock *AuthenticationApi) ListServiceAccountsTokens(id int64) ([]*models.TokenDTO, error)
ListServiceAccountsTokens provides a mock function for the type AuthenticationApi
func (*AuthenticationApi) Login ¶
func (_mock *AuthenticationApi) Login()
Login provides a mock function for the type AuthenticationApi
type AuthenticationApi_CreateServiceAccountToken_Call ¶ added in v0.5.2
AuthenticationApi_CreateServiceAccountToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateServiceAccountToken'
func (*AuthenticationApi_CreateServiceAccountToken_Call) Return ¶ added in v0.5.2
func (_c *AuthenticationApi_CreateServiceAccountToken_Call) Return(newAPIKeyResult *models.NewAPIKeyResult, err error) *AuthenticationApi_CreateServiceAccountToken_Call
func (*AuthenticationApi_CreateServiceAccountToken_Call) Run ¶ added in v0.5.2
func (_c *AuthenticationApi_CreateServiceAccountToken_Call) Run(run func(serviceAccountId int64, name string, expiration int64)) *AuthenticationApi_CreateServiceAccountToken_Call
func (*AuthenticationApi_CreateServiceAccountToken_Call) RunAndReturn ¶ added in v0.5.2
func (_c *AuthenticationApi_CreateServiceAccountToken_Call) RunAndReturn(run func(serviceAccountId int64, name string, expiration int64) (*models.NewAPIKeyResult, error)) *AuthenticationApi_CreateServiceAccountToken_Call
type AuthenticationApi_CreateServiceAccount_Call ¶ added in v0.5.2
AuthenticationApi_CreateServiceAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateServiceAccount'
func (*AuthenticationApi_CreateServiceAccount_Call) Return ¶ added in v0.5.2
func (_c *AuthenticationApi_CreateServiceAccount_Call) Return(serviceAccountDTO *models.ServiceAccountDTO, err error) *AuthenticationApi_CreateServiceAccount_Call
func (*AuthenticationApi_CreateServiceAccount_Call) Run ¶ added in v0.5.2
func (_c *AuthenticationApi_CreateServiceAccount_Call) Run(run func(name string, role string, expiration int64)) *AuthenticationApi_CreateServiceAccount_Call
func (*AuthenticationApi_CreateServiceAccount_Call) RunAndReturn ¶ added in v0.5.2
func (_c *AuthenticationApi_CreateServiceAccount_Call) RunAndReturn(run func(name string, role string, expiration int64) (*models.ServiceAccountDTO, error)) *AuthenticationApi_CreateServiceAccount_Call
type AuthenticationApi_DecodeValue_Call ¶ added in v0.9.1
AuthenticationApi_DecodeValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DecodeValue'
func (*AuthenticationApi_DecodeValue_Call) Return ¶ added in v0.9.1
func (_c *AuthenticationApi_DecodeValue_Call) Return(s string) *AuthenticationApi_DecodeValue_Call
func (*AuthenticationApi_DecodeValue_Call) Run ¶ added in v0.9.1
func (_c *AuthenticationApi_DecodeValue_Call) Run(run func(in string)) *AuthenticationApi_DecodeValue_Call
func (*AuthenticationApi_DecodeValue_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AuthenticationApi_DecodeValue_Call) RunAndReturn(run func(in string) string) *AuthenticationApi_DecodeValue_Call
type AuthenticationApi_DeleteAllServiceAccounts_Call ¶ added in v0.5.2
AuthenticationApi_DeleteAllServiceAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllServiceAccounts'
func (*AuthenticationApi_DeleteAllServiceAccounts_Call) Return ¶ added in v0.5.2
func (_c *AuthenticationApi_DeleteAllServiceAccounts_Call) Return(strings []string) *AuthenticationApi_DeleteAllServiceAccounts_Call
func (*AuthenticationApi_DeleteAllServiceAccounts_Call) Run ¶ added in v0.5.2
func (_c *AuthenticationApi_DeleteAllServiceAccounts_Call) Run(run func()) *AuthenticationApi_DeleteAllServiceAccounts_Call
func (*AuthenticationApi_DeleteAllServiceAccounts_Call) RunAndReturn ¶ added in v0.5.2
func (_c *AuthenticationApi_DeleteAllServiceAccounts_Call) RunAndReturn(run func() []string) *AuthenticationApi_DeleteAllServiceAccounts_Call
type AuthenticationApi_DeleteServiceAccountTokens_Call ¶ added in v0.5.2
AuthenticationApi_DeleteServiceAccountTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteServiceAccountTokens'
func (*AuthenticationApi_DeleteServiceAccountTokens_Call) Return ¶ added in v0.5.2
func (_c *AuthenticationApi_DeleteServiceAccountTokens_Call) Return(strings []string) *AuthenticationApi_DeleteServiceAccountTokens_Call
func (*AuthenticationApi_DeleteServiceAccountTokens_Call) Run ¶ added in v0.5.2
func (_c *AuthenticationApi_DeleteServiceAccountTokens_Call) Run(run func(serviceId int64)) *AuthenticationApi_DeleteServiceAccountTokens_Call
func (*AuthenticationApi_DeleteServiceAccountTokens_Call) RunAndReturn ¶ added in v0.5.2
func (_c *AuthenticationApi_DeleteServiceAccountTokens_Call) RunAndReturn(run func(serviceId int64) []string) *AuthenticationApi_DeleteServiceAccountTokens_Call
type AuthenticationApi_DeleteServiceAccount_Call ¶ added in v0.8.0
AuthenticationApi_DeleteServiceAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteServiceAccount'
func (*AuthenticationApi_DeleteServiceAccount_Call) Return ¶ added in v0.8.0
func (_c *AuthenticationApi_DeleteServiceAccount_Call) Return(err error) *AuthenticationApi_DeleteServiceAccount_Call
func (*AuthenticationApi_DeleteServiceAccount_Call) Run ¶ added in v0.8.0
func (_c *AuthenticationApi_DeleteServiceAccount_Call) Run(run func(accountId int64)) *AuthenticationApi_DeleteServiceAccount_Call
func (*AuthenticationApi_DeleteServiceAccount_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AuthenticationApi_DeleteServiceAccount_Call) RunAndReturn(run func(accountId int64) error) *AuthenticationApi_DeleteServiceAccount_Call
type AuthenticationApi_EncodeValue_Call ¶ added in v0.9.1
AuthenticationApi_EncodeValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EncodeValue'
func (*AuthenticationApi_EncodeValue_Call) Return ¶ added in v0.9.1
func (_c *AuthenticationApi_EncodeValue_Call) Return(s string) *AuthenticationApi_EncodeValue_Call
func (*AuthenticationApi_EncodeValue_Call) Run ¶ added in v0.9.1
func (_c *AuthenticationApi_EncodeValue_Call) Run(run func(in string)) *AuthenticationApi_EncodeValue_Call
func (*AuthenticationApi_EncodeValue_Call) RunAndReturn ¶ added in v0.9.1
func (_c *AuthenticationApi_EncodeValue_Call) RunAndReturn(run func(in string) string) *AuthenticationApi_EncodeValue_Call
type AuthenticationApi_Expecter ¶ added in v0.5.2
type AuthenticationApi_Expecter struct {
// contains filtered or unexported fields
}
func (*AuthenticationApi_Expecter) CreateServiceAccount ¶ added in v0.5.2
func (_e *AuthenticationApi_Expecter) CreateServiceAccount(name interface{}, role interface{}, expiration interface{}) *AuthenticationApi_CreateServiceAccount_Call
CreateServiceAccount is a helper method to define mock.On call
- name string
- role string
- expiration int64
func (*AuthenticationApi_Expecter) CreateServiceAccountToken ¶ added in v0.5.2
func (_e *AuthenticationApi_Expecter) CreateServiceAccountToken(serviceAccountId interface{}, name interface{}, expiration interface{}) *AuthenticationApi_CreateServiceAccountToken_Call
CreateServiceAccountToken is a helper method to define mock.On call
- serviceAccountId int64
- name string
- expiration int64
func (*AuthenticationApi_Expecter) DecodeValue ¶ added in v0.9.1
func (_e *AuthenticationApi_Expecter) DecodeValue(in interface{}) *AuthenticationApi_DecodeValue_Call
DecodeValue is a helper method to define mock.On call
- in string
func (*AuthenticationApi_Expecter) DeleteAllServiceAccounts ¶ added in v0.5.2
func (_e *AuthenticationApi_Expecter) DeleteAllServiceAccounts() *AuthenticationApi_DeleteAllServiceAccounts_Call
DeleteAllServiceAccounts is a helper method to define mock.On call
func (*AuthenticationApi_Expecter) DeleteServiceAccount ¶ added in v0.8.0
func (_e *AuthenticationApi_Expecter) DeleteServiceAccount(accountId interface{}) *AuthenticationApi_DeleteServiceAccount_Call
DeleteServiceAccount is a helper method to define mock.On call
- accountId int64
func (*AuthenticationApi_Expecter) DeleteServiceAccountTokens ¶ added in v0.5.2
func (_e *AuthenticationApi_Expecter) DeleteServiceAccountTokens(serviceId interface{}) *AuthenticationApi_DeleteServiceAccountTokens_Call
DeleteServiceAccountTokens is a helper method to define mock.On call
- serviceId int64
func (*AuthenticationApi_Expecter) EncodeValue ¶ added in v0.9.1
func (_e *AuthenticationApi_Expecter) EncodeValue(in interface{}) *AuthenticationApi_EncodeValue_Call
EncodeValue is a helper method to define mock.On call
- in string
func (*AuthenticationApi_Expecter) ListServiceAccounts ¶ added in v0.5.2
func (_e *AuthenticationApi_Expecter) ListServiceAccounts() *AuthenticationApi_ListServiceAccounts_Call
ListServiceAccounts is a helper method to define mock.On call
func (*AuthenticationApi_Expecter) ListServiceAccountsTokens ¶ added in v0.5.2
func (_e *AuthenticationApi_Expecter) ListServiceAccountsTokens(id interface{}) *AuthenticationApi_ListServiceAccountsTokens_Call
ListServiceAccountsTokens is a helper method to define mock.On call
- id int64
func (*AuthenticationApi_Expecter) Login ¶ added in v0.5.2
func (_e *AuthenticationApi_Expecter) Login() *AuthenticationApi_Login_Call
Login is a helper method to define mock.On call
type AuthenticationApi_ListServiceAccountsTokens_Call ¶ added in v0.5.2
AuthenticationApi_ListServiceAccountsTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServiceAccountsTokens'
func (*AuthenticationApi_ListServiceAccountsTokens_Call) Return ¶ added in v0.5.2
func (_c *AuthenticationApi_ListServiceAccountsTokens_Call) Return(tokenDTOs []*models.TokenDTO, err error) *AuthenticationApi_ListServiceAccountsTokens_Call
func (*AuthenticationApi_ListServiceAccountsTokens_Call) Run ¶ added in v0.5.2
func (_c *AuthenticationApi_ListServiceAccountsTokens_Call) Run(run func(id int64)) *AuthenticationApi_ListServiceAccountsTokens_Call
func (*AuthenticationApi_ListServiceAccountsTokens_Call) RunAndReturn ¶ added in v0.5.2
func (_c *AuthenticationApi_ListServiceAccountsTokens_Call) RunAndReturn(run func(id int64) ([]*models.TokenDTO, error)) *AuthenticationApi_ListServiceAccountsTokens_Call
type AuthenticationApi_ListServiceAccounts_Call ¶ added in v0.5.2
AuthenticationApi_ListServiceAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServiceAccounts'
func (*AuthenticationApi_ListServiceAccounts_Call) Return ¶ added in v0.5.2
func (_c *AuthenticationApi_ListServiceAccounts_Call) Return(serviceAccountDTOWithTokenss []*domain.ServiceAccountDTOWithTokens) *AuthenticationApi_ListServiceAccounts_Call
func (*AuthenticationApi_ListServiceAccounts_Call) Run ¶ added in v0.5.2
func (_c *AuthenticationApi_ListServiceAccounts_Call) Run(run func()) *AuthenticationApi_ListServiceAccounts_Call
func (*AuthenticationApi_ListServiceAccounts_Call) RunAndReturn ¶ added in v0.5.2
func (_c *AuthenticationApi_ListServiceAccounts_Call) RunAndReturn(run func() []*domain.ServiceAccountDTOWithTokens) *AuthenticationApi_ListServiceAccounts_Call
type AuthenticationApi_Login_Call ¶ added in v0.5.2
AuthenticationApi_Login_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Login'
func (*AuthenticationApi_Login_Call) Return ¶ added in v0.5.2
func (_c *AuthenticationApi_Login_Call) Return() *AuthenticationApi_Login_Call
func (*AuthenticationApi_Login_Call) Run ¶ added in v0.5.2
func (_c *AuthenticationApi_Login_Call) Run(run func()) *AuthenticationApi_Login_Call
func (*AuthenticationApi_Login_Call) RunAndReturn ¶ added in v0.5.2
func (_c *AuthenticationApi_Login_Call) RunAndReturn(run func()) *AuthenticationApi_Login_Call
type ConnectionPermissions ¶
ConnectionPermissions is an autogenerated mock type for the ConnectionPermissions type
func NewConnectionPermissions ¶
func NewConnectionPermissions(t interface {
mock.TestingT
Cleanup(func())
}) *ConnectionPermissions
NewConnectionPermissions creates a new instance of ConnectionPermissions. 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 (*ConnectionPermissions) DeleteAllConnectionPermissions ¶
func (_mock *ConnectionPermissions) DeleteAllConnectionPermissions(filter filters.V2Filter) []string
DeleteAllConnectionPermissions provides a mock function for the type ConnectionPermissions
func (*ConnectionPermissions) DownloadConnectionPermissions ¶
func (_mock *ConnectionPermissions) DownloadConnectionPermissions(filter filters.V2Filter) []string
DownloadConnectionPermissions provides a mock function for the type ConnectionPermissions
func (*ConnectionPermissions) EXPECT ¶ added in v0.5.2
func (_m *ConnectionPermissions) EXPECT() *ConnectionPermissions_Expecter
func (*ConnectionPermissions) ListConnectionPermissions ¶
func (_mock *ConnectionPermissions) ListConnectionPermissions(filter filters.V2Filter) []domain.ConnectionPermissionItem
ListConnectionPermissions provides a mock function for the type ConnectionPermissions
func (*ConnectionPermissions) UploadConnectionPermissions ¶
func (_mock *ConnectionPermissions) UploadConnectionPermissions(filter filters.V2Filter) []string
UploadConnectionPermissions provides a mock function for the type ConnectionPermissions
type ConnectionPermissions_DeleteAllConnectionPermissions_Call ¶ added in v0.5.2
ConnectionPermissions_DeleteAllConnectionPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllConnectionPermissions'
func (*ConnectionPermissions_DeleteAllConnectionPermissions_Call) Return ¶ added in v0.5.2
func (_c *ConnectionPermissions_DeleteAllConnectionPermissions_Call) Return(strings []string) *ConnectionPermissions_DeleteAllConnectionPermissions_Call
func (*ConnectionPermissions_DeleteAllConnectionPermissions_Call) Run ¶ added in v0.5.2
func (_c *ConnectionPermissions_DeleteAllConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionPermissions_DeleteAllConnectionPermissions_Call
func (*ConnectionPermissions_DeleteAllConnectionPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ConnectionPermissions_DeleteAllConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionPermissions_DeleteAllConnectionPermissions_Call
type ConnectionPermissions_DownloadConnectionPermissions_Call ¶ added in v0.5.2
ConnectionPermissions_DownloadConnectionPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadConnectionPermissions'
func (*ConnectionPermissions_DownloadConnectionPermissions_Call) Return ¶ added in v0.5.2
func (_c *ConnectionPermissions_DownloadConnectionPermissions_Call) Return(strings []string) *ConnectionPermissions_DownloadConnectionPermissions_Call
func (*ConnectionPermissions_DownloadConnectionPermissions_Call) Run ¶ added in v0.5.2
func (_c *ConnectionPermissions_DownloadConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionPermissions_DownloadConnectionPermissions_Call
func (*ConnectionPermissions_DownloadConnectionPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ConnectionPermissions_DownloadConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionPermissions_DownloadConnectionPermissions_Call
type ConnectionPermissions_Expecter ¶ added in v0.5.2
type ConnectionPermissions_Expecter struct {
// contains filtered or unexported fields
}
func (*ConnectionPermissions_Expecter) DeleteAllConnectionPermissions ¶ added in v0.5.2
func (_e *ConnectionPermissions_Expecter) DeleteAllConnectionPermissions(filter interface{}) *ConnectionPermissions_DeleteAllConnectionPermissions_Call
DeleteAllConnectionPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*ConnectionPermissions_Expecter) DownloadConnectionPermissions ¶ added in v0.5.2
func (_e *ConnectionPermissions_Expecter) DownloadConnectionPermissions(filter interface{}) *ConnectionPermissions_DownloadConnectionPermissions_Call
DownloadConnectionPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*ConnectionPermissions_Expecter) ListConnectionPermissions ¶ added in v0.5.2
func (_e *ConnectionPermissions_Expecter) ListConnectionPermissions(filter interface{}) *ConnectionPermissions_ListConnectionPermissions_Call
ListConnectionPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*ConnectionPermissions_Expecter) UploadConnectionPermissions ¶ added in v0.5.2
func (_e *ConnectionPermissions_Expecter) UploadConnectionPermissions(filter interface{}) *ConnectionPermissions_UploadConnectionPermissions_Call
UploadConnectionPermissions is a helper method to define mock.On call
- filter filters.V2Filter
type ConnectionPermissions_ListConnectionPermissions_Call ¶ added in v0.5.2
ConnectionPermissions_ListConnectionPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListConnectionPermissions'
func (*ConnectionPermissions_ListConnectionPermissions_Call) Return ¶ added in v0.5.2
func (_c *ConnectionPermissions_ListConnectionPermissions_Call) Return(connectionPermissionItems []domain.ConnectionPermissionItem) *ConnectionPermissions_ListConnectionPermissions_Call
func (*ConnectionPermissions_ListConnectionPermissions_Call) Run ¶ added in v0.5.2
func (_c *ConnectionPermissions_ListConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionPermissions_ListConnectionPermissions_Call
func (*ConnectionPermissions_ListConnectionPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ConnectionPermissions_ListConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []domain.ConnectionPermissionItem) *ConnectionPermissions_ListConnectionPermissions_Call
type ConnectionPermissions_UploadConnectionPermissions_Call ¶ added in v0.5.2
ConnectionPermissions_UploadConnectionPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadConnectionPermissions'
func (*ConnectionPermissions_UploadConnectionPermissions_Call) Return ¶ added in v0.5.2
func (_c *ConnectionPermissions_UploadConnectionPermissions_Call) Return(strings []string) *ConnectionPermissions_UploadConnectionPermissions_Call
func (*ConnectionPermissions_UploadConnectionPermissions_Call) Run ¶ added in v0.5.2
func (_c *ConnectionPermissions_UploadConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionPermissions_UploadConnectionPermissions_Call
func (*ConnectionPermissions_UploadConnectionPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ConnectionPermissions_UploadConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionPermissions_UploadConnectionPermissions_Call
type ConnectionsApi ¶
ConnectionsApi is an autogenerated mock type for the ConnectionsApi type
func NewConnectionsApi ¶
func NewConnectionsApi(t interface {
mock.TestingT
Cleanup(func())
}) *ConnectionsApi
NewConnectionsApi creates a new instance of ConnectionsApi. 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 (*ConnectionsApi) DeleteAllConnectionPermissions ¶
func (_mock *ConnectionsApi) DeleteAllConnectionPermissions(filter filters.V2Filter) []string
DeleteAllConnectionPermissions provides a mock function for the type ConnectionsApi
func (*ConnectionsApi) DeleteAllConnections ¶
func (_mock *ConnectionsApi) DeleteAllConnections(filter filters.V2Filter) []string
DeleteAllConnections provides a mock function for the type ConnectionsApi
func (*ConnectionsApi) DownloadConnectionPermissions ¶
func (_mock *ConnectionsApi) DownloadConnectionPermissions(filter filters.V2Filter) []string
DownloadConnectionPermissions provides a mock function for the type ConnectionsApi
func (*ConnectionsApi) DownloadConnections ¶
func (_mock *ConnectionsApi) DownloadConnections(filter filters.V2Filter) []string
DownloadConnections provides a mock function for the type ConnectionsApi
func (*ConnectionsApi) EXPECT ¶ added in v0.5.2
func (_m *ConnectionsApi) EXPECT() *ConnectionsApi_Expecter
func (*ConnectionsApi) ListConnectionPermissions ¶
func (_mock *ConnectionsApi) ListConnectionPermissions(filter filters.V2Filter) []domain.ConnectionPermissionItem
ListConnectionPermissions provides a mock function for the type ConnectionsApi
func (*ConnectionsApi) ListConnections ¶
func (_mock *ConnectionsApi) ListConnections(filter filters.V2Filter) []models.DataSourceListItemDTO
ListConnections provides a mock function for the type ConnectionsApi
func (*ConnectionsApi) UploadConnectionPermissions ¶
func (_mock *ConnectionsApi) UploadConnectionPermissions(filter filters.V2Filter) []string
UploadConnectionPermissions provides a mock function for the type ConnectionsApi
func (*ConnectionsApi) UploadConnections ¶
func (_mock *ConnectionsApi) UploadConnections(filter filters.V2Filter) []string
UploadConnections provides a mock function for the type ConnectionsApi
type ConnectionsApi_DeleteAllConnectionPermissions_Call ¶ added in v0.5.2
ConnectionsApi_DeleteAllConnectionPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllConnectionPermissions'
func (*ConnectionsApi_DeleteAllConnectionPermissions_Call) Return ¶ added in v0.5.2
func (_c *ConnectionsApi_DeleteAllConnectionPermissions_Call) Return(strings []string) *ConnectionsApi_DeleteAllConnectionPermissions_Call
func (*ConnectionsApi_DeleteAllConnectionPermissions_Call) Run ¶ added in v0.5.2
func (_c *ConnectionsApi_DeleteAllConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_DeleteAllConnectionPermissions_Call
func (*ConnectionsApi_DeleteAllConnectionPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ConnectionsApi_DeleteAllConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionsApi_DeleteAllConnectionPermissions_Call
type ConnectionsApi_DeleteAllConnections_Call ¶ added in v0.5.2
ConnectionsApi_DeleteAllConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllConnections'
func (*ConnectionsApi_DeleteAllConnections_Call) Return ¶ added in v0.5.2
func (_c *ConnectionsApi_DeleteAllConnections_Call) Return(strings []string) *ConnectionsApi_DeleteAllConnections_Call
func (*ConnectionsApi_DeleteAllConnections_Call) Run ¶ added in v0.5.2
func (_c *ConnectionsApi_DeleteAllConnections_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_DeleteAllConnections_Call
func (*ConnectionsApi_DeleteAllConnections_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ConnectionsApi_DeleteAllConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionsApi_DeleteAllConnections_Call
type ConnectionsApi_DownloadConnectionPermissions_Call ¶ added in v0.5.2
ConnectionsApi_DownloadConnectionPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadConnectionPermissions'
func (*ConnectionsApi_DownloadConnectionPermissions_Call) Return ¶ added in v0.5.2
func (_c *ConnectionsApi_DownloadConnectionPermissions_Call) Return(strings []string) *ConnectionsApi_DownloadConnectionPermissions_Call
func (*ConnectionsApi_DownloadConnectionPermissions_Call) Run ¶ added in v0.5.2
func (_c *ConnectionsApi_DownloadConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_DownloadConnectionPermissions_Call
func (*ConnectionsApi_DownloadConnectionPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ConnectionsApi_DownloadConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionsApi_DownloadConnectionPermissions_Call
type ConnectionsApi_DownloadConnections_Call ¶ added in v0.5.2
ConnectionsApi_DownloadConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadConnections'
func (*ConnectionsApi_DownloadConnections_Call) Return ¶ added in v0.5.2
func (_c *ConnectionsApi_DownloadConnections_Call) Return(strings []string) *ConnectionsApi_DownloadConnections_Call
func (*ConnectionsApi_DownloadConnections_Call) Run ¶ added in v0.5.2
func (_c *ConnectionsApi_DownloadConnections_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_DownloadConnections_Call
func (*ConnectionsApi_DownloadConnections_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ConnectionsApi_DownloadConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionsApi_DownloadConnections_Call
type ConnectionsApi_Expecter ¶ added in v0.5.2
type ConnectionsApi_Expecter struct {
// contains filtered or unexported fields
}
func (*ConnectionsApi_Expecter) DeleteAllConnectionPermissions ¶ added in v0.5.2
func (_e *ConnectionsApi_Expecter) DeleteAllConnectionPermissions(filter interface{}) *ConnectionsApi_DeleteAllConnectionPermissions_Call
DeleteAllConnectionPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*ConnectionsApi_Expecter) DeleteAllConnections ¶ added in v0.5.2
func (_e *ConnectionsApi_Expecter) DeleteAllConnections(filter interface{}) *ConnectionsApi_DeleteAllConnections_Call
DeleteAllConnections is a helper method to define mock.On call
- filter filters.V2Filter
func (*ConnectionsApi_Expecter) DownloadConnectionPermissions ¶ added in v0.5.2
func (_e *ConnectionsApi_Expecter) DownloadConnectionPermissions(filter interface{}) *ConnectionsApi_DownloadConnectionPermissions_Call
DownloadConnectionPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*ConnectionsApi_Expecter) DownloadConnections ¶ added in v0.5.2
func (_e *ConnectionsApi_Expecter) DownloadConnections(filter interface{}) *ConnectionsApi_DownloadConnections_Call
DownloadConnections is a helper method to define mock.On call
- filter filters.V2Filter
func (*ConnectionsApi_Expecter) ListConnectionPermissions ¶ added in v0.5.2
func (_e *ConnectionsApi_Expecter) ListConnectionPermissions(filter interface{}) *ConnectionsApi_ListConnectionPermissions_Call
ListConnectionPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*ConnectionsApi_Expecter) ListConnections ¶ added in v0.5.2
func (_e *ConnectionsApi_Expecter) ListConnections(filter interface{}) *ConnectionsApi_ListConnections_Call
ListConnections is a helper method to define mock.On call
- filter filters.V2Filter
func (*ConnectionsApi_Expecter) UploadConnectionPermissions ¶ added in v0.5.2
func (_e *ConnectionsApi_Expecter) UploadConnectionPermissions(filter interface{}) *ConnectionsApi_UploadConnectionPermissions_Call
UploadConnectionPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*ConnectionsApi_Expecter) UploadConnections ¶ added in v0.5.2
func (_e *ConnectionsApi_Expecter) UploadConnections(filter interface{}) *ConnectionsApi_UploadConnections_Call
UploadConnections is a helper method to define mock.On call
- filter filters.V2Filter
type ConnectionsApi_ListConnectionPermissions_Call ¶ added in v0.5.2
ConnectionsApi_ListConnectionPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListConnectionPermissions'
func (*ConnectionsApi_ListConnectionPermissions_Call) Return ¶ added in v0.5.2
func (_c *ConnectionsApi_ListConnectionPermissions_Call) Return(connectionPermissionItems []domain.ConnectionPermissionItem) *ConnectionsApi_ListConnectionPermissions_Call
func (*ConnectionsApi_ListConnectionPermissions_Call) Run ¶ added in v0.5.2
func (_c *ConnectionsApi_ListConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_ListConnectionPermissions_Call
func (*ConnectionsApi_ListConnectionPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ConnectionsApi_ListConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []domain.ConnectionPermissionItem) *ConnectionsApi_ListConnectionPermissions_Call
type ConnectionsApi_ListConnections_Call ¶ added in v0.5.2
ConnectionsApi_ListConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListConnections'
func (*ConnectionsApi_ListConnections_Call) Return ¶ added in v0.5.2
func (_c *ConnectionsApi_ListConnections_Call) Return(dataSourceListItemDTOs []models.DataSourceListItemDTO) *ConnectionsApi_ListConnections_Call
func (*ConnectionsApi_ListConnections_Call) Run ¶ added in v0.5.2
func (_c *ConnectionsApi_ListConnections_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_ListConnections_Call
func (*ConnectionsApi_ListConnections_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ConnectionsApi_ListConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []models.DataSourceListItemDTO) *ConnectionsApi_ListConnections_Call
type ConnectionsApi_UploadConnectionPermissions_Call ¶ added in v0.5.2
ConnectionsApi_UploadConnectionPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadConnectionPermissions'
func (*ConnectionsApi_UploadConnectionPermissions_Call) Return ¶ added in v0.5.2
func (_c *ConnectionsApi_UploadConnectionPermissions_Call) Return(strings []string) *ConnectionsApi_UploadConnectionPermissions_Call
func (*ConnectionsApi_UploadConnectionPermissions_Call) Run ¶ added in v0.5.2
func (_c *ConnectionsApi_UploadConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_UploadConnectionPermissions_Call
func (*ConnectionsApi_UploadConnectionPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ConnectionsApi_UploadConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionsApi_UploadConnectionPermissions_Call
type ConnectionsApi_UploadConnections_Call ¶ added in v0.5.2
ConnectionsApi_UploadConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadConnections'
func (*ConnectionsApi_UploadConnections_Call) Return ¶ added in v0.5.2
func (_c *ConnectionsApi_UploadConnections_Call) Return(strings []string) *ConnectionsApi_UploadConnections_Call
func (*ConnectionsApi_UploadConnections_Call) Run ¶ added in v0.5.2
func (_c *ConnectionsApi_UploadConnections_Call) Run(run func(filter filters.V2Filter)) *ConnectionsApi_UploadConnections_Call
func (*ConnectionsApi_UploadConnections_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ConnectionsApi_UploadConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *ConnectionsApi_UploadConnections_Call
type DashboardPermissionsApi ¶ added in v0.7.2
DashboardPermissionsApi is an autogenerated mock type for the DashboardPermissionsApi type
func NewDashboardPermissionsApi ¶ added in v0.7.2
func NewDashboardPermissionsApi(t interface {
mock.TestingT
Cleanup(func())
}) *DashboardPermissionsApi
NewDashboardPermissionsApi creates a new instance of DashboardPermissionsApi. 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 (*DashboardPermissionsApi) ClearDashboardPermissions ¶ added in v0.7.2
func (_mock *DashboardPermissionsApi) ClearDashboardPermissions(filterReq filters.V2Filter) error
ClearDashboardPermissions provides a mock function for the type DashboardPermissionsApi
func (*DashboardPermissionsApi) DownloadDashboardPermissions ¶ added in v0.7.2
func (_mock *DashboardPermissionsApi) DownloadDashboardPermissions(filterReq filters.V2Filter) ([]string, error)
DownloadDashboardPermissions provides a mock function for the type DashboardPermissionsApi
func (*DashboardPermissionsApi) EXPECT ¶ added in v0.7.2
func (_m *DashboardPermissionsApi) EXPECT() *DashboardPermissionsApi_Expecter
func (*DashboardPermissionsApi) ListDashboardPermissions ¶ added in v0.7.2
func (_mock *DashboardPermissionsApi) ListDashboardPermissions(filterReq filters.V2Filter) ([]domain.DashboardAndPermissions, error)
ListDashboardPermissions provides a mock function for the type DashboardPermissionsApi
func (*DashboardPermissionsApi) UploadDashboardPermissions ¶ added in v0.7.2
func (_mock *DashboardPermissionsApi) UploadDashboardPermissions(filterReq filters.V2Filter) ([]string, error)
UploadDashboardPermissions provides a mock function for the type DashboardPermissionsApi
type DashboardPermissionsApi_ClearDashboardPermissions_Call ¶ added in v0.7.2
DashboardPermissionsApi_ClearDashboardPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearDashboardPermissions'
func (*DashboardPermissionsApi_ClearDashboardPermissions_Call) Run ¶ added in v0.7.2
func (_c *DashboardPermissionsApi_ClearDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *DashboardPermissionsApi_ClearDashboardPermissions_Call
func (*DashboardPermissionsApi_ClearDashboardPermissions_Call) RunAndReturn ¶ added in v0.7.2
func (_c *DashboardPermissionsApi_ClearDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) error) *DashboardPermissionsApi_ClearDashboardPermissions_Call
type DashboardPermissionsApi_DownloadDashboardPermissions_Call ¶ added in v0.7.2
DashboardPermissionsApi_DownloadDashboardPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadDashboardPermissions'
func (*DashboardPermissionsApi_DownloadDashboardPermissions_Call) Return ¶ added in v0.7.2
func (_c *DashboardPermissionsApi_DownloadDashboardPermissions_Call) Return(strings []string, err error) *DashboardPermissionsApi_DownloadDashboardPermissions_Call
func (*DashboardPermissionsApi_DownloadDashboardPermissions_Call) Run ¶ added in v0.7.2
func (_c *DashboardPermissionsApi_DownloadDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *DashboardPermissionsApi_DownloadDashboardPermissions_Call
func (*DashboardPermissionsApi_DownloadDashboardPermissions_Call) RunAndReturn ¶ added in v0.7.2
func (_c *DashboardPermissionsApi_DownloadDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]string, error)) *DashboardPermissionsApi_DownloadDashboardPermissions_Call
type DashboardPermissionsApi_Expecter ¶ added in v0.7.2
type DashboardPermissionsApi_Expecter struct {
// contains filtered or unexported fields
}
func (*DashboardPermissionsApi_Expecter) ClearDashboardPermissions ¶ added in v0.7.2
func (_e *DashboardPermissionsApi_Expecter) ClearDashboardPermissions(filterReq interface{}) *DashboardPermissionsApi_ClearDashboardPermissions_Call
ClearDashboardPermissions is a helper method to define mock.On call
- filterReq filters.V2Filter
func (*DashboardPermissionsApi_Expecter) DownloadDashboardPermissions ¶ added in v0.7.2
func (_e *DashboardPermissionsApi_Expecter) DownloadDashboardPermissions(filterReq interface{}) *DashboardPermissionsApi_DownloadDashboardPermissions_Call
DownloadDashboardPermissions is a helper method to define mock.On call
- filterReq filters.V2Filter
func (*DashboardPermissionsApi_Expecter) ListDashboardPermissions ¶ added in v0.7.2
func (_e *DashboardPermissionsApi_Expecter) ListDashboardPermissions(filterReq interface{}) *DashboardPermissionsApi_ListDashboardPermissions_Call
ListDashboardPermissions is a helper method to define mock.On call
- filterReq filters.V2Filter
func (*DashboardPermissionsApi_Expecter) UploadDashboardPermissions ¶ added in v0.7.2
func (_e *DashboardPermissionsApi_Expecter) UploadDashboardPermissions(filterReq interface{}) *DashboardPermissionsApi_UploadDashboardPermissions_Call
UploadDashboardPermissions is a helper method to define mock.On call
- filterReq filters.V2Filter
type DashboardPermissionsApi_ListDashboardPermissions_Call ¶ added in v0.7.2
DashboardPermissionsApi_ListDashboardPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDashboardPermissions'
func (*DashboardPermissionsApi_ListDashboardPermissions_Call) Return ¶ added in v0.7.2
func (_c *DashboardPermissionsApi_ListDashboardPermissions_Call) Return(dashboardAndPermissionss []domain.DashboardAndPermissions, err error) *DashboardPermissionsApi_ListDashboardPermissions_Call
func (*DashboardPermissionsApi_ListDashboardPermissions_Call) Run ¶ added in v0.7.2
func (_c *DashboardPermissionsApi_ListDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *DashboardPermissionsApi_ListDashboardPermissions_Call
func (*DashboardPermissionsApi_ListDashboardPermissions_Call) RunAndReturn ¶ added in v0.7.2
func (_c *DashboardPermissionsApi_ListDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]domain.DashboardAndPermissions, error)) *DashboardPermissionsApi_ListDashboardPermissions_Call
type DashboardPermissionsApi_UploadDashboardPermissions_Call ¶ added in v0.7.2
DashboardPermissionsApi_UploadDashboardPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadDashboardPermissions'
func (*DashboardPermissionsApi_UploadDashboardPermissions_Call) Return ¶ added in v0.7.2
func (_c *DashboardPermissionsApi_UploadDashboardPermissions_Call) Return(strings []string, err error) *DashboardPermissionsApi_UploadDashboardPermissions_Call
func (*DashboardPermissionsApi_UploadDashboardPermissions_Call) Run ¶ added in v0.7.2
func (_c *DashboardPermissionsApi_UploadDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *DashboardPermissionsApi_UploadDashboardPermissions_Call
func (*DashboardPermissionsApi_UploadDashboardPermissions_Call) RunAndReturn ¶ added in v0.7.2
func (_c *DashboardPermissionsApi_UploadDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]string, error)) *DashboardPermissionsApi_UploadDashboardPermissions_Call
type DashboardsApi ¶
DashboardsApi is an autogenerated mock type for the DashboardsApi type
func NewDashboardsApi ¶
func NewDashboardsApi(t interface {
mock.TestingT
Cleanup(func())
}) *DashboardsApi
NewDashboardsApi creates a new instance of DashboardsApi. 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 (*DashboardsApi) DeleteAllDashboards ¶
func (_mock *DashboardsApi) DeleteAllDashboards(filter filters.V2Filter) []string
DeleteAllDashboards provides a mock function for the type DashboardsApi
func (*DashboardsApi) DownloadDashboards ¶
func (_mock *DashboardsApi) DownloadDashboards(filter filters.V2Filter) []string
DownloadDashboards provides a mock function for the type DashboardsApi
func (*DashboardsApi) EXPECT ¶ added in v0.5.2
func (_m *DashboardsApi) EXPECT() *DashboardsApi_Expecter
func (*DashboardsApi) ListDashboards ¶
func (_mock *DashboardsApi) ListDashboards(filter filters.V2Filter) []*domain.NestedHit
ListDashboards provides a mock function for the type DashboardsApi
func (*DashboardsApi) UploadDashboards ¶
func (_mock *DashboardsApi) UploadDashboards(filterReq filters.V2Filter) ([]string, error)
UploadDashboards provides a mock function for the type DashboardsApi
type DashboardsApi_DeleteAllDashboards_Call ¶ added in v0.5.2
DashboardsApi_DeleteAllDashboards_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllDashboards'
func (*DashboardsApi_DeleteAllDashboards_Call) Return ¶ added in v0.5.2
func (_c *DashboardsApi_DeleteAllDashboards_Call) Return(strings []string) *DashboardsApi_DeleteAllDashboards_Call
func (*DashboardsApi_DeleteAllDashboards_Call) Run ¶ added in v0.5.2
func (_c *DashboardsApi_DeleteAllDashboards_Call) Run(run func(filter filters.V2Filter)) *DashboardsApi_DeleteAllDashboards_Call
func (*DashboardsApi_DeleteAllDashboards_Call) RunAndReturn ¶ added in v0.5.2
func (_c *DashboardsApi_DeleteAllDashboards_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *DashboardsApi_DeleteAllDashboards_Call
type DashboardsApi_DownloadDashboards_Call ¶ added in v0.5.2
DashboardsApi_DownloadDashboards_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadDashboards'
func (*DashboardsApi_DownloadDashboards_Call) Return ¶ added in v0.5.2
func (_c *DashboardsApi_DownloadDashboards_Call) Return(strings []string) *DashboardsApi_DownloadDashboards_Call
func (*DashboardsApi_DownloadDashboards_Call) Run ¶ added in v0.5.2
func (_c *DashboardsApi_DownloadDashboards_Call) Run(run func(filter filters.V2Filter)) *DashboardsApi_DownloadDashboards_Call
func (*DashboardsApi_DownloadDashboards_Call) RunAndReturn ¶ added in v0.5.2
func (_c *DashboardsApi_DownloadDashboards_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *DashboardsApi_DownloadDashboards_Call
type DashboardsApi_Expecter ¶ added in v0.5.2
type DashboardsApi_Expecter struct {
// contains filtered or unexported fields
}
func (*DashboardsApi_Expecter) DeleteAllDashboards ¶ added in v0.5.2
func (_e *DashboardsApi_Expecter) DeleteAllDashboards(filter interface{}) *DashboardsApi_DeleteAllDashboards_Call
DeleteAllDashboards is a helper method to define mock.On call
- filter filters.V2Filter
func (*DashboardsApi_Expecter) DownloadDashboards ¶ added in v0.5.2
func (_e *DashboardsApi_Expecter) DownloadDashboards(filter interface{}) *DashboardsApi_DownloadDashboards_Call
DownloadDashboards is a helper method to define mock.On call
- filter filters.V2Filter
func (*DashboardsApi_Expecter) ListDashboards ¶ added in v0.5.2
func (_e *DashboardsApi_Expecter) ListDashboards(filter interface{}) *DashboardsApi_ListDashboards_Call
ListDashboards is a helper method to define mock.On call
- filter filters.V2Filter
func (*DashboardsApi_Expecter) UploadDashboards ¶ added in v0.5.2
func (_e *DashboardsApi_Expecter) UploadDashboards(filterReq interface{}) *DashboardsApi_UploadDashboards_Call
UploadDashboards is a helper method to define mock.On call
- filterReq filters.V2Filter
type DashboardsApi_ListDashboards_Call ¶ added in v0.5.2
DashboardsApi_ListDashboards_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDashboards'
func (*DashboardsApi_ListDashboards_Call) Return ¶ added in v0.5.2
func (_c *DashboardsApi_ListDashboards_Call) Return(nestedHits []*domain.NestedHit) *DashboardsApi_ListDashboards_Call
func (*DashboardsApi_ListDashboards_Call) Run ¶ added in v0.5.2
func (_c *DashboardsApi_ListDashboards_Call) Run(run func(filter filters.V2Filter)) *DashboardsApi_ListDashboards_Call
func (*DashboardsApi_ListDashboards_Call) RunAndReturn ¶ added in v0.5.2
func (_c *DashboardsApi_ListDashboards_Call) RunAndReturn(run func(filter filters.V2Filter) []*domain.NestedHit) *DashboardsApi_ListDashboards_Call
type DashboardsApi_UploadDashboards_Call ¶ added in v0.5.2
DashboardsApi_UploadDashboards_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadDashboards'
func (*DashboardsApi_UploadDashboards_Call) Return ¶ added in v0.5.2
func (_c *DashboardsApi_UploadDashboards_Call) Return(strings []string, err error) *DashboardsApi_UploadDashboards_Call
func (*DashboardsApi_UploadDashboards_Call) Run ¶ added in v0.5.2
func (_c *DashboardsApi_UploadDashboards_Call) Run(run func(filterReq filters.V2Filter)) *DashboardsApi_UploadDashboards_Call
func (*DashboardsApi_UploadDashboards_Call) RunAndReturn ¶ added in v0.5.2
func (_c *DashboardsApi_UploadDashboards_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]string, error)) *DashboardsApi_UploadDashboards_Call
type FoldersApi ¶
FoldersApi is an autogenerated mock type for the FoldersApi type
func NewFoldersApi ¶
func NewFoldersApi(t interface {
mock.TestingT
Cleanup(func())
}) *FoldersApi
NewFoldersApi creates a new instance of FoldersApi. 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 (*FoldersApi) DeleteAllFolders ¶
func (_mock *FoldersApi) DeleteAllFolders(filter filters.V2Filter) []string
DeleteAllFolders provides a mock function for the type FoldersApi
func (*FoldersApi) DownloadFolderPermissions ¶
func (_mock *FoldersApi) DownloadFolderPermissions(filter filters.V2Filter) []string
DownloadFolderPermissions provides a mock function for the type FoldersApi
func (*FoldersApi) DownloadFolders ¶
func (_mock *FoldersApi) DownloadFolders(filter filters.V2Filter) []string
DownloadFolders provides a mock function for the type FoldersApi
func (*FoldersApi) EXPECT ¶ added in v0.5.2
func (_m *FoldersApi) EXPECT() *FoldersApi_Expecter
func (*FoldersApi) ListFolderPermissions ¶
func (_mock *FoldersApi) ListFolderPermissions(filter filters.V2Filter) map[*domain.NestedHit][]*models.DashboardACLInfoDTO
ListFolderPermissions provides a mock function for the type FoldersApi
func (*FoldersApi) ListFolders ¶ added in v0.7.1
func (_mock *FoldersApi) ListFolders(filter filters.V2Filter) []*domain.NestedHit
ListFolders provides a mock function for the type FoldersApi
func (*FoldersApi) UploadFolderPermissions ¶
func (_mock *FoldersApi) UploadFolderPermissions(filter filters.V2Filter) []string
UploadFolderPermissions provides a mock function for the type FoldersApi
func (*FoldersApi) UploadFolders ¶
func (_mock *FoldersApi) UploadFolders(filter filters.V2Filter) []string
UploadFolders provides a mock function for the type FoldersApi
type FoldersApi_DeleteAllFolders_Call ¶ added in v0.5.2
FoldersApi_DeleteAllFolders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllFolders'
func (*FoldersApi_DeleteAllFolders_Call) Return ¶ added in v0.5.2
func (_c *FoldersApi_DeleteAllFolders_Call) Return(strings []string) *FoldersApi_DeleteAllFolders_Call
func (*FoldersApi_DeleteAllFolders_Call) Run ¶ added in v0.5.2
func (_c *FoldersApi_DeleteAllFolders_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_DeleteAllFolders_Call
func (*FoldersApi_DeleteAllFolders_Call) RunAndReturn ¶ added in v0.5.2
func (_c *FoldersApi_DeleteAllFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *FoldersApi_DeleteAllFolders_Call
type FoldersApi_DownloadFolderPermissions_Call ¶ added in v0.5.2
FoldersApi_DownloadFolderPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadFolderPermissions'
func (*FoldersApi_DownloadFolderPermissions_Call) Return ¶ added in v0.5.2
func (_c *FoldersApi_DownloadFolderPermissions_Call) Return(strings []string) *FoldersApi_DownloadFolderPermissions_Call
func (*FoldersApi_DownloadFolderPermissions_Call) Run ¶ added in v0.5.2
func (_c *FoldersApi_DownloadFolderPermissions_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_DownloadFolderPermissions_Call
func (*FoldersApi_DownloadFolderPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *FoldersApi_DownloadFolderPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *FoldersApi_DownloadFolderPermissions_Call
type FoldersApi_DownloadFolders_Call ¶ added in v0.5.2
FoldersApi_DownloadFolders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadFolders'
func (*FoldersApi_DownloadFolders_Call) Return ¶ added in v0.5.2
func (_c *FoldersApi_DownloadFolders_Call) Return(strings []string) *FoldersApi_DownloadFolders_Call
func (*FoldersApi_DownloadFolders_Call) Run ¶ added in v0.5.2
func (_c *FoldersApi_DownloadFolders_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_DownloadFolders_Call
func (*FoldersApi_DownloadFolders_Call) RunAndReturn ¶ added in v0.5.2
func (_c *FoldersApi_DownloadFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *FoldersApi_DownloadFolders_Call
type FoldersApi_Expecter ¶ added in v0.5.2
type FoldersApi_Expecter struct {
// contains filtered or unexported fields
}
func (*FoldersApi_Expecter) DeleteAllFolders ¶ added in v0.5.2
func (_e *FoldersApi_Expecter) DeleteAllFolders(filter interface{}) *FoldersApi_DeleteAllFolders_Call
DeleteAllFolders is a helper method to define mock.On call
- filter filters.V2Filter
func (*FoldersApi_Expecter) DownloadFolderPermissions ¶ added in v0.5.2
func (_e *FoldersApi_Expecter) DownloadFolderPermissions(filter interface{}) *FoldersApi_DownloadFolderPermissions_Call
DownloadFolderPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*FoldersApi_Expecter) DownloadFolders ¶ added in v0.5.2
func (_e *FoldersApi_Expecter) DownloadFolders(filter interface{}) *FoldersApi_DownloadFolders_Call
DownloadFolders is a helper method to define mock.On call
- filter filters.V2Filter
func (*FoldersApi_Expecter) ListFolderPermissions ¶ added in v0.5.2
func (_e *FoldersApi_Expecter) ListFolderPermissions(filter interface{}) *FoldersApi_ListFolderPermissions_Call
ListFolderPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*FoldersApi_Expecter) ListFolders ¶ added in v0.7.1
func (_e *FoldersApi_Expecter) ListFolders(filter interface{}) *FoldersApi_ListFolders_Call
ListFolders is a helper method to define mock.On call
- filter filters.V2Filter
func (*FoldersApi_Expecter) UploadFolderPermissions ¶ added in v0.5.2
func (_e *FoldersApi_Expecter) UploadFolderPermissions(filter interface{}) *FoldersApi_UploadFolderPermissions_Call
UploadFolderPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*FoldersApi_Expecter) UploadFolders ¶ added in v0.5.2
func (_e *FoldersApi_Expecter) UploadFolders(filter interface{}) *FoldersApi_UploadFolders_Call
UploadFolders is a helper method to define mock.On call
- filter filters.V2Filter
type FoldersApi_ListFolderPermissions_Call ¶ added in v0.5.2
FoldersApi_ListFolderPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListFolderPermissions'
func (*FoldersApi_ListFolderPermissions_Call) Return ¶ added in v0.5.2
func (_c *FoldersApi_ListFolderPermissions_Call) Return(nestedHitToDashboardACLInfoDTOs map[*domain.NestedHit][]*models.DashboardACLInfoDTO) *FoldersApi_ListFolderPermissions_Call
func (*FoldersApi_ListFolderPermissions_Call) Run ¶ added in v0.5.2
func (_c *FoldersApi_ListFolderPermissions_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_ListFolderPermissions_Call
func (*FoldersApi_ListFolderPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *FoldersApi_ListFolderPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) map[*domain.NestedHit][]*models.DashboardACLInfoDTO) *FoldersApi_ListFolderPermissions_Call
type FoldersApi_ListFolders_Call ¶ added in v0.7.1
FoldersApi_ListFolders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListFolders'
func (*FoldersApi_ListFolders_Call) Return ¶ added in v0.7.1
func (_c *FoldersApi_ListFolders_Call) Return(nestedHits []*domain.NestedHit) *FoldersApi_ListFolders_Call
func (*FoldersApi_ListFolders_Call) Run ¶ added in v0.7.1
func (_c *FoldersApi_ListFolders_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_ListFolders_Call
func (*FoldersApi_ListFolders_Call) RunAndReturn ¶ added in v0.7.1
func (_c *FoldersApi_ListFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []*domain.NestedHit) *FoldersApi_ListFolders_Call
type FoldersApi_UploadFolderPermissions_Call ¶ added in v0.5.2
FoldersApi_UploadFolderPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadFolderPermissions'
func (*FoldersApi_UploadFolderPermissions_Call) Return ¶ added in v0.5.2
func (_c *FoldersApi_UploadFolderPermissions_Call) Return(strings []string) *FoldersApi_UploadFolderPermissions_Call
func (*FoldersApi_UploadFolderPermissions_Call) Run ¶ added in v0.5.2
func (_c *FoldersApi_UploadFolderPermissions_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_UploadFolderPermissions_Call
func (*FoldersApi_UploadFolderPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *FoldersApi_UploadFolderPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *FoldersApi_UploadFolderPermissions_Call
type FoldersApi_UploadFolders_Call ¶ added in v0.5.2
FoldersApi_UploadFolders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadFolders'
func (*FoldersApi_UploadFolders_Call) Return ¶ added in v0.5.2
func (_c *FoldersApi_UploadFolders_Call) Return(strings []string) *FoldersApi_UploadFolders_Call
func (*FoldersApi_UploadFolders_Call) Run ¶ added in v0.5.2
func (_c *FoldersApi_UploadFolders_Call) Run(run func(filter filters.V2Filter)) *FoldersApi_UploadFolders_Call
func (*FoldersApi_UploadFolders_Call) RunAndReturn ¶ added in v0.5.2
func (_c *FoldersApi_UploadFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *FoldersApi_UploadFolders_Call
type GrafanaService ¶
GrafanaService is an autogenerated mock type for the GrafanaService type
func NewGrafanaService ¶
func NewGrafanaService(t interface {
mock.TestingT
Cleanup(func())
}) *GrafanaService
NewGrafanaService creates a new instance of GrafanaService. 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 (*GrafanaService) AddUserToOrg ¶
func (_mock *GrafanaService) AddUserToOrg(role string, orgSlug string, userId int64) error
AddUserToOrg provides a mock function for the type GrafanaService
func (*GrafanaService) ClearAlertNotifications ¶ added in v0.8.0
func (_mock *GrafanaService) ClearAlertNotifications() error
ClearAlertNotifications provides a mock function for the type GrafanaService
func (*GrafanaService) ClearAlertRules ¶ added in v0.8.0
func (_mock *GrafanaService) ClearAlertRules(filter filters.V2Filter) ([]string, error)
ClearAlertRules provides a mock function for the type GrafanaService
func (*GrafanaService) ClearAlertTemplates ¶ added in v0.8.0
func (_mock *GrafanaService) ClearAlertTemplates() ([]string, error)
ClearAlertTemplates provides a mock function for the type GrafanaService
func (*GrafanaService) ClearAlertTimings ¶ added in v0.9.1
func (_mock *GrafanaService) ClearAlertTimings() error
ClearAlertTimings provides a mock function for the type GrafanaService
func (*GrafanaService) ClearContactPoints ¶ added in v0.7.2
func (_mock *GrafanaService) ClearContactPoints() ([]string, error)
ClearContactPoints provides a mock function for the type GrafanaService
func (*GrafanaService) ClearDashboardPermissions ¶ added in v0.7.2
func (_mock *GrafanaService) ClearDashboardPermissions(filterReq filters.V2Filter) error
ClearDashboardPermissions provides a mock function for the type GrafanaService
func (*GrafanaService) CreateServiceAccount ¶
func (_mock *GrafanaService) CreateServiceAccount(name string, role string, expiration int64) (*models.ServiceAccountDTO, error)
CreateServiceAccount provides a mock function for the type GrafanaService
func (*GrafanaService) CreateServiceAccountToken ¶
func (_mock *GrafanaService) CreateServiceAccountToken(serviceAccountId int64, name string, expiration int64) (*models.NewAPIKeyResult, error)
CreateServiceAccountToken provides a mock function for the type GrafanaService
func (*GrafanaService) DecodeValue ¶ added in v0.9.1
func (_mock *GrafanaService) DecodeValue(in string) string
DecodeValue provides a mock function for the type GrafanaService
func (*GrafanaService) DeleteAllConnectionPermissions ¶
func (_mock *GrafanaService) DeleteAllConnectionPermissions(filter filters.V2Filter) []string
DeleteAllConnectionPermissions provides a mock function for the type GrafanaService
func (*GrafanaService) DeleteAllConnections ¶
func (_mock *GrafanaService) DeleteAllConnections(filter filters.V2Filter) []string
DeleteAllConnections provides a mock function for the type GrafanaService
func (*GrafanaService) DeleteAllDashboards ¶
func (_mock *GrafanaService) DeleteAllDashboards(filter filters.V2Filter) []string
DeleteAllDashboards provides a mock function for the type GrafanaService
func (*GrafanaService) DeleteAllFolders ¶
func (_mock *GrafanaService) DeleteAllFolders(filter filters.V2Filter) []string
DeleteAllFolders provides a mock function for the type GrafanaService
func (*GrafanaService) DeleteAllLibraryElements ¶
func (_mock *GrafanaService) DeleteAllLibraryElements(filter filters.V2Filter) []string
DeleteAllLibraryElements provides a mock function for the type GrafanaService
func (*GrafanaService) DeleteAllServiceAccounts ¶
func (_mock *GrafanaService) DeleteAllServiceAccounts() []string
DeleteAllServiceAccounts provides a mock function for the type GrafanaService
func (*GrafanaService) DeleteAllUsers ¶
func (_mock *GrafanaService) DeleteAllUsers(filter filters.V2Filter) []string
DeleteAllUsers provides a mock function for the type GrafanaService
func (*GrafanaService) DeleteServiceAccount ¶ added in v0.8.0
func (_mock *GrafanaService) DeleteServiceAccount(accountId int64) error
DeleteServiceAccount provides a mock function for the type GrafanaService
func (*GrafanaService) DeleteServiceAccountTokens ¶
func (_mock *GrafanaService) DeleteServiceAccountTokens(serviceId int64) []string
DeleteServiceAccountTokens provides a mock function for the type GrafanaService
func (*GrafanaService) DeleteTeam ¶
DeleteTeam provides a mock function for the type GrafanaService
func (*GrafanaService) DeleteUserFromOrg ¶
func (_mock *GrafanaService) DeleteUserFromOrg(orgId string, userId int64) error
DeleteUserFromOrg provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadAlertNotifications ¶
func (_mock *GrafanaService) DownloadAlertNotifications() (string, error)
DownloadAlertNotifications provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadAlertRules ¶ added in v0.8.0
func (_mock *GrafanaService) DownloadAlertRules(filter filters.V2Filter) ([]string, error)
DownloadAlertRules provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadAlertTemplates ¶ added in v0.8.0
func (_mock *GrafanaService) DownloadAlertTemplates() (string, error)
DownloadAlertTemplates provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadAlertTimings ¶ added in v0.9.1
func (_mock *GrafanaService) DownloadAlertTimings() (string, error)
DownloadAlertTimings provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadConnectionPermissions ¶
func (_mock *GrafanaService) DownloadConnectionPermissions(filter filters.V2Filter) []string
DownloadConnectionPermissions provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadConnections ¶
func (_mock *GrafanaService) DownloadConnections(filter filters.V2Filter) []string
DownloadConnections provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadContactPoints ¶ added in v0.7.2
func (_mock *GrafanaService) DownloadContactPoints() (string, error)
DownloadContactPoints provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadDashboardPermissions ¶ added in v0.7.2
func (_mock *GrafanaService) DownloadDashboardPermissions(filterReq filters.V2Filter) ([]string, error)
DownloadDashboardPermissions provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadDashboards ¶
func (_mock *GrafanaService) DownloadDashboards(filter filters.V2Filter) []string
DownloadDashboards provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadFolderPermissions ¶
func (_mock *GrafanaService) DownloadFolderPermissions(filter filters.V2Filter) []string
DownloadFolderPermissions provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadFolders ¶
func (_mock *GrafanaService) DownloadFolders(filter filters.V2Filter) []string
DownloadFolders provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadLibraryElements ¶
func (_mock *GrafanaService) DownloadLibraryElements(filter filters.V2Filter) []string
DownloadLibraryElements provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadOrganizations ¶
func (_mock *GrafanaService) DownloadOrganizations(filter filters.V2Filter) []string
DownloadOrganizations provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadTeams ¶
func (_mock *GrafanaService) DownloadTeams(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO
DownloadTeams provides a mock function for the type GrafanaService
func (*GrafanaService) DownloadUsers ¶
func (_mock *GrafanaService) DownloadUsers(filter filters.V2Filter) []string
DownloadUsers provides a mock function for the type GrafanaService
func (*GrafanaService) EXPECT ¶ added in v0.5.2
func (_m *GrafanaService) EXPECT() *GrafanaService_Expecter
func (*GrafanaService) EncodeValue ¶ added in v0.9.1
func (_mock *GrafanaService) EncodeValue(in string) string
EncodeValue provides a mock function for the type GrafanaService
func (*GrafanaService) GetOrgPreferences ¶ added in v0.6.0
func (_mock *GrafanaService) GetOrgPreferences(orgName string) (*models.PreferencesSpec, error)
GetOrgPreferences provides a mock function for the type GrafanaService
func (*GrafanaService) GetServerInfo ¶
func (_mock *GrafanaService) GetServerInfo() map[string]any
GetServerInfo provides a mock function for the type GrafanaService
func (*GrafanaService) GetTokenOrganization ¶
func (_mock *GrafanaService) GetTokenOrganization() *models.OrgDetailsDTO
GetTokenOrganization provides a mock function for the type GrafanaService
func (*GrafanaService) GetUserInfo ¶
func (_mock *GrafanaService) GetUserInfo() (*models.UserProfileDTO, error)
GetUserInfo provides a mock function for the type GrafanaService
func (*GrafanaService) GetUserOrganization ¶
func (_mock *GrafanaService) GetUserOrganization() *models.OrgDetailsDTO
GetUserOrganization provides a mock function for the type GrafanaService
func (*GrafanaService) InitOrganizations ¶
func (_mock *GrafanaService) InitOrganizations()
InitOrganizations provides a mock function for the type GrafanaService
func (*GrafanaService) IsEnterprise ¶ added in v0.7.1
func (_mock *GrafanaService) IsEnterprise() bool
IsEnterprise provides a mock function for the type GrafanaService
func (*GrafanaService) ListAlertNotifications ¶
func (_mock *GrafanaService) ListAlertNotifications() (*models.Route, error)
ListAlertNotifications provides a mock function for the type GrafanaService
func (*GrafanaService) ListAlertRules ¶ added in v0.8.0
func (_mock *GrafanaService) ListAlertRules(filter filters.V2Filter) ([]*domain.AlertRuleWithNestedFolder, error)
ListAlertRules provides a mock function for the type GrafanaService
func (*GrafanaService) ListAlertTemplates ¶ added in v0.8.0
func (_mock *GrafanaService) ListAlertTemplates() ([]*models.NotificationTemplate, error)
ListAlertTemplates provides a mock function for the type GrafanaService
func (*GrafanaService) ListAlertTimings ¶ added in v0.9.1
func (_mock *GrafanaService) ListAlertTimings() ([]*models.MuteTimeInterval, error)
ListAlertTimings provides a mock function for the type GrafanaService
func (*GrafanaService) ListConnectionPermissions ¶
func (_mock *GrafanaService) ListConnectionPermissions(filter filters.V2Filter) []domain.ConnectionPermissionItem
ListConnectionPermissions provides a mock function for the type GrafanaService
func (*GrafanaService) ListConnections ¶
func (_mock *GrafanaService) ListConnections(filter filters.V2Filter) []models.DataSourceListItemDTO
ListConnections provides a mock function for the type GrafanaService
func (*GrafanaService) ListContactPoints ¶ added in v0.7.2
func (_mock *GrafanaService) ListContactPoints() ([]*models.EmbeddedContactPoint, error)
ListContactPoints provides a mock function for the type GrafanaService
func (*GrafanaService) ListDashboardPermissions ¶ added in v0.7.2
func (_mock *GrafanaService) ListDashboardPermissions(filterReq filters.V2Filter) ([]domain.DashboardAndPermissions, error)
ListDashboardPermissions provides a mock function for the type GrafanaService
func (*GrafanaService) ListDashboards ¶
func (_mock *GrafanaService) ListDashboards(filter filters.V2Filter) []*domain.NestedHit
ListDashboards provides a mock function for the type GrafanaService
func (*GrafanaService) ListFolderPermissions ¶
func (_mock *GrafanaService) ListFolderPermissions(filter filters.V2Filter) map[*domain.NestedHit][]*models.DashboardACLInfoDTO
ListFolderPermissions provides a mock function for the type GrafanaService
func (*GrafanaService) ListFolders ¶ added in v0.7.1
func (_mock *GrafanaService) ListFolders(filter filters.V2Filter) []*domain.NestedHit
ListFolders provides a mock function for the type GrafanaService
func (*GrafanaService) ListLibraryElements ¶
func (_mock *GrafanaService) ListLibraryElements(filter filters.V2Filter) []*domain.WithNested[models.LibraryElementDTO]
ListLibraryElements provides a mock function for the type GrafanaService
func (*GrafanaService) ListLibraryElementsConnections ¶
func (_mock *GrafanaService) ListLibraryElementsConnections(filter filters.V2Filter, connectionID string) []*models.DashboardFullWithMeta
ListLibraryElementsConnections provides a mock function for the type GrafanaService
func (*GrafanaService) ListOrgUsers ¶
func (_mock *GrafanaService) ListOrgUsers(orgId int64) []*models.OrgUserDTO
ListOrgUsers provides a mock function for the type GrafanaService
func (*GrafanaService) ListOrganizations ¶
func (_mock *GrafanaService) ListOrganizations(filter filters.V2Filter, withPreferences bool) []*domain.OrgsDTOWithPreferences
ListOrganizations provides a mock function for the type GrafanaService
func (*GrafanaService) ListServiceAccounts ¶
func (_mock *GrafanaService) ListServiceAccounts() []*domain.ServiceAccountDTOWithTokens
ListServiceAccounts provides a mock function for the type GrafanaService
func (*GrafanaService) ListServiceAccountsTokens ¶
func (_mock *GrafanaService) ListServiceAccountsTokens(id int64) ([]*models.TokenDTO, error)
ListServiceAccountsTokens provides a mock function for the type GrafanaService
func (*GrafanaService) ListTeams ¶
func (_mock *GrafanaService) ListTeams(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO
ListTeams provides a mock function for the type GrafanaService
func (*GrafanaService) ListUserOrganizations ¶ added in v0.6.0
func (_mock *GrafanaService) ListUserOrganizations() ([]*models.UserOrgDTO, error)
ListUserOrganizations provides a mock function for the type GrafanaService
func (*GrafanaService) ListUsers ¶
func (_mock *GrafanaService) ListUsers(filter filters.V2Filter) []*models.UserSearchHitDTO
ListUsers provides a mock function for the type GrafanaService
func (*GrafanaService) Login ¶
func (_mock *GrafanaService) Login()
Login provides a mock function for the type GrafanaService
func (*GrafanaService) PromoteUser ¶
func (_mock *GrafanaService) PromoteUser(userLogin string) (string, error)
PromoteUser provides a mock function for the type GrafanaService
func (*GrafanaService) SetOrganizationByName ¶ added in v0.6.0
func (_mock *GrafanaService) SetOrganizationByName(name string, useSlug bool) error
SetOrganizationByName provides a mock function for the type GrafanaService
func (*GrafanaService) SetUserOrganizations ¶
func (_mock *GrafanaService) SetUserOrganizations(id int64) error
SetUserOrganizations provides a mock function for the type GrafanaService
func (*GrafanaService) UpdateUserInOrg ¶
func (_mock *GrafanaService) UpdateUserInOrg(role string, orgSlug string, userId int64) error
UpdateUserInOrg provides a mock function for the type GrafanaService
func (*GrafanaService) UploadAlertNotifications ¶
func (_mock *GrafanaService) UploadAlertNotifications() (*models.Route, error)
UploadAlertNotifications provides a mock function for the type GrafanaService
func (*GrafanaService) UploadAlertRules ¶ added in v0.8.0
func (_mock *GrafanaService) UploadAlertRules(filter filters.V2Filter) error
UploadAlertRules provides a mock function for the type GrafanaService
func (*GrafanaService) UploadAlertTemplates ¶ added in v0.8.0
func (_mock *GrafanaService) UploadAlertTemplates() ([]string, error)
UploadAlertTemplates provides a mock function for the type GrafanaService
func (*GrafanaService) UploadAlertTimings ¶ added in v0.9.1
func (_mock *GrafanaService) UploadAlertTimings() ([]string, error)
UploadAlertTimings provides a mock function for the type GrafanaService
func (*GrafanaService) UploadConnectionPermissions ¶
func (_mock *GrafanaService) UploadConnectionPermissions(filter filters.V2Filter) []string
UploadConnectionPermissions provides a mock function for the type GrafanaService
func (*GrafanaService) UploadConnections ¶
func (_mock *GrafanaService) UploadConnections(filter filters.V2Filter) []string
UploadConnections provides a mock function for the type GrafanaService
func (*GrafanaService) UploadContactPoints ¶ added in v0.7.2
func (_mock *GrafanaService) UploadContactPoints() ([]string, error)
UploadContactPoints provides a mock function for the type GrafanaService
func (*GrafanaService) UploadDashboardPermissions ¶ added in v0.7.2
func (_mock *GrafanaService) UploadDashboardPermissions(filterReq filters.V2Filter) ([]string, error)
UploadDashboardPermissions provides a mock function for the type GrafanaService
func (*GrafanaService) UploadDashboards ¶
func (_mock *GrafanaService) UploadDashboards(filterReq filters.V2Filter) ([]string, error)
UploadDashboards provides a mock function for the type GrafanaService
func (*GrafanaService) UploadFolderPermissions ¶
func (_mock *GrafanaService) UploadFolderPermissions(filter filters.V2Filter) []string
UploadFolderPermissions provides a mock function for the type GrafanaService
func (*GrafanaService) UploadFolders ¶
func (_mock *GrafanaService) UploadFolders(filter filters.V2Filter) []string
UploadFolders provides a mock function for the type GrafanaService
func (*GrafanaService) UploadLibraryElements ¶
func (_mock *GrafanaService) UploadLibraryElements(filter filters.V2Filter) []string
UploadLibraryElements provides a mock function for the type GrafanaService
func (*GrafanaService) UploadOrgPreferences ¶ added in v0.6.0
func (_mock *GrafanaService) UploadOrgPreferences(orgName string, pref *models.PreferencesSpec) error
UploadOrgPreferences provides a mock function for the type GrafanaService
func (*GrafanaService) UploadOrganizations ¶
func (_mock *GrafanaService) UploadOrganizations(filter filters.V2Filter) []string
UploadOrganizations provides a mock function for the type GrafanaService
func (*GrafanaService) UploadTeams ¶
func (_mock *GrafanaService) UploadTeams(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO
UploadTeams provides a mock function for the type GrafanaService
func (*GrafanaService) UploadUsers ¶
func (_mock *GrafanaService) UploadUsers(filter filters.V2Filter) []domain.UserProfileWithAuth
UploadUsers provides a mock function for the type GrafanaService
type GrafanaService_AddUserToOrg_Call ¶ added in v0.5.2
GrafanaService_AddUserToOrg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUserToOrg'
func (*GrafanaService_AddUserToOrg_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_AddUserToOrg_Call) Return(err error) *GrafanaService_AddUserToOrg_Call
func (*GrafanaService_AddUserToOrg_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_AddUserToOrg_Call) Run(run func(role string, orgSlug string, userId int64)) *GrafanaService_AddUserToOrg_Call
func (*GrafanaService_AddUserToOrg_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_AddUserToOrg_Call) RunAndReturn(run func(role string, orgSlug string, userId int64) error) *GrafanaService_AddUserToOrg_Call
type GrafanaService_ClearAlertNotifications_Call ¶ added in v0.8.0
GrafanaService_ClearAlertNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearAlertNotifications'
func (*GrafanaService_ClearAlertNotifications_Call) Return ¶ added in v0.8.0
func (_c *GrafanaService_ClearAlertNotifications_Call) Return(err error) *GrafanaService_ClearAlertNotifications_Call
func (*GrafanaService_ClearAlertNotifications_Call) Run ¶ added in v0.8.0
func (_c *GrafanaService_ClearAlertNotifications_Call) Run(run func()) *GrafanaService_ClearAlertNotifications_Call
func (*GrafanaService_ClearAlertNotifications_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GrafanaService_ClearAlertNotifications_Call) RunAndReturn(run func() error) *GrafanaService_ClearAlertNotifications_Call
type GrafanaService_ClearAlertRules_Call ¶ added in v0.8.0
GrafanaService_ClearAlertRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearAlertRules'
func (*GrafanaService_ClearAlertRules_Call) Return ¶ added in v0.8.0
func (_c *GrafanaService_ClearAlertRules_Call) Return(strings []string, err error) *GrafanaService_ClearAlertRules_Call
func (*GrafanaService_ClearAlertRules_Call) Run ¶ added in v0.8.0
func (_c *GrafanaService_ClearAlertRules_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ClearAlertRules_Call
func (*GrafanaService_ClearAlertRules_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GrafanaService_ClearAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]string, error)) *GrafanaService_ClearAlertRules_Call
type GrafanaService_ClearAlertTemplates_Call ¶ added in v0.8.0
GrafanaService_ClearAlertTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearAlertTemplates'
func (*GrafanaService_ClearAlertTemplates_Call) Return ¶ added in v0.8.0
func (_c *GrafanaService_ClearAlertTemplates_Call) Return(strings []string, err error) *GrafanaService_ClearAlertTemplates_Call
func (*GrafanaService_ClearAlertTemplates_Call) Run ¶ added in v0.8.0
func (_c *GrafanaService_ClearAlertTemplates_Call) Run(run func()) *GrafanaService_ClearAlertTemplates_Call
func (*GrafanaService_ClearAlertTemplates_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GrafanaService_ClearAlertTemplates_Call) RunAndReturn(run func() ([]string, error)) *GrafanaService_ClearAlertTemplates_Call
type GrafanaService_ClearAlertTimings_Call ¶ added in v0.9.1
GrafanaService_ClearAlertTimings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearAlertTimings'
func (*GrafanaService_ClearAlertTimings_Call) Return ¶ added in v0.9.1
func (_c *GrafanaService_ClearAlertTimings_Call) Return(err error) *GrafanaService_ClearAlertTimings_Call
func (*GrafanaService_ClearAlertTimings_Call) Run ¶ added in v0.9.1
func (_c *GrafanaService_ClearAlertTimings_Call) Run(run func()) *GrafanaService_ClearAlertTimings_Call
func (*GrafanaService_ClearAlertTimings_Call) RunAndReturn ¶ added in v0.9.1
func (_c *GrafanaService_ClearAlertTimings_Call) RunAndReturn(run func() error) *GrafanaService_ClearAlertTimings_Call
type GrafanaService_ClearContactPoints_Call ¶ added in v0.7.2
GrafanaService_ClearContactPoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearContactPoints'
func (*GrafanaService_ClearContactPoints_Call) Return ¶ added in v0.7.2
func (_c *GrafanaService_ClearContactPoints_Call) Return(strings []string, err error) *GrafanaService_ClearContactPoints_Call
func (*GrafanaService_ClearContactPoints_Call) Run ¶ added in v0.7.2
func (_c *GrafanaService_ClearContactPoints_Call) Run(run func()) *GrafanaService_ClearContactPoints_Call
func (*GrafanaService_ClearContactPoints_Call) RunAndReturn ¶ added in v0.7.2
func (_c *GrafanaService_ClearContactPoints_Call) RunAndReturn(run func() ([]string, error)) *GrafanaService_ClearContactPoints_Call
type GrafanaService_ClearDashboardPermissions_Call ¶ added in v0.7.2
GrafanaService_ClearDashboardPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearDashboardPermissions'
func (*GrafanaService_ClearDashboardPermissions_Call) Return ¶ added in v0.7.2
func (_c *GrafanaService_ClearDashboardPermissions_Call) Return(err error) *GrafanaService_ClearDashboardPermissions_Call
func (*GrafanaService_ClearDashboardPermissions_Call) Run ¶ added in v0.7.2
func (_c *GrafanaService_ClearDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *GrafanaService_ClearDashboardPermissions_Call
func (*GrafanaService_ClearDashboardPermissions_Call) RunAndReturn ¶ added in v0.7.2
func (_c *GrafanaService_ClearDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) error) *GrafanaService_ClearDashboardPermissions_Call
type GrafanaService_CreateServiceAccountToken_Call ¶ added in v0.5.2
GrafanaService_CreateServiceAccountToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateServiceAccountToken'
func (*GrafanaService_CreateServiceAccountToken_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_CreateServiceAccountToken_Call) Return(newAPIKeyResult *models.NewAPIKeyResult, err error) *GrafanaService_CreateServiceAccountToken_Call
func (*GrafanaService_CreateServiceAccountToken_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_CreateServiceAccountToken_Call) Run(run func(serviceAccountId int64, name string, expiration int64)) *GrafanaService_CreateServiceAccountToken_Call
func (*GrafanaService_CreateServiceAccountToken_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_CreateServiceAccountToken_Call) RunAndReturn(run func(serviceAccountId int64, name string, expiration int64) (*models.NewAPIKeyResult, error)) *GrafanaService_CreateServiceAccountToken_Call
type GrafanaService_CreateServiceAccount_Call ¶ added in v0.5.2
GrafanaService_CreateServiceAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateServiceAccount'
func (*GrafanaService_CreateServiceAccount_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_CreateServiceAccount_Call) Return(serviceAccountDTO *models.ServiceAccountDTO, err error) *GrafanaService_CreateServiceAccount_Call
func (*GrafanaService_CreateServiceAccount_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_CreateServiceAccount_Call) Run(run func(name string, role string, expiration int64)) *GrafanaService_CreateServiceAccount_Call
func (*GrafanaService_CreateServiceAccount_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_CreateServiceAccount_Call) RunAndReturn(run func(name string, role string, expiration int64) (*models.ServiceAccountDTO, error)) *GrafanaService_CreateServiceAccount_Call
type GrafanaService_DecodeValue_Call ¶ added in v0.9.1
GrafanaService_DecodeValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DecodeValue'
func (*GrafanaService_DecodeValue_Call) Return ¶ added in v0.9.1
func (_c *GrafanaService_DecodeValue_Call) Return(s string) *GrafanaService_DecodeValue_Call
func (*GrafanaService_DecodeValue_Call) Run ¶ added in v0.9.1
func (_c *GrafanaService_DecodeValue_Call) Run(run func(in string)) *GrafanaService_DecodeValue_Call
func (*GrafanaService_DecodeValue_Call) RunAndReturn ¶ added in v0.9.1
func (_c *GrafanaService_DecodeValue_Call) RunAndReturn(run func(in string) string) *GrafanaService_DecodeValue_Call
type GrafanaService_DeleteAllConnectionPermissions_Call ¶ added in v0.5.2
GrafanaService_DeleteAllConnectionPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllConnectionPermissions'
func (*GrafanaService_DeleteAllConnectionPermissions_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllConnectionPermissions_Call) Return(strings []string) *GrafanaService_DeleteAllConnectionPermissions_Call
func (*GrafanaService_DeleteAllConnectionPermissions_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteAllConnectionPermissions_Call
func (*GrafanaService_DeleteAllConnectionPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DeleteAllConnectionPermissions_Call
type GrafanaService_DeleteAllConnections_Call ¶ added in v0.5.2
GrafanaService_DeleteAllConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllConnections'
func (*GrafanaService_DeleteAllConnections_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllConnections_Call) Return(strings []string) *GrafanaService_DeleteAllConnections_Call
func (*GrafanaService_DeleteAllConnections_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllConnections_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteAllConnections_Call
func (*GrafanaService_DeleteAllConnections_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DeleteAllConnections_Call
type GrafanaService_DeleteAllDashboards_Call ¶ added in v0.5.2
GrafanaService_DeleteAllDashboards_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllDashboards'
func (*GrafanaService_DeleteAllDashboards_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllDashboards_Call) Return(strings []string) *GrafanaService_DeleteAllDashboards_Call
func (*GrafanaService_DeleteAllDashboards_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllDashboards_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteAllDashboards_Call
func (*GrafanaService_DeleteAllDashboards_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllDashboards_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DeleteAllDashboards_Call
type GrafanaService_DeleteAllFolders_Call ¶ added in v0.5.2
GrafanaService_DeleteAllFolders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllFolders'
func (*GrafanaService_DeleteAllFolders_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllFolders_Call) Return(strings []string) *GrafanaService_DeleteAllFolders_Call
func (*GrafanaService_DeleteAllFolders_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllFolders_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteAllFolders_Call
func (*GrafanaService_DeleteAllFolders_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DeleteAllFolders_Call
type GrafanaService_DeleteAllLibraryElements_Call ¶ added in v0.5.2
GrafanaService_DeleteAllLibraryElements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllLibraryElements'
func (*GrafanaService_DeleteAllLibraryElements_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllLibraryElements_Call) Return(strings []string) *GrafanaService_DeleteAllLibraryElements_Call
func (*GrafanaService_DeleteAllLibraryElements_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllLibraryElements_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteAllLibraryElements_Call
func (*GrafanaService_DeleteAllLibraryElements_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DeleteAllLibraryElements_Call
type GrafanaService_DeleteAllServiceAccounts_Call ¶ added in v0.5.2
GrafanaService_DeleteAllServiceAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllServiceAccounts'
func (*GrafanaService_DeleteAllServiceAccounts_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllServiceAccounts_Call) Return(strings []string) *GrafanaService_DeleteAllServiceAccounts_Call
func (*GrafanaService_DeleteAllServiceAccounts_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllServiceAccounts_Call) Run(run func()) *GrafanaService_DeleteAllServiceAccounts_Call
func (*GrafanaService_DeleteAllServiceAccounts_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllServiceAccounts_Call) RunAndReturn(run func() []string) *GrafanaService_DeleteAllServiceAccounts_Call
type GrafanaService_DeleteAllUsers_Call ¶ added in v0.5.2
GrafanaService_DeleteAllUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllUsers'
func (*GrafanaService_DeleteAllUsers_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllUsers_Call) Return(strings []string) *GrafanaService_DeleteAllUsers_Call
func (*GrafanaService_DeleteAllUsers_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllUsers_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteAllUsers_Call
func (*GrafanaService_DeleteAllUsers_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DeleteAllUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DeleteAllUsers_Call
type GrafanaService_DeleteServiceAccountTokens_Call ¶ added in v0.5.2
GrafanaService_DeleteServiceAccountTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteServiceAccountTokens'
func (*GrafanaService_DeleteServiceAccountTokens_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DeleteServiceAccountTokens_Call) Return(strings []string) *GrafanaService_DeleteServiceAccountTokens_Call
func (*GrafanaService_DeleteServiceAccountTokens_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DeleteServiceAccountTokens_Call) Run(run func(serviceId int64)) *GrafanaService_DeleteServiceAccountTokens_Call
func (*GrafanaService_DeleteServiceAccountTokens_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DeleteServiceAccountTokens_Call) RunAndReturn(run func(serviceId int64) []string) *GrafanaService_DeleteServiceAccountTokens_Call
type GrafanaService_DeleteServiceAccount_Call ¶ added in v0.8.0
GrafanaService_DeleteServiceAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteServiceAccount'
func (*GrafanaService_DeleteServiceAccount_Call) Return ¶ added in v0.8.0
func (_c *GrafanaService_DeleteServiceAccount_Call) Return(err error) *GrafanaService_DeleteServiceAccount_Call
func (*GrafanaService_DeleteServiceAccount_Call) Run ¶ added in v0.8.0
func (_c *GrafanaService_DeleteServiceAccount_Call) Run(run func(accountId int64)) *GrafanaService_DeleteServiceAccount_Call
func (*GrafanaService_DeleteServiceAccount_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GrafanaService_DeleteServiceAccount_Call) RunAndReturn(run func(accountId int64) error) *GrafanaService_DeleteServiceAccount_Call
type GrafanaService_DeleteTeam_Call ¶ added in v0.5.2
GrafanaService_DeleteTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTeam'
func (*GrafanaService_DeleteTeam_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DeleteTeam_Call) Return(teamDTOs []*models.TeamDTO, err error) *GrafanaService_DeleteTeam_Call
func (*GrafanaService_DeleteTeam_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DeleteTeam_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DeleteTeam_Call
func (*GrafanaService_DeleteTeam_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DeleteTeam_Call) RunAndReturn(run func(filter filters.V2Filter) ([]*models.TeamDTO, error)) *GrafanaService_DeleteTeam_Call
type GrafanaService_DeleteUserFromOrg_Call ¶ added in v0.5.2
GrafanaService_DeleteUserFromOrg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUserFromOrg'
func (*GrafanaService_DeleteUserFromOrg_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DeleteUserFromOrg_Call) Return(err error) *GrafanaService_DeleteUserFromOrg_Call
func (*GrafanaService_DeleteUserFromOrg_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DeleteUserFromOrg_Call) Run(run func(orgId string, userId int64)) *GrafanaService_DeleteUserFromOrg_Call
func (*GrafanaService_DeleteUserFromOrg_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DeleteUserFromOrg_Call) RunAndReturn(run func(orgId string, userId int64) error) *GrafanaService_DeleteUserFromOrg_Call
type GrafanaService_DownloadAlertNotifications_Call ¶ added in v0.5.2
GrafanaService_DownloadAlertNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAlertNotifications'
func (*GrafanaService_DownloadAlertNotifications_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DownloadAlertNotifications_Call) Return(s string, err error) *GrafanaService_DownloadAlertNotifications_Call
func (*GrafanaService_DownloadAlertNotifications_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DownloadAlertNotifications_Call) Run(run func()) *GrafanaService_DownloadAlertNotifications_Call
func (*GrafanaService_DownloadAlertNotifications_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DownloadAlertNotifications_Call) RunAndReturn(run func() (string, error)) *GrafanaService_DownloadAlertNotifications_Call
type GrafanaService_DownloadAlertRules_Call ¶ added in v0.8.0
GrafanaService_DownloadAlertRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAlertRules'
func (*GrafanaService_DownloadAlertRules_Call) Return ¶ added in v0.8.0
func (_c *GrafanaService_DownloadAlertRules_Call) Return(strings []string, err error) *GrafanaService_DownloadAlertRules_Call
func (*GrafanaService_DownloadAlertRules_Call) Run ¶ added in v0.8.0
func (_c *GrafanaService_DownloadAlertRules_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadAlertRules_Call
func (*GrafanaService_DownloadAlertRules_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GrafanaService_DownloadAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]string, error)) *GrafanaService_DownloadAlertRules_Call
type GrafanaService_DownloadAlertTemplates_Call ¶ added in v0.8.0
GrafanaService_DownloadAlertTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAlertTemplates'
func (*GrafanaService_DownloadAlertTemplates_Call) Return ¶ added in v0.8.0
func (_c *GrafanaService_DownloadAlertTemplates_Call) Return(s string, err error) *GrafanaService_DownloadAlertTemplates_Call
func (*GrafanaService_DownloadAlertTemplates_Call) Run ¶ added in v0.8.0
func (_c *GrafanaService_DownloadAlertTemplates_Call) Run(run func()) *GrafanaService_DownloadAlertTemplates_Call
func (*GrafanaService_DownloadAlertTemplates_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GrafanaService_DownloadAlertTemplates_Call) RunAndReturn(run func() (string, error)) *GrafanaService_DownloadAlertTemplates_Call
type GrafanaService_DownloadAlertTimings_Call ¶ added in v0.9.1
GrafanaService_DownloadAlertTimings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAlertTimings'
func (*GrafanaService_DownloadAlertTimings_Call) Return ¶ added in v0.9.1
func (_c *GrafanaService_DownloadAlertTimings_Call) Return(s string, err error) *GrafanaService_DownloadAlertTimings_Call
func (*GrafanaService_DownloadAlertTimings_Call) Run ¶ added in v0.9.1
func (_c *GrafanaService_DownloadAlertTimings_Call) Run(run func()) *GrafanaService_DownloadAlertTimings_Call
func (*GrafanaService_DownloadAlertTimings_Call) RunAndReturn ¶ added in v0.9.1
func (_c *GrafanaService_DownloadAlertTimings_Call) RunAndReturn(run func() (string, error)) *GrafanaService_DownloadAlertTimings_Call
type GrafanaService_DownloadConnectionPermissions_Call ¶ added in v0.5.2
GrafanaService_DownloadConnectionPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadConnectionPermissions'
func (*GrafanaService_DownloadConnectionPermissions_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DownloadConnectionPermissions_Call) Return(strings []string) *GrafanaService_DownloadConnectionPermissions_Call
func (*GrafanaService_DownloadConnectionPermissions_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DownloadConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadConnectionPermissions_Call
func (*GrafanaService_DownloadConnectionPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DownloadConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadConnectionPermissions_Call
type GrafanaService_DownloadConnections_Call ¶ added in v0.5.2
GrafanaService_DownloadConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadConnections'
func (*GrafanaService_DownloadConnections_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DownloadConnections_Call) Return(strings []string) *GrafanaService_DownloadConnections_Call
func (*GrafanaService_DownloadConnections_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DownloadConnections_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadConnections_Call
func (*GrafanaService_DownloadConnections_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DownloadConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadConnections_Call
type GrafanaService_DownloadContactPoints_Call ¶ added in v0.7.2
GrafanaService_DownloadContactPoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadContactPoints'
func (*GrafanaService_DownloadContactPoints_Call) Return ¶ added in v0.7.2
func (_c *GrafanaService_DownloadContactPoints_Call) Return(s string, err error) *GrafanaService_DownloadContactPoints_Call
func (*GrafanaService_DownloadContactPoints_Call) Run ¶ added in v0.7.2
func (_c *GrafanaService_DownloadContactPoints_Call) Run(run func()) *GrafanaService_DownloadContactPoints_Call
func (*GrafanaService_DownloadContactPoints_Call) RunAndReturn ¶ added in v0.7.2
func (_c *GrafanaService_DownloadContactPoints_Call) RunAndReturn(run func() (string, error)) *GrafanaService_DownloadContactPoints_Call
type GrafanaService_DownloadDashboardPermissions_Call ¶ added in v0.7.2
GrafanaService_DownloadDashboardPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadDashboardPermissions'
func (*GrafanaService_DownloadDashboardPermissions_Call) Return ¶ added in v0.7.2
func (_c *GrafanaService_DownloadDashboardPermissions_Call) Return(strings []string, err error) *GrafanaService_DownloadDashboardPermissions_Call
func (*GrafanaService_DownloadDashboardPermissions_Call) Run ¶ added in v0.7.2
func (_c *GrafanaService_DownloadDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *GrafanaService_DownloadDashboardPermissions_Call
func (*GrafanaService_DownloadDashboardPermissions_Call) RunAndReturn ¶ added in v0.7.2
func (_c *GrafanaService_DownloadDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]string, error)) *GrafanaService_DownloadDashboardPermissions_Call
type GrafanaService_DownloadDashboards_Call ¶ added in v0.5.2
GrafanaService_DownloadDashboards_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadDashboards'
func (*GrafanaService_DownloadDashboards_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DownloadDashboards_Call) Return(strings []string) *GrafanaService_DownloadDashboards_Call
func (*GrafanaService_DownloadDashboards_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DownloadDashboards_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadDashboards_Call
func (*GrafanaService_DownloadDashboards_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DownloadDashboards_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadDashboards_Call
type GrafanaService_DownloadFolderPermissions_Call ¶ added in v0.5.2
GrafanaService_DownloadFolderPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadFolderPermissions'
func (*GrafanaService_DownloadFolderPermissions_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DownloadFolderPermissions_Call) Return(strings []string) *GrafanaService_DownloadFolderPermissions_Call
func (*GrafanaService_DownloadFolderPermissions_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DownloadFolderPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadFolderPermissions_Call
func (*GrafanaService_DownloadFolderPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DownloadFolderPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadFolderPermissions_Call
type GrafanaService_DownloadFolders_Call ¶ added in v0.5.2
GrafanaService_DownloadFolders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadFolders'
func (*GrafanaService_DownloadFolders_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DownloadFolders_Call) Return(strings []string) *GrafanaService_DownloadFolders_Call
func (*GrafanaService_DownloadFolders_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DownloadFolders_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadFolders_Call
func (*GrafanaService_DownloadFolders_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DownloadFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadFolders_Call
type GrafanaService_DownloadLibraryElements_Call ¶ added in v0.5.2
GrafanaService_DownloadLibraryElements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadLibraryElements'
func (*GrafanaService_DownloadLibraryElements_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DownloadLibraryElements_Call) Return(strings []string) *GrafanaService_DownloadLibraryElements_Call
func (*GrafanaService_DownloadLibraryElements_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DownloadLibraryElements_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadLibraryElements_Call
func (*GrafanaService_DownloadLibraryElements_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DownloadLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadLibraryElements_Call
type GrafanaService_DownloadOrganizations_Call ¶ added in v0.5.2
GrafanaService_DownloadOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadOrganizations'
func (*GrafanaService_DownloadOrganizations_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DownloadOrganizations_Call) Return(strings []string) *GrafanaService_DownloadOrganizations_Call
func (*GrafanaService_DownloadOrganizations_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DownloadOrganizations_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadOrganizations_Call
func (*GrafanaService_DownloadOrganizations_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DownloadOrganizations_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadOrganizations_Call
type GrafanaService_DownloadTeams_Call ¶ added in v0.5.2
GrafanaService_DownloadTeams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadTeams'
func (*GrafanaService_DownloadTeams_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DownloadTeams_Call) Return(teamDTOToTeamMemberDTOs map[*models.TeamDTO][]*models.TeamMemberDTO) *GrafanaService_DownloadTeams_Call
func (*GrafanaService_DownloadTeams_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DownloadTeams_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadTeams_Call
func (*GrafanaService_DownloadTeams_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DownloadTeams_Call) RunAndReturn(run func(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO) *GrafanaService_DownloadTeams_Call
type GrafanaService_DownloadUsers_Call ¶ added in v0.5.2
GrafanaService_DownloadUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadUsers'
func (*GrafanaService_DownloadUsers_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_DownloadUsers_Call) Return(strings []string) *GrafanaService_DownloadUsers_Call
func (*GrafanaService_DownloadUsers_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_DownloadUsers_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_DownloadUsers_Call
func (*GrafanaService_DownloadUsers_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_DownloadUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_DownloadUsers_Call
type GrafanaService_EncodeValue_Call ¶ added in v0.9.1
GrafanaService_EncodeValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EncodeValue'
func (*GrafanaService_EncodeValue_Call) Return ¶ added in v0.9.1
func (_c *GrafanaService_EncodeValue_Call) Return(s string) *GrafanaService_EncodeValue_Call
func (*GrafanaService_EncodeValue_Call) Run ¶ added in v0.9.1
func (_c *GrafanaService_EncodeValue_Call) Run(run func(in string)) *GrafanaService_EncodeValue_Call
func (*GrafanaService_EncodeValue_Call) RunAndReturn ¶ added in v0.9.1
func (_c *GrafanaService_EncodeValue_Call) RunAndReturn(run func(in string) string) *GrafanaService_EncodeValue_Call
type GrafanaService_Expecter ¶ added in v0.5.2
type GrafanaService_Expecter struct {
// contains filtered or unexported fields
}
func (*GrafanaService_Expecter) AddUserToOrg ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) AddUserToOrg(role interface{}, orgSlug interface{}, userId interface{}) *GrafanaService_AddUserToOrg_Call
AddUserToOrg is a helper method to define mock.On call
- role string
- orgSlug string
- userId int64
func (*GrafanaService_Expecter) ClearAlertNotifications ¶ added in v0.8.0
func (_e *GrafanaService_Expecter) ClearAlertNotifications() *GrafanaService_ClearAlertNotifications_Call
ClearAlertNotifications is a helper method to define mock.On call
func (*GrafanaService_Expecter) ClearAlertRules ¶ added in v0.8.0
func (_e *GrafanaService_Expecter) ClearAlertRules(filter interface{}) *GrafanaService_ClearAlertRules_Call
ClearAlertRules is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) ClearAlertTemplates ¶ added in v0.8.0
func (_e *GrafanaService_Expecter) ClearAlertTemplates() *GrafanaService_ClearAlertTemplates_Call
ClearAlertTemplates is a helper method to define mock.On call
func (*GrafanaService_Expecter) ClearAlertTimings ¶ added in v0.9.1
func (_e *GrafanaService_Expecter) ClearAlertTimings() *GrafanaService_ClearAlertTimings_Call
ClearAlertTimings is a helper method to define mock.On call
func (*GrafanaService_Expecter) ClearContactPoints ¶ added in v0.7.2
func (_e *GrafanaService_Expecter) ClearContactPoints() *GrafanaService_ClearContactPoints_Call
ClearContactPoints is a helper method to define mock.On call
func (*GrafanaService_Expecter) ClearDashboardPermissions ¶ added in v0.7.2
func (_e *GrafanaService_Expecter) ClearDashboardPermissions(filterReq interface{}) *GrafanaService_ClearDashboardPermissions_Call
ClearDashboardPermissions is a helper method to define mock.On call
- filterReq filters.V2Filter
func (*GrafanaService_Expecter) CreateServiceAccount ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) CreateServiceAccount(name interface{}, role interface{}, expiration interface{}) *GrafanaService_CreateServiceAccount_Call
CreateServiceAccount is a helper method to define mock.On call
- name string
- role string
- expiration int64
func (*GrafanaService_Expecter) CreateServiceAccountToken ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) CreateServiceAccountToken(serviceAccountId interface{}, name interface{}, expiration interface{}) *GrafanaService_CreateServiceAccountToken_Call
CreateServiceAccountToken is a helper method to define mock.On call
- serviceAccountId int64
- name string
- expiration int64
func (*GrafanaService_Expecter) DecodeValue ¶ added in v0.9.1
func (_e *GrafanaService_Expecter) DecodeValue(in interface{}) *GrafanaService_DecodeValue_Call
DecodeValue is a helper method to define mock.On call
- in string
func (*GrafanaService_Expecter) DeleteAllConnectionPermissions ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DeleteAllConnectionPermissions(filter interface{}) *GrafanaService_DeleteAllConnectionPermissions_Call
DeleteAllConnectionPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DeleteAllConnections ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DeleteAllConnections(filter interface{}) *GrafanaService_DeleteAllConnections_Call
DeleteAllConnections is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DeleteAllDashboards ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DeleteAllDashboards(filter interface{}) *GrafanaService_DeleteAllDashboards_Call
DeleteAllDashboards is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DeleteAllFolders ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DeleteAllFolders(filter interface{}) *GrafanaService_DeleteAllFolders_Call
DeleteAllFolders is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DeleteAllLibraryElements ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DeleteAllLibraryElements(filter interface{}) *GrafanaService_DeleteAllLibraryElements_Call
DeleteAllLibraryElements is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DeleteAllServiceAccounts ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DeleteAllServiceAccounts() *GrafanaService_DeleteAllServiceAccounts_Call
DeleteAllServiceAccounts is a helper method to define mock.On call
func (*GrafanaService_Expecter) DeleteAllUsers ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DeleteAllUsers(filter interface{}) *GrafanaService_DeleteAllUsers_Call
DeleteAllUsers is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DeleteServiceAccount ¶ added in v0.8.0
func (_e *GrafanaService_Expecter) DeleteServiceAccount(accountId interface{}) *GrafanaService_DeleteServiceAccount_Call
DeleteServiceAccount is a helper method to define mock.On call
- accountId int64
func (*GrafanaService_Expecter) DeleteServiceAccountTokens ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DeleteServiceAccountTokens(serviceId interface{}) *GrafanaService_DeleteServiceAccountTokens_Call
DeleteServiceAccountTokens is a helper method to define mock.On call
- serviceId int64
func (*GrafanaService_Expecter) DeleteTeam ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DeleteTeam(filter interface{}) *GrafanaService_DeleteTeam_Call
DeleteTeam is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DeleteUserFromOrg ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DeleteUserFromOrg(orgId interface{}, userId interface{}) *GrafanaService_DeleteUserFromOrg_Call
DeleteUserFromOrg is a helper method to define mock.On call
- orgId string
- userId int64
func (*GrafanaService_Expecter) DownloadAlertNotifications ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DownloadAlertNotifications() *GrafanaService_DownloadAlertNotifications_Call
DownloadAlertNotifications is a helper method to define mock.On call
func (*GrafanaService_Expecter) DownloadAlertRules ¶ added in v0.8.0
func (_e *GrafanaService_Expecter) DownloadAlertRules(filter interface{}) *GrafanaService_DownloadAlertRules_Call
DownloadAlertRules is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DownloadAlertTemplates ¶ added in v0.8.0
func (_e *GrafanaService_Expecter) DownloadAlertTemplates() *GrafanaService_DownloadAlertTemplates_Call
DownloadAlertTemplates is a helper method to define mock.On call
func (*GrafanaService_Expecter) DownloadAlertTimings ¶ added in v0.9.1
func (_e *GrafanaService_Expecter) DownloadAlertTimings() *GrafanaService_DownloadAlertTimings_Call
DownloadAlertTimings is a helper method to define mock.On call
func (*GrafanaService_Expecter) DownloadConnectionPermissions ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DownloadConnectionPermissions(filter interface{}) *GrafanaService_DownloadConnectionPermissions_Call
DownloadConnectionPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DownloadConnections ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DownloadConnections(filter interface{}) *GrafanaService_DownloadConnections_Call
DownloadConnections is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DownloadContactPoints ¶ added in v0.7.2
func (_e *GrafanaService_Expecter) DownloadContactPoints() *GrafanaService_DownloadContactPoints_Call
DownloadContactPoints is a helper method to define mock.On call
func (*GrafanaService_Expecter) DownloadDashboardPermissions ¶ added in v0.7.2
func (_e *GrafanaService_Expecter) DownloadDashboardPermissions(filterReq interface{}) *GrafanaService_DownloadDashboardPermissions_Call
DownloadDashboardPermissions is a helper method to define mock.On call
- filterReq filters.V2Filter
func (*GrafanaService_Expecter) DownloadDashboards ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DownloadDashboards(filter interface{}) *GrafanaService_DownloadDashboards_Call
DownloadDashboards is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DownloadFolderPermissions ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DownloadFolderPermissions(filter interface{}) *GrafanaService_DownloadFolderPermissions_Call
DownloadFolderPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DownloadFolders ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DownloadFolders(filter interface{}) *GrafanaService_DownloadFolders_Call
DownloadFolders is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DownloadLibraryElements ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DownloadLibraryElements(filter interface{}) *GrafanaService_DownloadLibraryElements_Call
DownloadLibraryElements is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DownloadOrganizations ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DownloadOrganizations(filter interface{}) *GrafanaService_DownloadOrganizations_Call
DownloadOrganizations is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DownloadTeams ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DownloadTeams(filter interface{}) *GrafanaService_DownloadTeams_Call
DownloadTeams is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) DownloadUsers ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) DownloadUsers(filter interface{}) *GrafanaService_DownloadUsers_Call
DownloadUsers is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) EncodeValue ¶ added in v0.9.1
func (_e *GrafanaService_Expecter) EncodeValue(in interface{}) *GrafanaService_EncodeValue_Call
EncodeValue is a helper method to define mock.On call
- in string
func (*GrafanaService_Expecter) GetOrgPreferences ¶ added in v0.6.0
func (_e *GrafanaService_Expecter) GetOrgPreferences(orgName interface{}) *GrafanaService_GetOrgPreferences_Call
GetOrgPreferences is a helper method to define mock.On call
- orgName string
func (*GrafanaService_Expecter) GetServerInfo ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) GetServerInfo() *GrafanaService_GetServerInfo_Call
GetServerInfo is a helper method to define mock.On call
func (*GrafanaService_Expecter) GetTokenOrganization ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) GetTokenOrganization() *GrafanaService_GetTokenOrganization_Call
GetTokenOrganization is a helper method to define mock.On call
func (*GrafanaService_Expecter) GetUserInfo ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) GetUserInfo() *GrafanaService_GetUserInfo_Call
GetUserInfo is a helper method to define mock.On call
func (*GrafanaService_Expecter) GetUserOrganization ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) GetUserOrganization() *GrafanaService_GetUserOrganization_Call
GetUserOrganization is a helper method to define mock.On call
func (*GrafanaService_Expecter) InitOrganizations ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) InitOrganizations() *GrafanaService_InitOrganizations_Call
InitOrganizations is a helper method to define mock.On call
func (*GrafanaService_Expecter) IsEnterprise ¶ added in v0.7.1
func (_e *GrafanaService_Expecter) IsEnterprise() *GrafanaService_IsEnterprise_Call
IsEnterprise is a helper method to define mock.On call
func (*GrafanaService_Expecter) ListAlertNotifications ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListAlertNotifications() *GrafanaService_ListAlertNotifications_Call
ListAlertNotifications is a helper method to define mock.On call
func (*GrafanaService_Expecter) ListAlertRules ¶ added in v0.8.0
func (_e *GrafanaService_Expecter) ListAlertRules(filter interface{}) *GrafanaService_ListAlertRules_Call
ListAlertRules is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) ListAlertTemplates ¶ added in v0.8.0
func (_e *GrafanaService_Expecter) ListAlertTemplates() *GrafanaService_ListAlertTemplates_Call
ListAlertTemplates is a helper method to define mock.On call
func (*GrafanaService_Expecter) ListAlertTimings ¶ added in v0.9.1
func (_e *GrafanaService_Expecter) ListAlertTimings() *GrafanaService_ListAlertTimings_Call
ListAlertTimings is a helper method to define mock.On call
func (*GrafanaService_Expecter) ListConnectionPermissions ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListConnectionPermissions(filter interface{}) *GrafanaService_ListConnectionPermissions_Call
ListConnectionPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) ListConnections ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListConnections(filter interface{}) *GrafanaService_ListConnections_Call
ListConnections is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) ListContactPoints ¶ added in v0.7.2
func (_e *GrafanaService_Expecter) ListContactPoints() *GrafanaService_ListContactPoints_Call
ListContactPoints is a helper method to define mock.On call
func (*GrafanaService_Expecter) ListDashboardPermissions ¶ added in v0.7.2
func (_e *GrafanaService_Expecter) ListDashboardPermissions(filterReq interface{}) *GrafanaService_ListDashboardPermissions_Call
ListDashboardPermissions is a helper method to define mock.On call
- filterReq filters.V2Filter
func (*GrafanaService_Expecter) ListDashboards ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListDashboards(filter interface{}) *GrafanaService_ListDashboards_Call
ListDashboards is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) ListFolderPermissions ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListFolderPermissions(filter interface{}) *GrafanaService_ListFolderPermissions_Call
ListFolderPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) ListFolders ¶ added in v0.7.1
func (_e *GrafanaService_Expecter) ListFolders(filter interface{}) *GrafanaService_ListFolders_Call
ListFolders is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) ListLibraryElements ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListLibraryElements(filter interface{}) *GrafanaService_ListLibraryElements_Call
ListLibraryElements is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) ListLibraryElementsConnections ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListLibraryElementsConnections(filter interface{}, connectionID interface{}) *GrafanaService_ListLibraryElementsConnections_Call
ListLibraryElementsConnections is a helper method to define mock.On call
- filter filters.V2Filter
- connectionID string
func (*GrafanaService_Expecter) ListOrgUsers ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListOrgUsers(orgId interface{}) *GrafanaService_ListOrgUsers_Call
ListOrgUsers is a helper method to define mock.On call
- orgId int64
func (*GrafanaService_Expecter) ListOrganizations ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListOrganizations(filter interface{}, withPreferences interface{}) *GrafanaService_ListOrganizations_Call
ListOrganizations is a helper method to define mock.On call
- filter filters.V2Filter
- withPreferences bool
func (*GrafanaService_Expecter) ListServiceAccounts ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListServiceAccounts() *GrafanaService_ListServiceAccounts_Call
ListServiceAccounts is a helper method to define mock.On call
func (*GrafanaService_Expecter) ListServiceAccountsTokens ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListServiceAccountsTokens(id interface{}) *GrafanaService_ListServiceAccountsTokens_Call
ListServiceAccountsTokens is a helper method to define mock.On call
- id int64
func (*GrafanaService_Expecter) ListTeams ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListTeams(filter interface{}) *GrafanaService_ListTeams_Call
ListTeams is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) ListUserOrganizations ¶ added in v0.6.0
func (_e *GrafanaService_Expecter) ListUserOrganizations() *GrafanaService_ListUserOrganizations_Call
ListUserOrganizations is a helper method to define mock.On call
func (*GrafanaService_Expecter) ListUsers ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) ListUsers(filter interface{}) *GrafanaService_ListUsers_Call
ListUsers is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) Login ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) Login() *GrafanaService_Login_Call
Login is a helper method to define mock.On call
func (*GrafanaService_Expecter) PromoteUser ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) PromoteUser(userLogin interface{}) *GrafanaService_PromoteUser_Call
PromoteUser is a helper method to define mock.On call
- userLogin string
func (*GrafanaService_Expecter) SetOrganizationByName ¶ added in v0.6.0
func (_e *GrafanaService_Expecter) SetOrganizationByName(name interface{}, useSlug interface{}) *GrafanaService_SetOrganizationByName_Call
SetOrganizationByName is a helper method to define mock.On call
- name string
- useSlug bool
func (*GrafanaService_Expecter) SetUserOrganizations ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) SetUserOrganizations(id interface{}) *GrafanaService_SetUserOrganizations_Call
SetUserOrganizations is a helper method to define mock.On call
- id int64
func (*GrafanaService_Expecter) UpdateUserInOrg ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) UpdateUserInOrg(role interface{}, orgSlug interface{}, userId interface{}) *GrafanaService_UpdateUserInOrg_Call
UpdateUserInOrg is a helper method to define mock.On call
- role string
- orgSlug string
- userId int64
func (*GrafanaService_Expecter) UploadAlertNotifications ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) UploadAlertNotifications() *GrafanaService_UploadAlertNotifications_Call
UploadAlertNotifications is a helper method to define mock.On call
func (*GrafanaService_Expecter) UploadAlertRules ¶ added in v0.8.0
func (_e *GrafanaService_Expecter) UploadAlertRules(filter interface{}) *GrafanaService_UploadAlertRules_Call
UploadAlertRules is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) UploadAlertTemplates ¶ added in v0.8.0
func (_e *GrafanaService_Expecter) UploadAlertTemplates() *GrafanaService_UploadAlertTemplates_Call
UploadAlertTemplates is a helper method to define mock.On call
func (*GrafanaService_Expecter) UploadAlertTimings ¶ added in v0.9.1
func (_e *GrafanaService_Expecter) UploadAlertTimings() *GrafanaService_UploadAlertTimings_Call
UploadAlertTimings is a helper method to define mock.On call
func (*GrafanaService_Expecter) UploadConnectionPermissions ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) UploadConnectionPermissions(filter interface{}) *GrafanaService_UploadConnectionPermissions_Call
UploadConnectionPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) UploadConnections ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) UploadConnections(filter interface{}) *GrafanaService_UploadConnections_Call
UploadConnections is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) UploadContactPoints ¶ added in v0.7.2
func (_e *GrafanaService_Expecter) UploadContactPoints() *GrafanaService_UploadContactPoints_Call
UploadContactPoints is a helper method to define mock.On call
func (*GrafanaService_Expecter) UploadDashboardPermissions ¶ added in v0.7.2
func (_e *GrafanaService_Expecter) UploadDashboardPermissions(filterReq interface{}) *GrafanaService_UploadDashboardPermissions_Call
UploadDashboardPermissions is a helper method to define mock.On call
- filterReq filters.V2Filter
func (*GrafanaService_Expecter) UploadDashboards ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) UploadDashboards(filterReq interface{}) *GrafanaService_UploadDashboards_Call
UploadDashboards is a helper method to define mock.On call
- filterReq filters.V2Filter
func (*GrafanaService_Expecter) UploadFolderPermissions ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) UploadFolderPermissions(filter interface{}) *GrafanaService_UploadFolderPermissions_Call
UploadFolderPermissions is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) UploadFolders ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) UploadFolders(filter interface{}) *GrafanaService_UploadFolders_Call
UploadFolders is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) UploadLibraryElements ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) UploadLibraryElements(filter interface{}) *GrafanaService_UploadLibraryElements_Call
UploadLibraryElements is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) UploadOrgPreferences ¶ added in v0.6.0
func (_e *GrafanaService_Expecter) UploadOrgPreferences(orgName interface{}, pref interface{}) *GrafanaService_UploadOrgPreferences_Call
UploadOrgPreferences is a helper method to define mock.On call
- orgName string
- pref *models.PreferencesSpec
func (*GrafanaService_Expecter) UploadOrganizations ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) UploadOrganizations(filter interface{}) *GrafanaService_UploadOrganizations_Call
UploadOrganizations is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) UploadTeams ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) UploadTeams(filter interface{}) *GrafanaService_UploadTeams_Call
UploadTeams is a helper method to define mock.On call
- filter filters.V2Filter
func (*GrafanaService_Expecter) UploadUsers ¶ added in v0.5.2
func (_e *GrafanaService_Expecter) UploadUsers(filter interface{}) *GrafanaService_UploadUsers_Call
UploadUsers is a helper method to define mock.On call
- filter filters.V2Filter
type GrafanaService_GetOrgPreferences_Call ¶ added in v0.6.0
GrafanaService_GetOrgPreferences_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrgPreferences'
func (*GrafanaService_GetOrgPreferences_Call) Return ¶ added in v0.6.0
func (_c *GrafanaService_GetOrgPreferences_Call) Return(preferencesSpec *models.PreferencesSpec, err error) *GrafanaService_GetOrgPreferences_Call
func (*GrafanaService_GetOrgPreferences_Call) Run ¶ added in v0.6.0
func (_c *GrafanaService_GetOrgPreferences_Call) Run(run func(orgName string)) *GrafanaService_GetOrgPreferences_Call
func (*GrafanaService_GetOrgPreferences_Call) RunAndReturn ¶ added in v0.6.0
func (_c *GrafanaService_GetOrgPreferences_Call) RunAndReturn(run func(orgName string) (*models.PreferencesSpec, error)) *GrafanaService_GetOrgPreferences_Call
type GrafanaService_GetServerInfo_Call ¶ added in v0.5.2
GrafanaService_GetServerInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServerInfo'
func (*GrafanaService_GetServerInfo_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_GetServerInfo_Call) Return(stringToV map[string]any) *GrafanaService_GetServerInfo_Call
func (*GrafanaService_GetServerInfo_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_GetServerInfo_Call) Run(run func()) *GrafanaService_GetServerInfo_Call
func (*GrafanaService_GetServerInfo_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_GetServerInfo_Call) RunAndReturn(run func() map[string]any) *GrafanaService_GetServerInfo_Call
type GrafanaService_GetTokenOrganization_Call ¶ added in v0.5.2
GrafanaService_GetTokenOrganization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTokenOrganization'
func (*GrafanaService_GetTokenOrganization_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_GetTokenOrganization_Call) Return(orgDetailsDTO *models.OrgDetailsDTO) *GrafanaService_GetTokenOrganization_Call
func (*GrafanaService_GetTokenOrganization_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_GetTokenOrganization_Call) Run(run func()) *GrafanaService_GetTokenOrganization_Call
func (*GrafanaService_GetTokenOrganization_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_GetTokenOrganization_Call) RunAndReturn(run func() *models.OrgDetailsDTO) *GrafanaService_GetTokenOrganization_Call
type GrafanaService_GetUserInfo_Call ¶ added in v0.5.2
GrafanaService_GetUserInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserInfo'
func (*GrafanaService_GetUserInfo_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_GetUserInfo_Call) Return(userProfileDTO *models.UserProfileDTO, err error) *GrafanaService_GetUserInfo_Call
func (*GrafanaService_GetUserInfo_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_GetUserInfo_Call) Run(run func()) *GrafanaService_GetUserInfo_Call
func (*GrafanaService_GetUserInfo_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_GetUserInfo_Call) RunAndReturn(run func() (*models.UserProfileDTO, error)) *GrafanaService_GetUserInfo_Call
type GrafanaService_GetUserOrganization_Call ¶ added in v0.5.2
GrafanaService_GetUserOrganization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserOrganization'
func (*GrafanaService_GetUserOrganization_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_GetUserOrganization_Call) Return(orgDetailsDTO *models.OrgDetailsDTO) *GrafanaService_GetUserOrganization_Call
func (*GrafanaService_GetUserOrganization_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_GetUserOrganization_Call) Run(run func()) *GrafanaService_GetUserOrganization_Call
func (*GrafanaService_GetUserOrganization_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_GetUserOrganization_Call) RunAndReturn(run func() *models.OrgDetailsDTO) *GrafanaService_GetUserOrganization_Call
type GrafanaService_InitOrganizations_Call ¶ added in v0.5.2
GrafanaService_InitOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitOrganizations'
func (*GrafanaService_InitOrganizations_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_InitOrganizations_Call) Return() *GrafanaService_InitOrganizations_Call
func (*GrafanaService_InitOrganizations_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_InitOrganizations_Call) Run(run func()) *GrafanaService_InitOrganizations_Call
func (*GrafanaService_InitOrganizations_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_InitOrganizations_Call) RunAndReturn(run func()) *GrafanaService_InitOrganizations_Call
type GrafanaService_IsEnterprise_Call ¶ added in v0.7.1
GrafanaService_IsEnterprise_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsEnterprise'
func (*GrafanaService_IsEnterprise_Call) Return ¶ added in v0.7.1
func (_c *GrafanaService_IsEnterprise_Call) Return(b bool) *GrafanaService_IsEnterprise_Call
func (*GrafanaService_IsEnterprise_Call) Run ¶ added in v0.7.1
func (_c *GrafanaService_IsEnterprise_Call) Run(run func()) *GrafanaService_IsEnterprise_Call
func (*GrafanaService_IsEnterprise_Call) RunAndReturn ¶ added in v0.7.1
func (_c *GrafanaService_IsEnterprise_Call) RunAndReturn(run func() bool) *GrafanaService_IsEnterprise_Call
type GrafanaService_ListAlertNotifications_Call ¶ added in v0.5.2
GrafanaService_ListAlertNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlertNotifications'
func (*GrafanaService_ListAlertNotifications_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListAlertNotifications_Call) Return(route *models.Route, err error) *GrafanaService_ListAlertNotifications_Call
func (*GrafanaService_ListAlertNotifications_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListAlertNotifications_Call) Run(run func()) *GrafanaService_ListAlertNotifications_Call
func (*GrafanaService_ListAlertNotifications_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListAlertNotifications_Call) RunAndReturn(run func() (*models.Route, error)) *GrafanaService_ListAlertNotifications_Call
type GrafanaService_ListAlertRules_Call ¶ added in v0.8.0
GrafanaService_ListAlertRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlertRules'
func (*GrafanaService_ListAlertRules_Call) Return ¶ added in v0.8.0
func (_c *GrafanaService_ListAlertRules_Call) Return(alertRuleWithNestedFolders []*domain.AlertRuleWithNestedFolder, err error) *GrafanaService_ListAlertRules_Call
func (*GrafanaService_ListAlertRules_Call) Run ¶ added in v0.8.0
func (_c *GrafanaService_ListAlertRules_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListAlertRules_Call
func (*GrafanaService_ListAlertRules_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GrafanaService_ListAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) ([]*domain.AlertRuleWithNestedFolder, error)) *GrafanaService_ListAlertRules_Call
type GrafanaService_ListAlertTemplates_Call ¶ added in v0.8.0
GrafanaService_ListAlertTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlertTemplates'
func (*GrafanaService_ListAlertTemplates_Call) Return ¶ added in v0.8.0
func (_c *GrafanaService_ListAlertTemplates_Call) Return(notificationTemplates []*models.NotificationTemplate, err error) *GrafanaService_ListAlertTemplates_Call
func (*GrafanaService_ListAlertTemplates_Call) Run ¶ added in v0.8.0
func (_c *GrafanaService_ListAlertTemplates_Call) Run(run func()) *GrafanaService_ListAlertTemplates_Call
func (*GrafanaService_ListAlertTemplates_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GrafanaService_ListAlertTemplates_Call) RunAndReturn(run func() ([]*models.NotificationTemplate, error)) *GrafanaService_ListAlertTemplates_Call
type GrafanaService_ListAlertTimings_Call ¶ added in v0.9.1
GrafanaService_ListAlertTimings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlertTimings'
func (*GrafanaService_ListAlertTimings_Call) Return ¶ added in v0.9.1
func (_c *GrafanaService_ListAlertTimings_Call) Return(muteTimeIntervals []*models.MuteTimeInterval, err error) *GrafanaService_ListAlertTimings_Call
func (*GrafanaService_ListAlertTimings_Call) Run ¶ added in v0.9.1
func (_c *GrafanaService_ListAlertTimings_Call) Run(run func()) *GrafanaService_ListAlertTimings_Call
func (*GrafanaService_ListAlertTimings_Call) RunAndReturn ¶ added in v0.9.1
func (_c *GrafanaService_ListAlertTimings_Call) RunAndReturn(run func() ([]*models.MuteTimeInterval, error)) *GrafanaService_ListAlertTimings_Call
type GrafanaService_ListConnectionPermissions_Call ¶ added in v0.5.2
GrafanaService_ListConnectionPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListConnectionPermissions'
func (*GrafanaService_ListConnectionPermissions_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListConnectionPermissions_Call) Return(connectionPermissionItems []domain.ConnectionPermissionItem) *GrafanaService_ListConnectionPermissions_Call
func (*GrafanaService_ListConnectionPermissions_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListConnectionPermissions_Call
func (*GrafanaService_ListConnectionPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []domain.ConnectionPermissionItem) *GrafanaService_ListConnectionPermissions_Call
type GrafanaService_ListConnections_Call ¶ added in v0.5.2
GrafanaService_ListConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListConnections'
func (*GrafanaService_ListConnections_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListConnections_Call) Return(dataSourceListItemDTOs []models.DataSourceListItemDTO) *GrafanaService_ListConnections_Call
func (*GrafanaService_ListConnections_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListConnections_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListConnections_Call
func (*GrafanaService_ListConnections_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []models.DataSourceListItemDTO) *GrafanaService_ListConnections_Call
type GrafanaService_ListContactPoints_Call ¶ added in v0.7.2
GrafanaService_ListContactPoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListContactPoints'
func (*GrafanaService_ListContactPoints_Call) Return ¶ added in v0.7.2
func (_c *GrafanaService_ListContactPoints_Call) Return(embeddedContactPoints []*models.EmbeddedContactPoint, err error) *GrafanaService_ListContactPoints_Call
func (*GrafanaService_ListContactPoints_Call) Run ¶ added in v0.7.2
func (_c *GrafanaService_ListContactPoints_Call) Run(run func()) *GrafanaService_ListContactPoints_Call
func (*GrafanaService_ListContactPoints_Call) RunAndReturn ¶ added in v0.7.2
func (_c *GrafanaService_ListContactPoints_Call) RunAndReturn(run func() ([]*models.EmbeddedContactPoint, error)) *GrafanaService_ListContactPoints_Call
type GrafanaService_ListDashboardPermissions_Call ¶ added in v0.7.2
GrafanaService_ListDashboardPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDashboardPermissions'
func (*GrafanaService_ListDashboardPermissions_Call) Return ¶ added in v0.7.2
func (_c *GrafanaService_ListDashboardPermissions_Call) Return(dashboardAndPermissionss []domain.DashboardAndPermissions, err error) *GrafanaService_ListDashboardPermissions_Call
func (*GrafanaService_ListDashboardPermissions_Call) Run ¶ added in v0.7.2
func (_c *GrafanaService_ListDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *GrafanaService_ListDashboardPermissions_Call
func (*GrafanaService_ListDashboardPermissions_Call) RunAndReturn ¶ added in v0.7.2
func (_c *GrafanaService_ListDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]domain.DashboardAndPermissions, error)) *GrafanaService_ListDashboardPermissions_Call
type GrafanaService_ListDashboards_Call ¶ added in v0.5.2
GrafanaService_ListDashboards_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDashboards'
func (*GrafanaService_ListDashboards_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListDashboards_Call) Return(nestedHits []*domain.NestedHit) *GrafanaService_ListDashboards_Call
func (*GrafanaService_ListDashboards_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListDashboards_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListDashboards_Call
func (*GrafanaService_ListDashboards_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListDashboards_Call) RunAndReturn(run func(filter filters.V2Filter) []*domain.NestedHit) *GrafanaService_ListDashboards_Call
type GrafanaService_ListFolderPermissions_Call ¶ added in v0.5.2
GrafanaService_ListFolderPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListFolderPermissions'
func (*GrafanaService_ListFolderPermissions_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListFolderPermissions_Call) Return(nestedHitToDashboardACLInfoDTOs map[*domain.NestedHit][]*models.DashboardACLInfoDTO) *GrafanaService_ListFolderPermissions_Call
func (*GrafanaService_ListFolderPermissions_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListFolderPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListFolderPermissions_Call
func (*GrafanaService_ListFolderPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListFolderPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) map[*domain.NestedHit][]*models.DashboardACLInfoDTO) *GrafanaService_ListFolderPermissions_Call
type GrafanaService_ListFolders_Call ¶ added in v0.7.1
GrafanaService_ListFolders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListFolders'
func (*GrafanaService_ListFolders_Call) Return ¶ added in v0.7.1
func (_c *GrafanaService_ListFolders_Call) Return(nestedHits []*domain.NestedHit) *GrafanaService_ListFolders_Call
func (*GrafanaService_ListFolders_Call) Run ¶ added in v0.7.1
func (_c *GrafanaService_ListFolders_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListFolders_Call
func (*GrafanaService_ListFolders_Call) RunAndReturn ¶ added in v0.7.1
func (_c *GrafanaService_ListFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []*domain.NestedHit) *GrafanaService_ListFolders_Call
type GrafanaService_ListLibraryElementsConnections_Call ¶ added in v0.5.2
GrafanaService_ListLibraryElementsConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListLibraryElementsConnections'
func (*GrafanaService_ListLibraryElementsConnections_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListLibraryElementsConnections_Call) Return(dashboardFullWithMetas []*models.DashboardFullWithMeta) *GrafanaService_ListLibraryElementsConnections_Call
func (*GrafanaService_ListLibraryElementsConnections_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListLibraryElementsConnections_Call) Run(run func(filter filters.V2Filter, connectionID string)) *GrafanaService_ListLibraryElementsConnections_Call
func (*GrafanaService_ListLibraryElementsConnections_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListLibraryElementsConnections_Call) RunAndReturn(run func(filter filters.V2Filter, connectionID string) []*models.DashboardFullWithMeta) *GrafanaService_ListLibraryElementsConnections_Call
type GrafanaService_ListLibraryElements_Call ¶ added in v0.5.2
GrafanaService_ListLibraryElements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListLibraryElements'
func (*GrafanaService_ListLibraryElements_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListLibraryElements_Call) Return(withNesteds []*domain.WithNested[models.LibraryElementDTO]) *GrafanaService_ListLibraryElements_Call
func (*GrafanaService_ListLibraryElements_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListLibraryElements_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListLibraryElements_Call
func (*GrafanaService_ListLibraryElements_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []*domain.WithNested[models.LibraryElementDTO]) *GrafanaService_ListLibraryElements_Call
type GrafanaService_ListOrgUsers_Call ¶ added in v0.5.2
GrafanaService_ListOrgUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOrgUsers'
func (*GrafanaService_ListOrgUsers_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListOrgUsers_Call) Return(orgUserDTOs []*models.OrgUserDTO) *GrafanaService_ListOrgUsers_Call
func (*GrafanaService_ListOrgUsers_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListOrgUsers_Call) Run(run func(orgId int64)) *GrafanaService_ListOrgUsers_Call
func (*GrafanaService_ListOrgUsers_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListOrgUsers_Call) RunAndReturn(run func(orgId int64) []*models.OrgUserDTO) *GrafanaService_ListOrgUsers_Call
type GrafanaService_ListOrganizations_Call ¶ added in v0.5.2
GrafanaService_ListOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOrganizations'
func (*GrafanaService_ListOrganizations_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListOrganizations_Call) Return(orgsDTOWithPreferencess []*domain.OrgsDTOWithPreferences) *GrafanaService_ListOrganizations_Call
func (*GrafanaService_ListOrganizations_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListOrganizations_Call) Run(run func(filter filters.V2Filter, withPreferences bool)) *GrafanaService_ListOrganizations_Call
func (*GrafanaService_ListOrganizations_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListOrganizations_Call) RunAndReturn(run func(filter filters.V2Filter, withPreferences bool) []*domain.OrgsDTOWithPreferences) *GrafanaService_ListOrganizations_Call
type GrafanaService_ListServiceAccountsTokens_Call ¶ added in v0.5.2
GrafanaService_ListServiceAccountsTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServiceAccountsTokens'
func (*GrafanaService_ListServiceAccountsTokens_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListServiceAccountsTokens_Call) Return(tokenDTOs []*models.TokenDTO, err error) *GrafanaService_ListServiceAccountsTokens_Call
func (*GrafanaService_ListServiceAccountsTokens_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListServiceAccountsTokens_Call) Run(run func(id int64)) *GrafanaService_ListServiceAccountsTokens_Call
func (*GrafanaService_ListServiceAccountsTokens_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListServiceAccountsTokens_Call) RunAndReturn(run func(id int64) ([]*models.TokenDTO, error)) *GrafanaService_ListServiceAccountsTokens_Call
type GrafanaService_ListServiceAccounts_Call ¶ added in v0.5.2
GrafanaService_ListServiceAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServiceAccounts'
func (*GrafanaService_ListServiceAccounts_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListServiceAccounts_Call) Return(serviceAccountDTOWithTokenss []*domain.ServiceAccountDTOWithTokens) *GrafanaService_ListServiceAccounts_Call
func (*GrafanaService_ListServiceAccounts_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListServiceAccounts_Call) Run(run func()) *GrafanaService_ListServiceAccounts_Call
func (*GrafanaService_ListServiceAccounts_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListServiceAccounts_Call) RunAndReturn(run func() []*domain.ServiceAccountDTOWithTokens) *GrafanaService_ListServiceAccounts_Call
type GrafanaService_ListTeams_Call ¶ added in v0.5.2
GrafanaService_ListTeams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTeams'
func (*GrafanaService_ListTeams_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListTeams_Call) Return(teamDTOToTeamMemberDTOs map[*models.TeamDTO][]*models.TeamMemberDTO) *GrafanaService_ListTeams_Call
func (*GrafanaService_ListTeams_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListTeams_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListTeams_Call
func (*GrafanaService_ListTeams_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListTeams_Call) RunAndReturn(run func(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO) *GrafanaService_ListTeams_Call
type GrafanaService_ListUserOrganizations_Call ¶ added in v0.6.0
GrafanaService_ListUserOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUserOrganizations'
func (*GrafanaService_ListUserOrganizations_Call) Return ¶ added in v0.6.0
func (_c *GrafanaService_ListUserOrganizations_Call) Return(userOrgDTOs []*models.UserOrgDTO, err error) *GrafanaService_ListUserOrganizations_Call
func (*GrafanaService_ListUserOrganizations_Call) Run ¶ added in v0.6.0
func (_c *GrafanaService_ListUserOrganizations_Call) Run(run func()) *GrafanaService_ListUserOrganizations_Call
func (*GrafanaService_ListUserOrganizations_Call) RunAndReturn ¶ added in v0.6.0
func (_c *GrafanaService_ListUserOrganizations_Call) RunAndReturn(run func() ([]*models.UserOrgDTO, error)) *GrafanaService_ListUserOrganizations_Call
type GrafanaService_ListUsers_Call ¶ added in v0.5.2
GrafanaService_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers'
func (*GrafanaService_ListUsers_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_ListUsers_Call) Return(userSearchHitDTOs []*models.UserSearchHitDTO) *GrafanaService_ListUsers_Call
func (*GrafanaService_ListUsers_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_ListUsers_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_ListUsers_Call
func (*GrafanaService_ListUsers_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_ListUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []*models.UserSearchHitDTO) *GrafanaService_ListUsers_Call
type GrafanaService_Login_Call ¶ added in v0.5.2
GrafanaService_Login_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Login'
func (*GrafanaService_Login_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_Login_Call) Return() *GrafanaService_Login_Call
func (*GrafanaService_Login_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_Login_Call) Run(run func()) *GrafanaService_Login_Call
func (*GrafanaService_Login_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_Login_Call) RunAndReturn(run func()) *GrafanaService_Login_Call
type GrafanaService_PromoteUser_Call ¶ added in v0.5.2
GrafanaService_PromoteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PromoteUser'
func (*GrafanaService_PromoteUser_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_PromoteUser_Call) Return(s string, err error) *GrafanaService_PromoteUser_Call
func (*GrafanaService_PromoteUser_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_PromoteUser_Call) Run(run func(userLogin string)) *GrafanaService_PromoteUser_Call
func (*GrafanaService_PromoteUser_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_PromoteUser_Call) RunAndReturn(run func(userLogin string) (string, error)) *GrafanaService_PromoteUser_Call
type GrafanaService_SetOrganizationByName_Call ¶ added in v0.6.0
GrafanaService_SetOrganizationByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOrganizationByName'
func (*GrafanaService_SetOrganizationByName_Call) Return ¶ added in v0.6.0
func (_c *GrafanaService_SetOrganizationByName_Call) Return(err error) *GrafanaService_SetOrganizationByName_Call
func (*GrafanaService_SetOrganizationByName_Call) Run ¶ added in v0.6.0
func (_c *GrafanaService_SetOrganizationByName_Call) Run(run func(name string, useSlug bool)) *GrafanaService_SetOrganizationByName_Call
func (*GrafanaService_SetOrganizationByName_Call) RunAndReturn ¶ added in v0.6.0
func (_c *GrafanaService_SetOrganizationByName_Call) RunAndReturn(run func(name string, useSlug bool) error) *GrafanaService_SetOrganizationByName_Call
type GrafanaService_SetUserOrganizations_Call ¶ added in v0.5.2
GrafanaService_SetUserOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetUserOrganizations'
func (*GrafanaService_SetUserOrganizations_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_SetUserOrganizations_Call) Return(err error) *GrafanaService_SetUserOrganizations_Call
func (*GrafanaService_SetUserOrganizations_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_SetUserOrganizations_Call) Run(run func(id int64)) *GrafanaService_SetUserOrganizations_Call
func (*GrafanaService_SetUserOrganizations_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_SetUserOrganizations_Call) RunAndReturn(run func(id int64) error) *GrafanaService_SetUserOrganizations_Call
type GrafanaService_UpdateUserInOrg_Call ¶ added in v0.5.2
GrafanaService_UpdateUserInOrg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUserInOrg'
func (*GrafanaService_UpdateUserInOrg_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_UpdateUserInOrg_Call) Return(err error) *GrafanaService_UpdateUserInOrg_Call
func (*GrafanaService_UpdateUserInOrg_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_UpdateUserInOrg_Call) Run(run func(role string, orgSlug string, userId int64)) *GrafanaService_UpdateUserInOrg_Call
func (*GrafanaService_UpdateUserInOrg_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_UpdateUserInOrg_Call) RunAndReturn(run func(role string, orgSlug string, userId int64) error) *GrafanaService_UpdateUserInOrg_Call
type GrafanaService_UploadAlertNotifications_Call ¶ added in v0.5.2
GrafanaService_UploadAlertNotifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadAlertNotifications'
func (*GrafanaService_UploadAlertNotifications_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_UploadAlertNotifications_Call) Return(route *models.Route, err error) *GrafanaService_UploadAlertNotifications_Call
func (*GrafanaService_UploadAlertNotifications_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_UploadAlertNotifications_Call) Run(run func()) *GrafanaService_UploadAlertNotifications_Call
func (*GrafanaService_UploadAlertNotifications_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_UploadAlertNotifications_Call) RunAndReturn(run func() (*models.Route, error)) *GrafanaService_UploadAlertNotifications_Call
type GrafanaService_UploadAlertRules_Call ¶ added in v0.8.0
GrafanaService_UploadAlertRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadAlertRules'
func (*GrafanaService_UploadAlertRules_Call) Return ¶ added in v0.8.0
func (_c *GrafanaService_UploadAlertRules_Call) Return(err error) *GrafanaService_UploadAlertRules_Call
func (*GrafanaService_UploadAlertRules_Call) Run ¶ added in v0.8.0
func (_c *GrafanaService_UploadAlertRules_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadAlertRules_Call
func (*GrafanaService_UploadAlertRules_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GrafanaService_UploadAlertRules_Call) RunAndReturn(run func(filter filters.V2Filter) error) *GrafanaService_UploadAlertRules_Call
type GrafanaService_UploadAlertTemplates_Call ¶ added in v0.8.0
GrafanaService_UploadAlertTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadAlertTemplates'
func (*GrafanaService_UploadAlertTemplates_Call) Return ¶ added in v0.8.0
func (_c *GrafanaService_UploadAlertTemplates_Call) Return(strings []string, err error) *GrafanaService_UploadAlertTemplates_Call
func (*GrafanaService_UploadAlertTemplates_Call) Run ¶ added in v0.8.0
func (_c *GrafanaService_UploadAlertTemplates_Call) Run(run func()) *GrafanaService_UploadAlertTemplates_Call
func (*GrafanaService_UploadAlertTemplates_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GrafanaService_UploadAlertTemplates_Call) RunAndReturn(run func() ([]string, error)) *GrafanaService_UploadAlertTemplates_Call
type GrafanaService_UploadAlertTimings_Call ¶ added in v0.9.1
GrafanaService_UploadAlertTimings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadAlertTimings'
func (*GrafanaService_UploadAlertTimings_Call) Return ¶ added in v0.9.1
func (_c *GrafanaService_UploadAlertTimings_Call) Return(strings []string, err error) *GrafanaService_UploadAlertTimings_Call
func (*GrafanaService_UploadAlertTimings_Call) Run ¶ added in v0.9.1
func (_c *GrafanaService_UploadAlertTimings_Call) Run(run func()) *GrafanaService_UploadAlertTimings_Call
func (*GrafanaService_UploadAlertTimings_Call) RunAndReturn ¶ added in v0.9.1
func (_c *GrafanaService_UploadAlertTimings_Call) RunAndReturn(run func() ([]string, error)) *GrafanaService_UploadAlertTimings_Call
type GrafanaService_UploadConnectionPermissions_Call ¶ added in v0.5.2
GrafanaService_UploadConnectionPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadConnectionPermissions'
func (*GrafanaService_UploadConnectionPermissions_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_UploadConnectionPermissions_Call) Return(strings []string) *GrafanaService_UploadConnectionPermissions_Call
func (*GrafanaService_UploadConnectionPermissions_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_UploadConnectionPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadConnectionPermissions_Call
func (*GrafanaService_UploadConnectionPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_UploadConnectionPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_UploadConnectionPermissions_Call
type GrafanaService_UploadConnections_Call ¶ added in v0.5.2
GrafanaService_UploadConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadConnections'
func (*GrafanaService_UploadConnections_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_UploadConnections_Call) Return(strings []string) *GrafanaService_UploadConnections_Call
func (*GrafanaService_UploadConnections_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_UploadConnections_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadConnections_Call
func (*GrafanaService_UploadConnections_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_UploadConnections_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_UploadConnections_Call
type GrafanaService_UploadContactPoints_Call ¶ added in v0.7.2
GrafanaService_UploadContactPoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadContactPoints'
func (*GrafanaService_UploadContactPoints_Call) Return ¶ added in v0.7.2
func (_c *GrafanaService_UploadContactPoints_Call) Return(strings []string, err error) *GrafanaService_UploadContactPoints_Call
func (*GrafanaService_UploadContactPoints_Call) Run ¶ added in v0.7.2
func (_c *GrafanaService_UploadContactPoints_Call) Run(run func()) *GrafanaService_UploadContactPoints_Call
func (*GrafanaService_UploadContactPoints_Call) RunAndReturn ¶ added in v0.7.2
func (_c *GrafanaService_UploadContactPoints_Call) RunAndReturn(run func() ([]string, error)) *GrafanaService_UploadContactPoints_Call
type GrafanaService_UploadDashboardPermissions_Call ¶ added in v0.7.2
GrafanaService_UploadDashboardPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadDashboardPermissions'
func (*GrafanaService_UploadDashboardPermissions_Call) Return ¶ added in v0.7.2
func (_c *GrafanaService_UploadDashboardPermissions_Call) Return(strings []string, err error) *GrafanaService_UploadDashboardPermissions_Call
func (*GrafanaService_UploadDashboardPermissions_Call) Run ¶ added in v0.7.2
func (_c *GrafanaService_UploadDashboardPermissions_Call) Run(run func(filterReq filters.V2Filter)) *GrafanaService_UploadDashboardPermissions_Call
func (*GrafanaService_UploadDashboardPermissions_Call) RunAndReturn ¶ added in v0.7.2
func (_c *GrafanaService_UploadDashboardPermissions_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]string, error)) *GrafanaService_UploadDashboardPermissions_Call
type GrafanaService_UploadDashboards_Call ¶ added in v0.5.2
GrafanaService_UploadDashboards_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadDashboards'
func (*GrafanaService_UploadDashboards_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_UploadDashboards_Call) Return(strings []string, err error) *GrafanaService_UploadDashboards_Call
func (*GrafanaService_UploadDashboards_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_UploadDashboards_Call) Run(run func(filterReq filters.V2Filter)) *GrafanaService_UploadDashboards_Call
func (*GrafanaService_UploadDashboards_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_UploadDashboards_Call) RunAndReturn(run func(filterReq filters.V2Filter) ([]string, error)) *GrafanaService_UploadDashboards_Call
type GrafanaService_UploadFolderPermissions_Call ¶ added in v0.5.2
GrafanaService_UploadFolderPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadFolderPermissions'
func (*GrafanaService_UploadFolderPermissions_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_UploadFolderPermissions_Call) Return(strings []string) *GrafanaService_UploadFolderPermissions_Call
func (*GrafanaService_UploadFolderPermissions_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_UploadFolderPermissions_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadFolderPermissions_Call
func (*GrafanaService_UploadFolderPermissions_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_UploadFolderPermissions_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_UploadFolderPermissions_Call
type GrafanaService_UploadFolders_Call ¶ added in v0.5.2
GrafanaService_UploadFolders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadFolders'
func (*GrafanaService_UploadFolders_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_UploadFolders_Call) Return(strings []string) *GrafanaService_UploadFolders_Call
func (*GrafanaService_UploadFolders_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_UploadFolders_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadFolders_Call
func (*GrafanaService_UploadFolders_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_UploadFolders_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_UploadFolders_Call
type GrafanaService_UploadLibraryElements_Call ¶ added in v0.5.2
GrafanaService_UploadLibraryElements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadLibraryElements'
func (*GrafanaService_UploadLibraryElements_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_UploadLibraryElements_Call) Return(strings []string) *GrafanaService_UploadLibraryElements_Call
func (*GrafanaService_UploadLibraryElements_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_UploadLibraryElements_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadLibraryElements_Call
func (*GrafanaService_UploadLibraryElements_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_UploadLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_UploadLibraryElements_Call
type GrafanaService_UploadOrgPreferences_Call ¶ added in v0.6.0
GrafanaService_UploadOrgPreferences_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadOrgPreferences'
func (*GrafanaService_UploadOrgPreferences_Call) Return ¶ added in v0.6.0
func (_c *GrafanaService_UploadOrgPreferences_Call) Return(err error) *GrafanaService_UploadOrgPreferences_Call
func (*GrafanaService_UploadOrgPreferences_Call) Run ¶ added in v0.6.0
func (_c *GrafanaService_UploadOrgPreferences_Call) Run(run func(orgName string, pref *models.PreferencesSpec)) *GrafanaService_UploadOrgPreferences_Call
func (*GrafanaService_UploadOrgPreferences_Call) RunAndReturn ¶ added in v0.6.0
func (_c *GrafanaService_UploadOrgPreferences_Call) RunAndReturn(run func(orgName string, pref *models.PreferencesSpec) error) *GrafanaService_UploadOrgPreferences_Call
type GrafanaService_UploadOrganizations_Call ¶ added in v0.5.2
GrafanaService_UploadOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadOrganizations'
func (*GrafanaService_UploadOrganizations_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_UploadOrganizations_Call) Return(strings []string) *GrafanaService_UploadOrganizations_Call
func (*GrafanaService_UploadOrganizations_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_UploadOrganizations_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadOrganizations_Call
func (*GrafanaService_UploadOrganizations_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_UploadOrganizations_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *GrafanaService_UploadOrganizations_Call
type GrafanaService_UploadTeams_Call ¶ added in v0.5.2
GrafanaService_UploadTeams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadTeams'
func (*GrafanaService_UploadTeams_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_UploadTeams_Call) Return(teamDTOToTeamMemberDTOs map[*models.TeamDTO][]*models.TeamMemberDTO) *GrafanaService_UploadTeams_Call
func (*GrafanaService_UploadTeams_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_UploadTeams_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadTeams_Call
func (*GrafanaService_UploadTeams_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_UploadTeams_Call) RunAndReturn(run func(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO) *GrafanaService_UploadTeams_Call
type GrafanaService_UploadUsers_Call ¶ added in v0.5.2
GrafanaService_UploadUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadUsers'
func (*GrafanaService_UploadUsers_Call) Return ¶ added in v0.5.2
func (_c *GrafanaService_UploadUsers_Call) Return(userProfileWithAuths []domain.UserProfileWithAuth) *GrafanaService_UploadUsers_Call
func (*GrafanaService_UploadUsers_Call) Run ¶ added in v0.5.2
func (_c *GrafanaService_UploadUsers_Call) Run(run func(filter filters.V2Filter)) *GrafanaService_UploadUsers_Call
func (*GrafanaService_UploadUsers_Call) RunAndReturn ¶ added in v0.5.2
func (_c *GrafanaService_UploadUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []domain.UserProfileWithAuth) *GrafanaService_UploadUsers_Call
type LibraryElementsApi ¶
LibraryElementsApi is an autogenerated mock type for the LibraryElementsApi type
func NewLibraryElementsApi ¶
func NewLibraryElementsApi(t interface {
mock.TestingT
Cleanup(func())
}) *LibraryElementsApi
NewLibraryElementsApi creates a new instance of LibraryElementsApi. 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 (*LibraryElementsApi) DeleteAllLibraryElements ¶
func (_mock *LibraryElementsApi) DeleteAllLibraryElements(filter filters.V2Filter) []string
DeleteAllLibraryElements provides a mock function for the type LibraryElementsApi
func (*LibraryElementsApi) DownloadLibraryElements ¶
func (_mock *LibraryElementsApi) DownloadLibraryElements(filter filters.V2Filter) []string
DownloadLibraryElements provides a mock function for the type LibraryElementsApi
func (*LibraryElementsApi) EXPECT ¶ added in v0.5.2
func (_m *LibraryElementsApi) EXPECT() *LibraryElementsApi_Expecter
func (*LibraryElementsApi) ListLibraryElements ¶
func (_mock *LibraryElementsApi) ListLibraryElements(filter filters.V2Filter) []*domain.WithNested[models.LibraryElementDTO]
ListLibraryElements provides a mock function for the type LibraryElementsApi
func (*LibraryElementsApi) ListLibraryElementsConnections ¶
func (_mock *LibraryElementsApi) ListLibraryElementsConnections(filter filters.V2Filter, connectionID string) []*models.DashboardFullWithMeta
ListLibraryElementsConnections provides a mock function for the type LibraryElementsApi
func (*LibraryElementsApi) UploadLibraryElements ¶
func (_mock *LibraryElementsApi) UploadLibraryElements(filter filters.V2Filter) []string
UploadLibraryElements provides a mock function for the type LibraryElementsApi
type LibraryElementsApi_DeleteAllLibraryElements_Call ¶ added in v0.5.2
LibraryElementsApi_DeleteAllLibraryElements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllLibraryElements'
func (*LibraryElementsApi_DeleteAllLibraryElements_Call) Return ¶ added in v0.5.2
func (_c *LibraryElementsApi_DeleteAllLibraryElements_Call) Return(strings []string) *LibraryElementsApi_DeleteAllLibraryElements_Call
func (*LibraryElementsApi_DeleteAllLibraryElements_Call) Run ¶ added in v0.5.2
func (_c *LibraryElementsApi_DeleteAllLibraryElements_Call) Run(run func(filter filters.V2Filter)) *LibraryElementsApi_DeleteAllLibraryElements_Call
func (*LibraryElementsApi_DeleteAllLibraryElements_Call) RunAndReturn ¶ added in v0.5.2
func (_c *LibraryElementsApi_DeleteAllLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *LibraryElementsApi_DeleteAllLibraryElements_Call
type LibraryElementsApi_DownloadLibraryElements_Call ¶ added in v0.5.2
LibraryElementsApi_DownloadLibraryElements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadLibraryElements'
func (*LibraryElementsApi_DownloadLibraryElements_Call) Return ¶ added in v0.5.2
func (_c *LibraryElementsApi_DownloadLibraryElements_Call) Return(strings []string) *LibraryElementsApi_DownloadLibraryElements_Call
func (*LibraryElementsApi_DownloadLibraryElements_Call) Run ¶ added in v0.5.2
func (_c *LibraryElementsApi_DownloadLibraryElements_Call) Run(run func(filter filters.V2Filter)) *LibraryElementsApi_DownloadLibraryElements_Call
func (*LibraryElementsApi_DownloadLibraryElements_Call) RunAndReturn ¶ added in v0.5.2
func (_c *LibraryElementsApi_DownloadLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *LibraryElementsApi_DownloadLibraryElements_Call
type LibraryElementsApi_Expecter ¶ added in v0.5.2
type LibraryElementsApi_Expecter struct {
// contains filtered or unexported fields
}
func (*LibraryElementsApi_Expecter) DeleteAllLibraryElements ¶ added in v0.5.2
func (_e *LibraryElementsApi_Expecter) DeleteAllLibraryElements(filter interface{}) *LibraryElementsApi_DeleteAllLibraryElements_Call
DeleteAllLibraryElements is a helper method to define mock.On call
- filter filters.V2Filter
func (*LibraryElementsApi_Expecter) DownloadLibraryElements ¶ added in v0.5.2
func (_e *LibraryElementsApi_Expecter) DownloadLibraryElements(filter interface{}) *LibraryElementsApi_DownloadLibraryElements_Call
DownloadLibraryElements is a helper method to define mock.On call
- filter filters.V2Filter
func (*LibraryElementsApi_Expecter) ListLibraryElements ¶ added in v0.5.2
func (_e *LibraryElementsApi_Expecter) ListLibraryElements(filter interface{}) *LibraryElementsApi_ListLibraryElements_Call
ListLibraryElements is a helper method to define mock.On call
- filter filters.V2Filter
func (*LibraryElementsApi_Expecter) ListLibraryElementsConnections ¶ added in v0.5.2
func (_e *LibraryElementsApi_Expecter) ListLibraryElementsConnections(filter interface{}, connectionID interface{}) *LibraryElementsApi_ListLibraryElementsConnections_Call
ListLibraryElementsConnections is a helper method to define mock.On call
- filter filters.V2Filter
- connectionID string
func (*LibraryElementsApi_Expecter) UploadLibraryElements ¶ added in v0.5.2
func (_e *LibraryElementsApi_Expecter) UploadLibraryElements(filter interface{}) *LibraryElementsApi_UploadLibraryElements_Call
UploadLibraryElements is a helper method to define mock.On call
- filter filters.V2Filter
type LibraryElementsApi_ListLibraryElementsConnections_Call ¶ added in v0.5.2
LibraryElementsApi_ListLibraryElementsConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListLibraryElementsConnections'
func (*LibraryElementsApi_ListLibraryElementsConnections_Call) Return ¶ added in v0.5.2
func (_c *LibraryElementsApi_ListLibraryElementsConnections_Call) Return(dashboardFullWithMetas []*models.DashboardFullWithMeta) *LibraryElementsApi_ListLibraryElementsConnections_Call
func (*LibraryElementsApi_ListLibraryElementsConnections_Call) Run ¶ added in v0.5.2
func (_c *LibraryElementsApi_ListLibraryElementsConnections_Call) Run(run func(filter filters.V2Filter, connectionID string)) *LibraryElementsApi_ListLibraryElementsConnections_Call
func (*LibraryElementsApi_ListLibraryElementsConnections_Call) RunAndReturn ¶ added in v0.5.2
func (_c *LibraryElementsApi_ListLibraryElementsConnections_Call) RunAndReturn(run func(filter filters.V2Filter, connectionID string) []*models.DashboardFullWithMeta) *LibraryElementsApi_ListLibraryElementsConnections_Call
type LibraryElementsApi_ListLibraryElements_Call ¶ added in v0.5.2
LibraryElementsApi_ListLibraryElements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListLibraryElements'
func (*LibraryElementsApi_ListLibraryElements_Call) Return ¶ added in v0.5.2
func (_c *LibraryElementsApi_ListLibraryElements_Call) Return(withNesteds []*domain.WithNested[models.LibraryElementDTO]) *LibraryElementsApi_ListLibraryElements_Call
func (*LibraryElementsApi_ListLibraryElements_Call) Run ¶ added in v0.5.2
func (_c *LibraryElementsApi_ListLibraryElements_Call) Run(run func(filter filters.V2Filter)) *LibraryElementsApi_ListLibraryElements_Call
func (*LibraryElementsApi_ListLibraryElements_Call) RunAndReturn ¶ added in v0.5.2
func (_c *LibraryElementsApi_ListLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []*domain.WithNested[models.LibraryElementDTO]) *LibraryElementsApi_ListLibraryElements_Call
type LibraryElementsApi_UploadLibraryElements_Call ¶ added in v0.5.2
LibraryElementsApi_UploadLibraryElements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadLibraryElements'
func (*LibraryElementsApi_UploadLibraryElements_Call) Return ¶ added in v0.5.2
func (_c *LibraryElementsApi_UploadLibraryElements_Call) Return(strings []string) *LibraryElementsApi_UploadLibraryElements_Call
func (*LibraryElementsApi_UploadLibraryElements_Call) Run ¶ added in v0.5.2
func (_c *LibraryElementsApi_UploadLibraryElements_Call) Run(run func(filter filters.V2Filter)) *LibraryElementsApi_UploadLibraryElements_Call
func (*LibraryElementsApi_UploadLibraryElements_Call) RunAndReturn ¶ added in v0.5.2
func (_c *LibraryElementsApi_UploadLibraryElements_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *LibraryElementsApi_UploadLibraryElements_Call
type LicenseApi ¶ added in v0.7.1
LicenseApi is an autogenerated mock type for the LicenseApi type
func NewLicenseApi ¶ added in v0.7.1
func NewLicenseApi(t interface {
mock.TestingT
Cleanup(func())
}) *LicenseApi
NewLicenseApi creates a new instance of LicenseApi. 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 (*LicenseApi) EXPECT ¶ added in v0.7.1
func (_m *LicenseApi) EXPECT() *LicenseApi_Expecter
func (*LicenseApi) IsEnterprise ¶ added in v0.7.1
func (_mock *LicenseApi) IsEnterprise() bool
IsEnterprise provides a mock function for the type LicenseApi
type LicenseApi_Expecter ¶ added in v0.7.1
type LicenseApi_Expecter struct {
// contains filtered or unexported fields
}
func (*LicenseApi_Expecter) IsEnterprise ¶ added in v0.7.1
func (_e *LicenseApi_Expecter) IsEnterprise() *LicenseApi_IsEnterprise_Call
IsEnterprise is a helper method to define mock.On call
type LicenseApi_IsEnterprise_Call ¶ added in v0.7.1
LicenseApi_IsEnterprise_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsEnterprise'
func (*LicenseApi_IsEnterprise_Call) Return ¶ added in v0.7.1
func (_c *LicenseApi_IsEnterprise_Call) Return(b bool) *LicenseApi_IsEnterprise_Call
func (*LicenseApi_IsEnterprise_Call) Run ¶ added in v0.7.1
func (_c *LicenseApi_IsEnterprise_Call) Run(run func()) *LicenseApi_IsEnterprise_Call
func (*LicenseApi_IsEnterprise_Call) RunAndReturn ¶ added in v0.7.1
func (_c *LicenseApi_IsEnterprise_Call) RunAndReturn(run func() bool) *LicenseApi_IsEnterprise_Call
type OrgPreferencesApi ¶ added in v0.6.0
OrgPreferencesApi is an autogenerated mock type for the OrgPreferencesApi type
func NewOrgPreferencesApi ¶ added in v0.6.0
func NewOrgPreferencesApi(t interface {
mock.TestingT
Cleanup(func())
}) *OrgPreferencesApi
NewOrgPreferencesApi creates a new instance of OrgPreferencesApi. 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 (*OrgPreferencesApi) EXPECT ¶ added in v0.6.0
func (_m *OrgPreferencesApi) EXPECT() *OrgPreferencesApi_Expecter
func (*OrgPreferencesApi) GetOrgPreferences ¶ added in v0.6.0
func (_mock *OrgPreferencesApi) GetOrgPreferences(orgName string) (*models.PreferencesSpec, error)
GetOrgPreferences provides a mock function for the type OrgPreferencesApi
func (*OrgPreferencesApi) UploadOrgPreferences ¶ added in v0.6.0
func (_mock *OrgPreferencesApi) UploadOrgPreferences(orgName string, pref *models.PreferencesSpec) error
UploadOrgPreferences provides a mock function for the type OrgPreferencesApi
type OrgPreferencesApi_Expecter ¶ added in v0.6.0
type OrgPreferencesApi_Expecter struct {
// contains filtered or unexported fields
}
func (*OrgPreferencesApi_Expecter) GetOrgPreferences ¶ added in v0.6.0
func (_e *OrgPreferencesApi_Expecter) GetOrgPreferences(orgName interface{}) *OrgPreferencesApi_GetOrgPreferences_Call
GetOrgPreferences is a helper method to define mock.On call
- orgName string
func (*OrgPreferencesApi_Expecter) UploadOrgPreferences ¶ added in v0.6.0
func (_e *OrgPreferencesApi_Expecter) UploadOrgPreferences(orgName interface{}, pref interface{}) *OrgPreferencesApi_UploadOrgPreferences_Call
UploadOrgPreferences is a helper method to define mock.On call
- orgName string
- pref *models.PreferencesSpec
type OrgPreferencesApi_GetOrgPreferences_Call ¶ added in v0.6.0
OrgPreferencesApi_GetOrgPreferences_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrgPreferences'
func (*OrgPreferencesApi_GetOrgPreferences_Call) Return ¶ added in v0.6.0
func (_c *OrgPreferencesApi_GetOrgPreferences_Call) Return(preferencesSpec *models.PreferencesSpec, err error) *OrgPreferencesApi_GetOrgPreferences_Call
func (*OrgPreferencesApi_GetOrgPreferences_Call) Run ¶ added in v0.6.0
func (_c *OrgPreferencesApi_GetOrgPreferences_Call) Run(run func(orgName string)) *OrgPreferencesApi_GetOrgPreferences_Call
func (*OrgPreferencesApi_GetOrgPreferences_Call) RunAndReturn ¶ added in v0.6.0
func (_c *OrgPreferencesApi_GetOrgPreferences_Call) RunAndReturn(run func(orgName string) (*models.PreferencesSpec, error)) *OrgPreferencesApi_GetOrgPreferences_Call
type OrgPreferencesApi_UploadOrgPreferences_Call ¶ added in v0.6.0
OrgPreferencesApi_UploadOrgPreferences_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadOrgPreferences'
func (*OrgPreferencesApi_UploadOrgPreferences_Call) Return ¶ added in v0.6.0
func (_c *OrgPreferencesApi_UploadOrgPreferences_Call) Return(err error) *OrgPreferencesApi_UploadOrgPreferences_Call
func (*OrgPreferencesApi_UploadOrgPreferences_Call) Run ¶ added in v0.6.0
func (_c *OrgPreferencesApi_UploadOrgPreferences_Call) Run(run func(orgName string, pref *models.PreferencesSpec)) *OrgPreferencesApi_UploadOrgPreferences_Call
func (*OrgPreferencesApi_UploadOrgPreferences_Call) RunAndReturn ¶ added in v0.6.0
func (_c *OrgPreferencesApi_UploadOrgPreferences_Call) RunAndReturn(run func(orgName string, pref *models.PreferencesSpec) error) *OrgPreferencesApi_UploadOrgPreferences_Call
type OrganizationsApi ¶
OrganizationsApi is an autogenerated mock type for the OrganizationsApi type
func NewOrganizationsApi ¶
func NewOrganizationsApi(t interface {
mock.TestingT
Cleanup(func())
}) *OrganizationsApi
NewOrganizationsApi creates a new instance of OrganizationsApi. 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 (*OrganizationsApi) AddUserToOrg ¶
func (_mock *OrganizationsApi) AddUserToOrg(role string, orgSlug string, userId int64) error
AddUserToOrg provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) DeleteUserFromOrg ¶
func (_mock *OrganizationsApi) DeleteUserFromOrg(orgId string, userId int64) error
DeleteUserFromOrg provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) DownloadOrganizations ¶
func (_mock *OrganizationsApi) DownloadOrganizations(filter filters.V2Filter) []string
DownloadOrganizations provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) EXPECT ¶ added in v0.5.2
func (_m *OrganizationsApi) EXPECT() *OrganizationsApi_Expecter
func (*OrganizationsApi) GetOrgPreferences ¶ added in v0.6.0
func (_mock *OrganizationsApi) GetOrgPreferences(orgName string) (*models.PreferencesSpec, error)
GetOrgPreferences provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) GetTokenOrganization ¶
func (_mock *OrganizationsApi) GetTokenOrganization() *models.OrgDetailsDTO
GetTokenOrganization provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) GetUserOrganization ¶
func (_mock *OrganizationsApi) GetUserOrganization() *models.OrgDetailsDTO
GetUserOrganization provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) InitOrganizations ¶
func (_mock *OrganizationsApi) InitOrganizations()
InitOrganizations provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) ListOrgUsers ¶
func (_mock *OrganizationsApi) ListOrgUsers(orgId int64) []*models.OrgUserDTO
ListOrgUsers provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) ListOrganizations ¶
func (_mock *OrganizationsApi) ListOrganizations(filter filters.V2Filter, withPreferences bool) []*domain.OrgsDTOWithPreferences
ListOrganizations provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) ListUserOrganizations ¶ added in v0.6.0
func (_mock *OrganizationsApi) ListUserOrganizations() ([]*models.UserOrgDTO, error)
ListUserOrganizations provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) SetOrganizationByName ¶ added in v0.6.0
func (_mock *OrganizationsApi) SetOrganizationByName(name string, useSlug bool) error
SetOrganizationByName provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) SetUserOrganizations ¶
func (_mock *OrganizationsApi) SetUserOrganizations(id int64) error
SetUserOrganizations provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) UpdateUserInOrg ¶
func (_mock *OrganizationsApi) UpdateUserInOrg(role string, orgSlug string, userId int64) error
UpdateUserInOrg provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) UploadOrgPreferences ¶ added in v0.6.0
func (_mock *OrganizationsApi) UploadOrgPreferences(orgName string, pref *models.PreferencesSpec) error
UploadOrgPreferences provides a mock function for the type OrganizationsApi
func (*OrganizationsApi) UploadOrganizations ¶
func (_mock *OrganizationsApi) UploadOrganizations(filter filters.V2Filter) []string
UploadOrganizations provides a mock function for the type OrganizationsApi
type OrganizationsApi_AddUserToOrg_Call ¶ added in v0.5.2
OrganizationsApi_AddUserToOrg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUserToOrg'
func (*OrganizationsApi_AddUserToOrg_Call) Return ¶ added in v0.5.2
func (_c *OrganizationsApi_AddUserToOrg_Call) Return(err error) *OrganizationsApi_AddUserToOrg_Call
func (*OrganizationsApi_AddUserToOrg_Call) Run ¶ added in v0.5.2
func (_c *OrganizationsApi_AddUserToOrg_Call) Run(run func(role string, orgSlug string, userId int64)) *OrganizationsApi_AddUserToOrg_Call
func (*OrganizationsApi_AddUserToOrg_Call) RunAndReturn ¶ added in v0.5.2
func (_c *OrganizationsApi_AddUserToOrg_Call) RunAndReturn(run func(role string, orgSlug string, userId int64) error) *OrganizationsApi_AddUserToOrg_Call
type OrganizationsApi_DeleteUserFromOrg_Call ¶ added in v0.5.2
OrganizationsApi_DeleteUserFromOrg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUserFromOrg'
func (*OrganizationsApi_DeleteUserFromOrg_Call) Return ¶ added in v0.5.2
func (_c *OrganizationsApi_DeleteUserFromOrg_Call) Return(err error) *OrganizationsApi_DeleteUserFromOrg_Call
func (*OrganizationsApi_DeleteUserFromOrg_Call) Run ¶ added in v0.5.2
func (_c *OrganizationsApi_DeleteUserFromOrg_Call) Run(run func(orgId string, userId int64)) *OrganizationsApi_DeleteUserFromOrg_Call
func (*OrganizationsApi_DeleteUserFromOrg_Call) RunAndReturn ¶ added in v0.5.2
func (_c *OrganizationsApi_DeleteUserFromOrg_Call) RunAndReturn(run func(orgId string, userId int64) error) *OrganizationsApi_DeleteUserFromOrg_Call
type OrganizationsApi_DownloadOrganizations_Call ¶ added in v0.5.2
OrganizationsApi_DownloadOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadOrganizations'
func (*OrganizationsApi_DownloadOrganizations_Call) Return ¶ added in v0.5.2
func (_c *OrganizationsApi_DownloadOrganizations_Call) Return(strings []string) *OrganizationsApi_DownloadOrganizations_Call
func (*OrganizationsApi_DownloadOrganizations_Call) Run ¶ added in v0.5.2
func (_c *OrganizationsApi_DownloadOrganizations_Call) Run(run func(filter filters.V2Filter)) *OrganizationsApi_DownloadOrganizations_Call
func (*OrganizationsApi_DownloadOrganizations_Call) RunAndReturn ¶ added in v0.5.2
func (_c *OrganizationsApi_DownloadOrganizations_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *OrganizationsApi_DownloadOrganizations_Call
type OrganizationsApi_Expecter ¶ added in v0.5.2
type OrganizationsApi_Expecter struct {
// contains filtered or unexported fields
}
func (*OrganizationsApi_Expecter) AddUserToOrg ¶ added in v0.5.2
func (_e *OrganizationsApi_Expecter) AddUserToOrg(role interface{}, orgSlug interface{}, userId interface{}) *OrganizationsApi_AddUserToOrg_Call
AddUserToOrg is a helper method to define mock.On call
- role string
- orgSlug string
- userId int64
func (*OrganizationsApi_Expecter) DeleteUserFromOrg ¶ added in v0.5.2
func (_e *OrganizationsApi_Expecter) DeleteUserFromOrg(orgId interface{}, userId interface{}) *OrganizationsApi_DeleteUserFromOrg_Call
DeleteUserFromOrg is a helper method to define mock.On call
- orgId string
- userId int64
func (*OrganizationsApi_Expecter) DownloadOrganizations ¶ added in v0.5.2
func (_e *OrganizationsApi_Expecter) DownloadOrganizations(filter interface{}) *OrganizationsApi_DownloadOrganizations_Call
DownloadOrganizations is a helper method to define mock.On call
- filter filters.V2Filter
func (*OrganizationsApi_Expecter) GetOrgPreferences ¶ added in v0.6.0
func (_e *OrganizationsApi_Expecter) GetOrgPreferences(orgName interface{}) *OrganizationsApi_GetOrgPreferences_Call
GetOrgPreferences is a helper method to define mock.On call
- orgName string
func (*OrganizationsApi_Expecter) GetTokenOrganization ¶ added in v0.5.2
func (_e *OrganizationsApi_Expecter) GetTokenOrganization() *OrganizationsApi_GetTokenOrganization_Call
GetTokenOrganization is a helper method to define mock.On call
func (*OrganizationsApi_Expecter) GetUserOrganization ¶ added in v0.5.2
func (_e *OrganizationsApi_Expecter) GetUserOrganization() *OrganizationsApi_GetUserOrganization_Call
GetUserOrganization is a helper method to define mock.On call
func (*OrganizationsApi_Expecter) InitOrganizations ¶ added in v0.5.2
func (_e *OrganizationsApi_Expecter) InitOrganizations() *OrganizationsApi_InitOrganizations_Call
InitOrganizations is a helper method to define mock.On call
func (*OrganizationsApi_Expecter) ListOrgUsers ¶ added in v0.5.2
func (_e *OrganizationsApi_Expecter) ListOrgUsers(orgId interface{}) *OrganizationsApi_ListOrgUsers_Call
ListOrgUsers is a helper method to define mock.On call
- orgId int64
func (*OrganizationsApi_Expecter) ListOrganizations ¶ added in v0.5.2
func (_e *OrganizationsApi_Expecter) ListOrganizations(filter interface{}, withPreferences interface{}) *OrganizationsApi_ListOrganizations_Call
ListOrganizations is a helper method to define mock.On call
- filter filters.V2Filter
- withPreferences bool
func (*OrganizationsApi_Expecter) ListUserOrganizations ¶ added in v0.6.0
func (_e *OrganizationsApi_Expecter) ListUserOrganizations() *OrganizationsApi_ListUserOrganizations_Call
ListUserOrganizations is a helper method to define mock.On call
func (*OrganizationsApi_Expecter) SetOrganizationByName ¶ added in v0.6.0
func (_e *OrganizationsApi_Expecter) SetOrganizationByName(name interface{}, useSlug interface{}) *OrganizationsApi_SetOrganizationByName_Call
SetOrganizationByName is a helper method to define mock.On call
- name string
- useSlug bool
func (*OrganizationsApi_Expecter) SetUserOrganizations ¶ added in v0.5.2
func (_e *OrganizationsApi_Expecter) SetUserOrganizations(id interface{}) *OrganizationsApi_SetUserOrganizations_Call
SetUserOrganizations is a helper method to define mock.On call
- id int64
func (*OrganizationsApi_Expecter) UpdateUserInOrg ¶ added in v0.5.2
func (_e *OrganizationsApi_Expecter) UpdateUserInOrg(role interface{}, orgSlug interface{}, userId interface{}) *OrganizationsApi_UpdateUserInOrg_Call
UpdateUserInOrg is a helper method to define mock.On call
- role string
- orgSlug string
- userId int64
func (*OrganizationsApi_Expecter) UploadOrgPreferences ¶ added in v0.6.0
func (_e *OrganizationsApi_Expecter) UploadOrgPreferences(orgName interface{}, pref interface{}) *OrganizationsApi_UploadOrgPreferences_Call
UploadOrgPreferences is a helper method to define mock.On call
- orgName string
- pref *models.PreferencesSpec
func (*OrganizationsApi_Expecter) UploadOrganizations ¶ added in v0.5.2
func (_e *OrganizationsApi_Expecter) UploadOrganizations(filter interface{}) *OrganizationsApi_UploadOrganizations_Call
UploadOrganizations is a helper method to define mock.On call
- filter filters.V2Filter
type OrganizationsApi_GetOrgPreferences_Call ¶ added in v0.6.0
OrganizationsApi_GetOrgPreferences_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrgPreferences'
func (*OrganizationsApi_GetOrgPreferences_Call) Return ¶ added in v0.6.0
func (_c *OrganizationsApi_GetOrgPreferences_Call) Return(preferencesSpec *models.PreferencesSpec, err error) *OrganizationsApi_GetOrgPreferences_Call
func (*OrganizationsApi_GetOrgPreferences_Call) Run ¶ added in v0.6.0
func (_c *OrganizationsApi_GetOrgPreferences_Call) Run(run func(orgName string)) *OrganizationsApi_GetOrgPreferences_Call
func (*OrganizationsApi_GetOrgPreferences_Call) RunAndReturn ¶ added in v0.6.0
func (_c *OrganizationsApi_GetOrgPreferences_Call) RunAndReturn(run func(orgName string) (*models.PreferencesSpec, error)) *OrganizationsApi_GetOrgPreferences_Call
type OrganizationsApi_GetTokenOrganization_Call ¶ added in v0.5.2
OrganizationsApi_GetTokenOrganization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTokenOrganization'
func (*OrganizationsApi_GetTokenOrganization_Call) Return ¶ added in v0.5.2
func (_c *OrganizationsApi_GetTokenOrganization_Call) Return(orgDetailsDTO *models.OrgDetailsDTO) *OrganizationsApi_GetTokenOrganization_Call
func (*OrganizationsApi_GetTokenOrganization_Call) Run ¶ added in v0.5.2
func (_c *OrganizationsApi_GetTokenOrganization_Call) Run(run func()) *OrganizationsApi_GetTokenOrganization_Call
func (*OrganizationsApi_GetTokenOrganization_Call) RunAndReturn ¶ added in v0.5.2
func (_c *OrganizationsApi_GetTokenOrganization_Call) RunAndReturn(run func() *models.OrgDetailsDTO) *OrganizationsApi_GetTokenOrganization_Call
type OrganizationsApi_GetUserOrganization_Call ¶ added in v0.5.2
OrganizationsApi_GetUserOrganization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserOrganization'
func (*OrganizationsApi_GetUserOrganization_Call) Return ¶ added in v0.5.2
func (_c *OrganizationsApi_GetUserOrganization_Call) Return(orgDetailsDTO *models.OrgDetailsDTO) *OrganizationsApi_GetUserOrganization_Call
func (*OrganizationsApi_GetUserOrganization_Call) Run ¶ added in v0.5.2
func (_c *OrganizationsApi_GetUserOrganization_Call) Run(run func()) *OrganizationsApi_GetUserOrganization_Call
func (*OrganizationsApi_GetUserOrganization_Call) RunAndReturn ¶ added in v0.5.2
func (_c *OrganizationsApi_GetUserOrganization_Call) RunAndReturn(run func() *models.OrgDetailsDTO) *OrganizationsApi_GetUserOrganization_Call
type OrganizationsApi_InitOrganizations_Call ¶ added in v0.5.2
OrganizationsApi_InitOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitOrganizations'
func (*OrganizationsApi_InitOrganizations_Call) Return ¶ added in v0.5.2
func (_c *OrganizationsApi_InitOrganizations_Call) Return() *OrganizationsApi_InitOrganizations_Call
func (*OrganizationsApi_InitOrganizations_Call) Run ¶ added in v0.5.2
func (_c *OrganizationsApi_InitOrganizations_Call) Run(run func()) *OrganizationsApi_InitOrganizations_Call
func (*OrganizationsApi_InitOrganizations_Call) RunAndReturn ¶ added in v0.5.2
func (_c *OrganizationsApi_InitOrganizations_Call) RunAndReturn(run func()) *OrganizationsApi_InitOrganizations_Call
type OrganizationsApi_ListOrgUsers_Call ¶ added in v0.5.2
OrganizationsApi_ListOrgUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOrgUsers'
func (*OrganizationsApi_ListOrgUsers_Call) Return ¶ added in v0.5.2
func (_c *OrganizationsApi_ListOrgUsers_Call) Return(orgUserDTOs []*models.OrgUserDTO) *OrganizationsApi_ListOrgUsers_Call
func (*OrganizationsApi_ListOrgUsers_Call) Run ¶ added in v0.5.2
func (_c *OrganizationsApi_ListOrgUsers_Call) Run(run func(orgId int64)) *OrganizationsApi_ListOrgUsers_Call
func (*OrganizationsApi_ListOrgUsers_Call) RunAndReturn ¶ added in v0.5.2
func (_c *OrganizationsApi_ListOrgUsers_Call) RunAndReturn(run func(orgId int64) []*models.OrgUserDTO) *OrganizationsApi_ListOrgUsers_Call
type OrganizationsApi_ListOrganizations_Call ¶ added in v0.5.2
OrganizationsApi_ListOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOrganizations'
func (*OrganizationsApi_ListOrganizations_Call) Return ¶ added in v0.5.2
func (_c *OrganizationsApi_ListOrganizations_Call) Return(orgsDTOWithPreferencess []*domain.OrgsDTOWithPreferences) *OrganizationsApi_ListOrganizations_Call
func (*OrganizationsApi_ListOrganizations_Call) Run ¶ added in v0.5.2
func (_c *OrganizationsApi_ListOrganizations_Call) Run(run func(filter filters.V2Filter, withPreferences bool)) *OrganizationsApi_ListOrganizations_Call
func (*OrganizationsApi_ListOrganizations_Call) RunAndReturn ¶ added in v0.5.2
func (_c *OrganizationsApi_ListOrganizations_Call) RunAndReturn(run func(filter filters.V2Filter, withPreferences bool) []*domain.OrgsDTOWithPreferences) *OrganizationsApi_ListOrganizations_Call
type OrganizationsApi_ListUserOrganizations_Call ¶ added in v0.6.0
OrganizationsApi_ListUserOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUserOrganizations'
func (*OrganizationsApi_ListUserOrganizations_Call) Return ¶ added in v0.6.0
func (_c *OrganizationsApi_ListUserOrganizations_Call) Return(userOrgDTOs []*models.UserOrgDTO, err error) *OrganizationsApi_ListUserOrganizations_Call
func (*OrganizationsApi_ListUserOrganizations_Call) Run ¶ added in v0.6.0
func (_c *OrganizationsApi_ListUserOrganizations_Call) Run(run func()) *OrganizationsApi_ListUserOrganizations_Call
func (*OrganizationsApi_ListUserOrganizations_Call) RunAndReturn ¶ added in v0.6.0
func (_c *OrganizationsApi_ListUserOrganizations_Call) RunAndReturn(run func() ([]*models.UserOrgDTO, error)) *OrganizationsApi_ListUserOrganizations_Call
type OrganizationsApi_SetOrganizationByName_Call ¶ added in v0.6.0
OrganizationsApi_SetOrganizationByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOrganizationByName'
func (*OrganizationsApi_SetOrganizationByName_Call) Return ¶ added in v0.6.0
func (_c *OrganizationsApi_SetOrganizationByName_Call) Return(err error) *OrganizationsApi_SetOrganizationByName_Call
func (*OrganizationsApi_SetOrganizationByName_Call) Run ¶ added in v0.6.0
func (_c *OrganizationsApi_SetOrganizationByName_Call) Run(run func(name string, useSlug bool)) *OrganizationsApi_SetOrganizationByName_Call
func (*OrganizationsApi_SetOrganizationByName_Call) RunAndReturn ¶ added in v0.6.0
func (_c *OrganizationsApi_SetOrganizationByName_Call) RunAndReturn(run func(name string, useSlug bool) error) *OrganizationsApi_SetOrganizationByName_Call
type OrganizationsApi_SetUserOrganizations_Call ¶ added in v0.5.2
OrganizationsApi_SetUserOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetUserOrganizations'
func (*OrganizationsApi_SetUserOrganizations_Call) Return ¶ added in v0.5.2
func (_c *OrganizationsApi_SetUserOrganizations_Call) Return(err error) *OrganizationsApi_SetUserOrganizations_Call
func (*OrganizationsApi_SetUserOrganizations_Call) Run ¶ added in v0.5.2
func (_c *OrganizationsApi_SetUserOrganizations_Call) Run(run func(id int64)) *OrganizationsApi_SetUserOrganizations_Call
func (*OrganizationsApi_SetUserOrganizations_Call) RunAndReturn ¶ added in v0.5.2
func (_c *OrganizationsApi_SetUserOrganizations_Call) RunAndReturn(run func(id int64) error) *OrganizationsApi_SetUserOrganizations_Call
type OrganizationsApi_UpdateUserInOrg_Call ¶ added in v0.5.2
OrganizationsApi_UpdateUserInOrg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUserInOrg'
func (*OrganizationsApi_UpdateUserInOrg_Call) Return ¶ added in v0.5.2
func (_c *OrganizationsApi_UpdateUserInOrg_Call) Return(err error) *OrganizationsApi_UpdateUserInOrg_Call
func (*OrganizationsApi_UpdateUserInOrg_Call) Run ¶ added in v0.5.2
func (_c *OrganizationsApi_UpdateUserInOrg_Call) Run(run func(role string, orgSlug string, userId int64)) *OrganizationsApi_UpdateUserInOrg_Call
func (*OrganizationsApi_UpdateUserInOrg_Call) RunAndReturn ¶ added in v0.5.2
func (_c *OrganizationsApi_UpdateUserInOrg_Call) RunAndReturn(run func(role string, orgSlug string, userId int64) error) *OrganizationsApi_UpdateUserInOrg_Call
type OrganizationsApi_UploadOrgPreferences_Call ¶ added in v0.6.0
OrganizationsApi_UploadOrgPreferences_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadOrgPreferences'
func (*OrganizationsApi_UploadOrgPreferences_Call) Return ¶ added in v0.6.0
func (_c *OrganizationsApi_UploadOrgPreferences_Call) Return(err error) *OrganizationsApi_UploadOrgPreferences_Call
func (*OrganizationsApi_UploadOrgPreferences_Call) Run ¶ added in v0.6.0
func (_c *OrganizationsApi_UploadOrgPreferences_Call) Run(run func(orgName string, pref *models.PreferencesSpec)) *OrganizationsApi_UploadOrgPreferences_Call
func (*OrganizationsApi_UploadOrgPreferences_Call) RunAndReturn ¶ added in v0.6.0
func (_c *OrganizationsApi_UploadOrgPreferences_Call) RunAndReturn(run func(orgName string, pref *models.PreferencesSpec) error) *OrganizationsApi_UploadOrgPreferences_Call
type OrganizationsApi_UploadOrganizations_Call ¶ added in v0.5.2
OrganizationsApi_UploadOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadOrganizations'
func (*OrganizationsApi_UploadOrganizations_Call) Return ¶ added in v0.5.2
func (_c *OrganizationsApi_UploadOrganizations_Call) Return(strings []string) *OrganizationsApi_UploadOrganizations_Call
func (*OrganizationsApi_UploadOrganizations_Call) Run ¶ added in v0.5.2
func (_c *OrganizationsApi_UploadOrganizations_Call) Run(run func(filter filters.V2Filter)) *OrganizationsApi_UploadOrganizations_Call
func (*OrganizationsApi_UploadOrganizations_Call) RunAndReturn ¶ added in v0.5.2
func (_c *OrganizationsApi_UploadOrganizations_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *OrganizationsApi_UploadOrganizations_Call
type ServerInfoApi ¶ added in v0.6.0
ServerInfoApi is an autogenerated mock type for the ServerInfoApi type
func NewServerInfoApi ¶ added in v0.6.0
func NewServerInfoApi(t interface {
mock.TestingT
Cleanup(func())
}) *ServerInfoApi
NewServerInfoApi creates a new instance of ServerInfoApi. 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 (*ServerInfoApi) EXPECT ¶ added in v0.6.0
func (_m *ServerInfoApi) EXPECT() *ServerInfoApi_Expecter
func (*ServerInfoApi) GetServerInfo ¶ added in v0.6.0
func (_mock *ServerInfoApi) GetServerInfo() map[string]any
GetServerInfo provides a mock function for the type ServerInfoApi
type ServerInfoApi_Expecter ¶ added in v0.6.0
type ServerInfoApi_Expecter struct {
// contains filtered or unexported fields
}
func (*ServerInfoApi_Expecter) GetServerInfo ¶ added in v0.6.0
func (_e *ServerInfoApi_Expecter) GetServerInfo() *ServerInfoApi_GetServerInfo_Call
GetServerInfo is a helper method to define mock.On call
type ServerInfoApi_GetServerInfo_Call ¶ added in v0.6.0
ServerInfoApi_GetServerInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServerInfo'
func (*ServerInfoApi_GetServerInfo_Call) Return ¶ added in v0.6.0
func (_c *ServerInfoApi_GetServerInfo_Call) Return(stringToV map[string]any) *ServerInfoApi_GetServerInfo_Call
func (*ServerInfoApi_GetServerInfo_Call) Run ¶ added in v0.6.0
func (_c *ServerInfoApi_GetServerInfo_Call) Run(run func()) *ServerInfoApi_GetServerInfo_Call
func (*ServerInfoApi_GetServerInfo_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ServerInfoApi_GetServerInfo_Call) RunAndReturn(run func() map[string]any) *ServerInfoApi_GetServerInfo_Call
type ServiceAccountApi ¶
ServiceAccountApi is an autogenerated mock type for the ServiceAccountApi type
func NewServiceAccountApi ¶
func NewServiceAccountApi(t interface {
mock.TestingT
Cleanup(func())
}) *ServiceAccountApi
NewServiceAccountApi creates a new instance of ServiceAccountApi. 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 (*ServiceAccountApi) CreateServiceAccount ¶
func (_mock *ServiceAccountApi) CreateServiceAccount(name string, role string, expiration int64) (*models.ServiceAccountDTO, error)
CreateServiceAccount provides a mock function for the type ServiceAccountApi
func (*ServiceAccountApi) CreateServiceAccountToken ¶
func (_mock *ServiceAccountApi) CreateServiceAccountToken(serviceAccountId int64, name string, expiration int64) (*models.NewAPIKeyResult, error)
CreateServiceAccountToken provides a mock function for the type ServiceAccountApi
func (*ServiceAccountApi) DeleteAllServiceAccounts ¶
func (_mock *ServiceAccountApi) DeleteAllServiceAccounts() []string
DeleteAllServiceAccounts provides a mock function for the type ServiceAccountApi
func (*ServiceAccountApi) DeleteServiceAccount ¶ added in v0.8.0
func (_mock *ServiceAccountApi) DeleteServiceAccount(accountId int64) error
DeleteServiceAccount provides a mock function for the type ServiceAccountApi
func (*ServiceAccountApi) DeleteServiceAccountTokens ¶
func (_mock *ServiceAccountApi) DeleteServiceAccountTokens(serviceId int64) []string
DeleteServiceAccountTokens provides a mock function for the type ServiceAccountApi
func (*ServiceAccountApi) EXPECT ¶ added in v0.5.2
func (_m *ServiceAccountApi) EXPECT() *ServiceAccountApi_Expecter
func (*ServiceAccountApi) ListServiceAccounts ¶
func (_mock *ServiceAccountApi) ListServiceAccounts() []*domain.ServiceAccountDTOWithTokens
ListServiceAccounts provides a mock function for the type ServiceAccountApi
func (*ServiceAccountApi) ListServiceAccountsTokens ¶
func (_mock *ServiceAccountApi) ListServiceAccountsTokens(id int64) ([]*models.TokenDTO, error)
ListServiceAccountsTokens provides a mock function for the type ServiceAccountApi
type ServiceAccountApi_CreateServiceAccountToken_Call ¶ added in v0.5.2
ServiceAccountApi_CreateServiceAccountToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateServiceAccountToken'
func (*ServiceAccountApi_CreateServiceAccountToken_Call) Return ¶ added in v0.5.2
func (_c *ServiceAccountApi_CreateServiceAccountToken_Call) Return(newAPIKeyResult *models.NewAPIKeyResult, err error) *ServiceAccountApi_CreateServiceAccountToken_Call
func (*ServiceAccountApi_CreateServiceAccountToken_Call) Run ¶ added in v0.5.2
func (_c *ServiceAccountApi_CreateServiceAccountToken_Call) Run(run func(serviceAccountId int64, name string, expiration int64)) *ServiceAccountApi_CreateServiceAccountToken_Call
func (*ServiceAccountApi_CreateServiceAccountToken_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ServiceAccountApi_CreateServiceAccountToken_Call) RunAndReturn(run func(serviceAccountId int64, name string, expiration int64) (*models.NewAPIKeyResult, error)) *ServiceAccountApi_CreateServiceAccountToken_Call
type ServiceAccountApi_CreateServiceAccount_Call ¶ added in v0.5.2
ServiceAccountApi_CreateServiceAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateServiceAccount'
func (*ServiceAccountApi_CreateServiceAccount_Call) Return ¶ added in v0.5.2
func (_c *ServiceAccountApi_CreateServiceAccount_Call) Return(serviceAccountDTO *models.ServiceAccountDTO, err error) *ServiceAccountApi_CreateServiceAccount_Call
func (*ServiceAccountApi_CreateServiceAccount_Call) Run ¶ added in v0.5.2
func (_c *ServiceAccountApi_CreateServiceAccount_Call) Run(run func(name string, role string, expiration int64)) *ServiceAccountApi_CreateServiceAccount_Call
func (*ServiceAccountApi_CreateServiceAccount_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ServiceAccountApi_CreateServiceAccount_Call) RunAndReturn(run func(name string, role string, expiration int64) (*models.ServiceAccountDTO, error)) *ServiceAccountApi_CreateServiceAccount_Call
type ServiceAccountApi_DeleteAllServiceAccounts_Call ¶ added in v0.5.2
ServiceAccountApi_DeleteAllServiceAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllServiceAccounts'
func (*ServiceAccountApi_DeleteAllServiceAccounts_Call) Return ¶ added in v0.5.2
func (_c *ServiceAccountApi_DeleteAllServiceAccounts_Call) Return(strings []string) *ServiceAccountApi_DeleteAllServiceAccounts_Call
func (*ServiceAccountApi_DeleteAllServiceAccounts_Call) Run ¶ added in v0.5.2
func (_c *ServiceAccountApi_DeleteAllServiceAccounts_Call) Run(run func()) *ServiceAccountApi_DeleteAllServiceAccounts_Call
func (*ServiceAccountApi_DeleteAllServiceAccounts_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ServiceAccountApi_DeleteAllServiceAccounts_Call) RunAndReturn(run func() []string) *ServiceAccountApi_DeleteAllServiceAccounts_Call
type ServiceAccountApi_DeleteServiceAccountTokens_Call ¶ added in v0.5.2
ServiceAccountApi_DeleteServiceAccountTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteServiceAccountTokens'
func (*ServiceAccountApi_DeleteServiceAccountTokens_Call) Return ¶ added in v0.5.2
func (_c *ServiceAccountApi_DeleteServiceAccountTokens_Call) Return(strings []string) *ServiceAccountApi_DeleteServiceAccountTokens_Call
func (*ServiceAccountApi_DeleteServiceAccountTokens_Call) Run ¶ added in v0.5.2
func (_c *ServiceAccountApi_DeleteServiceAccountTokens_Call) Run(run func(serviceId int64)) *ServiceAccountApi_DeleteServiceAccountTokens_Call
func (*ServiceAccountApi_DeleteServiceAccountTokens_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ServiceAccountApi_DeleteServiceAccountTokens_Call) RunAndReturn(run func(serviceId int64) []string) *ServiceAccountApi_DeleteServiceAccountTokens_Call
type ServiceAccountApi_DeleteServiceAccount_Call ¶ added in v0.8.0
ServiceAccountApi_DeleteServiceAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteServiceAccount'
func (*ServiceAccountApi_DeleteServiceAccount_Call) Return ¶ added in v0.8.0
func (_c *ServiceAccountApi_DeleteServiceAccount_Call) Return(err error) *ServiceAccountApi_DeleteServiceAccount_Call
func (*ServiceAccountApi_DeleteServiceAccount_Call) Run ¶ added in v0.8.0
func (_c *ServiceAccountApi_DeleteServiceAccount_Call) Run(run func(accountId int64)) *ServiceAccountApi_DeleteServiceAccount_Call
func (*ServiceAccountApi_DeleteServiceAccount_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceAccountApi_DeleteServiceAccount_Call) RunAndReturn(run func(accountId int64) error) *ServiceAccountApi_DeleteServiceAccount_Call
type ServiceAccountApi_Expecter ¶ added in v0.5.2
type ServiceAccountApi_Expecter struct {
// contains filtered or unexported fields
}
func (*ServiceAccountApi_Expecter) CreateServiceAccount ¶ added in v0.5.2
func (_e *ServiceAccountApi_Expecter) CreateServiceAccount(name interface{}, role interface{}, expiration interface{}) *ServiceAccountApi_CreateServiceAccount_Call
CreateServiceAccount is a helper method to define mock.On call
- name string
- role string
- expiration int64
func (*ServiceAccountApi_Expecter) CreateServiceAccountToken ¶ added in v0.5.2
func (_e *ServiceAccountApi_Expecter) CreateServiceAccountToken(serviceAccountId interface{}, name interface{}, expiration interface{}) *ServiceAccountApi_CreateServiceAccountToken_Call
CreateServiceAccountToken is a helper method to define mock.On call
- serviceAccountId int64
- name string
- expiration int64
func (*ServiceAccountApi_Expecter) DeleteAllServiceAccounts ¶ added in v0.5.2
func (_e *ServiceAccountApi_Expecter) DeleteAllServiceAccounts() *ServiceAccountApi_DeleteAllServiceAccounts_Call
DeleteAllServiceAccounts is a helper method to define mock.On call
func (*ServiceAccountApi_Expecter) DeleteServiceAccount ¶ added in v0.8.0
func (_e *ServiceAccountApi_Expecter) DeleteServiceAccount(accountId interface{}) *ServiceAccountApi_DeleteServiceAccount_Call
DeleteServiceAccount is a helper method to define mock.On call
- accountId int64
func (*ServiceAccountApi_Expecter) DeleteServiceAccountTokens ¶ added in v0.5.2
func (_e *ServiceAccountApi_Expecter) DeleteServiceAccountTokens(serviceId interface{}) *ServiceAccountApi_DeleteServiceAccountTokens_Call
DeleteServiceAccountTokens is a helper method to define mock.On call
- serviceId int64
func (*ServiceAccountApi_Expecter) ListServiceAccounts ¶ added in v0.5.2
func (_e *ServiceAccountApi_Expecter) ListServiceAccounts() *ServiceAccountApi_ListServiceAccounts_Call
ListServiceAccounts is a helper method to define mock.On call
func (*ServiceAccountApi_Expecter) ListServiceAccountsTokens ¶ added in v0.5.2
func (_e *ServiceAccountApi_Expecter) ListServiceAccountsTokens(id interface{}) *ServiceAccountApi_ListServiceAccountsTokens_Call
ListServiceAccountsTokens is a helper method to define mock.On call
- id int64
type ServiceAccountApi_ListServiceAccountsTokens_Call ¶ added in v0.5.2
ServiceAccountApi_ListServiceAccountsTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServiceAccountsTokens'
func (*ServiceAccountApi_ListServiceAccountsTokens_Call) Return ¶ added in v0.5.2
func (_c *ServiceAccountApi_ListServiceAccountsTokens_Call) Return(tokenDTOs []*models.TokenDTO, err error) *ServiceAccountApi_ListServiceAccountsTokens_Call
func (*ServiceAccountApi_ListServiceAccountsTokens_Call) Run ¶ added in v0.5.2
func (_c *ServiceAccountApi_ListServiceAccountsTokens_Call) Run(run func(id int64)) *ServiceAccountApi_ListServiceAccountsTokens_Call
func (*ServiceAccountApi_ListServiceAccountsTokens_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ServiceAccountApi_ListServiceAccountsTokens_Call) RunAndReturn(run func(id int64) ([]*models.TokenDTO, error)) *ServiceAccountApi_ListServiceAccountsTokens_Call
type ServiceAccountApi_ListServiceAccounts_Call ¶ added in v0.5.2
ServiceAccountApi_ListServiceAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServiceAccounts'
func (*ServiceAccountApi_ListServiceAccounts_Call) Return ¶ added in v0.5.2
func (_c *ServiceAccountApi_ListServiceAccounts_Call) Return(serviceAccountDTOWithTokenss []*domain.ServiceAccountDTOWithTokens) *ServiceAccountApi_ListServiceAccounts_Call
func (*ServiceAccountApi_ListServiceAccounts_Call) Run ¶ added in v0.5.2
func (_c *ServiceAccountApi_ListServiceAccounts_Call) Run(run func()) *ServiceAccountApi_ListServiceAccounts_Call
func (*ServiceAccountApi_ListServiceAccounts_Call) RunAndReturn ¶ added in v0.5.2
func (_c *ServiceAccountApi_ListServiceAccounts_Call) RunAndReturn(run func() []*domain.ServiceAccountDTOWithTokens) *ServiceAccountApi_ListServiceAccounts_Call
type TeamsApi ¶
TeamsApi is an autogenerated mock type for the TeamsApi type
func NewTeamsApi ¶
NewTeamsApi creates a new instance of TeamsApi. 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 (*TeamsApi) DeleteTeam ¶
DeleteTeam provides a mock function for the type TeamsApi
func (*TeamsApi) DownloadTeams ¶
func (_mock *TeamsApi) DownloadTeams(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO
DownloadTeams provides a mock function for the type TeamsApi
func (*TeamsApi) EXPECT ¶ added in v0.5.2
func (_m *TeamsApi) EXPECT() *TeamsApi_Expecter
func (*TeamsApi) ListTeams ¶
func (_mock *TeamsApi) ListTeams(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO
ListTeams provides a mock function for the type TeamsApi
func (*TeamsApi) UploadTeams ¶
func (_mock *TeamsApi) UploadTeams(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO
UploadTeams provides a mock function for the type TeamsApi
type TeamsApi_DeleteTeam_Call ¶ added in v0.5.2
TeamsApi_DeleteTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTeam'
func (*TeamsApi_DeleteTeam_Call) Return ¶ added in v0.5.2
func (_c *TeamsApi_DeleteTeam_Call) Return(teamDTOs []*models.TeamDTO, err error) *TeamsApi_DeleteTeam_Call
func (*TeamsApi_DeleteTeam_Call) Run ¶ added in v0.5.2
func (_c *TeamsApi_DeleteTeam_Call) Run(run func(filter filters.V2Filter)) *TeamsApi_DeleteTeam_Call
func (*TeamsApi_DeleteTeam_Call) RunAndReturn ¶ added in v0.5.2
func (_c *TeamsApi_DeleteTeam_Call) RunAndReturn(run func(filter filters.V2Filter) ([]*models.TeamDTO, error)) *TeamsApi_DeleteTeam_Call
type TeamsApi_DownloadTeams_Call ¶ added in v0.5.2
TeamsApi_DownloadTeams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadTeams'
func (*TeamsApi_DownloadTeams_Call) Return ¶ added in v0.5.2
func (_c *TeamsApi_DownloadTeams_Call) Return(teamDTOToTeamMemberDTOs map[*models.TeamDTO][]*models.TeamMemberDTO) *TeamsApi_DownloadTeams_Call
func (*TeamsApi_DownloadTeams_Call) Run ¶ added in v0.5.2
func (_c *TeamsApi_DownloadTeams_Call) Run(run func(filter filters.V2Filter)) *TeamsApi_DownloadTeams_Call
func (*TeamsApi_DownloadTeams_Call) RunAndReturn ¶ added in v0.5.2
func (_c *TeamsApi_DownloadTeams_Call) RunAndReturn(run func(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO) *TeamsApi_DownloadTeams_Call
type TeamsApi_Expecter ¶ added in v0.5.2
type TeamsApi_Expecter struct {
// contains filtered or unexported fields
}
func (*TeamsApi_Expecter) DeleteTeam ¶ added in v0.5.2
func (_e *TeamsApi_Expecter) DeleteTeam(filter interface{}) *TeamsApi_DeleteTeam_Call
DeleteTeam is a helper method to define mock.On call
- filter filters.V2Filter
func (*TeamsApi_Expecter) DownloadTeams ¶ added in v0.5.2
func (_e *TeamsApi_Expecter) DownloadTeams(filter interface{}) *TeamsApi_DownloadTeams_Call
DownloadTeams is a helper method to define mock.On call
- filter filters.V2Filter
func (*TeamsApi_Expecter) ListTeams ¶ added in v0.5.2
func (_e *TeamsApi_Expecter) ListTeams(filter interface{}) *TeamsApi_ListTeams_Call
ListTeams is a helper method to define mock.On call
- filter filters.V2Filter
func (*TeamsApi_Expecter) UploadTeams ¶ added in v0.5.2
func (_e *TeamsApi_Expecter) UploadTeams(filter interface{}) *TeamsApi_UploadTeams_Call
UploadTeams is a helper method to define mock.On call
- filter filters.V2Filter
type TeamsApi_ListTeams_Call ¶ added in v0.5.2
TeamsApi_ListTeams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTeams'
func (*TeamsApi_ListTeams_Call) Return ¶ added in v0.5.2
func (_c *TeamsApi_ListTeams_Call) Return(teamDTOToTeamMemberDTOs map[*models.TeamDTO][]*models.TeamMemberDTO) *TeamsApi_ListTeams_Call
func (*TeamsApi_ListTeams_Call) Run ¶ added in v0.5.2
func (_c *TeamsApi_ListTeams_Call) Run(run func(filter filters.V2Filter)) *TeamsApi_ListTeams_Call
func (*TeamsApi_ListTeams_Call) RunAndReturn ¶ added in v0.5.2
func (_c *TeamsApi_ListTeams_Call) RunAndReturn(run func(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO) *TeamsApi_ListTeams_Call
type TeamsApi_UploadTeams_Call ¶ added in v0.5.2
TeamsApi_UploadTeams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadTeams'
func (*TeamsApi_UploadTeams_Call) Return ¶ added in v0.5.2
func (_c *TeamsApi_UploadTeams_Call) Return(teamDTOToTeamMemberDTOs map[*models.TeamDTO][]*models.TeamMemberDTO) *TeamsApi_UploadTeams_Call
func (*TeamsApi_UploadTeams_Call) Run ¶ added in v0.5.2
func (_c *TeamsApi_UploadTeams_Call) Run(run func(filter filters.V2Filter)) *TeamsApi_UploadTeams_Call
func (*TeamsApi_UploadTeams_Call) RunAndReturn ¶ added in v0.5.2
func (_c *TeamsApi_UploadTeams_Call) RunAndReturn(run func(filter filters.V2Filter) map[*models.TeamDTO][]*models.TeamMemberDTO) *TeamsApi_UploadTeams_Call
type UsersApi ¶
UsersApi is an autogenerated mock type for the UsersApi type
func NewUsersApi ¶
NewUsersApi creates a new instance of UsersApi. 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 (*UsersApi) DeleteAllUsers ¶
DeleteAllUsers provides a mock function for the type UsersApi
func (*UsersApi) DownloadUsers ¶
DownloadUsers provides a mock function for the type UsersApi
func (*UsersApi) EXPECT ¶ added in v0.5.2
func (_m *UsersApi) EXPECT() *UsersApi_Expecter
func (*UsersApi) GetUserInfo ¶
func (_mock *UsersApi) GetUserInfo() (*models.UserProfileDTO, error)
GetUserInfo provides a mock function for the type UsersApi
func (*UsersApi) ListUsers ¶
func (_mock *UsersApi) ListUsers(filter filters.V2Filter) []*models.UserSearchHitDTO
ListUsers provides a mock function for the type UsersApi
func (*UsersApi) PromoteUser ¶
PromoteUser provides a mock function for the type UsersApi
func (*UsersApi) UploadUsers ¶
func (_mock *UsersApi) UploadUsers(filter filters.V2Filter) []domain.UserProfileWithAuth
UploadUsers provides a mock function for the type UsersApi
type UsersApi_DeleteAllUsers_Call ¶ added in v0.5.2
UsersApi_DeleteAllUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllUsers'
func (*UsersApi_DeleteAllUsers_Call) Return ¶ added in v0.5.2
func (_c *UsersApi_DeleteAllUsers_Call) Return(strings []string) *UsersApi_DeleteAllUsers_Call
func (*UsersApi_DeleteAllUsers_Call) Run ¶ added in v0.5.2
func (_c *UsersApi_DeleteAllUsers_Call) Run(run func(filter filters.V2Filter)) *UsersApi_DeleteAllUsers_Call
func (*UsersApi_DeleteAllUsers_Call) RunAndReturn ¶ added in v0.5.2
func (_c *UsersApi_DeleteAllUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *UsersApi_DeleteAllUsers_Call
type UsersApi_DownloadUsers_Call ¶ added in v0.5.2
UsersApi_DownloadUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadUsers'
func (*UsersApi_DownloadUsers_Call) Return ¶ added in v0.5.2
func (_c *UsersApi_DownloadUsers_Call) Return(strings []string) *UsersApi_DownloadUsers_Call
func (*UsersApi_DownloadUsers_Call) Run ¶ added in v0.5.2
func (_c *UsersApi_DownloadUsers_Call) Run(run func(filter filters.V2Filter)) *UsersApi_DownloadUsers_Call
func (*UsersApi_DownloadUsers_Call) RunAndReturn ¶ added in v0.5.2
func (_c *UsersApi_DownloadUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []string) *UsersApi_DownloadUsers_Call
type UsersApi_Expecter ¶ added in v0.5.2
type UsersApi_Expecter struct {
// contains filtered or unexported fields
}
func (*UsersApi_Expecter) DeleteAllUsers ¶ added in v0.5.2
func (_e *UsersApi_Expecter) DeleteAllUsers(filter interface{}) *UsersApi_DeleteAllUsers_Call
DeleteAllUsers is a helper method to define mock.On call
- filter filters.V2Filter
func (*UsersApi_Expecter) DownloadUsers ¶ added in v0.5.2
func (_e *UsersApi_Expecter) DownloadUsers(filter interface{}) *UsersApi_DownloadUsers_Call
DownloadUsers is a helper method to define mock.On call
- filter filters.V2Filter
func (*UsersApi_Expecter) GetUserInfo ¶ added in v0.5.2
func (_e *UsersApi_Expecter) GetUserInfo() *UsersApi_GetUserInfo_Call
GetUserInfo is a helper method to define mock.On call
func (*UsersApi_Expecter) ListUsers ¶ added in v0.5.2
func (_e *UsersApi_Expecter) ListUsers(filter interface{}) *UsersApi_ListUsers_Call
ListUsers is a helper method to define mock.On call
- filter filters.V2Filter
func (*UsersApi_Expecter) PromoteUser ¶ added in v0.5.2
func (_e *UsersApi_Expecter) PromoteUser(userLogin interface{}) *UsersApi_PromoteUser_Call
PromoteUser is a helper method to define mock.On call
- userLogin string
func (*UsersApi_Expecter) UploadUsers ¶ added in v0.5.2
func (_e *UsersApi_Expecter) UploadUsers(filter interface{}) *UsersApi_UploadUsers_Call
UploadUsers is a helper method to define mock.On call
- filter filters.V2Filter
type UsersApi_GetUserInfo_Call ¶ added in v0.5.2
UsersApi_GetUserInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserInfo'
func (*UsersApi_GetUserInfo_Call) Return ¶ added in v0.5.2
func (_c *UsersApi_GetUserInfo_Call) Return(userProfileDTO *models.UserProfileDTO, err error) *UsersApi_GetUserInfo_Call
func (*UsersApi_GetUserInfo_Call) Run ¶ added in v0.5.2
func (_c *UsersApi_GetUserInfo_Call) Run(run func()) *UsersApi_GetUserInfo_Call
func (*UsersApi_GetUserInfo_Call) RunAndReturn ¶ added in v0.5.2
func (_c *UsersApi_GetUserInfo_Call) RunAndReturn(run func() (*models.UserProfileDTO, error)) *UsersApi_GetUserInfo_Call
type UsersApi_ListUsers_Call ¶ added in v0.5.2
UsersApi_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers'
func (*UsersApi_ListUsers_Call) Return ¶ added in v0.5.2
func (_c *UsersApi_ListUsers_Call) Return(userSearchHitDTOs []*models.UserSearchHitDTO) *UsersApi_ListUsers_Call
func (*UsersApi_ListUsers_Call) Run ¶ added in v0.5.2
func (_c *UsersApi_ListUsers_Call) Run(run func(filter filters.V2Filter)) *UsersApi_ListUsers_Call
func (*UsersApi_ListUsers_Call) RunAndReturn ¶ added in v0.5.2
func (_c *UsersApi_ListUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []*models.UserSearchHitDTO) *UsersApi_ListUsers_Call
type UsersApi_PromoteUser_Call ¶ added in v0.5.2
UsersApi_PromoteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PromoteUser'
func (*UsersApi_PromoteUser_Call) Return ¶ added in v0.5.2
func (_c *UsersApi_PromoteUser_Call) Return(s string, err error) *UsersApi_PromoteUser_Call
func (*UsersApi_PromoteUser_Call) Run ¶ added in v0.5.2
func (_c *UsersApi_PromoteUser_Call) Run(run func(userLogin string)) *UsersApi_PromoteUser_Call
func (*UsersApi_PromoteUser_Call) RunAndReturn ¶ added in v0.5.2
func (_c *UsersApi_PromoteUser_Call) RunAndReturn(run func(userLogin string) (string, error)) *UsersApi_PromoteUser_Call
type UsersApi_UploadUsers_Call ¶ added in v0.5.2
UsersApi_UploadUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadUsers'
func (*UsersApi_UploadUsers_Call) Return ¶ added in v0.5.2
func (_c *UsersApi_UploadUsers_Call) Return(userProfileWithAuths []domain.UserProfileWithAuth) *UsersApi_UploadUsers_Call
func (*UsersApi_UploadUsers_Call) Run ¶ added in v0.5.2
func (_c *UsersApi_UploadUsers_Call) Run(run func(filter filters.V2Filter)) *UsersApi_UploadUsers_Call
func (*UsersApi_UploadUsers_Call) RunAndReturn ¶ added in v0.5.2
func (_c *UsersApi_UploadUsers_Call) RunAndReturn(run func(filter filters.V2Filter) []domain.UserProfileWithAuth) *UsersApi_UploadUsers_Call
Source Files
¶
- AlertContactPoints.go
- AlertPolicies.go
- AlertRules.go
- AlertTemplates.go
- AlertTimings.go
- AlertingApi.go
- AuthenticationApi.go
- ConnectionPermissions.go
- ConnectionsApi.go
- DashboardPermissionsApi.go
- DashboardsApi.go
- FoldersApi.go
- GrafanaService.go
- LibraryElementsApi.go
- LicenseApi.go
- OrgPreferencesApi.go
- OrganizationsApi.go
- ServerInfoApi.go
- ServiceAccountApi.go
- TeamsApi.go
- UsersApi.go
- organizationCrudApi.go
- organizationToolsApi.go
- organizationUserCrudApi.go