Documentation ¶
Index ¶
- func Cleanup()
- func Setup()
- type FakeServiceBroker
- func (f *FakeServiceBroker) Async() *FakeServiceBroker
- func (f *FakeServiceBroker) Deploy() *FakeServiceBroker
- func (f *FakeServiceBroker) Destroy()
- func (f *FakeServiceBroker) Name() string
- func (f *FakeServiceBroker) Register() *FakeServiceBroker
- func (f *FakeServiceBroker) ServiceDescription() string
- func (f *FakeServiceBroker) ServiceName() string
- func (f *FakeServiceBroker) ServicePlanDescription() string
- func (f *FakeServiceBroker) ServicePlanName() string
- func (f *FakeServiceBroker) URL(paths ...string) string
- func (f *FakeServiceBroker) Update() *FakeServiceBroker
- func (f *FakeServiceBroker) WithName(name string) *FakeServiceBroker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FakeServiceBroker ¶
type FakeServiceBroker struct { Services []service // contains filtered or unexported fields }
func New ¶
func New() *FakeServiceBroker
func NewAlternate ¶
func NewAlternate() *FakeServiceBroker
NewAlternate returns a reusable broker with another name. Can be used in conjunction with New() if you need two brokers in the same test.
func (*FakeServiceBroker) Async ¶
func (f *FakeServiceBroker) Async() *FakeServiceBroker
func (*FakeServiceBroker) Deploy ¶
func (f *FakeServiceBroker) Deploy() *FakeServiceBroker
func (*FakeServiceBroker) Destroy ¶
func (f *FakeServiceBroker) Destroy()
func (*FakeServiceBroker) Name ¶
func (f *FakeServiceBroker) Name() string
func (*FakeServiceBroker) Register ¶
func (f *FakeServiceBroker) Register() *FakeServiceBroker
func (*FakeServiceBroker) ServiceDescription ¶
func (f *FakeServiceBroker) ServiceDescription() string
func (*FakeServiceBroker) ServiceName ¶
func (f *FakeServiceBroker) ServiceName() string
func (*FakeServiceBroker) ServicePlanDescription ¶
func (f *FakeServiceBroker) ServicePlanDescription() string
func (*FakeServiceBroker) ServicePlanName ¶
func (f *FakeServiceBroker) ServicePlanName() string
func (*FakeServiceBroker) URL ¶
func (f *FakeServiceBroker) URL(paths ...string) string
func (*FakeServiceBroker) Update ¶
func (f *FakeServiceBroker) Update() *FakeServiceBroker
func (*FakeServiceBroker) WithName ¶
func (f *FakeServiceBroker) WithName(name string) *FakeServiceBroker
Click to show internal directories.
Click to hide internal directories.