mocks

package
v0.0.0-...-ca399ba Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	mock.Mock
}

func (*Provider) DeleteDial

func (_m *Provider) DeleteDial(dialid string) error

DeleteDial provides a mock function with given fields: dialid

func (*Provider) DeleteInstance

func (_m *Provider) DeleteInstance(instanceid string) error

DeleteInstance provides a mock function with given fields: instanceid

func (*Provider) DeleteService

func (_m *Provider) DeleteService(instanceid string) error

DeleteService provides a mock function with given fields: instanceid

func (*Provider) GetDial

func (_m *Provider) GetDial(dialid string) (*config.Dial, string, error)

GetDial provides a mock function with given fields: dialid

func (*Provider) GetInstance

func (_m *Provider) GetInstance(instanceid string) (*config.Instance, string, error)

GetInstance provides a mock function with given fields: instanceid

func (*Provider) GetPlan

func (_m *Provider) GetPlan(plandid string) (*brokermodel.Plan, string, string, error)

GetPlan provides a mock function with given fields: plandid

func (*Provider) GetService

func (_m *Provider) GetService(serviceid string) (*brokermodel.CatalogService, string, error)

GetService provides a mock function with given fields: serviceid

func (*Provider) GetUaaAuthConfig

func (_m *Provider) GetUaaAuthConfig() (*config.UaaAuth, error)

GetUaaAuthConfig provides a mock function with given fields:

func (*Provider) InitializeConfiguration

func (_m *Provider) InitializeConfiguration() error

InitializeConfiguration does nothing for the mock provider

func (*Provider) InstanceNameExists

func (_m *Provider) InstanceNameExists(driverInstanceName string) (bool, error)

InstanceNameExists provides a mock function with given fields: driverInstanceName

func (*Provider) LoadConfiguration

func (_m *Provider) LoadConfiguration() (*config.Config, error)

LoadConfiguration provides a mock function with given fields:

func (*Provider) LoadDriverInstance

func (_m *Provider) LoadDriverInstance(driverInstanceID string) (*config.Instance, error)

LoadDriverInstance provides a mock function with given fields: driverInstanceID

func (*Provider) SaveConfiguration

func (_m *Provider) SaveConfiguration(config config.Config, overwrite bool) error

SaveConfiguration provides a mock function with given fields: config, overwrite

func (*Provider) SetDial

func (_m *Provider) SetDial(instanceid string, dialid string, dial config.Dial) error

SetDial provides a mock function with given fields: instanceid, dialid, dial

func (*Provider) SetInstance

func (_m *Provider) SetInstance(instanceid string, driverInstance config.Instance) error

SetInstance provides a mock function with given fields: instanceid, driverInstance

func (*Provider) SetService

func (_m *Provider) SetService(instanceid string, service brokermodel.CatalogService) error

SetService provides a mock function with given fields: instanceid, service

Jump to

Keyboard shortcuts

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