provisioning

package
v0.0.0-...-900be4e Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 ProvisioningService interface {
	ProvisionDatasources() error
	ProvisionPlugins() error
	ProvisionNotifications() error
	ProvisionDashboards() error
	GetDashboardProvisionerResolvedPath(name string) string
	GetAllowUIUpdatesFromConfig(name string) bool
}

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.

Jump to

Keyboard shortcuts

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