mockcfapi

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Succeeded  OperationState = "succeeded"
	InProgress                = "in progress"
	Failed                    = "failed"
)
View Source
const ServiceBrokersResponseTemplate = `` /* 502-byte string literal not displayed */

Variables

This section is empty.

Functions

func DeleteServiceBinding

func DeleteServiceBinding(appGUID, bindingGUID string) *mockhttp.Handler

func DeleteServiceInstance

func DeleteServiceInstance(instanceGUID string) *mockhttp.Handler

func DeleteServiceKey

func DeleteServiceKey(serviceKeyGUID string) *mockhttp.Handler

func DeregisterBroker

func DeregisterBroker(serviceBrokerGUID string) *serviceBrokersMock

func DisablePlanAccess

func DisablePlanAccess(planID string) *servicePlansMock

func GetInfo

func GetInfo() *getInfoMock

func GetServiceInstance

func GetServiceInstance(instanceGUID string) *getServiceInstanceMock

func GetServicePlan

func GetServicePlan(servicePlanGUID string) *mockhttp.Handler

func ListServiceBindings

func ListServiceBindings(serviceInstanceGUID string) *serviceBindingsMock

func ListServiceBindingsForPage

func ListServiceBindingsForPage(serviceInstanceGUID string, page int) *serviceBindingsMock

func ListServiceBrokers

func ListServiceBrokers() *serviceBrokersMock

func ListServiceBrokersForPage

func ListServiceBrokersForPage(count int) *serviceBrokersMock

func ListServiceInstances

func ListServiceInstances(servicePlanGUID string) *listServiceInstancesMock

func ListServiceInstancesForPage

func ListServiceInstancesForPage(servicePlanGUID string, page int) *listServiceInstancesMock

func ListServiceKeys

func ListServiceKeys(serviceInstanceGUID string) *serviceKeysMock

func ListServiceKeysForPage

func ListServiceKeysForPage(serviceInstanceGUID string, page int) *serviceKeysMock

func ListServiceOfferings

func ListServiceOfferings() *serviceOfferingsMock

func ListServiceOfferingsForPage

func ListServiceOfferingsForPage(page int) *serviceOfferingsMock

func ListServicePlans

func ListServicePlans(serviceID string) *servicePlansMock

func ListServicePlansForPage

func ListServicePlansForPage(serviceID string, page int) *servicePlansMock

func New

func New() *mockhttp.Server

Types

type Operation

type Operation string
const (
	Delete Operation = "delete"
	Update           = "update"
)

type OperationState

type OperationState string

type Plan

type Plan struct {
	ID                  string
	CloudControllerGUID string
}

Jump to

Keyboard shortcuts

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