mockcfapi

package
v0.0.0-...-fb356ce Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 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

func CreateServiceBroker() *serviceBrokersMock

func CreateServicePlanVisibility

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

func DeleteServicePlanVisibility(visibilityGUID string) *servicePlansMock

func DeregisterBroker

func DeregisterBroker(serviceBrokerGUID string) *serviceBrokersMock

func DisablePlanAccess

func DisablePlanAccess(planID string) *servicePlansMock

func EnablePlanAccess

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

func ListOrg(orgName string) *organizationsMock

func ListOrgSpace

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

func ListServiceInstancesBySpace(servicePlanGUID, spaceGUID string) *listServiceInstancesMock

func ListServiceInstancesBySpaceForPage

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

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

func PutPlanAccess(planID, body string) *servicePlansMock

func UpdateServiceBroker

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