mockcfapi

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func CreateServiceBroker added in v0.29.0

func CreateServiceBroker() *serviceBrokersMock

func CreateServicePlanVisibility added in v0.29.0

func CreateServicePlanVisibility(orgGUID, planGUID string) *servicePlansMock

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 DeleteServicePlanVisibility added in v0.29.0

func DeleteServicePlanVisibility(visibilityGUID string) *servicePlansMock

func DeregisterBroker

func DeregisterBroker(serviceBrokerGUID string) *serviceBrokersMock

func DisablePlanAccess

func DisablePlanAccess(planID string) *servicePlansMock

func EnablePlanAccess added in v0.29.0

func EnablePlanAccess(planID string) *servicePlansMock

func GetInfo

func GetInfo() *getInfoMock

func GetServiceInstance

func GetServiceInstance(instanceGUID string) *getServiceInstanceMock

func GetServicePlan

func GetServicePlan(servicePlanGUID string) *mockhttp.Handler

func ListOrg added in v0.21.0

func ListOrg(orgName string) *organizationsMock

func ListOrgSpace added in v0.21.0

func ListOrgSpace(orgGuid, spaceName string) *organizationsMock

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 ListServiceInstancesBySpace added in v0.21.0

func ListServiceInstancesBySpace(servicePlanGUID, spaceGUID string) *listServiceInstancesMock

func ListServiceInstancesBySpaceForPage added in v0.21.0

func ListServiceInstancesBySpaceForPage(servicePlanGUID, spaceGUID string, page int) *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 ListServicePlanVisibilities added in v0.29.0

func ListServicePlanVisibilities(planGUID string) *servicePlansMock

func ListServicePlans

func ListServicePlans(serviceID string) *servicePlansMock

func ListServicePlansForPage

func ListServicePlansForPage(serviceID string, page int) *servicePlansMock

func New

func New() *mockhttp.Server

func PutPlanAccess added in v0.29.0

func PutPlanAccess(planID, body string) *servicePlansMock

func UpdateServiceBroker added in v0.29.0

func UpdateServiceBroker(serviceBrokerGUID string) *serviceBrokersMock

Types

type Operation

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

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