Documentation ¶
Index ¶
- Constants
- func BOSHSupportsLinksAPIForDNS() bool
- func CopyFromVM(deploymentName, VMName, fromPath, toPath string)
- func DeleteBOSHConfig(configType, configName string) error
- func DeleteDeployment(deploymentName string)
- func DeregisterAndDeleteBroker(deploymentName string)
- func DeregisterAndDeleteBrokerSilently(deploymentName string)
- func FindInstanceGroup(manifest *bosh.BoshManifest, igName string) bosh.InstanceGroup
- func FindInstanceGroupJobs(manifest *bosh.BoshManifest, igName string) []bosh.Job
- func FindJob(brokerManifest *bosh.BoshManifest, igName, jobName string) bosh.Job
- func FindJobProperties(brokerManifest *bosh.BoshManifest, igName, jobName string) map[string]interface{}
- func GetBOSHConfig(configType, configName string) (string, error)
- func GetBrokerLogs(deploymentName string) string
- func GetLatestReleaseVersion(releaseName string) string
- func GetManifest(deploymentName string) bosh.BoshManifest
- func GetManifestString(deploymentName string) string
- func GetTelemetryLogs(deploymentName string) string
- func RedeployBroker(brokerDeploymentName, brokerURI string, brokerManifest bosh.BoshManifest)
- func Run(deploymentName string, commands ...string)
- func RunErrand(deploymentName, errandName string, optionalMatcher ...types.GomegaMatcher) *gexec.Session
- func RunOnVM(deploymentName, VMName, command string)
- func UploadRelease(releasePath string)
- func VMIDForDeployment(deploymentName string) string
- func WaitBrokerToStart(brokerURI string)
- type BoshHelperClient
- func (b *BoshHelperClient) DeleteDeployment(deploymentName string)
- func (b *BoshHelperClient) DeployODB(manifest bosh.BoshManifest)
- func (b *BoshHelperClient) DeploymentExists(deploymentName string) bool
- func (b *BoshHelperClient) GetManifest(deploymentName string) *bosh.BoshManifest
- func (b *BoshHelperClient) RunErrand(deploymentName string, errandName string, errandInstances []string, ...) boshdirector.BoshTaskOutput
- func (b *BoshHelperClient) RunErrandWithoutCheckingSuccess(deploymentName string, errandName string, errandInstances []string, ...) boshdirector.BoshTaskOutput
- type BoshTaskOutput
- type BrokerDeploymentOptions
- type BrokerInfo
- type EnvVars
Constants ¶
View Source
const (
LongBOSHTimeout = time.Minute * 45
)
Variables ¶
This section is empty.
Functions ¶
func BOSHSupportsLinksAPIForDNS ¶
func BOSHSupportsLinksAPIForDNS() bool
func CopyFromVM ¶
func CopyFromVM(deploymentName, VMName, fromPath, toPath string)
func DeleteBOSHConfig ¶
func DeleteDeployment ¶
func DeleteDeployment(deploymentName string)
func DeregisterAndDeleteBroker ¶
func DeregisterAndDeleteBroker(deploymentName string)
func DeregisterAndDeleteBrokerSilently ¶
func DeregisterAndDeleteBrokerSilently(deploymentName string)
func FindInstanceGroup ¶
func FindInstanceGroup(manifest *bosh.BoshManifest, igName string) bosh.InstanceGroup
func FindInstanceGroupJobs ¶
func FindInstanceGroupJobs(manifest *bosh.BoshManifest, igName string) []bosh.Job
func FindJobProperties ¶
func FindJobProperties(brokerManifest *bosh.BoshManifest, igName, jobName string) map[string]interface{}
func GetBOSHConfig ¶
func GetBrokerLogs ¶
func GetLatestReleaseVersion ¶
func GetManifest ¶
func GetManifest(deploymentName string) bosh.BoshManifest
func GetManifestString ¶
func GetTelemetryLogs ¶
func RedeployBroker ¶
func RedeployBroker(brokerDeploymentName, brokerURI string, brokerManifest bosh.BoshManifest)
func RunErrand ¶
func RunErrand(deploymentName, errandName string, optionalMatcher ...types.GomegaMatcher) *gexec.Session
func UploadRelease ¶
func UploadRelease(releasePath string)
func VMIDForDeployment ¶
func WaitBrokerToStart ¶
func WaitBrokerToStart(brokerURI string)
Types ¶
type BoshHelperClient ¶
type BoshHelperClient struct {
*boshdirector.Client
}
func New ¶
func New(boshURL, uaaURL, boshUsername, boshPassword, boshCACert string) *BoshHelperClient
func NewBasicAuth ¶
func NewBasicAuth(boshURL, boshUsername, boshPassword, boshCACert string, disableTLSVerification bool) *BoshHelperClient
func (*BoshHelperClient) DeleteDeployment ¶
func (b *BoshHelperClient) DeleteDeployment(deploymentName string)
func (*BoshHelperClient) DeployODB ¶
func (b *BoshHelperClient) DeployODB(manifest bosh.BoshManifest)
func (*BoshHelperClient) DeploymentExists ¶
func (b *BoshHelperClient) DeploymentExists(deploymentName string) bool
func (*BoshHelperClient) GetManifest ¶
func (b *BoshHelperClient) GetManifest(deploymentName string) *bosh.BoshManifest
func (*BoshHelperClient) RunErrand ¶
func (b *BoshHelperClient) RunErrand(deploymentName string, errandName string, errandInstances []string, contextID string) boshdirector.BoshTaskOutput
func (*BoshHelperClient) RunErrandWithoutCheckingSuccess ¶
func (b *BoshHelperClient) RunErrandWithoutCheckingSuccess(deploymentName string, errandName string, errandInstances []string, contextID string) boshdirector.BoshTaskOutput
type BoshTaskOutput ¶
func TasksForDeployment ¶
func TasksForDeployment(boshServiceInstanceName string) []BoshTaskOutput
type BrokerDeploymentOptions ¶
type BrokerInfo ¶
type BrokerInfo struct { URI string DeploymentName string ServiceName string PlanID string TestSuffix string BrokerPassword string BrokerUsername string BrokerName string ServiceID string BrokerSystemDomain string }
func DeployAndRegisterBroker ¶
func DeployAndRegisterBroker(systemTestSuffix string, deploymentOptions BrokerDeploymentOptions, serviceType service_helpers.ServiceType, opsFiles []string, deploymentArguments ...string) BrokerInfo
func DeployBroker ¶
func DeployBroker(systemTestSuffix string, deploymentOptions BrokerDeploymentOptions, serviceType service_helpers.ServiceType, opsFiles []string, deploymentArguments ...string) BrokerInfo
Click to show internal directories.
Click to hide internal directories.