Documentation ¶
Index ¶
- func NewProvisioningServiceImpl(newDashboardProvisioner dashboards.DashboardProvisionerFactory, ...) *provisioningServiceImpl
- type Calls
- type ProvisioningService
- type ProvisioningServiceMock
- func (mock *ProvisioningServiceMock) GetAllowUIUpdatesFromConfig(name string) bool
- func (mock *ProvisioningServiceMock) GetDashboardProvisionerResolvedPath(name string) string
- func (mock *ProvisioningServiceMock) ProvisionDashboards() error
- func (mock *ProvisioningServiceMock) ProvisionDatasources() error
- func (mock *ProvisioningServiceMock) ProvisionNotifications() error
- func (mock *ProvisioningServiceMock) ProvisionPlugins() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvisioningServiceImpl ¶
func NewProvisioningServiceImpl( newDashboardProvisioner dashboards.DashboardProvisionerFactory, provisionNotifiers func(string) error, provisionDatasources func(string) error, provisionPlugins func(string) error, ) *provisioningServiceImpl
Types ¶
type Calls ¶
type Calls struct { ProvisionDatasources []interface{} ProvisionPlugins []interface{} ProvisionNotifications []interface{} ProvisionDashboards []interface{} GetDashboardProvisionerResolvedPath []interface{} GetAllowUIUpdatesFromConfig []interface{} }
type ProvisioningService ¶
type ProvisioningServiceMock ¶
type ProvisioningServiceMock struct { Calls *Calls ProvisionDatasourcesFunc func() error ProvisionPluginsFunc func() error ProvisionNotificationsFunc func() error ProvisionDashboardsFunc func() error GetDashboardProvisionerResolvedPathFunc func(name string) string GetAllowUIUpdatesFromConfigFunc func(name string) bool }
func NewProvisioningServiceMock ¶
func NewProvisioningServiceMock() *ProvisioningServiceMock
func (*ProvisioningServiceMock) GetAllowUIUpdatesFromConfig ¶
func (mock *ProvisioningServiceMock) GetAllowUIUpdatesFromConfig(name string) bool
func (*ProvisioningServiceMock) GetDashboardProvisionerResolvedPath ¶
func (mock *ProvisioningServiceMock) GetDashboardProvisionerResolvedPath(name string) string
func (*ProvisioningServiceMock) ProvisionDashboards ¶
func (mock *ProvisioningServiceMock) ProvisionDashboards() error
func (*ProvisioningServiceMock) ProvisionDatasources ¶
func (mock *ProvisioningServiceMock) ProvisionDatasources() error
func (*ProvisioningServiceMock) ProvisionNotifications ¶
func (mock *ProvisioningServiceMock) ProvisionNotifications() error
func (*ProvisioningServiceMock) ProvisionPlugins ¶
func (mock *ProvisioningServiceMock) ProvisionPlugins() error
Directories ¶
Path | Synopsis |
---|---|
Package values is a set of value types to use in provisioning.
|
Package values is a set of value types to use in provisioning. |
Click to show internal directories.
Click to hide internal directories.