common

package
v0.0.0-...-4d1605e Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitClientWithAuthCtx

func InitClientWithAuthCtx() error

func TestBind

func TestBind(
	t *testing.T,
	instanceID, bindingID string,
	req *openapi.ServiceBindingRequest,
	async bool,
)

func TestDeprovision

func TestDeprovision(
	t *testing.T,
	instanceID string,
	serviceID, planID string,
	async bool,
)

func TestGetBinding

func TestGetBinding(
	t *testing.T,
	instanceID, bindingID string,
)

func TestGetCatalog

func TestGetCatalog(
	t *testing.T,
)

func TestGetInstance

func TestGetInstance(
	t *testing.T,
	instanceID string,
)

func TestProvision

func TestProvision(
	t *testing.T,
	instanceID string,
	req *openapi.ServiceInstanceProvisionRequest,
	async bool,
)

func TestUnbind

func TestUnbind(
	t *testing.T,
	instanceID, bindingID string,
	serviceID, planID string,
	async bool,
)

func TestUpdateInstance

func TestUpdateInstance(
	t *testing.T,
	instanceID string,
	req *openapi.ServiceInstanceUpdateRequest,
	async bool,
)

Types

type SchemaOpts

type SchemaOpts struct {
	ServiceID, PlanID  string
	Parameters         interface{}
	SchemaType, Action string
}

TODO: For provision, update and bind operation, testCatalogSchema should be called to assert the legality of parameters schema.

Jump to

Keyboard shortcuts

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