shared

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfCreateSpace

func CfCreateSpace(spaceName string)

func CfDeleteSpace

func CfDeleteSpace(spaceName string)

func CfTargetSpace

func CfTargetSpace(spaceName string)

func DeleteServiceInstances

func DeleteServiceInstances(instancesToDelete []*TestService, dataPersistenceEnabled bool)

func ExtractPlanProperty

func ExtractPlanProperty(planName string, manifest *bosh.BoshManifest) map[interface{}]interface{}

func ExtractServiceAdapterJob

func ExtractServiceAdapterJob(jobs []bosh.Job) bosh.Job

func FindUpgradeAllServiceInstancesProperties

func FindUpgradeAllServiceInstancesProperties(brokerManifest *bosh.BoshManifest) map[string]interface{}

func GetServiceDeploymentName

func GetServiceDeploymentName(serviceInstanceName string) string

func MigrateJobProperty

func MigrateJobProperty(brokerManifest *bosh.BoshManifest, config *Config)

func UpdatePlanProperties

func UpdatePlanProperties(brokerManifest *bosh.BoshManifest, config *Config)

func UpdateServiceInstancesAPI

func UpdateServiceInstancesAPI(brokerManifest *bosh.BoshManifest, filteredServices []*TestService, filterParams map[string]string, config *Config)

Types

type Config

type Config struct {
	BrokerName               string
	BrokerUsername           string
	BrokerPassword           string
	BrokerURL                string
	BrokerBoshDeploymentName string
	ServiceOffering          string
	BoshUsername             string
	BoshPassword             string
	BoshURL                  string
	BoshCACert               string
	OriginalBrokerManifest   *bosh.BoshManifest
	ParallelUpgradesEnabled  bool
	CiRootPath               string
	ExampleAppDirName        string
	BoshClient               *bosh_helpers.BoshHelperClient

	CurrentPlan string
	ServiceGUID string
	CfSpace     string
}

func (*Config) DeregisterBroker

func (c *Config) DeregisterBroker()

func (*Config) InitConfig

func (c *Config) InitConfig()

func (*Config) RegisterBroker

func (c *Config) RegisterBroker()

type TestService

type TestService struct {
	GUID    string
	Name    string
	AppName string
	AppURL  string
}

func CreateServiceInstances

func CreateServiceInstances(config *Config, dataPersistenceEnabled bool) []*TestService

Jump to

Keyboard shortcuts

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